/* ==========================================================================
   Research, Lived. — site styles
   ==========================================================================
   EDIT: colors, fonts and spacing are all tokens in :root below.
   Each <section data-theme="..."> has a fixed background (sky, skydeep or
   aubergine); nothing changes color while you scroll.
   ========================================================================== */

:root {
  /* EDIT: palette — from the neuron-tree logo.
     Contrast on sky: aubergine 12.9:1 · ink-soft 9.4:1 · neuron blue 5.9:1 · pink 3.5:1 · marigold 1.8:1.
     Check every pairing with: python3 brand/check_contrast.py
     Rules: pink only for large text (24px+, or 19px+ bold) and button fills; marigold never for text on sky. */
  --sky: #CCEFFE;        /* site background */
  --sky-deep: #B3E3F9;   /* alternate ground for rhythm (aubergine 11.3:1, blue 5.2:1) */
  --aubergine: #401429;  /* headlines and body text; also the dark bands and the hero */
  --ink: var(--aubergine);
  --ink-soft: #5A2A40;   /* secondary text, solid (9.4:1 on sky) */
  --pink: #E92564;       /* signal pink: large accents and buttons */
  --pink-soft: #F7B8CC;
  --blue: #1F5A96;       /* neuron blue: small labels, dates, links */
  --blue-soft: #3A7CBD;
  --marigold: #F0A21E;   /* sparing highlights; labels on the aubergine bands (7.3:1) */
  --white: #FFFFFF;

  /* EDIT: fonts — Playfair Display headlines, Atkinson Hyperlegible Next for body text and labels.
     Anton is kept for the "Research, Lived." wordmark (header, hero title, loading screen) and the ring labels. */
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', 'Helvetica Neue', Arial, sans-serif;
  --brand: 'Anton', 'Bebas Neue', 'Oswald', Impact, sans-serif;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --max: 82rem;          /* widest a block of content gets on big screens */
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* section values (set per section by [data-theme]) */
  --bg: var(--sky);
  --fg: var(--ink);
  --muted: var(--ink-soft);
  --line: rgba(64, 20, 41, .18);
  --accent: var(--pink);
  --label: var(--blue);
}
[data-theme="sky"]       { --bg: var(--sky); }
[data-theme="skydeep"]   { --bg: var(--sky-deep); }
/* Dark band: sky text 12.9:1, muted 10.1:1, marigold labels 7.3:1, pink stays large-only (3.6:1). */
[data-theme="aubergine"] { --bg: var(--aubergine); --fg: var(--sky); --muted: #A9D7EC; --line: rgba(204, 239, 254, .22); --label: var(--marigold); }
[data-theme] { background: var(--bg); color: var(--fg); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Lenis smooth scrolling (js/main.js: SMOOTH SCROLL) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font: 400 clamp(1.125rem, 1.05rem + .3vw, 1.25rem)/1.6 var(--sans);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; }
::selection { background: var(--pink-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
[data-theme="aubergine"] :focus-visible { outline-color: var(--marigold); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Sections that receive focus after an in-page link don't need a ring around the whole block. */
[tabindex="-1"]:focus { outline: none; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--sky); padding: .6rem 1rem; border-radius: 99px; }
.skip-link:focus { top: 1rem; }

section { position: relative; padding: clamp(4.5rem, 10vw, 8rem) var(--pad); }

/* Plain section titles ("About", "Writing", ...) above each headline */
.section-label {
  font: 700 1.05rem/1.4 var(--sans); letter-spacing: .02em;
  color: var(--label); margin: 0 0 1rem;
}
.display {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.25rem, 1.45rem + 2.9vw, 4.25rem);
  line-height: 1.08; letter-spacing: -.01em; margin: 0 0 1.5rem;
  text-wrap: balance;
}
.display em { color: var(--accent); }
.section-head { max-width: var(--max); margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head .display { max-width: 52rem; }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 1rem clamp(2rem, 6vw, 6rem); align-items: end; }
.section-head__aside p { color: var(--muted); margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: .7rem; min-height: 3rem;
  margin-top: 1.5rem; padding: .9rem 1.7rem; border-radius: 99px; border: 0;
  background: var(--pink); color: var(--white); text-decoration: none;
  font: 700 1.25rem/1.2 var(--sans); letter-spacing: .01em;   /* 20px bold: white on pink is 4.3:1, fine for large text */
  transition: background-color .25s, color .25s;
}
.btn:hover { background: var(--aubergine); color: var(--sky); }
[data-theme="aubergine"] .btn:hover { background: var(--sky); color: var(--aubergine); }
.text-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; text-decoration-color: var(--accent); }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- loading screen (about 3 seconds; skipped for reduced motion) ---------- */
.preloader { display: none; }
.has-preloader .preloader {
  position: fixed; inset: 0; z-index: 80; background: var(--sky);
  display: grid; place-items: center; align-content: center; gap: 1.5rem;
}
.is-loading body { overflow: hidden; }
.preloader__mark { width: clamp(180px, 26vw, 300px); height: auto; }
.preloader__word { font-family: var(--brand); text-transform: uppercase; font-weight: 400; letter-spacing: .03em; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; opacity: 0; color: var(--ink); }
.preloader__word em { color: var(--pink); }
.preloader__count {
  position: absolute; right: var(--pad); bottom: var(--pad);
  font-family: var(--brand); font-weight: 400; font-size: clamp(3rem, 9vw, 7rem); line-height: 1; color: rgba(64, 20, 41, .16);
}

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem var(--pad);
  color: var(--ink);
  transition: background-color .3s, box-shadow .3s, transform .4s var(--ease);
}
/* See-through over the top of the hero; frosted sky once you scroll. */
.header.is-scrolled, .menu-open .header {
  background: rgba(204, 239, 254, .88); box-shadow: 0 1px 0 rgba(64, 20, 41, .12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
/* It slides away while you scroll down (js), but always comes back for a keyboard user inside it. */
.header.is-hidden { transform: translateY(-110%); }
.header.is-hidden:has(:focus-visible) { transform: none; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--brand); text-transform: uppercase; letter-spacing: .03em; font-size: 1.5rem; font-weight: 400; line-height: 1; }
.brand em { color: var(--pink); }
/* The blue tree sits on a sky disc so it stays readable on the aubergine bar. */
.brand__logo { flex: none; display: block; padding: 3px 4px; border-radius: 50%; background: var(--sky); }
.brand__tree { position: relative; display: block; }
.brand__mark { display: block; width: auto; height: 46px; }
/* Neuron signals (js: TREE SIGNALS), drawn over the header logo and the tree beside "Let's talk.",
   which never move: the pink cell body swells, single signals travel the branches, and tip dots glow.
   Each signal takes the color of the dot it is heading for. */
.tree-signals { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tree-signals path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sig-halo { stroke: var(--pink); stroke-width: 11; stroke-opacity: .42; }
.sig-core { stroke: #FFE9F0; stroke-width: 4; }
.sig-halo.sig--g { stroke: var(--marigold); }
.sig-core.sig--g { stroke: #FFF4DA; }
.soma-core { fill: var(--pink); opacity: 0; }
.soma-ring { fill: none; stroke: var(--pink); stroke-width: 5; opacity: 0; }
.tip-core, .tip-glow { opacity: 0; }
.tip-core--p { fill: #FF4F88; }
.tip-core--g { fill: #FFC040; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); font: 600 1rem/1.2 var(--sans); }
.nav a { padding: .5rem 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.nav a:hover { text-decoration-color: currentColor; }
.nav a[aria-current="true"] { text-decoration-color: var(--pink); }
.nav .nav__cta { padding: .6rem 1.15rem; border-radius: 99px; font-weight: 700; text-decoration: none; background: var(--aubergine); color: var(--sky); transition: background-color .25s, color .25s; }
.nav .nav__cta:hover { background: var(--pink-soft); color: var(--aubergine); }
.menu-btn { display: none; background: none; border: 0; width: 48px; height: 48px; position: relative; color: inherit; cursor: pointer; }
.menu-btn span:not(.sr-only) { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; } .menu-btn span:nth-child(2) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--sky); color: var(--ink); overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .25rem; padding: 6rem var(--pad) var(--pad);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.2; padding: .25rem 0; text-decoration: none; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: clamp(5.5rem, 11vh, 8rem); padding-bottom: clamp(4.5rem, 9vh, 6.5rem); overflow: hidden; }
/* Moving lines fill the hero; a soft sky glow behind the text keeps the words crisp. */
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 90% at 20% 52%, rgba(204, 239, 254, .94) 0%, rgba(204, 239, 254, .78) 45%, rgba(204, 239, 254, 0) 75%),
    radial-gradient(60% 60% at 85% 20%, rgba(179, 227, 249, .5), transparent 70%),
    radial-gradient(50% 50% at 70% 90%, rgba(247, 184, 204, .3), transparent 70%);
}
.hero__inner {
  position: relative;
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem);
}
/* Set like the logo's wordmark: Anton capitals, "Research," aubergine and "Lived." solid signal pink (3.5:1, large text). */
.hero__title {
  font-family: var(--brand); font-weight: 400; text-transform: uppercase;
  font-size: clamp(4rem, 1rem + 9vw, 11rem);
  line-height: .92; letter-spacing: .01em; margin: 0;
}
.hero__title em { color: var(--pink); }
/* Each line rises into view after the loading screen (js: PRELOADER + HERO INTRO). */
.hero__title .line { display: block; overflow: hidden; padding: .06em 0 .02em; }
.hero__title .line--indent { padding-left: clamp(1.25rem, 6vw, 6.5rem); }
.hero__line { display: inline-block; }
.hero__name { font: 700 clamp(1.15rem, 1rem + .7vw, 1.6rem)/1.3 var(--sans); color: var(--fg); margin: clamp(1rem, 2vw, 1.5rem) 0 0; }
.hero__lead { max-width: 34rem; margin: .9rem 0 0; color: var(--muted); font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: clamp(1.25rem, 3vh, 2rem); }
.hero__actions .btn { margin-top: 0; }

/* "Pause motion", bottom right of the hero. */
.hero__controls { position: absolute; right: var(--pad); bottom: 1.25rem; z-index: 2; }
/* Stops the lines, the logo, the word strip and the rings (WCAG 2.2.2). */
.motion-toggle {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem 1rem;
  font: 600 .95rem/1 var(--sans); color: var(--muted); background: rgba(204, 239, 254, .85);
  border: 1px solid var(--line); border-radius: 99px; cursor: pointer; transition: color .2s, border-color .2s;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: var(--fg); border-color: currentColor; }
.motion-toggle__icon { width: .85rem; height: .85rem; fill: currentColor; }
.motion-toggle .i-play, .motion-paused .motion-toggle .i-pause { display: none; }
.motion-paused .motion-toggle .i-play { display: inline; }

/* ---------- word strip (drifts sideways, faster while you scroll; still for reduced motion) ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.25rem 0; }
.marquee__track { display: flex; align-items: center; width: max-content; }
/* A margin after every item (not a gap) keeps both halves of the track exactly equal, so the loop never jumps. */
.marquee__track > * { margin-right: clamp(1.25rem, 2.5vw, 2.25rem); }
.marquee span { font: 700 clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem)/1.2 var(--display); white-space: nowrap; }
.marquee span:nth-of-type(even) { color: var(--pink); }   /* 28px+ bold, so pink is fine */
.marquee i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--pink); flex: none; position: relative; }
.marquee i::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--marigold); }
.reduced .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; padding: 0 var(--pad); }
.reduced .marquee i:last-child { display: none; }

