/* ─────────────────────────────────────────────
   TOKENS
   ───────────────────────────────────────────── */
:root {
  /* Palette: light, Elephant's Breath-inspired beige.
     Warm grey-taupe with the faintest mauve undertone, deep warm charcoal ink,
     muted clay-sienna accent (kept warm to honour the original's amber-led mood). */
  --bg:          #E8DFD2;  /* warm paper, tinted toward EB */
  --bg-2:        #DCD2C2;  /* slightly deeper paper, for alt sections */
  --bg-3:        #C7BBA9;  /* deeper EB-territory tone, used sparingly */
  --ink:         #29241E;  /* deep warm charcoal — almost-black with brown */
  --ink-muted:   #6D6358;  /* Elephant's Breath proper, for secondary text */
  --ink-dim:     #9A9088;  /* lighter EB tone, for tertiary text */
  --accent:      #9A7B5C;  /* warm clay-sienna — grounded, sophisticated */
  --accent-soft: rgba(154, 123, 92, 0.18);
  --line:        rgba(41, 37, 32, 0.10);
  --line-strong: rgba(41, 37, 32, 0.22);

  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --sans:  'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --maxw: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* Subtle paper grain — tinted warm-dark noise, multiplied onto the cream */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.14  0 0 0 0 0.12  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* ─────────────────────────────────────────────
   LAYOUT
   ───────────────────────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section { position: relative; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* ─────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────── */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem var(--pad);
  transition: backdrop-filter 0.4s var(--ease-out), background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
nav.top .nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav.top.scrolled {
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(232, 223, 210, 0.78);
  border-bottom-color: var(--line);
}
nav.top .mark {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
nav.top .mark em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-muted);
}
nav.top .links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}
nav.top .links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease-out);
}
nav.top .links a:hover { color: var(--ink); }
nav.top .links .cta {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  transition: all 0.3s var(--ease-out);
}
nav.top .links .cta:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Mobile nav: hide the long brand subtitle and the menu links;
   keep just "Sietse Bakker" and the CTA. */
@media (max-width: 720px) {
  nav.top { padding: 1rem var(--pad); }
  nav.top .mark em { display: none; }
  nav.top .mark { font-size: 0.95rem; }
  nav.top .links a:not(.cta) { display: none; }
  nav.top .links .cta { font-size: 0.72rem; padding: 0.5rem 0.85rem; }
}
@media (max-width: 380px) {
  nav.top .mark { font-size: 0.9rem; }
}

/* Nav adapts to over-photo (white) when hero is in view */
nav.top:not(.scrolled) .mark { color: rgba(248, 244, 234, 0.98); }
nav.top:not(.scrolled) .mark em { color: rgba(248, 244, 234, 0.72); }
nav.top:not(.scrolled) .links a { color: rgba(248, 244, 234, 0.82); }
nav.top:not(.scrolled) .links a:hover { color: #FFFFFF; }
nav.top:not(.scrolled) .links .cta {
  color: rgba(248, 244, 234, 0.95);
  border-color: rgba(248, 244, 234, 0.4);
}
nav.top:not(.scrolled) .links .cta:hover {
  background: rgba(248, 244, 234, 1);
  color: var(--ink);
  border-color: rgba(248, 244, 234, 1);
}
/* ─────────────────────────────────────────────
   STATEMENT
   ───────────────────────────────────────────── */
.statement {
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
  border-top: 1px solid var(--line);
}
.statement-head {
  max-width: var(--maxw);
  margin: 0 auto clamp(4rem, 8vh, 6rem);
}
.statement-head .eyebrow { margin-bottom: 1.5rem; }
.statement-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 22ch;
}
.statement-head h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.statement-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.statement-body p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.005em;
}
.statement-body p:last-of-type { margin-bottom: 0; color: var(--ink-muted); }
.statement-body p em { font-style: italic; color: var(--accent); }

.statement-body p .accent { color: var(--accent); font-style: italic; }

.statement-body .fineprint {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  line-height: 1.7;
  color: var(--ink-muted);
  letter-spacing: 0.005em;
  margin: 2rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  max-width: 58ch;
  font-variation-settings: "opsz" 24;
}
.statement-body .fineprint em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

/* ─────────────────────────────────────────────
   NUMBERS
   ───────────────────────────────────────────── */
