/* ===== MOMENTUM — Justin Ramedia ===== */
@font-face { font-family: "Bricolage Grotesque"; src: url(../fonts/bricolage-grotesque-latin-standard-normal.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

/* =====================================================================
   PALETTE — Ochre & Sage (momentum-palettes/ochre-sage/PALETTE.json)
   This is the ONLY place colours live. To try another earthy palette,
   swap the values in this block (same keys as PALETTE.json: bg, ink,
   muted, accent, accent2, ph, p1–p3 particle colours). The particle
   field (js/field.js) and every page read these variables.
   ===================================================================== */
:root {
  --hub-bg: #16130E;    --hub-ink: #F2EADA;    --hub-muted: #BBAF98;    --hub-accent: #C8963E;    --hub-accent2: #9CAF88;    --hub-ph: #D49176;    --hub-p1: #C8963E;    --hub-p2: #9CAF88;    --hub-p3: #EAD9B5;
  --work-bg: #14100C;   --work-ink: #F4ECDD;   --work-muted: #BFB29C;   --work-accent: #E39A55;   --work-accent2: #A9BC93;   --work-ph: #D49176;   --work-p1: #E39A55;   --work-p2: #C8963E;   --work-p3: #A9BC93;
  --vault-bg: #11141A;  --vault-ink: #F3EAD6;  --vault-muted: #AFB0AA;  --vault-accent: #D9AC4F;  --vault-accent2: #8F9BAA;  --vault-ph: #A9BE9A;  --vault-p1: #D9AC4F;  --vault-p2: #F2E2BC;  --vault-p3: #7D8B9C;
  --signal-bg: #0C0B08; --signal-ink: #EFEDE5; --signal-muted: #A9A69A; --signal-accent: #C9D35E; --signal-accent2: #D27E5E; --signal-ph: #7FB8A6; --signal-p1: #C9D35E; --signal-p2: #D27E5E; --signal-p3: #7FB8A6;
  --crew-bg: #F2E7D2;   --crew-ink: #24150A;   --crew-muted: #5C4430;   --crew-accent: #A4461A;   --crew-accent2: #6B2E14;   --crew-ph: #2F5A48;   --crew-p1: #B4562A;   --crew-p2: #6B2E14;   --crew-p3: #C9962E;   --crew-ondark: #D48E58;
  --teams-bg: #191416;  --teams-ink: #F7EEE2;  --teams-muted: #C1B4AC;  --teams-accent: #E3AB83;  --teams-accent2: #B7A3B1;  --teams-ph: #A9BE9A;  --teams-p1: #E3AB83;  --teams-p2: #B7A3B1;  --teams-p3: #F3E7D4;
}
/* ===================== end PALETTE ===================== */

/* world → semantic tokens (no raw colours below this line) */
:root, body[data-world="hub"] { --bg: var(--hub-bg); --ink: var(--hub-ink); --muted: var(--hub-muted); --accent: var(--hub-accent); --accent2: var(--hub-accent2); --ph: var(--hub-ph); --line: color-mix(in srgb, var(--hub-ink) 16%, transparent); --panel: color-mix(in srgb, var(--hub-bg) 72%, transparent); }
body[data-world="work"]   { --bg: var(--work-bg); --ink: var(--work-ink); --muted: var(--work-muted); --accent: var(--work-accent); --accent2: var(--work-accent2); --ph: var(--work-ph); --line: color-mix(in srgb, var(--work-ink) 15%, transparent); --panel: color-mix(in srgb, var(--work-bg) 80%, transparent); }
body[data-world="vault"]  { --bg: var(--vault-bg); --ink: var(--vault-ink); --muted: var(--vault-muted); --accent: var(--vault-accent); --accent2: var(--vault-accent2); --ph: var(--vault-ph); --line: color-mix(in srgb, var(--vault-accent) 25%, transparent); --panel: color-mix(in srgb, var(--vault-bg) 78%, transparent); }
body[data-world="signal"] { --bg: var(--signal-bg); --ink: var(--signal-ink); --muted: var(--signal-muted); --accent: var(--signal-accent); --accent2: var(--signal-accent2); --ph: var(--signal-ph); --line: color-mix(in srgb, var(--signal-accent) 20%, transparent); --panel: color-mix(in srgb, var(--signal-bg) 80%, transparent); }
body[data-world="crew"]   { --bg: var(--crew-bg); --ink: var(--crew-ink); --muted: var(--crew-muted); --accent: var(--crew-accent); --accent2: var(--crew-accent2); --ph: var(--crew-ph); --line: color-mix(in srgb, var(--crew-ink) 18%, transparent); --panel: color-mix(in srgb, var(--crew-bg) 86%, transparent); }
body[data-world="teams"]  { --bg: var(--teams-bg); --ink: var(--teams-ink); --muted: var(--teams-muted); --accent: var(--teams-accent); --accent2: var(--teams-accent2); --ph: var(--teams-ph); --line: color-mix(in srgb, var(--teams-accent) 20%, transparent); --panel: color-mix(in srgb, var(--teams-bg) 78%, transparent); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--display); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--accent); color: var(--bg); padding: .6rem 1rem; font-family: var(--mono); text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- canvas / fallback / veil ---------- */
.field { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: none; }
.has-field .field { display: block; }
.fallback-art { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-size: cover; background-position: center; opacity: .55; }
body[data-world="hub"] .fallback-art { background-image: url(../assets/fallback-hub.svg); }
body[data-world="vault"] .fallback-art { background-image: url(../assets/fallback-vault.svg); }
body[data-world="signal"] .fallback-art { background-image: url(../assets/fallback-signal.svg); }
body[data-world="crew"] .fallback-art { background-image: url(../assets/fallback-crew.svg); opacity: .4; }
body[data-world="teams"] .fallback-art { background-image: url(../assets/fallback-teams.svg); }
body[data-world="work"] .fallback-art { background-image: url(../assets/fallback-work.svg); opacity: .45; }
.has-field .fallback-art { display: none; }
.veil { position: fixed; inset: 0; z-index: 90; background: var(--bg); opacity: 0; pointer-events: none; display: grid; place-items: end start; padding: var(--pad); transition: opacity .7s cubic-bezier(.7,0,.3,1); }
.veil-label { font-family: var(--mono); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: .85; margin: 0 0 2rem; }
.leaving .veil { opacity: 1; transition-delay: .25s; }
.leaving .field, .arriving .field { z-index: 95; }
.arriving .veil { opacity: 1; transition: none; }
.arriving.arrived .veil { opacity: 0; transition: opacity 1.1s cubic-bezier(.6,0,.2,1); }

main, .bar, footer { position: relative; z-index: 2; }
main { overflow-x: clip; }
html { overflow-x: hidden; }

/* ---------- top bar ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem var(--pad); font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.bar::before { content: ""; position: absolute; inset: 0 0 -30px; background: linear-gradient(var(--bg), transparent); opacity: .85; z-index: -1; pointer-events: none; }
.mark { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.mark-glyph { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-style: italic; font-size: 1.15rem; letter-spacing: 0; text-transform: none; position: relative; transition: background .3s, color .3s; }
.mark-glyph::after { content: ""; position: absolute; right: -2px; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.6s steps(2) infinite; }
.mark:hover .mark-glyph { background: var(--ink); color: var(--bg); }
@keyframes blink { 50% { opacity: .2; } }
.bar-world { margin: 0; color: var(--muted); }
.bar-world b { color: var(--accent); font-weight: 500; }
.bar-nav { display: flex; align-items: center; gap: 1.4rem; }
.bar-nav a { text-decoration: none; position: relative; }
.bar-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.bar-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--bg); background: var(--ink); border: 0; padding: .65rem 1rem; border-radius: 999px; cursor: pointer; display: inline-flex; gap: .55rem; align-items: center; }
.menu-btn i { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.menu-btn:hover { background: var(--accent); color: var(--bg); }

/* ---------- worlds menu ---------- */
.menu { position: fixed; inset: 0; z-index: 120; background: var(--bg); padding: 6rem var(--pad) 2rem; display: flex; flex-direction: column; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-close { position: absolute; top: 1.1rem; right: var(--pad); font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; background: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1rem; cursor: pointer; }
.menu ol { list-style: none; margin: 0; padding: 0; }
.menu li { border-top: 1px solid var(--line); }
.menu li a { display: grid; grid-template-columns: 5rem 1fr auto; align-items: baseline; gap: 1rem; padding: 1rem 0; text-decoration: none; font-size: clamp(2rem, 6vw, 4.6rem); font-weight: 750; font-stretch: 80%; letter-spacing: -.02em; line-height: 1; transition: color .25s, padding .35s; }
.menu li a:hover, .menu li a:focus-visible { color: var(--c); padding-left: 1rem; }
.menu li small { font-family: var(--mono); font-size: .75rem; font-weight: 400; letter-spacing: .1em; color: var(--muted); }
.menu li em { font-family: var(--serif); font-weight: 400; font-size: .45em; color: var(--muted); }
.menu-foot { margin-top: auto; padding-top: 2rem; font-family: var(--mono); font-size: .78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ---------- meter ---------- */
.meter { position: fixed; right: calc(var(--pad) * .45); top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.meter-track { width: 2px; height: 28vh; background: var(--line); position: relative; overflow: hidden; }
.meter-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.meter span { writing-mode: vertical-rl; }
.meter-val { color: var(--ink); writing-mode: horizontal-tb !important; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor::before { content: ""; position: absolute; width: 34px; height: 34px; left: -17px; top: -17px; border: 1px solid var(--ink); border-radius: 50%; transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s; }
.cursor::after { content: ""; position: absolute; width: 5px; height: 5px; left: -2.5px; top: -2.5px; background: var(--accent); border-radius: 50%; }
.cursor.hover::before { transform: scale(1.7); border-color: var(--accent); }
.cursor.labelled::before { transform: scale(2.6); background: var(--accent); border-color: var(--accent); }
.cursor.down::before { transform: scale(.7); }
.cursor-label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); white-space: nowrap; font-weight: 500; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* ---------- type ---------- */
.eyebrow, .label { font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.4rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.eyebrow::before, .label::before { content: ""; width: 2.2rem; height: 1px; background: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -.03em; line-height: .92; font-stretch: 78%; }
h1 em, h2 em, h3 em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-stretch: 100%; color: var(--accent); }
.wd { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; will-change: transform; }
.lede { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); line-height: 1.45; max-width: 38rem; color: var(--ink); }
.muted { color: var(--muted); }
p { margin: 0 0 1em; }

/* ---------- placeholders: obviously not real ---------- */
.ph { font-family: var(--mono); font-size: .86em; font-weight: 500; font-style: normal; letter-spacing: 0; color: var(--ph); background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--ph) 16%, transparent) 0 4px, transparent 4px 8px); outline: 1px dashed color-mix(in srgb, var(--ph) 70%, transparent); outline-offset: 1px; padding: 0 .3em; border-radius: 2px; white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h1 .ph, h2 .ph, .big .ph { font-size: .62em; vertical-align: .12em; padding: 0 .2em; }
.ph-legend { font-family: var(--mono); font-size: .75rem; color: var(--muted); }

/* ---------- frames (designed-in visual slots) ---------- */
.frame { position: relative; margin: 0; aspect-ratio: 16/10; border: 1px solid var(--line); background:
  radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 22%, transparent) 1px, transparent 1.5px) 0 0/14px 14px,
  color-mix(in srgb, var(--bg) 70%, transparent); display: grid; place-items: center; overflow: hidden; }
