/* ─────────────────────────────────────────────
   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; }

/* ─────────────────────────────────────────────
   GATE
   ───────────────────────────────────────────── */
body.is-locked { overflow: hidden; }
body.is-locked > *:not(.gate) { visibility: hidden; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  opacity: 1;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
}
.gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.gate-inner {
  width: 100%;
  max-width: 30rem;
  text-align: center;
}
.gate-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.gate-eyebrow::before, .gate-eyebrow::after {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.gate-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.gate-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.gate-lede {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0 auto 2.5rem;
  max-width: 28rem;
  font-variation-settings: "opsz" 24;
}
.gate-form {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
  margin: 0 auto;
  max-width: 24rem;
}
.gate-input {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  letter-spacing: 0.02em;
  outline: none;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.gate-input::placeholder { color: var(--ink-dim); }
.gate-input:focus {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.18);
}
.gate-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bg);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 1.4rem;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.gate-submit:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.gate-submit:active { transform: scale(0.98); }
.gate-submit svg {
  width: 12px; height: 12px;
  transition: transform 0.3s var(--ease-out);
}
.gate-submit:hover svg { transform: translate(2px, -2px); }
.gate-error {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-top: 1.25rem;
  min-height: 1.2rem;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}
.gate-error.is-visible { opacity: 1; }
.gate.is-shake .gate-form { animation: gateShake 0.35s var(--ease-in-out); }
@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}
@media (max-width: 480px) {
  .gate-form { flex-direction: column; }
  .gate-submit { padding: 0.85rem 1.4rem; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .gate, .gate-error, .gate.is-shake .gate-form { transition: none; animation: none; }
}

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);
}
@media (max-width: 720px) {
  nav.top .links a:not(.cta) { display: none; }
}

/* Hero CSS has been replaced — see end of <style> */
/* ─────────────────────────────────────────────
   STATEMENT
   ───────────────────────────────────────────── */
.statement {
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
  border-top: 1px solid var(--line);
}
.statement-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: clamp(2rem, 6vw, 5rem);
}
@media (max-width: 800px) {
  .statement-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
.statement h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: sticky;
  top: 6rem;
  align-self: start;
}
.statement h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.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: 1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 6vh, 5rem) 0;
  border-top: 1px solid var(--line);
}
.case:last-of-type { border-bottom: 1px solid var(--line); }
@media (max-width: 800px) {
  .case { grid-template-columns: 1fr; gap: 1.5rem; }
}

.case-meta .year {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.case-meta .role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  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: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  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-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-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; }
}

/* ─────────────────────────────────────────────
   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;
}

/* ─────────────────────────────────────────────
   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, scroll-driven photo crossfade
   with an adaptive-colour headline using mix-blend-mode.
   ───────────────────────────────────────────── */

/* Override .hero from earlier. */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: block;
  /* Contain the blend modes inside the hero so the heading doesn't
     accidentally blend with anything below it on the page. */
  isolation: isolate;
}
.hero::before { display: none; } /* kill the soft glow overlay from the old design */

/* Photo stack */
.hero-photos {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg-3);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2.4s var(--ease-out);
  will-change: opacity, transform;
}
.hero-photo[data-idx="0"] { object-position: 50% 38%; }  /* Sietse on stage */
.hero-photo[data-idx="1"] { object-position: 50% 50%; }  /* Eurovision 2021 — Rotterdam stage */
.hero-photo[data-idx="2"] { object-position: 62% 32%; }  /* Sietse podcast */
.hero-photo[data-idx="3"] { object-position: 50% 55%; }  /* Amsterdam 750 — sparklers */
.hero-photo[data-idx="4"] { object-position: 56% 50%; }  /* Sietse console */
.hero-photo[data-idx="5"] { object-position: 50% 60%; }  /* Museumplein dome */

.hero-photo.is-active {
  opacity: 1;
  animation: heroKenBurns 8s linear forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}

/* Scrim — top darkening for nav + bottom darkening for meta */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(10, 8, 6, 0.55) 0%,
      rgba(10, 8, 6, 0.18) 12%,
      transparent 32%,
      transparent 48%,
      rgba(10, 8, 6, 0.30) 75%,
      rgba(10, 8, 6, 0.78) 100%
    );
}
/* a subtle vignette */
.hero-scrim::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 50%, transparent 50%, rgba(0,0,0,0.30) 100%);
}

/* THE HEADLINE — uses mix-blend-mode: difference for true adaptive contrast.
   Source colour: white. Result on any background = 255 - bg, so it's always
   readable AND the colour shifts dramatically depending on what's behind it. */
.hero-heading {
  position: absolute;
  top: clamp(7.5rem, 17vh, 11rem);
  left: var(--pad);
  right: var(--pad);
  z-index: 4;

  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 7.2vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 30;

  color: #FFFFFF;
  mix-blend-mode: difference;
  max-width: 18ch;
  /* No transform here — would create a stacking context and break the blend. */
  opacity: 0;
  transition: opacity 1.6s var(--ease-out) 0.4s;
}
.hero-heading.in { opacity: 1; }
.hero-heading .line { display: block; }
.hero-heading .italic { font-style: italic; font-weight: 300; }

