/* MeshX by Colère Nu · Phase 2 mockup stylesheet
   Tokens follow docs/brand-system-v1.md. Fonts: EB Garamond (display),
   Glacial Indifference (body/UI), DM Mono (labels). */

@font-face { font-family: "Glacial"; src: url("../fonts/GlacialIndifference-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Glacial"; src: url("../fonts/GlacialIndifference-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --night: #1A0008;
  --cab: #2E0010;
  --bone: #F4ECE0;
  --bone-w: #EDE3D4;
  --wine: #6D3140;
  --rose: #A85568;
  --rose-lt: #D48A9B;
  --dust: #A78A93;

  --ochre: #B07A1F;
  --amethyst: #6B4A8C;
  --viridian: #2C5F4F;
  --cerulean: #2E5C8A;
  --vermillion: #B33A26;
  --onyx: #0E0C0E;

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Glacial", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --body-font: var(--sans);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --header-h: 76px;
}

/* ─── Grounds ─────────────────────────────────────────── */
[data-ground] { background: var(--bg); color: var(--fg); }
[data-ground="night"] { --bg: var(--night); --fg: var(--bone); --fg-2: rgba(244,236,224,.66); --line: rgba(244,236,224,.16); --accent: var(--rose-lt); }
[data-ground="cab"]   { --bg: var(--cab);   --fg: var(--bone); --fg-2: rgba(244,236,224,.68); --line: rgba(244,236,224,.18); --accent: var(--rose-lt); }
[data-ground="wine"]  { --bg: var(--wine);  --fg: var(--bone); --fg-2: rgba(244,236,224,.76); --line: rgba(244,236,224,.22); --accent: #F0C2CC; }
[data-ground="bone"]  { --bg: var(--bone);  --fg: var(--cab);  --fg-2: var(--wine); --line: rgba(46,0,16,.16); --accent: var(--rose); }
[data-ground="warm"]  { --bg: var(--bone-w);--fg: var(--cab);  --fg-2: var(--wine); --line: rgba(46,0,16,.16); --accent: var(--rose); }

/* ─── Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--bone);
  font-family: var(--body-font); font-size: 18px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.register-social { --body-font: var(--serif); font-size: 19px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--rose); color: var(--bone); }
:focus-visible { outline: 2px solid var(--rose-lt); outline-offset: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.s { position: relative; padding-block: clamp(96px, 14vw, 180px); overflow: clip; }
.s-tight { padding-block: clamp(72px, 9vw, 120px); }

/* ─── Type ────────────────────────────────────────────── */
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 28px; }
.eyebrow .num { color: var(--accent); }
.display, .title, .quote { font-family: var(--serif); font-style: italic; font-weight: 400; margin: 0; text-wrap: balance; }
.display { font-size: clamp(3.4rem, 10.5vw, 10.5rem); line-height: .88; letter-spacing: -.02em; }
.title { font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: .98; letter-spacing: -.01em; }
.title-sm { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.02; }
.quote { font-size: clamp(1.8rem, 3.8vw, 3.4rem); line-height: 1.08; }
.sub { font-family: var(--sans); font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.25; margin: 0 0 10px; }
.register-social .sub { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.8rem); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.55; color: var(--fg-2); max-width: 54ch; margin: 0; }
.body { color: var(--fg-2); max-width: 62ch; margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.accent { color: var(--accent); }
.ph-note { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); opacity: .7; }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 28px;
  font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid currentColor; position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .08s;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--fg); transform: translateY(101%); transition: transform .55s var(--ease); z-index: -1; }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--bg); }
.btn:active { transform: scale(.97); }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-fill { background: var(--accent); border-color: var(--accent); color: var(--night); }
[data-ground="bone"] .btn-fill, [data-ground="warm"] .btn-fill { background: var(--cab); border-color: var(--cab); color: var(--bone); }
.btn-fill::before { background: var(--fg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); padding-bottom: 2px; }
.link-u:hover { background-size: 100% 1px; }

/* ─── Chrome: curtain, grain ──────────────────── */
.curtain {
  position: fixed; inset: 0; z-index: 300; background: var(--night);
  display: grid; place-items: center; pointer-events: none;
  transform: translateY(0); transition: transform 1s var(--ease-io);
}
.curtain .wm { font-size: clamp(2.4rem, 6vw, 4.4rem); color: var(--bone); opacity: .9; }
.curtain.up { transform: translateY(-101%); }
.curtain.below { transform: translateY(101%); transition: none; }
html:not(.js) .curtain { display: none; }

.grain {
  position: fixed; inset: -50%; z-index: 250; pointer-events: none; opacity: .075;
  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 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ─── Header ──────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .6s var(--ease);
}
.site-header .wm, .site-header .nav, .site-header .header-cta { --hfg: var(--bone); --hfg2: rgba(244,236,224,.62); color: var(--hfg); transition: color .5s var(--ease); }
.site-header .on-light { --hfg: var(--cab); --hfg2: rgba(46,0,16,.6); }
.site-header.hide { transform: translateY(-100%); }
.site-header .bar { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wm { display: inline-flex; flex-direction: column; line-height: 1; font-family: var(--serif); font-size: 30px; letter-spacing: -.01em; }
.wm .x { font-style: italic; color: var(--rose-lt); }
.wm.on-light .x { color: var(--rose); }
.wm small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--hfg2); margin-top: 6px; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.nav a { font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--hfg2); transition: color .3s; position: relative; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--hfg); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 18px; }
.header-cta .btn { min-height: 42px; padding: 0 18px; font-size: 11px; color: var(--hfg); border-color: currentColor; }
.header-cta .btn::before { background: var(--hfg); }
.header-cta.on-light .btn:hover { color: var(--bone); }
.header-cta:not(.on-light) .btn:hover { color: var(--night); }
.menu-btn { display: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; min-height: 44px; }
@media (max-width: 1080px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .site-header .bar { grid-template-columns: 1fr auto; }
}

.menu {
  position: fixed; inset: 0; z-index: 260; background: var(--night); color: var(--bone);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
.menu.open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { counter-increment: m; border-top: 1px solid rgba(244,236,224,.14); }
.menu li a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1.05; }
.menu li a::before { content: counter(m, decimal-leading-zero); font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--rose-lt); }
.menu .btn { margin-top: 36px; align-self: flex-start; }
.menu-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 22px); right: var(--gutter); font-family: var(--mono); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; min-height: 44px; }

/* ─── Footer ──────────────────────────────────────────── */
.site-footer { padding-block: clamp(80px, 10vw, 140px) 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: end; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 40px; }
.foot-cols h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 16px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2); }
@media (max-width: 800px) { .foot-top { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ─── Reveal system ───────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; padding-right: .04em; }
.w > span { display: inline-block; transition: transform 1.15s var(--ease); transition-delay: calc(var(--i) * 42ms + var(--d, 0ms)); }
.js [data-split] .w > span { transform: translateY(108%); }
.js [data-split].in .w > span { transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-stagger].in > * { opacity: 1; transform: none; }
.js [data-stagger].in > *:nth-child(2) { transition-delay: .09s; } .js [data-stagger].in > *:nth-child(3) { transition-delay: .18s; }
.js [data-stagger].in > *:nth-child(4) { transition-delay: .27s; } .js [data-stagger].in > *:nth-child(5) { transition-delay: .36s; }
.js [data-stagger].in > *:nth-child(6) { transition-delay: .45s; } .js [data-stagger].in > *:nth-child(7) { transition-delay: .54s; }
.js [data-stagger].in > *:nth-child(8) { transition-delay: .63s; }
.xf { will-change: opacity, transform; }

/* ─── Generic layouts ─────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-64 { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); }
.split-46 { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.stack-lg > * + * { margin-top: 28px; }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
@media (max-width: 900px) { .split, .split-64, .split-46, .head-row { grid-template-columns: 1fr; } }

.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list .n { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--accent); padding-top: 6px; }
.rule-list p { margin: 0; color: var(--fg-2); }

.cols { display: grid; gap: clamp(24px, 3vw, 44px); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cols-4, .cols-2 { grid-template-columns: 1fr; } }
.col-item { border-top: 1px solid var(--line); padding-top: 22px; }
.col-item .n { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; color: var(--accent); margin-bottom: 18px; }
.col-item p { color: var(--fg-2); margin: 0; font-size: 16px; }

.photo { position: relative; overflow: hidden; background: rgba(0,0,0,.2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.photo:hover img { transform: scale(1.035); }
.photo figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--bone); opacity: .8; }
.ar-45 { aspect-ratio: 4 / 5; } .ar-32 { aspect-ratio: 3 / 2; } .ar-169 { aspect-ratio: 16 / 9; } .ar-11 { aspect-ratio: 1; } .ar-34 { aspect-ratio: 3 / 4; }

/* Image wipe-in: a ground-colored panel slides away */
/* The clip sits on the image, not the observed wrapper, so the wrapper stays visible to IntersectionObserver */
.js [data-wipe] img { clip-path: inset(0 0 100% 0); transform: scale(1.15); transition: clip-path 1.4s var(--ease-io), transform 2s var(--ease); }
.js [data-wipe].in img { clip-path: inset(0 0 0 0); transform: scale(1); }

.marginalia { position: absolute; font-family: var(--mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-2); line-height: 1.8; }
.marginalia.tr { top: calc(var(--header-h) + 28px); right: var(--gutter); text-align: right; }
.marginalia.br { bottom: 32px; right: var(--gutter); text-align: right; }
.marginalia.bl { bottom: 32px; left: var(--gutter); }
@media (max-width: 700px) { .marginalia { display: none; } }

/* ─── Page hero (inner pages) ─────────────────────────── */
.page-hero { min-height: 88svh; display: flex; align-items: flex-end; padding-block: calc(var(--header-h) + 80px) clamp(64px, 8vw, 110px); position: relative; overflow: clip; }
.page-hero .display { max-width: 12ch; }
.page-hero .hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: clamp(36px, 5vw, 64px); }
.page-hero .scroll-cue { font-family: var(--mono); font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--fg-2); display: flex; align-items: center; gap: 14px; }
.scroll-cue i { display: block; width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--fg); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,0,8,.55) 0%, rgba(26,0,8,.35) 40%, rgba(26,0,8,.92) 100%); }
.page-hero > .container { position: relative; z-index: 1; }
.kenburns img { animation: kb 18s var(--ease) both; }
@keyframes kb { from { transform: scale(1.14); } to { transform: scale(1); } }

