/* ─────────────────────────────────────────────────────────────────────────────
   JOINT VENTURE — style.css
   No colour and no word lives here: every token is written onto :root once at
   boot from site.config.js. Per-frame values are written straight onto the
   element that uses them, never as custom properties on :root.
   Breakpoints: 1100 · 820 · 760 · 480.
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Ground ── */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--d);
  font-family: var(--f-body, system-ui), system-ui, sans-serif;
  font-size: clamp(16px, 0.95rem + 0.2vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
::selection { background: var(--a); color: var(--p); }

/* The mounts stay hidden until their content exists. Never the [hidden] attribute:
   any layout class outranks it and an "empty" page would secretly scroll. */
.is-off { display: none !important; }

.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 500;
  padding: 10px 16px; border-radius: 999px;
  background: var(--d); color: var(--p); text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

/* ── Type ── five sizes */
.t-giant { font-family: var(--f-display), Georgia, serif; font-variation-settings: var(--display-fvs); font-weight: var(--display-wt, 400); line-height: .95; letter-spacing: -0.03em; }
.t-h1    { font-family: var(--f-display), Georgia, serif; font-variation-settings: var(--display-fvs); font-weight: var(--display-wt, 400); font-size: clamp(34px, 2rem + 2.6vw, 72px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
.t-h2    { font-family: var(--f-display), Georgia, serif; font-variation-settings: var(--display-fvs); font-weight: var(--display-wt, 400); font-size: clamp(28px, 1.4rem + 1.2vw, 40px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
.t-small { font-size: clamp(12px, 0.7rem + 0.15vw, 14px); line-height: 1.5; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin: 0 0 24px; color: var(--mute); }
.it      { font-family: var(--f-italic), Georgia, serif; font-style: italic; font-weight: 400; }
.tnum    { font-variant-numeric: lining-nums tabular-nums; }

/* Clipping rows for letters that rise in and out (yPercent 112 → 0). */
.rw  { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .16em; margin: -.06em 0 -.16em; }
.ch  { display: inline-block; will-change: transform; }
.sp  { display: inline-block; width: .28em; }

/* ── Layout ── 12 columns, 8pt spacing */
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 64px); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.sec  { position: relative; padding: clamp(88px, 11vw, 160px) 0; }

/* ── Pills and buttons ── */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid currentColor; font-size: 13px; letter-spacing: .04em;
  text-decoration: none; white-space: nowrap;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--a); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--a); color: var(--a-ink, var(--p)); text-decoration: none;
  font-weight: 500; letter-spacing: .01em;
  transition: background-color .25s cubic-bezier(.32,.72,0,1);
}
.btn:hover { background: var(--a2); }

/* ── The mark ── */
.mark { width: auto; height: 1em; overflow: visible; }
.mark * { fill: none; stroke: currentColor; vector-effect: non-scaling-stroke; }

/* ── Grain ── fixed, opacity .06, NO blend mode (a blend re-composites the
   whole screen every frame). The texture is drawn once by script. */
.grain {
  position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: .06; display: none;
  /* drawn in CSS so it paints with the first frame (a script-drawn texture became the late "largest paint" on phones) */
  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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}
html.has-pal .grain { display: block; }

/* ═══ M1 · The nav ═══ */
#siteNav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 200;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px clamp(16px, 2.4vw, 36px);
  color: var(--d); pointer-events: none;
}
#siteNav > * { pointer-events: auto; }
#siteNav .nav-age { justify-self: start; }
#siteNav .nav-age .short { display: none; }
#siteNav .nav-brand { justify-self: center; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
#siteNav .nav-brand .mark { height: 26px; }
#siteNav .nav-brand span { font-family: var(--f-display), Georgia, serif; font-variation-settings: var(--display-fvs); font-weight: var(--display-wt, 400); font-size: 20px; letter-spacing: -.01em; }
#siteNav .nav-menu { justify-self: end; }
#siteNav .pill { background: var(--bg); }

/* ═══ M15 · The menu ═══ */
#menu {
  position: fixed; inset: 0; z-index: 240; background: var(--d); color: var(--p);
  display: grid; grid-template-rows: auto 1fr auto; padding: 20px clamp(16px, 2.4vw, 36px) 40px;
  clip-path: circle(0 at 50% 50%);
}
#menu .menu-top { display: flex; justify-content: flex-end; }
#menu nav { align-self: center; justify-self: center; text-align: center; }
#menu nav a { display: block; text-decoration: none; font-size: clamp(36px, 6vw, 84px); line-height: 1.1; }
#menu nav a:hover .ch { color: var(--a); }
#menu .menu-foot { text-align: center; opacity: .7; }

