/* ==========================================================================
   Kyle Espeleta Photography — editorial redesign
   Fraunces (display serif) x Space Grotesk (grotesque UI/body).
   Contact-sheet galleries, hairline structure, wire-photo captions.
   ========================================================================== */

/* ---- Self-hosted fonts (no CDN) ---------------------------------------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/space-grotesk-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/space-grotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/space-grotesk-700.woff2') format('woff2');
}
/* Slick-corporate direction: single clean grotesque (Space Grotesk), no serif. */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --ground: #0f0f0e;
  --ground-2: #171614;
  --ground-3: #262421;   /* hairlines */
  --ink: #f3f0ea;
  --ink-dim: rgba(243, 240, 234, 0.62);
  --ink-faint: rgba(243, 240, 234, 0.36);
  --accent: #c6a15b;        /* muted metallic gold — CTAs & hovers ONLY */
  --accent-hover: #d9b878;
  --maxw: 1440px;
  --textw: 660px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --sans: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --serif: var(--sans);     /* legacy alias — everything resolves to the grotesque */
  --mono: ui-monospace, 'SFMono-Regular', 'Menlo', monospace;
  --disp: normal;
}

/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.22vw, 1.08rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--accent-hover); }
p { margin: 0 0 1.1em; }
::selection { background: var(--accent); color: #141312; }
[id] { scroll-margin-top: 90px; } /* anchor sections clear the sticky header */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Display serif for headlines */
h1, h2, h3 { margin: 0; font-weight: 400; }
.serif { font-family: var(--serif); }

/* ---- Layout ------------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--textw); }

/* Kicker: index rule + all-caps label */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
}
.kicker::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--accent);
  flex: none;
}

/* ==========================================================================
   HEADER — masthead with hairline
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter);
  background: color-mix(in srgb, var(--ground) 78%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--ground-3);
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand a {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.brand small {
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-top: 5px;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: clamp(0.9rem, 1.9vw, 1.9rem); }
.nav a {
  color: var(--ink-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current='page'] { color: var(--ink); }
.nav a[aria-current='page']::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent);
}
.nav a.cta {
  color: #141312;
  background: var(--accent);
  padding: 0.55rem 1.05rem;
  font-weight: 500;
}
.nav a.cta:hover { color: #141312; background: var(--accent-hover); }
.nav a.cta[aria-current='page']::after { display: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--ground-3); color: var(--ink);
  font: inherit; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  cursor: pointer; padding: 0.5rem 0.8rem;
}

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ground-2); border-bottom: 1px solid var(--ground-3);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav.open { max-height: 70vh; }
  .nav a { padding: 1rem var(--gutter); font-size: 0.92rem; border-top: 1px solid var(--ground-3); }
  .nav a[aria-current='page']::after { display: none; }
  .nav a.cta { background: none; color: var(--accent); padding: 1rem var(--gutter); }
}

/* ==========================================================================
   HERO — full-bleed photograph, overlaid wire caption
   ========================================================================== */
.hero { position: relative; }
.hero-frame { position: relative; margin: 0; height: min(94vh, 940px); overflow: hidden; background: var(--ground-2); }
.hero-frame picture, .hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,15,14,0.35) 0%, rgba(15,15,14,0.06) 22%, rgba(15,15,14,0.64) 48%, rgba(15,15,14,0.9) 72%, rgba(15,15,14,0.97) 100%);
}

/* Headline + CTA overlaid on the hero photograph */
.hero-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  max-width: var(--maxw); margin-inline: auto;
  padding: 0 var(--gutter) clamp(2.25rem, 6vw, 4.5rem);
}
.hero-overlay .kicker { color: var(--ink); margin-bottom: 1.1rem; }
.hero-overlay .lead {
  font-weight: 700;
  font-size: clamp(1.7rem, 1rem + 3.2vw, 3.4rem);
  line-height: 1.06; letter-spacing: -0.03em;
  max-width: 19ch; margin: 0; color: var(--ink);
  text-shadow: 0 1px 3px rgba(15,15,14,0.65), 0 4px 28px rgba(15,15,14,0.85);
}
.hero-overlay .lead em { font-style: normal; }
.hero-overlay .sub {
  font-size: clamp(0.98rem, 0.9rem + 0.4vw, 1.15rem);
  color: rgba(243, 240, 234, 0.82);
  margin: 1.1rem 0 0; max-width: 46ch; line-height: 1.5;
  text-shadow: 0 1px 3px rgba(15,15,14,0.7), 0 2px 16px rgba(15,15,14,0.8);
}
.hero-overlay .btn { margin-top: 1.6rem; }