/* ─── Home hero with field map ────────────────────────── */
.home-hero { min-height: 100svh; display: flex; align-items: stretch; padding-block: calc(var(--header-h) + 24px) clamp(40px, 5vw, 64px); position: relative; overflow: clip; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: stretch; }
.home-hero .hero-copy { align-self: end; }
.home-hero .display { font-size: clamp(3rem, 5.6vw, 6.4rem); max-width: 10ch; }
.hero-map { position: relative; min-height: 520px; display: flex; flex-direction: column; }
.hero-map .fieldmap { flex: 1; }
.hero-map-note { margin: 14px 0 0; font-size: 10px; color: var(--fg-2); text-align: right; }
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-map { order: -1; min-height: 46svh; }
}

/* ─── Field map component ─────────────────────────────── */
.fieldmap { position: relative; }
.fieldmap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fm-label { position: absolute; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; transition: opacity .6s var(--ease), transform .6s var(--ease); white-space: nowrap; pointer-events: none; }
.fm-label em { display: block; font-family: var(--serif); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--fg-2); }
.fm-label.r { text-align: right; transform: translateX(-100%); }
.fm-label i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.fm-label.dim { opacity: .28; }
.fm-axis { position: absolute; font-family: var(--mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-2); opacity: .7; white-space: nowrap; }
@media (max-width: 700px) { .fm-label em { display: none; } .fm-label { font-size: 9px; } }

/* ─── Poster 0: pinned card ───────────────────────────── */
.pin0-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.pin0-card { position: sticky; top: calc(var(--header-h) + 5vh); height: calc(100svh - var(--header-h) - 10vh); min-height: 480px; display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: rgba(0,0,0,.18); }
[data-ground="bone"] .pin0-card, [data-ground="warm"] .pin0-card { background: var(--cab); color: var(--bone); --fg-2: rgba(244,236,224,.7); }
.pin0-media { position: relative; overflow: hidden; }
.pin0-media > * { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.pin0-media > .on { opacity: 1; transform: none; }
.pin0-media img { width: 100%; height: 100%; object-fit: cover; }
.pin0-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(26,0,8,.75)); pointer-events: none; }
.pin0-info { position: relative; padding: 26px 28px 28px; min-height: 170px; }
.pin0-state { position: absolute; inset: 26px 28px auto; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.pin0-state.on { opacity: 1; transform: none; transition-delay: .15s; }
.pin0-state .big { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; margin: 6px 0 10px; }
.pin0-state p { margin: 0; color: var(--fg-2); font-size: 15.5px; max-width: 40ch; }
.pin0-ticks { position: absolute; top: 20px; right: 20px; z-index: 2; display: flex; gap: 6px; }
.pin0-ticks i { width: 22px; height: 2px; background: rgba(244,236,224,.25); transition: background .5s; }
.pin0-ticks i.on { background: var(--rose-lt); }
.pin0-counter { position: absolute; top: 16px; left: 20px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .22em; color: var(--bone); }
.pin0-steps { display: flex; flex-direction: column; gap: clamp(90px, 16vh, 180px); padding-block: 8vh 20vh; }
.step .n { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; color: var(--accent); display: block; margin-bottom: 20px; }
.step h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; margin: 0 0 22px; }
.register-meshx .step h3 { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -.01em; }
.step .body { font-size: 17px; }
.step .frag { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.step .frag .photo { aspect-ratio: 4 / 5; }
.step .pull { margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.35; color: var(--fg); border-left: 1px solid var(--accent); padding-left: 18px; }
.step-mobile-img { display: none; }
@media (max-width: 900px) {
  .pin0-grid { grid-template-columns: 1fr; }
  .pin0-card { display: none; }
  .step-mobile-img { display: block; margin-bottom: 26px; aspect-ratio: 3 / 2; }
  .pin0-steps { gap: 80px; padding-block: 0; }
}

/* Document fragment card (abstracted deliverable snippet) */
.doc { background: var(--bone); color: var(--cab); padding: 18px 18px 20px; font-size: 12px; line-height: 1.5; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); position: relative; }
.doc .doc-h { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--wine); border-bottom: 1px solid var(--cab); padding-bottom: 8px; margin-bottom: 12px; }
.doc .doc-t { font-family: var(--serif); font-style: italic; font-size: 20px; margin-bottom: 10px; }
.doc .bar { height: 7px; background: rgba(46,0,16,.14); margin: 6px 0; }
.doc .bar.w60 { width: 60%; } .doc .bar.w80 { width: 80%; } .doc .bar.w40 { width: 40%; }
.doc .cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; margin: 10px 0; }
.doc .cells i { height: 16px; }

/* ─── Poster 1: horizontal reel ───────────────────────── */
.reel { position: relative; padding: 0; }
.reel-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); padding: calc(var(--header-h) + 20px) 0 36px; }
.reel-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(20px, 3vh, 36px); }
.reel-head .title { max-width: 22ch; font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
.reel-count { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; color: var(--fg-2); white-space: nowrap; }
.reel-track { display: flex; align-items: stretch; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); will-change: transform; min-height: 0; }
.reel-progress { margin: clamp(18px, 3vh, 32px) var(--gutter) 0; height: 1px; background: var(--line); position: relative; }
.reel-progress i { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); }
.panel { flex: 0 0 auto; width: clamp(280px, 30vw, 440px); height: 100%; max-height: 600px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; }
.panel.wide { width: clamp(320px, 46vw, 720px); }
.panel-pig { color: var(--bone); }
.panel-pig .pn { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; opacity: .8; }
.panel-pig .pname { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: .95; margin: 0; }
.panel-pig .pphrase { font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; margin: 12px 0 0; opacity: .85; }
.panel-pig .pbody { font-size: 15.5px; line-height: 1.55; opacity: .88; max-width: 34ch; margin: 0; }
.panel-pig .pmark { position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(244,236,224,.25); }
.panel-pig .pmark::after { content: ""; position: absolute; inset: 44px; border-radius: 50%; border: 1px dashed rgba(244,236,224,.25); }
.panel-photo { padding: 0; }
.panel-photo img { width: 100%; height: 100%; object-fit: cover; }
.panel-photo figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; color: var(--bone); font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.25; }
.panel-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(26,0,8,.8)); }
.panel-photo figcaption { z-index: 1; }
.panel-text { border: 1px solid var(--line); }
.panel-text .pn { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--accent); }
.panel-text h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; margin: 0 0 14px; }
.panel-text p { color: var(--fg-2); font-size: 15.5px; margin: 0; }
.panel-text .meta { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-2); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
.panel-time { border-left: 1px solid var(--line); padding: 0 0 0 26px; width: clamp(240px, 22vw, 320px); justify-content: flex-start; gap: 18px; }
.panel-time .t { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--accent); }
.panel-time h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: 1.05; margin: 0; }
.panel-time p { color: var(--fg-2); font-size: 15px; margin: 0; }
.panel-time .dur { margin-top: auto; height: 3px; background: var(--line); position: relative; }
.panel-time .dur i { position: absolute; inset: 0 auto 0 0; background: var(--accent); }
@media (max-width: 900px) {
  .reel { height: auto !important; }
  .reel-sticky { position: static; height: auto; padding-block: 96px; }
  .reel-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .reel-track::-webkit-scrollbar { display: none; }
  .panel { scroll-snap-align: start; width: 80vw; height: 70svh; }
  .panel-time { width: 70vw; height: auto; min-height: 280px; }
  .reel-progress { display: none; }
}

/* ─── Poster 2: film strips ───────────────────────────── */
.film { position: relative; height: 280vh; padding: 0; }
.film-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 17vw) minmax(0, 17vw) minmax(0, 1fr); gap: clamp(16px, 2.2vw, 36px); padding-inline: var(--gutter); }
.film-copy { align-self: center; }
.film-copy.left { text-align: left; }
.film-copy.right { text-align: left; align-self: end; padding-bottom: 14vh; }
.film-copy.left { align-self: start; padding-top: calc(var(--header-h) + 10vh); }
.film-copy .quote { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.film-copy p { color: var(--fg-2); font-size: 16px; margin: 16px 0 0; max-width: 32ch; }
.roll { position: relative; overflow: visible; }
.roll-track { display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.roll-track figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; position: relative; }
.roll-track figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.roll-track figure::before, .roll-track figure::after { content: ""; position: absolute; left: 6px; right: 6px; height: 6px; z-index: 1; background: repeating-linear-gradient(90deg, rgba(26,0,8,.7) 0 6px, transparent 6px 14px); }
.roll-track figure::before { top: 6px; } .roll-track figure::after { bottom: 6px; }
@media (max-width: 900px) {
  .film { height: auto; }
  .film-sticky { position: static; height: auto; grid-template-columns: 1fr 1fr; padding-block: 96px; row-gap: 40px; }
  .film-copy.left, .film-copy.right { grid-column: 1 / -1; padding: 0; align-self: auto; }
  .film-copy.right { order: 4; }
  .roll { height: 70svh; overflow: hidden; }
  .roll-track { transform: none !important; animation: rollUp 40s linear infinite; }
  .roll-r .roll-track { animation-direction: reverse; }
}
@keyframes rollUp { to { transform: translateY(-50%); } }

/* ─── Stacked panels (framework six styles) ───────────── */
.stackp { position: relative; }
.stackp .sp { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: var(--bone); }
.stackp .sp-inner { width: 100%; transform-origin: 50% 0; will-change: transform, filter; }
.sp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; padding-top: var(--header-h); }
.sp .pn { font-family: var(--mono); font-size: 12px; letter-spacing: .26em; opacity: .8; }
.sp .pname { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3.4rem, 9vw, 8.5rem); line-height: .86; margin: 18px 0 0; letter-spacing: -.02em; }
.sp .pphrase { font-family: var(--mono); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; margin-top: 22px; opacity: .85; }
.sp dl { margin: 0; display: grid; gap: 0; }
.sp dl div { border-top: 1px solid rgba(244,236,224,.25); padding: 20px 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; }
.sp dt { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; padding-top: 4px; }
.sp dd { margin: 0; font-size: 17px; opacity: .92; }
.sp .glyph { position: absolute; right: -8vw; bottom: -14vw; width: 46vw; height: 46vw; border-radius: 50%; border: 1px solid rgba(244,236,224,.14); pointer-events: none; }
.sp .glyph::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(244,236,224,.14); }
@media (max-width: 900px) { .sp-grid { grid-template-columns: 1fr; padding-block: 120px 80px; } .sp dl div { grid-template-columns: 1fr; gap: 6px; } }