/* ═══ M2 · The table ═══ */
#hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
#hero .stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#hero .disc { position: absolute; border-radius: 50%; background: var(--d); overflow: hidden; will-change: transform, opacity; }
#hero .disc-pattern { position: absolute; inset: 0; background-size: 520px 520px; opacity: .12; }
#hero .ring { position: absolute; overflow: visible; max-width: none; will-change: transform, opacity; }
.ring text { fill: var(--a); font-family: var(--f-body), system-ui, sans-serif; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; }
#hero .arc { position: absolute; inset: 0; z-index: 1; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.jar {
  position: absolute; left: 0; top: 0; display: block;
  transform-origin: 50% 50%; will-change: transform, filter;
  -webkit-tap-highlight-color: transparent; outline-offset: 8px;
}
.jar img, .flyer-jar img, .slot-jar img { width: 100%; height: 100%; display: block; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.jar-label { position: absolute; pointer-events: none; }
.arc.is-dragging { cursor: grabbing; }
.arc.is-dragging .jar { cursor: grabbing; }
#hero .hero-cap { position: absolute; left: 0; right: 0; z-index: 2; text-align: center; color: var(--p); pointer-events: none; }
#hero .cap-name, #hero .cap-coll { display: grid; justify-items: center; margin: 0; }
#hero .cap-name > span, #hero .cap-coll > span { grid-area: 1 / 1; white-space: nowrap; }
#hero .cap-name { font-family: var(--f-display), Georgia, serif; font-variation-settings: var(--display-fvs); font-weight: var(--display-wt, 400); font-size: clamp(30px, 1.4rem + 1.8vw, 52px); line-height: 1; letter-spacing: -.02em; }
#hero .cap-coll { margin-top: 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
#hero .hero-cue { position: absolute; left: 0; right: 0; bottom: max(20px, 3.4vh); z-index: 2; margin: 0; text-align: center; color: var(--p); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; pointer-events: none; }
#hero.cue-side .hero-cue { left: clamp(16px, 2.4vw, 36px); right: auto; text-align: left; }

/* ═══ M4 · The gate ═══ */
#gate {
  position: fixed; inset: 0; z-index: 300; background: var(--d); color: var(--p);
  display: grid; place-items: center; padding: 32px 20px; text-align: center;
}
#gate:focus { outline: none; }
#gate .gate-in { display: grid; justify-items: center; gap: 28px; max-width: 520px; }
#gate .gate-brand { display: grid; justify-items: center; gap: 14px; }
#gate .gate-brand .mark { height: 46px; }
#gate .gate-brand h2 { margin: 0; }
#gate p { margin: 0; }
#gate .hold { position: relative; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none; }
#gate .hold svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#gate .hold .track { fill: none; stroke: var(--p); stroke-opacity: .18; stroke-width: 1.5; }
#gate .hold .fill  { fill: none; stroke: var(--a); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
#gate .hold .core { width: 84px; height: 84px; border-radius: 50%; background: var(--p); color: var(--d); display: grid; place-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
/* the focus ring goes round the inner disc, so it can never be mistaken for the progress ring */
#gate .hold:focus-visible { outline: none; }
#gate .hold:focus-visible .core { outline: 2px solid var(--a); outline-offset: 4px; }
#gate .under { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; opacity: .7; }