.numbers {
  padding: clamp(5rem, 10vh, 8rem) var(--pad);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.numbers-header {
  max-width: var(--maxw);
  margin: 0 auto 4rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 1rem;
}
.numbers-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.numbers-header h2 em { font-style: italic; color: var(--accent); }
.numbers-header .meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.numbers-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 900px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: 2rem 1.5rem 2rem 0;
  border-left: 1px solid var(--line);
  padding-left: 1.75rem;
  position: relative;
}
/* All stats now keep their left border, including the first */
@media (max-width: 900px) {
  .stat { padding-left: 1.25rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
}

.stat .figure {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.15em;
  margin-bottom: 0.75rem;
  font-variation-settings: "opsz" 144;
}
.stat .figure .unit {
  font-size: 0.45em;
  font-weight: 400;
  color: var(--accent);
  font-style: italic;
}
.stat .figure .prefix {
  font-size: 0.5em;
  color: var(--ink-muted);
  font-weight: 400;
}
.stat .label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.45;
  max-width: 15rem;
}

/* ─────────────────────────────────────────────
   SIGNATURE WORK
   ───────────────────────────────────────────── */
.work {
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
}
.work-head {
  max-width: var(--maxw);
  margin: 0 auto clamp(4rem, 8vh, 6rem);
}
.work-head .eyebrow { margin-bottom: 1.5rem; }
.work-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.work-head h2 em { font-style: italic; color: var(--accent); font-weight: 300; }

.case {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 6vh, 5rem) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.case:last-of-type { border-bottom: 1px solid var(--line); }
/* Alternate image / body sides for visual rhythm */
.case:nth-of-type(even) .case-image { grid-column: 2; grid-row: 1; }
.case:nth-of-type(even) .case-body  { grid-column: 1; grid-row: 1; }
@media (max-width: 800px) {
  .case { grid-template-columns: 1fr; gap: 1.5rem; }
  .case:nth-of-type(even) .case-image,
  .case:nth-of-type(even) .case-body { grid-column: 1; grid-row: auto; }
}

.case-image {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-3);
  position: relative;
  box-shadow:
    0 28px 56px -28px rgba(41, 36, 30, 0.35),
    0 6px 14px -8px rgba(41, 36, 30, 0.15);
  aspect-ratio: 4 / 3;
  position: sticky;
  top: clamp(6rem, 12vh, 8rem);
}
@media (max-width: 800px) {
  .case-image { position: static; }
}
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease-out), filter 0.6s var(--ease-out);
  filter: saturate(1.05);
}
.case:hover .case-image img {
  transform: scale(1.035);
}

.case-body .case-meta {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.case-meta .year {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.005em;
}
.case-meta .role {
  font-family: var(--sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
}

.case-body h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.case-body h3 em { font-style: italic; color: var(--accent); font-weight: 300; }

.case-body p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
  max-width: 42rem;
}
.case-body p a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  white-space: nowrap;
  transition: color 0.3s var(--ease-out), text-decoration-color 0.3s var(--ease-out);
}
.case-body p a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.case-body p a[target="_blank"]::after,
.case-body p a[href^="http"]::after {
  content: ' \2197';                  /* ↗ north-east arrow */
  display: inline-block;
  margin-left: 0.18em;
  font-style: normal;
  font-weight: 400;
  font-size: 0.85em;
  vertical-align: 0.06em;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out);
}
.case-body p a:hover::after {
  transform: translate(2px, -2px);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 1.5rem;
}
.case-tags .tag {
  font-size: 0.74rem;
  color: var(--ink);
  padding: 0.5rem 1rem 0.5rem 0;
  margin-right: 1rem;
  border-right: 1px solid var(--line);
  letter-spacing: 0.01em;
}
.case-tags .tag:last-child { border-right: none; }
.case-tags .tag strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.1rem;
}

/* ─────────────────────────────────────────────
   TIMELINE
   ───────────────────────────────────────────── */
.timeline {
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.timeline-head {
  max-width: var(--maxw);
  margin: 0 auto clamp(3rem, 6vh, 5rem);
}
.timeline-head .eyebrow { margin-bottom: 1.5rem; }
.timeline-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 24ch;
}
.timeline-head h2 em { font-style: italic; color: var(--accent); }