/* Bottom-left meta column */
.hero-meta-wrap {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(2.5rem, 5vh, 4rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 820px;
}

.hero-eyebrow-light {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(248, 244, 234, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-shadow: 0 1px 14px rgba(0,0,0,0.45);
}
.hero-eyebrow-light::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.hero-meta-light {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.75rem;
  border-top: 1px solid rgba(248, 244, 234, 0.22);
  padding-top: 1.2rem;
}
.hero-meta-light .item { padding: 0.5rem 0; }
.hero-meta-light .label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: rgba(248, 244, 234, 0.55);
  margin-bottom: 0.3rem;
}
.hero-meta-light .value {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: rgba(248, 244, 234, 0.96);
  text-shadow: 0 1px 14px rgba(0,0,0,0.5);
  letter-spacing: -0.005em;
}

/* Progress dots — bottom right */
.hero-progress-light {
  position: absolute;
  right: var(--pad);
  bottom: clamp(2.5rem, 5vh, 4rem);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: rgba(10, 8, 6, 0.32);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(248, 244, 234, 0.16);
  border-radius: 999px;
}
.hero-progress-light .dot {
  width: 1.5rem;
  height: 2px;
  background: rgba(248, 244, 234, 0.32);
  transition: background 0.4s var(--ease-out), width 0.7s var(--ease-out), transform 0.3s var(--ease-out);
  border-radius: 1px;
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.hero-progress-light .dot:hover {
  background: rgba(248, 244, 234, 0.7);
  transform: scaleY(1.5);
}
.hero-progress-light .dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  background: rgba(248, 244, 234, 0.85);
}
.hero-progress-light .dot.is-active {
  background: var(--accent);
  width: 2.6rem;
}
.hero-progress-light .dot.is-active:hover {
  background: var(--accent);
  transform: scaleY(1.5);
}
.hero-progress-light .label {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: rgba(248, 244, 234, 0.78);
  margin-left: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.hero-progress-light .label em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

/* Hide bottom-meta + progress on very small screens to declutter */
@media (max-width: 640px) {
  .hero-progress-light .label { display: none; }
  .hero-meta-light { gap: 0 1.4rem; }
}

/* Scroll cue — anchored bottom-center of the hero. Clickable link to #statement. */
.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.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  transition: opacity 0.6s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.scroll-cue:hover {
  color: rgba(248, 244, 234, 1);
  transform: translateX(-50%) translateY(2px);
}
.scroll-cue:focus-visible {
  outline: 1px solid rgba(248, 244, 234, 0.7);
  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.8), 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; } }

/* ── Nav adapts when sitting over the photos ── */
nav.top:not(.scrolled) .mark { color: rgba(248, 244, 234, 0.98); }
nav.top:not(.scrolled) .mark em { color: rgba(248, 244, 234, 0.7); }
nav.top:not(.scrolled) .links a { color: rgba(248, 244, 234, 0.78); }
nav.top:not(.scrolled) .links a:hover { color: rgba(248, 244, 234, 1); }
nav.top:not(.scrolled) .links .cta {
  color: rgba(248, 244, 234, 0.95);
  border-color: rgba(248, 244, 234, 0.35);
}
nav.top:not(.scrolled) .links .cta:hover {
  background: rgba(248, 244, 234, 1);
  color: var(--ink);
  border-color: rgba(248, 244, 234, 1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo, .hero-photo.is-active { animation: none !important; transform: none !important; }
  .scroll-cue .line { animation: none; }
}


/* Editorial pull-quote — opening glyph, italic body with closing glyph,
   two-line attribution. Stronger layered shadows guarantee legibility
   over any of the three photos. */
.hero-quote {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(2.5rem, 5vh, 4rem);
  z-index: 4;
  max-width: min(660px, 78vw);
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

/* Opening mark */
.hero-quote__mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(4rem, 6.5vw, 6rem);
  line-height: 0.4;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.5),
    0 2px 18px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(0, 0, 0, 0.35);
  user-select: none;
}

/* Body with closing mark inline at the end */
.hero-quote__body {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  letter-spacing: -0.003em;
  color: rgba(250, 246, 236, 0.97);
  /* Multi-layer shadow: tight outline + soft glow on every side
     so the text reads even over yellow / orange / beige photo areas. */
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.85),
    0 1px 2px rgba(0, 0, 0, 0.7),
    0 1px 24px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(0, 0, 0, 0.45);
  margin: 0;
  font-variation-settings: "opsz" 24;
}
.hero-quote__body::after {
  content: '\201D';   /* closing curly double quote */
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: 1.55em;
  line-height: 0;
  vertical-align: -0.34em;
  margin-left: 0.06em;
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.5),
    0 2px 14px rgba(0, 0, 0, 0.55);
}

/* Attribution — two lines */
.hero-quote__attribution {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
}
.hero-quote__attribution .rule {
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.hero-quote__attribution .who {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-quote__attribution .who__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: 0.005em;
  color: rgba(250, 246, 236, 0.98);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 1px 16px rgba(0, 0, 0, 0.7),
    0 0 32px rgba(0, 0, 0, 0.5);
}
.hero-quote__attribution .who__role {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.72);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.85),
    0 1px 2px rgba(0, 0, 0, 0.7),
    0 1px 14px rgba(0, 0, 0, 0.6);
}

@media (max-width: 720px) {
  .hero-quote { max-width: 100%; bottom: 5.5rem; }
  .hero-quote__body { font-size: 0.96rem; }
  .hero-quote__mark { font-size: 3.2rem; }
  .hero-quote__attribution .who__name { font-size: 0.96rem; }
}

/* 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);
}