/* ═══ M5 · The strain sheet ═══ */
#sheet { position: fixed; inset: 0; z-index: 250; }
#sheet .sheet-wash { position: absolute; inset: 0; z-index: 1; }
#sheet .wash { position: absolute; inset: 0; }
#sheet .sheet-body { position: relative; z-index: 2; height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.sheet-inner { min-height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 22px clamp(16px, 3vw, 44px) 32px; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-steps { display: flex; gap: 8px; }
.sheet-steps button, .sheet-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.sheet-close { width: auto; padding: 0 18px; border-radius: 999px; gap: 10px; display: inline-flex; align-items: center; }
.sheet-stage { position: relative; display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center; }
.sheet-title { grid-column: 1 / -1; grid-row: 1; justify-self: center; align-self: center; margin: 0; text-align: center; white-space: nowrap; }
.slot { grid-column: 2; grid-row: 1; position: relative; height: min(58vh, 640px); z-index: 2; }
.slot-jar { position: relative; height: 100%; }
.flank { display: grid; gap: 18px; align-content: end; }
.flank-l { justify-self: start; }
.flank-r { justify-self: end; text-align: right; }
.flank dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .72; margin: 0 0 4px; }
.flank dd { margin: 0; font-size: 17px; }
.flank dl { margin: 0; display: grid; gap: 18px; }
.sheet-foot { display: grid; grid-template-columns: 1fr minmax(0, 620px) 1fr; align-items: end; column-gap: clamp(16px, 3vw, 48px); margin-top: 8px; }
.sheet-mid { display: grid; justify-items: center; gap: 20px; text-align: center; }
.sheet-foot p { margin: 0; }
.sheet-foot .btn { background: var(--sheet-ink); color: var(--sheet-bg); }

#flyer { position: fixed; left: 0; top: 0; z-index: 260; pointer-events: none; transform-origin: 50% 50%; will-change: transform; }
.flyer-jar { position: relative; width: 100%; height: 100%; }

/* ═══ M6 · The manifesto ═══ */
#manifesto .m-text { grid-column: 2 / 12; margin: 0; }
#manifesto .m-text .w { display: inline; }
#manifesto .m-text .acc { color: var(--a); }
#manifesto .m-nums { grid-column: 2 / 12; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(64px, 8vw, 120px); padding-top: 32px; border-top: 1px solid var(--line); }
#manifesto .m-num b { display: block; font-family: var(--f-display), Georgia, serif; font-variation-settings: var(--display-fvs); font-weight: var(--display-wt, 400); font-size: clamp(44px, 2rem + 3vw, 88px); line-height: 1; letter-spacing: -.03em; }
#manifesto .m-num span { display: block; margin-top: 12px; color: var(--mute); }

/* ═══ M7 · The estate ═══ */
#estate { padding: clamp(88px, 11vw, 160px) 0 clamp(64px, 8vw, 120px); }
.estate-pin { position: relative; height: 100vh; height: 100svh; }
.estate-card { position: absolute; inset: 0; z-index: 2; overflow: hidden; clip-path: inset(12% 8% round 28px); will-change: clip-path; }
.estate-card img, .estate-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
.estate-scrim { position: absolute; inset: 0; opacity: 0; }
.estate-head { position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 12%; display: grid; align-content: end; padding: 0 8% 18px; will-change: transform; }
.estate-head .t-h1 { color: var(--d); }
.estate-eyebrow { padding: 0 8%; margin: 0 0 12px; }
.estate-head.is-in { z-index: 3; }
.estate-head.is-in .t-h1 { color: var(--p); }
/* The estate carousel — Lightswind's Stylish Carousel, ported; scroll turns it on desktop */
.carousel-pin { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow-x: clip; padding: 56px 0; }
.carousel { position: relative; display: flex; flex-direction: column; align-items: center; user-select: none; -webkit-user-select: none; outline-offset: 8px; border-radius: 12px; }
.c-frame { position: relative; margin-top: 48px; }
.c-strip { display: flex; width: max-content; will-change: transform; }
.c-slide { flex: 0 0 auto; margin: 0; position: relative; transform-origin: 50% 50%; will-change: transform; }
.c-cap { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: 12px; text-align: center; white-space: nowrap; font-family: var(--f-display), Georgia, serif; font-weight: var(--display-wt, 400); font-size: clamp(20px, 1rem + .8vw, 28px); letter-spacing: -.01em; color: var(--d); }
.c-img { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 1rem; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .35); cursor: pointer; }
.c-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; will-change: filter; }
.c-ring { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--a); pointer-events: none; }
.c-bar { margin-top: 32px; display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); }
.c-dots { display: flex; align-items: center; gap: 6px; }
.c-dot { position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--d); opacity: .35; transition: width .5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .3s; }
.c-dot::before { content: ''; position: absolute; inset: -12px -3px; }
.c-dot.is-on { width: 28px; opacity: 1; }
.c-count { margin: 12px 0 0; font-size: 12px; letter-spacing: .1em; color: var(--mute); }
/* stepped (phones, reduced motion): the component's spring, approximated in CSS */
.carousel.is-stepped .c-strip, .carousel.is-stepped .c-slide { transition: transform .8s cubic-bezier(0.34, 1.3, 0.64, 1); }
.carousel.is-stepped .c-img img, .carousel.is-stepped .c-cap, .carousel.is-stepped .c-ring { transition: filter .3s, opacity .3s; }

