/* Nexara9 — main stylesheet */

@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0907;
  --bg-1: #100e0b;
  --bg-2: #16130f;
  --bg-3: #1d1914;
  --line: rgba(236, 211, 150, 0.12);
  --line-2: rgba(236, 211, 150, 0.22);
  --text: #f3eee4;
  --text-2: #cfc7b8;
  --muted: #9a9284;
  --gold: #d9b45a;
  --gold-hi: #f4e2a6;
  --gold-lo: #9c7a2e;
  --gold-grad: linear-gradient(120deg, #f6e7b0 0%, #d9b45a 42%, #b08a37 70%, #f1dc9a 100%);
  --ok: #8fd19e;
  --warn: #f0c36b;
  --bad: #f08a7a;
  --info: #9cc3f0;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 18px;
  --r-sm: 12px;
  --pad: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--sans); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before { /* film grain + vignette */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(217, 180, 90, 0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(217, 180, 90, 0.06), transparent 60%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(217, 180, 90, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
code { font: 500 0.88em var(--mono); background: rgba(236, 211, 150, 0.08); border: 1px solid var(--line); padding: 0.08em 0.4em; border-radius: 6px; color: var(--gold-hi); word-break: break-word; }
strong { color: var(--text); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; position: relative; z-index: 1; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.label { font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.u-link { color: var(--text); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; transition: color .2s; }
.u-link:hover { color: var(--gold-hi); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 0.75rem/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.display, .display-md, .display-sm, .h2, .h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 0; color: var(--text); }
.display { font-size: clamp(2.5rem, min(7vw, 11.5vh), 6.2rem); line-height: 0.98; }
.display-md { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.02; }
.display-sm { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; margin-bottom: 16px; }
.h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; margin-bottom: 12px; }
.display em, .display-md em, .display-sm em, .h2 em, .h3 em { font-style: italic; }
.gold-text { background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s var(--ease) infinite alternate; }
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--text-2); max-width: 60ch; margin: 22px 0 0; }

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 22px; border-radius: 999px; font: 500 0.95rem/1 var(--sans); letter-spacing: 0; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold-grad); background-size: 160% 100%; color: #17130b; box-shadow: 0 10px 30px -12px rgba(217, 180, 90, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 16px 40px -14px rgba(217, 180, 90, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.02); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(236, 211, 150, 0.5); color: var(--gold-hi); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); background: linear-gradient(to bottom, rgba(10, 9, 7, 0.86), rgba(10, 9, 7, 0.6)); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.page-home .site-header { position: relative; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 22px; height: auto; }
.brand-word { font: 600 0.95rem/1 var(--sans); letter-spacing: 0.32em; color: var(--text); }
.brand-word b { font-weight: 600; color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 14px; border-radius: 999px; font-size: 0.92rem; color: var(--text-2); transition: color .2s, background .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: rgba(236, 211, 150, 0.07); }
.site-nav .nav-cta { border: 1px solid var(--line-2); color: var(--text); margin-left: 6px; }
.site-nav .nav-cta:hover { border-color: var(--gold); color: var(--gold-hi); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn i:first-of-type { top: 17px; }
.menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-of-type { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { top: 21px; transform: rotate(-45deg); }
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .site-nav { position: absolute; top: calc(100% + 6px); right: var(--pad); left: var(--pad); flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; border-radius: var(--r); background: rgba(16, 14, 11, 0.97); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 14px 16px; font-size: 1rem; }
  .site-nav .nav-cta { margin: 4px 0 0; text-align: center; }
  .no-js .site-nav { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; background: none; border: 0; box-shadow: none; padding: 0; }
  .no-js .menu-btn { display: none; }
}

/* ---------- home ---------- */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.home { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }

.home-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: 0 var(--pad); width: min(100%, 1360px); margin-inline: auto; }
.home-copy .lead { max-width: 54ch; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(217, 180, 90, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 180, 90, 0.55); } 70% { box-shadow: 0 0 0 12px rgba(217, 180, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 180, 90, 0); } }
.home-emblem { display: grid; place-items: center; }
.orbit { position: relative; width: min(36vw, 62vh, 480px); aspect-ratio: 1; display: grid; place-items: center; color: var(--gold); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 80s linear infinite; }
.orbit::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(217, 180, 90, 0.20), rgba(217, 180, 90, 0.04) 55%, transparent 70%); filter: blur(10px); }
.hero-mark { position: relative; width: 34%; height: auto; filter: drop-shadow(0 18px 40px rgba(217, 180, 90, 0.35)); animation: float 7s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }
.home-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 18px var(--pad) 26px; width: min(100%, 1360px); margin-inline: auto; flex-wrap: wrap; }
.stats { display: flex; gap: clamp(20px, 4vw, 56px); margin: 0; }
.stats div { border-left: 1px solid var(--line-2); padding-left: 14px; }
.stats dt { font: 500 0.68rem/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 6px 0 0; font: 400 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--serif); color: var(--text); }
.founders { margin: 0; color: var(--muted); font-size: 0.92rem; }
.founders a { color: var(--text-2); }
@media (max-width: 899px) {
  .home-main { grid-template-columns: 1fr; text-align: left; padding-top: 8px; }
  .home-emblem { position: absolute; right: -14vw; top: 9vh; opacity: .35; pointer-events: none; z-index: -1; }
  .orbit { width: min(78vw, 420px); }
}
@media (max-width: 899px) and (max-height: 760px) { .home-copy .lead { font-size: 0.98rem; margin-top: 16px; } .cta-row { margin-top: 22px; } }
@media (max-width: 520px) { .stats dd { font-size: 1.5rem; } .home-foot { padding-bottom: 20px; gap: 16px; } .founders { font-size: 0.85rem; } .cta-row .btn { flex: 1 1 auto; } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .gold-text, .orbit-ring, .hero-mark, .pulse { animation: none; } }