.frame::before, .frame::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--accent); }
.frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.frame figcaption { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ph); text-align: center; padding: 1rem; max-width: 80%; }
.frame figcaption b { display: block; color: var(--ink); font-weight: 500; margin-bottom: .4rem; letter-spacing: .06em; }

/* ---------- chapters (scroll-pinned) ---------- */
.chapter { position: relative; min-height: 170vh; }
.chapter.short { min-height: 130vh; }
.pin { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; padding: 6rem var(--pad) 4rem; }
.copy { max-width: 36rem; position: relative; }
.copy.wide { max-width: 52rem; }
.copy h2 { font-size: clamp(2.6rem, 2rem + 4vw, 6.4rem); margin-bottom: 1.6rem; }
.copy p { color: var(--ink); max-width: 33rem; }
.ch-progress { display: block; width: 7rem; height: 2px; background: var(--line); margin-top: 2rem; }
.ch-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.no-field .ch-progress, html:not(.motion) .ch-progress { display: none; }
.chapter-num { font-family: var(--mono); font-size: .76rem; color: var(--accent); letter-spacing: .16em; }

/* stat chapters */
.stat .big { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(4.5rem, 3rem + 7vw, 10rem); line-height: .85; letter-spacing: -.03em; color: var(--accent); display: block; margin-bottom: 1rem; }
.stat h2 { font-size: clamp(1.9rem, 1.5rem + 2.2vw, 3.6rem); }
.stat .ctx { font-size: .95rem; color: var(--muted); }
.has-field .stat .big { -webkit-text-stroke: 1px var(--accent); color: transparent; }

