/* ============================================================
   FOUNDERY · 2026-09 rebuild
   Art direction: a foundry's prospectus. Warm paper, coal ink,
   one molten accent. Condensed grotesque against a wonky serif,
   ledger mono for every number. Certificates instead of cards.
   ============================================================ */

/* self-hosted variable fonts (SIL OFL), latin + latin-ext */
/* bricolage latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/fonts/bricolage-normal-200-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* bricolage latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/fonts/bricolage-normal-200-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* fraunces latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/fraunces-italic-300-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* fraunces latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/fraunces-italic-300-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* fraunces latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/fraunces-normal-300-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* fraunces latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/fraunces-normal-300-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* plexmono latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/plexmono-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* plexmono latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/plexmono-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #EFE9DD;
  --paper-2: #E5DCCB;
  --card: #F8F4EB;
  --ink: #14110F;
  --ink-2: #3B342D;
  --mute: #675D52;
  --rule-soft: #CDC2AE;
  --coal: #14110F;
  --coal-2: #1F1A16;
  --coal-3: #2B241F;
  --ash: #A99E8F;
  --hot: #FF5A1F;
  --hot-2: #FFB000;
  --hot-ink: #B93A0A;
  --ok: #1F8A4C;
  --warn: #C98A00;
  --bad: #C2341D;
  --molten: linear-gradient(95deg, #FF3D00 0%, #FF5A1F 35%, #FFB000 100%);
  --molten-loop: linear-gradient(95deg, #FF3D00 0%, #FF6A1F 25%, #FFB000 50%, #FF6A1F 75%, #FF3D00 100%);

  --f-disp: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --f-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gut: clamp(1rem, 4vw, 4rem);
  --max: 1480px;
  --top-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-serif); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.55;
  font-variation-settings: 'SOFT' 50, 'WONK' 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* paper grain, pure CSS */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(20,17,15,.055) 1px, transparent 1px), radial-gradient(rgba(20,17,15,.035) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px; background-position: 0 0, 2px 3px;
}
body[data-route="fund"] { background: var(--coal); color: var(--paper); }
body[data-route="fund"]::before { opacity: 0; }
body.has-sheet { overflow: hidden; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--hot); color: var(--coal); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--paper); padding: .7rem 1rem; font-family: var(--f-mono); font-size: .8rem; }
.skip:focus { top: 1rem; }
main { position: relative; z-index: 1; display: block; min-height: 60vh; }
main:focus { outline: none; }

/* ---------- shared atoms ---------- */
.eyebrow {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
}
.eyebrow b { font-weight: 500; color: var(--hot-ink); }
.eyebrow b::after { content: ''; display: inline-block; width: 2.4rem; height: 1px; background: currentColor; vertical-align: middle; margin-left: .9rem; }
body[data-route="fund"] .eyebrow, .sec-dark .eyebrow { color: var(--ash); }
body[data-route="fund"] .eyebrow b, .sec-dark .eyebrow b { color: var(--hot); }

.btn {
  --bg: transparent; --fg: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .7rem 1.25rem;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: var(--fg); background: var(--bg); border: 1px solid currentColor; border-radius: 0; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { transition: transform .3s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .35s var(--ease); }
.btn:hover::before { transform: none; }
.btn-hot { --fg: var(--coal); background: var(--molten); border-color: transparent; box-shadow: 0 10px 30px -12px rgba(255,90,31,.7); }
.btn-hot:hover { color: var(--paper); }
.btn-line:hover { color: var(--paper); border-color: var(--ink); }
body[data-route="fund"] .btn::before, .sec-dark .btn::before, .vfund .btn::before, .sheet .btn::before { background: var(--paper); }
body[data-route="fund"] .btn:hover, .sec-dark .btn:hover, .vfund .btn:hover { color: var(--coal); border-color: var(--paper); }
.btn-lg { min-height: 56px; padding: .9rem 1.6rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.mark { width: 34px; height: 34px; display: inline-grid; place-items: center; background: var(--ink); color: var(--hot); flex: none; position: relative; }
.mark::after { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(255,90,31,.45); }
.mark-f { font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; line-height: 1; font-variation-settings: 'WONK' 1, 'SOFT' 100; transform: translateY(-1px); }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--ok); box-shadow: 0 0 0 3px rgba(31,138,76,.18); }
.dot-yellow { background: var(--warn); box-shadow: 0 0 0 3px rgba(201,138,0,.2); }
.dot-red { background: var(--bad); box-shadow: 0 0 0 3px rgba(194,52,29,.18); }

.rosette { color: inherit; }