/* ---------- sections ---------- */
main { position: relative; z-index: 1; }
.page-hero { padding: clamp(48px, 9vw, 120px) 0 clamp(32px, 5vw, 56px); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head .muted { margin: 0; }
.ventures, .open { padding: clamp(32px, 6vw, 72px) 0; }
.ventures { border-top: 1px solid var(--line); }
.open { border-top: 1px solid var(--line); }

/* ventures */
.venture-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.venture { position: relative; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: linear-gradient(160deg, rgba(217, 180, 90, 0.09), rgba(217, 180, 90, 0.015) 45%), var(--bg-1); border: 1px solid var(--line-2); overflow: hidden; display: flex; flex-direction: column; gap: 6px; isolation: isolate; }
.venture::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(246, 231, 176, 0.55), transparent 35%, transparent 70%, rgba(217, 180, 90, 0.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.venture-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.venture-kind { font: 500 0.7rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.venture-lock { display: inline-flex; align-items: center; gap: 6px; font: 500 0.68rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); padding: 6px 10px; border-radius: 999px; }
.venture-lock svg { width: 13px; height: 13px; }
.venture-glyph { color: var(--gold); width: 64px; margin: 20px 0 10px; }
.venture-name { font: 400 clamp(2rem, 3.4vw, 2.8rem)/1 var(--serif); margin: 0; letter-spacing: -0.02em; }
.venture-line { color: var(--text-2); margin: 8px 0 0; max-width: 46ch; font-size: 1.02rem; }
.venture-badge { font: 500 0.75rem/1.4 var(--mono); color: var(--muted); margin: 10px 0 18px; letter-spacing: 0.04em; }
.venture .btn { align-self: flex-start; margin-top: auto; }
.autonomy { margin-top: 18px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); border: 1px solid var(--line); background: repeating-linear-gradient(135deg, rgba(236, 211, 150, 0.025) 0 1px, transparent 1px 14px), var(--bg-1); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 28px; align-items: center; }
.autonomy-copy .muted { margin: 0; max-width: 44ch; }
.autonomy-pair { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch; }
.autonomy-pair .venture { background: var(--bg-2); }
.autonomy-pair .venture-name { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.autonomy-pair .venture-glyph { width: 52px; margin: 14px 0 6px; }
.autonomy-pair .venture-badge { margin-bottom: 0; }
.autonomy-link { display: grid; place-items: center; }
.autonomy-link span { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); position: relative; }
.autonomy-link span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); transform: translate(-50%, -50%); box-shadow: 0 0 18px rgba(217, 180, 90, 0.8); animation: pulse 2.4s infinite; }
.fund-band { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px clamp(22px, 3vw, 34px); border-radius: var(--r); background: linear-gradient(90deg, rgba(217, 180, 90, 0.14), rgba(217, 180, 90, 0.03)); border: 1px solid var(--line-2); }
.fund-band .eyebrow { margin-bottom: 8px; }
.fund-text { margin: 0; color: var(--text-2); max-width: 58ch; }
@media (max-width: 900px) {
  .venture-grid { grid-template-columns: 1fr; }
  .autonomy { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .autonomy-pair { grid-template-columns: 1fr; grid-template-rows: auto 36px auto; }
  .autonomy-link span { width: 1px; height: 100%; background: linear-gradient(180deg, transparent, var(--gold), transparent); }
  .fund-band .btn { width: 100%; }
}

/* filters + cards */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 26px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; font-size: 0.9rem; transition: all .2s; }
.chip:hover { color: var(--text); border-color: rgba(236, 211, 150, 0.45); }
.chip[aria-pressed="true"] { background: var(--text); color: #111; border-color: var(--text); }
.filter-count { margin-left: auto; font: 500 0.75rem var(--mono); color: var(--muted); letter-spacing: 0.08em; }
.no-js .filters { display: none; }
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1040px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } .filter-count { width: 100%; margin: 4px 0 0; } }
.card[hidden] { display: none; }
.card-body { --mx: 50%; --my: 0%; position: relative; height: 100%; display: flex; flex-direction: column; padding: 22px; border-radius: var(--r); background: var(--bg-1); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .4s var(--ease), background .3s; isolation: isolate; }
.card-body::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(217, 180, 90, 0.13), transparent 45%); opacity: 0; transition: opacity .3s; }
a.card-body:hover { border-color: rgba(236, 211, 150, 0.35); transform: translateY(-3px); }
a.card-body:hover::before { opacity: 1; }
.card-top { display: flex; justify-content: space-between; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.12em; color: var(--muted); }
.card-index { color: var(--gold); }
.card-glyph { width: 52px; color: var(--gold); margin: 26px 0 18px; transition: transform .5s var(--ease); }
a.card-body:hover .card-glyph { transform: translateY(-3px) scale(1.04); }
.card-title { font: 400 1.75rem/1.05 var(--serif); letter-spacing: -0.015em; margin: 0 0 10px; }
.card-text { color: var(--muted); margin: 0 0 22px; font-size: 0.95rem; line-height: 1.55; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-go { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); transition: all .3s var(--ease); }
.card-go svg { width: 16px; height: 16px; }
a.card-body:hover .card-go { background: var(--gold); color: #17130b; border-color: var(--gold); transform: rotate(-45deg); }
.card-soon .card-body { border-style: dashed; background: transparent; }
.soon { font: 500 0.7rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.04em; padding: 7px 10px; border-radius: 999px; background: rgba(236, 211, 150, 0.06); border: 1px solid var(--line); color: var(--text-2); }
.tag-soft { color: var(--muted); }
.tag-context { color: var(--gold-hi); border-color: rgba(217, 180, 90, 0.35); background: rgba(217, 180, 90, 0.08); }
.glyph { width: 100%; height: auto; display: block; }

/* ---------- detail ---------- */
.detail-hero { padding: clamp(24px, 5vw, 56px) 0 clamp(32px, 5vw, 56px); }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; padding: 8px 0; transition: color .2s; }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs svg { width: 16px; height: 16px; }
.detail-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(20px, 4vw, 40px); }
.detail-hero .tags { margin-top: 24px; }
.hero-glyph { position: relative; aspect-ratio: 1; max-width: 360px; margin-left: auto; border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 40%, rgba(217, 180, 90, 0.16), transparent 65%), repeating-linear-gradient(0deg, rgba(236, 211, 150, 0.04) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(236, 211, 150, 0.04) 0 1px, transparent 1px 28px), var(--bg-1); display: grid; place-items: center; color: var(--gold); overflow: hidden; }
.glyph-xl { width: 48%; filter: drop-shadow(0 10px 30px rgba(217, 180, 90, 0.35)); }
.hero-index { position: absolute; right: 18px; bottom: 10px; font: 400 4.5rem/1 var(--serif); color: rgba(236, 211, 150, 0.12); }
.hero-shot { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(36px, 5vw, 56px) 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 18px 18px 18px 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts dt { font: 500 0.68rem/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 8px 0 0; color: var(--text); font-size: 0.95rem; }
@media (max-width: 860px) {
  .detail-hero-grid { grid-template-columns: 1fr; }
  .hero-glyph { margin: 0; max-width: 240px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .hero-glyph { display: none; } }

.detail-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding: clamp(24px, 5vw, 56px) 0; }
.toc { position: sticky; top: 96px; align-self: start; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); font-size: 0.9rem; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--gold-hi); border-left-color: var(--gold); }
@media (max-width: 960px) { .detail-body { grid-template-columns: 1fr; } .toc { display: none; } }
.prose { min-width: 0; max-width: 820px; }
.prose p { color: var(--text-2); margin: 0 0 16px; }
.block { padding-bottom: clamp(40px, 6vw, 72px); margin-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; margin-bottom: 0; }
.block > .muted { margin-top: -6px; }
.pa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pa { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-1); }
.pa p:last-child { margin: 0; color: var(--text); font-size: 1.05rem; }
.pa-aim { border-color: rgba(217, 180, 90, 0.35); background: linear-gradient(160deg, rgba(217, 180, 90, 0.10), transparent 60%), var(--bg-1); }
.pa-aim .label { color: var(--gold); }
@media (max-width: 640px) { .pa-grid { grid-template-columns: 1fr; } }

