/* ─────────────────────────────────────────────────────────────────
   EXUSIA DIGITAL · theme
   "Control room": a dark, instrument-like default with a warm paper
   light mode. Sora for headings, Hanken Grotesk for text, JetBrains
   Mono only for figures and evidence tiers. The hero and the investor
   band stay dark in both modes: they are the instruments.
   ───────────────────────────────────────────────────────────────── */

/* ── 1. Tokens ─────────────────────────────────────────────────────── */
:root {
  --bg: #F3F1EC; --s1: #FFFFFF; --s2: #F0EDE6; --s3: #E4E0D6;
  --line: rgba(24, 20, 12, .09); --line2: rgba(24, 20, 12, .17);
  --ink: #15130F; --ink2: #4A463E; --ink3: #6A655B;
  --amber: #F39318; --amber-2: #E2830A; --gold: #9E5700; --ion: #2F5FD0;
  --t-con: #0F7A48; --t-per: #2B5BC8; --t-dev: #915C00; --t-mod: #7440C8; --t-ill: #666158;
  --t-con-bg: rgba(15, 122, 72, .08); --t-per-bg: rgba(43, 91, 200, .07); --t-dev-bg: rgba(145, 92, 0, .08); --t-mod-bg: rgba(116, 64, 200, .07); --t-ill-bg: rgba(102, 97, 88, .07);
  --link: #9E5700; --focus: #9E5700; --eyebrow: #A85F00;
  --glow: rgba(243, 147, 24, .16);
  --r-xl: 40px; --r-l: 28px; --r-m: 20px;

  /* core tokens */
  --surface: var(--s1); --surface-2: var(--s2); --surface-3: var(--s3);
  --line-2: var(--line2); --ink-2: var(--ink2); --ink-3: var(--ink3);
  --brand: var(--amber); --brand-2: var(--amber-2); --brand-ink: #1A0E00; --brand-soft: rgba(243, 147, 24, .12);
  --accent: var(--amber); --accent-ink: #1A0E00;
  --f-display: "Sora", system-ui, sans-serif; --f-body: "Hanken Grotesk", system-ui, sans-serif; --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 600; --display-track: -0.045em;
  --glass: rgba(255, 255, 255, .74); --glass-line: rgba(24, 20, 12, .08);
  --island: rgba(21, 24, 28, .9); --island-ink: #F2EFE9; --island-ink-2: rgba(242, 239, 233, .62); --island-on: rgba(255, 255, 255, .12);
  --wrap: 1280px; --gut: clamp(16px, 3.4vw, 32px); --sec: clamp(64px, 8.5vw, 112px);
  --hd-h: 64px; --r-card: 28px; --r-panel: 28px; --r-slab: 40px; --r-field: 14px;
  --sh-2: 0 18px 40px -24px rgba(30, 22, 8, .28);
}
[data-theme="dark"] {
  --bg: #060708; --s1: #0E1013; --s2: #15181C; --s3: #1C2026;
  --line: rgba(255, 255, 255, .07); --line2: rgba(255, 255, 255, .13);
  --ink: #F2EFE9; --ink2: #AAA59C; --ink3: #8C877E;
  --gold: #FFC861; --ion: #7EA6FF;
  --t-con: #5BD69A; --t-per: #7EA6FF; --t-dev: #F3B13A; --t-mod: #C59BFF; --t-ill: #A29E96;
  --t-con-bg: rgba(91, 214, 154, .07); --t-per-bg: rgba(126, 166, 255, .07); --t-dev-bg: rgba(243, 177, 58, .08); --t-mod-bg: rgba(197, 155, 255, .07); --t-ill-bg: rgba(255, 255, 255, .04);
  --link: #FFC861; --focus: #FFC861; --eyebrow: #F39318;
  --glow: rgba(243, 147, 24, .24);
  --glass: rgba(14, 16, 19, .62); --glass-line: rgba(255, 255, 255, .08);
  --sh-2: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
/* The instruments stay dark in both modes. */
.hero, .inv, .dk {
  color-scheme: dark;
  --bg: #060708; --s1: #0E1013; --s2: #15181C; --s3: #1C2026;
  --line: rgba(255, 255, 255, .07); --line2: rgba(255, 255, 255, .13);
  --ink: #F2EFE9; --ink2: #AAA59C; --ink3: #8C877E; --gold: #FFC861;
  --t-con: #5BD69A; --t-per: #7EA6FF; --t-dev: #F3B13A; --t-mod: #C59BFF; --t-ill: #A29E96;
  --t-con-bg: rgba(91, 214, 154, .07); --t-per-bg: rgba(126, 166, 255, .07); --t-dev-bg: rgba(243, 177, 58, .08); --t-mod-bg: rgba(197, 155, 255, .07); --t-ill-bg: rgba(255, 255, 255, .04);
  --link: #FFC861; --focus: #FFC861; --eyebrow: #F39318;
  --surface: var(--s1); --surface-2: var(--s2); --surface-3: var(--s3); --line-2: var(--line2); --ink-2: var(--ink2); --ink-3: var(--ink3);
  color: var(--ink);
}

/* ── 2. Base ───────────────────────────────────────────────────────── */
body { background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--f-body); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.6rem); line-height: 1; letter-spacing: -.05em; }
h2 { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.25rem); line-height: 1.03; letter-spacing: -.045em; }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); letter-spacing: -.025em; line-height: 1.2; }
.mono, .fig-v, .tier { font-family: var(--f-mono); }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; }
:where(main a:not([class])) { color: var(--link); text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent); }
::selection { background: rgba(243, 147, 24, .3); }
.ic { width: 20px; height: 20px; flex: 0 0 auto; }
.i { width: 18px; height: 18px; flex: 0 0 auto; }
.lead { color: var(--ink2); font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); max-width: 40em; }
.eyebrow { font: 600 .82rem/1.3 var(--f-mono); color: var(--eyebrow); letter-spacing: -.01em; margin: 0 0 14px; }
.is-empty { color: var(--ink3); font-style: normal; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons in this site's shape */
.btn { min-height: 52px; padding: 0 24px; font: 700 .95rem/1 var(--f-body); letter-spacing: -.005em; border-width: 0; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .86rem; }
.btn-lg { min-height: 56px; padding: 0 28px; }
.btn-amber { --btn-bg: var(--amber); --btn-ink: #1A0E00; box-shadow: 0 12px 30px -14px rgba(243, 147, 24, .85); }
.btn-amber:hover { --btn-bg: #FFA53A; }
.btn-glass { --btn-bg: color-mix(in srgb, var(--ink) 6%, transparent); --btn-ink: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-glass:hover { --btn-bg: color-mix(in srgb, var(--ink) 11%, transparent); }
.btn .i { width: 17px; height: 17px; }
.lnk { color: var(--link); font-weight: 700; }
.ib { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.ib:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); }

/* ── 3. Evidence tier chip: one shape everywhere ───────────────────── */
.tier {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px;
  font: 600 .72rem/1 var(--f-mono); letter-spacing: -.01em; white-space: nowrap; text-decoration: none; vertical-align: middle;
  color: var(--tc, var(--ink2)); background: var(--tb, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc, var(--ink2)) 70%, transparent);
}
.tier i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
a.tier:hover { background: color-mix(in srgb, var(--tc) 16%, transparent); }
.t-contracted { --tc: var(--t-con); --tb: var(--t-con-bg); }
.t-permitted { --tc: var(--t-per); --tb: var(--t-per-bg); }
.t-development { --tc: var(--t-dev); --tb: var(--t-dev-bg); }
.t-modelled { --tc: var(--t-mod); --tb: var(--t-mod-bg); }
.t-illustrative { --tc: var(--t-ill); --tb: var(--t-ill-bg); }
/* Shapes as well as colours, so the tier never rests on colour alone. */
.t-development i { background: linear-gradient(90deg, currentColor 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px currentColor; }
.t-modelled i { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.t-illustrative i { border-radius: 2px; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; transform: rotate(45deg) scale(.85); }
.t-permitted i { border-radius: 2px; }

/* Figures */
.fig { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.fig-k { font-size: .85rem; color: var(--ink2); }
.fig-v { font: 500 1.9rem/1 var(--f-mono); letter-spacing: -.04em; color: var(--ink); }
.fig-v small, .v small { font-size: .5em; color: var(--ink3); margin-left: 4px; letter-spacing: -.01em; }
.fig-p { display: block; font-size: .76rem; color: var(--ink3); line-height: 1.45; }
.fig-n { font-size: .86rem; color: var(--ink2); }

/* ── 4. Header ─────────────────────────────────────────────────────── */
.hd { padding-top: 14px; }
.hd-bar { height: var(--hd-h); padding: 0 10px 0 24px; background: var(--glass); border: 0; box-shadow: inset 0 0 0 1px var(--glass-line); -webkit-backdrop-filter: saturate(1.4) blur(20px); backdrop-filter: saturate(1.4) blur(20px); max-width: var(--wrap); }
.hd.is-scrolled .hd-bar { box-shadow: inset 0 0 0 1px var(--glass-line), 0 18px 40px -20px rgba(0, 0, 0, .55); }
.hd-brand img { height: 28px; }
.hd-nav a { font: 600 .9rem/1 var(--f-body); color: var(--ink2); padding: 10px 15px; }
.hd-nav a:hover, .hd-nav a[aria-current] { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.hd-nav a[aria-current]::after { background: var(--amber); }
.hd .ib { background: transparent; color: var(--ink); }
.hd .ib:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.hd-cta { min-height: 44px; padding: 0 20px; }
/* Over the dark hero, in light mode, the capsule reads as dark glass. */
body.has-hero:not(.scrolled-past) .hd { --ink: #F2EFE9; --ink2: #C8C3BA; --glass: rgba(14, 16, 19, .5); --glass-line: rgba(255, 255, 255, .1); }
@media (max-width: 960px) {
  .hd { padding: 0; }
  .hd-bar { border-radius: 0 0 22px 22px; padding: env(safe-area-inset-top) 6px 0 16px; }
  .hd-brand img { height: 24px; }
}

/* ── 5. Sections ───────────────────────────────────────────────────── */
.dsec { position: relative; padding-top: clamp(64px, 8vw, 110px); }
main > .dsec:last-child, main > section:last-child { padding-bottom: clamp(24px, 4vw, 40px); }
.crumbs { max-width: calc(var(--wrap) + var(--gut) * 2); padding-top: 18px; }
.crumbs a:hover { color: var(--link); }
.crumbs + .dsec { padding-top: clamp(20px, 3vw, 36px); }
.sh { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.sh-t { max-width: 46rem; min-width: 0; }
.sh-h { margin: 0; max-width: 16em; }
.sh-p { color: var(--ink2); font-size: 1.06rem; margin: 14px 0 0; max-width: 40em; }
.sh-a { flex: 0 0 auto; }
.blk-note { color: var(--ink3); font-size: .86rem; max-width: 60em; margin: 18px 0 0; }
.blk-actions { margin-top: 24px; }
.blk-more { margin-top: 22px; }
.tone-panel > .wrap > *:not(.sh) { }
.tone-panel .wrap { background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-xl); padding-block: clamp(28px, 4vw, 52px); padding-inline: clamp(20px, 4vw, 52px); max-width: calc(var(--wrap) + var(--gut) * 2 - 24px); }
.tone-glow .wrap { background: radial-gradient(100% 120% at 100% 0%, var(--glow), transparent 55%), var(--s1); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-xl); padding-block: clamp(28px, 4vw, 52px); padding-inline: clamp(20px, 4vw, 52px); }

/* ── 6. Home hero ──────────────────────────────────────────────────── */
.hero {
  margin: calc(-1 * (var(--hd-h) + 14px)) 12px 0; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  padding: calc(var(--hd-h) + 110px) 0 0; background: #08090B;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05) brightness(.55); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 7, 8, .96) 0%, rgba(6, 7, 8, .75) 45%, rgba(6, 7, 8, .25) 100%), linear-gradient(180deg, transparent 55%, #060708 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.hg { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.kick { display: inline-flex; align-items: center; gap: 10px; font: 600 .82rem/1.2 var(--f-mono); color: #FFC861; margin: 0; }
.kick i { width: 8px; height: 8px; border-radius: 2px; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.hero h1 { font-size: clamp(2.6rem, 1.2rem + 5.2vw, 5.4rem); line-height: .98; letter-spacing: -.055em; margin: 22px 0; color: #F2EFE9; }
.hero-sub { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink2); max-width: 30em; margin: 0 0 30px; }
.console { border-radius: 30px; background: rgba(14, 16, 19, .72); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: inset 0 0 0 1px var(--line2), 0 40px 80px -30px rgba(0, 0, 0, .8); padding: 24px; }
.ch { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ch b { display: block; font: 600 1rem/1.3 var(--f-display); letter-spacing: -.02em; }
.ch b a { color: inherit; text-decoration: none; }
.ch b a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.ch span { font-size: .82rem; color: var(--ink3); }
.met { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.met:last-of-type { border-bottom: 0; }
.met .k { font-size: .82rem; color: var(--ink2); grid-column: 1 / -1; }
.met .v { font: 500 2.5rem/1 var(--f-mono); letter-spacing: -.04em; color: var(--gold); }
.met .v small { font-size: .9rem; }
.met .p { grid-column: 1 / -1; font-size: .74rem; color: var(--ink3); }
.miles { padding-top: 16px; border-top: 1px solid var(--line); }
.miles .lab { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; color: var(--ink2); margin-bottom: 10px; }
.mbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.mbar i { height: 8px; border-radius: 4px; background: var(--s3); }
.mbar i.d { background: var(--amber); }
.flow { position: relative; margin-top: 70px; padding: 30px 0 60px; }
.flowline { position: absolute; left: 5%; right: 5%; top: 56px; height: 2px; background: linear-gradient(90deg, rgba(243, 147, 24, 0), #F39318 15%, #FFC861 50%, #7EA6FF 85%, rgba(126, 166, 255, 0)); box-shadow: 0 0 18px rgba(243, 147, 24, .6); }
@media (prefers-reduced-motion: no-preference) {
  .flowline { background-size: 200% 100%; animation: dg-flow 6s linear infinite; }
  @keyframes dg-flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
}
.nodes { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; position: relative; list-style: none; margin: 0; padding: 0; }
.node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin: 0; }
.node .o { width: 54px; height: 54px; border-radius: 18px; background: #0E1013; box-shadow: inset 0 0 0 1px var(--line2), 0 0 0 8px #060708; display: grid; place-items: center; color: #FFC861; }
.node div { display: flex; flex-direction: column; gap: 2px; }
.node b { font: 600 .95rem/1.25 var(--f-display); letter-spacing: -.02em; }
.node span { font-size: .82rem; color: var(--ink3); }

/* ── 7. Page header ────────────────────────────────────────────────── */
.phead-g { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.phead:not(.has-img):not(.has-figs) .phead-g { grid-template-columns: minmax(0, 1fr); }
.phead h1 { margin: 0 0 20px; max-width: 14em; }
.phead .lead { margin: 0 0 26px; }
.phead .btn-row { margin-top: 4px; }
.phead-meta { font-size: .82rem; color: var(--ink3); margin: 0 0 12px; }
.phead-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.fig-tile { background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-m); padding: 18px; min-width: 0; }
.fig-tile .fig-v { font-size: 1.75rem; color: var(--ink); }
.phead-im { margin: 0; position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--s2); }
.phead-im img, .pj-im img { width: 100%; height: 100%; object-fit: cover; }
.im-note { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(6, 7, 8, .7); color: #F2EFE9; font: 600 .7rem/1 var(--f-mono); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ── 8. Doors and routes ───────────────────────────────────────────── */
.doors { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 14px; }
.doors.n2 { grid-template-columns: 1.3fr 1fr; }
.doors.n3 { grid-template-columns: 1.4fr 1fr 1fr; }
.doors.n5 { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
.doors.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.door { position: relative; border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 28px; min-height: 300px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: box-shadow .3s, transform .3s var(--ease); min-width: 0; }
a.door:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--amber), var(--sh-2); }
.door .o { width: 48px; height: 48px; border-radius: 15px; background: rgba(243, 147, 24, .12); color: var(--amber); display: grid; place-items: center; margin-bottom: auto; }
.door-k { font-size: .74rem; color: var(--ink3); margin-top: 28px; }
.door h3 { font-size: 1.35rem; margin: 30px 0 8px; }
.door-k + h3 { margin-top: 6px; }
.door p { color: var(--ink2); font-size: .92rem; margin: 0 0 18px; }
.door .go { font-weight: 700; font-size: .9rem; color: var(--link); display: inline-flex; gap: 8px; align-items: center; margin-top: auto; }
.door .go .ic { width: 16px; height: 16px; transition: transform .2s; }
a.door:hover .go .ic { transform: translateX(3px); }
.door.main { background: radial-gradient(120% 100% at 100% 0%, rgba(243, 147, 24, .28), transparent 55%), var(--s1); }
.door.main h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.door ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .88rem; color: var(--ink2); }
.door li { margin: 0; }
.door li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-right: 10px; vertical-align: middle; }
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.routes .door { min-height: 0; padding: 22px; }
.routes .door .o { margin-bottom: 18px; width: 42px; height: 42px; }
.routes .door h3 { margin: 6px 0 6px; font-size: 1.1rem; }
.routes .door-k { margin-top: 0; }

/* ── 9. Capacity tracker ───────────────────────────────────────────── */
.track { border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(22px, 3vw, 34px); }
.tt { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.tt .big { font: 500 clamp(2.8rem, 2rem + 3vw, 4rem)/1 var(--f-mono); letter-spacing: -.05em; }
.tt .big small { font-size: 1.3rem; color: var(--ink3); letter-spacing: -.02em; }
.tt-live { color: var(--ink2); font-size: .9rem; }
.stack { display: flex; height: 56px; border-radius: 16px; overflow: hidden; gap: 3px; }
.stack .seg { display: flex; align-items: center; padding: 0 16px; font: 600 .8rem/1 var(--f-mono); white-space: nowrap; overflow: hidden; color: var(--tc); background: color-mix(in srgb, var(--tc) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc) 45%, transparent); min-width: 72px; }
.stack .seg.t-modelled { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--tc) 12%, transparent) 0 8px, color-mix(in srgb, var(--tc) 6%, transparent) 8px 16px); }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.st { border-radius: var(--r-m); background: var(--s2); padding: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.st .k { font-size: .82rem; color: var(--ink2); display: flex; align-items: center; gap: 8px; }
.st .sw { width: 10px; height: 10px; border-radius: 3px; background: var(--tc, var(--ink3)); }
.st .v { font: 500 1.75rem/1.1 var(--f-mono); letter-spacing: -.03em; }
.st .p { font-size: .74rem; color: var(--ink3); }
.tbc { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font: 600 .7rem/1 var(--f-mono); color: var(--ink2); background: transparent; box-shadow: inset 0 0 0 1px var(--line2); border: 1px dashed transparent; white-space: nowrap; }
.tbc-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 18px 0 0; font-size: .82rem; color: var(--ink2); }
.asof { font-size: .8rem; color: var(--ink3); margin: 18px 0 0; }
.asof .lnk { font-size: .8rem; }

/* ── 10. Power cost ────────────────────────────────────────────────── */
.cost { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; }
.cost.is-compact { grid-template-columns: minmax(0, 1fr); }
.cost .tile { border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(22px, 3vw, 34px); min-width: 0; }
.ours { background: radial-gradient(100% 90% at 0% 100%, var(--glow), transparent 60%), var(--s1) !important; display: flex; flex-direction: column; align-items: flex-start; }
.ours-v { margin: 24px 0 10px; }
.ours-v .v { font: 500 clamp(3.2rem, 2.4rem + 3vw, 4.8rem)/1 var(--f-mono); color: var(--gold); letter-spacing: -.05em; }
.ours-v .v small { font-size: 1.3rem; }
.ours-t { color: var(--ink2); margin: 0 0 12px; }
.rngs { width: 100%; border-collapse: collapse; font-size: .88rem; }
.rng > * { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rng:last-child > * { border-bottom: 0; }
.rng .k { width: 34%; text-align: left; font-weight: 500; color: var(--ink2); padding-right: 16px; }
.rng .t { width: auto; }
.rng .bar { display: block; position: relative; height: 10px; border-radius: 5px; background: var(--s3); }
.rng .bar i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in srgb, var(--ink3) 70%, transparent); }
.rng.is-ours .bar i { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.rng.is-ours .k { color: var(--ink); font-weight: 650; }
.rng .v { width: 124px; text-align: right; font-size: .82rem; padding-left: 14px; white-space: nowrap; }
.rng.is-ours .v { color: var(--gold); }
.rng .tc { width: 128px; text-align: right; padding-left: 12px; }
.axis { display: grid; grid-template-columns: 34% minmax(0, 1fr) 124px 128px; font: 500 .7rem/1 var(--f-mono); color: var(--ink3); margin-top: 8px; }
.axis > div { display: flex; justify-content: space-between; }
.cost .links { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 0; }

/* ── 11. Projects ──────────────────────────────────────────────────── */
.projs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.proj { border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: box-shadow .3s, transform .3s var(--ease); }
.proj:hover { box-shadow: inset 0 0 0 1px var(--line2), var(--sh-2); }
.proj-im { display: block; height: 200px; position: relative; background: var(--s2); }
.proj-im img { width: 100%; height: 100%; object-fit: cover; }
.proj-im::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--s1)); }
.proj-im .im-note { z-index: 1; bottom: auto; top: 12px; }
.proj-bd { padding: 4px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.proj-loc { font-size: .8rem; color: var(--ink3); margin: 0; }
.proj h3 { margin: 4px 0 12px; font-size: 1.3rem; }
.proj h3 a { color: inherit; text-decoration: none; }
.proj h3 a::after { content: ""; position: absolute; inset: 0; }
.proj { position: relative; }
.proj h3 a:focus-visible { outline: 0; }
.proj:has(h3 a:focus-visible) { outline: 2.5px solid var(--focus); outline-offset: 3px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; width: 100%; }
.kv span { display: block; font-size: .74rem; color: var(--ink3); }
.kv b { font: 500 1.02rem/1.3 var(--f-mono); letter-spacing: -.02em; }
.kv b.is-empty { color: var(--ink3); font-weight: 400; }
.proj .mbar { width: 100%; margin-top: auto; }
.proj-ms { font-size: .74rem; color: var(--ink3); margin: 10px 0 0; }

/* ── 12. Tiers ─────────────────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tr { border-radius: 22px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; min-width: 0; }
.tr p { font-size: .86rem; color: var(--ink2); margin: 12px 0 0; }
.tdefs { margin: 0; border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 6px clamp(18px, 3vw, 30px); }
.tdef { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.tdef:last-child { border-bottom: 0; }
.tdef dd { margin: 0; color: var(--ink2); }
.tdef:target { background: linear-gradient(90deg, var(--glow), transparent); border-radius: 12px; }

/* ── 13. Documents and the investor band ───────────────────────────── */
.inv { margin: clamp(64px, 8vw, 110px) 12px 0; padding: clamp(48px, 7vw, 80px) 0 !important; border-radius: var(--r-xl); background: radial-gradient(80% 120% at 100% 0%, rgba(243, 147, 24, .25), transparent 55%), #0E1013; box-shadow: inset 0 0 0 1px var(--line); }
.inv-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 48px); align-items: center; }
.inv h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.inv-p { color: var(--ink2); font-size: 1.1rem; margin: 18px 0 28px; }
.docs { border-radius: 26px; background: color-mix(in srgb, var(--bg) 60%, transparent); box-shadow: inset 0 0 0 1px var(--line); padding: 10px; }
.doclib .docs { background: var(--s1); }
.docs-hd { padding: 14px 14px 6px; }
.docs-hd h3 { font-size: 1.05rem; margin: 0 0 4px; }
.docs-hd p { font-size: .86rem; color: var(--ink3); margin: 0; }
.docs-l { list-style: none; margin: 0; padding: 0; }
.doc { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; margin: 0; }
.doc:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.doc .f { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--s3); display: grid; place-items: center; font-size: .66rem; font-weight: 600; color: var(--ink2); }
.doc-t { min-width: 0; }
.doc-t b { display: block; font-weight: 650; line-height: 1.3; }
.doc-t span { font-size: .8rem; color: var(--ink3); }
.doc .btn { margin-left: auto; flex: 0 0 auto; }

/* Dialog */
.dlg { width: min(460px, calc(100vw - 24px)); border: 0; border-radius: var(--r-l); padding: 22px; background: var(--s1); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line); }
.dlg::backdrop { background: rgba(6, 7, 8, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dlg-hd h2 { font-size: 1.3rem; margin: 0; }
.dlg-doc { color: var(--gold); font-size: .85rem; margin: 8px 0 16px; }

/* ── 14. Specifications, tiles, tables ─────────────────────────────── */
.spec { border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 6px clamp(18px, 2.6vw, 28px); }
.spec-r { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-r:last-child { border-bottom: 0; }
.spec-k { color: var(--ink2); font-size: .92rem; }
.spec-k small { display: block; color: var(--ink3); font-size: .8rem; margin-top: 2px; }
.spec-v { font-size: 1.02rem; text-align: right; }
.spec-v .mono { font-weight: 500; letter-spacing: -.02em; }
.spec-v small { color: var(--ink3); margin-left: 3px; font-size: .82em; }
.spec-t { min-width: 120px; text-align: right; }
.spec-p { grid-column: 1 / -1; font-size: .74rem; color: var(--ink3); }
.ftiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.ftiles .fig-tile { padding: 22px; gap: 10px; }
.ftiles .fig-v { font-size: 2.1rem; }
.dtbl-w { border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dtbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.dtbl caption { text-align: left; padding: 18px 22px 0; font-weight: 650; color: var(--ink); }
.dtbl th, .dtbl td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtbl thead th { font: 600 .74rem/1.3 var(--f-mono); color: var(--ink3); white-space: nowrap; }
.dtbl tbody tr:last-child > * { border-bottom: 0; }
.dtbl tbody th { font-weight: 600; color: var(--ink); min-width: 160px; }
.dtbl td { color: var(--ink2); }
.dtbl td.mono { color: var(--ink); white-space: nowrap; }
.dtbl .fig-p { margin-top: 6px; }

/* Register */
.reg { display: grid; gap: 12px; }
.reg-r { border-radius: var(--r-m); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 20px 24px; scroll-margin-top: 110px; }
.reg-r:target { box-shadow: inset 0 0 0 1.5px var(--amber); }
.reg-h { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.reg-h h3 { margin: 0; font-size: 1.08rem; flex: 1 1 220px; }
.reg-v { font-size: 1.15rem; font-weight: 500; }
.reg-v small { color: var(--ink3); font-size: .8em; margin-left: 3px; }
.reg-r p { color: var(--ink2); margin: 10px 0 6px; font-size: .94rem; }
.reg-ver { font-size: .78rem; color: var(--ink3); margin: 16px 0 0; }

/* ── 15. Flow chain, points, callouts, prose ───────────────────────── */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 14px; position: relative; }
.chain-n { position: relative; margin: 0; border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 24px; min-width: 0; }
.chain-n:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 47px; right: -14px; width: 14px; height: 2px; background: linear-gradient(90deg, var(--amber), var(--gold)); }
.chain-n .o { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(243, 147, 24, .12); color: var(--amber); margin-bottom: 18px; }
.chain-k { display: block; font-size: .74rem; color: var(--ink3); margin-bottom: 4px; }
.chain-n h3 { margin: 0 0 8px; }
.chain-n p { color: var(--ink2); font-size: .92rem; margin: 0; }
.chain-t { margin-top: 14px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.points.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.points.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.points.c5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pt { margin: 0; border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 26px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.pt-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.pt-n { font-size: .82rem; color: var(--amber); }
.pt-k { font: 600 .74rem/1.2 var(--f-mono); color: var(--ink3); }
.pt .o { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(243, 147, 24, .12); color: var(--amber); }
.pt h3 { margin: 0 0 10px; }
.pt-b { color: var(--ink2); font-size: .95rem; }
.pt-b p:last-child { margin-bottom: 0; }
.pt .lnk { margin-top: 14px; }
.callout { border-radius: var(--r-xl); padding: clamp(26px, 4vw, 48px); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.callout.c-glow { background: radial-gradient(90% 120% at 100% 0%, var(--glow), transparent 55%), var(--s1); }
.callout.c-line { border-radius: 0; background: none; box-shadow: none; border-left: 3px solid var(--amber); padding: 6px 0 6px clamp(18px, 3vw, 28px); max-width: 860px; }
.callout h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin-bottom: 14px; max-width: 22em; }
.callout .prose { max-width: 50em; color: var(--ink2); }
.callout .btn-row { margin-top: 22px; }
.callout > p:last-child { margin: 0; color: var(--ink2); }
.prose { font-size: 1.04rem; line-height: 1.7; color: var(--ink2); }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose strong { color: var(--ink); }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 3px solid var(--amber); color: var(--ink); }
.b-dg-prose + .b-dg-prose { padding-top: clamp(32px, 4vw, 48px); }

/* ── 16. News, insights, jobs ──────────────────────────────────────── */
.feed { border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 4px clamp(18px, 3vw, 30px); }
.feed .art { position: relative; padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; }
.feed .art:last-child { border-bottom: 0; }
.feed .art p:not(.art-d) { grid-column: 2; color: var(--ink2); margin: 0; font-size: .94rem; }
.feed .art h3 { grid-column: 2; margin: 0; font-size: 1.15rem; }
.feed .art .go { grid-column: 3; grid-row: 1; }
.art-d { font-size: .78rem; color: var(--ink3); margin: 0; grid-row: 1 / span 2; }
.art-c { display: block; color: var(--gold); margin-top: 4px; }
.art h3 a { color: inherit; text-decoration: none; }
.art h3 a::after { content: ""; position: absolute; inset: 0; }
.art:hover h3 a { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: .2em; }
.art .go { font-weight: 700; font-size: .85rem; color: var(--link); display: inline-flex; gap: 6px; align-items: center; }
.art .go .ic { width: 16px; height: 16px; }
.arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.arts .art { position: relative; border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 26px; display: flex; flex-direction: column; min-height: 240px; }
.arts .art h3 { margin: 14px 0 10px; }
.arts .art p:not(.art-d) { color: var(--ink2); font-size: .94rem; }
.arts .art .go { margin-top: auto; }

/* ── 17. Risk register ─────────────────────────────────────────────── */
.risks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.risk { margin: 0; border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(18px, 2.6vw, 28px); display: grid; grid-template-columns: minmax(0, 1.1fr) 220px minmax(0, 1.3fr); gap: 18px 28px; }
.risk-h { display: flex; gap: 14px; }
.risk-n { font-size: .82rem; color: var(--amber); padding-top: 4px; }
.risk-h h3 { margin: 0 0 6px; font-size: 1.12rem; }
.risk-h p { color: var(--ink2); font-size: .9rem; margin: 0; }
.risk-a { margin: 0; display: grid; gap: 10px; align-content: start; }
.risk-a div { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.risk-a dt { font-size: .8rem; color: var(--ink3); }
.risk-a dd { margin: 0; }
.lvl { display: inline-flex; align-items: center; gap: 6px; font: 600 .74rem/1 var(--f-mono); }
.lvl::before { content: ""; width: 28px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--lc) var(--lw), var(--s3) var(--lw)); }
.l-high { --lc: #E5533B; --lw: 100%; }
.l-medium { --lc: var(--t-dev); --lw: 66%; }
.l-low-medium { --lc: var(--t-dev); --lw: 45%; }
.l-low { --lc: var(--t-con); --lw: 33%; }
.risk-m b { font-size: .8rem; color: var(--ink3); font-weight: 600; }
.risk-m p { color: var(--ink2); font-size: .92rem; margin: 4px 0 0; }

/* ── 18. Team and partners ─────────────────────────────────────────── */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.person { border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 18px; }
.person-im { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--s2); margin-bottom: 16px; display: grid; place-items: center; }
.person-im img { width: 100%; height: 100%; object-fit: cover; }
.person-in { font: 600 3rem/1 var(--f-display); color: var(--ink3); }
.person h3 { margin: 0; }
.person-r { color: var(--gold); font-size: .88rem; margin: 2px 0 10px; }
.person p { font-size: .9rem; color: var(--ink2); }
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.partner { border-radius: var(--r-m); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; color: var(--ink); }
.partner-l { max-height: 40px; width: auto; margin-bottom: 8px; }
.partner-r { font-size: .78rem; color: var(--ink3); }
.roles { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.roles li { margin: 0; display: inline-flex; gap: 10px; align-items: center; padding: 9px 14px; border-radius: 999px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .88rem; }
.roles li span { font: 500 .72rem/1 var(--f-mono); color: var(--ink3); }

/* ── 19. Forms ─────────────────────────────────────────────────────── */
.form-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); }
.form-g.has-side { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); align-items: start; }
.form-main .sh { margin-bottom: 22px; }
.dform { border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(20px, 3vw, 32px); }
.dlg .dform { padding: 0; background: none; box-shadow: none; }
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.frow > .fld { grid-column: 1 / -1; }
.frow > .fld.half { grid-column: auto; }
.lbl { font: 600 .86rem/1.3 var(--f-body); color: var(--ink); }
.lbl .opt { font-weight: 400; color: var(--ink3); font-size: .78rem; margin-left: 4px; }
.lbl output { float: right; color: var(--gold); }
.inp { background: var(--bg); border: 1.5px solid var(--line2); color: var(--ink); border-radius: var(--r-field); }
.inp:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.inp:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(243, 147, 24, .18); }
select.inp option { background: var(--s1); color: var(--ink); }
.inp-file { padding: 12px; min-height: 0; }
.inp-file::file-selector-button { margin-right: 12px; border: 0; border-radius: 999px; padding: 8px 14px; background: var(--s3); color: var(--ink); font-weight: 600; cursor: pointer; }
.err { color: #E5533B; }
.fld.invalid .err { display: block; }
.fld.invalid .inp { border-color: #E5533B; }
.hint { color: var(--ink3); }
.fsub { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.fsub-n { margin: 0; font-size: .82rem; color: var(--ink3); }
.chk label { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .92rem; cursor: pointer; }
.chk input { margin-top: 2px; flex: 0 0 auto; accent-color: var(--amber); }
.nda { border-radius: var(--r-m); background: var(--s2); padding: 18px 20px 4px; margin: 4px 0 18px; }
.nda-h { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 8px; }
.nda-h .mono { font-size: .74rem; color: var(--ink3); font-weight: 500; }
.nda-t { color: var(--ink2); font-size: .9rem; }
.fstat { margin-top: 16px; outline: 0; }
.fstat-ok, .fstat-err { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-m); }
.fstat-ok { background: var(--t-con-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-con) 40%, transparent); }
.fstat-ok b { color: var(--ink); }
.fstat-ok p, .fstat-err p { margin: 4px 0 0; font-size: .9rem; color: var(--ink2); }
.fstat-ok .mono { color: var(--ink); font-weight: 600; }
.fstat-ic { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; display: grid; place-items: center; background: var(--t-con); color: #04140C; }
.fstat-ic .ic { width: 18px; height: 18px; }
.fstat-err { flex-direction: column; gap: 0; background: rgba(229, 83, 59, .08); box-shadow: inset 0 0 0 1px rgba(229, 83, 59, .4); }
.dform.is-sent .frow, .dform.is-sent .fsub, .dform.is-sent .nda { opacity: .45; pointer-events: none; }
.dform button[type="submit"][aria-busy="true"] { opacity: .7; }
.side-card { border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 24px; position: sticky; top: calc(var(--hd-h) + 30px); }
.side-card h3 { margin: 0 0 12px; }
.side-card > p { color: var(--ink2); font-size: .92rem; }
.side-l { list-style: none; margin: 0 0 14px; padding: 0; }
.side-l li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: .92rem; }
.side-l li:last-child { border-bottom: 0; }
.side-l span { color: var(--ink3); }
.side-l a { color: var(--link); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; text-align: right; }
.side-l b { font-weight: 600; text-align: right; }
.side-t { font-size: .92rem; margin: 6px 0 14px; }
.side-docs { list-style: none; margin: 0 0 16px; padding: 0; }
.side-docs li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; font-weight: 600; font-size: .92rem; }
.side-docs li span { flex: 1; }
.side-docs .i { color: var(--ink3); }

/* Calculators */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 14px; border-radius: var(--r-l); }
form.calc { background: none; box-shadow: none; padding: 0; }
.calc-in, .calc-out { border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(20px, 3vw, 30px); min-width: 0; }
.calc-out { background: radial-gradient(100% 90% at 100% 0%, var(--glow), transparent 60%), var(--s1); }
.calc-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; padding-bottom: 6px; }
.calc-out .met .v { font-size: 2.1rem; }
.calc-out .met .p b { color: var(--ink); }
.calc-m { font-size: .8rem; color: var(--ink3); margin: 12px 0 0; }
.calc-form { margin-top: 14px; }
form.calc .calc-form { grid-column: 1 / -1; margin-top: 0; border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(20px, 3vw, 30px); }
.calc-form h3 { margin: 0 0 16px; }
.range { width: 100%; accent-color: var(--amber); height: 44px; }