/* gauge: a casting mould that fills with metal */
.gauge-mould {
  position: relative; height: 16px; border: 1px solid currentColor; overflow: hidden;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(125,115,100,.45) calc(10% - 1px) 10%);
}
.gauge-fill { position: absolute; inset: 0 auto 0 0; background: var(--molten-loop); background-size: 200% 100%; animation: flow 3.5s linear infinite; }
.gauge-you { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(-45deg, var(--hot) 0 4px, var(--hot-2) 4px 8px); transition: width .35s var(--ease), left .35s var(--ease); }
.gauge-legend { display: flex; justify-content: space-between; gap: 1rem; margin-top: .55rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.gauge-legend b { font-weight: 500; color: var(--ink); margin-left: .35rem; }
body[data-route="fund"] .bond .gauge-legend b { color: var(--ink); }
.vfund .gauge-legend { color: var(--ash); } .vfund .gauge-legend b { color: var(--paper); }
@keyframes flow { to { background-position: -200% 0; } }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(239,233,221,.86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s; }
.is-scrolled .top { border-bottom-color: var(--ink); }
body[data-route="fund"] .top { background: rgba(20,17,15,.86); color: var(--paper); }
body[data-route="fund"].is-scrolled .top { border-bottom-color: var(--coal-3); }
.top-in { max-width: var(--max); margin: 0 auto; height: var(--top-h); padding: 0 var(--gut); display: flex; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand-word { font-family: var(--f-disp); font-weight: 700; font-stretch: 75%; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; }
.brand-word i { color: var(--hot-ink); font-style: normal; }
body[data-route="fund"] .mark { background: var(--paper); color: var(--hot-ink); }
.nav { display: none; gap: 1.6rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.nav a { position: relative; padding: .4rem 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hot); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top-live, .top-secure { display: none; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.top-secure { color: var(--ash); }
.top-live i, .board-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--hot); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,31,.6); } 100% { box-shadow: 0 0 0 9px rgba(255,90,31,0); } }
.top .btn { min-height: 40px; padding: .5rem .9rem; font-size: .7rem; }
.top .btn-line span { display: none; }
@media (min-width: 720px) { .top .btn-line span { display: inline; } .top-secure { display: inline-flex; } }
@media (min-width: 1040px) { .nav { display: flex; } .top-live { display: inline-flex; } }

/* ---------- hero ---------- */
.hero { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(2.2rem, 6vw, 5rem) var(--gut) clamp(3rem, 7vw, 6rem); }
.hero-h { margin: clamp(1.2rem, 3vw, 2.4rem) 0 clamp(2rem, 5vw, 4rem); line-height: .84; }
.hero-h span { display: block; }
.hero-h .l1 {
  font-family: var(--f-disp); font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0;
  font-size: clamp(3.2rem, 13.2vw, 12.6rem); animation: rise 1s var(--ease) both;
}
.hero-h .l2 {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-variation-settings: 'WONK' 1, 'SOFT' 100; letter-spacing: -.03em;
  font-size: clamp(3rem, 12.2vw, 11.6rem); line-height: .95; padding: .04em .06em .12em 0; margin-left: clamp(0rem, 9vw, 9rem);
  background: var(--molten-loop); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1s .12s var(--ease) both, flow 9s linear infinite;
}
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
.hero-pour { display: none; }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: end; }
.hero-lead { font-size: clamp(1.15rem, 1rem + .9vw, 1.6rem); line-height: 1.4; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-note { display: flex; align-items: center; gap: .5rem; margin-top: 1.2rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; color: var(--mute); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .hero-pour { display: block; position: absolute; top: 0; right: calc(var(--gut) + 22%); width: 3px; height: 62%; z-index: -1;
    background: linear-gradient(180deg, rgba(255,90,31,0) 0%, #FF5A1F 18%, #FFB000 60%, #FF3D00 100%); background-size: 100% 300%; animation: pour 2.8s linear infinite; filter: drop-shadow(0 0 8px rgba(255,90,31,.7)); }
}
@keyframes pour { from { background-position: 0 100%; } to { background-position: 0 -200%; } }

/* open-rounds board */
.board { background: var(--coal); color: var(--paper); border-top: 4px solid transparent; border-image: var(--molten) 1; box-shadow: 0 40px 80px -40px rgba(20,17,15,.55); animation: rise 1s .25s var(--ease) both; }
.board-head, .board-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.board-live { display: inline-flex; align-items: center; gap: .5rem; }
.board-foot { border-top: 1px solid var(--coal-3); } .board-foot b { font-weight: 500; color: var(--hot-2); letter-spacing: .06em; }
.board-row { display: grid; grid-template-columns: 3.2rem 1fr auto; grid-template-areas: 'code name ask' 'bar bar bar'; align-items: center; column-gap: .9rem; row-gap: .7rem; padding: 1rem 1.1rem; border-top: 1px solid var(--coal-3); position: relative; transition: background .3s, padding .3s var(--ease); }
.board-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--acc); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); }
.board-row:hover, .board-row:focus-visible { background: var(--coal-2); padding-left: 1.5rem; }
.board-row:hover::before, .board-row:focus-visible::before { transform: none; }
.board-code { grid-area: code; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; color: var(--acc); }
.board-name { grid-area: name; font-family: var(--f-disp); font-stretch: 75%; font-weight: 600; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.board-name small { display: block; margin-top: .2rem; font-family: var(--f-mono); font-size: .64rem; font-weight: 400; letter-spacing: .12em; color: var(--ash); }
.board-ask { grid-area: ask; font-family: var(--f-mono); font-size: .95rem; text-align: right; }
.board-bar { grid-area: bar; height: 3px; background: var(--coal-3); overflow: hidden; } .board-bar i { display: block; height: 100%; background: var(--molten); }
.board-go { display: none; }
@media (min-width: 560px) {
  .board-row { grid-template-columns: 3.4rem 1fr 6rem 5.2rem; grid-template-areas: 'code name ask go' 'bar bar bar bar'; }
  .board-go { grid-area: go; display: inline-flex; align-items: center; justify-content: flex-end; gap: .4rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hot); }
  .board-go svg { transition: transform .3s var(--ease); } .board-row:hover .board-go svg { transform: translateX(4px); }
}

