/* SIWR — design tokens and base */
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/cormorant.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/cormorant-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/assets/fonts/instrument-sans.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --navy-950: #050d18;
  --navy-900: #0a1828;
  --navy-800: #0f2238;
  --navy-700: #183252;
  --navy-600: #284a72;
  --ivory: #f3f5f8;
  --ivory-2: #e7ebf1;
  --paper: #ffffff;
  --white: #ffffff;
  --stone: #c3cbd6;
  --gold: #8f6b2b;
  --gold-2: #c9a45e;
  --gold-3: #e3cc98;
  --ink: #0c1929;
  --ink-2: #2a394c;
  --muted: #586374;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .8);
  --on-dark-3: rgba(255, 255, 255, .6);
  --rule: rgba(12, 25, 41, .14);
  --rule-strong: rgba(12, 25, 41, .7);
  --rule-light: rgba(255, 255, 255, .2);
  --ok: #3d8a68;
  --warn: #b98a2f;
  --err: #b4533c;
  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --wrap: 1360px;
  --gutter: clamp(16px, 4.2vw, 64px);
  --mh-h: 152px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --section: clamp(88px, 11vw, 176px);
}
@media (max-width: 899px) { :root { --mh-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 1rem/1.6 var(--sans); color: var(--ink); background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: var(--gold-3); }
::selection { background: var(--gold-3); color: var(--navy-900); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--ivory); color: var(--navy-900); padding: 12px 18px; font-weight: 600; text-decoration: none; border-radius: 6px; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto; }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* Type */
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(2.5rem, 5.6vw, 5.2rem); line-height: .98; letter-spacing: -.012em; text-wrap: balance; color: var(--navy-900); }
.display.md { font-size: clamp(2.2rem, 4.2vw, 3.9rem); line-height: 1.02; }
.display.lg { font-size: clamp(2.6rem, 6vw, 5.8rem); }
.display.xl { font-size: clamp(3rem, 8.2vw, 8rem); line-height: .92; letter-spacing: -.02em; }
.display em { font-style: italic; color: var(--gold); }
.dark .display { color: var(--on-dark); }
.dark .display em { color: var(--gold-2); }
.eyebrow { font: 600 .7rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.eyebrow.center { text-align: center; }
.dark .eyebrow { color: var(--on-dark-3); }
.lede { font-size: clamp(1.05rem, 1.25vw, 1.22rem); line-height: 1.62; color: var(--ink-2); max-width: 38em; }
.dark .lede { color: var(--on-dark-2); }
.caption { font: 500 .68rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); font-size: .9em; word-break: break-all; }
.rule { display: inline-block; width: 48px; height: 1px; background: currentColor; opacity: .6; }
.tz { margin-left: .8em; letter-spacing: .12em; opacity: .75; white-space: nowrap; }

.ch-no { display: flex; align-items: center; gap: 14px; font: 600 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.ch-no span { font: italic 500 1.55rem/1 var(--serif); letter-spacing: 0; color: var(--gold); padding-right: 14px; border-right: 1px solid var(--rule); min-width: 1.6em; text-transform: none; }
.dark .ch-no { color: var(--on-dark-3); }
.dark .ch-no span { color: var(--gold-2); border-color: var(--rule-light); }

/* Links & buttons */
.link { display: inline-flex; align-items: center; gap: .7em; font: 600 .82rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 14px 0; border-bottom: 1px solid currentColor; color: var(--navy-900); }
.link .i { transition: transform .35s var(--ease); }
.link:hover .i { transform: translateX(5px); }
.dark .link, .link-light { color: var(--on-dark); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 .84rem/1 var(--sans); letter-spacing: .04em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn-navy { background: var(--navy-900); color: var(--on-dark); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ivory, .btn-white { background: var(--white); color: var(--navy-900); }
.btn-ivory:hover, .btn-white:hover { background: var(--gold-3); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--on-dark); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--on-dark); }
.btn-outline { border-color: var(--rule-strong); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: var(--on-dark); }

/* Coinbase */
.coinbase { display: grid; gap: 10px; justify-items: start; }
.btn-cb { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 22px 0 16px; border: 0; border-radius: 999px; background: #0052ff; color: #fff; font: 600 1.04rem/1 var(--sans); letter-spacing: .005em; text-decoration: none; white-space: nowrap; box-shadow: 0 18px 50px rgba(0, 82, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .16); transition: background .25s, transform .25s var(--ease), box-shadow .25s; }
.btn-cb .cb-mark { width: 32px; height: 32px; flex: none; color: #fff; }
.btn-cb .i { width: 18px; height: 18px; }
a.btn-cb:hover { background: #1f66ff; transform: translateY(-2px); box-shadow: 0 24px 60px rgba(0, 82, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn-cb:disabled { cursor: not-allowed; }
.cb-soon { padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); font: 600 .62rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .btn-cb::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(0, 82, 255, .55); animation: cb-halo 2.8s ease-out infinite; pointer-events: none; }
}
@keyframes cb-halo { 0% { box-shadow: 0 0 0 0 rgba(0, 82, 255, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(0, 82, 255, 0); } }
.cb-note { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--on-dark-2); }
.cb-note .i { width: 13px; height: 13px; flex: none; }

/* Countdown */
.countdown { color: inherit; }
.cd-units { display: flex; align-items: stretch; gap: clamp(14px, 2.2vw, 30px); }
.cd-unit { display: grid; gap: 6px; min-width: 2.6ch; }
.cd-num { font: 500 clamp(2.2rem, 3.6vw, 3.4rem)/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; letter-spacing: .01em; }
.cd-label { font: 600 .62rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .65; }
.cd-sep { width: 1px; background: currentColor; opacity: .22; }
.cd-final { font: italic 500 1.4rem/1.3 var(--serif); max-width: 26em; }
.countdown.is-done .cd-units { display: none; }

/* Wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.emblem { width: 50px; height: 52px; color: currentColor; flex: none; overflow: visible; }
.wm-text { display: grid; justify-items: center; gap: 5px; }
.wm-name { font: 500 1.95rem/1 var(--serif); letter-spacing: .2em; margin-right: -.2em; }
.wm-full { display: flex; align-items: center; gap: 7px; font: 600 .5rem/1 var(--serif); letter-spacing: .24em; text-transform: uppercase; opacity: .82; white-space: nowrap; }
.wm-rule { width: 14px; height: 1px; background: currentColor; opacity: .7; }
.logo-full { display: block; width: 100%; height: auto; overflow: visible; }
.pill { display: inline-block; vertical-align: middle; width: 2.1em; height: 1em; border-radius: 999px; overflow: hidden; margin: 0 .06em; transform: translateY(-.08em); background: var(--ivory-2); }
.pill img { width: 100%; height: 100%; object-fit: cover; }
.pill-tall { width: .86em; height: 1.12em; border-radius: .5em .5em .08em .08em; }
.pill-round { width: 1em; height: 1em; border-radius: 50%; }

/* Reveal (motion only when allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* Ticker, masthead, menu, search, ask bar, footer */
.ticker { position: relative; z-index: 61; display: flex; align-items: center; height: 36px; background: var(--white); color: var(--navy-900); border-bottom: 1px solid var(--rule); font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; overflow: hidden; }
.tk-viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk-track { display: flex; align-items: center; width: max-content; animation: tk 70s linear infinite; }
.tk-item { padding: 0 22px; white-space: nowrap; }
.tk-sep { color: var(--gold); font-size: .6rem; }
.ticker:hover .tk-track, .ticker.is-paused .tk-track { animation-play-state: paused; }
.tk-toggle { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-left: 1px solid var(--rule); background: var(--white); color: var(--navy-900); cursor: pointer; }
.tk-toggle .i { width: 12px; height: 12px; }
.tk-toggle .i:last-child, .ticker.is-paused .tk-toggle .i:first-child { display: none; }
.ticker.is-paused .tk-toggle .i:last-child { display: block; }
@keyframes tk { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } .tk-toggle { display: none; } }

.masthead { position: sticky; top: 0; z-index: 60; background: var(--navy-900); color: var(--on-dark); transition: background .35s, box-shadow .35s; }
.mh-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; transition: min-height .35s var(--ease); }
.mh-mark { justify-self: center; }
.mh-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: inherit; }
.mh-btn .i { width: 22px; height: 22px; }
.mh-btn:hover { color: var(--gold-2); }
.mh-search { justify-self: end; }
.mh-nav { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 3.4vw, 52px); min-height: 58px; border-top: 1px solid var(--rule-light); }
.mh-nav a { position: relative; font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 10px 0; opacity: .86; }
.mh-nav a:hover, .mh-nav a[aria-current] { opacity: 1; }
.mh-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold-2); transform: scaleX(0); transition: transform .35s var(--ease); }
.mh-nav a:hover::after, .mh-nav a[aria-current]::after { transform: none; }
.mh-nav .mh-ask { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-3); }
.mh-nav .mh-ask .i { width: 15px; height: 15px; }

