/* ==========================================================================
   Design of Man — site.css
   One stylesheet for every page. Tokens first; every colour, curve and size
   below reads from them, so a palette or rhythm change is a dozen lines here
   rather than a hunt through components.

   Palette is taken from the hero footage: the brick-vermilion of the Jupiter
   Inlet Light, the inlet's turquoise, limestone bone, and the deep sea the
   tower stands watch over after dark.
   ========================================================================== */

:root {
  /* surfaces */
  --bone:    #f2ede4;
  --bone-2:  #e8e1d4;
  --bone-3:  #ddd4c4;
  --sea:     #0a171c;
  --sea-2:   #10242b;
  --sea-3:   #18323a;

  /* text */
  --ink:     #0e1316;
  --ink-2:   #3b4347;
  --ink-3:   #5c6468;
  --foam:    #ece7de;
  --foam-2:  #a9b4b6;
  --foam-3:  #7d8b8e;

  /* signal */
  --signal:      #e5623a;   /* the lamp-room red; fills, rules, accents on dark */
  --signal-ink:  #9c3614;   /* the same red, dark enough to be text on bone */
  --lamp:        #ffd08a;
  --inlet:       #3cc4b4;

  --line-bone: rgba(14, 19, 22, .14);
  --line-sea:  rgba(236, 231, 222, .14);

  /* type */
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans:  'DM Sans', ui-sans-serif, 'Helvetica Neue', Arial, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --fs-mega:  clamp(3.6rem, 13.2vw, 15.5rem);
  --fs-xl:    clamp(3rem, 8.2vw, 9.25rem);
  --fs-lg:    clamp(2.5rem, 5.6vw, 6.25rem);
  --fs-md:    clamp(2rem, 3.6vw, 3.75rem);
  --fs-sm:    clamp(1.5rem, 2.2vw, 2.25rem);
  --fs-state: clamp(1.75rem, 3.5vw, 3.6rem);
  --fs-body:  1.0625rem;
  --fs-lede:  clamp(1.125rem, 1.35vw, 1.3rem);
  --fs-small: .875rem;
  --fs-mono:  .72rem;

  /* motion */
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-quart: cubic-bezier(.25, 1, .5, 1);
  --ease-io:   cubic-bezier(.87, 0, .13, 1);
  --ease-soft: cubic-bezier(.65, .05, .36, 1);

  /* space */
  --pad-x:   clamp(1.25rem, 4vw, 3.5rem);
  --gap:     clamp(1rem, 2.2vw, 2rem);
  --sect:    clamp(5.5rem, 12vw, 11rem);
  --radius:  clamp(14px, 1.6vw, 24px);
  --hdr-h:   4.75rem;
  --max:     1560px;
}

/* -------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr-h) + 1rem);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

/* Film grain. A fixed, static noise tile: it costs one paint and makes the
   flat fields read as material rather than as a screen. */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 300;
  background: var(--ink); color: var(--bone);
  padding: .8rem 1.1rem; border-radius: 999px; text-decoration: none;
  transition: top .4s var(--ease-out);
}
.skip:focus { top: 1rem; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------- typography -- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x); }
.d-mega, .d-xl, .d-lg, .d-md, .d-sm {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.d-mega { font-size: var(--fs-mega); line-height: .84; letter-spacing: -.045em; }
.d-xl   { font-size: var(--fs-xl);   line-height: .88; letter-spacing: -.035em; }
.d-lg   { font-size: var(--fs-lg); }
.d-md   { font-size: var(--fs-md); line-height: 1; letter-spacing: -.02em; }
.d-sm   { font-size: var(--fs-sm); line-height: 1.08; letter-spacing: -.012em; }
.d-mega em, .d-xl em, .d-lg em, .d-md em, .d-sm em, .state em { font-style: italic; letter-spacing: -.02em; }
.accent { color: var(--signal-ink); }
.on-dark .accent, .dark .accent { color: var(--signal); }

.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-2); max-width: 38rem; }
.body { color: var(--ink-2); max-width: 36rem; }
.body + .body, .lede + .body, .body + .lede { margin-top: 1.1em; }
.dark .lede, .dark .body { color: var(--foam-2); }