/* stepper */
.stepper { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; margin-top: 20px; }
.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; position: relative; }
.step-list button { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--muted); transition: all .25s; }
.step-list button:hover { color: var(--text); background: rgba(236, 211, 150, 0.04); }
.step-list button[aria-selected="true"] { color: var(--text); background: var(--bg-2); border-color: var(--line-2); }
.step-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 500 0.75rem var(--mono); border: 1px solid var(--line-2); color: var(--muted); transition: all .25s; }
.step-list button[aria-selected="true"] .step-n { background: var(--gold); border-color: var(--gold); color: #17130b; }
.step-list button.done .step-n { color: var(--gold); border-color: rgba(217, 180, 90, 0.5); }
.step-t { font-weight: 500; font-size: 0.95rem; }
.step-panels { position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--line-2); background: radial-gradient(500px 240px at 100% 0%, rgba(217, 180, 90, 0.10), transparent 60%), var(--bg-1); display: flex; flex-direction: column; min-height: 280px; }
.step-panel h4 { font: 400 1.8rem/1.1 var(--serif); margin: 0 0 12px; }
.step-panel p { color: var(--text-2); }
.step-kicker { font: 500 0.7rem var(--mono) !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold) !important; margin: 0 0 14px !important; }
.js .step-panel[data-inactive] { display: none; }
.js .step-panel { animation: fadeUp .45s var(--ease); }
.no-js .step-panel + .step-panel { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.step-nav { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; gap: 10px; }
.no-js .step-nav { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .stepper { grid-template-columns: 1fr; }
  .step-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .step-list::-webkit-scrollbar { display: none; }
  .step-list li { flex: none; scroll-snap-align: start; }
  .step-list button { padding: 8px 12px 8px 8px; }
  .step-t { font-size: 0.88rem; white-space: nowrap; }
  .step-panels { min-height: 0; }
}

/* methodology */
.method { list-style: none; counter-reset: m; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.method li { counter-increment: m; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: baseline; padding: 16px 18px; border-radius: var(--r-sm); background: var(--bg-1); border: 1px solid var(--line); }
.method li::before { content: counter(m, decimal-leading-zero); font: 500 0.78rem var(--mono); color: var(--gold); }
.method p { margin: 0 !important; color: var(--text) !important; }

/* stack */
.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 20px; }
.stack-group { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-1); }
.stack-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.stack-name { display: block; font-weight: 600; color: var(--text); }
.stack-why { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 2px; }