.home .masthead { background: transparent; margin-bottom: calc(-1 * var(--mh-h)); }
.home .masthead::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 13, 24, .55), rgba(5, 13, 24, 0)); pointer-events: none; z-index: -1; transition: opacity .35s; }
.masthead.scrolled, .home .masthead.scrolled { background: rgba(10, 24, 40, .94); box-shadow: 0 10px 40px rgba(0, 0, 0, .18); }
@supports (backdrop-filter: blur(1px)) { .masthead.scrolled { background: rgba(10, 24, 40, .86); backdrop-filter: blur(14px) saturate(1.2); } }
.masthead.scrolled .mh-top { min-height: 72px; }
.masthead.scrolled .emblem { width: 40px; height: 42px; }
.masthead.scrolled .wm-full { display: none; }
.emblem, .wm-name { transition: width .35s var(--ease), height .35s var(--ease); }

@media (max-width: 899px) {
  .mh-top { min-height: 76px; }
  .masthead.scrolled .mh-top { min-height: 64px; }
  .mh-nav { display: none; }
  .mh-btn span { display: none; }
  .mh-mark .emblem { width: 38px; height: 40px; }
  .mh-mark .wm-name { font-size: 1.45rem; }
  .mh-mark .wm-full { display: none; }
}

/* Menu */
.menu { position: fixed; inset: 0; z-index: 120; background: var(--navy-950); color: var(--on-dark); overflow-y: auto; overscroll-behavior: contain; }
.menu-in { min-height: 100%; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 120px); padding-bottom: 48px; }
.menu-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; min-height: 92px; border-bottom: 1px solid var(--rule-light); margin-bottom: clamp(24px, 5vh, 64px); }
.menu-mark .emblem { width: 44px; height: 44px; }
.menu-nav { display: grid; align-content: start; }
.menu-nav a { display: flex; align-items: baseline; gap: 22px; font: 500 clamp(2.4rem, 6.2vw, 5.4rem)/1.08 var(--serif); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--rule-light); transition: color .25s, padding .35s var(--ease); }
.menu-nav a:hover, .menu-nav a[aria-current] { color: var(--gold-2); padding-left: 10px; }
.menu-no { font: 600 .7rem/1 var(--sans); letter-spacing: .2em; color: var(--on-dark-3); min-width: 2em; }
.menu-side { display: grid; align-content: start; gap: 14px; padding-top: 12px; }
.menu-side > a { font: 500 1.35rem/1.3 var(--serif); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--rule-light); }
.menu-side > a:hover { color: var(--gold-2); }
.menu-side .eyebrow { margin-top: 18px; }
.menu-side .ask { margin-bottom: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .menu.is-open { animation: menu-in .5s var(--ease); }
  .menu.is-open .menu-nav a { animation: rise .7s var(--ease) both; }
  .menu.is-open .menu-nav a:nth-child(2) { animation-delay: .04s; }
  .menu.is-open .menu-nav a:nth-child(3) { animation-delay: .08s; }
  .menu.is-open .menu-nav a:nth-child(4) { animation-delay: .12s; }
  .menu.is-open .menu-nav a:nth-child(5) { animation-delay: .16s; }
}
@keyframes menu-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 899px) {
  .menu-in { grid-template-columns: 1fr; }
  .menu-top { min-height: 76px; }
  .menu-side { margin-top: 32px; }
}

/* Search */
.search { width: min(calc(100% - 32px), 760px); max-height: min(80vh, 760px); margin: 10vh auto auto; padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px rgba(0, 0, 0, .45); }
.search::backdrop { background: rgba(5, 13, 24, .72); backdrop-filter: blur(6px); }
.search-in { display: grid; gap: 16px; padding: 22px 24px 26px; }
.search-top { display: flex; justify-content: space-between; align-items: center; }
.search-top .mh-btn { color: var(--navy-900); }
.search-field { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--rule-strong); padding-bottom: 12px; }
.search-field .i { width: 24px; height: 24px; color: var(--gold); }
.search-field input { flex: 1; min-width: 0; border: 0; background: none; font: 500 clamp(1.5rem, 3.4vw, 2.2rem)/1.2 var(--serif); color: var(--navy-900); outline: none; }
.search-results { list-style: none; display: grid; max-height: 52vh; overflow-y: auto; }
.search-results a { display: grid; gap: 4px; padding: 14px 12px; border-radius: 10px; text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--ivory); outline: none; }
.search-results .sr-kind { font: 600 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.search-results .sr-title { font: 500 1.3rem/1.2 var(--serif); color: var(--navy-900); }
.search-results .sr-ex { font-size: .86rem; color: var(--muted); }
.search-results mark { background: var(--gold-3); color: inherit; border-radius: 2px; }
.search-hint { font-size: .82rem; color: var(--muted); }

/* Ask bar */
.ask { width: 100%; }
.ask-field { display: flex; align-items: center; gap: 12px; height: 68px; padding: 8px 8px 8px 22px; background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 999px; box-shadow: 0 24px 70px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(255, 255, 255, .6); transition: box-shadow .3s; }
.ask-field:focus-within { box-shadow: 0 24px 70px rgba(0, 0, 0, .34), 0 0 0 3px var(--gold-2); }
.ask-mark { display: grid; place-items: center; color: var(--gold); }
.ask-mark .i { width: 22px; height: 22px; }
.ask-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: 400 1.04rem/1.2 var(--sans); color: var(--ink); outline: none; text-overflow: ellipsis; }
.ask-field input::placeholder { color: #6b7483; opacity: 1; transition: opacity .3s; }
.ask-field input.swap::placeholder { opacity: 0; }
.ask-send { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--navy-900); color: var(--on-dark); cursor: pointer; transition: background .25s, transform .25s var(--ease); }
.ask-send:hover { background: var(--gold); transform: translateY(-1px); }
.ask-send .i { width: 22px; height: 22px; }
.ask-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.ask-chips a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; font-size: .84rem; text-decoration: none; color: var(--on-dark); background: rgba(10, 24, 40, .3); border: 1px solid rgba(255, 255, 255, .32); backdrop-filter: blur(6px); transition: background .25s, border-color .25s; }
.ask-chips a:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .75); }
@media (max-width: 699px) {
  .ask-field { height: 60px; padding-left: 16px; }
  .ask-send { width: 46px; height: 46px; }
  .ask-field input { font-size: 1rem; }
  .ask-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
  .ask-chips::-webkit-scrollbar { display: none; }
  .ask-chips a { white-space: nowrap; }
}

