/* FOREVER OS: the one system every page shares. Loaded last, so it wins over older page sheets.
   Paper: a cool off-white with fine film grain, never flat white. Subjects: charcoal to glowing white. One red,
   #ff2b2b, used only for telemetry: tracking boxes, guide lines, live marks, the primary action.
   Type: Geist for words, Geist Mono for measurements, codes and coordinates. Motion: horizontal motion blur
   (blur + translateX) as the signature move; 160 to 650 ms, exponential ease-out. */
@font-face { font-family: 'Geist'; src: url(/funds/assets/fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap }
@font-face { font-family: 'Geist Mono'; src: url(/funds/assets/fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-display: swap }
:root {
  --paper: #edede9; --paper-2: #e4e4df; --card: #f6f6f3; --white: #fbfbf9; --ink: #121212; --ink-2: #3b3b38; --soft: #696964; --faint: #9c9c96; --line: #d9d9d3; --line-2: #c9c9c2;
  --char: #141413; --char-2: #1d1d1b; --char-line: #ffffff17; --ghost: #f3f3ef;
  --red: #ff2b2b; --red-ink: #c81b1b; --red-wash: #ff2b2b14; --up: #12804e; --down: #c8321f;
  --f: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif; --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --t-hero: clamp(46px, 6.2vw, 96px); --t-page: clamp(40px, 4.6vw, 72px); --t-sec: clamp(28px, 2.6vw, 40px);
  --e: cubic-bezier(.16, 1, .3, 1); --e-in: cubic-bezier(.7, 0, .84, 0); --gut: clamp(18px, 3.4vw, 52px); --max: 1320px; --hd: 64px;
  --sh-node: 0 26px 48px -26px #0000008c, 0 6px 14px -8px #0000004d; --sh-pop: 0 30px 80px -30px #00000059, 0 0 0 1px #12121210;
}
html { background: var(--paper); scroll-padding-top: calc(var(--hd) + 20px) }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--f); letter-spacing: -.006em; font-feature-settings: 'ss01' 1 }
body:before { content: ''; position: fixed; inset: 0; z-index: 200; pointer-events: none; background: url(/funds/assets/field/grain.webp) 0 0 / 160px 160px; opacity: .11; mix-blend-mode: multiply }
::selection { background: #ff2b2b2e; color: var(--ink) }
:focus-visible { outline: 1px solid var(--red); outline-offset: 3px; border-radius: 2px }
* { scrollbar-width: thin; scrollbar-color: #12121233 transparent }
.num, .mono { font-family: var(--mono); font-feature-settings: 'tnum' 1, 'zero' 0; letter-spacing: -.02em }
.num { font-family: inherit; font-variant-numeric: tabular-nums }
.mono { font-size: .92em }
/* old page palettes now sit on the same paper and the same red */
.md, .hl { --red: #ff2b2b; --redi: #e50914; --paper: #edede9; background: transparent !important }
.md .red, .red { color: var(--red) }

/* nothing flashes unstyled: the page fades in once the shell is mounted (and after 1.2s regardless) */
body:not(.fv-ready) > main, body:not(.fv-ready) > .ft { opacity: 0 }
body > main { animation: fvShow 0s linear 1.2s forwards }
/* the first frame, before the shell mounts: the mark, under a tracking box */
body:not(.fv-ready):after { content: ''; position: fixed; z-index: 201; left: 50%; top: 46%; width: 44px; height: 50px; translate: -50% -50%; background: url(/funds/assets/mark.png) 50% 50% / 22px 25px no-repeat; box-shadow: inset 0 0 0 1px var(--red); animation: fvMark 1s steps(1) infinite, fvShow 0s linear 1.2s reverse forwards }
@keyframes fvMark { 50% { box-shadow: inset 0 0 0 1px transparent } }
body.fv-ready > main { animation: fvIn .5s var(--e) both }
@keyframes fvShow { to { opacity: 1 } }
@keyframes fvIn { from { opacity: 0; filter: blur(6px); transform: translateX(-10px) } }

/* ── the Round 1 bar, above the header: charcoal, one live dot, a small horse galloping in place */
.an { position: relative; z-index: 61; display: block; height: 38px; overflow: hidden; background: var(--char); color: #f2f2ee; text-decoration: none }
.an[hidden] { display: none }
.an-run { position: absolute; top: 4px; left: 0; width: 52px; height: 30px; background: url(/funds/assets/mark/gallop-mini.webp) 0 0 / 784px 30px no-repeat; filter: invert(1) brightness(1.6); opacity: .55; animation: anRun .7s steps(16) infinite, anCross 22s linear infinite }
@keyframes anRun { to { background-position: -784px 0 } } @keyframes anCross { from { transform: translateX(-60px) } to { transform: translateX(100vw) } }
.an-in { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; height: 100%; padding: 0 var(--gut); font-size: 13.5px; white-space: nowrap }
.an-dot { width: 6px; height: 6px; background: var(--red); animation: blink 1.6s steps(1) infinite } .an b { font-weight: 500 } .an-t { color: #f2f2eeb0 } .an-c { color: #ff8f86; font-size: 12.5px }
.an-go { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: var(--red); color: #fff; font-weight: 500 } .an-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--e) } .an:hover .an-go svg { transform: translateX(3px) }
@media (max-width: 700px) { .an-t { display: none } .an-in { justify-content: space-between } }

/* ── header: four links, one hairline that slides; the mark and the wallet */
.hd { position: sticky; top: 0; z-index: 60; height: var(--hd); background: color-mix(in srgb, var(--paper) 84%, transparent); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); transition: box-shadow .3s var(--e) }
.hd.raised { box-shadow: 0 1px 0 var(--line) }
.hd-in { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 100%; width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto }
.hd-brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font: 500 14px/1 var(--f); letter-spacing: .2em; color: var(--ink) }
.hd-brand img { width: 22px; height: 25px; object-fit: contain; transition: transform .6s var(--e) }
.hd-brand:hover img { transform: translateX(3px) } .hd-brand.busy img { animation: hdRun .5s steps(1) infinite }
@keyframes hdRun { 50% { transform: translateX(2px) skewX(-8deg); filter: blur(.6px) } }
.hd-nav { position: relative; display: flex; align-items: center; gap: 2px }
.hd-t { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; font: 450 15px/1 var(--f); color: var(--soft); transition: color .2s }
.hd-t:hover, .hd-t[aria-current], .hd-t[aria-expanded=true] { color: var(--ink) }
.hd-t svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--e) } .hd-t[aria-expanded=true] svg { transform: rotate(180deg) }
.hd-ln { position: absolute; left: 0; bottom: 4px; height: 1px; background: var(--ink); opacity: 0; pointer-events: none; transition: transform .45s var(--e), width .45s var(--e), opacity .2s }
.hd-ln:after { content: ''; position: absolute; right: -3px; top: -2px; width: 5px; height: 5px; background: var(--red) }
.hd-ln.moving { filter: blur(.5px) }
.hd-more { position: relative }
.hd-menu { position: absolute; z-index: 62; top: calc(100% + 4px); left: 50%; translate: -50% 0; display: grid; min-width: 180px; padding: 6px; border-radius: 6px; background: var(--white); box-shadow: var(--sh-pop); opacity: 0; transform: translateY(-6px); filter: blur(4px); pointer-events: none; transition: opacity .2s var(--e), transform .3s var(--e), filter .3s var(--e) }
.hd-menu.on { opacity: 1; transform: none; filter: none; pointer-events: auto }
.hd-menu a { padding: 10px 12px; border-radius: 4px; font-size: 14.5px; color: var(--ink-2) } .hd-menu a:hover { background: var(--paper); color: var(--ink) }
.hd-r { display: flex; align-items: center; justify-content: end; gap: 8px; min-width: 0 }
.hd-ask { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 9px 0 10px; border-radius: 3px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 13.5px/1 var(--f); color: var(--ink); transition: box-shadow .2s }
.hd-ask:hover { box-shadow: inset 0 0 0 1px var(--ink) } .hd-ask svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6 }
.hd-ask kbd { padding: 3px 5px; border-radius: 2px; background: var(--paper); font: 500 11px/1 var(--mono); color: var(--soft) }
.hd-tick { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 6px; font: 500 13px/1 var(--f); color: var(--ink) } .hd-tick img { width: 20px; height: 20px; border-radius: 50% } .hd-tick span { font-family: var(--mono); font-size: 12.5px }
.hd-wal { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 3px; background: var(--ink); color: #f2f2ee; font: 500 13.5px/1 var(--f); white-space: nowrap; transition: background .2s, transform .2s var(--e) }
.hd-wal:hover { background: #000 } .hd-wal:active { transform: scale(.97) } .hd-wal i { width: 6px; height: 6px; background: #ffffff55 }
.hd-wal.on { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2) } .hd-wal.on i { background: var(--up) } .hd-wal.busy { opacity: .6; pointer-events: none }
.hd-menu-b { display: none; width: 40px; height: 40px; place-items: center } .hd-menu-b svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5 }

/* loader: a hairline runs under the header and the logo horse gallops, only if a page takes longer than a beat */
.ld { position: absolute; z-index: 70; top: 100%; left: 0; right: 0; height: 1px; pointer-events: none; opacity: 0; transition: opacity .2s }
.ld.on { opacity: 1 }
.ld i { position: absolute; top: 0; left: 0; width: 28%; height: 1px; background: var(--red); animation: ldRun 1s var(--e) infinite }
.ld i:after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border: 1px solid var(--red) }
@keyframes ldRun { from { transform: translateX(-30vw) } to { transform: translateX(110vw) } }