/* results */
.results { margin: 20px 0 0; }
.table-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-1); }
.results table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 520px; }
.results th, .results td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.results th { font: 500 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.results td { color: var(--text-2); font-variant-numeric: tabular-nums; }
.results td strong { color: var(--gold-hi); }
.results tr:last-child td { border-bottom: 0; }
.results figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--text-2); }

/* learn */
.learn { display: grid; gap: 10px; margin-top: 20px; }
.qa { border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-1); transition: border-color .25s; }
.qa[open] { border-color: var(--line-2); }
.qa summary { list-style: none; display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: 12px; padding: 18px; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa-n { font: 500 0.75rem var(--mono); color: var(--gold); }
.qa-q { font-weight: 500; color: var(--text); }
.qa-x { width: 24px; height: 24px; position: relative; }
.qa-x::before, .qa-x::after { content: ""; position: absolute; left: 5px; right: 5px; top: 11px; height: 1.5px; background: var(--text-2); transition: transform .3s var(--ease); }
.qa-x::after { transform: rotate(90deg); }
.qa[open] .qa-x::after { transform: rotate(0deg); }
.qa-a { padding: 0 18px 18px 70px; }
.qa-a p { margin: 0 !important; }
@media (max-width: 520px) { .qa-a { padding-left: 18px; } .qa summary { grid-template-columns: 30px 1fr 24px; } }

/* people */
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.people-lg { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.person { display: flex; flex-direction: column; gap: 8px; }
.people-lg .person { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-1); }
.person-name { font-weight: 600; color: var(--text); }
.people-lg .person-name { font: 400 1.6rem/1.1 var(--serif); font-weight: 400; }
.person-links { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); transition: all .2s; }
.chip-link svg { width: 12px; height: 12px; }
.chip-link:hover { color: #17130b; background: var(--gold); border-color: var(--gold); }

/* demo */
.live-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: var(--r); border: 1px solid rgba(217, 180, 90, 0.35); background: linear-gradient(90deg, rgba(217, 180, 90, 0.10), transparent), var(--bg-1); margin: 18px 0; }
.live-card .label { margin-bottom: 6px; }
.live-url { margin: 0 !important; font: 500 0.95rem var(--mono); color: var(--text) !important; word-break: break-all; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.shot { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg-1); }
.shot-wide { grid-column: 1 / -1; }
.shot figcaption { padding: 12px 16px; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

/* widgets (shared) */
.widget { margin: 18px 0; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-1); overflow: hidden; }
.w-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); flex-wrap: wrap; }
.w-title { font: 500 0.75rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0; }
.w-note { font: 500 0.72rem var(--mono); color: var(--muted); margin: 0; }
.w-body { padding: 18px; display: grid; gap: 16px; }
.w-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 720px) { .w-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font: 500 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.input, .select { width: 100%; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 400 0.95rem var(--sans); }
.input:focus, .select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.input:disabled { opacity: .45; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); }
.seg button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 0.88rem; font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--text); color: #111; }
.seg button.buy[aria-pressed="true"] { background: var(--ok); }
.seg button.sell[aria-pressed="true"] { background: var(--bad); }
.term { margin: 0; padding: 16px 18px; border-radius: var(--r-sm); background: #070605; border: 1px solid var(--line); font: 400 0.82rem/1.65 var(--mono); color: #d8d2c4; white-space: pre-wrap; word-break: break-word; min-height: 150px; overflow-x: auto; }
.term .t-cmd { color: var(--gold-hi); }
.term .t-ok { color: var(--ok); }
.term .t-err { color: var(--bad); }
.term .t-dim { color: #7d766a; }
.verdict { display: inline-flex; align-items: center; gap: 6px; font: 600 0.72rem var(--mono); letter-spacing: 0.1em; padding: 6px 10px; border-radius: 999px; border: 1px solid currentColor; }
.v-ok { color: var(--ok); } .v-bad { color: var(--bad); } .v-warn { color: var(--warn); } .v-info { color: var(--info); }
.scen-list { display: grid; gap: 8px; }
.scen-list button { text-align: left; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--text-2); cursor: pointer; transition: all .2s; font-size: 0.93rem; line-height: 1.45; }
.scen-list button:hover { border-color: var(--line-2); color: var(--text); }
.scen-list button[aria-pressed="true"] { border-color: var(--gold); color: var(--text); background: rgba(217, 180, 90, 0.07); }
.scen-out { padding: 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); display: grid; gap: 14px; align-content: start; }
.scen-out h5 { margin: 0; font: 500 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.scen-out p { margin: 0 !important; font-size: 0.93rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 0.9rem; color: var(--text-2); }
.checks li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.checks li.x::before { content: "✕"; color: var(--bad); }
.checks li.q::before { content: "?"; color: var(--warn); }
.checks li.skip::before { content: "–"; color: var(--muted); }
.checks li.skip { color: var(--muted); }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 92px 1fr 64px; gap: 12px; align-items: center; font-size: 0.9rem; }
.bar-track { height: 12px; border-radius: 999px; background: rgba(236, 211, 150, 0.07); overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: rgba(236, 211, 150, 0.35); transition: width .35s var(--ease), background .3s; }
.bar.win .bar-fill { background: var(--gold-grad); }
.bar-val { font: 500 0.85rem var(--mono); text-align: right; color: var(--text); }
.range { width: 100%; accent-color: var(--gold); }
.range-wrap { position: relative; padding-top: 4px; }
.flip-mark { position: absolute; top: -4px; width: 2px; height: 30px; background: var(--bad); border-radius: 2px; }
.flip-label { font: 500 0.72rem var(--mono); color: var(--bad); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; font-size: 0.92rem; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; font-family: var(--mono); color: var(--text); }
.kv .total { color: var(--gold-hi); font-weight: 600; }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.twin figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: #fff; position: relative; }
.twin figcaption { position: absolute; left: 8px; top: 8px; font: 600 0.72rem var(--mono); background: rgba(10, 9, 7, 0.85); color: var(--gold-hi); padding: 5px 8px; border-radius: 8px; }
.twin-answer { font: 500 0.88rem var(--mono); color: var(--text); background: var(--bg-2); padding: 8px 10px; border-top: 1px solid var(--line); position: static !important; display: block; }
.plane-wrap { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.plane-wrap svg { width: 100%; height: auto; display: block; color: var(--gold); }
.hotspot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(10, 9, 7, 0.75); color: var(--gold-hi); font: 600 0.72rem var(--mono); cursor: pointer; display: grid; place-items: center; transition: transform .2s, background .2s; }
.hotspot:hover, .hotspot[aria-pressed="true"] { background: var(--gold); color: #17130b; transform: scale(1.12); }
.hotspot[aria-pressed="true"]::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(217, 180, 90, 0.5); animation: pulse 2s infinite; }
.method-row { display: flex; flex-wrap: wrap; gap: 8px; }
.res-status { font: 600 0.8rem var(--mono); }
.s2xx { color: var(--ok); } .s4xx { color: var(--bad); }