/* ticker */
.ticker { background: var(--coal); color: var(--paper); overflow: hidden; border-block: 1px solid var(--coal); position: relative; z-index: 1; }
.ticker-run { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { padding: .85rem 0; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.ticker span::after { content: '\25C6'; color: var(--hot); margin: 0 1.6rem; font-size: .6rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 8.5rem) var(--gut); }
.sec-dark { max-width: none; padding-inline: 0; background: var(--coal); color: var(--paper); }
.sec-dark::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60rem 30rem at 85% 0%, rgba(255,90,31,.2), transparent 60%), radial-gradient(40rem 24rem at 0% 100%, rgba(255,176,0,.09), transparent 60%); }
.sec-in { position: relative; max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.sec-head { margin-bottom: clamp(2.4rem, 5vw, 4.5rem); }
.sec-head h2, .fund-h, .done h1, .prose h1 {
  margin-top: 1.2rem; font-family: var(--f-disp); font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0;
  font-size: clamp(2.4rem, 7.2vw, 6.4rem); line-height: .9;
}
.sec-head h2 em, .fund-h em, .done h1 em { font-family: var(--f-serif); font-weight: 400; text-transform: none; letter-spacing: -.02em; font-variation-settings: 'WONK' 1, 'SOFT' 100; color: var(--hot-ink); }
.sec-dark h2 em, .fund-h em, .done h1 em { color: var(--hot); }
.sec-sub { margin-top: 1.4rem; max-width: 52ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); }

/* ---------- venture certificates ---------- */
.certs { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); }
.cert {
  position: relative; background: var(--card); border: 1px solid var(--ink); overflow: hidden;
  box-shadow: inset 0 0 0 6px var(--card), inset 0 0 0 7px var(--rule-soft), 10px 10px 0 -1px var(--paper-2), 10px 10px 0 0 var(--ink);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.cert::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--acc); z-index: 2; }