.mono, .eyebrow, .idx {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow { display: inline-flex; align-items: center; gap: .7em; color: var(--ink-3); }
.eyebrow::before {
  content: ""; width: .5em; height: .5em; border-radius: 50%; flex: none;
  background: var(--signal);
  box-shadow: 0 0 0 .22em rgba(229, 98, 58, .22);
}
.dark .eyebrow { color: var(--foam-3); }

/* ------------------------------------------------------------ buttons -- */
.btn {
  --bg: var(--ink); --fg: var(--bone);
  position: relative;
  display: inline-flex; align-items: center; gap: .85rem;
  min-height: 3.25rem;
  padding: .55rem .6rem .55rem 1.5rem;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: .95rem; font-weight: 500; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--signal);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn__arrow {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--signal); color: var(--ink);
  transition: background .5s var(--ease-out), transform .6s var(--ease-out);
  flex: none;
}
.btn__arrow svg { width: .95rem; height: .95rem; transition: transform .6s var(--ease-out); }
.btn:hover .btn__arrow, .btn:focus-visible .btn__arrow { background: var(--ink); color: var(--signal); }
.btn:hover .btn__arrow svg, .btn:focus-visible .btn__arrow svg { transform: rotate(-45deg); }
.btn--light { --bg: var(--bone); --fg: var(--ink); }
.btn--ghost {
  --bg: transparent; --fg: currentColor;
  box-shadow: inset 0 0 0 1px currentColor;
  padding-right: 1.5rem;
}
.btn--ghost::before { background: currentColor; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--bone); }
.dark .btn--ghost:hover, .dark .btn--ghost:focus-visible, .hero .btn--ghost:hover, .hero .btn--ghost:focus-visible { color: var(--ink); }
.btn--sm { min-height: 2.6rem; font-size: .85rem; padding: .3rem .35rem .3rem 1.1rem; gap: .6rem; }
.btn--sm .btn__arrow { width: 1.9rem; height: 1.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Rolling text: the label is stacked over a copy of itself and slides up a
   line on hover, the odometer move. The copy is aria-hidden in the markup. */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll > span { display: block; transition: transform .55s var(--ease-out); }
.roll > span + span { position: absolute; left: 0; top: 100%; }
a:hover .roll > span, a:focus-visible .roll > span,
button:hover .roll > span, button:focus-visible .roll > span { transform: translateY(-100%); }

.link {
  position: relative; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: .1em;
  transition: background-size .6s var(--ease-out);
}
.link:hover, .link:focus-visible { background-size: 0 1px; background-position: 100% 100%; }
.prose a, .body a, .lede a, .note a, .rows a {
  color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em;
  text-decoration-color: var(--signal);
}

/* ------------------------------------------------------------- header -- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--hdr-h);
  color: var(--ink);
  transition: transform .7s var(--ease-out), color .4s var(--ease-out);
}
.hdr::before {
  content: ""; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--bone) 94%, transparent);
  border-bottom: 1px solid var(--line-bone);
  opacity: 0; transition: opacity .5s var(--ease-out), background .4s;
}
.hdr.is-solid::before { opacity: 1; }
.hdr.on-dark { color: var(--foam); }
.hdr.on-dark::before { background: color-mix(in srgb, var(--sea) 92%, transparent); border-color: var(--line-sea); }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr__in {
  position: relative; height: 100%;
  display: flex; align-items: center; gap: 2rem;
  max-width: none;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand svg { width: 3.6rem; height: auto; margin-block: -.4rem; }
.brand svg circle { fill: var(--signal); }
.brand__word { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.02em; line-height: 1; }
.nav { display: flex; gap: 1.75rem; }
.nav a {
  display: inline-flex; align-items: baseline; gap: .35rem;
  text-decoration: none; font-size: .92rem; font-weight: 500;
}
.nav a sup { font-family: var(--mono); font-size: .6rem; opacity: .55; letter-spacing: .04em; }
.nav a[aria-current="page"] .roll::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal);
}
.clock { display: inline-flex; align-items: center; gap: .55rem; opacity: .8; white-space: nowrap; }
.clock i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--inlet); box-shadow: 0 0 .6rem var(--inlet); }
.menu-btn {
  display: none; align-items: center; gap: .65rem;
  height: 2.75rem; padding: 0 1rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px currentColor;
  font-size: .85rem; font-weight: 500;
}
.menu-btn__lines { position: relative; width: 1.1rem; height: .55rem; }
.menu-btn__lines::before, .menu-btn__lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-btn__lines::before { top: 0; }
.menu-btn__lines::after { top: calc(100% - 1.5px); }
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--signal); transform-origin: 0 50%; transform: scaleX(0);
}

@media (max-width: 1180px) { .clock { display: none; } }
@media (max-width: 1020px) {
  .nav, .hdr .btn { display: none; }
  .menu-btn { display: inline-flex; }
}

/* --------------------------------------------------------------- menu -- */
.menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--sea); color: var(--foam);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 1.1rem var(--pad-x) 2rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: calc(var(--hdr-h) - 1.1rem); }
.menu__links { align-self: center; display: grid; gap: .1rem; }
.menu__links a {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--serif); font-size: clamp(2.75rem, 11vw, 6rem); line-height: 1.02; letter-spacing: -.03em;
  text-decoration: none;
  transform: translateY(40%); opacity: 0;
  transition: transform 1s var(--ease-out), opacity 1s var(--ease-out), color .4s;
}
.menu__links a:hover, .menu__links a:focus-visible { color: var(--signal); }
.menu__links a .idx { color: var(--foam-3); }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .3s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .35s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .4s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .45s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .5s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: .75rem 2rem; color: var(--foam-2); font-size: .95rem; }
.menu__foot a { text-decoration: none; }