/* ─── Tally ───────────────────────────────────────────── */
.tally-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.tally-rows { display: grid; gap: 34px; }
.tally-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) 90px; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; }
.tally-row .lab { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); line-height: 1.5; }
.tally-row .lab b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; letter-spacing: 0; color: var(--fg); text-transform: none; }
.tally-marks { display: flex; flex-wrap: wrap; gap: 18px; min-height: 48px; }
.tally-marks svg { width: 56px; height: 46px; overflow: visible; }
.tally-marks path { fill: none; stroke: var(--fg); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .5s var(--ease); }
.tally-marks path.slash { stroke: var(--accent); }
.tally-marks path.on { stroke-dashoffset: 0; }
.tally-row .count { font-family: var(--mono); font-size: 40px; letter-spacing: -.02em; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .tally-wrap { grid-template-columns: 1fr; } .tally-row { grid-template-columns: 70px minmax(0, 1fr) 60px; } }

/* ─── Communication map (abstracted, scrambling) ──────── */
.cmap-wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cmap { background: var(--bone); color: var(--cab); padding: clamp(16px, 2.4vw, 32px); box-shadow: 0 50px 90px -50px rgba(26,0,8,.55); position: relative; }
[data-ground="bone"] .cmap { background: #FBF6EE; border: 1px solid rgba(46,0,16,.12); }
.cmap-top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--cab); padding-bottom: 10px; margin-bottom: 14px; }
.cmap-top .t { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.cmap-top .m { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }
.cmap-grid { display: grid; grid-template-columns: minmax(70px, 1.3fr) repeat(6, minmax(0, 1fr)); gap: 5px; align-items: center; }
.cmap-grid .ch { font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; text-align: center; line-height: 1.35; padding-bottom: 6px; }
.cmap-grid .ch i { display: block; font-family: var(--serif); font-size: 10.5px; letter-spacing: 0; text-transform: none; color: var(--wine); }
.cmap-grid .who { display: grid; gap: 4px; }
.cmap-grid .who b { display: block; height: 9px; background: var(--cab); width: 80%; }
.cmap-grid .who s { display: block; height: 6px; background: rgba(46,0,16,.25); width: 55%; }
.cell { height: clamp(28px, 3.4vw, 40px); display: grid; place-items: center; font-family: var(--mono); font-size: clamp(11px, 1.1vw, 14px); color: var(--cab); position: relative; font-variant-numeric: tabular-nums; transition: outline-color .4s, box-shadow .4s; }
.cell span { filter: blur(1.4px); opacity: .9; }
.cell.dark span { color: var(--bone); }
.cell.ring { box-shadow: inset 0 0 0 2px var(--cab); }
.cell.dashed { outline: 2px dashed var(--cab); outline-offset: -2px; }
.cmap-avg { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); border-top: 1px solid rgba(46,0,16,.2); padding-top: 10px; margin-top: 8px; }
.cmap.hl-ring .cell:not(.ring), .cmap.hl-dashed .cell:not(.dashed), .cmap.hl-row .cell:not(.row-hl), .cmap.hl-col .cell:not(.col-hl) { opacity: .18; transition: opacity .4s; }
.cmap .cell { transition: opacity .4s; }
.cmap-banner { margin-top: 14px; background: var(--cab); color: var(--bone); font-family: var(--serif); font-style: italic; font-size: 15px; padding: 10px 14px; }
.cmap-banner .redact { --rc: var(--bone); }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { border-top: 1px solid var(--line); }
.notes button { width: 100%; text-align: left; padding: 20px 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; transition: padding .4s var(--ease); }
.notes button:hover, .notes button:focus-visible { padding-left: 10px; }
.notes .n { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--accent); padding-top: 4px; }
.notes b { display: block; font-family: var(--sans); font-size: 17px; margin-bottom: 4px; }
.notes span.d { color: var(--fg-2); font-size: 15px; }
@media (max-width: 1000px) { .cmap-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cmap-grid .ch { font-size: 7px; } .cmap-grid .ch i { display: none; } }

/* ─── Redaction ───────────────────────────────────────── */
.redact { position: relative; white-space: nowrap; --rc: var(--fg); }
.redact::after { content: ""; position: absolute; inset: .12em -.08em .02em; background: var(--rc); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-io); transition-delay: var(--rd, 0ms); }
.in .redact::after, .redact.in::after, html:not(.js) .redact::after { transform: scaleX(1); }
.profile { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.5; max-width: 40ch; }
.profile .seg { position: relative; }
.profile-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; }
.profile-legend span { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; color: var(--fg-2); }
.profile-legend i { width: 20px; height: 3px; }
.seg-strength { box-shadow: inset 0 -3px 0 var(--viridian); }
.seg-cost { box-shadow: inset 0 -3px 0 var(--vermillion); }
.seg-growth { box-shadow: inset 0 -3px 0 var(--ochre); }

/* ─── Tiers ───────────────────────────────────────────── */
.tier-panel { width: clamp(300px, 27vw, 400px); height: 100%; max-height: 620px; border: 1px solid var(--line); padding: 30px 28px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.tier-panel .tn { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 7vw, 6.5rem); line-height: .8; color: var(--accent); }
.tier-panel h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1; margin: 22px 0 8px; }
.tier-panel .dur { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); }
.tier-panel ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--fg-2); }
.tier-panel ul li { padding-left: 18px; position: relative; }
.tier-panel ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--accent); }
.tier-panel .next { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }
.tier-panel .next b { color: var(--fg); font-weight: 400; }
.tier-panel.feature { background: var(--bone); color: var(--cab); --fg-2: var(--wine); --line: rgba(46,0,16,.18); --accent: var(--rose); --fg: var(--cab); border-color: var(--bone); }
.tier-panel .badge { position: absolute; top: 26px; right: 24px; font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; border: 1px solid currentColor; padding: 4px 8px; }
.tier-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tier-row a { padding: 30px 24px 34px 0; border-bottom: 1px solid var(--line); display: block; position: relative; transition: padding .5s var(--ease); }
.tier-row a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.tier-row a:hover { padding-top: 22px; }
.tier-row .tn { font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: .9; color: var(--accent); }
.tier-row h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; margin: 16px 0 4px; }
.tier-row p { margin: 0; color: var(--fg-2); font-size: 15px; }
@media (max-width: 900px) { .tier-row { grid-template-columns: 1fr 1fr; } .tier-row a:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .tier-row { grid-template-columns: 1fr; } .tier-row a + a { border-left: 0; padding-left: 0; } }

.compare-wrap { overflow-x: auto; }
table.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 0; }
.compare thead th { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); vertical-align: bottom; }
.compare thead th b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.6rem; letter-spacing: 0; text-transform: none; color: var(--fg); margin-top: 4px; }
.compare .yes::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.compare .lite { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.compare .no::before { content: ""; display: inline-block; width: 14px; height: 1px; background: var(--line); vertical-align: middle; }

/* ─── Accordion ───────────────────────────────────────── */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; padding: 26px 0; display: grid; grid-template-columns: minmax(0, 1fr) 30px; align-items: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.2; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-style: normal; font-size: 20px; text-align: right; color: var(--accent); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 28px; color: var(--fg-2); max-width: 64ch; }

/* ─── Vibeometer slider ───────────────────────────────── */
.vibe { border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.vibe .stmt { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.25; margin: 0 0 34px; }
.vibe .val { font-family: var(--mono); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.vibe input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 18px 0 6px; }
.vibe input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--line) var(--p, 50%)); }
.vibe input[type=range]::-moz-range-track { height: 2px; background: var(--line); }
.vibe input[type=range]::-moz-range-progress { height: 2px; background: var(--accent); }
.vibe input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--fg); margin-top: -12px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--fg) 12%, transparent); }
.vibe input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--fg); }
.vibe .ends { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-2); }

/* ─── Chronicle (After Hours masonry with pinned caption) ─ */
.chron-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.chron-caption { position: sticky; top: calc(var(--header-h) + 8vh); min-height: 340px; }
.chron-caption .state { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.chron-caption .state.on { opacity: 1; transform: none; }
.chron-caption .state .quote { font-size: clamp(2rem, 3.4vw, 3rem); margin: 10px 0 16px; }
.chron-caption .state p { color: var(--fg-2); max-width: 36ch; }
.masonry { columns: 2; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; overflow: hidden; }
.masonry figure img { width: 100%; height: auto; transition: transform 1.4s var(--ease), filter .8s; }
.masonry figure:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .chron-grid { grid-template-columns: 1fr; } .chron-caption { position: static; min-height: 0; } .chron-caption .state { position: static; display: none; } .chron-caption .state:first-child { display: block; opacity: 1; transform: none; } }

/* ─── Two doors (split hover) ─────────────────────────── */
.doors { display: grid; grid-template-columns: 1fr 1fr; min-height: 80svh; }
.door { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 64px); color: var(--bone); transition: flex .8s var(--ease); isolation: isolate; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease), filter 1s var(--ease); filter: brightness(.55) saturate(.8); }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,0,8,.2), rgba(26,0,8,.85)); }
.door:hover img { transform: scale(1.06); filter: brightness(.7) saturate(1); }
.door .quote { margin: 12px 0 16px; }
.door p { color: rgba(244,236,224,.78); max-width: 38ch; margin: 0 0 28px; }
.door .btn { align-self: flex-start; }
.door .btn::before { background: var(--bone); }
.door .btn:hover { color: var(--night); }
@media (min-width: 901px) { .doors:has(.door:hover) .door:not(:hover) { opacity: .75; } .door { transition: opacity .6s var(--ease); } }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } .door { min-height: 70svh; } }