/* Footer */
.footer { background: var(--navy-950); color: var(--on-dark); padding-top: clamp(72px, 9vw, 120px); }
.footer-crest { display: grid; justify-items: center; gap: 22px; padding-bottom: 64px; border-bottom: 1px solid var(--rule-light); text-align: center; }
.footer-logo { width: min(300px, 70vw); color: var(--white); }
.footer-motto { font: italic 500 clamp(1.6rem, 3vw, 2.4rem)/1.2 var(--serif); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 56px; }
.footer-grid .eyebrow { margin-bottom: 14px; color: var(--gold-2); }
.footer-grid a, .footer-grid .linklike { display: block; padding: 7px 0; color: var(--on-dark-2); text-decoration: none; font-size: .95rem; text-align: left; }
.footer-grid a:hover, .footer-grid .linklike:hover { color: var(--on-dark); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--rule-light); padding-block: 32px 40px; font-size: .8rem; color: var(--on-dark-3); }
.footer-legal > p { max-width: 70em; line-height: 1.7; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 22px; text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; }
.footer-base a { text-decoration: none; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Home */
.dark { background: var(--navy-900); color: var(--on-dark); }

/* Hero */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: max(760px, calc(100svh - 36px)); padding-top: var(--mh-h); color: var(--on-dark); background: var(--navy-950); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 50% at 50% 50%, rgba(5, 13, 24, .1), rgba(5, 13, 24, .42) 100%),
  linear-gradient(180deg, rgba(5, 13, 24, .5) 0%, rgba(5, 13, 24, .12) 30%, rgba(5, 13, 24, .22) 64%, rgba(5, 13, 24, .9) 100%); }