/* hero */
.hero { min-height: 160vh; position: relative; }
.hero .pin { align-items: flex-end; padding-bottom: 12vh; }
.hero h1 { font-size: clamp(3.2rem, 1.6rem + 8.2vw, 11.5rem); line-height: .86; max-width: 14ch; margin-bottom: 2rem; }
.hero .lede { margin-bottom: 2rem; }
.hero-row { display: flex; flex-wrap: wrap; gap: 2rem 4rem; align-items: flex-end; justify-content: space-between; width: 100%; }
.hint { align-items: center; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 1.6rem; flex-wrap: wrap; }
.hint span::before { content: "◦ "; color: var(--accent); }
.scroll-cue { display: inline-flex; align-items: center; gap: .8rem; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* meta grid on case heroes */
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--line); max-width: 70rem; }
.meta div { padding: 1rem 1.2rem 1rem 0; border-bottom: 1px solid var(--line); }
.meta dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.meta dd { margin: 0; font-size: 1rem; line-height: 1.35; }

/* ---------- sections (non-pinned) ---------- */
.section { position: relative; padding: 18vh var(--pad); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: 4rem; }
.section-head h2 { font-size: clamp(2.6rem, 2rem + 4.2vw, 6.8rem); }
.panel { background: var(--panel); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); }