/* page change: the old page streaks out to the left, the new one resolves out of a blur */
main { view-transition-name: fv-main }
.hd { view-transition-name: fv-head }
::view-transition-old(fv-main) { animation: vtOut .2s var(--e-in) both }
::view-transition-new(fv-main) { animation: vtIn .42s var(--e) both }
@keyframes vtOut { to { opacity: 0; filter: blur(10px); transform: translateX(-28px) } }
@keyframes vtIn { from { opacity: 0; filter: blur(10px); transform: translateX(28px) } }

/* ── buttons: one family. Square-cut, label centred, icon slides. */
.b, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; height: auto; padding: 0 22px; border: 0; border-radius: 3px; font: 500 15px/1.2 var(--f); letter-spacing: -.005em; text-align: center; white-space: nowrap; cursor: pointer; text-decoration: none; transition: transform .25s var(--e), background .2s, box-shadow .25s var(--e), color .2s }
.b svg, .btn svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--e) }
.b:hover:not(:disabled) svg, .btn:hover:not(:disabled) .ic.go { transform: translateX(3px) }
.b-red, .btn.red { background: var(--red); color: #fff; box-shadow: none } .b-red:hover:not(:disabled), .btn.red:hover:not(:disabled) { background: #e50914; transform: translateY(-1px); box-shadow: 0 14px 30px -16px #ff2b2bc0 }
.b-ink, .btn:not(.red):not(.ghost):not(.quiet) { background: var(--ink); color: #f2f2ee } .b-ink:hover:not(:disabled), .btn:not(.red):not(.ghost):not(.quiet):hover:not(:disabled) { background: #000; transform: translateY(-1px) }
.b-line, .b-ghost, .btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2) } .b-line:hover, .b-ghost:hover, .btn.ghost:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); transform: none }
.b:active:not(:disabled), .btn:active:not(:disabled) { transform: scale(.98) }
.b:disabled, .btn:disabled { background: var(--paper-2); color: var(--faint); box-shadow: none; cursor: not-allowed }
.b.big { min-height: 58px; padding: 0 30px; font-size: 17px } .b.sm, .btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px }
.b.busy, .btn.busy { pointer-events: none } .b.busy:after { content: ''; width: 14px; height: 14px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite }
@keyframes spin { to { transform: rotate(1turn) } }
.chip { border-radius: 2px } .pill { border-radius: 2px }