.hero-body { align-self: center; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(32px, 6vh, 72px); }
.hero-h1 { margin: 0; display: flex; flex-direction: column; align-items: center; font: inherit; }
.hero-title { display: block; }
.hero-kicker { display: flex; align-items: center; gap: 16px; font: 600 .7rem/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--white); }
.hero-kicker .rule { width: clamp(24px, 5vw, 64px); }
.hero-title { font: 500 clamp(3.6rem, 11.5vw, 10.5rem)/.88 var(--serif); letter-spacing: -.025em; margin: clamp(14px, 2vh, 24px) 0 clamp(12px, 2vh, 20px); text-shadow: 0 6px 60px rgba(0, 0, 0, .35); }
.hero-title em { font-style: italic; color: var(--gold-3); }
.hero-sub { font: italic 500 clamp(1.3rem, 2vw, 1.75rem)/1.3 var(--serif); color: rgba(255, 255, 255, .92); }
.hero-ask { width: min(100%, 780px); min-width: 0; margin-top: clamp(24px, 4vh, 40px); }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; padding-block: 26px 44px; border-top: 1px solid rgba(255, 255, 255, .22); }
.hero-count .eyebrow { color: var(--gold-3); margin-bottom: 12px; }
.hero-actions { display: flex; align-items: flex-end; gap: 16px; }
.cb-hero { justify-items: end; text-align: right; }
.cb-hero .btn-cb { min-height: 72px; padding: 0 26px 0 18px; font-size: 1.12rem; }
.cb-hero .cb-mark { width: 36px; height: 36px; }
.video-toggle { position: absolute; top: calc(var(--mh-h) + 18px); right: var(--gutter); z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(5, 13, 24, .3); color: var(--on-dark); cursor: pointer; backdrop-filter: blur(6px); transition: background .25s, border-color .25s; }
.video-toggle:hover { background: rgba(255, 255, 255, .16); border-color: var(--on-dark); }
.video-toggle .i { width: 18px; height: 18px; }
.video-toggle .vt-play, .video-toggle[aria-pressed='true'] .vt-pause { display: none; }
.video-toggle[aria-pressed='true'] .vt-play { display: block; }
.vt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-credit { position: absolute; right: var(--gutter); bottom: 12px; font-size: .62rem; letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
@media (max-width: 899px) {
  .hero { min-height: auto; }
  .hero-body { padding-block: 44px 36px; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 22px; padding-bottom: 40px; }
  .hero-count .cd-units { justify-content: space-between; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cb-hero { justify-items: stretch; text-align: left; }
  .cb-hero .btn-cb { width: 100%; justify-content: center; }
  .hero-credit { left: var(--gutter); right: auto; }
}
@media (max-width: 479px) {
  .video-toggle { top: calc(var(--mh-h) + 12px); width: 44px; height: 44px; }
  .hero-title { font-size: clamp(3.2rem, 15vw, 4.4rem); }
}

/* Presidential statement — letter with the supplied signature */
.act { background: var(--white); padding-block: clamp(88px, 11vw, 160px) clamp(72px, 9vw, 128px); scroll-margin-top: var(--mh-h); }
.act-in { width: min(calc(100% - 2 * var(--gutter)), 780px); margin-inline: auto; }
.act-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.act-head .eyebrow { color: var(--gold); }
.act-title { margin-top: 14px; font: 500 clamp(2rem, 4vw, 3.2rem)/1.05 var(--serif); color: var(--navy-900); text-wrap: balance; }
.act-body p { text-align: justify; hyphens: auto; font-size: 1.04rem; line-height: 1.75; color: var(--ink-2); }
.act-body p + p { margin-top: 1.9em; }
.act-sign { display: grid; justify-items: center; text-align: center; margin-top: clamp(56px, 7vw, 88px); }
.sig-name { font: 500 clamp(1.8rem, 3vw, 2.3rem)/1.1 var(--serif); color: var(--navy-900); }
.sig-title { font: 500 1.2rem/1.3 var(--serif); color: var(--muted); margin-top: 4px; }
.sig { width: min(300px, 80vw); height: auto; margin-top: 14px; color: var(--navy-900); overflow: visible; }
.sig path { stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sig .sig-b { stroke-width: 1.6; }
.sig.pending path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.sig.pending.drawn .sig-a { transition: stroke-dashoffset 2.6s cubic-bezier(.6, .1, .3, 1); stroke-dashoffset: 0; }
.sig.pending.drawn .sig-b { transition: stroke-dashoffset .9s ease-out 2.4s; stroke-dashoffset: 0; }
.sig-picture { display: block; margin-top: 14px; }
.sig-img { display: block; width: min(400px, 80vw); height: auto; }
.sig-meta { margin-top: 18px; font: 600 .64rem/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* Initiatives — stacked full-screen panels */
.initiatives { position: relative; background: var(--navy-950); }
.panel { position: sticky; top: 0; height: 100svh; min-height: 560px; display: grid; align-items: end; color: var(--on-dark); overflow: hidden; isolation: isolate; }
.panel + .panel { box-shadow: 0 -30px 60px rgba(0, 0, 0, .3); }
.panel-img { position: absolute; inset: 0; z-index: -1; }
.panel-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--panel-focus, 50% 50%); }
@media (prefers-reduced-motion: no-preference) { .panel-img img { animation: kenburns 26s ease-in-out infinite alternate; } }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.panel-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 13, 24, .35) 0%, rgba(5, 13, 24, 0) 30%, rgba(5, 13, 24, .2) 55%, rgba(5, 13, 24, .88) 100%); }
.panel-in { display: grid; justify-items: start; gap: 22px; padding-bottom: clamp(48px, 9vh, 96px); }
.panel-label { display: flex; align-items: center; gap: 16px; font: 600 .74rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.panel-no { font: italic 500 1.7rem/1 var(--serif); letter-spacing: 0; color: var(--gold-3); padding-right: 16px; border-right: 1px solid rgba(255, 255, 255, .4); }
.panel-title { max-width: 13em; font: 500 clamp(2.8rem, 7.4vw, 7.4rem)/.94 var(--serif); letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 4px 40px rgba(0, 0, 0, .3); }
.panel-count { position: absolute; right: var(--gutter); bottom: clamp(48px, 9vh, 96px); font: 600 .7rem/1 var(--sans); letter-spacing: .24em; color: rgba(255, 255, 255, .7); }
@media (max-width: 699px) { .panel-count { top: calc(var(--mh-h) + 20px); bottom: auto; } .panel-img img { object-position: var(--panel-focus-mobile, var(--panel-focus, 50% 50%)); } }

/* SIWR Intelligence band */
.ask-band { position: relative; padding-block: var(--section); overflow: hidden; }
.ask-band::before { content: ''; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; background: radial-gradient(circle, rgba(201, 164, 94, .16), transparent 62%); pointer-events: none; }
.ab-grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.ab-head .display { max-width: 10.5em; margin: 18px 0 40px; }
.try-list { list-style: none; border-bottom: 1px solid var(--rule-light); }
.try-list a { display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 12px; padding: 20px 0; border-top: 1px solid var(--rule-light); text-decoration: none; font: 500 clamp(1.3rem, 2vw, 1.65rem)/1.2 var(--serif); transition: color .25s, padding .35s var(--ease); }
.try-list a:hover { color: var(--gold-3); padding-left: 8px; }
.try-no { font: 600 .66rem/1 var(--sans); letter-spacing: .2em; color: var(--on-dark-3); }
.try-list .i { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.try-list a:hover .i { transform: translateX(5px); }
.ab-visual { position: relative; padding-bottom: 40px; }
.iv-main { width: 74%; margin-left: auto; border-radius: 999px 999px 0 0; overflow: hidden; }
.iv-main img { width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; }
.iv-small { position: absolute; left: 0; bottom: 0; width: 42%; border: 8px solid var(--navy-900); }
.iv-small img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.iv-facts { list-style: none; position: absolute; right: 0; bottom: 40px; display: grid; gap: 1px; background: rgba(255, 255, 255, .12); }
.iv-facts li { padding: 12px 18px; background: var(--white); color: var(--navy-900); font: 600 .7rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 999px) { .ab-grid { grid-template-columns: 1fr; } .ab-visual { max-width: 620px; } }

/* Triptych */
.gallery { background: var(--white); padding-block: var(--section); }
.gal-title { text-align: center; margin: 0 auto clamp(40px, 5vw, 72px); max-width: 14em; }
.triptych { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.tp-item:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
.tp-item img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; transition: transform 1.4s var(--ease); }
.tp-item figure { overflow: hidden; }
.tp-item:hover img { transform: scale(1.03); }
.tp-item figcaption { padding-top: 14px; font: 600 .7rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--navy-900); }
@media (prefers-reduced-motion: no-preference) { .js .tp-item.reveal { transition-delay: var(--d); } }
@media (max-width: 699px) { .triptych { grid-template-columns: 1fr; } .tp-item:nth-child(2) { margin-top: 0; } .tp-item img { aspect-ratio: 4 / 3; } }

/* Register band */
.reg-band { background: var(--ivory); }
.reserve-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 128px); align-items: center; padding-block: var(--section); }
.rs-monolith { position: relative; }
.rs-monolith::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold-2); pointer-events: none; }
.rs-monolith img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.rs-monolith .caption { position: absolute; left: 20px; bottom: 18px; color: rgba(255, 255, 255, .88); }
.rs-text .eyebrow { color: var(--gold); }
.rs-text .display { margin: 14px 0 0; }
.register { margin: 36px 0 28px; background: var(--white); border: 1px solid var(--rule); box-shadow: 0 20px 50px rgba(12, 25, 41, .06); }
.reg-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--navy-900); color: var(--on-dark); font: 600 .66rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.register dl { margin: 0; }
.register dl div { display: flex; align-items: baseline; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--rule); }
.register dt { flex: 1; display: flex; align-items: baseline; gap: 14px; font: 600 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.register dt::after { content: ''; flex: 1; border-bottom: 1px dotted var(--stone); min-width: 12px; }
.register dd { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-900); text-align: right; }
.register dd .i { width: 16px; height: 16px; }
.tba { font: italic 500 1.12rem/1 var(--serif); color: var(--gold); }
@media (max-width: 999px) { .reserve-grid { grid-template-columns: 1fr; } .rs-monolith { max-width: 520px; width: calc(100% - 18px); } }
@media (max-width: 479px) { .register dl div { flex-wrap: wrap; } .register dt { white-space: normal; } }