/* ---------------------------------------------------------- preloader -- */
.pre {
  position: fixed; inset: 0; z-index: 400;
  background: var(--sea); color: var(--foam);
  display: none;
  overflow: hidden;
}
.pre-on .pre { display: block; }
.pre__beam {
  position: absolute; left: 50%; top: 50%;
  width: 260vmax; height: 260vmax; margin: -130vmax 0 0 -130vmax;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 208, 138, .16) 10deg, rgba(255, 208, 138, .02) 26deg, transparent 34deg, transparent 180deg, rgba(255, 208, 138, .12) 190deg, transparent 212deg);
  animation: spin 3.2s linear infinite;
}
.pre__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%); width: min(42vw, 13rem); color: var(--foam); }
.pre__mark circle { fill: var(--signal); }
.pre__word {
  position: absolute; left: var(--pad-x); bottom: 1.6rem;
  font-family: var(--serif); font-size: clamp(2rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.03em;
  overflow: hidden;
}
.pre__word span { display: inline-block; transform: translateY(100%); animation: rise 1s var(--ease-out) .1s forwards; }
.pre__count {
  position: absolute; right: var(--pad-x); bottom: 1.4rem;
  font-family: var(--mono); font-size: clamp(2.6rem, 9vw, 7rem); line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.pre__count small { font-size: .3em; vertical-align: top; color: var(--signal); margin-left: .2em; }
.pre.is-out { clip-path: inset(0 0 100% 0); transition: clip-path 1.05s var(--ease-io); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { to { transform: none; } }

/* --------------------------------------------------------------- hero -- */
.hero-wrap { position: relative; height: 175svh; background: var(--sea); --p: 0; }
.hero {
  position: sticky; top: 0;
  height: 100svh; min-height: 34rem;
  color: var(--foam);
  overflow: hidden;
}
.hero__frame {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; transform: scale(1.08); transform-origin: 50% 40%; }
.hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 54% 42%;
}
.hero__media video { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.hero__media video.is-ready { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 14, 18, .62) 0%, rgba(6, 14, 18, .08) 26%, rgba(6, 14, 18, 0) 46%, rgba(6, 14, 18, .42) 70%, rgba(6, 14, 18, .9) 100%),
    linear-gradient(90deg, rgba(6, 14, 18, .55) 0%, rgba(6, 14, 18, 0) 55%);
}
.hero__content {
  position: absolute; inset: 0;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: calc(var(--hdr-h) + 1rem) var(--pad-x) 1.6rem;
  max-width: none;
}
.hero__h1 {
  align-self: end;
  font-size: clamp(3.2rem, 9.6vw, 11.5rem);
  line-height: .86;
  letter-spacing: -.04em;
  max-width: 15ch;
  text-shadow: 0 2px 40px rgba(6, 14, 18, .35);
}
.hero__h1 em { color: var(--lamp); }
.hero__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end;
  margin-top: clamp(1.5rem, 3.5vh, 2.75rem);
}
.hero__lede { max-width: 33rem; font-size: var(--fs-lede); line-height: 1.5; color: rgba(236, 231, 222, .9); }
.hero__meta {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: clamp(1.25rem, 3vh, 2rem); padding-top: 1rem;
  border-top: 1px solid rgba(236, 231, 222, .22);
  color: rgba(236, 231, 222, .78);
}
.scroll-cue { display: inline-flex; align-items: center; gap: .7rem; }
.scroll-cue i { position: relative; width: 1px; height: 2.2rem; background: rgba(236, 231, 222, .25); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--foam); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
.hero__caption {
  position: absolute; left: 50%; bottom: 4.5%;
  transform: translateX(-50%);
  opacity: 0;
  display: flex; gap: 1.5rem; color: var(--foam-2); white-space: nowrap;
}
@media (max-width: 720px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__meta .mono:nth-child(2) { display: none; }
  .hero__caption { flex-direction: column; align-items: center; gap: .3rem; }
}

/* Interior page hero. */
.phero { position: relative; padding: calc(var(--hdr-h) + clamp(4rem, 12vw, 10rem)) 0 clamp(3.5rem, 8vw, 7rem); overflow: hidden; }
.phero__top { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 5vw, 4rem); }
.phero__top .back { text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.phero h1 { max-width: 14ch; }
.phero__foot {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem var(--gap);
  margin-top: clamp(2.5rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-bone);
}
.phero__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-content: start; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .8rem; border-radius: 999px;
  border: 1px solid var(--line-bone);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2); white-space: nowrap;
}
.dark .chip { border-color: var(--line-sea); color: var(--foam-2); }
.phero__glyph {
  position: absolute; right: calc(var(--pad-x) * -1); top: calc(var(--hdr-h) + 2rem);
  width: clamp(14rem, 34vw, 32rem); color: var(--bone-3); pointer-events: none; z-index: -1;
}
@media (max-width: 820px) { .phero__foot { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- sections -- */
.sect { position: relative; padding: var(--sect) 0; }
.sect--tight { padding: calc(var(--sect) * .6) 0; }
.dark { background: var(--sea); color: var(--foam); }
.alt { background: var(--bone-2); }
.sect-head {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1.5rem var(--gap);
  margin-bottom: clamp(3rem, 7vw, 6rem); align-items: start;
}
.sect-head .idx { padding-top: .9rem; color: var(--ink-3); display: flex; gap: .8rem; }
.sect-head .idx b { color: var(--signal-ink); font-weight: 400; }
.dark .sect-head .idx { color: var(--foam-3); }
.dark .sect-head .idx b { color: var(--signal); }
.sect-head__body > * + * { margin-top: 1.5rem; }
@media (max-width: 820px) { .sect-head { grid-template-columns: 1fr; } .sect-head .idx { padding-top: 0; } }

.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 6vw, 7rem);
  align-items: start;
}
.split__sticky { position: sticky; top: calc(var(--hdr-h) + 2rem); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__sticky { position: static; } }

/* -------------------------------------------------------- statement -- */
.state {
  font-family: var(--serif);
  font-size: var(--fs-state);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: pretty;
  max-width: 24ch;
}
.js .state[data-scrub] .wd { opacity: .16; }
.statement__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: end; margin-top: clamp(3rem, 6vw, 5rem); }
.statement__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 14rem)); gap: 2rem; }
.statement__cols p { font-size: .95rem; color: var(--ink-2); }
.statement__cols .mono { display: block; color: var(--signal-ink); margin-bottom: .6rem; }
@media (max-width: 820px) { .statement__cols { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- marquee -- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line-bone);
  padding: clamp(1.1rem, 2.4vw, 2rem) 0;
  user-select: none;
}
.dark .marquee, .marquee.dark { border-color: var(--line-sea); }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__group { display: inline-flex; align-items: center; flex: none; }
.marquee__item {
  font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 7.5rem); line-height: 1; letter-spacing: -.03em;
  padding-inline: clamp(1rem, 2.5vw, 2.4rem);
}
.marquee__item:nth-child(4n+2) { font-style: italic; color: var(--signal-ink); }
.dark .marquee__item:nth-child(4n+2) { color: var(--signal); }
.marquee__item:nth-child(4n+4) { color: transparent; -webkit-text-stroke: 1px currentColor; }
.marquee__item:nth-child(4n+4) { color: transparent; -webkit-text-stroke-color: var(--ink); }
.dark .marquee__item:nth-child(4n+4) { -webkit-text-stroke-color: var(--foam); }
.marquee__star { width: clamp(1.4rem, 3vw, 2.6rem); color: var(--signal); flex: none; }
.no-js .marquee__track, .reduce .marquee__track { flex-wrap: wrap; white-space: normal; }

