/* Zeus: marble, gold leaf and ultramarine. Design tokens first; everything else uses them.
   Rules: no third-party requests, no inline styles (CSP), every animation has a reduced-motion fallback. */

@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-vf.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; src: url('/fonts/cormorant-garamond-vf-italic.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('/fonts/cinzel-vf.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-vf.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --marble: #F7F3EC;
  --marble-2: #EFE9DE;
  --marble-shadow: #E9E2D6;
  --vein: #CFC6B6;
  --white: #FFFDF8;
  --ink: #1B2233;
  --ink-2: #4A5268;
  --ink-3: #6B7287;
  --ultramarine: #2347A8;
  --ultramarine-2: #1B3A8C;
  --aegean: #3E7CC9;
  --sky: #9DB8EA;
  --gold: #C8A04A;
  --gold-light: #F3DC93;
  --gold-text: #8A6A22;
  --gold-ink: #5C4514;
  --storm: #121A2C;
  --storm-2: #1A2440;
  --storm-3: #25325A;
  --lightning: #FFE58A;
  --terracotta: #B5532F;
  --terracotta-text: #9E4526;
  --olive: #56702F;

  --font-display: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --font-inscription: 'Cinzel', 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Consolas, monospace;

  --step--1: clamp(0.86rem, 0.83rem + 0.12vw, 0.94rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(1.95rem, 1.6rem + 1.6vw, 3rem);
  --step-4: clamp(2.5rem, 1.9rem + 2.8vw, 4.4rem);
  --step-5: clamp(3rem, 2.1rem + 4.4vw, 6.2rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.5rem;
  --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem; --space-10: 8rem;
  --radius: 6px; --radius-sm: 4px; --radius-lg: 6px;
  --wrap: 1200px;
  --gutter: clamp(24px, 7vw, 128px); /* one fluid side margin for the header, every section, the cards and the footer */
  --shadow-1: 0 1px 2px rgba(27, 34, 51, .06), 0 4px 14px rgba(27, 34, 51, .06);
  --shadow-2: 0 2px 6px rgba(27, 34, 51, .08), 0 18px 44px rgba(27, 34, 51, .12);
  --shadow-gold: 0 10px 30px rgba(138, 106, 34, .28);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 160ms; --dur-2: 320ms; --dur-3: 640ms; --dur-4: 960ms;
  --focus: 0 0 0 3px var(--marble), 0 0 0 5px var(--ultramarine);
  --carve-light: 0 1px 0 rgba(255, 255, 255, .8), 0 -1px 0 rgba(27, 34, 51, .16);
  --carve-dark: 0 -1px 0 rgba(0, 0, 0, .55), 0 1px 0 rgba(243, 220, 147, .26);
  --slab: url('/img/marble-light.webp');
  --slab-dark: url('/img/marble-dark.webp');
  color-scheme: light;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--marble); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11'; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(243, 220, 147, .22), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(157, 184, 234, .14), transparent 60%);
  background-attachment: fixed;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--ultramarine); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-1); }
a:hover { color: var(--ultramarine-2); text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--gold-light); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.012em; margin: 0 0 var(--space-4); text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.15; }
h4 { font-size: var(--step-1); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--ultramarine); font-weight: 500; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
code, kbd, pre, samp { font-family: var(--font-mono); font-size: .9em; }
:not(pre) > code { background: var(--marble-2); border: 1px solid var(--marble-shadow); padding: .08em .38em; border-radius: 6px; }
hr { border: 0; height: 1px; background: var(--vein); margin: var(--space-7) 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--marble); padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }
.center { text-align: center; margin-inline: auto; }