/* world map */
.map { position: relative; height: min(80vh, 760px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map svg.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-lines path { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 4 6; }
.map-node { position: absolute; transform: translate(-50%, -50%); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; width: 15rem; }
.map-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 25%, transparent), 0 0 40px var(--c); transition: transform .4s cubic-bezier(.2,.9,.2,1.3); }
.map-node:hover .map-dot, .map-node:focus-visible .map-dot { transform: scale(1.8); }
.map-num { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.map-name { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); font-weight: 750; font-stretch: 78%; letter-spacing: -.02em; line-height: 1; }
.map-name em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--c); }
.map-sub { font-size: .9rem; color: var(--muted); line-height: 1.3; }
.map-text { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.map-tip { display: none; }
.map-preview { position: absolute; left: 0; bottom: 0; max-width: 24rem; padding: 1.2rem 1.4rem; font-size: .95rem; }
.map-preview .label { margin-bottom: .6rem; }

/* AI workflows */
.flows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; counter-reset: flow; }
.flow { padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.flow h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem); }
.flow .tool { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.ba { display: grid; grid-template-columns: 1fr; gap: .6rem; margin-top: auto; }
.ba div { display: grid; grid-template-columns: 4.5rem 1fr; gap: .8rem; align-items: baseline; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .95rem; }
.ba dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ba dd { margin: 0; }
.ba div:last-child dt { color: var(--accent); }

/* ventures */
.ventures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.venture { padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.venture .frame { aspect-ratio: 4/3; background: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 18%, transparent) 1px, transparent 1.5px) 0 0/14px 14px; }
.venture.panel { background: color-mix(in srgb, var(--bg) 45%, transparent); }
.venture h3 { font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); }
.venture .tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: flex; gap: .6rem; flex-wrap: wrap; }
.venture .tag span + span::before { content: "/ "; color: var(--muted); }
.node-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px var(--accent); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem 5rem; align-items: start; }
.about .frame { aspect-ratio: 4/5; }
.about h2 { font-size: clamp(2.6rem, 2rem + 3.6vw, 6rem); margin-bottom: 2rem; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.about-cols ul { list-style: none; margin: 0; padding: 0; }
.about-cols li { padding: .7rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.about-cols li a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
.about-cols li a:hover, .about-cols li a:focus-visible { text-decoration-color: var(--accent); color: var(--accent); }
/* org-wide adoption highlight (replaced the Speaking list) */

.adopt .label { margin-bottom: .4rem; }
.adopt-big { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3.2rem, 2.4rem + 3vw, 5.6rem); line-height: .9; letter-spacing: -.03em; color: var(--accent); margin: 0 0 .5rem; }
.has-field .adopt-big { -webkit-text-stroke: 1px var(--accent); color: transparent; }
.adopt-head { font-size: 1.05rem; font-weight: 500; margin: 0 0 .6rem; }
.adopt-body { font-size: .95rem; color: var(--muted); margin: 0; }

/* contact */
.contact .pin { flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.contact h2 { font-size: clamp(3rem, 2rem + 6vw, 9rem); max-width: 12ch; margin-bottom: 2.5rem; }
.email { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 1.2rem + 3.6vw, 5rem); color: var(--accent); text-decoration: none; display: inline-block; border-bottom: 2px solid currentColor; line-height: 1.1; word-break: break-all; }
.email:hover { color: var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; padding: 0; list-style: none; }
.links a { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; transition: background .25s, color .25s, border-color .25s; background: var(--panel); }
.links a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* results */
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.result { padding: 2rem 1.5rem 2rem 0; border-bottom: 1px solid var(--line); }
.result b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3.4rem, 2.4rem + 4vw, 7rem); line-height: .9; color: var(--accent); margin-bottom: .6rem; }