/* ----------------------------------------------------------- services -- */
.svc { border-top: 1px solid var(--line-bone); counter-reset: svc; }
.svc__row { border-bottom: 1px solid var(--line-bone); position: relative; }
.svc__btn {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto 3.25rem; align-items: center; gap: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.4rem) 0;
  text-align: left; isolation: isolate;
}
.svc__btn::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad-x) * -1); z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .7s var(--ease-out);
}
.svc__row:hover .svc__btn::before { transform: scaleY(1); }
.svc__row:hover .svc__btn { color: var(--bone); }
.svc__btn { transition: color .5s var(--ease-out); }
.svc__n { color: var(--ink-3); transition: color .5s; }
.svc__row:hover .svc__n { color: var(--signal); }
.svc__t {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 5rem); line-height: 1; letter-spacing: -.03em;
  transition: transform .7s var(--ease-out);
}
.svc__row:hover .svc__t { transform: translateX(1.25rem); }
.svc__t em { font-style: italic; }
.svc__tags { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; max-width: 22rem; }
.svc__row:hover .chip { border-color: rgba(242, 237, 228, .25); color: var(--foam-2); }
.svc__plus {
  position: relative; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  border: 1px solid currentColor; opacity: .7;
  transition: transform .7s var(--ease-out), background .4s, border-color .4s, color .4s;
}
.svc__plus::before, .svc__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 1rem; height: 1.5px; margin: -.75px 0 0 -.5rem; background: currentColor;
}
.svc__plus::after { transform: rotate(90deg); transition: transform .6s var(--ease-out); }
.svc__row.is-open .svc__plus { transform: rotate(180deg); background: var(--signal); border-color: var(--signal); color: var(--ink); opacity: 1; }
.svc__row.is-open .svc__plus::after { transform: rotate(0deg); }
.svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease-out); }
.svc__row.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__panel > div { overflow: hidden; }
.svc__body {
  display: grid; grid-template-columns: 5rem minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem;
  padding: .5rem 0 clamp(2rem, 4vw, 3.5rem);
}
.svc__body .lede { grid-column: 2; }
.svc__list { grid-column: 3; display: grid; gap: 0; }
.svc__list li { display: flex; gap: .9rem; padding: .7rem 0; border-top: 1px solid var(--line-bone); font-size: .95rem; }
.svc__list li::before { content: "↳"; color: var(--signal-ink); font-family: var(--mono); }
@media (max-width: 900px) {
  .svc__btn { grid-template-columns: 2.5rem minmax(0, 1fr) 2.75rem; gap: 1rem; }
  .svc__tags { display: none; }
  .svc__plus { width: 2.75rem; height: 2.75rem; }
  .svc__body { grid-template-columns: 1fr; }
  .svc__body .lede, .svc__list { grid-column: 1; }
}
@media (hover: none) { .svc__row:hover .svc__btn::before { transform: scaleY(0); } .svc__row:hover .svc__btn { color: inherit; } .svc__row:hover .svc__t { transform: none; } }

/* --------------------------------------------------------------- work -- */
.feature { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.feature__info { position: sticky; top: calc(var(--hdr-h) + 2rem); display: grid; gap: 1.5rem; }
.feature__kind { color: var(--ink-3); }
.feature__title { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.025em; }
.feature__links { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; } .feature__info { position: static; } }

.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-bone); }
.fig { padding: 1.25rem 1rem 0 0; }
.fig + .fig { padding-left: 1rem; border-left: 1px solid var(--line-bone); }
.fig b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 4.5rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fig span { display: block; margin-top: .6rem; color: var(--ink-3); }
.dark .figs, .dark .fig + .fig { border-color: var(--line-sea); }
.dark .fig span { color: var(--foam-3); }