/* ═══ M8 · Seed to jar ═══ */
.seed-head { margin-bottom: clamp(40px, 6vw, 80px); }
.seed-stage { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) 80px minmax(0, 6fr); column-gap: clamp(16px, 2vw, 32px); }
.seed-stage .chapter { display: contents; }
.ch-text { grid-column: 1; grid-row: 1; align-self: center; }
.ch-num { display: block; font-size: 13px; letter-spacing: .2em; margin-bottom: 18px; color: var(--mute); }
.ch-title { margin: 0 0 22px; font-size: clamp(44px, 2rem + 4vw, 104px); line-height: .95; }
.ch-copy { margin: 0; max-width: 34ch; }
.ch-fig { grid-column: 3; grid-row: 1; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; max-height: 76vh; justify-self: end; width: 100%; }
.ch-fig img { width: 100%; height: 100%; object-fit: cover; }
.stem-col { grid-column: 2; grid-row: 1; position: relative; align-self: stretch; min-height: 60vh; }
.stem { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stem path { fill: none; stroke: var(--d); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.leaf { position: absolute; width: 30px; height: 20px; margin: -16px 0 0 0; transform-origin: 0% 80%; overflow: visible; }
.leaf path { fill: none; stroke: var(--d); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.seed-pinned .seed-stage { height: 100vh; height: 100svh; align-items: center; padding: 12vh 0; }
.seed-pinned .ch-fig { position: relative; height: 76vh; width: auto; }
.seed-stacked .seed-stage { grid-template-columns: 1fr; }
.seed-stacked .stem-col { display: none; }
.seed-stacked .seed-stage .chapter { display: grid; gap: 24px; margin-bottom: 64px; }
.seed-stacked .ch-text, .seed-stacked .ch-fig { grid-column: auto; grid-row: auto; }
.seed-stacked .ch-fig { justify-self: stretch; max-height: none; }

/* ═══ M9 · The collections ═══ */
.coll { align-items: center; row-gap: 32px; }
.coll + .coll { margin-top: clamp(80px, 10vw, 160px); }
.coll-fig { grid-column: 1 / 7; position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; clip-path: inset(0 0 100% 0); }
.coll-fig > img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.coll-jar { position: absolute; left: 50%; bottom: 9%; width: 36%; transform: translateX(-50%); }
.coll-jar .slot-jar { height: auto; }
/* a soft contact shadow where the jar meets the surface, so it stands rather than floats */
.coll-jar::after { content: ''; position: absolute; left: 4%; right: 4%; bottom: -3%; height: 9%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0)); }
.coll-words { grid-column: 8 / 12; }
.coll.flip .coll-fig { grid-column: 7 / 13; grid-row: 1; }
.coll.flip .coll-words { grid-column: 2 / 6; grid-row: 1; }
.coll-words p { margin: 20px 0 28px; max-width: 38ch; }
.coll-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.coll-list li { border-bottom: 1px solid var(--line); }
.coll-list a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; text-decoration: none; }
.coll-list a::after { content: '\2192'; transition: transform .25s cubic-bezier(.32,.72,0,1); }
.coll-list a:hover::after { transform: translateX(6px); }
.coll-list-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin: 0 0 10px; }

/* ═══ M10 · Club life ═══ */
.club-head { margin-bottom: clamp(40px, 6vw, 72px); }
.cards { position: relative; }
.card {
  position: sticky; top: 12vh; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center;
  min-height: 64vh; padding: clamp(16px, 2vw, 28px); margin-bottom: 8vh;
  background: var(--bg); border: 1px solid var(--line); border-radius: 26px;
  transform-origin: 50% 0%; will-change: transform, filter;
}
.card:last-child { margin-bottom: 0; }
.card figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card .card-n { font-size: 13px; letter-spacing: .2em; color: var(--mute); }
.card h3 { margin: 14px 0 16px; }
.card p { margin: 0; max-width: 36ch; }