/* quote */
.quote { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 3vw, 4.6rem); line-height: 1.05; letter-spacing: -.01em; max-width: 20ch; margin: 0; }
.quote em { color: var(--accent); }
.quote-by { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 2rem; }

/* next world */
.next { display: block; padding: 18vh var(--pad) 14vh; text-decoration: none; border-top: 1px solid var(--line); position: relative; }
.next .label { margin-bottom: 1rem; }
.next-title { font-size: clamp(3.4rem, 2rem + 9vw, 13rem); font-weight: 800; font-stretch: 75%; letter-spacing: -.04em; line-height: .85; display: block; transition: letter-spacing .6s cubic-bezier(.2,.8,.2,1), color .4s; }
.next-title em { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--c, var(--accent)); }
.next:hover .next-title, .next:focus-visible .next-title { letter-spacing: -.01em; }
.next-sub { color: var(--muted); max-width: 34rem; margin-top: 1.5rem; display: block; }

/* footer */
footer { padding: 3rem var(--pad) 2.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: end; font-family: var(--mono); font-size: .75rem; color: var(--muted); background: var(--bg); }
footer p { margin: 0; }
footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* v5: vault AI toolset, grouped by use */
.toolset { margin: 1.2rem 0 0; display: grid; gap: .5rem; }
.toolset > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .8rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.toolset dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding-top: .2rem; }
.toolset dd { margin: 0; font-size: .95rem; line-height: 1.45; }
@media (max-width: 760px) { .toolset > div { grid-template-columns: 1fr; gap: .2rem; } .toolset dd { font-size: .9rem; } }