/* Wire caption tucked bottom-right, out of the overlay's way */
.hero-cap {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  padding: 0 var(--gutter) clamp(2.25rem, 6vw, 4.5rem);
  display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-end; text-align: right;
}
.hero-cap .dateline {
  font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(243,240,234,0.75);
}
.hero-cap .cap { font-family: var(--sans); font-size: 0.82rem; color: rgba(243,240,234,0.55); }
@media (max-width: 1020px) { .hero-cap { display: none; } }

/* ==========================================================================
   STATEMENT / POSITIONING — big serif display
   ========================================================================== */
.statement { padding: clamp(4rem, 11vw, 9rem) 0 clamp(3rem, 8vw, 6rem); }
.statement-kicker { margin-bottom: 1.5rem; }
.statement .lead {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2rem, 1rem + 4.2vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 17ch;
}
.statement .lead em { font-style: normal; color: var(--ink); }
.statement .sub {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 0.98rem + 0.6vw, 1.4rem);
  color: var(--ink-dim);
  margin-top: 1.8rem;
  max-width: 44ch;
  line-height: 1.5;
}

/* Interstitial — pull-quote in serif italic */
.interstitial { padding: clamp(4rem, 10vw, 8rem) 0; border-top: 1px solid var(--ground-3); }
.interstitial p {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.5rem, 1rem + 2.6vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin: 0;
  color: var(--ink);
}
.interstitial.center p { margin-inline: auto; text-align: center; }

/* ---- CTA ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 2.4rem;
  padding: 0.95rem 1.7rem;
  background: var(--accent); color: #141312;
  font-family: var(--sans); font-weight: 500; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  border: 0; cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn::after { content: '→'; transition: transform 0.2s ease; }
.btn:hover { background: var(--accent-hover); color: #141312; }
.btn:hover::after { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ground-3); }
.btn--ghost:hover { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* ==========================================================================
   PRESS BAND — marquee credibility strip (published-in)
   ========================================================================== */
.pressband { border-top: 1px solid var(--ground-3); border-bottom: 1px solid var(--ground-3); padding: clamp(1.75rem, 4vw, 2.75rem) 0; }
.pressband .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2.5rem; }
.pressband .kicker { flex: none; }
.pressband .press-names {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2.2rem; margin: 0;
  font-weight: 600; font-size: clamp(1rem, 0.9rem + 0.7vw, 1.4rem);
  letter-spacing: -0.01em; color: var(--ink);
}
.pressband .press-names span { white-space: nowrap; }

/* ==========================================================================
   STATS BAND — proof numbers
   ========================================================================== */
.stats { border-top: 1px solid var(--ground-3); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: 2.2rem; }
.stat { border-top: 1px solid var(--ground-3); padding-top: 1.2rem; }
.stat .n { font-weight: 700; font-size: clamp(2rem, 1rem + 2.6vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.stat .n small { font-size: 0.55em; font-weight: 600; letter-spacing: -0.01em; }
.stat .l { display: block; margin-top: 0.65rem; font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-dim); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   CLIENT PEDIGREE — typographic roster grid (no logos)
   ========================================================================== */
.pedigree-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0; margin-top: 2.2rem; border-top: 1px solid var(--ground-3);
}
.pedigree-grid span {
  border-bottom: 1px solid var(--ground-3);
  padding: 1.05rem 1rem 1.05rem 0;
  font-weight: 500; font-size: clamp(0.95rem, 0.88rem + 0.4vw, 1.15rem);
  color: var(--ink); letter-spacing: 0;
}

/* ==========================================================================
   GALLERY — contact-sheet grid, hairline frames, indexed captions
   ========================================================================== */
.essay { padding: clamp(1rem, 4vw, 3rem) 0; counter-reset: fig; }
.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(0.9rem, 2.2vw, 2rem) clamp(0.9rem, 2vw, 1.6rem); align-items: end; }