/* Before / after. A range input lying over the frame drives the reveal, so
   the comparison answers to a keyboard and a screen reader, not a mouse. */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: var(--ratio, 1200 / 621);
  background: var(--sea);
  box-shadow: 0 40px 80px -40px rgba(10, 23, 28, .45);
}
.ba__pane { position: absolute; inset: 0; }
.ba__pane img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ba__pane--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--bone); pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: var(--pos);
  width: 3.5rem; height: 3.5rem; margin: -1.75rem 0 0 -1.75rem; border-radius: 50%;
  background: var(--signal); color: var(--ink);
  display: grid; place-items: center; pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: transform .4s var(--ease-out);
}
.ba__knob svg { width: 1.4rem; }
.ba:focus-within .ba__knob { transform: scale(1.12); box-shadow: 0 0 0 4px var(--bone), 0 0 0 6px var(--signal); }
.ba__tag {
  position: absolute; top: 1rem; padding: .4rem .7rem; border-radius: 999px;
  background: rgba(10, 23, 28, .78); color: var(--foam);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba__tag--before { left: 1rem; }
.ba__tag--after { right: 1rem; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__hint { margin-top: .9rem; color: var(--ink-3); }

.also {
  margin-top: clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1.5rem var(--gap);
  padding-top: 2rem; border-top: 1px solid var(--line-bone);
}
.also__card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3rem;
}
@media (max-width: 820px) { .also, .also__card { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- beam ---- */
/* The signature. A lamp sits low in the section and a beam sweeps the room;
   the headline is set twice, once dim and once lit, and the lit copy is
   masked by the same rotating cone, so the words catch the light only as
   the beam crosses them. One custom property drives both, so they cannot
   drift out of step. */
/* Performance note: an earlier version animated a registered custom property
   on the whole section. Custom-property animations run on the main thread and
   repaint everything that reads them, every frame, on or off screen; it made
   the entire homepage stutter. Now the cone is a plain element rotated with
   transform (compositor only, no repaint), and the only main-thread animation
   left is the lit heading's mask, which runs only while .beam.is-live. */
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.beam {
  --ox: 50%; --oy: 100%;
  position: relative; overflow: hidden; isolation: isolate;
  padding: var(--sect) 0 calc(var(--sect) + 6rem);
  background: radial-gradient(120% 70% at 50% 100%, rgba(60, 196, 180, .12), transparent 60%), var(--sea);
}
@keyframes sweep { from { --beam: -68deg; } to { --beam: 68deg; } }
@keyframes cone { from { transform: rotate(-68deg); } to { transform: rotate(68deg); } }
.beam__cone {
  position: absolute; z-index: -1; pointer-events: none;
  left: var(--ox); top: var(--oy);
  width: 320vmax; height: 320vmax; margin: -160vmax 0 0 -160vmax;
  background:
    conic-gradient(from -14deg,
      rgba(255, 208, 138, 0) 0deg, rgba(255, 208, 138, .16) 9deg, rgba(255, 208, 138, .34) 14deg,
      rgba(255, 208, 138, .16) 19deg, rgba(255, 208, 138, 0) 28deg, transparent 360deg),
    conic-gradient(from -30deg, transparent 0deg, rgba(255, 208, 138, .05) 30deg, transparent 60deg, transparent 360deg);
  transform: rotate(-68deg);
  animation: cone 8s var(--ease-soft) infinite alternate;
  will-change: transform;
}
.beam:not(.is-live) .beam__cone, .beam:not(.is-live) .lit__glow { animation-play-state: paused; }
.beam__stars {
  position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(236, 231, 222, .7) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, rgba(236, 231, 222, .6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 34% 30%, rgba(236, 231, 222, .5) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 40%, rgba(236, 231, 222, .6) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 8%, rgba(236, 231, 222, .5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 6% 52%, rgba(236, 231, 222, .4) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 70%, rgba(236, 231, 222, .4) 50%, transparent 51%),
    radial-gradient(1px 1px at 24% 64%, rgba(236, 231, 222, .4) 50%, transparent 51%);
}
.beam__lamp {
  position: absolute; left: var(--ox); bottom: 0; transform: translateX(-50%);
  width: clamp(4.5rem, 7vw, 7rem); color: var(--sea-3); z-index: -1;
}
.beam__lamp .lamp-glow { fill: var(--lamp); filter: drop-shadow(0 0 14px var(--lamp)); }
.beam__lamp .tower { fill: #0f2027; stroke: rgba(236, 231, 222, .18); }
.beam__lamp .band { fill: var(--signal); opacity: .85; }
.lit { position: relative; display: block; }
.lit__base { color: rgba(236, 231, 222, .5); }
.lit__glow {
  position: absolute; inset: 0;
  color: var(--foam);
  -webkit-mask-image: conic-gradient(from calc(var(--beam) - 14deg) at var(--mx, 50%) var(--my, 160%), transparent 0deg, #000 8deg, #000 20deg, transparent 28deg, transparent 360deg);
  mask-image: conic-gradient(from calc(var(--beam) - 14deg) at var(--mx, 50%) var(--my, 160%), transparent 0deg, #000 8deg, #000 20deg, transparent 28deg, transparent 360deg);
  animation: sweep 8s var(--ease-soft) infinite alternate;
}
.lit__glow em { color: var(--lamp); }
.beam__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line-sea);
}
.beam__grid li { padding: 1.5rem 1.25rem 1.5rem 0; border-bottom: 1px solid var(--line-sea); }
.beam__grid li + li { padding-left: 1.25rem; border-left: 1px solid var(--line-sea); }
.beam__grid li:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.beam__grid h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; margin: .6rem 0 .5rem; }
.beam__grid p { color: var(--foam-2); font-size: .93rem; }
.beam__grid .mono { color: var(--signal); }
@media (max-width: 960px) {
  .beam__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beam__grid li:nth-child(n) { padding-left: 1.25rem; border-left: 1px solid var(--line-sea); }
  .beam__grid li:nth-child(2n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) { .beam__grid { grid-template-columns: 1fr; } .beam__grid li:nth-child(n) { padding-left: 0; border-left: 0; } }

/* ----------------------------------------------- process: horizontal -- */
.hpin { position: relative; }
.hpin__stick { position: relative; }
.hpin__track { display: flex; gap: var(--gap); }
.stage {
  position: relative; flex: none;
  width: min(32rem, 82vw);
  min-height: 30rem;
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2.4rem);
  border-radius: var(--radius);
  background: var(--bone);
  border: 1px solid var(--line-bone);
  overflow: hidden;
}
.stage__n { font-family: var(--serif); font-size: clamp(6rem, 12vw, 11rem); line-height: .8; letter-spacing: -.05em; color: var(--bone-3); }
.stage__n em { color: var(--signal); font-style: normal; }
.stage h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1; letter-spacing: -.02em; margin: auto 0 1rem; padding-top: 2rem; }
.stage p { color: var(--ink-2); font-size: .97rem; }
.stage p + p { margin-top: .8rem; }
.stage__time { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line-bone); display: flex; justify-content: space-between; color: var(--ink-3); }
.stage--end { background: var(--ink); color: var(--foam); border-color: transparent; justify-content: space-between; }
.stage--end p { color: var(--foam-2); }
.hpin__bar { height: 2px; background: var(--line-bone); margin-top: 2rem; position: relative; }
.hpin__bar i { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
.hpin__bar i::after { content: ""; position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 18px var(--signal); }

/* Pinned only with JS, motion allowed and room to do it. Otherwise the
   stages scroll sideways natively, which is still a perfectly good list. */
.hpin:not(.is-pinned) .hpin__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x); scrollbar-width: thin; }
.hpin:not(.is-pinned) .stage { scroll-snap-align: start; }
.hpin.is-pinned { height: var(--hpin-h, 300vh); }
.hpin.is-pinned .hpin__stick { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: calc(var(--hdr-h) * .6); }
.hpin.is-pinned .stage { min-height: clamp(22rem, 50svh, 30rem); }
.hpin.is-pinned .sect-head .lede { display: none; }
.hpin.is-pinned .hpin__track { will-change: transform; }
.hpin.is-pinned .sect-head { margin-bottom: clamp(2rem, 4vh, 3.5rem); }

/* ------------------------------------------------ vertical timeline -- */
.tl { position: relative; padding-left: clamp(3rem, 8vw, 8rem); }
.tl__rail { position: absolute; left: clamp(1rem, 3vw, 3rem); top: 0; bottom: 0; width: 1px; background: var(--line-bone); }
.tl__rail i { position: absolute; inset: 0; background: var(--signal); transform-origin: 50% 0; transform: scaleY(var(--tp, 0)); }
.tl__item { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-bottom: 1px solid var(--line-bone); }
.tl__item::before {
  content: ""; position: absolute; left: calc(clamp(1rem, 3vw, 3rem) - clamp(3rem, 8vw, 8rem) - 6px); top: calc(clamp(2.5rem, 5vw, 4.5rem) + 1.1rem);
  width: 13px; height: 13px; border-radius: 50%; background: var(--bone); border: 1px solid var(--ink-3);
  transition: background .5s, border-color .5s, box-shadow .5s;
}
.tl__item.is-in::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 6px rgba(229, 98, 58, .15); }
.tl__item .idx { color: var(--signal-ink); display: block; margin-bottom: .8rem; }
.tl__item h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-md); line-height: 1; letter-spacing: -.02em; }
.tl__item .body + .chip { margin-top: 1.5rem; }
@media (max-width: 820px) { .tl__item { grid-template-columns: 1fr; } }