/* Publications — image cards */
.pubs { background: var(--white); padding-block: var(--section); }
.pubs-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; padding-bottom: 24px; margin-bottom: 40px; border-bottom: 1px solid var(--rule-strong); }
.pub-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 600 .66rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pub-meta span:first-child { color: var(--gold); }
.pub-cards { list-style: none; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto auto; gap: 40px 40px; }
.pub-card a { display: grid; gap: 14px; text-decoration: none; }
.pub-card.is-wide { grid-row: span 2; }
.pc-img { display: block; overflow: hidden; }
.pc-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.1s var(--ease); }
.pub-card.is-wide .pc-img img { aspect-ratio: 4 / 3.3; }
.pub-card:not(.is-wide) a { grid-template-columns: 1fr; }
.pub-card a:hover .pc-img img { transform: scale(1.04); }
.pc-title { font: 500 clamp(1.3rem, 1.8vw, 1.65rem)/1.12 var(--serif); color: var(--navy-900); text-wrap: balance; }
.pub-card.is-wide .pc-title { font-size: clamp(1.9rem, 3.2vw, 3rem); }
.pub-card a:hover .pc-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
@media (max-width: 899px) { .pub-cards { grid-template-columns: 1fr 1fr; } .pub-card.is-wide { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 559px) { .pub-cards { grid-template-columns: 1fr; } }

/* Finale */
.finale { position: relative; min-height: max(660px, 94vh); text-align: center; overflow: hidden; background: var(--navy-950); }
.finale-img { position: absolute; inset: 0; }
.finale-img img { width: 100%; height: 100%; object-fit: cover; }
.finale-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 13, 24, .78), rgba(5, 13, 24, .2) 36%, rgba(5, 13, 24, .25) 50%, rgba(5, 13, 24, .92)); }
.finale-in { position: relative; min-height: inherit; display: grid; grid-template-rows: 35% 1fr; justify-items: center; }
.finale-top { align-self: end; display: grid; justify-items: center; gap: 14px; padding-bottom: 3.5vh; }
.finale-top .eyebrow { color: var(--gold-3); }
.finale-bottom { align-self: center; display: grid; justify-items: center; gap: 34px; padding-block: 32px 64px; }
.finale .display { max-width: 16em; font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.cd-finale .cd-num { font-size: clamp(3rem, 8vw, 6.6rem); }
.cd-finale .cd-units { justify-content: center; }
.finale-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 479px) { .finale-actions .btn { width: 100%; } .cd-finale .cd-units { gap: 10px; } }

/* Shared editorial bits used on inner pages */
.ch-media .caption, .caption-light { color: rgba(255, 255, 255, .88); }

/* Mobile refinements */
@media (max-width: 599px) {
  .hero-kicker { gap: 0; font-size: .6rem; letter-spacing: .22em; }
  .hero-kicker .rule { display: none; }
  .act-body p { text-align: left; hyphens: manual; }
}
@media (max-width: 999px) {
  .ab-visual { padding-bottom: 0; }
  .iv-facts { position: static; margin-top: 18px; grid-template-columns: 1fr; }
  .iv-small { bottom: 64px; }
}

/* Mission */
.m-hero { display: grid; grid-template-columns: 7fr 5fr; gap: 40px clamp(32px, 6vw, 110px); align-items: center; padding-block: clamp(56px, 8vw, 120px) 0; }
.m-hero-text .display { margin-bottom: 30px; }
.m-arch { border-radius: 999px 999px 0 0; overflow: hidden; }
.m-arch img { width: 100%; aspect-ratio: 4 / 5; max-height: 74vh; object-fit: cover; }
.toc { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule-strong); margin-top: 24px; }
.toc a { display: flex; gap: 12px; align-items: baseline; padding: 20px 12px 20px 0; font: 500 1.25rem/1.2 var(--serif); text-decoration: none; color: var(--navy-900); border-bottom: 1px solid var(--rule); }
.toc a span { font: 600 .64rem/1 var(--sans); letter-spacing: .2em; color: var(--gold); }
.toc a:hover { color: var(--gold); }
@media (max-width: 899px) { .m-hero { grid-template-columns: 1fr; } .m-arch { max-width: 420px; } .toc { grid-template-columns: 1fr 1fr; } }

.m-preamble { padding-block: var(--section); }
.m-pre-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 110px); }
.m-pre-side .display { margin-top: 18px; }
.prose-cols { columns: 2 22em; column-gap: 56px; font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.prose-cols p { margin-bottom: 1.1em; break-inside: avoid; }
.dropcap::first-letter { float: left; font: 500 5.6em/.78 var(--serif); color: var(--gold); padding: .06em .1em 0 0; }
@media (max-width: 899px) { .m-pre-grid { grid-template-columns: 1fr; } }

.m-principles { background: var(--ivory); padding-block: var(--section); }
.m-pr-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); }
.m-pr-sticky { position: sticky; top: calc(var(--mh-h) + 32px); }
.m-pr-sticky .display { margin: 18px 0 36px; }
.m-pr-img img { width: 100%; max-height: 62vh; aspect-ratio: 2 / 3; object-fit: cover; }
.m-pr-list { list-style: none; }
.principle { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 44px 0; border-top: 1px solid var(--rule-strong); scroll-margin-top: calc(var(--mh-h) + 24px); }
.p-num { font: italic 500 4.4rem/.9 var(--serif); color: var(--gold); }
.principle h3 { font: 500 clamp(1.9rem, 3vw, 2.7rem)/1.06 var(--serif); color: var(--navy-900); margin-bottom: 14px; }
.principle > div > p:not(.eyebrow) { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 22px; max-width: 34em; }
.practice { list-style: none; margin-top: 10px; display: grid; gap: 8px; }
.practice li { position: relative; padding-left: 28px; color: var(--ink-2); }
.practice li::before { content: ''; position: absolute; left: 0; top: .78em; width: 16px; height: 1px; background: var(--gold); }
@media (max-width: 899px) { .m-pr-grid { grid-template-columns: 1fr; } .m-pr-sticky { position: static; } .m-pr-img img { max-height: 420px; } .principle { grid-template-columns: 64px 1fr; } .p-num { font-size: 3rem; } }

.m-ambition { position: relative; padding-block: var(--section); overflow: hidden; background: var(--navy-950); }
.m-am-bg { position: absolute; inset: 0; }
.m-am-bg img { width: 100%; height: 100%; object-fit: cover; }
.m-am-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 13, 24, .82), rgba(5, 13, 24, .55) 40%, rgba(5, 13, 24, .94)); }
.m-am-in { position: relative; }
.m-am-in .display { margin: 18px 0 clamp(48px, 8vw, 120px); max-width: 12em; }
.horizons { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(244, 238, 226, .5); }
.horizons li { position: relative; padding: 34px clamp(16px, 2.4vw, 36px) 8px 0; }
.horizons li::before { content: ''; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 5px rgba(207, 174, 111, .2); }
.horizons li + li { padding-left: clamp(16px, 2.4vw, 36px); }
.horizons li + li::before { left: clamp(16px, 2.4vw, 36px); }
.h-when { font: 600 .66rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); }
.horizons h3 { font: 500 2rem/1.1 var(--serif); margin: 12px 0; }
.horizons p { color: var(--on-dark-2); margin-bottom: 18px; }
.h-status { display: inline-block; padding: 6px 12px; border: 1px solid var(--rule-light); border-radius: 999px; font-size: .72rem; letter-spacing: .08em; color: var(--on-dark-2); }
@media (max-width: 899px) { .horizons { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid rgba(244, 238, 226, .5); } .horizons li, .horizons li + li { padding: 4px 0 36px 32px; } .horizons li::before, .horizons li + li::before { left: -6px; top: 8px; } }