/* agents are their portraits: greyscale, soft, framed like a contact print */
.em { border-radius: 3px !important; background: #d9d9d4 !important; box-shadow: inset 0 0 0 1px #12121214 !important }
.em img { object-fit: cover !important; transform: none !important; filter: grayscale(1) contrast(1.04); transition: transform .6s var(--e), filter .4s !important }
a:hover > .em img, .card.hov:hover .em img, .em.on img { transform: scale(1.06) !important }
.em.round { border-radius: 50% !important }

/* ── page head: the field runs along the bottom; the words sit in a clear centre column */
.pg { position: relative; isolation: isolate; display: grid; place-items: start center; min-height: clamp(420px, 58vh, 600px); padding: clamp(48px, 8vh, 88px) var(--gut) 190px; overflow: hidden; text-align: center }
.pg.tall { min-height: calc(100svh - var(--hd)); place-items: start center; padding-top: clamp(56px, 11vh, 120px); padding-bottom: 30vh }
.pg.short { min-height: 440px; padding-bottom: 200px }
.fd-c { position: absolute; z-index: -1; left: 0; bottom: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--e) }
.fd-c.on { opacity: 1 }
.pg:after { content: ''; position: absolute; z-index: -1; inset: auto 0 0; height: 46px; background: linear-gradient(0deg, var(--paper), transparent); pointer-events: none }
.pg-corners:before, .pg-corners:after, .pg-corners i:before, .pg-corners i:after { content: ''; position: absolute; width: 16px; height: 16px; border: 0 solid #12121255; pointer-events: none }
.pg-corners { position: absolute; inset: 18px; pointer-events: none }
.pg-corners:before { left: 0; top: 0; border-width: 1px 0 0 1px } .pg-corners:after { right: 0; top: 0; border-width: 1px 1px 0 0 } .pg-corners i:before { left: 0; bottom: 0; border-width: 0 0 1px 1px } .pg-corners i:after { right: 0; bottom: 0; border-width: 0 1px 1px 0 }
.pg-in { position: relative; display: grid; justify-items: center; gap: 0; max-width: 760px }
.pg-t { margin: 0; font: 300 var(--t-page)/1 var(--f); letter-spacing: -.045em; text-wrap: balance; color: var(--ink) }
.pg.tall .pg-t { font-size: var(--t-hero); line-height: .96 }
.pg-d { max-width: 40ch; margin: 20px 0 0; font: 400 clamp(17px, 1.35vw, 20px)/1.5 var(--f); color: var(--ink-2); text-wrap: balance }
.pg-go { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px }
.pg-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 26px; font: 400 13px/1.4 var(--mono); color: var(--soft) }
.pg-meta b { color: var(--ink); font-weight: 500 }
.pg-in > * { animation: pgIn .9s var(--e) both } .pg-in > :nth-child(2) { animation-delay: .06s } .pg-in > :nth-child(3) { animation-delay: .12s } .pg-in > :nth-child(4) { animation-delay: .18s } .pg-in > :nth-child(5) { animation-delay: .24s }
@keyframes pgIn { from { opacity: 0; filter: blur(8px); transform: translateX(-18px) } }
.fd-tags { position: absolute; inset: 0; z-index: 1; pointer-events: none }
.fd-tag { position: absolute; top: 0; left: 0; display: inline-grid; gap: 2px; padding: 5px 8px 6px; background: var(--ink); color: #f2f2ee; pointer-events: auto; transition: opacity .3s; white-space: nowrap; will-change: transform }
.fd-tag b { font: 500 12px/1.2 var(--f) } .fd-tag span { font: 500 11px/1.2 var(--mono); color: #f2f2eeb0 }
a.fd-tag:hover { background: var(--red) } a.fd-tag:hover span { color: #fff }

/* ── sections */
.sx { width: min(var(--max), 100% - 2 * var(--gut)); margin: 0 auto; padding: clamp(64px, 8vw, 120px) 0 0 }
.sx-h { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 32px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line) }
.sx-h h2 { margin: 0; font: 300 var(--t-sec)/1.05 var(--f); letter-spacing: -.035em }
.sx-h p { max-width: 44ch; margin: 0; font-size: 15.5px; color: var(--soft) }
.sx-h .mono { font-size: 12px; color: var(--soft) }
.rv2 { opacity: 0; transform: translateX(-16px); filter: blur(6px); transition: opacity .7s var(--e), transform .8s var(--e), filter .8s var(--e); transition-delay: calc(var(--i, 0) * 70ms) }
.rv2.in { opacity: 1; transform: none; filter: none }

/* ── footer: one strip of white horses on charcoal, the word, the links */
.ft { position: relative; margin-top: clamp(80px, 10vw, 140px); background: var(--char); color: #f2f2ee; overflow: hidden }
.ft:before { content: ''; position: absolute; inset: 0; background: url(/funds/assets/field/grain.webp) 0 0 / 160px 160px; opacity: .3; mix-blend-mode: screen; pointer-events: none }
.ft-run { position: relative; height: 150px; border-bottom: 1px solid var(--char-line) }
.ft-run canvas { position: absolute; inset: 0; width: 100%; height: 100% }
.ft-in { position: relative; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; width: min(var(--max), 100% - 2 * var(--gut)); margin: 0 auto; padding: 44px 0 34px }
.ft-word { font: 300 clamp(48px, 7vw, 108px)/.82 var(--f); letter-spacing: -.06em }
.ft-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px } .ft-nav a { color: #f2f2eeb8; transition: color .2s } .ft-nav a:hover { color: #fff }
.ft-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; width: min(var(--max), 100% - 2 * var(--gut)); margin: 0 auto; padding: 16px 0 26px; border-top: 1px solid var(--char-line); font: 400 12.5px/1.4 var(--mono); color: #f2f2ee80 }
.ft-base a { color: #f2f2eec0 } .ft-base a:hover { color: #fff } .ft-orb { display: inline-flex; align-items: center; gap: 8px } .ft-orb img { width: 16px; height: 16px }

/* ── the Ask drawer: one agent on every page, aware of where you are */
.dr { position: fixed; z-index: 80; top: 8px; right: 8px; bottom: 8px; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr) auto; width: min(440px, calc(100vw - 16px)); border-radius: 8px; background: var(--char); color: #f2f2ee; box-shadow: 0 40px 100px -30px #000000a0; transform: translateX(calc(100% + 24px)); transition: transform .55s var(--e); overflow: hidden }
.dr.on { transform: none }
.dr:before { content: ''; position: absolute; inset: 0; background: url(/funds/assets/field/grain.webp) 0 0 / 160px 160px; opacity: .22; mix-blend-mode: screen; pointer-events: none }
.dr > * { position: relative }
.dr-h { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--char-line) }
.dr-h .em { --s: 36px }
.dr-h b { display: block; font: 500 15px/1.2 var(--f) } .dr-h small { display: block; font: 400 12px/1.3 var(--mono); color: #f2f2ee80 }
.dr-x, .dr-open { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 3px; color: #f2f2eeb0; transition: background .2s, color .2s }
.dr-x:hover, .dr-open:hover { background: #ffffff12; color: #fff }
.dr-x svg, .dr-open svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round }
.dr-ctx { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; font: 400 12px/1.4 var(--mono); color: #f2f2ee80; border-bottom: 1px solid var(--char-line) }
.dr-ctx b { padding: 3px 7px; border: 1px solid #ff2b2b80; color: #ffb1a8; font-weight: 500 }
.dr-ag { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; border-bottom: 1px solid var(--char-line); scrollbar-width: none }
.dr-ag button { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; opacity: .5; transition: opacity .2s, box-shadow .2s }
.dr-ag button img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) }
.dr-ag button[aria-pressed=true] { opacity: 1; box-shadow: 0 0 0 1px var(--red), 0 0 0 3px var(--char) }
.dr-ag button:hover { opacity: .9 }
.dr-log { display: grid; align-content: start; gap: 14px; margin: 0; padding: 16px; overflow-y: auto; list-style: none; overscroll-behavior: contain }
.dr-foot { display: grid; gap: 10px; padding: 12px 12px 14px; border-top: 1px solid var(--char-line) }
.dr-sug { display: flex; flex-wrap: wrap; gap: 6px }
.dr-sug button { padding: 7px 10px; border-radius: 3px; background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--char-line); font-size: 13px; color: #f2f2eec8; transition: background .2s, color .2s; text-align: left }
.dr-sug button:hover { background: #ffffff1a; color: #fff }
.dr-in { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 4px; background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--char-line) }
.dr-in:focus-within { box-shadow: inset 0 0 0 1px #ffffff40 }
.dr-in textarea { min-height: 40px; max-height: 140px; padding: 10px 0; border: 0; background: none; resize: none; font: 15px/1.4 var(--f); color: #fff; outline: 0 }
.dr-in textarea::placeholder { color: #f2f2ee66 }
.dr-in button { align-self: end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 3px; background: var(--red); color: #fff }
.dr-in button:disabled { background: #ffffff1a; color: #f2f2ee66 }
.dr-in button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.dr-model { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 400 12px/1.3 var(--mono); color: #f2f2ee70 }
.dr-model span { display: inline-flex; align-items: center; gap: 6px } .dr-model .lg { width: 13px; height: 13px; color: #f2f2eec0 }
.dr-scrim { position: fixed; inset: 0; z-index: 79; background: #12121220; opacity: 0; pointer-events: none; transition: opacity .3s } .dr-scrim.on { opacity: 1; pointer-events: auto }

/* messages and tool rows, shared by the drawer and the studio */
.mx { display: grid; gap: 8px; animation: mxIn .5s var(--e) both }
@keyframes mxIn { from { opacity: 0; filter: blur(6px); transform: translateX(-12px) } }
.mx.me { justify-items: end }
.mx.me p { max-width: 86%; padding: 10px 13px; border-radius: 4px; background: #ffffff14; color: #fff }
.mx p { margin: 0; font-size: 15px; line-height: 1.55 }
.mx .who { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: #f2f2ee80 } .mx .who .em { --s: 22px }
.tl { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; font: 400 12.5px/1.35 var(--mono) }
.tl li { display: grid; grid-template-columns: 14px 1fr auto; gap: 8px; align-items: center; padding: 5px 0; color: #f2f2ee99; animation: mxIn .4s var(--e) both }
.tl li i { width: 9px; height: 9px; border: 1px solid currentColor }
.tl li.run i { border-color: var(--red); animation: tlScan .8s steps(2) infinite } .tl li.ok i { background: currentColor; border-color: currentColor; color: #f2f2ee80 } .tl li.bad i { background: var(--red); border-color: var(--red) }
.tl li span:last-child { color: #f2f2ee60 }
@keyframes tlScan { 50% { transform: scale(.55) } }
.typing { display: inline-flex; gap: 4px; padding: 6px 0 } .typing i { width: 5px; height: 5px; background: currentColor; opacity: .3; animation: tpI 1s infinite } .typing i:nth-child(2) { animation-delay: .15s } .typing i:nth-child(3) { animation-delay: .3s }
@keyframes tpI { 30% { opacity: 1; transform: translateY(-2px) } }
.caret:after { content: ''; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--red); animation: blink 1s steps(1) infinite }

/* small one-colour provider marks */
.lg { flex: none; display: inline-block; vertical-align: middle }

@media (max-width: 900px) {
  .hd-in { grid-template-columns: auto 1fr auto } .hd-nav { display: none } .hd-menu-b { display: grid } .hd-tick { display: none }
}
@media (max-width: 640px) {
  .hd-ask kbd, .hd-ask span { display: none } .hd-ask { padding: 0 9px } .hd-wal { padding: 0 11px }
  .pg { padding-bottom: 96px } .pg-go { width: 100% } .pg-go .b { flex: 1 1 100% }
  .sx-h { grid-template-columns: 1fr }
}
/* the phone menu: the three groups, full screen */
.mm { position: fixed; z-index: 75; inset: var(--hd) 0 0; display: grid; align-content: start; gap: 0; padding: 24px var(--gut) 40px; background: var(--paper); overflow-y: auto; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s var(--e), transform .35s var(--e) }
.mm.on { opacity: 1; transform: none; pointer-events: auto }
.mm h3 { margin: 0 0 6px; font: 500 12px/1 var(--mono); color: var(--soft) }
.mm a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 300 30px/1.1 var(--f); letter-spacing: -.03em } .mm a.mm-s { padding: 10px 0; font-size: 18px; color: var(--soft) }
.mm a small { font: 400 13px/1 var(--mono); color: var(--soft) }
@media (prefers-reduced-motion: reduce) { body.fv-ready > main, .pg-in > *, .mx, .tl li, .rv2 { animation: none !important; transition: none !important; opacity: 1 !important; filter: none !important; transform: none !important } ::view-transition-old(fv-main), ::view-transition-new(fv-main) { animation: none } }

/* ── the vote page in the system: paper, square cuts, telemetry red; the cases are drawn, not written */
body[data-page=council] .md { --line: #d9d9d3; --rC: 4px }
body[data-page=council] .bo, body[data-page=council] .case, body[data-page=council] .stand, body[data-page=council] .room-w, body[data-page=council] .close3 li { border-radius: 4px !important; background: var(--card) !important; box-shadow: inset 0 0 0 1px var(--line) !important }
body[data-page=council] .bo[aria-checked=true] { box-shadow: inset 0 0 0 1px var(--red), 0 0 0 3px var(--red-wash) !important }
body[data-page=council] .bo .tg, body[data-page=council] .case-tag { border-radius: 2px !important; background: var(--ink) !important; font: 500 11px/1 var(--mono) !important; letter-spacing: .04em; text-transform: uppercase }
body[data-page=council] .bo.mine .tg, body[data-page=council] .case.mine .case-tag { background: var(--red) !important }
body[data-page=council] .bl-title em { font-style: normal; color: var(--ink) }
body[data-page=council] .bl-title .ln:nth-child(2) span { position: relative } body[data-page=council] .bl-title .ln:nth-child(2) span:after { content: ''; position: absolute; left: 0; right: .06em; bottom: .06em; height: 1px; background: var(--red) }
body[data-page=council] .bl-value b { font-family: var(--mono); letter-spacing: -.04em; font-weight: 400 }
body[data-page=council] .bl-facts dd { font-family: var(--mono); font-weight: 400 }
body[data-page=council] .case-r { display: none }
body[data-page=council] .case-sup { position: relative; display: flex; height: 22px; overflow: hidden; border-radius: 2px; background: #12121209; box-shadow: inset 0 0 0 1px var(--line) }
body[data-page=council] .case-sup i { display: block; height: 100%; transform-origin: left; animation: supIn 1.1s var(--e) both; animation-delay: calc(var(--i) * 80ms + .2s) }
body[data-page=council] .case-sup .s-d { background: var(--ink) } body[data-page=council] .case-sup .s-b { background: var(--red); animation-delay: calc(var(--i) * 80ms + .5s) } body[data-page=council] .case-sup .s-k { background: repeating-linear-gradient(90deg, #12121230 0 1px, transparent 1px 4px) }
@keyframes supIn { from { transform: scaleX(0) } }
body[data-page=council] .case-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 10.5px; color: var(--soft) } body[data-page=council] .case-key span { display: inline-flex; align-items: center; gap: 5px } body[data-page=council] .case-key i { display: inline-block; flex: none; width: 7px !important; height: 7px !important; margin: 0 !important; position: static !important } body[data-page=council] .case-key .s-d { background: var(--ink) } body[data-page=council] .case-key .s-b { background: var(--red) } body[data-page=council] .case-key .s-k { box-shadow: inset 0 0 0 1px #12121266 }
body[data-page=council] .case-p { font-family: var(--mono); font-weight: 400 }
body[data-page=council] .case-bar, body[data-page=council] .bo .bar { border-radius: 0 !important } body[data-page=council] .case-bar i, body[data-page=council] .bo .bar i { border-radius: 0 !important }
body[data-page=council] .orb-badge { border-radius: 3px !important }
body[data-page=council] .sh-k { display: none }
body[data-page=council] .b-red, body[data-page=council] .b { border-radius: 3px }
body[data-page=council] .wz-in, body[data-page=council] .ag-in { border-radius: 8px !important; background: var(--paper) !important }
/* funds board, fund page, proposals, updates, how: the same paper and corners */
.card, .panel, .hl-card, .fc, .hold, .ph-art.stage { border-radius: 4px !important }
.chip, .pill { border-radius: 2px !important }
.ph-t, .hx-t, .sec-h h2, .hl-h h2 { letter-spacing: -.04em }
.ex-bar { top: var(--hd) !important; background: color-mix(in srgb, var(--paper) 90%, transparent) !important }
.ex-in { font-family: var(--mono); font-size: 12px !important; letter-spacing: .01em }
.i3t { flex: none; display: grid; place-items: center; width: var(--s); height: var(--s); border-radius: 3px; background: var(--char); color: #f2f2ee; box-shadow: 0 14px 26px -16px #00000080 }
.i3t .ic { stroke-width: 1.4 }
.hl-steps li { grid-template-columns: 1fr !important } .hl-steps li:after { font-family: var(--mono) !important; font-size: 12px !important; color: var(--red-ink) !important; content: '0' attr(data-n) !important }
.hl { padding-bottom: 0 !important }
.hl-w { width: min(var(--max), 100% - 2 * var(--gut)) !important }
.hl-card, .pr-it, .up-it { border-radius: 4px !important; background: var(--card) !important; box-shadow: inset 0 0 0 1px var(--line) !important }
.pr-it:hover { box-shadow: inset 0 0 0 1px var(--ink) !important }
.hl .seg { border-radius: 4px; background: var(--paper-2) } .hl .seg button { border-radius: 3px }
.pr-q { border-radius: 3px !important; background-color: var(--card) !important }
.f-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px }
body[data-page=fund] .ph-stats dd, body[data-page=funds] .ph-stats dd { font-family: var(--mono); font-weight: 400; letter-spacing: -.04em }

/* ── vote page: the ballot fits one screen, the button sits under the sizes, nothing clips, no flash on reload */
body[data-page=council] .bl { min-height: 0; padding: clamp(20px, 4vh, 44px) 0 32px; align-items: start; gap: clamp(24px, 3vw, 48px) }
body[data-page=council] .bl-title { font-size: clamp(44px, 5vw, 76px) !important; line-height: .96 }
body[data-page=council] .bl-lede { margin-top: 14px }
body[data-page=council] .ballot { margin-top: 22px }
body[data-page=council] .bl-pick { min-height: 0 } body[data-page=council] .bl-pick:empty { display: none } body[data-page=council] .pk-hint { display: none }
body[data-page=council] .bl-go { margin-top: 14px; align-items: center } body[data-page=council] .bl-go .b { min-width: 0; flex: 1 1 260px; max-width: 360px; min-height: 54px }
body[data-page=council] .bl-stage { aspect-ratio: 1.24; border-radius: 6px !important; background: transparent !important; box-shadow: none !important }
body[data-page=council] .bl-facts { padding-top: 6px }
body[data-page=council] .stand { grid-template-columns: minmax(0, 300px) minmax(0, 1fr) !important; gap: clamp(20px, 3vw, 44px) !important; padding: clamp(18px, 2.4vw, 32px) !important; overflow: hidden }
body[data-page=council] .stand-med b { font-size: clamp(64px, 7vw, 112px) !important; font-family: var(--mono); font-weight: 400; letter-spacing: -.06em }
body[data-page=council] .stand-bars li { grid-template-columns: 44px minmax(0, 1fr) 56px 64px !important }
body[data-page=council] .stand-bars .b2 { background: #12121210 } body[data-page=council] .stand-bars li.med .b2 i { background: var(--red) }
body[data-page=council] .md-sec { padding-top: clamp(56px, 7vw, 96px) }
body[data-page=council] .em img { object-position: 50% 50% }
/* reload: hold the chamber's place, then fade it in once its first frame is drawn */
body[data-page=council] .bl-3d { opacity: 0; transition: opacity .8s var(--e) } body[data-page=council] .bl-3d.ready { opacity: 1 }
body[data-page=council] .bl-value, body[data-page=council] .bl-facts { animation: pgIn .7s var(--e) .1s both }
body[data-page=council] .ballot .bo { animation-fill-mode: both }

/* ── how it works: the step's words in a fixed-height column, one control row aligned on one line, the loop beside */
body[data-page=how] .hw { min-height: calc(100svh - var(--hd) - var(--an-h, 0px) - 20px); padding: clamp(20px, 4vh, 40px) 0 20px; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr) }
body[data-page=how] .hw-l { grid-template-rows: minmax(250px, auto) auto 1fr; gap: 20px }
body[data-page=how] .hw-c { min-height: 0 }
body[data-page=how] .hw-in h1 { font-size: clamp(38px, 3.8vw, 60px) !important; letter-spacing: -.045em !important; line-height: 1 !important; text-wrap: balance }
body[data-page=how] .hw-in p { font-size: clamp(16px, 1.25vw, 19px) !important; max-width: 38ch }
body[data-page=how] .hw-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase }
body[data-page=how] .hw-a { align-items: center; gap: 10px; flex-wrap: nowrap }
body[data-page=how] .hw-a .btn, body[data-page=how] .hw-in .btn { min-height: 44px; height: 44px; padding: 0 18px; border-radius: 3px; align-self: center }
body[data-page=how] .hw-a #prev { width: 44px; padding: 0 }
body[data-page=how] .hw-prog { max-width: none; height: 1px } body[data-page=how] .hw-count { font-family: var(--mono); font-size: 12px }
body[data-page=how] .hw-n button { height: 40px; border-radius: 3px } body[data-page=how] .hw-n span { border-radius: 2px; font-family: var(--mono); font-size: 11px }
body[data-page=how] .hw-r { border-radius: 6px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); min-height: 0 }
body[data-page=how] .hw-live { border-radius: 4px }
body[data-page=how] .always li { border-radius: 4px !important }

/* ── funds: the temple sits on the page's own paper; no box, no mask edge */
body[data-page=funds] .ph-art.stage { background: none !important; box-shadow: none !important }
body[data-page=funds] .temple-3d { -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 70% 72% at 50% 50%, #000 70%, transparent 100%) }
body[data-page=funds] .ph { min-height: min(620px, calc(100svh - var(--hd) - var(--an-h, 0px) - 40px)) }
body[data-page=funds] .tape-c, body[data-page=funds] .next-c { display: none }
body[data-page=funds] .duo-sec { display: none }
body[data-page=funds] .stage-hint { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--soft) }
.dr-in { grid-template-columns: 1fr auto auto !important }
.dr-mic { position: relative; align-self: end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 3px; color: #f2f2eec0 } .dr-mic:hover { background: #ffffff12; color: #fff } .dr-mic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round }
.dr-mic.on svg { opacity: 0 } .dr-mic.on .pb-wave { display: flex } .dr-mic .pb-wave { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 3px } .dr-mic .pb-wave b { width: 2px; height: 6px; background: var(--red); animation: wave .9s ease-in-out infinite } .dr-mic .pb-wave b:nth-child(2n) { animation-delay: .15s }
@keyframes wave { 50% { height: 18px } }
.dr-voice { display: inline-flex; align-items: center; gap: 6px; font: inherit; color: #f2f2ee80 } .dr-voice svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6 } .dr-voice[aria-pressed=true] { color: #ff8f86 }
body[data-page=council] .stand-med p b { font: inherit !important; color: var(--ink) !important; letter-spacing: inherit !important; font-weight: 500 !important }
body[data-page=skills] .st-skip { display: none }
body[data-page=skills] .pg.tall { padding-bottom: min(34vh, 320px) }
body[data-page=how] .hw-a { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center }
body[data-page=how] .hw-a .hw-prog { max-width: none; width: 100% }
body[data-page=how] .hw-a #next { min-width: 120px }
body[data-page=how] .hw-a #next { display: inline-flex !important; padding: 0 18px !important; gap: 8px; align-content: center; justify-content: center }
.dr-h { grid-template-columns: auto 1fr auto auto !important }
.dr-orb { display: inline-flex; align-items: center; gap: 6px } .dr-orb img { width: 14px; height: 14px }
.dr .ws-av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ffffff12; box-shadow: inset 0 0 0 1px var(--char-line); color: #fff } .dr .ws-av.sm { width: 20px; height: 20px } .dr .ws-av .lg { color: #fff }
.dr .vz { margin: 4px 0; padding: 10px 12px; border-radius: 5px; background: #ffffff08; box-shadow: inset 0 0 0 1px var(--char-line) }