/* ----------------------------------------------------- stacking cards -- */
.stack { display: grid; gap: 1.25rem; }
.stack__card {
  position: sticky; top: calc(var(--hdr-h) + 1.5rem + var(--i, 0) * 1.1rem);
  display: grid; grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem clamp(1.5rem, 4vw, 4rem); align-items: start;
  min-height: clamp(16rem, 34vh, 22rem);
  padding: clamp(1.6rem, 3vw, 2.8rem);
  border-radius: var(--radius);
  background: var(--bone);
  border: 1px solid var(--line-bone);
  box-shadow: 0 -24px 60px -36px rgba(10, 23, 28, .35);
}
.stack__card:nth-child(even) { background: var(--bone-2); }
.dark .stack__card { background: var(--sea-2); border-color: var(--line-sea); box-shadow: 0 -24px 60px -30px rgba(0, 0, 0, .6); }
.dark .stack__card:nth-child(even) { background: var(--sea-3); }
.stack__card .idx { color: var(--signal-ink); }
.dark .stack__card .idx { color: var(--signal); }
.stack__card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 3.2rem); line-height: 1.02; letter-spacing: -.02em; }
.stack__card p { color: var(--ink-2); }
.dark .stack__card p { color: var(--foam-2); }
@media (max-width: 820px) { .stack__card { grid-template-columns: 1fr; min-height: 0; } }

/* -------------------------------------------------------------- cards -- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--line-bone);
  background: var(--bone);
  display: flex; flex-direction: column; gap: .8rem;
  min-height: 15rem;
  transition: border-color .5s var(--ease-out), transform .7s var(--ease-out);
}
.alt .tile { background: var(--bone); }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), rgba(229, 98, 58, .14), transparent 60%);
  transition: opacity .5s var(--ease-out);
}
.tile:hover::before { opacity: 1; }
.tile:hover { border-color: rgba(229, 98, 58, .45); }
.tile .idx { color: var(--signal-ink); }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.05; letter-spacing: -.015em; margin-top: auto; padding-top: 1.5rem; }
.tile p { color: var(--ink-2); font-size: .95rem; }
.dark .tile { background: var(--sea-2); border-color: var(--line-sea); }
.dark .tile p { color: var(--foam-2); }
.dark .tile .idx { color: var(--signal); }

/* ------------------------------------------------------------- plans -- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.plan {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 2.8vw, 2.6rem);
  border-radius: var(--radius);
  background: var(--bone);
  border: 1px solid var(--line-bone);
  min-height: 34rem;
}
.plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(26rem circle at var(--mx, 50%) var(--my, 0%), rgba(229, 98, 58, .16), transparent 60%);
  transition: opacity .5s var(--ease-out);
}
.plan:hover::before { opacity: 1; }
.plan__top { display: flex; justify-content: space-between; align-items: center; color: var(--ink-3); }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 5vw, 4.75rem); line-height: .9; letter-spacing: -.035em; margin: 2.5rem 0 1rem; }
.plan > p { color: var(--ink-2); max-width: 22rem; }
.plan ul { margin: 2rem 0 2.5rem; border-top: 1px solid var(--line-bone); }
.plan li { display: flex; gap: .8rem; padding: .75rem 0; border-bottom: 1px solid var(--line-bone); font-size: .95rem; }
.plan li svg { width: 1rem; flex: none; margin-top: .3rem; color: var(--signal-ink); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--lead { background: var(--sea); color: var(--foam); border-color: transparent; }
.plan--lead .plan__top { color: var(--foam-3); }
.plan--lead > p { color: var(--foam-2); }
.plan--lead ul, .plan--lead li { border-color: var(--line-sea); }
.plan--lead li svg { color: var(--signal); }
.plan--lead::after {
  content: ""; position: absolute; right: -30%; top: -40%; width: 90%; aspect-ratio: 1; z-index: -2;
  background: radial-gradient(circle, rgba(229, 98, 58, .35), transparent 62%);
}
.badge { padding: .35rem .65rem; border-radius: 999px; background: var(--signal); color: var(--ink); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .plan { min-height: 0; } }

/* --------------------------------------------------------------- faq --- */
.faq { border-top: 1px solid var(--line-bone); }
.dark .faq, .dark .qa { border-color: var(--line-sea); }
.qa { border-bottom: 1px solid var(--line-bone); }
.qa summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) 2.5rem; gap: 1.5rem; align-items: center;
  padding: 1.5rem 0;
  font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.15; letter-spacing: -.01em;
  transition: color .4s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--signal-ink); }