/* ─── Etymology (Origin) ──────────────────────────────── */
.etym { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; }
.etym-left { position: relative; padding: calc(var(--header-h) + 60px) var(--gutter) 64px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.etym-left canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.etym-left > *:not(canvas) { position: relative; }
.etym-line { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.35; margin: 0 0 22px; max-width: 26ch; }
.etym-line em { color: var(--wine); }
.etym-line .hl { color: var(--rose); font-style: italic; }
.etym-tension { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.02; max-width: 14ch; margin: 0; }
.etym-right { padding: calc(var(--header-h) + 40px) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.pillar { font-family: var(--sans); font-weight: 700; font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .95; letter-spacing: .02em; display: flex; align-items: baseline; gap: 18px; opacity: .22; transition: opacity .6s var(--ease), letter-spacing .8s var(--ease); }
.pillar::before { content: attr(data-num); font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .2em; color: var(--rose-lt); }
.pillar:hover, .pillar.on { opacity: 1; }
@media (max-width: 900px) { .etym { grid-template-columns: 1fr; } .etym-right { gap: 20px; padding-block: 80px; } }

/* ─── Founders ────────────────────────────────────────── */
.founders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.founder figure { margin: 0 0 20px; aspect-ratio: 3 / 4; overflow: hidden; }
.founder img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.95); }
.js .founder [data-develop] img { filter: grayscale(1) blur(14px) brightness(1.6) contrast(.6); transform: scale(1.08); transition: filter 2.2s var(--ease), transform 2.2s var(--ease); }
.js .founder [data-develop].in img { filter: grayscale(1) contrast(1.08) brightness(.95); transform: none; }
.founder .name { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1; }
.founder .role { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); margin: 10px 0 14px; }
.founder p { color: var(--fg-2); font-size: 16px; margin: 0; font-family: var(--serif); font-style: italic; }
@media (max-width: 800px) { .founders { grid-template-columns: 1fr; } .founder figure { aspect-ratio: 4 / 5; } }

/* ─── Stats ───────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .v { font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 7vw, 6rem); line-height: .9; font-variant-numeric: tabular-nums; }
.stat .l { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); margin-top: 12px; line-height: 1.6; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; padding-left: 0; } }

/* ─── Marquee ─────────────────────────────────────────── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marq 40s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.6rem); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ─── Forms ───────────────────────────────────────────── */
.inq { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); min-height: 100svh; }
.inq-form { padding: calc(var(--header-h) + 64px) var(--gutter) 80px; }
.inq-side { padding: calc(var(--header-h) + 64px) var(--gutter) 80px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.tabs { display: inline-flex; border: 1px solid var(--line); margin: 36px 0 44px; }
.tabs button { padding: 12px 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); transition: background .4s, color .4s; min-height: 44px; }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2); }
.field input, .field select, .field textarea { background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--fg); font-family: var(--sans); font-size: 19px; padding: 10px 0; border-radius: 0; transition: border-color .4s; }
.field textarea { min-height: 110px; resize: vertical; font-family: var(--serif); font-style: italic; font-size: 21px; }
.field select { -webkit-appearance: none; appearance: none; }
.field select option { color: var(--cab); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.form-done { display: none; margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
form.sent .form-done { display: block; }
@media (max-width: 900px) { .inq { grid-template-columns: 1fr; } .fields { grid-template-columns: 1fr; } }

/* ─── Misc ────────────────────────────────────────────── */
.illus { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2); border: 1px solid var(--line); padding: 5px 9px; }
.illus::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.privacy-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.privacy-strip div { padding: 30px 28px 0 0; }
.privacy-strip div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.privacy-strip b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin-bottom: 10px; }
.privacy-strip p { color: var(--fg-2); margin: 0; font-size: 15.5px; }
@media (max-width: 800px) { .privacy-strip { grid-template-columns: 1fr; } .privacy-strip div + div { border-left: 0; padding-left: 0; } }

.lightroom { position: fixed; inset: 0; z-index: 280; background: rgba(26,0,8,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; padding: 60px var(--gutter); }
.lightroom.open { opacity: 1; visibility: visible; }
.lightroom img { max-height: 84vh; width: auto; transform: scale(.94); transition: transform .8s var(--ease); }
.lightroom.open img { transform: none; }
.lightroom button { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 22px); right: var(--gutter); font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--bone); min-height: 44px; }

.closer { text-align: left; min-height: 90svh; display: flex; align-items: center; }
.closer .display { font-size: clamp(3rem, 9vw, 8.5rem); max-width: 13ch; }

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

/* ─── Page-specific additions ─────────────────────────── */
.display-md { font-size: clamp(3rem, 7vw, 7.4rem); }
.fm-block { height: min(72svh, 680px); margin-top: 20px; }
.pin0-card.fm-card { background: transparent; grid-template-rows: 1fr auto; overflow: visible; }
.fm-card .fieldmap { height: 100%; }
.fm-card .pin0-info { border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .pin0-card.fm-card { display: grid; position: sticky; top: var(--header-h); height: 58svh; min-height: 0; z-index: 1; background: var(--night); }
  .fm-card .pin0-info { display: none; }
  .fm-steps .step { background: var(--night); position: relative; z-index: 2; padding: 20px 0; }
}
.stackp-wrap { padding: 0; }
@media (max-width: 900px) { .stackp .sp { position: relative; } }
.hero-weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); }
.hero-weeks div { padding: 18px 18px 0 0; }
.hero-weeks div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-weeks .mono { color: var(--accent); display: block; margin-bottom: 6px; font-size: 11px; }
.hero-weeks p { margin: 0; color: var(--fg-2); font-size: 15px; }
@media (max-width: 700px) { .hero-weeks { grid-template-columns: 1fr 1fr; row-gap: 22px; } .hero-weeks div:nth-child(3) { border-left: 0; padding-left: 0; } }
.parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 6vw, 72px); }
.parts div { border: 1px solid var(--line); padding: 18px 20px 22px; }
.parts div.on { border-color: var(--accent); }
.parts .mono { color: var(--accent); font-size: 11px; display: block; margin-bottom: 8px; }
.parts b { display: block; font-family: var(--sans); font-size: 17px; margin-bottom: 4px; }
.parts p { margin: 0; color: var(--fg-2); font-size: 14.5px; }
@media (max-width: 800px) { .parts { grid-template-columns: 1fr; } }
.ah-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 90svh; }
.ah-feature .photo { min-height: 60svh; }
.ah-feature .txt { padding: clamp(64px, 8vw, 120px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) { .ah-feature { grid-template-columns: 1fr; } }
.legal h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.2rem; margin: 64px 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.panel.tier-panel { justify-content: flex-start; }
.ph-img { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 38%, #5a5456 0%, #2a2627 55%, #151314 100%); color: rgba(244,236,224,.6); font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; line-height: 1.8; }
.js .founder [data-develop] .ph-img { filter: blur(12px) brightness(1.5); transform: scale(1.06); transition: filter 2.2s var(--ease), transform 2.2s var(--ease); }
.js .founder [data-develop].in .ph-img { filter: none; transform: none; }

/* ═══ Home v2 ═══════════════════════════════════════════ */

/* Hero: the map is a plane behind the type */
.hero3d { position: relative; height: 150vh; padding: 0; }
.hero3d-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1400px; }
.hero3d-map { position: absolute; inset: 9vh 3vw 4vh 3vw; transform-origin: 50% 70%; will-change: transform; transform: rotateX(24deg) scale(.9); }
.hero3d-map .fieldmap { position: absolute; inset: 0; }
.hero3d-scrim { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 60% 70% at 18% 78%, rgba(26,0,8,.92) 0%, rgba(26,0,8,.55) 45%, transparent 75%),
  linear-gradient(180deg, rgba(26,0,8,.6) 0%, transparent 22%, transparent 70%, rgba(26,0,8,.85) 100%); }
.hero3d-copy { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 28px); bottom: clamp(36px, 6vh, 80px); display: flex; align-items: flex-end; will-change: transform, opacity; }
.hero3d-copy > .container { width: 100%; }
.hero3d-copy .display { font-size: clamp(2.6rem, min(6vw, 9.5vh), 6.6rem); max-width: 11ch; text-shadow: 0 4px 60px rgba(26,0,8,.9); }
.hero3d-copy .row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero3d-note { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 18px); font-size: 10px; color: var(--fg-2); }
.hero3d .scroll-cue { margin-top: 26px; }
@media (max-width: 900px) {
  .hero3d { height: 150vh; }
  .hero3d-map { inset: 12vh 0 36vh 0; }
  .hero3d-copy .row { grid-template-columns: 1fr; gap: 20px; }
}

/* Thesis: image window opens to full bleed, statement scrubs in */
.thesis { position: relative; height: 175vh; padding: 0; }
.thesis-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.thesis-media { position: absolute; inset: 0; clip-path: inset(22% 30% 22% 30% round 4px); will-change: clip-path; }
.thesis-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.thesis-media::after { content: ""; position: absolute; inset: 0; background: rgba(26,0,8,var(--dim, .15)); }
.thesis-label { position: absolute; top: calc(var(--header-h) + 5vh); left: 0; right: 0; text-align: center; will-change: opacity; }
.thesis-label .eyebrow { margin: 0; }
.thesis-text { position: relative; z-index: 1; max-width: 20ch; text-align: center; color: var(--bone); font-size: clamp(2.4rem, 5.6vw, 5.2rem); line-height: 1.02; }
.thesis-text .sw { display: inline-block; opacity: 0; will-change: opacity, transform, filter; }
.thesis-sub { position: absolute; bottom: 7vh; left: 0; right: 0; text-align: center; color: rgba(244,236,224,.75); font-family: var(--mono); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; opacity: 0; }