/* ═══ M11 · How to join ═══ */
.join-grid { align-items: start; }
.rail { grid-column: 1 / 5; position: sticky; top: 22vh; display: grid; gap: 22px; }
.rail-seg { display: grid; grid-template-columns: 44px 1fr; align-items: center; column-gap: 14px; row-gap: 10px; }
.rail-seg .n { font-size: 13px; letter-spacing: .14em; transition: color .3s; }
.rail-seg.is-on .n { color: var(--a); }
.rail-seg .bar { grid-column: 1 / -1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.rail-seg .bar i { position: absolute; inset: 0; background: var(--d); transform: scaleX(0); transform-origin: 0 50%; }
.join-steps { grid-column: 6 / 13; }
.join-step { min-height: 70vh; display: grid; align-content: center; border-top: 1px solid var(--line); padding: 48px 0; }
.join-step .n { font-size: 13px; letter-spacing: .2em; color: var(--mute); transition: color .3s; }
.join-step.is-on .n { color: var(--a); }
.join-step h3 { margin: 16px 0 18px; }
.join-step p { margin: 0; max-width: 40ch; }

/* ═══ M12 · Questions ═══ */
.faq-list { grid-column: 2 / 12; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  width: 100%; text-align: left; padding: 26px 20px; overflow: hidden; transition: color .3s;
}
.faq-q .ink { position: absolute; inset: 0; background: var(--d); clip-path: circle(0px at 0 0); z-index: 0; }
.faq-q .q, .faq-q .plus { position: relative; z-index: 1; }
.faq-q .plus { width: 18px; height: 18px; flex: 0 0 auto; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .45s cubic-bezier(.32,.72,0,1); }
.faq-q .plus::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q { color: var(--p); }
.faq-item.is-open .faq-q .plus::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.32,.72,0,1); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 22px 20px 30px; max-width: 64ch; }