.cert:hover { transform: translate(-4px, -4px); box-shadow: inset 0 0 0 6px var(--card), inset 0 0 0 7px var(--rule-soft), 16px 16px 0 -1px var(--paper-2), 16px 16px 0 0 var(--ink); }
.cert-orn { position: absolute; right: -60px; top: -60px; color: var(--acc); opacity: .55; pointer-events: none; transition: transform 1.6s var(--ease); }
.cert:hover .cert-orn { transform: rotate(40deg) scale(1.08); }
.cert-head { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.2rem; padding: 1.5rem clamp(1.4rem, 3vw, 2.6rem) 0 calc(clamp(1.4rem, 3vw, 2.6rem) + 8px); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.cert-no { color: var(--mute); }
.cert-code { background: var(--ink); color: var(--paper); padding: .25rem .55rem; display: inline-flex; align-items: center; gap: .45rem; }
.cert-code::before { content: ''; width: 7px; height: 7px; background: var(--acc); }
.cert-stage { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.cert-body { position: relative; display: grid; gap: 2rem; padding: 1.4rem clamp(1.4rem, 3vw, 2.6rem) clamp(1.6rem, 3vw, 2.6rem) calc(clamp(1.4rem, 3vw, 2.6rem) + 8px); }
.cert-name { font-family: var(--f-disp); font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .88; }
.cert-name a { background: linear-gradient(var(--hot), var(--hot)) no-repeat 0 100% / 0 .08em; transition: background-size .45s var(--ease); }
.cert-name a:hover { background-size: 100% .08em; }
.cert-tag { margin-top: .7rem; font-style: italic; font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); font-variation-settings: 'WONK' 1, 'SOFT' 100; color: var(--hot-ink); line-height: 1.15; }
.cert-pitch { margin-top: 1.1rem; max-width: 56ch; color: var(--ink-2); }
.cert-types { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.3rem; }
.cert-types li { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--rule-soft); padding: .25rem .55rem; color: var(--ink-2); }
.cert-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; margin-bottom: 1.4rem; }
.cert-facts div:first-child { grid-column: 1 / -1; }
dt { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.cert-facts dd { font-family: var(--f-mono); font-size: 1rem; margin-top: .25rem; }
.cert-facts div:first-child dd { font-family: var(--f-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; letter-spacing: -.01em; }
.cert-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.cert-cta .btn { flex: 1 1 auto; }
@media (min-width: 920px) {
  .cert-body { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
  .cert-fund { border-left: 1px dashed var(--rule-soft); padding-left: clamp(1.5rem, 3vw, 3rem); }
}

/* ---------- how funding works ---------- */
.steps { display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--coal-3); }
.steps li { padding: 1.8rem 0; border-bottom: 1px solid var(--coal-3); display: grid; grid-template-columns: 4.2rem 1fr; column-gap: 1rem; }
.step-n { grid-row: span 2; font-family: var(--f-serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--hot); font-variation-settings: 'WONK' 1; }
.steps h3 { font-family: var(--f-disp); font-stretch: 75%; font-weight: 600; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; }
.steps p { margin-top: .6rem; color: var(--ash); font-size: 1rem; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .steps li { display: block; padding: 1.6rem 1.6rem 0 0; border-bottom: 0; border-top: 1px solid var(--ash); position: relative; }
  .steps li::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--hot); }
  .step-n { display: block; font-size: 4.4rem; margin-bottom: 1.6rem; }
}
.instr { margin-top: clamp(2.5rem, 5vw, 4.5rem); border: 1px solid var(--coal-3); background: rgba(31,26,22,.7); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.6rem; }
.instr h3 { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--hot); }
.instr ul { display: grid; gap: 1.2rem; }
.instr li b { display: block; font-family: var(--f-disp); font-stretch: 75%; font-weight: 600; font-size: 1.3rem; text-transform: uppercase; }
.instr li span { display: block; margin-top: .3rem; color: var(--ash); font-size: .98rem; }
@media (min-width: 960px) { .instr { grid-template-columns: 12rem 1fr auto; align-items: center; } .instr ul { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ---------- numbers ---------- */
.nums { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1fr 1fr; }
.nums div { padding: clamp(1.6rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--ink); }
.nums div:nth-child(odd) { border-right: 1px solid var(--ink); padding-right: 1rem; } .nums div:nth-child(even) { padding-left: 1.2rem; }
.nums b { display: block; font-family: var(--f-serif); font-weight: 300; font-size: clamp(3rem, 8vw, 6.5rem); line-height: .95; letter-spacing: -.04em; }
.nums b.nums-sm { font-size: clamp(1.5rem, 3.6vw, 3rem); line-height: 1.15; padding: .5em 0 .35em; letter-spacing: -.02em; }
.nums span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
@media (min-width: 860px) { .nums { grid-template-columns: repeat(4, 1fr); } .nums div, .nums div:nth-child(odd), .nums div:nth-child(even) { border-right: 1px solid var(--ink); padding: clamp(2rem, 4vw, 3.4rem) 1.4rem; border-top: 1px solid var(--ink); } .nums div:first-child { padding-left: 0; } .nums div:last-child { border-right: 0; } }

/* ---------- engage paths ---------- */
.paths { border-top: 1px solid var(--ink); }
.paths li { border-bottom: 1px solid var(--ink); }
.path { width: 100%; text-align: left; display: grid; grid-template-columns: 2.6rem 1fr 2rem; align-items: center; gap: .4rem 1rem; padding: 1.3rem .4rem; position: relative; isolation: isolate; transition: color .35s var(--ease), padding .35s var(--ease); }
.path::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); }
.path:hover, .path:focus-visible { color: var(--paper); padding-left: 1.4rem; } .path:hover::before, .path:focus-visible::before { transform: none; }
.path-n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: var(--mute); }
.path-l { font-family: var(--f-disp); font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0; font-size: clamp(2rem, 5.4vw, 4.4rem); line-height: .95; }
.path-t { grid-column: 2 / 3; font-style: italic; color: var(--ink-2); font-size: 1.05rem; transition: color .35s; }
.path:hover .path-t, .path:focus-visible .path-t { color: var(--hot-2); }
.path-a { grid-row: 1; grid-column: 3; color: var(--hot-ink); transition: transform .35s var(--ease); } .path:hover .path-a { transform: translateX(6px); color: var(--hot); }
@media (min-width: 900px) { .path { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1fr) 2.4rem; padding-block: 1.6rem; } .path-t { grid-column: 3; text-align: right; font-size: 1.15rem; } .path-a { grid-column: 4; } }

/* ---------- about ---------- */
.about-copy { margin-top: 2rem; font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem); line-height: 1.25; letter-spacing: -.015em; font-weight: 300; max-width: 32em; }
.parents { margin-top: clamp(2.4rem, 5vw, 4rem); display: grid; gap: 0; border-top: 1px solid var(--ink); }
.parents li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--ink); }
.parents a { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-disp); font-stretch: 75%; font-weight: 600; font-size: 1.5rem; text-transform: uppercase; }
.parents a:hover { color: var(--hot-ink); }
.parents span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); align-self: center; }