/* default: half spread */
.gal .frame { grid-column: span 6; }
.gal .frame.full { grid-column: 1 / -1; }
.gal .frame.wide { grid-column: span 7; }
.gal .frame.narrow { grid-column: span 5; }
.gal--single { grid-template-columns: 1fr; max-width: 1120px; margin-inline: auto; }
.gal--single .frame { grid-column: 1 / -1; }

.frame { counter-increment: fig; margin: 0; position: relative; }
.frame > picture {
  position: relative; display: block; overflow: hidden;
  background: var(--ground-2);
  box-shadow: inset 0 0 0 1px rgba(243,240,234,0.07);
}
.frame > picture img { width: 100%; height: auto; display: block; }
.frame.full > picture { max-height: 82vh; }
.frame.full > picture img { width: 100%; height: 100%; object-fit: cover; max-height: 82vh; }

figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1rem;
  padding-top: 0.7rem;
}
figcaption .dateline {
  font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-dim);
}
.frame figcaption .dateline::before {
  content: counter(fig, decimal-leading-zero) ' / ';
  color: var(--accent);
}
figcaption .cap { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); }

/* minimal hover — caption warms, no image gimmicks (brief) */
.frame:hover figcaption .dateline { color: var(--ink); }

@media (max-width: 680px) {
  .gal { grid-template-columns: 1fr; }
  .gal .frame, .gal .frame.full, .gal .frame.wide, .gal .frame.narrow { grid-column: 1 / -1; }
}

/* Section heading used above galleries */
.section-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.section-head .kicker { margin-bottom: 1rem; }
.section-head h2 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.7rem, 1rem + 2.8vw, 3rem); line-height: 1.06; letter-spacing: -0.025em; max-width: 20ch;
}
.section-head h2 em { font-style: normal; }

/* ==========================================================================
   SERVICES (homepage)
   ========================================================================== */
.services { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--ground-3); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); margin-top: 2.5rem; }
.services-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .services-grid.two { grid-template-columns: 1fr; } }
.service { border-top: 1px solid var(--ground-3); padding-top: 1.4rem; }
.service h3 {
  font-family: var(--sans); font-weight: 600;
  font-size: 1.35rem; letter-spacing: -0.015em; margin-bottom: 0.7rem;
}
.service p { color: var(--ink-dim); font-size: 0.98rem; }
.service a.more { font-family: var(--sans); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; gap: 0; } .service { padding-block: 1.6rem; } }

/* ==========================================================================
   TEAM / ABOUT (homepage + /about/)
   ========================================================================== */
.team { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--ground-3); }
.team-title {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.7rem, 1rem + 2.8vw, 3rem); line-height: 1.06; letter-spacing: -0.025em;
  margin: 1rem 0 clamp(2.5rem, 5vw, 4rem); max-width: 18ch;
}
.member--lead {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center; margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.portrait {
  margin: 0; overflow: hidden; background: var(--ground-2);
  box-shadow: inset 0 0 0 1px rgba(243, 240, 234, 0.12);
  aspect-ratio: 1 / 1; border-radius: 50%;
}
.portrait picture { display: block; width: 100%; height: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.member-body h3 {
  font-family: var(--sans); font-weight: 700;
  font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.08;
}
.member-body h3 small {
  display: block; font-family: var(--sans); font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--ink-faint); margin-top: 0.55rem;
}
.member-tag {
  font-family: var(--sans); font-weight: 500;
  color: var(--ink-dim); font-size: 0.98rem; margin: 1rem 0 1.15rem; line-height: 1.4;
}
.member-body p:last-child { color: var(--ink-dim); margin-bottom: 0; }
.member-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.member-pair .portrait { max-width: 220px; margin-bottom: 1.6rem; }
.member-pair .member-body h3 { font-size: 1.5rem; }
@media (max-width: 760px) {
  .member--lead { grid-template-columns: 1fr; justify-items: start; }
  .member--lead .portrait { max-width: 240px; }
  .member-pair { grid-template-columns: 1fr; gap: 2.75rem; }
  .member-pair .portrait { max-width: 240px; }
}

/* ==========================================================================
   CLIENT LIST
   ========================================================================== */
.clients { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--ground-3); }
.clients .names {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.5rem);
  line-height: 1.6; letter-spacing: 0.01em; color: var(--ink); max-width: 24ch;
  margin-top: 1.6rem;
}
.clients .names.run { max-width: 62ch; line-height: 1.9; }
.clients .pub { margin-top: 1.8rem; font-family: var(--sans); color: var(--ink-dim); font-size: 0.95rem; }