/* ═══ M13 · Apply ═══ */
#apply { position: relative; background: var(--d); color: var(--p); overflow: hidden; padding: 0 0 clamp(88px, 10vw, 140px); }
.apply-bg { position: relative; height: 70vh; min-height: 420px; }
.apply-bg img, .apply-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.apply-bg::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: var(--apply-fade, 40%); background: linear-gradient(to bottom, var(--d-0), var(--d)); }
.apply-disc { position: absolute; left: 50%; top: 70vh; width: max(1100px, 118vw); aspect-ratio: 1; margin-left: calc(max(1100px, 118vw) / -2); border-radius: 50%; background: var(--d2); will-change: transform; }
.apply-ring { position: absolute; inset: 0; overflow: visible; max-width: none; will-change: transform; }
.apply-body { position: relative; z-index: 2; }
.apply-body .t-h1 { grid-column: 2 / 12; text-align: center; font-size: clamp(44px, 2rem + 5vw, 120px); line-height: .95; }
.apply-intro { grid-column: 3 / 11; text-align: center; margin: 24px auto 0; max-width: 46ch; opacity: .82; }
.form { grid-column: 3 / 11; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.form h3 { grid-column: 1 / -1; margin: 0 0 4px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; opacity: .8; }
.field { display: grid; gap: 8px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; letter-spacing: .04em; opacity: .85; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid var(--p-line);
  border-radius: 0; color: var(--p); appearance: none; -webkit-appearance: none;
}
.field select option { color: var(--d); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-bottom-color: var(--a); box-shadow: 0 1px 0 var(--a); }
.field .err { margin: 0; font-size: 13px; color: var(--p); min-height: 0; }
.field .err:not(:empty)::before { content: '\2014\00a0'; color: var(--a); }
.field[aria-invalid="true"] input, .field[aria-invalid="true"] select { border-bottom-color: var(--a); }
.check { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; }
.check input { appearance: auto; -webkit-appearance: checkbox; width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; padding: 0; border: 0; box-shadow: none; accent-color: var(--a); flex: 0 0 auto; cursor: pointer; }
.check label { cursor: pointer; }
/* autofill must not paint the fields pale blue on the dark table */
.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--p); caret-color: var(--p); -webkit-box-shadow: 0 0 0 1000px var(--d) inset; transition: background-color 9999s ease-out 0s;
}
.check label { font-size: 15px; opacity: 1; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-act { grid-column: 1 / -1; display: grid; justify-items: center; gap: 14px; margin-top: 8px; }
.form-act .btn { min-width: 240px; }
.done { grid-column: 3 / 11; text-align: center; margin-top: 48px; }
.done p { margin: 0 auto; max-width: 40ch; }
.done .demo { margin-top: 14px; font-size: 12px; opacity: .7; }

/* ═══ M15 · Footer ═══ */
#footer { background: var(--d2); color: var(--p); padding: clamp(72px, 8vw, 120px) 0 32px; overflow: hidden; }
.foot-word { display: block; text-align: center; white-space: nowrap; margin: 0 0 clamp(48px, 6vw, 88px); }
.foot-cols { row-gap: 40px; }
.foot-col { grid-column: span 4; }
.foot-col h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; opacity: .7; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-col .demo-tag { font-size: 11px; opacity: .6; margin-left: 6px; }
.foot-law { margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--p-line); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.age-mark { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 15px; font-weight: 600; }
.foot-law p { margin: 0; }
.foot-law .copy { opacity: .7; }

/* ═══ M17 · Breakpoints ═══ */
@media (max-width: 1100px) {
  #manifesto .m-text, #manifesto .m-nums, .faq-list { grid-column: 1 / -1; }
  .coll-words { grid-column: 8 / 13; }
  .coll.flip .coll-words { grid-column: 1 / 6; }
  .form, .apply-intro, .done { grid-column: 2 / 12; }
}
@media (max-width: 820px) {
  #siteNav .nav-age .long { display: none; }
  #siteNav .nav-age .short { display: inline; }
  #siteNav .nav-brand span { display: none; }
  #manifesto .m-nums { grid-template-columns: 1fr; gap: 28px; }
  .coll-fig, .coll.flip .coll-fig, .coll-words, .coll.flip .coll-words { grid-column: 1 / -1; grid-row: auto; }
  .card { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; margin-bottom: 24px; }
  .rail { grid-column: 1 / -1; position: sticky; top: 0; z-index: 3; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 0; background: var(--bg); }
  .rail-seg { grid-template-columns: 1fr; }
  .rail-seg .t { display: none; }
  .join-steps { grid-column: 1 / -1; }
  .join-step { min-height: 0; padding: 40px 0; }
  .form, .apply-intro, .done, .apply-body .t-h1 { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; }
  .foot-col { grid-column: 1 / -1; }
  .foot-law { grid-template-columns: 1fr; }
  .sheet-stage { grid-template-columns: 1fr; row-gap: 24px; }
  .sheet-title { grid-column: 1; grid-row: 1; white-space: normal; }
  .slot { grid-column: 1; grid-row: 2; height: 46vh; justify-self: center; }
  .sheet-foot { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .sheet-mid { grid-column: 1 / -1; grid-row: 1; }
  .flank-l { grid-column: 1; grid-row: 2; }
  .flank-r { grid-column: 2; grid-row: 2; }
  .estate-head { height: auto; position: relative; padding: 0 16px 24px; }
  .estate-head.is-in, .estate-scrim { display: none; }
  .estate-eyebrow { padding: 0 16px; }
  .estate-pin { height: auto; }
  .estate-card { position: relative; aspect-ratio: 4 / 5; clip-path: inset(0 0 round 22px); margin: 0 16px; }
}
@media (max-width: 480px) {
  .sec { padding: 80px 0; }
}

/* Reduced motion: every section simply present. */
@media (prefers-reduced-motion: reduce) {
  .estate-card { clip-path: none; }
  .estate-scrim { opacity: 1; }
  .coll-fig { clip-path: none; }
  .stem path { stroke-dashoffset: 0; }
  .card { position: relative; top: auto; }
  .faq-a, .rail-seg .n, .join-step .n, .c-dot, .carousel .c-strip, .carousel .c-slide, .carousel .c-img img, .carousel .c-cap, .carousel .c-ring { transition: none !important; }
}
/* the same, when the engine runs reduced (the ?rm=1 test switch included) */
html.rm .estate-card { clip-path: none; }
html.rm .estate-scrim { opacity: 1; }
html.rm .coll-fig { clip-path: none; }
html.rm .stem path { stroke-dashoffset: 0; }
html.rm .card { position: relative; top: auto; }
html.rm .faq-a, html.rm .rail-seg .n, html.rm .join-step .n, html.rm .c-dot, html.rm .carousel .c-strip, html.rm .carousel .c-slide, html.rm .carousel .c-img img, html.rm .carousel .c-cap, html.rm .carousel .c-ring { transition: none !important; }