/* ------------------------------------------------------------------ header */
/* The header floats over the painted band at the top of every page: light lettering first, marble glass once you scroll. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background var(--dur-2), box-shadow var(--dur-2), backdrop-filter var(--dur-2), color var(--dur-2); color: #F4EFE4; }
.site-header.is-scrolled { background: rgba(247, 243, 236, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(207, 198, 182, .8); color: var(--ink); }
.header-inner { display: flex; align-items: center; gap: var(--space-5); height: 72px; }
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; transition: transform var(--dur-3) var(--ease-out); }
.brand:hover .logo-mark { transform: rotate(-14deg) scale(1.06); }
.logo-word { height: 18px; width: auto; }
.status-pill { display: inline-flex; align-items: center; gap: .45em; font: 600 .7rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(243, 220, 147, .5); background: rgba(10, 18, 48, .35); padding: .42em .7em; border-radius: 99px; white-space: nowrap; transition: color var(--dur-2), background var(--dur-2), border-color var(--dur-2); }
.is-scrolled .status-pill { color: var(--gold-text); border-color: rgba(200, 160, 74, .55); background: rgba(243, 220, 147, .25); }
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(200, 160, 74, .2); animation: pulse 2.6s var(--ease-in-out) infinite; }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-5); }
.nav-menu { display: flex; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.nav-menu a { position: relative; white-space: nowrap; color: inherit; text-decoration: none; font-weight: 500; font-size: .95rem; padding: .3rem 0; }
.nav-menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: right; transition: transform var(--dur-2) var(--ease-out); }
.nav-menu a:hover::after, .nav-menu a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.site-header:not(.is-scrolled) .btn--ink { background: rgba(247, 243, 236, .94); color: var(--ink); }
.site-header:not(.is-scrolled) .btn--ink:hover { background: var(--gold-light); color: var(--ink); }
.site-header :focus-visible { box-shadow: 0 0 0 3px rgba(10, 18, 48, .9), 0 0 0 5px var(--gold-light); }
.site-header.is-scrolled :focus-visible { box-shadow: var(--focus); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(244, 239, 228, .4); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: inherit; cursor: pointer; }
.is-scrolled .nav-toggle { border-color: var(--vein); }
.nav-toggle .icon { width: 22px; height: 22px; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--marble); color: var(--ink); border-bottom: 1px solid var(--vein); padding: var(--space-3) var(--gutter) var(--space-5); box-shadow: var(--shadow-2); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2); }
  .nav-menu a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--marble-shadow); font-size: 1.05rem; }
  .nav.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav .btn--header { display: none; }
  .nav-menu :focus-visible { box-shadow: var(--focus); }
}

/* ------------------------------------------------------------------ buttons */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .8rem 1.35rem;
  border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden;
  transform: translate(var(--mx), var(--my)); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2), background var(--dur-2), color var(--dur-2), border-color var(--dur-2);
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:active { transform: translate(var(--mx), calc(var(--my) + 1px)) scale(.985); }
.btn--gold { background: linear-gradient(135deg, #F6E3A4, #D9B45A 48%, #C29A44); color: var(--ink); border-color: rgba(138, 106, 34, .55); box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--gold::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-20deg); z-index: -1; transition: left 900ms var(--ease-out); }
.btn--gold:hover::after { left: 130%; }
.btn--gold:hover { color: var(--ink); box-shadow: 0 14px 36px rgba(138, 106, 34, .36), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--ink { background: var(--ink); color: var(--marble); }
.btn--ink:hover { background: var(--ultramarine); color: #fff; }
.btn--ghost { background: rgba(255, 253, 248, .6); color: var(--ink); border-color: var(--vein); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn--small { min-height: 40px; padding: .55rem 1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.on-storm .btn--ghost { background: rgba(5, 9, 26, .9); color: var(--marble); border-color: rgba(243, 220, 147, .45); }
.on-storm .btn--ghost:hover { background: rgba(243, 220, 147, .1); color: #fff; }

/* ------------------------------------------------------------------ headings */
.section { position: relative; padding-block: var(--space-10); }
.section--tight { padding-block: var(--space-8); }
.section--marble { background: linear-gradient(180deg, rgba(255, 253, 248, .86), rgba(239, 233, 222, .9)), var(--slab) 0 0 / 560px; border-block: 1px solid var(--marble-shadow); }
/* Storm bands: a painted sky under a dark wash, so the lettering stays readable. */
.section--storm { position: relative; isolation: isolate; overflow: hidden; background: #070C1F; color: #F4EFE4; }
.section--storm::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 12, 31, .88) 0%, rgba(7, 12, 31, .62) 45%, rgba(7, 12, 31, .9) 100%); }
.storm-sky { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.storm-sky-img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 55%; opacity: .9; transform: scale(1.1); will-change: transform; }
.section--storm h2, .section--storm h3 { color: #FFFDF8; text-shadow: var(--carve-dark); }
.section--storm h2 em, .section--storm h3 em { color: var(--gold-light); }
.section--storm .lede, .section--storm .muted { color: #CBD2E2; }
.section--storm a:not(.btn) { color: var(--sky); }
.section-head { max-width: 760px; margin-bottom: var(--space-8); position: relative; z-index: 1; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-inline: auto; }
/* a gold hairline under every section title */
.section-head h2::after { content: ''; display: block; width: 72px; height: 1px; margin-top: .9rem; background: linear-gradient(90deg, var(--gold), rgba(200, 160, 74, 0)); }
.section-head.center h2::after { margin-inline: auto; background: linear-gradient(90deg, rgba(200, 160, 74, 0), var(--gold), rgba(200, 160, 74, 0)); width: 140px; }
.meander-rule { width: 100%; height: 20px; color: var(--gold); opacity: .6; }
.meander-rule path { stroke-dasharray: var(--len, 4000); stroke-dashoffset: 0; }
.js .meander-rule[data-reveal] path { stroke-dashoffset: var(--len, 4000); transition: stroke-dashoffset 2.4s var(--ease-out); }
.js .meander-rule.is-in path { stroke-dashoffset: 0; }

/* ------------------------------------------------------------------ hero: a painted storm, a marble bust, lightning */
.hero { --col: min(100vw - 2 * var(--gutter), var(--wrap)); position: relative; isolation: isolate; overflow: hidden; background: #070C1F; color: #F4EFE4; min-height: clamp(620px, 100svh, 940px); }
.hero-sky { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: #0A1230; }
.hero-sky-img { position: absolute; left: -4%; top: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; object-position: 50% 28%; transform: scale(1.08); will-change: transform; }
.hero-mist { position: absolute; left: -6%; bottom: 0; width: 112%; height: 62%; opacity: .75; pointer-events: none; will-change: transform; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 9, 26, .8) 0%, rgba(5, 9, 26, .5) 38%, rgba(5, 9, 26, .04) 70%), linear-gradient(0deg, #070C1F 0%, rgba(7, 12, 31, 0) 24%), linear-gradient(180deg, rgba(5, 9, 26, .6) 0%, rgba(5, 9, 26, 0) 22%); }
.hero-flash { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(80% 70% at 46% 0%, rgba(214, 226, 255, .8), rgba(140, 172, 255, .38) 42%, rgba(120, 150, 240, 0) 78%); }
.hero-bolt, .hero-bolt-still { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero-bolt-still { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.bolt-halo .bolt-line { stroke: rgba(150, 178, 255, .85); stroke-width: 7; }
.bolt-core .bolt-line { stroke: #FFFAEA; stroke-width: 1.7; }
.bolt-core { filter: drop-shadow(0 0 5px rgba(255, 232, 170, .9)); }
.js .hero-bolt-still { display: none; }
.hero:not(.is-live) .hero-bolt { display: none; }

.hero-stage { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: calc(72px + 2.4rem) 0 2.5rem; min-height: inherit; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { position: relative; z-index: 1; margin: 0 0 var(--space-4); max-width: 9.6em; font-size: clamp(2.4rem, calc(var(--col) * .072), 5.6rem); line-height: .98; letter-spacing: .015em; text-transform: uppercase; color: #F8F3E7;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .22), 0 3px 14px rgba(2, 5, 20, .75), 0 0 calc(var(--glow, 0) * 40px) rgba(255, 226, 150, calc(var(--glow, 0) * .75)); }
.hero h1 .line { display: block; opacity: 0; transform: translateY(18px); animation: rise var(--dur-4) var(--ease-out) forwards; }
.hero h1 .line--2 { animation-delay: 110ms; }
.hero h1 .line--3 { animation-delay: 220ms; }
.hero-copy { position: relative; z-index: 3; max-width: min(36rem, 52%); }
.hero-detail { margin: var(--space-5) 0 0; max-width: 34rem; color: #C3CADB; font-size: .98rem; }
.hero .lede { color: #DCE1EE; font-size: clamp(1.02rem, .9rem + .4vw, 1.25rem); margin-bottom: var(--space-4); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: var(--space-4) 0 0; color: #C3CADB; font-size: var(--step--1); list-style: none; padding: 0; }
.hero-meta li { display: inline-flex; gap: .45em; align-items: center; }
.hero-meta .icon { width: 18px; height: 18px; color: var(--gold-light); }
.hero .btn--ghost, .page-head .btn--ghost, .section--storm .btn--ghost { background: rgba(5, 9, 26, .9); color: #F4EFE4; border-color: rgba(243, 220, 147, .5); }
.hero .btn--ghost:hover, .page-head .btn--ghost:hover { background: rgba(243, 220, 147, .14); color: #fff; border-color: var(--gold-light); }
.hero :focus-visible, .page-head :focus-visible { box-shadow: 0 0 0 3px rgba(10, 18, 48, .9), 0 0 0 5px var(--gold-light); }

.hero-statue { position: absolute; z-index: 2; bottom: 0; right: calc(max(var(--gutter), (100vw - var(--wrap)) / 2) + var(--col) * .03); width: min(calc(var(--col) * .47), calc(min(100svh, 940px) * .7)); margin: 0; pointer-events: none; }
.hero-statue::before { content: ''; position: absolute; inset: 14% -22% 2% -22%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 226, 150, .24), rgba(80, 110, 220, .18) 55%, rgba(0, 0, 0, 0) 78%); }
.hero-statue-inner::after { content: ''; position: absolute; left: -4%; right: -4%; bottom: 0; height: 22%; background: linear-gradient(0deg, #070C1F 4%, rgba(7, 12, 31, 0)); pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
.hero-statue-inner { position: relative; animation: statue-in 1.9s var(--ease-out) both; will-change: transform; }
.hero-statue-img { display: block; width: 100%; height: auto; will-change: filter; }
.hero-rim { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; pointer-events: none; }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-stage { padding: calc(72px + 3.6rem) 0 0; }
  .hero h1 { font-size: clamp(2.1rem, 9.4vw, 3.3rem); max-width: 8em; }
  .hero-statue { position: relative; right: auto; bottom: auto; order: 2; width: min(80vw, 420px); margin: -2.4rem auto 0; }
  .hero-copy { order: 3; margin-top: 0; padding-bottom: 3.2rem; max-width: none; }
  .hero-scrim { background: linear-gradient(180deg, rgba(5, 9, 26, .7) 0%, rgba(5, 9, 26, .3) 42%, rgba(7, 12, 31, .9) 66%, #070C1F 100%); }
}
@keyframes statue-in { from { transform: translate3d(0, 4.5%, 0); } to { transform: none; } }

/* ------------------------------------------------------------------ answer box (AEO) */
.answer { position: relative; background: var(--white); border: 1px solid var(--marble-shadow); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-1); }
.answer::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: linear-gradient(var(--gold), var(--ultramarine)); }
.answer h2 { font-size: var(--step-2); margin-bottom: var(--space-3); }
.answer p:last-child { margin-bottom: 0; }
.answer dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.4rem; margin: var(--space-4) 0 0; font-size: var(--step--1); }
.answer dt { font-weight: 600; color: var(--ink); }
.answer dd { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { .answer dl { grid-template-columns: 1fr; } .answer dd { margin-bottom: .4rem; } }

/* ------------------------------------------------------------------ cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--space-5); }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.plate + .cards, .plate + .cards--4 { margin-top: var(--space-6); }
.card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%;
  position: relative; background: linear-gradient(160deg, var(--white), #F4EEE3); border: 1px solid var(--marble-shadow); border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-1); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2), border-color var(--dur-2); overflow: hidden;
}
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 220px at var(--gx) var(--gy), rgba(243, 220, 147, .35), transparent 60%); opacity: 0; transition: opacity var(--dur-2); pointer-events: none; }
.card::after { content: ''; position: absolute; inset: 0; background: url('/art/veins.svg') right -40px top -40px / 320px no-repeat; opacity: .0; transition: opacity var(--dur-3); pointer-events: none; }
.card:hover { box-shadow: var(--shadow-2); border-color: rgba(200, 160, 74, .45); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card h3 { font-size: var(--step-2); margin-bottom: var(--space-3); position: relative; }
.card p { color: var(--ink-2); position: relative; margin-bottom: 0; }
.card .card-icon { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #FFF6DA, #EBD49B); border: 1px solid rgba(200, 160, 74, .5); color: var(--gold-ink); margin-bottom: var(--space-5); transition: transform var(--dur-3) var(--ease-out); }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }
.card .card-icon .icon { width: 24px; height: 24px; }
.card .card-link { position: relative; display: inline-flex; align-items: center; gap: .4em; margin-top: var(--space-4); font-weight: 600; text-decoration: none; }
.card .card-link .icon { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.card:hover .card-link .icon { transform: translateX(4px); }
.card--plain { box-shadow: none; background: transparent; }
.section--storm .card { background: linear-gradient(160deg, rgba(37, 50, 90, .65), rgba(18, 26, 44, .9)); border-color: rgba(157, 184, 234, .18); }
.section--storm .card p { color: #C9CFDE; }

/* ------------------------------------------------------------------ steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); opacity: .7; }
.step { position: relative; text-align: center; padding: 0 var(--space-3); }
.step-badge { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto var(--space-5); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF6DA, #E0BD66 60%, #B08C3E); border: 1px solid #8A6A22; font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.7rem; color: var(--gold-ink); box-shadow: var(--shadow-gold); transition: transform var(--dur-3) var(--ease-out); }
.step:hover .step-badge { transform: translateY(-4px) rotate(-6deg); }
.step h3 { font-size: var(--step-2); }
.step p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* ------------------------------------------------------------------ split / figure */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--space-6); } .split--reverse > :first-child { order: 0; } }
.plate { position: relative; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--marble-shadow); padding: var(--space-5); box-shadow: var(--shadow-1); }
.plate::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(200, 160, 74, .35); border-radius: calc(var(--radius-lg) - 6px); pointer-events: none; }
.plate figcaption { font-family: var(--font-display); font-style: italic; color: var(--ink-2); font-size: 1.05rem; margin-top: var(--space-3); text-align: center; }
.checklist { list-style: none; padding: 0; margin: var(--space-5) 0; display: grid; gap: var(--space-3); }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; align-items: start; }
.checklist .icon { width: 22px; height: 22px; color: var(--olive); margin-top: 2px; }
.checklist--x .icon { color: var(--terracotta-text); }

/* ------------------------------------------------------------------ demo: chat */
.demo { position: relative; background: var(--storm); color: #E9ECF4; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid #2A3658; }
.demo-bar { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; background: #0E1524; border-bottom: 1px solid #243052; font: 500 .8rem/1 var(--font-body); color: #9AA3BC; }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A3658; display: inline-block; }
.demo-bar .demo-title { margin-left: .4rem; }
.demo-bar .demo-replay { margin-left: auto; background: none; border: 1px solid #2E3B60; color: #C9CFDE; border-radius: 99px; font: 500 .75rem/1 var(--font-body); padding: .45rem .75rem; cursor: pointer; }
.demo-bar .demo-replay:hover { border-color: var(--gold); color: var(--gold-light); }
.chat { padding: var(--space-5); display: grid; gap: var(--space-3); min-height: 420px; align-content: start; }
.msg { max-width: 88%; padding: .8rem 1rem; border-radius: 16px; font-size: .95rem; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out); }
.msg.is-shown { opacity: 1; transform: none; }
.msg--you { justify-self: end; background: var(--ultramarine); color: #fff; border-bottom-right-radius: 4px; }
.msg--agent { background: #1F2A47; border: 1px solid #2E3B60; border-bottom-left-radius: 4px; }
.msg--zeus { background: linear-gradient(160deg, #2A2412, #1F1A0E); border: 1px solid rgba(200, 160, 74, .45); color: #F7EBC9; border-bottom-left-radius: 4px; }
.msg .who { display: block; font: 600 .68rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #9AA3BC; margin-bottom: .35rem; }
.msg--zeus .who { color: var(--gold-light); }
.msg--you .who { color: #DCE5FF; }
.approve { margin-top: .7rem; display: grid; gap: .6rem; background: #F7F3EC; color: var(--ink); border-radius: 12px; padding: .8rem; font-family: system-ui, sans-serif; font-size: .88rem; }
.approve .facts { display: grid; grid-template-columns: max-content 1fr; gap: .2rem .8rem; margin: 0; }
.approve dt { color: #4A5268; }
.approve dd { margin: 0; font-weight: 600; }
.approve .approve-actions { display: flex; gap: .5rem; }
.approve button { font: 600 .85rem/1 system-ui, sans-serif; border-radius: 8px; padding: .55rem .9rem; cursor: pointer; border: 1px solid #1B2233; }
.approve .ok { background: #1B2233; color: #fff; }
.approve .no { background: #fff; color: #1B2233; }
.approve.is-waiting .ok { animation: glow 1.8s ease-in-out infinite; }
.approve-note { font-size: .74rem; color: var(--ink-2); margin: 0; }
.progress { margin-top: .6rem; display: grid; gap: .35rem; }
.progress-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.progress-bars span { height: 8px; border-radius: 3px; background: #2E3B60; position: relative; overflow: hidden; }
.progress-bars span::after { content: ''; position: absolute; inset: 0; width: var(--p, 0%); background: linear-gradient(90deg, #E6C266, #F3DC93); transition: width 300ms linear; }
.progress-meta { display: flex; justify-content: space-between; font: 500 .74rem/1.2 var(--font-mono); color: #C9CFDE; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9AA3BC; animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }

/* ------------------------------------------------------------------ demo: rescue */
.rescue { background: var(--white); border: 1px solid var(--marble-shadow); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-1); }
.rescue-file { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.rescue-file .icon { width: 30px; height: 30px; color: var(--ink-2); }
.rescue-file strong { display: block; font-weight: 600; }
.rescue-file small { color: var(--ink-2); }
.track { position: relative; height: 14px; border-radius: 99px; background: var(--marble-shadow); overflow: hidden; }
.track-fill { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: 99px; background: linear-gradient(90deg, var(--aegean), var(--ultramarine)); transition: width 160ms linear, background var(--dur-2); }
.rescue.is-failed .track-fill { background: repeating-linear-gradient(-45deg, var(--terracotta) 0 8px, #C8663F 8px 16px); }
.rescue.is-zeus .track-fill { background: linear-gradient(90deg, #E6C266, var(--gold)); }
.track-segs { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; opacity: 0; transition: opacity var(--dur-2); }
.rescue.is-zeus .track-segs { opacity: 1; }
.track-segs span { background: rgba(255, 253, 248, .0); border-right: 2px solid var(--white); }
.rescue-status { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-3); font-size: var(--step--1); color: var(--ink-2); min-height: 1.6em; }
.rescue-status .s-fail { color: var(--terracotta-text); font-weight: 600; }
.rescue-status .s-ok { color: var(--olive); font-weight: 600; }
.rescue-actions { margin-top: var(--space-5); display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hash { margin-top: var(--space-4); font: 500 .78rem/1.4 var(--font-mono); color: var(--ink-2); word-break: break-all; opacity: 0; transform: translateY(4px); transition: opacity var(--dur-2), transform var(--dur-2); }
.rescue.is-done .hash { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ safety list */
.safety-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: var(--space-5); counter-reset: safety; list-style: none; padding: 0; margin: 0; }
.safety-list li { counter-increment: safety; position: relative; padding: var(--space-6) var(--space-5) var(--space-5); border-top: 1px solid rgba(243, 220, 147, .35); }
.safety-list li::before { content: counter(safety, upper-roman); position: absolute; top: -.75em; left: 0; padding-right: .6em; background: var(--storm); font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--gold-light); }
.safety-list h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.safety-list p { color: #C9CFDE; margin: 0; }

/* ------------------------------------------------------------------ table */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--marble-shadow); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-1); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: var(--space-4) var(--space-5) 0; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--ink-2); caption-side: top; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--marble-shadow); vertical-align: top; }
thead th { font: 600 .74rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: var(--marble-2); position: sticky; top: 0; }
tbody tr { transition: background var(--dur-1); }
tbody tr:hover { background: rgba(243, 220, 147, .16); }
tbody th { font-weight: 600; }
td .yes, td .no, td .part { display: inline-flex; align-items: center; gap: .3em; font-weight: 600; }
td .yes { color: var(--olive); } td .no { color: var(--terracotta-text); } td .part { color: var(--gold-text); }
td .icon { width: 18px; height: 18px; }
.col-zeus { background: rgba(243, 220, 147, .14); }

/* ------------------------------------------------------------------ faq */
.faq { display: grid; gap: var(--space-3); }
.faq details { background: var(--white); border: 1px solid var(--marble-shadow); border-radius: var(--radius); transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.faq details[open] { border-color: rgba(200, 160, 74, .55); box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; display: grid; grid-template-columns: 1fr 28px; gap: var(--space-4); align-items: center; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--vein); display: grid; place-items: center; transition: transform var(--dur-3) var(--ease-out), background var(--dur-2), border-color var(--dur-2); }
.faq summary .chev .icon { width: 14px; height: 14px; }
.faq details[open] summary .chev { transform: rotate(135deg); background: var(--gold-light); border-color: var(--gold); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--ink-2); }
.faq .faq-body p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: var(--space-7); }
.faq-group h2 { font-size: var(--step-3); }

/* ------------------------------------------------------------------ glossary */
.alpha { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: var(--space-6); }
.alpha a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--marble-shadow); background: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); transition: transform var(--dur-2) var(--ease-out), background var(--dur-2); }
.alpha a:hover { transform: translateY(-2px); background: var(--gold-light); }
.terms { display: grid; gap: var(--space-4); margin: 0; }
.term { background: var(--white); border: 1px solid var(--marble-shadow); border-radius: var(--radius); padding: var(--space-5); scroll-margin-top: 96px; }
.term:target { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(243, 220, 147, .6); }
.term dt { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); margin-bottom: .3rem; }
.term dd { margin: 0; color: var(--ink-2); }
.term .aka { font: 500 .78rem/1 var(--font-body); color: var(--gold-text); letter-spacing: .06em; margin-left: .5rem; }

/* ------------------------------------------------------------------ prose (legal, articles) */
.page-head { padding-block: var(--space-8) var(--space-6); }
.page-head h1 { font-size: var(--step-5); margin-bottom: var(--space-4); }
.page-head .lede { max-width: 60ch; }
.crumbs { font-size: var(--step--1); color: var(--ink-2); margin-bottom: var(--space-5); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: '/'; margin-right: .3rem; color: var(--vein); }
.crumbs a { color: var(--ink-2); }
.doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-8); align-items: start; padding-bottom: var(--space-10); }
.doc-grid > * { min-width: 0; }
@media (max-width: 960px) { .doc-grid { grid-template-columns: 1fr; gap: var(--space-5); } }
.toc { position: sticky; top: 96px; font-size: .9rem; }
.toc h2 { font: 600 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--space-3); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; border-left: 1px solid var(--marble-shadow); }
.toc a { display: block; padding: .32rem .9rem; color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; transition: color var(--dur-1), border-color var(--dur-1); }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--gold); }
@media (max-width: 960px) { .toc { position: static; } .toc ol { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 0; } .toc a { margin-left: 0; } }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); margin-top: 0; scroll-margin-top: 96px; }
.prose > section + section { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--marble-shadow); }
.prose h3 { font-size: var(--step-2); margin-top: var(--space-6); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 var(--space-4); }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--gold-text); }
.prose table { margin: var(--space-4) 0 var(--space-5); font-size: .92rem; }
.prose .table-wrap { margin: var(--space-4) 0 var(--space-5); }
.prose blockquote { margin: var(--space-5) 0; padding: var(--space-4) var(--space-5); border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); }
.note { display: grid; grid-template-columns: 24px 1fr; gap: .8rem; padding: var(--space-4) var(--space-5); border-radius: var(--radius); background: rgba(243, 220, 147, .24); border: 1px solid rgba(200, 160, 74, .45); margin: var(--space-5) 0; font-size: .95rem; }
.note .icon { width: 22px; height: 22px; color: var(--gold-text); }
.note p:last-child { margin: 0; }
.doc-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: var(--step--1); color: var(--ink-2); margin-top: var(--space-4); }
.kv { display: grid; grid-template-columns: minmax(160px, max-content) 1fr; gap: .55rem 1.5rem; margin: var(--space-4) 0; }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: .6rem; } }

/* ------------------------------------------------------------------ cta (painted storm) */
.cta { text-align: center; padding-block: var(--space-10); }
.cta h2 { font-size: var(--step-4); }
.cta h2::after { margin-inline: auto; }
.cta .lede { margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: var(--space-6); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: #070C1F; color: #C9CFDE; padding-block: 0 var(--space-6); font-size: .93rem; }
.footer-sky { position: relative; isolation: isolate; height: clamp(190px, 25vw, 400px); overflow: hidden; margin-bottom: var(--space-8); background: #0B1230; }
.footer-sky-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 42%; transform: scale(1.1); will-change: transform; }
.footer-sky::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #070C1F 0%, rgba(7, 12, 31, .15) 28%, rgba(7, 12, 31, .05) 62%, #070C1F 100%); pointer-events: none; }
.footer-zeus { position: absolute; z-index: 2; left: 50%; bottom: -9%; width: min(100% - 2 * var(--gutter), 1300px); height: auto; transform: translateX(-50%); }
.site-footer a { color: #E4E8F2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: var(--space-6); }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand .lockup { color: #F7F3EC; }
.footer-brand p { margin-top: var(--space-4); max-width: 34ch; }
.footer-col h2 { font: 600 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: var(--space-4); text-shadow: none; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.endorse { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid #243052; }
.legal-line { color: #98A0B6; font-size: .82rem; flex: 1 1 380px; max-width: 64ch; margin: 0; }
.made-by { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem .65rem; margin-left: auto; color: #E4E8F2; text-decoration: none; }
.made-by-label { font: 600 .68rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: #C9CFDE; }
.made-by-name { font: 600 1.08rem/1 var(--font-display); color: #F4EFE4; letter-spacing: .01em; }
.verne-logo { width: 22px; height: 21px; flex: none; overflow: visible; transition: transform var(--dur-3) var(--ease-out), filter var(--dur-2); }
.site-footer a.made-by:hover { text-decoration: none; color: #E4E8F2; }
.made-by:hover .verne-logo { transform: translateY(-1px) rotate(-6deg); filter: drop-shadow(0 0 6px rgba(0, 180, 220, .55)); }
.made-by:hover .made-by-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer-meander { color: #2E3B60; margin-bottom: var(--space-7); opacity: 1; }
.sibling { display: flex; gap: var(--space-4); align-items: center; justify-content: space-between; flex-wrap: wrap; padding: var(--space-5); border: 1px solid #243052; border-radius: 4px; margin-bottom: var(--space-7); background: linear-gradient(90deg, rgba(232, 102, 46, .08), transparent); }
.sibling p { margin: 0; }
.sibling a { font-weight: 600; color: #F3B48F; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.sibling .icon { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.sibling a:hover .icon { transform: translateX(3px); }

/* ------------------------------------------------------------------ 404 */
.lost { text-align: center; padding-block: var(--space-9); }

/* ------------------------------------------------------------------ brand page */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--space-4); }
.swatch { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--marble-shadow); background: var(--white); }
.swatch i { display: block; height: 92px; }
.swatch div { padding: .7rem .9rem; font-size: .85rem; }
.swatch strong { display: block; }
.swatch code { background: none; border: 0; padding: 0; color: var(--ink-2); }
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-4); }
.asset { display: grid; gap: .6rem; background: var(--white); border: 1px solid var(--marble-shadow); border-radius: var(--radius); padding: var(--space-4); text-decoration: none; color: var(--ink); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); }
.asset:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--ink); }
.asset img { height: 130px; width: 100%; object-fit: contain; background: var(--marble); border-radius: 10px; padding: 12px; }
.asset--dark img { background: var(--storm); }
.asset span { font-weight: 600; font-size: .9rem; }
.type-specimen { display: grid; gap: var(--space-4); }
.type-specimen .disp { font-family: var(--font-display); font-size: var(--step-4); line-height: 1; }
.type-specimen .body { font-size: var(--step-1); }
.type-specimen .disp { font-family: var(--font-inscription); font-size: var(--step-3); letter-spacing: .03em; }
.type-specimen .disp--2 { font-family: var(--font-display); letter-spacing: -.01em; }

/* ------------------------------------------------------------------ misc components */
.cards + p.center, .steps + p.center, .faq + p.center, .table-wrap + p.center { margin-top: var(--space-7); }
.section-cta { margin-top: var(--space-7); }
.kicker-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: var(--space-5) 0 0; }
.kicker-list li { font: 500 .82rem/1 var(--font-body); padding: .5rem .8rem; border-radius: 99px; background: var(--white); border: 1px solid var(--marble-shadow); color: var(--ink-2); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); position: relative; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--marble-shadow)); }
.timeline li { position: relative; padding-left: 52px; }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--marble); border: 2px solid var(--vein); }
.timeline li.is-now::before { background: var(--gold); border-color: var(--gold-text); box-shadow: 0 0 0 6px rgba(243, 220, 147, .5); animation: pulse 2.6s infinite; }
.timeline li.is-done::before { background: var(--olive); border-color: var(--olive); }
.timeline h3 { font-size: var(--step-2); margin-bottom: .2rem; }
.timeline .when { font: 600 .74rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.code-block { position: relative; background: var(--storm); color: #E4E8F2; border-radius: var(--radius); padding: var(--space-5); font: 400 .9rem/1.65 var(--font-mono); overflow-x: auto; border: 1px solid #2A3658; }
.code-block .c { color: #8B93AA; } .code-block .k { color: var(--gold-light); } .code-block .s { color: #A9D49A; } .code-block .o { color: #C9CFDE; }
.copy-btn { position: absolute; top: .6rem; right: .6rem; display: inline-flex; align-items: center; gap: .35rem; font: 500 .75rem/1 var(--font-body); color: #C9CFDE; background: #1F2A47; border: 1px solid #2E3B60; padding: .45rem .7rem; border-radius: 8px; cursor: pointer; transition: background var(--dur-1), color var(--dur-1); }
.copy-btn .icon { width: 14px; height: 14px; }
.copy-btn:hover { color: #fff; background: #2A3658; }
.copy-btn.is-copied { color: #CDE6B8; border-color: #56702F; }
.scroll-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--gold), var(--ultramarine)); z-index: 60; pointer-events: none; }
.quote { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.15; font-style: italic; max-width: 26ch; }
.persona-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: var(--space-4); }
.persona-tags span { font: 500 .78rem/1 var(--font-body); padding: .38rem .6rem; border-radius: 99px; background: rgba(35, 71, 168, .08); color: var(--ultramarine); }


/* ------------------------------------------------------------------ flow diagram */
.flow-diagram { width: 100%; height: auto; overflow: visible; }
@media (max-width: 700px) { .plate:has(.flow-diagram) { overflow-x: auto; } .flow-diagram { min-width: 640px; } }
.hero-grid > *, .split > * { min-width: 0; }
.fn-bg { fill: var(--white); stroke: var(--ink); stroke-width: 1.4; transition: fill var(--dur-2); }
.fn-inner { fill: none; stroke: rgba(200, 160, 74, .55); stroke-width: 1; }
.flow-node { transition: transform var(--dur-3) var(--ease-out); }
.flow-node--zeus .fn-bg { fill: #FFF3CF; stroke: var(--gold-ink); }
.flow-node--you .fn-bg { fill: var(--ultramarine); stroke: var(--ultramarine-2); }
.flow-node--you .fn-title, .flow-node--you .fn-sub { fill: #fff; }
.fn-title { font: 600 21px var(--font-display); text-anchor: middle; fill: var(--ink); }
.fn-sub { font: 500 12.5px var(--font-body); text-anchor: middle; fill: var(--ink-2); }
.fn-label { font: italic 500 16px var(--font-display); fill: var(--ink-2); paint-order: stroke; stroke: var(--white); stroke-width: 6px; stroke-linejoin: round; }
.flow-edge { fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-dasharray: 6 6; }
.flow-edge--gold { stroke: var(--gold-text); stroke-width: 2; }
.fn-arrow { fill: var(--ink-2); }


/* swatch fills (classes, because the CSP forbids inline styles) */
.sw-f7f3ec { background: #F7F3EC; }
.sw-1b2233 { background: #1B2233; }
.sw-2347a8 { background: #2347A8; }
.sw-c8a04a { background: #C8A04A; }
.sw-121a2c { background: #121A2C; }
.sw-ffe58a { background: #FFE58A; }
.sw-9e4526 { background: #9E4526; }
.sw-56702f { background: #56702F; }
.card h2.h3-like { font-size: var(--step-2); margin-bottom: var(--space-3); position: relative; }
.lost .btn-row { justify-content: center; }
.lost h1 { font-size: var(--step-4); }
/* ------------------------------------------------------------------ reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ keyframes */
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(200, 160, 74, .2); } 50% { box-shadow: 0 0 0 7px rgba(200, 160, 74, .05); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(35, 71, 168, .5); } 50% { box-shadow: 0 0 0 6px rgba(35, 71, 168, 0); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ------------------------------------------------------------------ motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .status-pill::before, .hero-statue-inner { animation: none !important; }
  .js [data-reveal], .hero h1 .line { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------------ print */
@media print {
  .site-header, .site-footer, .toc, .btn, .scroll-progress, .hero-sky, .hero-bolt, .hero-bolt-still, .hero-statue, .page-head-sky, .page-head-statue, .storm-sky, .niche { display: none !important; }
  .hero, .page-head { background: none; color: #000; min-height: 0; padding-top: 0; }
  .hero h1, .page-head h1, .hero .lede, .page-head .lede { color: #000; text-shadow: none; }
  body { background: #fff; font-size: 11pt; }
  .doc-grid { grid-template-columns: 1fr; }
  a { color: #000; }
  .prose a[href^='http']::after { content: ' (' attr(href) ')'; font-size: .85em; }
}

/* Release table: SHA-256 digests wrap instead of widening the table. */
code.sha {
  word-break: break-all;
  font-size: 0.78em;
}

/* ---------------------------------------------------------------- downloads (src/download.mjs; same markup on the Ogun and Asten sites) */
.dl { --dl-surface: var(--white); --dl-tile: var(--marble-2); --dl-line: var(--marble-shadow); --dl-line-strong: var(--vein); --dl-hover: color-mix(in srgb, var(--ultramarine) 6%, transparent); --dl-text: var(--ink); --dl-text-2: var(--ink-2); --dl-accent: var(--ultramarine); --dl-accent-hover: var(--ultramarine-2); --dl-accent-active: #152E70; --dl-accent-ink: #FFFFFF; --dl-accent-text: var(--ultramarine-2); --dl-link: var(--ultramarine); --dl-focus: var(--ultramarine); --dl-shadow: var(--shadow-2); --dl-radius: var(--radius); --dl-btn-radius: var(--radius-sm); --dl-font-head: var(--font-display); --dl-font-body: var(--font-body); --dl-font-mono: var(--font-mono); }
.dl .dl-card-title h3 { font-size: 1.6rem; font-weight: 600; }
.dl .dl-card--planned h3 { font-size: 1.2rem; }
.btn .dl-icon { width: 18px; height: 18px; }
.dl-after { margin-top: var(--space-6); }
.dl { display: grid; gap: var(--space-4); max-width: 980px; margin-inline: auto; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--space-4); }
.dl-card { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; padding: var(--space-5); background: var(--dl-surface); border: 1px solid var(--dl-line); border-radius: var(--dl-radius); transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.dl-card.is-detected { border-color: var(--dl-accent); box-shadow: 0 0 0 1px var(--dl-accent), var(--dl-shadow); }
.dl-card-head { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.dl-logo-tile { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--dl-btn-radius); background: var(--dl-tile); color: var(--dl-text); }
.dl-logo { width: 26px; height: 26px; }
.dl-card-title { flex: 1; min-width: 0; }
.dl-card-title h3 { margin: 0; font-family: var(--dl-font-head); font-size: 1.3rem; line-height: 1.2; color: var(--dl-text); }
.dl-req { margin: .15rem 0 0; font-size: .88rem; line-height: 1.4; color: var(--dl-text-2); }
.dl-badge { flex: none; align-self: flex-start; padding: .2rem .55rem; border-radius: 999px; font: 600 .72rem/1.3 var(--dl-font-body); letter-spacing: .02em; color: var(--dl-accent-text); background: color-mix(in srgb, var(--dl-accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--dl-accent) 40%, transparent); }
.dl-badge[hidden] { display: none; }

.dl-icon { flex: none; width: 20px; height: 20px; }
.dl-icon--sm { width: 16px; height: 16px; }
.dl-btn { display: flex; align-items: center; gap: .8rem; min-height: 48px; padding: .7rem 1.1rem; border-radius: var(--dl-btn-radius); border: 1px solid transparent; font: 600 1rem/1.2 var(--dl-font-body); text-decoration: none; cursor: pointer; transition: background-color var(--dur-1), border-color var(--dur-1), color var(--dur-1), box-shadow var(--dur-1); }
.dl-btn:focus-visible { outline: 2px solid var(--dl-focus); outline-offset: 3px; box-shadow: none; }
.dl-btn--primary { width: 100%; min-height: 60px; background: var(--dl-accent); color: var(--dl-accent-ink); border-color: var(--dl-accent); }
.dl-btn--primary:hover { background: var(--dl-accent-hover); border-color: var(--dl-accent-hover); color: var(--dl-accent-ink); }
.dl-btn--primary:active { background: var(--dl-accent-active); }
.dl-btn-text { display: grid; min-width: 0; text-align: left; }
.dl-btn-label { overflow-wrap: anywhere; }
.dl-btn-sub { font-weight: 400; font-size: .82rem; opacity: .88; overflow-wrap: anywhere; }
.dl-btn--secondary { display: inline-flex; background: transparent; color: var(--dl-text); border-color: var(--dl-line-strong); }
.dl-btn--secondary:hover { background: var(--dl-hover); border-color: var(--dl-text-2); color: var(--dl-text); }

.dl-more { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dl-line); }
.dl-more li { margin: 0; padding: 0; border-bottom: 1px solid var(--dl-line); }
.dl-more li::before { content: none; }
.dl-more a { display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: .45rem .5rem; color: var(--dl-text); text-decoration: none; border-radius: var(--dl-btn-radius); transition: background-color var(--dur-1); }
.dl-more a:hover { background: var(--dl-hover); color: var(--dl-text); }
.dl-more a:hover .dl-more-kind { text-decoration: underline; text-underline-offset: 3px; }
.dl-more a:focus-visible { outline: 2px solid var(--dl-focus); outline-offset: 0; box-shadow: none; }
.dl-more .dl-icon { color: var(--dl-text-2); }
.dl-more-text { flex: 1; display: grid; min-width: 0; }
.dl-more-kind { font-size: .93rem; font-weight: 500; line-height: 1.3; }
.dl-more-file { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: .74rem/1.4 var(--dl-font-mono); color: var(--dl-text-2); }
.dl-more-size { flex: none; font-size: .84rem; color: var(--dl-text-2); font-variant-numeric: tabular-nums; }

.dl-card--planned { flex-direction: row; padding: var(--space-4) var(--space-5); background: transparent; border-style: dashed; }
.dl-card--planned .dl-logo-tile { width: 40px; height: 40px; background: transparent; border: 1px solid var(--dl-line); color: var(--dl-text-2); }
.dl-card--planned .dl-logo { width: 20px; height: 20px; }
.dl-card--planned h3 { font-size: 1.05rem; color: var(--dl-text-2); }
.dl-card--planned.is-detected { box-shadow: none; }

.dl-foot { display: grid; gap: var(--space-2); padding-top: var(--space-3); }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-bottom: var(--space-2); }
.dl-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: var(--dl-link); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
.dl-link:hover { color: var(--dl-link); text-decoration-color: currentColor; }
.dl-link:focus-visible { outline: 2px solid var(--dl-focus); outline-offset: 2px; box-shadow: none; }
.dl-note { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--dl-text-2); overflow-wrap: anywhere; }
.dl-note code { font-size: .82rem; white-space: nowrap; }
.dl-hero-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
@media (max-width: 480px) {
  .dl-card-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem .75rem; }
  .dl-card-title { display: contents; }
  .dl-req { grid-column: 1 / -1; margin: 0; }
  .dl-logo-tile { width: 40px; height: 40px; }
  .dl-logo { width: 22px; height: 22px; }
  .dl-card-title h3 { grid-row: 1; grid-column: 2; justify-self: start; text-align: left; }
  .dl-badge { grid-row: 1; grid-column: 3; align-self: center; }
  .dl-card { padding: var(--space-4); }
  .dl-card--planned { padding: var(--space-3) var(--space-4); }
  .dl-note code { white-space: normal; }
  .dl-actions .dl-btn--secondary { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .dl-card, .dl-btn, .dl-more a { transition: none; } }

/* ================================================================== marble, storm and a messenger
   Statues are photographs of museum sculpture (see /credits/), skies are oil paintings graded to the brand palette,
   cards are slabs of marble drawn from noise. Everything below sits on top of the base system above. */

/* ---------------------------------------------------------------- inscriptions: Cinzel for display, with a carved edge */
h1, h2, h3, h4, caption, .quote, .step-badge { font-variant-numeric: lining-nums; }
h1, h2 { font-family: var(--font-inscription); font-weight: 600; letter-spacing: .03em; line-height: 1.12; text-shadow: var(--carve-light); }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 4.2rem); }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.7vw, 2.75rem); }
.cta h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.6rem); }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.answer h2, .toc h2, .footer-col h2 { font-family: var(--font-body); letter-spacing: .12em; }
.answer h2 { font-size: var(--step-1); }
.faq-group h2 { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.2rem); }
.card h2.h3-like { font-family: var(--font-display); letter-spacing: -.01em; text-shadow: none; }

/* ---------------------------------------------------------------- marble slabs
   One texture and one bevel for every surface that was a white box: light on the upper edge, shade on the lower. */
.card, .answer, .plate, .rescue, .term, .table-wrap, .faq details, .asset, .swatch, .dl-card, .alpha a, .prose blockquote {
  --slab-wash: linear-gradient(160deg, rgba(255, 253, 248, .74), rgba(244, 238, 226, .5));
  background-color: var(--white);
  background-image: var(--slab-wash), var(--slab);
  background-size: auto, 480px;
  border: 1px solid #D8CFBD;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(150, 138, 118, .2), 0 14px 30px -18px rgba(27, 34, 51, .35);
}
.card { padding: var(--space-6); }
.card::after { inset: 7px; background: none; border: 1px solid rgba(200, 160, 74, .38); border-radius: 2px; opacity: 1; transition: border-color var(--dur-2); }
.card:hover::after { border-color: rgba(200, 160, 74, .85); }
.card:hover { border-color: rgba(200, 160, 74, .6); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(150, 138, 118, .2), 0 22px 40px -18px rgba(27, 34, 51, .45); }
.card > * { position: relative; z-index: 1; }
.plate::before { border-radius: 2px; border-color: rgba(200, 160, 74, .45); }
.plate figcaption, caption, .quote { font-family: var(--font-display); }
.answer { border-radius: 4px; }
.answer::before { top: 12px; bottom: 12px; left: 8px; width: 1px; background: linear-gradient(var(--gold), rgba(200, 160, 74, .1)); }
.faq details[open] { border-color: rgba(200, 160, 74, .65); }
.section--storm .card, .section--storm .card:hover { background-image: linear-gradient(160deg, rgba(20, 36, 106, .6), rgba(7, 12, 31, .86)), var(--slab-dark); background-size: auto, 480px; background-color: #0B1230; border-color: rgba(157, 184, 234, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 36px -18px rgba(0, 0, 0, .7); }
.section--storm .card h3 { text-shadow: var(--carve-dark); }
.card .card-icon { border-radius: 4px; }

/* ---------------------------------------------------------------- safety list: gold hairline tabs, no numbers */
.safety-list li { counter-increment: none; border-top: 1px solid rgba(243, 220, 147, .3); padding-top: var(--space-5); }
.safety-list li::before { content: ''; position: absolute; top: -1px; left: 0; width: 44px; height: 3px; padding: 0; background: linear-gradient(90deg, var(--gold-light), var(--gold)); font-size: 0; }

/* ---------------------------------------------------------------- statues in niches: a framed stage with a painted sky, no captions */
.statue { margin: 0; }
.statue-img { display: block; width: 100%; height: auto; }
.feature { display: grid; gap: var(--space-5); align-items: center; margin-bottom: var(--space-7); }
.feature .section-head { margin-bottom: 0; }
.niche { --niche-h: clamp(19rem, 66vw, 30rem); position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; min-height: var(--niche-h); background: #0A1230; border: 1px solid rgba(200, 160, 74, .55); border-radius: 2px; box-shadow: 0 26px 48px -26px rgba(5, 9, 26, .75), inset 0 1px 0 rgba(255, 255, 255, .08); }
.niche-sky { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.niche::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 9, 26, .62), rgba(5, 9, 26, .06) 58%), radial-gradient(58% 62% at 50% 46%, rgba(255, 226, 150, .24), transparent 72%); }
.niche::after { content: ''; position: absolute; inset: 9px; z-index: 1; border: 1px solid rgba(243, 220, 147, .32); border-radius: 1px; pointer-events: none; }
.niche-statue { height: calc(var(--niche-h) - 2.2rem); max-width: 96%; margin: 0; }
.niche-statue .statue-img { width: auto; max-width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent); mask-image: linear-gradient(180deg, #000 86%, transparent); }
.niche--object .niche-statue { height: calc(var(--niche-h) - 3.4rem); margin-bottom: 1.2rem; }
.niche--object .niche-statue .statue-img { -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 14px 18px rgba(2, 4, 14, .55)); }
.niche--plate { align-self: stretch; }
@media (min-width: 900px) {
  .feature--right { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); column-gap: clamp(2rem, 6vw, 6rem); }
  .feature--left { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 6rem); }
  .feature--left .niche { order: -1; }
  .niche { --niche-h: clamp(23rem, 31vw, 31rem); }
  .feature .section-head h2 { font-size: clamp(2rem, 1.2rem + 2vw, 3.2rem); }
}

/* ---------------------------------------------------------------- page heads: a painted sky and a bust at the edge */
.page-head { margin-bottom: var(--space-6); position: relative; isolation: isolate; overflow: hidden; padding-block: calc(72px + 3.2rem) 3.4rem; color: #F4EFE4; background: #0A1230; }
.page-head-sky { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-head-sky-img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 35%; transform: scale(1.1); will-change: transform; }
.page-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 9, 26, .9) 0%, rgba(5, 9, 26, .68) 46%, rgba(5, 9, 26, .12) 100%), linear-gradient(0deg, rgba(5, 9, 26, .6), rgba(5, 9, 26, 0) 45%); }
.page-head h1 { color: #FFFDF8; margin-bottom: var(--space-4); font-size: clamp(2rem, 1.1rem + 3.4vw, 4.1rem); text-shadow: var(--carve-dark); }
.page-head .lede { color: #D3D9E8; max-width: 52ch; }
.page-head .crumbs, .page-head .crumbs a { color: #C3CADB; }
.page-head .crumbs li + li::before { color: #6C7694; }
.page-head .doc-meta { color: #D3D9E8; }
.page-head a:not(.btn) { color: var(--gold-light); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); align-items: end; }
.has-statue .page-head-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.has-statue { padding-top: calc(72px + 1.6rem); }
.page-head-text { padding-block: var(--space-5) 0; }
.page-head-statue { --bust-h: clamp(300px, 33vw, 480px); position: relative; justify-self: end; align-self: end; margin-bottom: calc(-3.4rem - 1px); }
.page-head-statue .statue-img { width: auto; max-width: 100%; height: var(--bust-h); margin-left: auto; object-fit: contain; object-position: 100% 100%; }
.page-head-statue::before { content: ''; position: absolute; inset: 6% -24% 8% -24%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 226, 150, .26), rgba(70, 100, 220, .18) 58%, rgba(0, 0, 0, 0) 78%); }
.page-head.center .page-head-text { text-align: center; }
@media (max-width: 760px) {
  .page-head::before { background: linear-gradient(180deg, rgba(5, 9, 26, .88) 0%, rgba(5, 9, 26, .84) 65%, rgba(5, 9, 26, .6) 100%); }
  .has-statue .page-head-grid { grid-template-columns: minmax(0, 1fr); }
  .page-head-statue { --bust-h: min(78vw, 340px); margin: var(--space-2) auto calc(-3.4rem - 1px); justify-self: center; }
  .page-head-statue .statue-img { margin-inline: auto; object-position: 50% 100%; }
  .page-head { padding-bottom: 3.4rem; }
  .has-statue { padding-top: calc(72px + 2.4rem); }
}

/* ---------------------------------------------------------------- 404, credits and small bits */
.cell-sub { display: block; margin-top: .15rem; font: 400 .78rem/1.3 var(--font-body); color: var(--ink-3); }
.section-cta { margin-top: var(--space-7); }

/* ---------------------------------------------------------------- downloads on slabs (structure unchanged) */
.dl { --dl-surface: transparent; --dl-radius: 4px; --dl-btn-radius: 4px; }
.dl-card { padding: var(--space-5); }
.dl-card.is-detected { border-color: var(--dl-accent); box-shadow: 0 0 0 1px var(--dl-accent), inset 0 1px 0 #fff, 0 18px 36px -18px rgba(27, 34, 51, .45); }
.dl-card--planned { background: transparent; background-image: none; box-shadow: none; border-style: dashed; }
.dl-logo-tile { background: rgba(35, 71, 168, .08); }
.dl-card::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(200, 160, 74, .3); border-radius: 2px; pointer-events: none; }
.dl-card { position: relative; }
.dl-card--planned::before { display: none; }

/* ---------------------------------------------------------------- code blocks and chat demo keep their night look; give them a stone edge */
.code-block, .demo { border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 36px -18px rgba(5, 9, 26, .6); }

/* ---------------------------------------------------------------- prints, friezes and credits for skies */
.plate--print { padding: var(--space-4); }
.print { margin: 0; }
.print-img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.plate--inline { margin-top: var(--space-5); }
.cards + .plate--print, .plate--print + .plate { margin-top: var(--space-6); }
.frieze { margin-block: var(--space-7); border-block: 1px solid rgba(200, 160, 74, .55); background: #0A1230; }
.frieze .print { margin: 0; }
.frieze .print-img { display: block; width: 100%; height: clamp(190px, 22vw, 340px); object-fit: cover; object-position: 50% 38%; mix-blend-mode: normal; border-radius: 0; box-shadow: none; }
.credit-group { margin-top: var(--space-7); }
@media (min-width: 900px) { .credit-group td:last-child a { white-space: nowrap; } }
.site-footer a.credits-link { text-decoration: underline; text-underline-offset: .2em; }