/* Subscribe */
.subs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); background: radial-gradient(90% 140% at 0% 100%, var(--glow), transparent 60%), var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.subs h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); margin: 0 0 10px; }
.subs p { color: var(--ink2); margin: 0; }
.subs-f { padding: 0; background: none; box-shadow: none; }
.subs-row { display: flex; gap: 10px; align-items: flex-end; }
.subs-row .fld { flex: 1; margin: 0; }
.subs-row .btn { flex: 0 0 auto; min-height: 50px; }
.subs-f .fsub-n { margin-top: 10px; }

/* ── 20. Project page and articles ─────────────────────────────────── */
.pj-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.pj-hd h1 { margin: 0 0 16px; }
.pj-tier { margin-bottom: 20px; }
.pj-hd .lead { margin-bottom: 26px; }
.pj-im { margin: 0; position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; background: var(--s2); }
.pj-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 14px; align-items: start; }
.ladder { border-radius: var(--r-l); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 24px; }
.ladder-hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.ladder-hd h2 { font-size: 1.4rem; margin: 0; }
.ladder-hd .mono { color: var(--gold); }
.ladder-l { list-style: none; margin: 18px 0 12px; padding: 0; }
.ladder-l li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; margin: 0; position: relative; color: var(--ink3); font-size: .92rem; }
.ladder-l li:not(:last-child)::before { content: ""; position: absolute; left: 12px; top: 30px; bottom: -8px; width: 2px; background: var(--s3); }
.ladder-l li.is-done:not(:last-child)::before { background: var(--amber); }
.ladder-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--s3); background: var(--s1); position: relative; z-index: 1; }
.ladder-l .is-done { color: var(--ink); }
.ladder-l .is-done .ladder-dot { background: var(--amber); box-shadow: none; color: #1A0E00; }
.ladder-l .is-done .ladder-dot .i { width: 14px; height: 14px; }
.ladder-l .is-next { color: var(--ink); font-weight: 650; }
.ladder-l .is-next .ladder-dot { box-shadow: inset 0 0 0 2px var(--amber); }
.ladder-w { font-size: .76rem; }
.art-hd { margin-bottom: 28px; }
.art-hd h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); margin: 0 0 18px; }
.art-by { color: var(--ink3); font-size: .9rem; }
.art-im { margin: 0 0 28px; border-radius: var(--r-l); overflow: hidden; }
.art-next { margin-top: 36px; }