/* What MeshX is */
.whatis-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.whatis-grid > div { padding: 30px 26px 8px 0; }
.whatis-grid > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.whatis-grid .n { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; color: var(--accent); display: block; margin-bottom: 22px; }
.whatis-grid h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.05; margin: 0 0 14px; }
.whatis-grid p { color: var(--fg-2); font-size: 15.5px; margin: 0 0 12px; }
.whatis-grid ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.whatis-grid ul li::before { content: "— "; color: var(--accent); }
@media (max-width: 1000px) { .whatis-grid { grid-template-columns: 1fr 1fr; } .whatis-grid > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 600px) { .whatis-grid { grid-template-columns: 1fr; } .whatis-grid > div + div { border-left: 0; padding-left: 0; } }
.pig-ribbon { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(56px, 8vw, 96px); }
.pig-ribbon a { padding: 18px 16px 20px; color: var(--bone); position: relative; overflow: hidden; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; transition: flex .6s var(--ease); }
.pig-ribbon a b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1; }
.pig-ribbon a span { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.pig-ribbon a::after { content: "→"; position: absolute; right: 14px; top: 14px; font-family: var(--mono); opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .4s var(--ease); }
.pig-ribbon a:hover::after { opacity: 1; transform: none; }
@media (max-width: 800px) { .pig-ribbon { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* What you receive: a deck of deliverables on a lit desk */
.deliv { background:
  radial-gradient(ellipse 55% 60% at 68% 45%, rgba(168,85,104,.16) 0%, transparent 70%),
  radial-gradient(ellipse 80% 80% at 70% 50%, rgba(46,0,16,.9) 0%, var(--night) 70%); }
.deliv-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.deliv-list { list-style: none; margin: 36px 0 0; padding: 0; }
.deliv-list li { border-top: 1px solid var(--line); }
.deliv-list li:last-child { border-bottom: 1px solid var(--line); }
.deliv-list button { width: 100%; text-align: left; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; opacity: .5; transition: opacity .5s var(--ease); position: relative; }
.deliv-list button::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.deliv-list button.on { opacity: 1; }
.deliv-list button.on::after { animation: dprog 6s linear forwards; }
.deck.paused ~ * .deliv-list button.on::after, .deliv.paused .deliv-list button.on::after { animation-play-state: paused; }
@keyframes dprog { to { transform: scaleX(1); } }
.deliv-list .n { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--accent); padding-top: 5px; }
.deliv-list b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; }
.deliv-list .d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); color: var(--fg-2); font-size: 15px; }
.deliv-list .d > span { overflow: hidden; }
.deliv-list button.on .d { grid-template-rows: 1fr; }
.deliv-list button.on .d > span { padding-top: 8px; display: block; }
.deck { position: relative; aspect-ratio: 5 / 4; perspective: 1600px; }
.deck-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.sheet { position: absolute; inset: 6% 8%; transition: transform 1s var(--ease), filter 1s var(--ease), opacity 1s var(--ease); box-shadow: 0 60px 90px -40px rgba(0,0,0,.8), 0 2px 0 rgba(255,255,255,.04) inset; overflow: hidden; }
.sheet::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .45 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }
.sheet.dark::after { mix-blend-mode: screen; opacity: .12; }
.sheet[data-pos="0"] { transform: translate3d(0,0,60px) rotate(-1deg); z-index: 4; }
.sheet[data-pos="1"] { transform: translate3d(7%,-6%,0) rotate(4deg) scale(.94); z-index: 3; filter: brightness(.55); }
.sheet[data-pos="2"] { transform: translate3d(-8%,-9%,-40px) rotate(-6deg) scale(.9); z-index: 2; filter: brightness(.4); }
.sheet[data-pos="3"] { transform: translate3d(3%,-13%,-80px) rotate(2deg) scale(.86); z-index: 1; filter: brightness(.3); }
.sheet.cmap { padding: clamp(14px, 2vw, 26px); box-shadow: 0 60px 90px -40px rgba(0,0,0,.8); }
.sheet.dark { background: #1d1b1c; color: var(--bone); --fg: var(--bone); --fg-2: rgba(244,236,224,.6); padding: 18px; display: flex; flex-direction: column; }
.sheet.dark .fieldmap { flex: 1; }
.sheet.dark .fm-label em { display: none; }
.sheet.dark .fm-label { font-size: 8.5px; }
.sheet.paper { background: var(--bone); color: var(--cab); padding: clamp(18px, 2.6vw, 34px); }
.sheet .sh-h { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--wine); border-bottom: 2px solid var(--cab); padding-bottom: 8px; margin-bottom: 14px; }
.sheet.dark .sh-h { color: rgba(244,236,224,.6); border-color: rgba(244,236,224,.3); }
.sheet .sh-t { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.8rem); margin: 0 0 12px; }
.sheet .profile { font-size: clamp(1rem, 1.4vw, 1.25rem); max-width: none; --fg: var(--cab); }
.sheet .guide-row { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(46,0,16,.14); font-size: 13px; }
.sheet .guide-row .n { font-family: var(--mono); font-size: 10px; color: var(--rose); }
.sheet .guide-row i { display: block; height: 6px; background: rgba(46,0,16,.16); margin-top: 6px; }
@media (max-width: 900px) { .deliv-grid { grid-template-columns: 1fr; } .deck { order: -1; } }

/* Four ways in: editorial rows with a cursor preview */
.tier-list { list-style: none; margin: 0; padding: 0; position: relative; }
.tier-list li { border-top: 1px solid var(--line); }
.tier-list li:last-child { border-bottom: 1px solid var(--line); }
.tier-line { display: grid; grid-template-columns: 120px minmax(0, 1.4fr) minmax(0, 1fr) 120px 40px; gap: 24px; align-items: center; padding: 30px 0; position: relative; isolation: isolate; transition: color .5s var(--ease), padding .6s var(--ease); }
.tier-line::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--cab); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-io); }
.tier-line:hover::before, .tier-line:focus-visible::before { transform: scaleY(1); }
.tier-line:hover, .tier-line:focus-visible { color: var(--bone); padding-left: 16px; --fg-2: rgba(244,236,224,.7); --accent: var(--rose-lt); }
.tier-line .tn { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 5vw, 4.6rem); line-height: .8; color: var(--accent); transition: color .5s; }
.tier-line h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1; margin: 0; }
.tier-line p { margin: 6px 0 0; color: var(--fg-2); font-size: 15px; }
.tier-line .dur { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-2); }
.tier-line .depth { display: flex; gap: 4px; align-items: flex-end; height: 34px; }
.tier-line .depth i { width: 10px; background: var(--line); }
.tier-line .depth i:nth-child(1) { height: 25%; } .tier-line .depth i:nth-child(2) { height: 50%; } .tier-line .depth i:nth-child(3) { height: 75%; } .tier-line .depth i:nth-child(4) { height: 100%; }
.tier-line .depth i.f { background: var(--accent); }
.tier-line .arr { font-family: var(--mono); font-size: 18px; transition: transform .5s var(--ease); }
.tier-line:hover .arr { transform: translateX(6px); }
.tier-preview { position: fixed; left: 0; top: 0; width: 260px; aspect-ratio: 4 / 5; pointer-events: none; z-index: 120; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.tier-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tier-preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.tier-preview img.on { opacity: 1; }
@media (max-width: 900px) { .tier-line { grid-template-columns: 70px minmax(0, 1fr) 30px; } .tier-line .dur, .tier-line .depth { display: none; } .tier-preview { display: none; } }

/* After Hours: compact band */
.ah-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.ah-band .photo { aspect-ratio: 16 / 10; }
.ah-band .title { font-size: clamp(2rem, 3.6vw, 3.2rem); }
@media (max-width: 800px) { .ah-band { grid-template-columns: 1fr; } }

/* Tested in rooms: a full-bleed wall of moving photo columns */
.rooms { position: relative; height: 170vh; padding: 0; }
.rooms-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.wall { position: absolute; inset: -10vh -2vw; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.wall-col { display: flex; flex-direction: column; gap: 12px; will-change: transform; }
.wall-col figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; flex: none; }
.wall-col img { width: 100%; height: 100%; object-fit: cover; }
.rooms-scrim { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(26,0,8,.88) 0%, rgba(26,0,8,.6) 55%, rgba(26,0,8,.35) 100%); }
.rooms-copy { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: var(--header-h) var(--gutter) 40px; }
.rooms-copy .display { font-size: clamp(2.8rem, 7vw, 7rem); max-width: 14ch; margin: 0 auto; }
.rooms-copy .lede { margin: 26px auto 0; }
.rooms-copy .stats { max-width: 720px; margin: 44px auto 0; text-align: left; }
@media (max-width: 900px) {
  .rooms { height: auto; }
  .rooms-stage { position: relative; height: 110svh; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall-col:nth-child(n+4) { display: none; }
  .wall-col { animation: rollUp 50s linear infinite; }
  .wall-col:nth-child(2) { animation-direction: reverse; }
}

.hero3d-copy .col { max-width: 640px; }
.hero3d-copy .lede { margin-top: 26px; max-width: 46ch; }
.hero3d-copy .container { position: relative; }
.hero3d-cue { position: absolute; right: var(--gutter); bottom: 0; }
.hero3d-scrim { background: linear-gradient(90deg, rgba(26,0,8,.92) 0%, rgba(26,0,8,.7) 32%, rgba(26,0,8,.1) 62%, transparent 80%); will-change: opacity; }
.hero3d-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(26,0,8,.6) 0%, transparent 22%, transparent 70%, rgba(26,0,8,.85) 100%); }

@media (max-width: 900px) { .hero3d-map { left: 0; } .hero3d-cue { display: none; } }

/* Home v3 */
.textured { position: relative; isolation: isolate; }
.textured::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .25 0 0 0 0 .16 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(176,140,90,.08), transparent 70%),
    radial-gradient(ellipse 80% 70% at 0% 100%, rgba(90,70,45,.07), transparent 70%); }