/* ---------- footer ---------- */
.foot:empty { display: none; }
.foot { position: relative; z-index: 1; background: var(--coal); color: var(--paper); padding: clamp(3rem, 7vw, 6rem) var(--gut) 2rem; }
.foot-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 2.4rem; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; } .foot .mark { background: var(--paper); color: var(--hot-ink); }
.foot-closer { margin-top: 1.2rem; font-style: italic; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.05; font-variation-settings: 'WONK' 1, 'SOFT' 100; max-width: 12em; }
.foot-col h3 { font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--hot); margin-bottom: 1rem; }
.foot-col li { margin-bottom: .55rem; color: var(--ash); } .foot-col a { color: var(--paper); background: linear-gradient(var(--hot), var(--hot)) no-repeat 0 100% / 0 1px; transition: background-size .35s var(--ease); padding-bottom: 2px; } .foot-col a:hover { background-size: 100% 1px; }
.foot-legal { max-width: var(--max); margin: clamp(2.4rem, 5vw, 4rem) auto 0; padding-top: 1.6rem; border-top: 1px solid var(--coal-3); font-size: .86rem; line-height: 1.6; color: var(--ash); }
.foot-line { max-width: var(--max); margin: 1.4rem auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
@media (min-width: 900px) { .foot-in { grid-template-columns: 2fr 1fr 1fr 1.2fr; } .foot-brand { grid-column: auto; } }
body[data-route="fund"] .foot-in, body[data-route="fund"] .foot-line { display: none; }
body[data-route="fund"] .foot { padding-top: 0; } body[data-route="fund"] .foot-legal { margin-top: 0; }

/* ---------- venture page ---------- */
.backlink { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 2rem; }
.backlink:hover { color: var(--hot-ink); }
.vhead { max-width: var(--max); margin: 0 auto; padding: clamp(1.6rem, 4vw, 3rem) var(--gut) clamp(2rem, 5vw, 4rem); }
.vhead-grid { display: grid; gap: 2.4rem; align-items: end; }
.vname { margin-top: 1rem; font-family: var(--f-disp); font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0; font-size: clamp(3.2rem, 11vw, 9.5rem); line-height: .85; }
.vtag { margin-top: .9rem; font-style: italic; font-variation-settings: 'WONK' 1, 'SOFT' 100; color: var(--hot-ink); font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem); line-height: 1.1; }
.vpitch { margin-top: 1.3rem; max-width: 56ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); }
.vmeta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; }
.vlink { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.vlink:hover { color: var(--hot-ink); } .vlink.is-off { border-bottom-style: dashed; color: var(--mute); }
.vfund { background: var(--coal); color: var(--paper); padding: clamp(1.4rem, 3vw, 2rem); border-top: 4px solid var(--acc); }
.vfund h2 { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.vfund-ask { margin: .5rem 0 1.4rem; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.1; letter-spacing: -.01em; }
.vfund-facts { margin: 1.4rem 0; display: grid; gap: 1rem; } .vfund-facts dt { color: var(--ash); } .vfund-facts dd { margin-top: .25rem; font-size: .98rem; }
.vfund-facts div:first-child dd { font-family: var(--f-mono); }
.vfund-note { display: flex; align-items: center; gap: .45rem; margin-top: .9rem; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; color: var(--ash); }
@media (min-width: 960px) { .vhead-grid { grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: clamp(2rem, 5vw, 5rem); } }

.vnav { position: sticky; top: var(--top-h); z-index: 40; background: var(--ink); color: var(--paper); }
.vnav-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.vnav-in::-webkit-scrollbar { display: none; }
.vnav-in a, .vnav-load { padding: .95rem 0; white-space: nowrap; color: var(--ash); border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; }
.vnav-in a:hover { color: var(--paper); } .vnav-in a.is-on { color: var(--paper); border-bottom-color: var(--hot); }
.vnav-load a { display: inline; padding: 0; text-decoration: underline; color: var(--paper); }
.vnav-in a.vnav-fund { margin-left: auto; color: var(--hot); display: none; align-items: center; gap: .4rem; }
@media (min-width: 900px) { .vnav-in a.vnav-fund { display: inline-flex; } }
.vframe-wrap { position: relative; z-index: 1; background: var(--coal); min-height: 60vh; }
.vframe { display: block; width: 100%; height: 80vh; border: 0; opacity: 0; transition: opacity .6s var(--ease); }
.vframe.is-ready { opacity: 1; }

.vcols { display: grid; gap: 3rem; }
.vextra h2 { font-family: var(--f-disp); font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); line-height: 1; margin-bottom: 1.6rem; }
.ticks li, .risks li { display: flex; gap: .9rem; padding: .95rem 0; border-top: 1px solid var(--rule-soft); }
.ticks svg { flex: none; margin-top: .3rem; color: var(--ok); }
.risks li { display: block; color: var(--ink-2); padding-left: 1.4rem; position: relative; } .risks li::before { content: ''; position: absolute; left: 0; top: 1.55rem; width: .6rem; height: 1px; background: var(--bad); }
.faq { margin-top: clamp(3rem, 6vw, 5rem); }
.faq details { border-top: 1px solid var(--ink); } .faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.4rem 1.2rem 0; position: relative; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 1.4rem; color: var(--hot-ink); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; max-width: 64ch; color: var(--ink-2); }
.vend { margin-top: clamp(3rem, 7vw, 6rem); display: grid; gap: 1.6rem; justify-items: start; }
.vend p { font-family: var(--f-disp); font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0; font-size: clamp(2.2rem, 6vw, 5rem); line-height: .92; }
.vend em { font-family: var(--f-serif); font-weight: 400; text-transform: none; color: var(--hot-ink); font-variation-settings: 'WONK' 1, 'SOFT' 100; }
@media (min-width: 900px) { .vcols { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem); } }
.fundbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem var(--gut) calc(.85rem + env(safe-area-inset-bottom)); background: var(--molten); color: var(--coal); font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.fundbar small { display: block; font-size: .64rem; letter-spacing: .06em; font-weight: 400; text-transform: none; }
body[data-route="venture"] .foot { padding-bottom: 6rem; }
@media (min-width: 900px) { .fundbar { display: none; } body[data-route="venture"] .foot { padding-bottom: 2rem; } }

