/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LINKTREE — custom overrides
   Imports base tokens and typography from style.css
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(160,148,136,0.07), transparent 60%),
    var(--bg);
}

/* ── FADE-IN ── */
@keyframes lt-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── LINKTREE SHELL ── */
.lt {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  position: relative;
  animation: lt-fade-in 0.4s ease-out both;
}

/* subtle side borders on wider screens */
@media (min-width: 441px) {
  .lt {
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    min-height: 100vh;
  }
}

/* ── HEADER AREA ── */
.lt-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 4px;
}

/* portrait wrapper — glow lives here, outside the clip */
.lt-portrait-wrap {
  position: relative;
  margin-bottom: 14px;
}

.lt-portrait-wrap::after {
  content: '';
  position: absolute;
  inset: -24px;
  background: radial-gradient(circle, rgba(160,148,136,0.10), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* profile image — circular for social-profile recognition */
.lt-portrait {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border: 1px solid rgba(237,233,230,0.13);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.lt-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
}

/* name + subtitle */
.lt-name {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.lt-role {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nav);
  margin-bottom: 6px;
}

.lt-styles {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 12.5px;
  color: var(--mast-left);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.lt-location {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--nav);
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(154,148,142,0.2);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lt-location-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.6;
}

.lt-location:hover {
  color: var(--paper);
}

.lt-location:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

/* ── DIVIDER ── */
.lt-divider {
  width: 40px;
  height: 1px;
  background: var(--rule-inner);
  margin: 14px auto 16px;
}

/* ── LINKS SECTION ── */
.lt-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Link button — elevated ghost style */
.lt-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  background: transparent;
  border: 1px solid rgba(237,233,230,0.14);
  color: var(--paper);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.lt-link:hover {
  background: rgba(237,233,230,0.04);
  border-color: rgba(237,233,230,0.3);
  transform: translateY(-1px);
}

.lt-link:active {
  transform: scale(0.985);
}

.lt-link:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

/* primary link — slightly more prominent */
.lt-link-primary {
  border-color: rgba(237,233,230,0.28);
  background: rgba(237,233,230,0.025);
}

.lt-link-primary:hover {
  background: rgba(237,233,230,0.06);
  border-color: rgba(237,233,230,0.4);
}

/* action link — filled treatment for booking/CTA */
.lt-link-action {
  border-color: rgba(237,233,230,0.32);
  background: rgba(237,233,230,0.06);
  box-shadow: 0 0 12px rgba(237,233,230,0.04), 0 0 2px rgba(237,233,230,0.06);
}

.lt-link-action:hover {
  background: rgba(237,233,230,0.10);
  border-color: rgba(237,233,230,0.44);
  box-shadow: 0 0 16px rgba(237,233,230,0.06), 0 0 3px rgba(237,233,230,0.08);
}

/* icon area */
.lt-link-icon {
  width: 18px;
  height: 18px;
  margin-right: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
}

.lt-link-icon svg {
  width: 100%;
  height: 100%;
}

.lt-link-primary .lt-link-icon {
  opacity: 0.75;
}

/* label — padding-right = icon width (18px) + icon margin-right (14px) = 32px */
.lt-link-label {
  flex: 1;
  text-align: center;
  padding-right: 32px;
}

/* handle text under links */
.lt-link-handle {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent);
  display: block;
  margin-top: 1px;
}

/* secondary link — dimmer, thinner border */
.lt-link-secondary {
  border-color: rgba(237,233,230,0.10);
  color: var(--nav);
}

.lt-link-secondary:hover {
  color: var(--paper);
  border-color: rgba(237,233,230,0.24);
  background: rgba(237,233,230,0.03);
}

.lt-link-secondary .lt-link-icon {
  opacity: 0.4;
}

/* ── FOOTER — logo only ── */
.lt-footer {
  margin-top: auto;
  padding: 28px 0 22px;
  display: flex;
  justify-content: center;
}

.lt-footer-logo {
  height: 36px;
  width: auto;
  opacity: 0.35;
  filter: invert(93%) sepia(5%) saturate(200%) hue-rotate(340deg) brightness(95%);
}

/* ── DESKTOP POLISH ── */
@media (min-width: 600px) {
  body {
    padding: 32px;
  }

  .lt {
    min-height: auto;
    padding: 0 32px;
    border: 1px solid var(--rule);
    background: linear-gradient(180deg, rgba(22,20,18,0.6), rgba(13,11,9,0.95));
    box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  }

  .lt-header {
    padding-top: 40px;
  }

  .lt-portrait {
    width: 96px;
    height: 96px;
    border-radius: 50%;
  }
}