.m-not { padding-block: var(--section); }
.m-not-head { text-align: center; margin-bottom: clamp(40px, 6vw, 80px); }
.m-not-head .display { margin-top: 16px; }
.m-not-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-strong); }
.m-not-grid > div { padding: 36px clamp(20px, 4vw, 56px) 36px 0; }
.m-not-grid > div + div { padding: 36px 0 36px clamp(20px, 4vw, 56px); border-left: 1px solid var(--rule); }
.m-not-grid h3 { font: italic 500 2.2rem/1 var(--serif); color: var(--navy-900); margin-bottom: 20px; }
.m-not-grid ul { list-style: none; }
.m-not-grid li { position: relative; padding: 14px 0 14px 36px; border-top: 1px solid var(--rule); font-size: 1.04rem; }
.is li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.isnot li { color: var(--ink-2); }
.isnot li::before { content: ''; position: absolute; left: 2px; top: 1.32em; width: 16px; height: 1.5px; background: var(--err); }
@media (max-width: 799px) { .m-not-grid { grid-template-columns: 1fr; } .m-not-grid > div + div { border-left: 0; padding-left: 0; } }
.m-quote { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: var(--section); }
.m-quote-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.m-quote blockquote { margin: 0; }
.m-quote blockquote p { font: italic 500 clamp(2.2rem, 4.6vw, 4.2rem)/1.05 var(--serif); color: var(--navy-900); margin-bottom: 20px; text-wrap: balance; }
@media (max-width: 799px) { .m-quote { grid-template-columns: 1fr; } .m-quote-img { max-width: 320px; } }

.m-ask { padding-block: var(--section); text-align: center; }
.m-ask-in { display: grid; justify-items: center; gap: 22px; max-width: 820px; }
.m-ask-emblem { width: 64px; height: 64px; color: var(--gold-2); }

/* Reserve */
.r-hero { position: relative; overflow: hidden; background: var(--navy-950); }
.r-hero-bg { position: absolute; inset: 0; }
.r-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.r-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 13, 24, .94) 25%, rgba(5, 13, 24, .55) 70%, rgba(5, 13, 24, .4)), linear-gradient(0deg, rgba(5, 13, 24, .8), transparent 50%); }
.r-hero-in { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; min-height: min(86vh, 860px); padding-block: clamp(80px, 12vw, 160px) clamp(48px, 6vw, 80px); }
.r-hero-text .display { margin-bottom: 26px; }
.r-hero-panel { display: grid; gap: 20px; padding: 28px; border: 1px solid rgba(244, 238, 226, .22); background: rgba(5, 13, 24, .55); backdrop-filter: blur(12px); }
.r-hero-panel .eyebrow { color: var(--gold-3); }
.cd-panel .cd-units { justify-content: space-between; }
.cb-panel .btn-cb { width: 100%; justify-content: center; }
@media (max-width: 899px) { .r-hero-in { grid-template-columns: 1fr; min-height: 0; } }

.r-register { padding-block: var(--section); scroll-margin-top: var(--mh-h); }
.r-reg-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.r-reg-intro { position: sticky; top: calc(var(--mh-h) + 32px); display: grid; gap: 18px; }
.r-reg-intro > p:not(.eyebrow) { color: var(--ink-2); }
.r-updated { font-size: .85rem; color: var(--muted) !important; padding-top: 14px; border-top: 1px solid var(--rule); }
.r-ledger { border: 1px solid var(--rule-strong); background: var(--white); }
.r-row { display: grid; grid-template-columns: 1.1fr 1.4fr 140px; gap: 16px; align-items: center; padding: 18px 24px; border-top: 1px solid var(--rule); }
.r-row-head { border-top: 0; background: var(--navy-900); color: var(--on-dark); font: 600 .66rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding-block: 14px; }
.r-k { font: 600 .74rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.r-v { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-900); min-width: 0; }
.r-v .i { width: 17px; height: 17px; }
.chip { display: inline-block; padding: 5px 11px; border-radius: 999px; font: 600 .66rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; border: 1px solid currentColor; }
.chip-planned { color: var(--navy-600); }
.chip-pending { color: var(--gold); }
.chip-published { color: var(--ok); }
@media (max-width: 899px) { .r-reg-grid { grid-template-columns: 1fr; } .r-reg-intro { position: static; } }
@media (max-width: 599px) { .r-row { grid-template-columns: 1fr auto; padding: 16px; } .r-row-head { display: none; } .r-k { grid-column: 1 / -1; } }

.r-concept { background: var(--ivory); padding-block: var(--section); }
.r-con-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.r-con-text { display: grid; gap: 24px; justify-items: start; }
.r-con-text > p:not(.eyebrow):not(.lede) { color: var(--ink-2); max-width: 36em; }
.r-con-img { position: relative; }
.r-con-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.r-con-img .caption { margin-top: 12px; }
@media (max-width: 899px) { .r-con-grid { grid-template-columns: 1fr; } .r-con-img { max-width: 440px; } }

.r-solana { padding-block: var(--section); }
.r-sol-head { display: flex; align-items: center; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid var(--rule-light); }
.r-sol-mark { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--rule-light); color: var(--gold-2); }
.r-sol-mark .i { width: 36px; height: 32px; }
.r-sol-head .display { margin-top: 10px; }
.r-sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.r-sol-grid > div { padding: 36px clamp(16px, 3vw, 44px) 0 0; }
.r-sol-grid > div + div { padding-left: clamp(16px, 3vw, 44px); border-left: 1px solid var(--rule-light); }
.r-sol-grid h3 { font: 500 1.9rem/1.1 var(--serif); margin-bottom: 12px; }
.r-sol-grid p { color: var(--on-dark-2); }
.r-sol-grid a { color: var(--gold-3); display: inline-flex; align-items: center; gap: 4px; }
.r-sol-grid a .i { width: 14px; height: 14px; }
@media (max-width: 899px) { .r-sol-grid { grid-template-columns: 1fr; } .r-sol-grid > div + div { border-left: 0; padding-left: 0; } }

.r-verify { padding-block: var(--section); scroll-margin-top: var(--mh-h); }
.r-ver-head { margin-bottom: 56px; }
.r-ver-head .display { margin-top: 16px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: start; }
.steps li { position: relative; padding: 28px 24px 0 0; border-top: 1px solid var(--rule-strong); }
.steps li:nth-child(2) { margin-top: 48px; }
.steps li:nth-child(3) { margin-top: 96px; }
.steps li:nth-child(4) { margin-top: 144px; }
.s-no { display: block; font: italic 500 4rem/1 var(--serif); color: var(--gold); margin-bottom: 14px; }
.steps h3 { font: 500 1.7rem/1.1 var(--serif); color: var(--navy-900); margin-bottom: 10px; }
.steps p { color: var(--ink-2); }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; } .steps li:nth-child(n) { margin-top: 0; } }
@media (max-width: 559px) { .steps { grid-template-columns: 1fr; } }

.r-faq { background: var(--ivory); padding-block: var(--section); }
.r-faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.r-faq-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.r-faq-grid .display { margin: 16px 0 32px; }
.faq { border-bottom: 1px solid var(--rule-strong); margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--rule-strong); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font: 500 clamp(1.4rem, 2.2vw, 1.75rem)/1.2 var(--serif); color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 18px; height: 1.5px; background: var(--gold); transition: transform .35s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 40em; }
@media (max-width: 899px) { .r-faq-grid { grid-template-columns: 1fr; } .r-faq-side { max-width: 260px; } }