.timeline-list {
  max-width: var(--maxw);
  margin: 0 auto;
}
.tl-item {
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.3s var(--ease-out);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item:hover { background: rgba(154, 123, 92, 0.05); }
@media (max-width: 720px) {
  .tl-item { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.5rem 0; }
}

.tl-year {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.tl-role {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.tl-role .org {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.01em;
}
.tl-role .tl-detail {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.65;
  color: var(--ink-muted);
  margin-top: 0.85rem;
  max-width: 56ch;
  letter-spacing: 0.002em;
  font-variation-settings: "opsz" 24;
}
.tl-loc {
  font-size: 0.78rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .tl-loc { margin-top: 0.25rem; }
}

/* Collapsible older entries, revealed via the Read more toggle */
.tl-collapse {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.55s var(--ease-out), opacity 0.4s var(--ease-out);
}
.tl-collapse.is-open {
  /* Large enough for the 3 hidden items; transitions to natural height */
  max-height: 120rem;
  opacity: 1;
}
.tl-collapse > .tl-item:first-child {
  /* The first revealed item should not stack a double divider on top
     of the toggle button — use a top border to keep the rhythm */
}
.tl-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.3rem 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.3s var(--ease-out);
}
.tl-toggle:hover { color: var(--accent); }
.tl-toggle:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
.tl-toggle .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform 0.4s var(--ease-out);
}
.tl-toggle[aria-expanded="true"] .arrow { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
  .tl-collapse { transition: none; }
  .tl-toggle .arrow { transition: none; }
}

/* ─────────────────────────────────────────────
   BEYOND (publications / speaking / boards)
   ───────────────────────────────────────────── */
.beyond {
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
}
.beyond-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 800px) {
  .beyond-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.beyond-col h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}
.beyond-col h3 em { font-style: italic; color: var(--accent); }
.beyond-col .col-eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  margin-bottom: 1.75rem;
}
.beyond-col ul { list-style: none; }
.beyond-col li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.45;
}
.beyond-col li:last-child { border-bottom: 1px solid var(--line); }
.beyond-col li .sub {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
  font-style: italic;
}
.beyond-col li .yr {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 0.82rem;
  margin-right: 0.5rem;
}

/* ─────────────────────────────────────────────
   TESTAMENT TO TEAMWORK — 16:9 full-bleed dual-image band
   ───────────────────────────────────────────── */
.testament {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
  border-top: 1px solid var(--line);
}
.testament-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}
.testament-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}
.testament-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.testament-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--pad);
  gap: clamp(1rem, 2.5vh, 2rem);
}
.testament-content h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(248, 244, 234, 0.98);
  font-variation-settings: "opsz" 144;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  max-width: 22ch;
}
.testament-content h2 em {
  font-style: italic;
  font-weight: 300;
  color: rgba(248, 244, 234, 0.98);
}
.testament-content p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  letter-spacing: -0.003em;
  color: rgba(248, 244, 234, 0.88);
  max-width: 50rem;
  margin: 0;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
  font-variation-settings: "opsz" 24;
}
.testament-content p .who {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(248, 244, 234, 0.7);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  /* 16:9 gets too squat at narrow widths — soften aspect ratio so
     the heading + quote have room to breathe */
  .testament { aspect-ratio: 4 / 5; }
}

/* ─────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────── */
.contact {
  padding: clamp(7rem, 16vh, 12rem) var(--pad);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(154, 123, 92, 0.12), transparent 60%);
  pointer-events: none;
}
.contact-inner { position: relative; max-width: 900px; margin: 0 auto; }
.contact .eyebrow {
  margin-bottom: 2.5rem;
  justify-content: center;
}
.contact .eyebrow::before { display: none; }
.contact h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
}
.contact h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.contact p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 36rem;
  margin: 0 auto 3rem;
  font-style: italic;
}
.contact p em { color: var(--accent); font-style: italic; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}
.contact-link.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.contact-link:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.contact-link svg {
  width: 14px; height: 14px;
  transition: transform 0.3s var(--ease-out);
}
.contact-link:hover svg { transform: translate(2px, -2px); }