/* ── 21. Footer and tier key ───────────────────────────────────────── */
.ft { padding-top: clamp(64px, 8vw, 110px); }
.ft-panel { background: var(--s1); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 48px); }
.ft-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 48px); }
.ft-brand img { height: 30px; }
.ft-about p { color: var(--ink2); font-size: .95rem; }
.ft-direct { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ft-direct li { margin: 0; }
.ft-direct a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; padding: 4px 0; }
.ft-direct a:hover { color: var(--link); }
.ft-direct .i { color: var(--amber); }
.ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ft-h { font: 600 .76rem/1 var(--f-mono); color: var(--ink3); }
.ft li a { font-weight: 600; font-size: .94rem; color: var(--ink); }
.ft li a:hover { color: var(--link); }
.ft-tiers { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; padding: 18px 20px; border-radius: var(--r-m); background: var(--s2); }
.ft-tiers p { margin: 0; font-weight: 700; font-size: .9rem; }
.ft-tiers p a { color: var(--ink); text-decoration-color: var(--amber); }
.ft-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ft-fam { gap: 8px; margin-top: 26px; padding-top: 26px; }
.ff { height: 38px; padding: 0 16px; background: var(--s2); color: var(--ink); font: 650 .86rem/1 var(--f-body); }
.ff.is-here { background: var(--amber); color: #1A0E00; }
.ff.is-here .ff-dot { background: #1A0E00; }
.ff-logo { height: 15px; width: auto; }
.ff-logo.th-d { display: none; }
[data-theme="dark"] .ff-logo.th-l { display: none; }
[data-theme="dark"] .ff-logo.th-d { display: block; }
.ff-green { --fam: #86BC2B; }
.ft-reg { color: var(--ink3); font-size: .78rem; }
.ft-reg a { color: var(--ink2); }
.ft-fine { color: var(--ink3); }
.tl { position: fixed; z-index: 55; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--glass-line), 0 16px 40px -18px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.tl.is-on { opacity: 1; transform: none; pointer-events: auto; }
.tl-t { font-weight: 700; font-size: .82rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.tl-t:hover { color: var(--link); }
.tl-chips { display: flex; gap: 5px; }
.tl-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); display: grid; place-items: center; }
.tl-x .i { width: 14px; height: 14px; }
@media (max-width: 1180px) { .tl { display: none; } }

/* Island and sheet in this site's palette */
.it-primary { background: var(--amber); color: #1A0E00; }
.sq .i { color: var(--amber); }
.sheet-panel { background: var(--bg); }
.sheet-group ul, .sq, .fam-i { background: var(--s1); border-color: var(--line); }

/* Core blocks that editors may add, in this site's language */
.blk .sec-hd .eyebrow { color: var(--gold); }
.blk .card { background: var(--s1); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-l); }
.blk-prose { color: var(--ink2); }
.sec.night { background: #0E1013; }

/* ── 22. Responsive ────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door { min-height: 240px; }
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .points.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .risk { grid-template-columns: minmax(0, 1fr) 200px; }
  .risk-m { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .hg { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 32px; }
  .projs, .arts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost { grid-template-columns: minmax(0, 1fr); }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-g.has-side, .calc, .pj-two { grid-template-columns: minmax(0, 1fr); }
  .side-card { position: static; }
  .chain { grid-template-columns: minmax(0, 1fr); }
  .chain-n:not(:last-child)::after { top: auto; bottom: -14px; right: auto; left: 46px; width: 2px; height: 14px; background: linear-gradient(180deg, var(--amber), var(--gold)); }
}
@media (max-width: 960px) {
  .hero { margin: calc(-1 * var(--hd-h)) 8px 0; border-radius: 32px; padding-top: calc(var(--hd-h) + 48px); }
  .hg { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .met .v { font-size: 2rem; }
  .flow { margin-top: 40px; padding: 10px 0 40px; }
  .flowline { left: 27px; right: auto; top: 20px; bottom: 60px; width: 2px; height: auto; background: linear-gradient(180deg, #F39318, #FFC861, #7EA6FF); animation: none; }
  .nodes { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .node { flex-direction: row; text-align: left; gap: 14px; }
  .node .o { flex: 0 0 54px; }
  .sh { flex-direction: column; align-items: flex-start; }
  .inv { margin: 72px 8px 0; border-radius: 32px; }
  .inv-g, .subs, .pj-g, .phead-g { grid-template-columns: minmax(0, 1fr); }
  .phead-im { aspect-ratio: 16 / 10; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tdef { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ft-top { grid-template-columns: minmax(0, 1fr); }
  .feed .art { grid-template-columns: minmax(0, 1fr); }
  .feed .art p:not(.art-d), .feed .art h3 { grid-column: 1; }
  .feed .art .go { display: none; }
  .art-d { grid-row: auto; }
  .tone-panel .wrap, .tone-glow .wrap { border-radius: 28px; width: calc(100% - 16px); }
}
@media (max-width: 680px) {
  :root { --r-xl: 30px; --r-l: 24px; }
  .doors, .projs, .arts, .team, .points, .points.c2, .points.c4 { grid-template-columns: minmax(0, 1fr); }
  .door { min-height: 0; padding: 22px; }
  .door h3 { margin-top: 18px; }
  .door .o { margin-bottom: 0; }
  .stack .seg span { display: none; }
  .stack .seg { min-width: 62px; padding: 0 8px; font-size: .72rem; justify-content: center; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .st { padding: 14px; }
  .st .v { font-size: 1.35rem; }
  .rng .k { width: 36%; font-size: .8rem; }
  .rng .v { width: 74px; font-size: .74rem; padding-left: 8px; white-space: normal; }
  .rng .tc { display: none; }
  .axis { grid-template-columns: 36% minmax(0, 1fr) 74px 0; }
  .frow { grid-template-columns: minmax(0, 1fr); }
  .frow > .fld.half { grid-column: 1 / -1; }
  .spec-r { grid-template-columns: minmax(0, 1fr) auto; }
  .spec-t { grid-column: 1 / -1; text-align: left; min-width: 0; }
  .risk { grid-template-columns: minmax(0, 1fr); }
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subs-row { flex-direction: column; align-items: stretch; }
  .doc { flex-wrap: wrap; }
  .doc .btn { margin-left: 58px; }
  .dtbl th, .dtbl td { padding: 13px 16px; }
  .phead-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig-tile .fig-v { font-size: 1.45rem; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 2.45rem; }
  .kv { gap: 10px; }
}

/* Provenance lines inside tiles */
.ours .p, .calc-out .p, .tile .p { display: block; font-size: .76rem; color: var(--ink3); margin-top: 4px; }

/* Words, not numbers, keep the text face */
.txt { font-family: var(--f-body) !important; letter-spacing: -.01em !important; font-weight: 600 !important; }
.fig-v.txt, .fig-tile .fig-v.txt { font-size: 1.15rem; line-height: 1.3; }
.spec-v .txt { font-size: .98rem; }
.met .v.txt { font-size: 1.3rem; color: var(--ink); }
.calc-in .opt { display: none; }
@media (max-width: 680px) {
  .spec-r { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .spec-v { text-align: left; }
  .spec-v .txt { font-size: 1rem; }
}