.dark .qa summary:hover { color: var(--signal); }
.qa summary i { position: relative; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid currentColor; opacity: .55; transition: transform .6s var(--ease-out), opacity .4s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .85rem; height: 1.5px; margin: -.75px 0 0 -.425rem; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease-out); }
.qa[open] summary i { transform: rotate(180deg); opacity: 1; }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 4rem 1.75rem 0; color: var(--ink-2); max-width: 46rem; }
.dark .qa__a p { color: var(--foam-2); }

/* -------------------------------------------------------------- forms -- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2rem, 6vw, 7rem); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.rows { display: grid; border-top: 1px solid var(--line-bone); margin-top: 2rem; }
.rows > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-bone); }
.rows dt { font-family: var(--mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding-top: .2rem; }
.rows dd a { text-decoration: none; }
.rows dd a:hover { color: var(--signal-ink); }
.dark .rows, .dark .rows > div { border-color: var(--line-sea); }
.dark .rows dt { color: var(--foam-3); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.form .full { grid-column: 1 / -1; }
.tabs { grid-column: 1 / -1; display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 999px; border: 1px solid var(--line-bone); justify-self: start; margin-bottom: 1.5rem; }
.tabs label { position: relative; cursor: pointer; }
.tabs input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tabs span { display: block; padding: .6rem 1.1rem; border-radius: 999px; font-size: .88rem; font-weight: 500; transition: background .4s, color .4s; }
.tabs input:checked + span { background: var(--ink); color: var(--bone); }
.tabs input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.field { position: relative; padding-top: 1.4rem; margin-bottom: 1.25rem; }
.field label { position: absolute; left: 0; top: 2.2rem; color: var(--ink-3); font-size: 1.05rem; pointer-events: none; transform-origin: 0 0; transition: transform .5s var(--ease-out), color .3s; }
.field .opt { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; margin-left: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; display: block;
  font: inherit; font-size: 1.1rem; color: inherit;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(14, 19, 22, .3); border-radius: 0;
  padding: .75rem 0 .7rem;
  transition: border-color .4s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230e1316' stroke-width='1.5'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .2rem center; background-size: 1rem;
}
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; }
.field:focus-within label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field.is-select label { transform: translateY(-1.65rem) scale(.78); color: var(--ink-2); }
.field input, .field textarea { order: 1; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .9rem; align-items: start; margin: 1rem 0 1.75rem; font-size: .9rem; color: var(--ink-2); }
.consent input {
  -webkit-appearance: none; appearance: none; margin: 0;
  width: 1.5rem; height: 1.5rem; border-radius: 6px; border: 1px solid rgba(14, 19, 22, .45);
  display: grid; place-items: center; cursor: pointer; background: transparent;
  transition: background .3s, border-color .3s;
}
.consent input::after { content: ""; width: .45rem; height: .8rem; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); margin-top: -.15rem; transition: transform .35s var(--ease-out); }
.consent input:checked { background: var(--signal); border-color: var(--signal); }
.consent input:checked::after { transform: rotate(45deg) scale(1); }
.form__end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.form__note { font-size: .9rem; color: var(--ink-3); max-width: 28rem; }
.form__note.is-ok { color: #1c6b54; }
.form__note.is-err { color: var(--signal-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
.sent {
  grid-column: 1 / -1; padding: 2rem; border-radius: var(--radius); background: var(--sea); color: var(--foam);
}
.sent h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-md); line-height: 1; margin-bottom: .8rem; }
.sent p { color: var(--foam-2); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- steps -- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: s; }
.steps li { padding-top: 1.25rem; border-top: 1px solid var(--line-bone); }
.dark .steps li { border-color: var(--line-sea); }
.steps .idx { color: var(--signal-ink); }
.dark .steps .idx { color: var(--signal); }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.05; margin: 1.25rem 0 .7rem; }
.steps p { color: var(--ink-2); font-size: .97rem; }
.dark .steps p { color: var(--foam-2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- quote -- */
.pull { max-width: 22ch; font-family: var(--serif); font-size: var(--fs-lg); line-height: .98; letter-spacing: -.03em; }
.pull em { color: var(--signal-ink); }
.dark .pull em { color: var(--signal); }
.pull-cite { margin-top: 2rem; color: var(--ink-3); display: flex; gap: .8rem; align-items: center; }
.dark .pull-cite { color: var(--foam-3); }
.pull-cite::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }

/* ------------------------------------------------------------ gallery -- */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.shots figure { display: grid; gap: .8rem; }
.shots img { width: 100%; border-radius: calc(var(--radius) * .7); border: 1px solid var(--line-bone); }
.shots figcaption { color: var(--ink-3); }
@media (max-width: 720px) { .shots { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- prose -- */
.legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 6vw, 7rem); }
.toc { position: sticky; top: calc(var(--hdr-h) + 2rem); align-self: start; display: grid; gap: .1rem; }
.toc a { display: flex; gap: .8rem; padding: .45rem 0; text-decoration: none; color: var(--ink-3); font-size: .92rem; transition: color .3s; }
.toc a:hover, .toc a.is-on { color: var(--ink); }
.toc a .idx { color: var(--signal-ink); padding-top: .15rem; }
.prose section { padding: 0 0 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line-bone); scroll-margin-top: calc(var(--hdr-h) + 2rem); }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-md); line-height: 1; letter-spacing: -.02em; margin-bottom: 1.5rem; }
.prose p { color: var(--ink-2); max-width: 44rem; }
.prose p + p { margin-top: 1rem; }
.prose code { font-family: var(--mono); font-size: .85em; background: var(--bone-2); padding: .1em .4em; border-radius: 4px; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .toc { position: static; } }

/* ------------------------------------------------------------- next ---- */
.next { display: block; text-decoration: none; border-top: 1px solid var(--line-bone); position: relative; overflow: hidden; isolation: isolate; }
.next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--signal); transform: translateY(101%); transition: transform .8s var(--ease-out); }
.next:hover::before, .next:focus-visible::before { transform: none; }
.next__in { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-block: clamp(3rem, 7vw, 6rem); }
.next .mono { color: var(--ink-3); display: block; margin-bottom: 1rem; transition: color .5s; }
.next:hover .mono { color: var(--ink); }
.next strong { font-family: var(--serif); font-weight: 400; font-size: var(--fs-xl); line-height: .9; letter-spacing: -.04em; display: block; }
.next__arrow { width: clamp(3rem, 7vw, 6.5rem); flex: none; transition: transform .8s var(--ease-out); }
.next:hover .next__arrow { transform: rotate(-45deg); }

/* ------------------------------------------------------------ finale --- */
.finale { position: relative; overflow: hidden; padding-top: var(--sect); }
.finale--bare { padding-top: 1rem; }
.finale__cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; padding-bottom: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--line-sea); }
.finale__cta h2 em { color: var(--signal); }
.finale__mail { display: inline-block; margin-top: 2rem; font-family: var(--serif); font-size: clamp(1.6rem, 4.2vw, 4rem); letter-spacing: -.02em; line-height: 1.1; text-decoration: none; }
.finale__mail .roll { line-height: 1.15; }
.finale__mail .roll > span + span { color: var(--signal); }
.foot { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 2.5rem var(--gap); padding: clamp(3rem, 6vw, 5rem) 0; }
.foot h3 { color: var(--foam-3); margin-bottom: 1.1rem; }
.foot li + li { margin-top: .45rem; }
.foot a { text-decoration: none; color: var(--foam); }
.foot a:hover { color: var(--signal); }
.foot p { color: var(--foam-2); max-width: 22rem; font-size: .95rem; }
.foot__coords { margin-top: 1.25rem; color: var(--foam-3); }
.wordmark {
  display: block;
  font-family: var(--serif); font-size: min(calc((100vw - var(--pad-x) * 2) / 4.36), calc(var(--max) / 4.5)); line-height: .78; letter-spacing: -.055em;
  color: var(--foam);
  padding-bottom: .06em;
  margin-top: 1rem;
  white-space: nowrap;
  user-select: none;
}
.wordmark em { color: var(--signal); font-style: italic; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid var(--line-sea); color: var(--foam-3); }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--foam); }
.to-top { display: inline-flex; align-items: center; gap: .5rem; }
@media (max-width: 960px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > :first-child { grid-column: 1 / -1; } }
@media (max-width: 720px) { .finale__cta { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- 404 ---- */
.lost { overflow: hidden; min-height: 100svh; display: grid; align-content: center; padding: calc(var(--hdr-h) + 3rem) 0 4rem; }
.lost .d-mega { font-size: clamp(8rem, 34vw, 30rem); }

/* --------------------------------------------------- reveal machinery -- */
/* Everything is visible without JS. With JS, these start hidden and are
   released by an IntersectionObserver; with reduced motion they are never
   hidden at all. */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 2.25rem, 0); transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease-out); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease-out); }
.js [data-reveal="line"].is-in { transform: none; }

/* Split headings: words ride up out of a mask, one after another. */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; padding-right: .04em; margin-right: -.04em; }
.sw > span { display: inline-block; }
.js [data-split] .sw > span { transform: translate3d(0, 105%, 0) rotate(3deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--w, 0) * 55ms + var(--d, 0) * 1ms); }
.js [data-split].is-in .sw > span { transform: none; }

.reduce [data-reveal], .reduce [data-split] .sw > span { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .beam__cone { animation: none; transform: rotate(30deg); }
  .lit__glow { -webkit-mask-image: none; mask-image: none; }
  .lit__base { visibility: hidden; }
  .hero-wrap { height: auto; }
  .hero { position: relative; }
}

/* --------------------------------------------- cross-page transitions -- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .55s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .8s var(--ease-out) .1s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-3vh) scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(5vh); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ------------------------------------------------------------ print ---- */
@media print {
  .hdr, .menu, .pre, .marquee, .beam__cone, body::after, .finale .wordmark { display: none !important; }
  .js [data-reveal], .js [data-split] .sw > span { opacity: 1 !important; transform: none !important; }
}