/* ---------- two lenses (pinned; the ring animation is unchanged) ---------- */
.lenses { padding: 0; }
.lenses__pin { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--pad); padding: 6rem var(--pad); }
.lenses__svg { width: 100%; max-width: 640px; overflow: visible; display: block; margin: auto; }
.lens text { font-family: var(--brand); text-transform: uppercase; font-weight: 400; font-size: 30px; fill: var(--ink); letter-spacing: .08em; }
.lens--a path { stroke: var(--blue); }
.lens--b path { stroke: var(--pink); }
.lens path { fill: none; stroke-width: 1; }
.lenses__glow { opacity: 0; }
.lenses__steps { position: relative; min-height: 16rem; }
.lens-step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.lens-step.is-active { opacity: 1; transform: none; }
.lens-step h3 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 1.2rem + 2.2vw, 3.2rem); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 1.2rem; }
.lens-step p { color: var(--muted); max-width: 30rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.3rem); }
.lenses__progress { height: 1px; background: var(--line); margin-top: 2rem; max-width: 30rem; }
.lenses__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--pink)); transform-origin: left; transform: scaleX(0); }

/* ---------- about ---------- */
.about__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem);
}
.about__lead { color: var(--muted); max-width: 38rem; margin: 0; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem clamp(1.25rem, 3vw, 2rem); margin: 2.5rem 0 0; max-width: 44rem; }
.facts div { border-top: 1px solid var(--line); padding-top: .9rem; }
.facts dt { font: 700 clamp(1.15rem, 1.05rem + .4vw, 1.4rem)/1.2 var(--display); }
.facts dd { margin: .35rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }

/* Portrait in a tall arch with a dashed outline and a soft pink block behind */
.portrait { position: relative; isolation: isolate; margin: 0 0 1.75rem 2.25rem; justify-self: center; width: min(calc(100% - 2.25rem), 22rem); }
.portrait img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%;
  border-radius: 50% 50% 1.5rem 1.5rem / 37.5% 37.5% 1.5rem 1.5rem; background: #e3e3e3;
}
.portrait::before {
  content: ''; position: absolute; inset: -14px; pointer-events: none;
  border: 1.5px dashed rgba(31, 90, 150, .4);
  border-radius: 50% 50% 2.4rem 2.4rem / 38% 38% 2.4rem 2.4rem;
}
.portrait::after {
  content: ''; position: absolute; z-index: -1; left: -2.25rem; bottom: -1.75rem; width: 55%; height: 32%;
  background: var(--pink-soft); border-radius: 1.25rem;
}
.portrait__spark { position: absolute; z-index: 1; top: 7%; left: -1.6rem; width: 2.25rem; height: 2.25rem; fill: var(--marigold); }

/* ---------- writing ---------- */
.essays, .next { max-width: var(--max); margin-inline: auto; }
.essays { list-style: none; padding: 0; margin-block: 0; border-bottom: 1px solid var(--line); }
.essay {
  position: relative; display: grid; grid-template-columns: 12.5rem minmax(0, 1.1fr) minmax(0, 1fr);
  gap: .75rem clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-top: 1px solid var(--line);
}
.essay__meta { font: 700 1rem/1.4 var(--sans); color: var(--label); margin: .45rem 0 0; }
.essay h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.15; margin: 0 0 .5rem; }
/* The title link covers the whole row, so the row is one big target but reads as just the title. */
.essay h3 a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.essay h3 a::after { content: ''; position: absolute; inset: 0; }
.essay:hover h3 a, .essay h3 a:focus-visible { text-decoration-color: var(--accent); }
.essay__dek { color: var(--muted); margin: 0; }
.essay blockquote { margin: .3rem 0 0; padding-left: 1rem; border-left: 3px solid var(--pink); font-style: italic; color: var(--fg); }
/* Optional essay images show only once the file exists. */
.slot { display: none; margin: 0 0 1rem; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 11; }
.slot.is-loaded { display: block; }
.slot img { width: 100%; height: 100%; object-fit: cover; }