/* pager */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: clamp(48px, 8vw, 96px); }
.pager-link { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-1); transition: border-color .25s, transform .3s var(--ease); }
.pager-link:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pager-link .label { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.pager-link .label svg { width: 14px; height: 14px; }
.pager-next { text-align: right; align-items: flex-end; }
.pager-name { font: 400 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--serif); }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager-next { text-align: left; align-items: flex-start; } }

/* footer */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: clamp(48px, 8vw, 96px) var(--pad) 32px; background: linear-gradient(to bottom, transparent, rgba(217, 180, 90, 0.04)); }
.foot-cta, .foot-grid, .legal { width: min(100%, var(--max)); margin-inline: auto; }
.foot-cta { display: grid; gap: 22px; justify-items: start; padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.foot-cta .eyebrow { margin: 0; }
.foot-cta .display-sm { max-width: 22ch; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 32px; padding: 40px 0; }
.foot-grid .brand { margin-bottom: 14px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-links a { color: var(--text-2); }
.foot-links a:hover { color: var(--gold-hi); }
.legal { font-size: 0.82rem; color: var(--muted); margin-top: 0; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* 404 */
.nf { padding: clamp(80px, 16vw, 200px) 0; }

/* small-screen refinements */
@media (max-width: 520px) { .hide-sm { display: none; } }
@media (max-width: 899px) { .home-emblem { opacity: .22; top: 14vh; } }

/* header wrapper (shared markup with inside pages) */
.header-right { display: flex; align-items: center; gap: 8px; }

/* home: fit short laptop screens without cutting anything */
.home-copy .lead { max-width: 46ch; }
@media (min-width: 900px) and (max-height: 760px) {
  .site-header { padding-top: 10px; padding-bottom: 10px; }
  .home-copy .eyebrow { margin-bottom: 12px; }
  .home-copy .lead { margin-top: 14px; font-size: 1rem; }
  .home-copy .cta-row { margin-top: 20px; }
  .home-foot { padding-top: 10px; padding-bottom: 16px; }
  .stats dd { font-size: 1.6rem; margin-top: 4px; }
  .orbit { width: min(32vw, 58vh, 440px); }
}

/* home: keep the decorative emblem inside the screen on phones */
.home { overflow-x: clip; }
@supports not (overflow: clip) { .home { overflow-x: hidden; } }
@media (max-width: 300px) {
  .display { font-size: 2.05rem; }
  .home-copy .lead { font-size: 0.92rem; }
  .cta-row .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
  .stats { gap: 12px; } .stats dd { font-size: 1.25rem; } .stats dt { font-size: 0.6rem; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.1em; }
}

/* large and very large screens */
@media (min-width: 2300px) { html { font-size: 20px; } .brand-mark { width: 30px; } .brand-word { font-size: 1.1rem; } }
@media (min-width: 3000px) { html { font-size: 26px; } .brand-mark { width: 40px; } }

/* =====================================================================
   Home v2: centred mark + wordmark + two buttons; gold aura background with soft ripples.
   ===================================================================== */
.site-header.no-brand { justify-content: flex-end; }
.home { display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; min-height: 100svh; }
.home-main { display: grid; grid-template-columns: 1fr; place-items: center; padding: 0 var(--pad) clamp(28px, 9vh, 110px); width: 100%; }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-emblem { position: relative; width: clamp(84px, min(20vw, 24vh), 230px); aspect-ratio: 90 / 142; display: grid; place-items: center; }
.hero-emblem .hero-mark { position: relative; z-index: 1; width: 100%; height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 18px 40px rgba(217, 180, 90, 0.35)); }
.ripple { position: absolute; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(226, 190, 106, 0.42); transform: translate(-50%, -50%) scale(.35); opacity: 0; animation: ripple 7.5s cubic-bezier(.2, .6, .3, 1) infinite; }
.ripple:nth-child(2) { animation-delay: 2.5s; }
.ripple:nth-child(3) { animation-delay: 5s; }
@keyframes ripple { 0% { transform: translate(-50%, -50%) scale(.35); opacity: 0; } 15% { opacity: .65; } 100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; } }
.hero-word { margin: clamp(16px, 3.4vh, 30px) 0 0; padding-left: 0.42em; font: 600 clamp(1.05rem, min(3.4vw, 4.6vh), 2.3rem)/1 var(--sans); letter-spacing: 0.42em; }
.hero-cta { justify-content: center; margin-top: clamp(22px, 4.4vh, 44px); }
.home-foot { flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; text-align: center; padding: 14px var(--pad) clamp(18px, 3.4vh, 30px); }
.since { margin: 0; font: 500 0.74rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.since a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.since a:hover { opacity: 0.8; }
.home-foot .founders { font-size: 0.92rem; }

/* gold aura: three soft lights drifting slowly; the centre one leans toward the pointer */
.aura { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aura i { position: absolute; display: block; border-radius: 50%; filter: blur(70px); will-change: transform; }
.aura-a { width: 70vmax; height: 70vmax; left: -28vmax; top: -34vmax; background: radial-gradient(circle, rgba(217, 180, 90, 0.20), transparent 62%); animation: driftA 26s ease-in-out infinite alternate; }
.aura-b { width: 64vmax; height: 64vmax; right: -26vmax; bottom: -32vmax; background: radial-gradient(circle, rgba(176, 138, 55, 0.20), transparent 62%); animation: driftB 32s ease-in-out infinite alternate; }
.aura-c { width: 44vmax; height: 44vmax; left: 50%; top: 42%; margin: -22vmax 0 0 -22vmax; background: radial-gradient(circle, rgba(246, 231, 176, 0.13), transparent 60%); transform: translate(var(--ax, 0px), var(--ay, 0px)); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
@keyframes driftA { to { transform: translate(14vmax, 10vmax) scale(1.08); } }
@keyframes driftB { to { transform: translate(-12vmax, -9vmax) scale(1.1); } }
.home { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .ripple, .aura i, .hero-emblem .hero-mark { animation: none; } .ripple { opacity: 0; } }

/* phones and small screens */
@media (max-width: 720px) {
  .hero-cta { flex-direction: column; align-items: stretch; width: min(320px, 100%); }
  .hero-cta .btn { width: 100%; }
  .hero-word { letter-spacing: 0.34em; padding-left: 0.34em; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero-emblem { width: clamp(56px, 18vh, 120px); }
  .hero-cta { flex-direction: row; width: auto; }
}
@media (max-width: 300px) { .hero-word { font-size: 0.95rem; letter-spacing: 0.26em; padding-left: 0.26em; } .home-foot .founders { font-size: 0.8rem; } }
.hero-emblem { width: clamp(50px, min(20vw, 22vh), 230px); }
@media (max-height: 560px) {
  .page-home .site-header { padding-top: 8px; padding-bottom: 8px; }
  .home-main { padding-bottom: 10px; }
  .hero-word { margin-top: 10px; }
  .hero-cta { margin-top: 14px; gap: 8px; }
  .hero-cta .btn { --h: 40px; }
  .home-foot { padding-top: 6px; padding-bottom: 10px; gap: 4px; }
}
@media (max-height: 560px) and (orientation: landscape) { .hero-cta { flex-direction: row; width: auto; } .hero-emblem { width: clamp(44px, 17vh, 110px); } }
@media (max-width: 300px) and (max-height: 400px) { .hero-cta { gap: 6px; } .hero-cta .btn { --h: 36px; font-size: 0.82rem; } .since { font-size: 0.62rem; } }
@media (max-width: 300px) { .home-foot .founders { font-size: 0.7rem; } }
.aura .glyphs { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