/* ---------- fund flow ---------- */
.fundpage { max-width: var(--max); margin: 0 auto; padding: clamp(1.6rem, 4vw, 3.5rem) var(--gut) clamp(3rem, 6vw, 6rem); position: relative; }
.fundpage::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50rem 28rem at 100% 0%, rgba(255,90,31,.22), transparent 60%), radial-gradient(36rem 22rem at 0% 100%, rgba(255,176,0,.08), transparent 60%); }
.fund-grid { display: grid; gap: clamp(2.4rem, 5vw, 5rem); }
.fund-h { font-size: clamp(2.4rem, 6vw, 5rem); } .fund-h:focus, .done h1:focus { outline: none; }
.stepper { display: flex; gap: 1.4rem; margin: 1.8rem 0 2.4rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); flex-wrap: wrap; }
.stepper li { display: inline-flex; align-items: center; gap: .55rem; }
.stepper span { width: 26px; height: 26px; display: inline-grid; place-items: center; border: 1px solid var(--coal-3); font-size: .66rem; }
.stepper .is-on { color: var(--paper); } .stepper .is-on span { border-color: var(--hot); color: var(--hot); } .stepper .is-done span { background: var(--hot); border-color: var(--hot); color: var(--coal); }

.fs { border: 0; padding: 0; margin: 0 0 2.4rem; min-width: 0; }
.fs legend, .f label { padding: 0; margin-bottom: .8rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); display: block; }
.f label i { font-style: normal; color: #7d7468; margin-left: .4rem; letter-spacing: .06em; text-transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips-ven { display: grid; grid-template-columns: 1fr 1fr; }
.chip { text-align: left; border: 1px solid var(--coal-3); padding: .85rem 1rem; background: var(--coal-2); font-family: var(--f-disp); font-stretch: 75%; font-weight: 600; font-size: 1.15rem; text-transform: uppercase; line-height: 1.1; position: relative; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.chip b { display: block; font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .14em; color: var(--acc, var(--hot)); margin-bottom: .35rem; }
.chip small { display: block; margin-top: .35rem; font-family: var(--f-mono); font-size: .64rem; font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--ash); }
.chip:hover { border-color: var(--ash); transform: translateY(-2px); }
.chip.is-on { border-color: var(--hot); background: var(--coal-3); box-shadow: inset 0 -3px 0 var(--hot); }
.chip-sm { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: .06em; padding: .55rem .9rem; }
.chip-sm.is-on { background: var(--hot); color: var(--coal); box-shadow: none; }
@media (min-width: 1180px) { .chips-ven { grid-template-columns: repeat(4, 1fr); } }

.amt { display: flex; align-items: baseline; gap: .8rem; border-bottom: 2px solid var(--paper); padding-bottom: .3rem; transition: border-color .25s; }
.amt:focus-within { border-bottom-color: var(--hot); }
.amt-cur { font-family: var(--f-mono); font-size: 1rem; color: var(--ash); letter-spacing: .1em; }
.amt input { flex: 1; min-width: 0; width: 100%; background: none; border: 0; outline: none; color: var(--paper); font-family: var(--f-serif); font-weight: 300; font-size: clamp(2.8rem, 9vw, 5.4rem); line-height: 1.05; letter-spacing: -.03em; padding: 0; caret-color: var(--hot); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 1.2rem 0 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; background: var(--coal-3); }
.range::-moz-range-track { height: 4px; background: var(--coal-3); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; background: var(--hot); border: 3px solid var(--coal); box-shadow: 0 0 0 1px var(--hot), 0 0 18px rgba(255,90,31,.7); border-radius: 0; transform: rotate(45deg); }
.range::-moz-range-thumb { width: 18px; height: 18px; background: var(--hot); border: 3px solid var(--coal); box-shadow: 0 0 0 1px var(--hot); border-radius: 0; transform: rotate(45deg); }
.range-ends { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); margin: .2rem 0 1.2rem; }
.opts { display: grid; gap: .6rem; }
.opt { text-align: left; border: 1px solid var(--coal-3); background: var(--coal-2); padding: 1rem 1.1rem 1rem 2.9rem; position: relative; transition: border-color .25s, background .25s; }
.opt::before { content: ''; position: absolute; left: 1.05rem; top: 1.15rem; width: 14px; height: 14px; border: 1px solid var(--ash); transform: rotate(45deg); transition: background .25s, border-color .25s; }
.opt.is-on { border-color: var(--hot); background: var(--coal-3); } .opt.is-on::before { background: var(--hot); border-color: var(--hot); }
.opt:hover { border-color: var(--ash); }
.opt b { display: block; font-family: var(--f-disp); font-stretch: 75%; font-weight: 600; font-size: 1.15rem; text-transform: uppercase; }
.opt span { display: block; margin-top: .2rem; color: var(--ash); font-size: .95rem; line-height: 1.4; }
@media (min-width: 700px) { .opts { grid-template-columns: 1fr 1fr; } }