.textured .field-lines { position: absolute; inset: 8% var(--gutter); z-index: -1; pointer-events: none; opacity: .5;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(46,0,16,.12) calc(50% - .5px), rgba(46,0,16,.12) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(180deg, transparent calc(33.33% - .5px), rgba(46,0,16,.08) calc(33.33% - .5px), rgba(46,0,16,.08) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(46,0,16,.08) calc(66.66% - .5px), rgba(46,0,16,.08) calc(66.66% + .5px), transparent calc(66.66% + .5px));
  border: 1px solid rgba(46,0,16,.08); }
.textured .field-lines i { position: absolute; width: 7px; height: 7px; border-radius: 50%; opacity: .5; }

/* After Hours: slim band over a photograph */
.ah-slim { position: relative; overflow: hidden; isolation: isolate; }
.ah-slim .bg { position: absolute; inset: -20% 0; z-index: -2; }
.ah-slim .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ah-slim::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26,0,8,.97) 0%, rgba(26,0,8,.9) 38%, rgba(26,0,8,.55) 70%, rgba(26,0,8,.3) 100%); }
.ah-slim { --accent: var(--bone-w); }
.ah-slim .bg img { filter: saturate(.55); }
[data-ground="slate"] { --bg: #262324; --fg: var(--bone); --fg-2: rgba(244,236,224,.7); --line: rgba(244,236,224,.2); --accent: var(--bone-w); }
.ah-slim .inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(36px, 4.5vw, 56px); }
.ah-slim .title { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.ah-slim .eyebrow { margin-bottom: 10px; }
.ah-slim p.body { margin: 8px 0 0; }
.ah-slim .btn-row { margin: 0; }

/* ═══ Framework (combined with Readout) ═════════════════ */
.sig-stack { position: relative; padding-bottom: 8vh; }
.sig-card { position: sticky; top: calc(var(--header-h) + 20px + var(--i) * 16px); height: min(58svh, 480px); margin-bottom: 7vh; }
.sig-inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; padding: clamp(26px, 3.6vw, 52px); color: var(--bone); position: relative; overflow: hidden; transform-origin: 50% 0; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); will-change: transform, filter; }
.sig-inner::before { content: ""; position: absolute; right: -12%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(244,236,224,.18); }
.sig-inner::after { content: ""; position: absolute; right: -2%; top: -12%; width: 50%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(244,236,224,.16); }
.sig-inner .pn { font-family: var(--mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.sig-inner .pname { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3rem, 7vw, 6rem); line-height: .88; margin: 14px 0 0; letter-spacing: -.02em; }
.sig-inner .pphrase { font-family: var(--mono); font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; margin-top: 18px; opacity: .85; }
.sig-inner .left { display: flex; flex-direction: column; justify-content: space-between; }
.sig-inner .right { display: flex; align-items: flex-end; position: relative; z-index: 1; }
.sig-inner .right p { margin: 0; font-size: 17px; line-height: 1.55; opacity: .9; max-width: 34ch; }
@media (max-width: 800px) { .sig-card { position: relative; top: auto; height: auto; margin-bottom: 16px; } .sig-inner { grid-template-columns: 1fr; min-height: 340px; } }
.deck.two { aspect-ratio: 6 / 5; }
.deck.two .sheet[data-pos="1"] { transform: translate3d(8%,-8%,0) rotate(4deg) scale(.94); }

/* ═══ How It Works: chapters ════════════════════════════ */
.seam { height: 34vh; background: linear-gradient(180deg, var(--from), var(--to)); }
.seam.seam-sm { height: 14vh; }
.chapter { display: grid; grid-template-columns: auto minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 52px); align-items: end; border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 36px); margin-bottom: clamp(48px, 7vw, 96px); }
.chapter .ch-num { font-family: var(--serif); font-style: italic; font-size: clamp(4.5rem, 10vw, 9rem); line-height: .72; color: var(--accent); min-width: 1.1em; }
.chapter .title { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.chapter .eyebrow { margin-bottom: 18px; }
.chapter .lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; } }
.toc { list-style: none; padding: 0; margin: clamp(48px, 7vw, 88px) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.toc li + li { border-left: 1px solid var(--line); }
.toc a { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); transition: color .4s, background-color .5s var(--ease); }
.toc li:first-child a { padding-left: 0; }
.toc a span { font-family: var(--serif); font-style: italic; font-size: 2.2rem; letter-spacing: 0; line-height: 1; color: var(--accent); text-transform: none; }
.toc a:hover { color: var(--fg); }
@media (max-width: 800px) { .toc { grid-template-columns: 1fr 1fr; } .toc li + li { border-left: 0; } .toc a { padding-left: 0; } }
.hiw-hero { min-height: 92svh; }
.sub-head { margin-bottom: 36px; }
.sub-head .eyebrow { margin-bottom: 14px; }
.deliv.deliv-light { background: radial-gradient(ellipse 55% 60% at 70% 62%, rgba(176,140,90,.16) 0%, transparent 70%), var(--bone); }
.deliv-light .sheet { box-shadow: 0 50px 80px -40px rgba(46,0,16,.45); }
.deliv-light .sheet[data-pos="1"] { filter: brightness(.8); }
.ch-rail { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 150; display: flex; flex-direction: column; gap: 16px; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease), color .5s var(--ease); color: var(--bone); }
.ch-rail.show { opacity: 1; pointer-events: auto; }
.ch-rail.on-light { color: var(--cab); }
.ch-rail a { display: flex; align-items: center; gap: 10px; min-height: 22px; }
.ch-rail i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; opacity: .55; transition: transform .4s var(--ease), background-color .4s, opacity .4s; }
.ch-rail span { font-family: var(--serif); font-style: italic; font-size: 15px; opacity: 0; transform: translateX(-4px); transition: opacity .4s, transform .4s var(--ease); }
.ch-rail a.on i { background: currentColor; opacity: 1; transform: scale(1.3); }
.ch-rail a.on span, .ch-rail a:hover span { opacity: 1; transform: none; }
@media (max-width: 1180px) { .ch-rail { display: none; } }

/* Shared backdrop (How It Works): one background eases between chapter colors */
.backdrop { position: fixed; inset: 0; z-index: -1; background-color: var(--night); transition: background-color 1.1s cubic-bezier(.45, 0, .2, 1); }
.bgf[data-ground] { background: transparent !important; }
.bgf[data-ground] { transition: color .9s var(--ease); }

/* Slim signature strips */
.sig-card { height: clamp(120px, 19vh, 176px); margin-bottom: 3.5vh; top: calc(var(--header-h) + 20px + var(--i) * 12px); }
.sig-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 24px; padding: 0 clamp(22px, 3vw, 44px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.8); }
.sig-inner::before { width: 26%; right: -4%; top: -60%; }
.sig-inner::after { width: 18%; right: 2%; top: -40%; }
.sig-inner .left { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 22px; }
.sig-inner .pname { font-size: clamp(2rem, 3.6vw, 3.2rem); margin: 0; }
.sig-inner .pphrase { margin: 0; align-self: center; }
.sig-inner .right { align-items: center; }
.sig-inner .right p { font-size: 15.5px; }
@media (max-width: 800px) { .sig-inner { grid-template-columns: 1fr; padding: 22px; gap: 8px; min-height: 0; } .sig-inner .left { flex-direction: column; gap: 6px; } }

/* Field Map sheet: abstract constellation */
.constel { position: relative; flex: 1; min-height: 0; }
.constel canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Deliverable descriptions always open, with what each includes */
.deliv-light .deliv-list .d { grid-template-rows: 1fr; }
.deliv-light .deliv-list .d > span { padding-top: 8px; display: block; }
.deliv-light .deliv-list button { opacity: .62; }
.deliv-light .deliv-list button.on { opacity: 1; }
.deliv-list .inc { list-style: none; margin: 12px 0 4px; padding: 0; display: grid; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.deliv-list .inc li { border: 0 !important; padding-left: 16px; position: relative; }
.deliv-list .inc li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--accent); }

/* ═══ Engagements: expanding tier cards ═════════════════ */
.tier-panel[data-expand] { cursor: pointer; transition: transform .5s var(--ease), border-color .4s; }
.tier-panel[data-expand]:hover { transform: translateY(-6px); border-color: var(--accent); }
.tier-panel .next b { font-family: var(--mono); font-size: 14px; }
.tier-shade { position: fixed; inset: 0; z-index: 265; background: rgba(26,0,8,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s var(--ease); }
.tier-shade.open { opacity: 1; }
.tier-modal { position: fixed; z-index: 270; overflow: hidden; background: var(--cab); color: var(--bone); --fg: var(--bone); --fg-2: rgba(244,236,224,.7); --line: rgba(244,236,224,.2); --accent: var(--rose-lt);
  border: 1px solid var(--line); transition: top .75s var(--ease-io), left .75s var(--ease-io), width .75s var(--ease-io), height .75s var(--ease-io); box-shadow: 0 60px 120px -40px rgba(0,0,0,.8); }
.tier-modal.feature { background: var(--bone); color: var(--cab); --fg: var(--cab); --fg-2: var(--wine); --line: rgba(46,0,16,.18); --accent: var(--rose); }
.tm-body { height: 100%; overflow-y: auto; padding: clamp(28px, 4vw, 64px); opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.tier-modal.open .tm-body { opacity: 1; transform: none; transition-delay: .42s; }
.tm-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 28px; border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 36px; }
.tm-head .tn { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 8vw, 7rem); line-height: .8; color: var(--accent); }
.tm-head h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1; margin: 0; }
.tm-head .dur { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); }
.tm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.tm-grid > div { border-top: 1px solid var(--line); padding-top: 18px; }
.tm-grid .tm-l { color: var(--accent); margin: 0 0 12px; font-size: 11px; }
.tm-grid p { margin: 0; color: var(--fg-2); font-size: 16px; }
.tm-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15.5px; color: var(--fg-2); }
.tm-grid ul li { padding-left: 16px; position: relative; }
.tm-grid ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 1px; background: var(--accent); }
.tm-next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(36px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); }
.tm-next .mono { color: var(--fg-2); font-size: 11px; }
.tm-close { position: absolute; top: 18px; right: 22px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; opacity: 0; transition: opacity .4s; }
.tm-close span { font-size: 20px; letter-spacing: 0; }
.tier-modal.open .tm-close { opacity: 1; transition-delay: .5s; }
@media (max-width: 900px) { .tm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tm-grid { grid-template-columns: 1fr; } }