/* ==========================================================================
   SEO PROSE
   ========================================================================== */
.seo { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--ground-3); }
.seo h2 {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(1.3rem, 1rem + 1.1vw, 1.8rem); line-height: 1.15; letter-spacing: -0.02em;
  margin: 2.6rem 0 0.8rem;
}
.seo h2:first-child { margin-top: 0; }
.seo p { color: var(--ink-dim); }
.seo .lead-prose { color: var(--ink); font-size: 1.08rem; }

/* ==========================================================================
   RATES
   ========================================================================== */
.rate-list { list-style: none; padding: 0; margin: 2.5rem 0 0; max-width: 660px; }
.rate-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.2rem 0; border-bottom: 1px solid var(--ground-3);
}
.rate-list li:first-child { border-top: 1px solid var(--ground-3); }
.rate-list .r-label { font-family: var(--sans); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.rate-list .r-price { font-family: var(--mono); font-size: 0.95rem; color: var(--accent); white-space: nowrap; }
.rate-note { margin-top: 2rem; font-family: var(--sans); color: var(--ink-dim); max-width: 52ch; font-size: 1.02rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--ground-3); }
.faq .kicker { margin-bottom: 2rem; }
.faq-item { border-top: 1px solid var(--ground-3); padding: 1.8rem 0; max-width: var(--maxw); display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem 3rem; }
.faq-item:last-child { border-bottom: 1px solid var(--ground-3); }
.faq-item h3 {
  font-family: var(--sans); font-weight: 600;
  font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.015em;
}
.faq-item p { color: var(--ink-dim); margin: 0; }
@media (max-width: 760px) { .faq-item { grid-template-columns: 1fr; gap: 0.6rem; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.bio { padding-block: 2rem; border-top: 1px solid var(--ground-3); max-width: var(--maxw); display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem 3rem; }
.bio h3 { font-family: var(--sans); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.015em; }
.bio h3 small { display: block; font-family: var(--sans); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-faint); margin-top: 0.5rem; }
.bio p { color: var(--ink-dim); margin-top: 0; }
.bio.lead-bio p { color: var(--ink); font-size: 1.08rem; }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; gap: 0.8rem; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.4rem; }
.field label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  background: var(--ground-2); border: 1px solid var(--ground-3); color: var(--ink);
  font: inherit; font-size: 0.98rem; padding: 0.85rem 0.9rem; border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.contact-info dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-faint); margin-top: 1.5rem; }
.contact-info dd { margin: 0.3rem 0 0; font-family: var(--sans); font-weight: 500; font-size: 1.02rem; color: var(--ink); }
.contact-info dd a { color: var(--ink); }
.contact-info dd a:hover { color: var(--accent); }
.form-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.6rem; }

/* ==========================================================================
   PAGE HEADERS (interior)
   ========================================================================== */
.page-head { padding: clamp(3rem, 8vw, 6rem) 0 clamp(1.5rem, 4vw, 3rem); }
.page-head .kicker { display: inline-flex; margin-bottom: 1.3rem; }
.page-head h1 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.9rem, 1rem + 3.8vw, 3.8rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 20ch;
}
.page-head h1 em { font-style: normal; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--ground-3); padding: clamp(4rem, 8vw, 6rem) 0 3rem; margin-top: 3rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem 3rem; align-items: flex-start; }
.footer-cta { font-family: var(--sans); font-weight: 600; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.4rem); line-height: 1.1; letter-spacing: -0.025em; max-width: 15ch; }
.footer-cta a { color: var(--ink); }
.footer-cta a:hover { color: var(--accent); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.footer-nav a { color: var(--ink-dim); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; }
.footer-nav a:hover { color: var(--ink); }
.footer-meta { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ground-3); color: var(--ink-faint); font-size: 0.76rem; line-height: 1.8; }
.footer-meta a { color: var(--ink-faint); }
.footer-meta a:hover { color: var(--accent); }

/* ==========================================================================
   404
   ========================================================================== */
.err { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 4rem; }
.err h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -0.03em; }
.err p { color: var(--ink-dim); margin-top: 1.2rem; max-width: 40ch; }

/* ---- Motion ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