/* Library */
.lib-head { padding-block: clamp(56px, 8vw, 120px) clamp(40px, 5vw, 64px); }
.lib-head-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
@media (max-width: 899px) { .lib-head-grid { grid-template-columns: 1fr; } }
.lib { padding-bottom: var(--section); }
.lib-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; border-block: 1px solid var(--rule-strong); margin-bottom: 48px; position: sticky; top: var(--mh-h); background: var(--paper); z-index: 5; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; cursor: pointer; font-size: .86rem; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--navy-900); }
.filters button[aria-pressed='true'] { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.lib-count { font: 600 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 899px) { .lib-bar { position: static; } }
.lib-list { list-style: none; display: grid; }
.lib-item article { display: grid; grid-template-columns: 380px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 32px; border-bottom: 1px solid var(--rule); }
.lib-img { display: block; overflow: hidden; }
.lib-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease); }
.lib-item article:hover .lib-img img { transform: scale(1.04); }
.lib-text h2 { font: 500 clamp(1.7rem, 2.6vw, 2.4rem)/1.06 var(--serif); color: var(--navy-900); margin: 14px 0 12px; text-wrap: balance; }
.lib-dek { color: var(--ink-2); max-width: 38em; margin-bottom: 14px; }
.lib-read { display: inline-flex; align-items: center; gap: 8px; font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lib-read .i { width: 16px; height: 16px; }
.lib-item.is-lead article { grid-template-columns: 1.35fr 1fr; padding-top: 0; padding-bottom: 48px; }
.lib-item.is-lead .lib-text h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.lib-none { padding: 48px 0; font: italic 500 1.6rem/1.3 var(--serif); color: var(--muted); }
@media (max-width: 799px) { .lib-item article, .lib-item.is-lead article { grid-template-columns: 1fr; } }

/* Article */
.art-head { display: grid; justify-items: center; text-align: center; gap: 18px; padding-block: clamp(48px, 7vw, 104px) clamp(32px, 4vw, 56px); }
.crumbs { display: flex; gap: 10px; font-size: .82rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.art-head .display { max-width: 15em; }
.art-dek { font: italic 500 clamp(1.3rem, 2vw, 1.65rem)/1.35 var(--serif); color: var(--ink-2); max-width: 30em; text-wrap: balance; }
.art-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font: 600 .68rem/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.art-meta .linklike { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--gold); }
.art-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.art-cover .caption { margin-top: 10px; }
@media (max-width: 799px) { .art-cover img { aspect-ratio: 4 / 3; } }
.art-body { display: grid; grid-template-columns: 260px minmax(0, 700px) 1fr; gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 6vw, 88px) var(--section); }
.art-aside { position: sticky; top: calc(var(--mh-h) + 32px); align-self: start; padding-top: 18px; border-top: 1px solid var(--rule-strong); }
.art-aside ol { list-style: none; counter-reset: k; display: grid; gap: 14px; margin-top: 16px; }
.art-aside li { counter-increment: k; display: grid; grid-template-columns: 28px 1fr; font-size: .94rem; color: var(--ink-2); }
.art-aside li::before { content: counter(k, upper-roman); font: italic 500 1.05rem/1.3 var(--serif); color: var(--gold); }
@media (max-width: 999px) { .art-body { grid-template-columns: minmax(0, 1fr); } .art-aside { position: static; order: 2; } }
.prose { font-size: 1.1rem; line-height: 1.82; color: var(--ink-2); }
.prose p { margin-bottom: 1.25em; }
.prose .lead { font: 500 clamp(1.6rem, 2.4vw, 2rem)/1.32 var(--serif); color: var(--navy-900); margin-bottom: 1.2em; }
.prose .lead::first-letter { float: left; font-size: 3.4em; line-height: .78; padding: .06em .1em 0 0; color: var(--gold); }
.prose h2 { font: 500 clamp(1.8rem, 2.6vw, 2.3rem)/1.1 var(--serif); color: var(--navy-900); margin: 1.8em 0 .6em; }
.prose a { color: var(--navy-700); text-decoration-color: var(--gold); }
.art-ask { padding-block: 56px; }
.art-ask-in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.art-ask-emblem { width: 56px; height: 56px; color: var(--gold-2); }
.art-ask-q { font: 500 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--serif); margin-top: 6px; }
@media (max-width: 799px) { .art-ask-in { grid-template-columns: 1fr; } .art-ask .btn { white-space: normal; } }
.art-related { padding-block: 72px var(--section); }
.art-related ul { list-style: none; margin-top: 18px; border-top: 1px solid var(--rule-strong); }
.art-related a { display: grid; grid-template-columns: 120px 1fr 24px; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.rel-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rel-text { display: grid; gap: 8px; }
.rel-title { font: 500 1.6rem/1.15 var(--serif); color: var(--navy-900); }
.art-related a:hover .rel-title { color: var(--gold); }
@media (max-width: 559px) { .art-related a { grid-template-columns: 88px 1fr; } .art-related a > .i { display: none; } }

/* 404 */
.nf { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - 190px); }
.nf-img img { width: 100%; height: 100%; object-fit: cover; }
.nf-text { display: grid; align-content: center; justify-items: start; gap: 22px; padding: clamp(48px, 7vw, 120px) var(--gutter); }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nf-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.nf-links a { font: 500 1.25rem/1 var(--serif); text-decoration: none; }
.nf-links a:hover { color: var(--gold); }
@media (max-width: 899px) { .nf { grid-template-columns: 1fr; } .nf-img img { aspect-ratio: 3 / 2; height: auto; } }

