/* ==========================================================
   index.html — page-specific styles.
   Shared tokens, nav base, and media queries live in styles.css.
   ========================================================== */

/* nav on index fades in via GSAP from opacity 0, so its own hit area
   must stay click-through until the links themselves are visible;
   the alpha here is also intentionally lighter than the gallery pages'. */
.site-nav {
  pointer-events: none;
  background: linear-gradient(rgba(11, 22, 38, 0.75), rgba(11, 22, 38, 0));
}
.site-nav a { pointer-events: auto; }

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(245, 240, 232, 0.62);
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--amber); }

/* ---------- Hero section ---------- */
.hero {
  position: relative;
  height: 100vh;   /* pre-set height: no layout shift while JS boots */
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

/* Dusk sky, warm horizon, ridgelines — pure CSS layers */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    /* fade into the page below — no hard seam */
    linear-gradient(rgba(11, 22, 38, 0) 82%, #0b1626 100%),
    /* minimal ridgeline linework above the hills */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0 44 L260 22 L520 42 L760 16 L1020 44 L1240 28 L1440 40' fill='none' stroke='%23F5F0E8' stroke-opacity='0.07' stroke-width='1.5'/><path d='M0 52 L300 36 L600 50 L880 30 L1160 52 L1440 44' fill='none' stroke='%23D9A441' stroke-opacity='0.11' stroke-width='1.5'/></svg>") bottom center / 100% 90px no-repeat,
    /* last light on the horizon */
    radial-gradient(85% 42% at 50% 102%, rgba(217, 164, 65, 0.16), transparent 68%),
    /* cool dusk overhead */
    radial-gradient(95% 65% at 50% -14%, rgba(46, 74, 120, 0.35), transparent 64%),
    /* ridgelines stacked along the bottom */
    radial-gradient(110% 44% at 14% 110%, #0f1e33 0 46%, transparent 47%),
    radial-gradient(125% 40% at 78% 112%, #0c1a2c 0 49%, transparent 50%),
    radial-gradient(150% 32% at 42% 117%, #08111f 0 52%, transparent 53%),
    linear-gradient(#0b1729, var(--night));
}

/* vignette on top of everything, beneath text */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 42%, transparent 50%, rgba(4, 8, 15, 0.7) 100%);
}

#field-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
  margin: 0 auto;
}

.hero-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(44px, 7.5vw, 76px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--cream);
  text-shadow: 0 0 48px rgba(217, 164, 65, 0.14);
}

.hero-rule {
  width: 72px;
  height: 1px;
  margin-top: 28px;
  border: none;
  background: linear-gradient(90deg, rgba(217, 164, 65, 0), rgba(217, 164, 65, 0.85), rgba(217, 164, 65, 0));
}

.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(14px, 1.45vw, 17px);
  color: rgba(245, 240, 232, 0.58);
  margin-top: 22px;
  letter-spacing: 0.06em;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  pointer-events: none;
}
.scroll-cue i {
  width: 1px;
  height: 44px;
  background: linear-gradient(rgba(245, 240, 232, 0.45), transparent);
}

/* ---------- Shared section styling ---------- */
.section {
  position: relative;
  padding: 110px 24px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0 44 L260 22 L520 42 L760 16 L1020 44 L1240 28 L1440 40' fill='none' stroke='%23F5F0E8' stroke-opacity='0.05' stroke-width='1.5'/><path d='M0 52 L300 36 L600 50 L880 30 L1160 52 L1440 44' fill='none' stroke='%23D9A441' stroke-opacity='0.08' stroke-width='1.5'/></svg>") top center / 100% 64px no-repeat,
    linear-gradient(#0b1626, #0d1a2e);
}
.section + .section {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0 44 L260 22 L520 42 L760 16 L1020 44 L1240 28 L1440 40' fill='none' stroke='%23F5F0E8' stroke-opacity='0.05' stroke-width='1.5'/><path d='M0 52 L300 36 L600 50 L880 30 L1160 52 L1440 44' fill='none' stroke='%23D9A441' stroke-opacity='0.08' stroke-width='1.5'/></svg>") top center / 100% 64px no-repeat,
    linear-gradient(#0d1a2e, #0b1626);
}

/* the intro sits tight under the hero — no dead air, no doubled ridgeline */
#concern {
  padding-top: 72px;
  background: linear-gradient(#0b1626, #0d1a2e);
}

.section-inner {
  max-width: 760px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: 0.005em;
  color: var(--cream);
  margin-top: 16px;
}

.section-rule {
  width: 56px;
  height: 1px;
  margin-top: 24px;
  border: none;
  background: linear-gradient(90deg, rgba(217, 164, 65, 0.85), rgba(217, 164, 65, 0));
}

/* ---------- To whom it may concern ---------- */
.announce {
  margin-top: 36px;
  font-weight: 300;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.85;
  color: var(--cream-muted);
}
.announce + .announce { margin-top: 24px; }
.announce em {
  font-style: normal;
  color: var(--cream);
}
.announce .announce-name {
  font-family: 'Fraunces', serif;
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-shadow: 0 0 32px rgba(217, 164, 65, 0.28);
}
.announce-footnote {
  margin-top: 28px;
  font-size: 12px;
  font-style: italic;
  color: rgba(245, 240, 232, 0.35);
  letter-spacing: 0.04em;
}

/* ---------- Hobbies ---------- */
.hobby-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.hobby-card {
  display: block;
  border: 1px solid rgba(245, 240, 232, 0.12);
  padding: 32px 30px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.35s ease, background-color 0.35s ease;
}
.hobby-card:hover {
  border-color: rgba(217, 164, 65, 0.5);
  background-color: rgba(245, 240, 232, 0.02);
}
.hobby-card:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}
.card-cta {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(217, 164, 65, 0.85);
}
.hobby-card .numeral {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(217, 164, 65, 0.72);
}
.hobby-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--cream);
  margin-top: 14px;
}
.hobby-card p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.75;
  color: var(--cream-muted);
  margin-top: 12px;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  padding: 130px 24px 60px;
  background: linear-gradient(#0b1626, #070d18);
  text-align: center;
}
.contact .section-rule { margin-left: auto; margin-right: auto; }
.contact-lede {
  margin-top: 32px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--cream-muted);
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 26px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  border: 1px solid rgba(245, 240, 232, 0.28);
  transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.15s ease;
}
.contact-link:hover {
  border-color: rgba(217, 164, 65, 0.8);
  background-color: rgba(217, 164, 65, 0.07);
}
.contact-link:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}
.contact-link svg {
  width: 15px;
  height: 15px;
  fill: rgba(217, 164, 65, 0.88);
  flex-shrink: 0;
}

/* colophon sits inside .contact here; layout differs from the gallery
   pages' standalone version (see body > .colophon in styles.css) */
#contact .colophon {
  margin-top: 90px;
}