.contact p.contact-credits {
  margin: 5.5rem auto 0;
  max-width: none;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 0.72rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
body > footer {
  padding: 2.5rem var(--pad);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
body > footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
body > footer .mark {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink-muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
body > footer .meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ─────────────────────────────────────────────
   REVEAL ANIMATIONS
   ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-rise {
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}
.reveal-rise.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.split {
  display: inline-block;
  overflow: hidden;
}
.split .row {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.split.in .row {
  transform: translateY(0);
}

/* Honour reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-rise, .split .row { opacity: 1; transform: none; }
}



/* ─────────────────────────────────────────────
   HERO — full-bleed broadcast feed.
   The video is the "program output"; broadcast chrome floats on top
   (tally source tag, ticking timecode, name super). A left-to-right
   black gradient darkens the typography side. Clay-sienna stands in
   for the broadcast-red tally so the palette stays on-brand.
   ───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: block;
  isolation: isolate;
  background: var(--ink);
}
.hero::before { display: none; }

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  animation: heroZoom 32s var(--ease-out) infinite alternate;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1.00); }
  to   { transform: scale(1.05); }
}

/* SCRIM — left-to-right black gradient: 60% black on the left,
   fading to fully transparent on the right. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right,
    rgba(0, 0, 0, 0.60) 0%,
    rgba(0, 0, 0, 0.45) 30%,
    rgba(0, 0, 0, 0.20) 60%,
    rgba(0, 0, 0, 0) 100%);
}

/* HEADING — upper-left, cream serif with strong shadow */
.hero-heading {
  position: absolute;
  z-index: 5;
  top: clamp(9rem, 22vh, 13rem);
  left: var(--pad);
  right: var(--pad);
  max-width: 18ch;
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6.4vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144;
  color: rgba(248, 244, 234, 0.98);
  text-shadow:
    0 2px 22px rgba(0, 0, 0, 0.45),
    0 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s var(--ease-out) 0.25s, transform 1.4s var(--ease-out) 0.25s;
}
.hero-heading.in { opacity: 1; transform: translateY(0); }
.hero-heading .line { display: block; }
.hero-heading .italic { font-style: italic; font-weight: 300; color: rgba(248, 244, 234, 0.98); }

/* NAME — bottom-left, container-less floating italic byline, sized to
   match body text */
.hero-name {
  position: absolute;
  z-index: 5;
  left: var(--pad);
  bottom: clamp(2.4rem, 6vh, 4rem);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  letter-spacing: 0.002em;
  color: rgba(248, 244, 234, 0.95);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.7),
    0 1px 14px rgba(0, 0, 0, 0.55),
    0 1px 2px rgba(0, 0, 0, 0.6);
  margin: 0;
  opacity: 0;
  animation: heroFadeUp 1.4s var(--ease-out) 0.85s forwards;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video video { animation: none; }
  .hero-heading { opacity: 1; transform: none; transition: none; }
  .hero-name { opacity: 1; animation: none; }
}

/* Scroll cue — anchored bottom-center, cream on shadow for over-video. */
.scroll-cue {
  position: absolute;
  bottom: clamp(1.4rem, 3vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(248, 244, 234, 0.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  transition: opacity 0.6s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.scroll-cue:hover {
  color: #FFFFFF;
  transform: translateX(-50%) translateY(2px);
}
.scroll-cue:focus-visible {
  outline: 1px solid rgba(248, 244, 234, 0.8);
  outline-offset: 8px;
  border-radius: 2px;
}
.scroll-cue .cue-label { font-weight: 500; }
.scroll-cue.is-hidden { opacity: 0; pointer-events: none; }
.scroll-cue .line {
  width: 1px; height: 2rem;
  background: linear-gradient(to bottom, transparent, rgba(248, 244, 234, 0.85), transparent);
  background-size: 100% 200%;
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue {
  0%, 100% { background-position: 0% 100%; }
  50%      { background-position: 0% 0%; }
}
@media (max-width: 720px) { .scroll-cue { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue .line { animation: none; }
}


/* Editorial pull-quote — sits mid/lower-left over the video, cream type
   with multilayer shadow for legibility against the moving footage. */
.hero-quote {
  position: absolute;
  z-index: 5;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(5rem, 11vh, 7rem);
  max-width: min(580px, 64vw);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  animation: heroFadeUp 1.4s var(--ease-out) 0.55s forwards;
  transform: translateY(20px);
}
.hero-quote__mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 0.4;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 2px 18px rgba(0, 0, 0, 0.45);
  user-select: none;
}
.hero-quote__body {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  letter-spacing: -0.002em;
  color: rgba(248, 244, 234, 0.96);
  margin: 0;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.7),
    0 1px 18px rgba(0, 0, 0, 0.55);
  font-variation-settings: "opsz" 24;
}
.hero-quote__body::after {
  content: '\201D';
  color: var(--accent);
  font-size: 1.45em;
  line-height: 0;
  vertical-align: -0.34em;
  margin-left: 0.06em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

@media (max-width: 720px) {
  .hero-quote { max-width: 100%; bottom: 6rem; }
  .hero-quote__body { font-size: 0.95rem; }
  .hero-quote__mark { font-size: 2.6rem; }
}

/* Literary epigraph under the timeline heading */
.timeline-quote {
  margin: 2.2rem 0 0;
  padding: 0;
  max-width: 44ch;
}
.timeline-quote__body {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.55;
  letter-spacing: -0.003em;
  color: var(--ink-muted);
  margin: 0;
  font-variation-settings: "opsz" 24;
}
.timeline-quote__attribution {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.timeline-quote__attribution .rule {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}
.timeline-quote__attribution em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.86rem;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--ink-muted);
}