.fgrid { display: grid; gap: 1.6rem 1.4rem; margin-bottom: 2.4rem; }
@media (min-width: 700px) { .fgrid { grid-template-columns: 1fr 1fr; } .f-wide { grid-column: 1 / -1; } }
.f input, .f select, .f textarea { width: 100%; background: var(--coal-2); border: 1px solid var(--coal-3); border-bottom: 2px solid var(--ash); color: var(--paper); font-family: var(--f-serif); font-size: 1.15rem; padding: .85rem .9rem; border-radius: 0; outline: none; transition: border-color .25s, background .25s; }
.f select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.f select option { color: #14110F; }
.f textarea { resize: vertical; min-height: 6rem; line-height: 1.45; }
.f input:focus, .f select:focus, .f textarea:focus { border-bottom-color: var(--hot); background: var(--coal-3); }
.has-err input, .has-err select, .has-err textarea, .fs.has-err .amt { border-bottom-color: #FF7A5C; }
.f-err { margin-top: .5rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .02em; color: #FF9B82; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.review { border-top: 1px solid var(--coal-3); margin-bottom: 2rem; }
.review div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--coal-3); }
.review dt { color: var(--ash); padding-top: .3rem; } .review dd { overflow-wrap: anywhere; }
.ck { display: grid; grid-template-columns: 24px 1fr; gap: .9rem; align-items: start; margin-bottom: 1.1rem; font-size: .98rem; line-height: 1.5; color: #d9d0c1; cursor: pointer; }
.ck input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: .1rem 0 0; border: 1px solid var(--ash); background: var(--coal-2); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.ck input::after { content: ''; width: 11px; height: 6px; border-left: 2px solid var(--coal); border-bottom: 2px solid var(--coal); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.ck input:checked { background: var(--hot); border-color: var(--hot); } .ck input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.ck.has-err input { border-color: #FF7A5C; }
.ck a, .alert a, .done-note a { color: var(--hot-2); text-decoration: underline; text-underline-offset: 3px; }
.ck b { color: var(--paper); font-weight: 500; }
.alert { border: 1px solid #FF7A5C; border-left-width: 4px; background: rgba(255,122,92,.08); padding: 1rem 1.1rem; margin: 0 0 1.6rem; font-size: .98rem; color: #f3e9dc; }
.fnav { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1rem; }
.fnav .btn-hot { flex: 1 1 14rem; }

/* the certificate that fills in while you type */
.fund-side { min-width: 0; }
.bond {
  position: relative; background: var(--card); color: var(--ink); padding: clamp(1.5rem, 3vw, 2.4rem); overflow: hidden;
  box-shadow: inset 0 0 0 7px var(--card), inset 0 0 0 8px var(--ink), inset 0 0 0 11px var(--card), inset 0 0 0 12px var(--rule-soft), 0 50px 90px -40px rgba(0,0,0,.8), 0 0 120px -30px rgba(255,90,31,.35);
}
.bond-orn { position: absolute; right: -150px; bottom: -150px; color: var(--acc); opacity: .38; pointer-events: none; animation: slowspin 90s linear infinite; }
@keyframes slowspin { to { transform: rotate(360deg); } }
.bond-top { position: relative; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding: .4rem .4rem 1rem; border-bottom: 1px solid var(--ink); }
.bond-top span:last-child { color: var(--ink); }
.bond-kind { position: relative; margin: 1.4rem .4rem 0; font-style: italic; font-variation-settings: 'WONK' 1, 'SOFT' 100; color: var(--hot-ink); font-size: 1.25rem; }
.bond-ven { position: relative; margin: .3rem .4rem 0; font-family: var(--f-disp); font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: .9; }
.bond-ven small { display: block; margin-top: .6rem; font-family: var(--f-mono); font-size: .66rem; font-weight: 400; letter-spacing: .14em; color: var(--mute); }
.bond-amt { position: relative; margin: 1.6rem .4rem 0; font-weight: 300; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.bond-facts { position: relative; margin: 1.6rem .4rem 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px dashed var(--rule-soft); padding-top: 1.2rem; }
.bond-facts div:last-child { grid-column: 1 / -1; } .bond-facts dd { margin-top: .2rem; font-family: var(--f-mono); font-size: .95rem; overflow-wrap: anywhere; }
#b-gauge { position: relative; margin: 0 .4rem; }
.bond-fine { position: relative; margin: 1.4rem .4rem .4rem; font-size: .78rem; line-height: 1.5; color: var(--mute); max-width: 30em; }
.bond-stamp { position: absolute; right: 1.6rem; top: 4.4rem; padding: .35rem .8rem; border: 2px solid currentColor; font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); opacity: .55; transform: rotate(-9deg); }
.bond.is-done .bond-stamp { color: var(--hot-ink); opacity: 1; animation: stamp .6s var(--ease) both; }
@keyframes stamp { 0% { transform: rotate(-9deg) scale(2.4); opacity: 0; } 60% { transform: rotate(-9deg) scale(.92); opacity: 1; } 100% { transform: rotate(-9deg) scale(1); } }
@media (min-width: 1000px) { .fund-grid { grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); align-items: start; } .fund-side { position: sticky; top: calc(var(--top-h) + 1.6rem); } }

.done h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.done-lead { margin: 1.6rem 0 2.2rem; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); max-width: 44ch; color: #e6ddcf; }
.next { counter-reset: n; border-top: 1px solid var(--coal-3); margin-bottom: 2rem; }
.next li { counter-increment: n; display: grid; grid-template-columns: 3rem 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--coal-3); }
.next li::before { content: '0' counter(n); grid-row: span 2; font-family: var(--f-mono); font-size: .74rem; color: var(--hot); padding-top: .3rem; }
.next b { font-family: var(--f-disp); font-stretch: 75%; font-weight: 600; font-size: 1.2rem; text-transform: uppercase; } .next span { color: var(--ash); font-size: .98rem; }
.done-note { margin-top: 1.6rem; font-size: .92rem; color: var(--ash); }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 56rem; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 2.4rem; }
.prose h2 { margin: 2.4rem 0 .7rem; font-family: var(--f-disp); font-stretch: 75%; font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0; }
.prose p { margin-bottom: 1rem; max-width: 68ch; color: var(--ink-2); } .prose p a { color: var(--hot-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; }
.sheet-bg { position: absolute; inset: 0; background: rgba(20,17,15,.6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .3s both; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow: auto; background: var(--coal); color: var(--paper); padding: clamp(1.6rem, 4vw, 3rem); padding-bottom: calc(clamp(1.6rem, 4vw, 3rem) + env(safe-area-inset-bottom)); border-top: 4px solid transparent; border-image: var(--molten) 1; animation: up .45s var(--ease) both; }
.sheet .eyebrow { color: var(--ash); } .sheet .eyebrow b { color: var(--hot); }
.sheet h2 { margin-top: 1.2rem; font-family: var(--f-disp); font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0; font-size: clamp(3rem, 8vw, 5.6rem); line-height: .88; }
.sheet-tag { margin-top: .9rem; font-style: italic; font-variation-settings: 'WONK' 1, 'SOFT' 100; color: var(--hot-2); font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); line-height: 1.2; }
.sheet-body { margin: 1.4rem 0 2rem; color: #d9d0c1; max-width: 60ch; }
.sheet .btn:hover { color: var(--coal); }
.sheet-x { position: absolute; right: 1rem; top: 1rem; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--coal-3); transition: background .25s, color .25s; } .sheet-x:hover { background: var(--paper); color: var(--coal); }
@keyframes fade { from { opacity: 0; } } @keyframes up { from { transform: translateY(100%); } } @keyframes side { from { transform: translateX(100%); } }
@media (min-width: 900px) { .sheet { left: auto; top: 0; bottom: 0; width: min(560px, 46vw); max-height: none; border-top: 0; border-left: 4px solid transparent; animation-name: side; display: flex; flex-direction: column; justify-content: center; } .sheet .btn { align-self: flex-start; } }

/* ---------- toast, cursor, noscript ---------- */
.toast:empty { display: none; }
.cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor::after { content: ''; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; background: var(--hot); transform: rotate(45deg); transition: transform .3s var(--ease), background .3s, box-shadow .3s; mix-blend-mode: normal; }
.cursor.is-hot::after { transform: rotate(45deg) scale(3.4); background: rgba(255,90,31,.16); box-shadow: inset 0 0 0 .5px var(--hot); }
.noscript { position: relative; z-index: 2; max-width: 46rem; margin: 0 auto; padding: 3rem var(--gut); } .noscript h1 { font-family: var(--f-disp); font-size: 2.4rem; line-height: 1; margin-bottom: 1rem; } .noscript a { text-decoration: underline; } .noscript li { margin: .4rem 0; } .noscript ul { margin: 1rem 0; }

/* ---------- motion + print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker-run { animation: none; }
}
@media print {
  body, body[data-route="fund"] { background: #fff; color: #000; } body::before, .top, .foot-in, .foot-line, .cursor, .fnav, .fundpage::before, .stepper { display: none !important; }
  .foot { background: none; color: #000; padding: 0 1.5cm; } .foot-legal { color: #333; border-color: #999; }
  .fund-grid { display: block; } .fund-side { margin-top: 1cm; } .done h1, .done-lead, .next span, .done-note, .eyebrow { color: #000 !important; } .done h1 em { color: #B93A0A; }
  .bond { box-shadow: inset 0 0 0 1px #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; } .bond-orn { animation: none; }
}