/* ---------- teams page ---------- */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.principle { padding: 2rem 1.6rem 2rem 0; border-right: 1px solid var(--line); margin-right: 1.6rem; }
.principle:last-child { border-right: 0; }
.principle h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.4rem); margin-bottom: 1rem; }
.principle .chapter-num { display: block; margin-bottom: 1.4rem; }
.sky { position: relative; height: min(86vh, 820px); }
.person { position: absolute; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 60%, transparent); color: var(--ink); font-family: var(--mono); font-size: .7rem; cursor: pointer; display: grid; place-items: center; transition: transform .45s cubic-bezier(.2,.9,.2,1.3), border-color .3s, background .3s; }
.person::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 22px var(--accent); top: -5px; }
.person.is-hot, .person[aria-pressed="true"] { transform: translate(-50%, -50%) scale(1.25); border-color: var(--accent); background: var(--accent); color: var(--bg); }
.person span { pointer-events: none; }
/* v5: five role-labelled stars. Number in the circle, "start → now" label under it. */
.person .person-num { font-size: .78rem; letter-spacing: .08em; }
.person .person-label { position: absolute; top: calc(100% + .75rem); left: 50%; transform: translateX(-50%); width: max-content; max-width: 12.5rem; text-align: center; font-size: .68rem; line-height: 1.45; letter-spacing: .04em; color: var(--ink); padding: .3rem .55rem; border-radius: 6px; background: color-mix(in srgb, var(--bg) 82%, transparent); }
.person.is-hot .person-label, .person[aria-pressed="true"] .person-label { color: var(--accent); }
.story { position: absolute; right: 0; bottom: 0; width: min(26rem, 100%); padding: 1.6rem; }
.story h3 { font-size: 1.9rem; margin: .4rem 0 .8rem; }
.story .arc { font-family: var(--mono); font-size: .78rem; color: var(--accent); letter-spacing: .06em; margin-bottom: 1rem; }
.story.flash { animation: flash .6s cubic-bezier(.2,.8,.2,1); }
@keyframes flash { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.metric { padding: 1.8rem 1.4rem 1.8rem 0; border-bottom: 1px solid var(--line); }
.metric b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.6rem, 2rem + 2.4vw, 4.6rem); line-height: 1; margin-bottom: .6rem; color: var(--accent); }
.metric b .ph { font-size: .5em; }
.metric.real { grid-column: span 2; }
.metric.real b { font-size: clamp(4rem, 3rem + 4vw, 8rem); }
.metric-path b { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); line-height: 1.15; }
.metric-path b span { white-space: nowrap; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.tq { padding: 1.8rem; margin: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.tq blockquote { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.tq figcaption { font-family: var(--mono); font-size: .75rem; color: var(--muted); margin-top: auto; }

/* ---------- world-specific flavour ---------- */
body[data-world="vault"] h1, body[data-world="vault"] .copy h2 { font-family: var(--serif); font-weight: 400; font-stretch: 100%; letter-spacing: -.02em; line-height: .95; }
body[data-world="vault"] h1 em, body[data-world="vault"] h2 em { color: var(--accent); }
body[data-world="vault"] .meta dd { font-family: var(--serif); font-size: 1.2rem; }
body[data-world="signal"] h1, body[data-world="signal"] .copy h2 { text-transform: uppercase; font-stretch: 75%; font-weight: 800; letter-spacing: -.02em; }
body[data-world="signal"] h1 em, body[data-world="signal"] h2 em { font-family: var(--display); font-style: normal; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
body[data-world="signal"] .result b, body[data-world="signal"] .stat .big { font-family: var(--mono); font-style: normal; font-weight: 500; letter-spacing: -.06em; }
body[data-world="crew"] h1, body[data-world="crew"] .copy h2 { font-stretch: 92%; font-weight: 700; letter-spacing: -.045em; }
body[data-world="crew"] .bar::before { opacity: .9; }
body[data-world="crew"] .menu-btn { color: var(--bg); }
.amp-readout { font-family: var(--mono); font-size: clamp(4rem, 3rem + 6vw, 10rem); line-height: .85; color: var(--accent); letter-spacing: -.06em; display: block; margin-bottom: 1rem; }
.btn { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--bg); border: 0; border-radius: 999px; padding: .85rem 1.3rem; cursor: pointer; margin-top: 1rem; }
.btn:hover { background: var(--ink); }

/* ---------- motion-gated initial states ---------- */
html.motion [data-reveal] { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .flows, .ventures, .quotes { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(2) { border-right: 0; }
  .metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .bar { padding: .9rem 1.1rem; font-size: .7rem; }
  .bar-world, .bar-nav a, .mark-name, .meter { display: none; }
  .chapter { min-height: 150vh; }
  .pin { align-items: flex-end; padding: 5rem 1.25rem 2.5rem; }
  .pin > .copy { background: linear-gradient(to top, var(--bg) 70%, color-mix(in srgb, var(--bg) 0%, transparent)); padding-top: 4rem; margin: 0 -1.25rem; padding-left: 1.25rem; padding-right: 1.25rem; max-width: none; width: calc(100% + 2.5rem); }
  .no-field .pin > .copy { background: var(--panel); }
  .hero .pin { padding-bottom: 8vh; }
  .hero h1 { font-size: clamp(2.4rem, 11.5vw, 4.4rem); }
  body[data-world="signal"] .hero h1 { font-size: 10.4vw; }
  .copy h2 { font-size: clamp(2.3rem, 11vw, 3.6rem); }
  .section-head h2, .about h2 { font-size: clamp(2.3rem, 11vw, 3.6rem); }
  .contact h2 { font-size: clamp(2.4rem, 12vw, 4rem); }
  .next-title { font-size: 15vw; }
  .section { padding: 12vh 1.25rem; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
  .map { height: auto; display: flex; flex-direction: column; gap: 0; border: 0; }
  .map svg.map-lines { display: none; }
  .map-node { position: relative; transform: none; left: auto !important; top: auto !important; width: 100%; flex-direction: row; align-items: center; text-align: left; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }

  .map-text { align-items: flex-start; }
  .map-preview { display: none; }
  .about, .about-cols { grid-template-columns: 1fr; }
  .about .frame { max-width: 18rem; }
  .results, .metrics { grid-template-columns: 1fr; }
  .metric.real { grid-column: auto; }
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); }
  .sky { height: auto; display: flex; flex-direction: column; gap: .7rem; padding-top: 1rem; }
  .person { position: relative; left: auto !important; top: auto !important; transform: none; width: 100%; height: auto; min-height: 3.6rem; border-radius: 14px; display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem .8rem 1.6rem; text-align: left; }
  .person::before { top: 50%; left: -5px; transform: translateY(-50%); }
  .person.is-hot, .person[aria-pressed="true"] { transform: none; }
  .person .person-label { position: static; transform: none; width: auto; max-width: none; text-align: left; font-size: .74rem; color: inherit; padding: 0; background: none; }
  .person.is-hot .person-label, .person[aria-pressed="true"] .person-label { color: inherit; }
  .story { position: relative; margin-top: 1.3rem; width: 100%; }
  .sky svg { display: none; }
  footer { grid-template-columns: 1fr; }
  .menu li a { grid-template-columns: 3rem 1fr; }
  .menu li em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .chapter { min-height: auto; }
  .pin { position: relative; min-height: 80vh; }
}
body[data-world="crew"] .next-title em { color: var(--accent); }

/* static fallback (no WebGL): tighten the pinned chapters */
.no-field .chapter { min-height: auto; }
.no-field .pin { position: relative; min-height: 86vh; }
.no-field .hero { min-height: 100vh; }
.map-text, .person span { text-shadow: 0 0 14px var(--bg), 0 0 4px var(--bg); }

/* palette variant: Ochre & Sage — dark label on rust fails AA, use cream */
body[data-world="crew"] .menu-btn:hover { color: var(--bg); }

/* =====================================================================
   v2 — the work is one click away (hub hero CTA, bar link, map node, ventures)
   ===================================================================== */
.bar-nav a.bar-work { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem; border: 1px solid var(--accent); border-radius: 999px; color: var(--ink); }
.bar-nav a.bar-work::after { display: none; }
.bar-work i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 2.2s ease-out infinite; }
.bar-nav a.bar-work:hover, .bar-nav a.bar-work[aria-current] { background: var(--accent); color: var(--bg); }
.bar-nav a.bar-work:hover i, .bar-nav a.bar-work[aria-current] i { background: var(--bg); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
.menu-badge { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; padding: .3em .7em; border-radius: 999px; background: var(--work-accent); color: var(--work-bg); margin-left: .6rem; }
body[data-world="crew"] .menu li a:hover, body[data-world="crew"] .menu li a:focus-visible { color: var(--accent) !important; }

.hero-left { max-width: 40rem; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.cta-work { display: inline-flex; align-items: center; gap: 1rem; padding: .85rem 1.6rem; border-radius: 999px; background: var(--accent); color: var(--bg); text-decoration: none; position: relative; transition: transform .35s cubic-bezier(.2,.9,.2,1.3), background .3s; }
.cta-work:hover, .cta-work:focus-visible { transform: translateY(-3px) rotate(-1deg); background: var(--ink); }
.cta-text { display: flex; flex-direction: column; line-height: 1.05; }
.cta-text small { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-bottom: .2rem; }
.cta-text span { font-size: clamp(1.25rem, 1rem + .6vw, 1.6rem); font-weight: 700; font-stretch: 85%; letter-spacing: -.01em; }
.cta-arrow { font-size: 1.5rem; transition: transform .35s; }
.cta-work:hover .cta-arrow { transform: translateX(6px); }
.cta-ghost { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-underline-offset: .35em; }
.cta-ghost:hover { color: var(--accent); }

.map-lines path.hot { stroke: var(--work-accent); stroke-dasharray: 2 6; opacity: .75; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.map-node--work { width: 19rem; z-index: 3; }
.map-node--work .map-dot { width: 28px; height: 28px; animation: ping 2.4s ease-out infinite; }
.map-node--work .map-name { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.6rem); }
.map-node--work .map-num { color: var(--work-accent); }
.map-node--work .map-sub { color: var(--ink); }
.map-fan { position: relative; width: 11rem; height: 5.5rem; margin-bottom: -.6rem; }
.map-fan img { position: absolute; left: 50%; top: 0; width: 6.6rem; height: 4.6rem; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); transition: transform .5s cubic-bezier(.2,.9,.2,1.3); }
.map-fan img:nth-child(1) { transform: translateX(-120%) rotate(-12deg); }
.map-fan img:nth-child(2) { transform: translateX(-80%) translateY(-6%) rotate(-4deg); }
.map-fan img:nth-child(3) { transform: translateX(-20%) translateY(-6%) rotate(4deg); }
.map-fan img:nth-child(4) { transform: translateX(20%) rotate(12deg); }
.map-node--work:hover .map-fan img:nth-child(1), .map-node--work:focus-visible .map-fan img:nth-child(1) { transform: translateX(-165%) translateY(10%) rotate(-16deg); }
.map-node--work:hover .map-fan img:nth-child(2), .map-node--work:focus-visible .map-fan img:nth-child(2) { transform: translateX(-95%) translateY(-22%) rotate(-6deg); }
.map-node--work:hover .map-fan img:nth-child(3), .map-node--work:focus-visible .map-fan img:nth-child(3) { transform: translateX(-5%) translateY(-22%) rotate(6deg); }
.map-node--work:hover .map-fan img:nth-child(4), .map-node--work:focus-visible .map-fan img:nth-child(4) { transform: translateX(65%) translateY(10%) rotate(16deg); }

.ventures.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.venture-shot { display: block; aspect-ratio: 16/10; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.venture-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.venture:hover .venture-shot img { transform: scale(1.04); }
.venture-link { margin-top: auto; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); text-underline-offset: .35em; }
.venture-link span { display: inline-block; transition: transform .3s; }
.venture-link:hover span { transform: translateX(5px); }
.ventures-more { margin-top: 2.5rem; }

@media (max-width: 1100px) { .ventures.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .bar-nav a.bar-work { display: inline-flex; padding: .5rem .8rem; }
  .ventures.four { grid-template-columns: 1fr; }
  .cta-work { width: 100%; justify-content: space-between; }
  .map-node--work { order: -1; width: 100%; background: color-mix(in srgb, var(--work-accent) 10%, transparent); padding: 1.2rem 1rem; border: 1px solid color-mix(in srgb, var(--work-accent) 45%, transparent); }
  .map-node--work .map-fan { display: none; }
  .menu-badge { display: none; }
}

/* ---------- v6 — artifact tiles (Vault / Signal): brand-free redraws, tilted collage that settles on scroll ---------- */
.ventures.arts { gap: clamp(1.2rem, 2vw, 2.2rem); align-items: start; }
.art { margin: 0; transform: rotate(var(--tilt, 0deg)); }
.arts .art:nth-child(2) { margin-top: clamp(0rem, 4vw, 3.5rem); }
.art .frame { display: block; aspect-ratio: 16/10; background: var(--panel); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--bg) 40%, black); }
.art .frame a.lb, .art .frame picture { display: block; width: 100%; height: 100%; }
.art .frame img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.art .frame picture { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.art:hover .frame picture, .art:focus-within .frame picture { transform: scale(1.045); }
.art figcaption { font-family: var(--mono); font-size: .74rem; line-height: 1.55; letter-spacing: .04em; color: var(--muted); padding: .9rem .2rem 0; max-width: 30rem; }
.art figcaption b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.35rem; letter-spacing: 0; color: var(--accent); margin-bottom: .2rem; }
@media (max-width: 760px) { .arts .art:nth-child(2) { margin-top: 0; } .art { transform: rotate(calc(var(--tilt, 0deg) * .5)); } }
@media (prefers-reduced-motion: reduce) { .art { transform: none; } .art .frame picture { transition: none; } .art:hover .frame picture, .art:focus-within .frame picture { transform: none; } }