/* ═══ Engagements: questions with an at-a-glance infographic card ═══ */
.faq-stage .faq details { border-color: var(--line); transition: opacity .6s var(--ease); }
.faq-glow { position: absolute; left: 0; top: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(168,85,104,.14) 0%, rgba(168,85,104,.05) 40%, transparent 68%); opacity: 0; transition: opacity .8s var(--ease); will-change: transform; }
.faq-stage:hover .faq-glow { opacity: 1; }
.faq-stage > .container { position: relative; z-index: 1; }
.faq-left { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-card { margin-top: 36px; border: 1px solid var(--line); background: rgba(237,227,212,.55); padding: 22px 24px 24px; max-width: 420px; }
.fc-top { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.fc-top .cur { display: inline-block; font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: .8; color: var(--accent); }
.fc-top .of { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--fg-2); }
.fc-top .fc-label { margin-left: auto; font-size: 10px; color: var(--fg-2); }
.fc-viz { position: relative; aspect-ratio: 16 / 10; margin: 14px 0 6px; }
.fc-viz svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; transition: opacity .45s var(--ease); }
.fc-viz svg.on { opacity: 1; transition: opacity .6s var(--ease) .15s; }
.fc-viz text { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; fill: var(--fg-2); }
.fc-viz text.big { font-family: var(--serif); font-style: italic; font-size: 34px; letter-spacing: 0; text-transform: none; fill: var(--fg); }
.fc-viz .ln { fill: none; stroke: var(--fg); stroke-opacity: .35; stroke-width: 1; }
.fc-viz .draw { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease) .25s; }
.fc-viz svg.on .draw { stroke-dashoffset: 0; }
.fc-viz .pop { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--ease); transition-delay: calc(.2s + var(--d, 0) * 1ms); }
.fc-viz svg.on .pop { transform: scale(1); }
.fc-cap { margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.35; min-height: 2.7em; transition: opacity .35s var(--ease); }
.fc-cap.swap { opacity: 0; }
.faq-hint { margin-top: 18px; font-size: 10.5px; color: var(--fg-2); }
@media (max-width: 900px) { .faq-left { position: static; } .faq-card { max-width: none; } }

.faq-big { counter-reset: q; }
.faq-big details { position: relative; counter-increment: q; }
.faq-big details::before { content: ""; position: absolute; left: -22px; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: 50% 0; transition: transform .8s var(--ease-io); }
.faq-big details.is-open::before { transform: scaleY(1); }
.faq-big.has-open details:not(.is-open) { opacity: .3; }
.faq-big.has-open details:not(.is-open):hover { opacity: .75; }
.faq-big summary { grid-template-columns: 54px minmax(0, 1fr) 30px; transition: padding .8s var(--ease), font-size .8s var(--ease), color .8s var(--ease); }
.faq-big summary::before { content: counter(q, decimal-leading-zero); font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--accent); align-self: center; }
.faq-big details.is-open summary { padding: 44px 0 20px; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.05; }
.faq-big details.is-open summary::after { transform: rotate(135deg); color: var(--accent); font-size: 28px; }
.faq-big .ans { overflow: hidden; padding: 0 0 48px 54px; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--fg-2); }
.faq-big .ans .aw { display: inline-block; opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .65s var(--ease); transition-delay: calc(.3s + var(--i) * 26ms); }
.faq-big details.is-open .ans .aw { opacity: 1; transform: none; }
.faq-big .ans::before { content: ""; display: block; width: 64px; height: 1px; background: var(--accent); margin-bottom: 20px; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .25s; }
.faq-big details.is-open .ans::before { transform: scaleX(1); }

/* ═══ After Hours ═══════════════════════════════════════ */
/* Hero: nightfall in three beats */
.ah-hero { position: relative; height: 150vh; padding: 0; }
.ah-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: flex-end; }
.ah-photo { position: absolute; inset: 0; will-change: transform; }
.ah-photo img { width: 100%; height: 100%; object-fit: cover; }
.ah-warm { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(240,170,90,.32) 0%, rgba(200,110,80,.16) 40%, rgba(26,0,8,.45) 100%); mix-blend-mode: soft-light; will-change: opacity; }
.ah-fall { position: absolute; left: 0; right: 0; top: -100%; height: 200%; will-change: transform;
  background: linear-gradient(180deg, rgba(26,0,8,.93) 0%, rgba(26,0,8,.9) 46%, rgba(26,0,8,.55) 58%, rgba(26,0,8,0) 76%); }
.ah-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(26,0,8,.75) 100%); }
.ah-bokeh { position: absolute; inset: 0; opacity: 0; will-change: opacity; pointer-events: none; z-index: 1; }
.ah-bokeh i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,210,150,.55) 0%, rgba(255,180,120,.2) 40%, transparent 70%); animation: bk 11s ease-in-out infinite alternate; }
@keyframes bk { to { transform: translate3d(0, -30px, 0) scale(1.18); } }
.ah-time { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 5vh); z-index: 2; display: grid; justify-items: end; gap: 4px; color: var(--bone); }
.ah-time .t { font-family: var(--serif); font-style: italic; font-size: clamp(3.6rem, 8vw, 7.5rem); line-height: .85; font-variant-numeric: tabular-nums; }
.ah-time .lbl, .ah-time .ampm { font-size: 10.5px; color: rgba(244,236,224,.7); }
.ah-copy { position: relative; z-index: 2; padding-bottom: clamp(40px, 7vh, 88px); }
.ah-title { display: flex; flex-direction: column; font-size: clamp(3rem, 7.6vw, 8rem); }
.ah-title .l1 { display: block; will-change: transform, opacity; }
.ah-title .l2 { display: block; position: relative; padding-left: 10vw; }
.ah-title .l2i { display: inline-block; color: #F0C9A0; will-change: letter-spacing; }
.ah-title .l2i .ch { display: inline-block; opacity: 0; will-change: opacity, transform, filter; }
.ah-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: clamp(26px, 4vw, 48px); will-change: opacity; }
@media (max-width: 800px) { .ah-hero { height: 135vh; } .ah-title .l2 { padding-left: 0; } .ah-time { top: calc(var(--header-h) + 12px); } }