/* SIWR Intelligence — conversation space */
.page-intel { background: var(--paper); }
.page-intel .footer { display: none; }
.ia { display: grid; grid-template-columns: 312px minmax(0, 1fr); min-height: calc(100svh - var(--mh-h) - 36px); }
.ia-side { position: sticky; top: var(--mh-h); align-self: start; height: calc(100svh - var(--mh-h)); overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 28px; padding: 28px 24px; background: var(--ivory); border-right: 1px solid var(--rule); }
.ia-side-top { display: flex; gap: 8px; align-items: center; }
.ia-new { flex: 1; }
.ia-side-close { display: none; color: var(--navy-900); }
.ia-convos .eyebrow { margin-bottom: 10px; }
.ia-convos ul { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.ia-convos button { width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer; font-size: .9rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ia-convos button:hover { background: rgba(12, 25, 41, .06); }
.ia-convos button[aria-current='true'] { background: var(--white); color: var(--navy-900); font-weight: 600; box-shadow: 0 1px 0 var(--rule); }
.ia-empty { font-size: .84rem; color: var(--muted); line-height: 1.5; }
.ia-status { margin-top: auto; padding: 18px; border: 1px solid var(--rule); border-radius: 16px; background: var(--paper); }
.ia-state { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-900); margin: 8px 0 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--stone); flex: none; }
[data-state='ready'] .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 138, 104, .16); }
[data-state='pending'] .dot { background: var(--warn); box-shadow: 0 0 0 4px rgba(185, 138, 47, .18); }
[data-state='offline'] .dot { background: var(--err); box-shadow: 0 0 0 4px rgba(180, 83, 60, .16); }
.ia-status dl { margin: 0; display: grid; gap: 8px; }
.ia-status dl div { display: grid; gap: 2px; padding-top: 8px; border-top: 1px solid var(--rule); }
.ia-status dt { font: 600 .62rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ia-status dd { margin: 0; font-size: .82rem; color: var(--ink-2); line-height: 1.45; }

.ia-main { position: relative; display: flex; flex-direction: column; min-width: 0; background:
  radial-gradient(ellipse 60% 40% at 50% 0%, rgba(207, 174, 111, .12), transparent 70%), var(--paper); }
.ia-topbar { display: none; }
.ia-thread { flex: 1; width: min(100%, 860px); margin: 0 auto; padding: clamp(32px, 6vh, 72px) var(--gutter) 24px; display: flex; flex-direction: column; gap: 28px; }
.ia-welcome { display: grid; justify-items: center; text-align: center; gap: 16px; padding-top: 2vh; }
.ia-emblem { width: 72px; height: 72px; color: var(--gold); }
.ia-welcome .display { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 12em; }
.ia-welcome .lede { font-size: 1.04rem; color: var(--muted); max-width: 34em; }
.ia-banner { width: 100%; display: flex; gap: 14px; text-align: left; padding: 16px 20px; border: 1px solid var(--gold-3); border-radius: 14px; background: #fbf3e2; color: var(--ink); font-size: .94rem; line-height: 1.55; }
.ia-banner strong { display: block; color: var(--navy-900); }
.ia-banner .dot { margin-top: 7px; background: var(--warn); }
.ia-banner.is-offline { border-color: rgba(180, 83, 60, .35); background: #fbecE7; }
.ia-banner.is-offline .dot { background: var(--err); }
.ia-starters { list-style: none; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.ia-starters button { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 20px; grid-template-rows: auto 1fr; gap: 6px 12px; align-items: end; padding: 18px 20px; text-align: left; border: 1px solid var(--rule); border-radius: 18px; background: var(--white); cursor: pointer; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.ia-starters button:hover { border-color: var(--gold-2); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(12, 25, 41, .08); }
.ia-starters .eyebrow { grid-column: 1 / -1; color: var(--gold); }
.ia-starters .q { font: 500 1.22rem/1.25 var(--serif); color: var(--navy-900); }
.ia-starters .i { width: 18px; height: 18px; color: var(--muted); }
@media (max-width: 599px) { .ia-starters { grid-template-columns: 1fr; } }

.msg { animation: msg-in .45s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .msg { animation: none; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } }
.msg-user { align-self: flex-end; max-width: min(80%, 620px); padding: 14px 20px; border-radius: 22px 22px 6px 22px; background: var(--navy-900); color: var(--on-dark); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-ai { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.msg-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-2); }
.msg-avatar svg { width: 28px; height: 28px; }
.msg-body { padding-top: 6px; font-size: 1.04rem; line-height: 1.75; color: var(--ink); overflow-wrap: anywhere; }
.msg-body > * + * { margin-top: .85em; }
.msg-body h3, .msg-body h4 { font: 600 1.4rem/1.2 var(--serif); color: var(--navy-900); margin-top: 1.2em; }
.msg-body ul, .msg-body ol { padding-left: 1.3em; }
.msg-body li + li { margin-top: .35em; }
.msg-body code { font: .88em var(--mono); background: var(--ivory); padding: .1em .35em; border-radius: 4px; }
.msg-body pre { background: var(--navy-900); color: var(--on-dark); padding: 16px 18px; border-radius: 12px; overflow-x: auto; }
.msg-body pre code { background: none; padding: 0; color: inherit; }
.msg-body a { color: var(--navy-700); text-decoration-color: var(--gold); }
.msg-body blockquote { margin: 0; padding-left: 16px; border-left: 2px solid var(--gold-2); color: var(--ink-2); }
.msg-foot { display: flex; gap: 14px; margin-top: 10px; font-size: .74rem; color: var(--muted); }
.msg-foot button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; font-size: .74rem; }
.msg-thinking .msg-body { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .92rem; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dots i { animation: none; opacity: .7; } }
.msg-notice { align-self: stretch; display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(180, 83, 60, .3); background: #fbefea; color: var(--ink); font-size: .92rem; }
.msg-notice .dot { margin-top: 7px; background: var(--err); }
.msg-notice.is-pending { border-color: var(--gold-3); background: #fbf3e2; }
.msg-notice.is-pending .dot { background: var(--warn); }
.msg-notice button { margin-left: auto; flex: none; background: var(--navy-900); color: var(--on-dark); border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: .8rem; font-weight: 600; }

.ia-composer { position: sticky; bottom: 0; padding: 18px var(--gutter) 18px; background: linear-gradient(180deg, rgba(250, 247, 241, 0), var(--paper) 34%); }
.ia-box { position: relative; width: min(100%, 860px); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; padding: 10px 10px 10px 22px; background: var(--white); border: 1px solid var(--rule); border-radius: 26px; box-shadow: 0 18px 50px rgba(12, 25, 41, .1); transition: border-color .25s, box-shadow .25s; }
.ia-box:focus-within { border-color: var(--gold-2); box-shadow: 0 18px 50px rgba(12, 25, 41, .12), 0 0 0 3px rgba(207, 174, 111, .3); }
.ia-box textarea { width: 100%; min-height: 48px; max-height: 220px; padding: 12px 0; border: 0; resize: none; background: none; font: 400 1.04rem/1.5 var(--sans); color: var(--ink); outline: none; }
.ia-send, .ia-stop { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--navy-900); color: var(--on-dark); transition: background .25s, opacity .25s; }
.ia-send:hover:not(:disabled) { background: var(--gold); }
.ia-send:disabled { opacity: .35; cursor: not-allowed; }
.ia-send .i { width: 22px; height: 22px; }
.ia-stop span { width: 14px; height: 14px; border-radius: 3px; background: currentColor; }
.ia-meta { width: min(100%, 860px); margin: 10px auto 0; display: flex; justify-content: space-between; gap: 16px; font-size: .74rem; color: var(--muted); }
.ia-noscript { padding: 24px 0; }

@media (max-width: 899px) {
  .ia { grid-template-columns: 1fr; }
  .ia-side { position: fixed; z-index: 90; top: 0; left: 0; bottom: 0; height: 100%; width: min(88vw, 340px); transform: translateX(-102%); transition: transform .4s var(--ease); box-shadow: 0 0 80px rgba(0, 0, 0, .25); }
  .ia-side.is-open { transform: none; }
  .ia-side-close { display: inline-flex; }
  .ia-topbar { position: sticky; top: var(--mh-h); z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px var(--gutter); background: rgba(250, 247, 241, .94); border-bottom: 1px solid var(--rule); color: var(--navy-900); }
  .ia-topbar .mh-btn span { display: inline; }
  .ia-topstate { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; }
  .ia-meta span:first-child { max-width: 75%; }
}
@media (prefers-reduced-motion: reduce) { .ia-side { transition: none; } }