.next { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); gap: .75rem clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.next__title { font: 700 1rem/1.4 var(--sans); color: var(--label); margin: .45rem 0 0; }
/* Ideas, not promises: a plain bulleted list. */
.next__list { margin: 0; padding: 0 0 0 1.25em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2.5rem, 5vw, 4.5rem); }
.next__list li { display: list-item; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.3; padding: .35rem 0 .35rem .2rem; }
.next__list li::marker { color: var(--pink); }
.next__note { grid-column: 2; color: var(--muted); margin: .75rem 0 0; }
.next__note a, .work__note a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- my path (the vine draws itself as you scroll; js: MY PATH) ---------- */
.path__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; gap: clamp(2.5rem, 7vw, 7rem);
}
.path__head { position: sticky; top: 7rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; max-width: 30rem; }
.chips li { font: 600 .95rem/1.2 var(--sans); border: 1px solid var(--line); border-radius: 99px; padding: .5rem .95rem; color: var(--muted); }
.path__list { position: relative; padding-left: 4.5rem; }
.vine { position: absolute; left: 0; top: 0; width: 60px; height: 100%; overflow: visible; }
.vine__stem { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; }
.vine__leaves path { fill: none; stroke: var(--blue-soft); stroke-width: 1.2; }
.vine__leaves circle { fill: var(--bg); stroke: var(--pink); stroke-width: 1.4; transition: fill .5s; }
.vine__leaves circle.is-lit { fill: var(--pink); }
.node { padding: 0 0 3rem; }
.node:last-child { padding-bottom: 0; }
.node__years { font: 700 1rem/1.4 var(--sans); color: var(--label); margin: 0 0 .35rem; }
.node h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1.12; margin: 0; }
.node__org { font-size: 1rem; color: var(--muted); margin: .4rem 0 .7rem; }
.node p:last-child { color: var(--muted); margin: 0; max-width: 36rem; }
.node em { font-style: italic; }

/* ---------- work with Naomi ---------- */
.offers { list-style: none; padding: 0; margin: 0 auto; max-width: var(--max); border-bottom: 1px solid var(--line); }
.offer {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline;
  gap: .5rem clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.4rem, 2.6vw, 2rem) 0; border-top: 1px solid var(--line);
}
.offer h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.6rem); line-height: 1.12; margin: 0; }
.offer p { color: var(--muted); margin: 0; max-width: 34rem; }
/* Short measure, but lined up with the left edge of the offers above. */
.work__note { color: var(--muted); max-width: 40rem; margin: 2rem 0 0 max(0px, calc((100% - var(--max)) / 2)); }