/* What it is: the illustration floats free, filling the pinned area */
.phone-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.pin0-card.phone { background: none; overflow: visible; height: calc(100svh - var(--header-h) - 10vh); min-height: 520px; display: block; }
.pin0-card.phone .pin0-ticks, .pin0-card.phone .pin0-counter { display: none; }
.phone-body { position: relative; height: 100%; }
.phone-notch { display: none; }
.phone .pin0-media { position: absolute; inset: 0; background: none; overflow: visible; }
.phone .pin0-media::after { display: none; }
.phone .pin0-media > .scr { transform: translateY(30px); }
.phone .pin0-media > .scr.on { transform: none; }
.scr { padding: 0; color: var(--cab); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.scr-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--wine); border-bottom: 1px solid rgba(46,0,16,.18); padding-bottom: 14px; }
.scr-stmt { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.12; margin: 20px 0 30px; max-width: 16ch; }
.scr-slider { position: relative; height: 40px; }
.scr-slider .track { position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: rgba(46,0,16,.15); }
.scr-slider .fill { position: absolute; left: 0; top: 19px; height: 2px; width: 60%; background: var(--rose); animation: sl 4.5s var(--ease) infinite; }
.scr-slider .thumb { position: absolute; top: 6px; left: 60%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--cab); box-shadow: 0 0 0 8px rgba(46,0,16,.07); animation: slt 4.5s var(--ease) infinite; }
@keyframes sl { 0%,100% { width: 22%; } 40% { width: 78%; } 70% { width: 64%; } }
@keyframes slt { 0%,100% { left: 22%; } 40% { left: 78%; } 70% { left: 64%; } }
.scr-ends { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--wine); }
.scr-dots { display: flex; gap: 8px; margin-top: 26px; }
.scr-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(46,0,16,.2); }
.scr-dots i.on { background: var(--rose); }
.scr-name { font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .9; margin: 10px 0 0; display: flex; align-items: center; gap: 18px; }
.scr-name i { width: 22px; height: 22px; border-radius: 50%; }
.scr-phrase { font-size: 11px; color: var(--wine); margin: 0; }
.scr-bars { display: grid; gap: 14px; margin-top: 16px; }
.scr-bars span { display: block; height: 16px; background: rgba(46,0,16,.06); }
.scr-bars b { display: block; height: 100%; width: 0; transition: width 1.2s var(--ease); }
.scr.on .scr-bars b { width: var(--w); }
.scr.on .scr-bars span:nth-child(2) b { transition-delay: .08s; } .scr.on .scr-bars span:nth-child(3) b { transition-delay: .16s; }
.scr.on .scr-bars span:nth-child(4) b { transition-delay: .24s; } .scr.on .scr-bars span:nth-child(5) b { transition-delay: .32s; } .scr.on .scr-bars span:nth-child(6) b { transition-delay: .4s; }
.scr-note { font-size: 16px; color: var(--wine); margin: 10px 0 0; font-family: var(--serif); font-style: italic; }
.scr-table svg { width: min(100%, 460px); align-self: center; color: var(--cab); }
.scr-table text { font-family: var(--mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; fill: var(--cab); }
.scr-table .lk { fill: none; stroke: var(--rose); stroke-width: 1; stroke-opacity: .6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.scr-table.on .lk { stroke-dashoffset: 0; }
.phone-grid .step h3 { font-family: var(--serif); font-style: italic; font-weight: 400; }
@media (max-width: 900px) { .pin0-card.phone { display: block; position: relative; top: auto; height: 560px; margin-bottom: 40px; } }

/* Photos from the night: prints fan out as a softly blurred background, text sharp in front */
.scatter { position: relative; height: 240vh; padding: 0; background: radial-gradient(ellipse 70% 60% at 50% 55%, #3a0a1a 0%, var(--night) 75%); }
.scatter-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.scatter-veil { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse 38% 30% at 50% 52%, rgba(26,0,8,.82) 0%, rgba(26,0,8,.55) 50%, rgba(26,0,8,0) 100%); }
.scatter-copy { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: var(--header-h) var(--gutter) 0; pointer-events: none; z-index: 4; }
.scatter-copy .display { font-size: clamp(2.8rem, 6.4vw, 6.4rem); max-width: 14ch; margin: 0 auto; text-shadow: 0 6px 50px rgba(26,0,8,.9); will-change: opacity, transform; }
.print-fig { position: absolute; left: 50%; top: 52%; width: clamp(160px, 15.5vw, 260px); margin: 0; z-index: 1; will-change: transform; cursor: pointer; }
.print-fig:hover { z-index: 2; }
.print { background: #FBF6EE; padding: 10px 10px 34px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.75); transform: translate(-50%, -50%); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.print-fig:hover .print { transform: translate(-50%, -50%) scale(1.1) rotate(0.001deg); box-shadow: 0 50px 80px -24px rgba(0,0,0,.9); }
.print img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.print figcaption { position: absolute; left: 12px; bottom: 9px; font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--wine); }
@media (max-width: 800px) {
  .scatter { height: auto; }
  .scatter-stage { position: relative; height: 110svh; }
  .print-fig { width: 42vw; }
}

/* ═══ Origin ════════════════════════════════════════════ */
/* I · two rings drift together; the overlap is the name */
.venn { position: relative; height: 230vh; padding: 0; }
.venn-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.venn-photo { position: absolute; inset: 0; opacity: .1; will-change: opacity, transform; }
.venn-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: grayscale(1) contrast(1.05) brightness(.62); }
.venn-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 52%, rgba(26,0,8,.35) 0%, rgba(26,0,8,.85) 100%); }
.venn-intro { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 5vh); z-index: 3; will-change: opacity, transform; }
.venn-intro .title { max-width: 16ch; }
.vc { position: absolute; left: 50%; top: 62%; width: min(46vh, 33vw); aspect-ratio: 1; margin: calc(min(46vh, 33vw) / -2) 0 0 calc(min(46vh, 33vw) / -2); border-radius: 50%; z-index: 2; will-change: transform, opacity; display: grid; place-items: center; }
.vc::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 1px dashed rgba(240,201,160,.35); animation: orbit 60s linear infinite; pointer-events: none; }
.vc-r::before { animation-direction: reverse; }
.vc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(244,236,224,.5); box-shadow: 0 0 80px rgba(168,85,104,.25), inset 0 0 60px rgba(26,0,8,.6); pointer-events: none; }
@keyframes orbit { to { transform: rotate(360deg); } }
.vc-win { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.vc-img { position: absolute; left: 0; top: 0; max-width: none; object-fit: cover; object-position: center 35%; filter: grayscale(1) contrast(1.08) brightness(.8); will-change: transform; }
.vc-win::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(26,0,8,.55) 0%, rgba(26,0,8,.2) 60%, rgba(26,0,8,.35) 100%), rgba(168,85,104,.18); mix-blend-mode: normal; }
.vc-in { position: relative; z-index: 1; max-width: 62%; text-align: center; will-change: opacity; text-shadow: 0 2px 24px rgba(26,0,8,.9); }
.vc-in .mono { font-size: 10px; color: rgba(244,236,224,.65); }
.vc-t { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.05; margin: 10px 0 10px; color: var(--bone); }
.vc-d { font-size: 14px; color: rgba(244,236,224,.7); margin: 0; }
.venn-root { position: absolute; top: 62%; z-index: 3; margin: 0; display: grid; gap: 6px; opacity: 0; will-change: opacity, transform; }
.venn-root .mono { font-size: 10px; color: rgba(244,236,224,.6); }
.venn-root em { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); color: #F0C9A0; }
.venn-root-l { left: var(--gutter); text-align: left; }
.venn-root-r { right: var(--gutter); text-align: right; }
.venn-name { position: absolute; left: 0; right: 0; top: 62%; transform: translateY(-50%); z-index: 4; text-align: center; opacity: 0; will-change: opacity, transform; pointer-events: none; }
.venn-name .display { font-size: clamp(3.4rem, 8vw, 8rem); text-shadow: 0 6px 60px rgba(26,0,8,.9); }
.venn-line { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.5rem); color: rgba(244,236,224,.85); margin: 18px 0 0; }
@media (max-width: 800px) { .venn { height: 200vh; } .vc { width: 64vw; margin: -32vw 0 0 -32vw; } .vc-d { display: none; } .venn-root { top: auto; bottom: 10vh; } }

/* II · what they noticed */
.noticed { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: 12px; }
.noticed-q { font-size: clamp(2.4rem, 4.8vw, 4.8rem); line-height: 1; }
.noticed-img { aspect-ratio: 4 / 5; }
.two-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); }
.two-sides > div { padding: 28px 32px 0 0; }
.two-sides > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.two-sides .mono { color: var(--accent); font-size: 11px; display: block; margin-bottom: 14px; }
.two-sides p { color: var(--fg-2); margin: 0; }
.two-sides .sub { color: var(--fg); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 10px; }
@media (max-width: 800px) { .noticed, .two-sides { grid-template-columns: 1fr; } .two-sides > div + div { border-left: 0; padding-left: 0; } }

/* III · a full-height timeline */
.reel-tall .panel { max-height: none; }
.tl-panel { width: clamp(320px, 42vw, 680px); padding: 0; color: var(--bone); }
.tl-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,0,8,.1) 35%, rgba(26,0,8,.88) 100%); }
.tl-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(22px, 3vw, 40px); }
.tl-cap .mono { font-size: 10.5px; color: #F0C9A0; }
.tl-cap h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1; margin: 10px 0 10px; }
.tl-cap p { margin: 0; color: rgba(244,236,224,.8); max-width: 38ch; font-size: 15.5px; }
.tl-text { background: var(--bone); color: var(--cab); }
.tl-text::after { display: none; }
.tl-text .tl-cap { top: 0; display: flex; flex-direction: column; justify-content: center; }
.tl-text .tl-cap .mono { color: var(--rose); } .tl-text .tl-cap p { color: var(--wine); }
.tl-dots { display: flex; gap: 12px; margin-top: 30px; }
.tl-dots i { width: 22px; height: 22px; border-radius: 50%; }

/* IV · founders photo */
.founders-photo { margin: 0 0 clamp(36px, 5vw, 64px); aspect-ratio: 21 / 9; overflow: hidden; position: relative; }
.founders-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.08); }
.founders-photo figcaption { position: absolute; left: 18px; bottom: 14px; color: var(--bone); font-size: 10.5px; }
.js .founders-photo[data-develop] img { filter: grayscale(1) blur(14px) brightness(1.5); transform: scale(1.06); transition: filter 2.2s var(--ease), transform 2.2s var(--ease); }
.js .founders-photo[data-develop].in img { filter: grayscale(1) contrast(1.08); transform: none; }

/* ═══ Footer ═══════════════════════════════════════════ */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(110px, 14vw, 190px) 36px;
  background: radial-gradient(ellipse 80% 70% at 70% 20%, #2a0612 0%, var(--night) 70%); }
.foot-constel { position: absolute; inset: 0; z-index: -2; opacity: .28; }
.foot-constel canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot-fade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--night) 0%, rgba(26,0,8,.2) 30%, rgba(26,0,8,.55) 70%, var(--night) 100%); }
.foot-inner { will-change: transform, opacity; }
.foot-cta { max-width: 1100px; }
.foot-big { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.4rem, 5.2vw, 5.4rem); line-height: .95; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.foot-big em { color: var(--rose-lt); }
.foot-cta .btn-row { margin-top: clamp(32px, 4vw, 52px); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: clamp(90px, 11vw, 150px); padding-top: 40px; border-top: 1px solid var(--line); }
.foot-grid h4 { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 20px; }
.foot-brand .wm { font-size: 34px; }
.foot-brand .wm small { color: var(--fg-2); }
.foot-brand p { color: var(--fg-2); font-size: 15px; max-width: 34ch; margin: 22px 0 0; }
.foot-col ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-col a { display: flex; align-items: baseline; gap: 14px; padding: 6px 0; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.2; color: var(--fg); position: relative; transition: color .4s, transform .5s var(--ease); }
.foot-col a span { font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: .16em; color: var(--rose-lt); min-width: 18px; }
.foot-col a::after { content: ""; position: absolute; left: 32px; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); opacity: .5; }
.foot-col a:hover { transform: translateX(6px); }
.foot-col a:hover::after { transform: scaleX(1); }
.foot-clock { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1; margin: 0; display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.foot-clock small { font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: .2em; color: var(--fg-2); }
.foot-coords { font-size: 10px; color: var(--fg-2); margin: 14px 0 0; }
.foot-mail { font-size: 15px; color: var(--fg-2); margin: 18px 0 0; }
.foot-pig { display: flex; height: 3px; margin-top: clamp(64px, 8vw, 110px); }
.foot-pig i { flex: 1; transition: flex 1s var(--ease); }
.foot-pig:hover i { flex: .6; }
.foot-pig:hover i:hover { flex: 3; }
.site-footer .foot-base { margin-top: 26px; align-items: center; }
.to-top { font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg); display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.to-top span { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; font-size: 14px; letter-spacing: 0; transition: transform .5s var(--ease), background-color .4s, color .4s; }
.to-top:hover span { transform: translateY(-4px); background: var(--bone); color: var(--night); }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col a[aria-current="page"] { color: var(--rose-lt); }
.foot-cta .btn { min-height: 44px; padding: 0 20px; font-size: 11px; letter-spacing: .2em; }
.foot-cta .btn-row { gap: 10px; }