/* ---------- contact ---------- */
.contact { overflow: hidden; }
.contact__inner {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem);
}
.contact__title { font-family: var(--display); font-weight: 700; font-size: clamp(3.25rem, 1.4rem + 6.2vw, 7.5rem); line-height: 1; letter-spacing: -.02em; margin: 0 0 1.5rem; }
.contact__title .accent { color: var(--pink); }
.contact__lead { color: var(--muted); max-width: 32rem; font-size: clamp(1.1rem, 1rem + .3vw, 1.3rem); margin: 0; }
.contact__email {
  display: inline-block; margin: 1.75rem 0 0; font-family: var(--display); font-weight: 700; text-decoration: none;
  font-size: clamp(1.5rem, 1rem + 2.4vw, 3rem); border-bottom: 3px solid var(--pink); color: var(--ink); overflow-wrap: anywhere;
}
.contact__email[hidden] { display: none; }
.contact__links { list-style: none; margin: 2.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.contact__links a { display: inline-flex; align-items: center; min-height: 3rem; padding: .7rem 1.4rem; border: 2px solid var(--ink); border-radius: 99px; background: rgba(255, 255, 255, .6); font-weight: 700; text-decoration: none; transition: background-color .25s, color .25s; }
.contact__links a:hover { background: var(--ink); color: var(--sky); }
/* The logo's tree beside "Let's talk." (below it on phones). It stays still; signals wander through it (js: TREE SIGNALS). */
.contact__art { justify-self: center; width: min(100%, 28rem); }
.contact__tree { position: relative; display: block; }
.contact__mark { width: 100%; height: auto; }

/* ---------- footer ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 2rem; padding: 1.75rem var(--pad) 2rem; border-top: 1px solid var(--line); font-size: 1rem; color: var(--muted); }
.footer p { margin: 0; }
.footer__word { font-family: var(--brand); text-transform: uppercase; letter-spacing: .03em; color: var(--ink); margin-right: .5rem; }
.footer__word em { color: inherit; }
.footer__top { font-weight: 700; }

/* Reduced motion (or no GSAP): no pinning, so every lens step shows at once. */
.reduced .lenses__steps { min-height: 0; }
.reduced .lens-step { position: relative; opacity: 1; transform: none; margin-bottom: 2.5rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hero { min-height: 0; padding-bottom: clamp(9rem, 28vw, 13rem); }   /* room for the lines below the text */
  .hero__inner { grid-template-columns: 1fr; }
  /* One column: the text is on top, so the glow sits behind it and the lines stay strong in the band below. */
  .hero__vignette {
    background:
      linear-gradient(180deg, rgba(204, 239, 254, .5) 0%, rgba(204, 239, 254, .85) 18%, rgba(204, 239, 254, .8) 52%, rgba(204, 239, 254, 0) 68%),
      radial-gradient(60% 40% at 80% 85%, rgba(247, 184, 204, .3), transparent 70%);
  }
  .lenses__pin { grid-template-columns: 1fr; padding-top: 5rem; }
  .lenses__stage { max-width: 420px; margin: 0 auto; }
  .lenses__steps { min-height: 0; }
  .lens-step { position: relative; opacity: 1; transform: none; margin-bottom: 2.5rem; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .essay { grid-template-columns: 1fr; }
  .essay__meta { margin-top: 0; }
  .next { grid-template-columns: 1fr; }
  .next__note { grid-column: 1; }
  .about__inner, .path__inner { grid-template-columns: 1fr; }
  .portrait { justify-self: start; width: min(66vw, 19rem); }
  .path__head { position: static; }
  .offer { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__art { justify-self: start; width: min(80vw, 22rem); }
}

/* Phones: tighter rhythm, larger tap targets */
@media (max-width: 600px) {
  section { padding-top: 4rem; padding-bottom: 4rem; }
  .header { padding: .65rem var(--pad); }
  .brand__mark { height: 38px; }
  .hero { padding-top: 6.5rem; padding-bottom: 9rem; }
  .hero__title { font-size: clamp(3.5rem, 19vw, 6rem); line-height: .9; }
  .hero__title .line--indent { padding-left: 1.5rem; }
  .hero__actions { gap: 1.25rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .lenses__pin { padding: 4rem var(--pad) 2rem; }
  .next__list { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 1rem; }
  .path__list { padding-left: 4rem; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
