
/* =============================================================
   ARISTOS — THE HOMEPAGE (v2 rebrand, image-rich)
   Clean-light editorial canvas · ink typography · Aristos Purple.
   Video hero, image-topped cards, product visuals, photo bands.
   ============================================================= */
:root {
    --bg:        #f8f7fb;           /* cool lavender paper — purple is the air, gold is the accent */
    --bg-alt:    #f2f0f8;
    --surface:   #FFFFFF;
    --ink:       #191423;           /* purple-ink */
    --ink-2:     #262238;
    --muted:     #6a6880;
    --muted-2:   #6a6880;   /* guide Mute — AA on Paper (5.04:1) */
    --accent:    #C5A572;           /* athena gold */
    --accent-deep: #A88550;
    --gold-ink:  #7A5F30;           /* gold as TEXT on light grounds (6.0:1) */
    --accent-ink: #2D2769;
    --accent-soft: #E8D5A8;
    --accent-tint: rgba(45, 39, 105, 0.09);
    --jacarta:   #2d2769;           /* brand purple — secondary */
    --lavender:  #9889C0;
    --line:      #e3e1ee;
    --line-2:    #d8d5e8;
    --green:     #2dd4a7;           /* athena ok-teal */
    --amber:     #B45309;
    --blue:      #2563EB;
    --red:       #DC2626;
    --band:      #14102e;           /* deep purple ink band */
    --band-line: rgba(255, 255, 255, 0.08);
    --font-body: 'Inter', system-ui, sans-serif;
    --font-disp: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --radius:    8px;
    --shadow:    0 1px 2px rgba(23, 21, 31, 0.04), 0 8px 24px rgba(23, 21, 31, 0.05);
    --shadow-lg: 0 2px 4px rgba(23, 21, 31, 0.05), 0 16px 40px rgba(23, 21, 31, 0.09);
    --wrap:      1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
::selection { background: rgba(45, 39, 105, 0.16); }

/* athena film grain — the quiet texture layer over everything */
body::after {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 90;
    opacity: 0.16;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--gold-ink); }
img { max-width: 100%; display: block; }

/* a11y — visible focus for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--jacarta);
    outline-offset: 2px;
    border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); position: relative; z-index: 1; }
section { padding: clamp(4rem, 9vh, 6.5rem) 0; scroll-margin-top: 84px; position: relative; }

/* ghost chapter numerals — the page reads like a printed document */
main { counter-reset: chapter; }
main > section:not(.stats) { counter-increment: chapter; }
main > section:not(.stats)::before {
    content: none;
    position: absolute;
    top: clamp(0.4rem, 1.5vw, 1.2rem);
    right: clamp(1rem, 4vw, 3rem);
    font-family: var(--font-disp);
    font-size: clamp(5rem, 12vw, 9.5rem);
    font-weight: 800;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(45, 39, 105, 0.12);
    pointer-events: none;
    z-index: 0;
}
#proprietary-system::before { -webkit-text-stroke-color: rgba(185, 169, 242, 0.16); }

/* the spine — a gold thread of progress across the very top */
.progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 101;
    background: linear-gradient(90deg, var(--jacarta), var(--lavender), var(--accent));
    transform-origin: 0 50%;
    transform: scaleX(0);
    pointer-events: none;
}

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: 6px; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- section headers ---------- */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #4A3F9E;
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 1.1rem;
}
.eyebrow::after { content: ''; height: 1px; width: 44px; background: linear-gradient(90deg, rgba(74, 63, 158, 0.45), transparent); }
.eyebrow b { font-weight: 500; color: var(--accent); opacity: 0.9; }
.sec-head { margin-bottom: clamp(2rem, 5vh, 3.25rem); }
.sec-head h2 {
    font-family: var(--font-disp);
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.018em;
    color: var(--ink);
    max-width: 720px;
}
.sec-head .lede {
    color: var(--muted);
    max-width: 640px;
    margin-top: 0.9rem;
    font-size: 1.02rem;
}
/* the purple voice — one emphasised phrase per heading */
.sec-head h2 em, #contact h2 em { font-style: normal; color: var(--jacarta); }
.sov-shell h2 em { font-style: normal; color: #B9A9F2; }
.router-q em { font-style: normal; color: var(--jacarta); }

/* ---------- section separation — each band reads as its own room ----------
   The editorial canvas stays, but sections alternate paper tones and pick up
   quiet brand washes so the page reads as chapters, not one long scroll. */
#press {
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(152, 137, 192, 0.16), transparent 62%),
        var(--band);
    border-bottom: 1px solid var(--band-line);
}
#press::before { -webkit-text-stroke-color: rgba(185, 169, 242, 0.16); }
#press .sec-head h2 { color: #fff; }
#press .sec-head h2 em { color: #B9A9F2; }
#press .sec-head .lede { color: #C9C5D6; }
#router {
    background:
        radial-gradient(1000px 480px at 50% -12%, rgba(45, 39, 105, 0.13), transparent 70%),
        var(--bg);
}
#systems {
    background: #EDEAF5;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
#platforms {
    background:
        radial-gradient(1000px 460px at 88% -10%, rgba(152, 137, 192, 0.22), transparent 62%),
        radial-gradient(800px 420px at -10% 115%, rgba(74, 63, 158, 0.35), transparent 60%),
        var(--band);
    border-top: 1px solid var(--band-line);
    border-bottom: 1px solid var(--band-line);
}
#platforms::before { -webkit-text-stroke-color: rgba(185, 169, 242, 0.16); }
#platforms .sec-head h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); }
#platforms .sec-head h2 em { color: #B9A9F2; }
#platforms .sec-head .lede { color: #C9C5D6; }
#proof {
    background:
        radial-gradient(1000px 460px at 0% 0%, rgba(197, 165, 114, 0.20), transparent 62%),
        #F1EEF8;
    border-bottom: 1px solid var(--line);
}
#why { background: var(--bg); }
#proprietary-system { border-top: 3px solid var(--accent); }
#about { background: var(--bg); }
#intelligence {
    background: linear-gradient(180deg, var(--bg) 0%, #E7E1F3 100%);
}
#contact {
    background:
        radial-gradient(900px 440px at 50% 112%, rgba(152, 137, 192, 0.20), transparent 70%),
        var(--bg);
}

/* ---------- nav ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(248, 247, 251, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
    box-shadow: 0 1px 12px rgba(23, 21, 31, 0.04);
}
.nav-inner {
    max-width: var(--wrap); margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    height: 70px;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav-word { height: 32px; width: auto; }
/* over the dark video hero the nav runs transparent with the light wordmark */
.nav .word-light { display: none; }
.nav:not(.scrolled):not(.open) .word-light { display: block; }
.nav:not(.scrolled):not(.open) .word-dark { display: none; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--accent-ink); }
.nav:not(.scrolled):not(.open) .nav-links a.active { color: #fff; }
.nav:not(.scrolled):not(.open) .nav-links a { color: rgba(255, 255, 255, 0.82); }
.nav:not(.scrolled):not(.open) .nav-links a:hover { color: #fff; }
.nav-cta {
    display: inline-flex; align-items: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--ink);
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border: 1px solid rgba(197, 165, 114, 0.4); border-radius: 4px;
    padding: 0.6rem 1.15rem;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
    flex-shrink: 0;
}
.nav-cta:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(197, 165, 114, 0.38); }
.nav-cta:active { transform: translateY(0) scale(0.97); }
.nav:not(.scrolled):not(.open) .nav-cta { background: #fff; color: var(--accent-ink); }
.nav:not(.scrolled):not(.open) .nav-cta:hover { background: #F4F2FB; }
/* the CTA duplicated inside the links list only appears in the open mobile menu */
.nav-links .nav-cta { display: none; }
.nav-burger {
    display: none;
    background: none; border: 1px solid var(--line-2); border-radius: 4px;
    width: 40px; height: 40px; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .25s, opacity .25s; }
.nav:not(.scrolled):not(.open) .nav-burger { border-color: rgba(255,255,255,0.4); }
.nav:not(.scrolled):not(.open) .nav-burger span { background: #fff; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (video) ---------- */
.hero {
    position: relative;
    min-height: 94vh;
    display: flex; align-items: center;
    padding-top: 120px; padding-bottom: 4rem;
    overflow: hidden;
    background: var(--band);
    color: #fff;
}
.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.4s ease;
    filter: saturate(0.72) contrast(1.08) brightness(0.94);
}
.hero-video.is-live { opacity: 1; }
/* the jacarta veil — turns the footage into a purple duotone so the
   hero reads Aristos before a single word does */
.hero-tint {
    position: absolute; inset: 0;
    z-index: 1; pointer-events: none;
    background: linear-gradient(165deg, rgba(45, 39, 105, 0.58), rgba(76, 63, 140, 0.30) 52%, rgba(26, 21, 56, 0.62));
    mix-blend-mode: multiply;
}
.hero-scrim {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(26, 21, 56, 0.42) 0%, rgba(22, 18, 48, 0.28) 45%, rgba(16, 13, 38, 0.82) 100%);
}

/* the assist layer — a quiet HUD over the footage that reads as
   "the Aristos Proprietary System is watching over this work" */
.hud {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.hud .hud-c {
    position: absolute; width: 22px; height: 22px;
    border-color: rgba(180, 168, 236, 0.45);
    border-style: solid; border-width: 0;
}
.hud .hud-tl { top: 92px; left: 28px; border-top-width: 1.5px; border-left-width: 1.5px; border-top-left-radius: 6px; }
.hud .hud-tr { top: 92px; right: 28px; border-top-width: 1.5px; border-right-width: 1.5px; border-top-right-radius: 6px; }
.hud .hud-bl { bottom: 28px; left: 28px; border-bottom-width: 1.5px; border-left-width: 1.5px; border-bottom-left-radius: 6px; }
.hud .hud-br { bottom: 28px; right: 28px; border-bottom-width: 1.5px; border-right-width: 1.5px; border-bottom-right-radius: 6px; }
.hud .hud-tag {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.55);
    display: inline-flex; align-items: center; gap: 0.45rem;
    text-transform: uppercase;
}
.hud .hud-tag-tr { top: 96px; right: 62px; }
.hud .hud-tag-bl { bottom: 32px; left: 62px; color: rgba(196, 182, 240, 0.85); }
.hud .hud-tag i {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.8);
    animation: hud-blink 2.4s ease-in-out infinite;
}
@keyframes hud-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}
/* soft fade from the film into the dark ticker band below */
.hero::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; height: 130px;
    background: linear-gradient(180deg, transparent, var(--band));
    z-index: 2; pointer-events: none;
}
.hero-inner { position: relative; z-index: 3; }
.hero .eyebrow { color: #B9A9F2; margin-bottom: 1.4rem; }
.hero .eyebrow::after { background: linear-gradient(90deg, rgba(255,255,255,0.35), transparent); }
.hero h1 {
    font-family: var(--font-disp);
    font-size: clamp(2.9rem, 7.2vw, 5.9rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 920px;
    text-wrap: balance;
}
.hero h1 em {
    font-style: normal;
    color: #B9A9F2;
}
.hero .sub {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.6vw, 1.16rem);
    max-width: 660px;
    margin-top: 1.35rem;
}
.hero .sub strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.btn {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-family: var(--font-mono); font-size: 0.84rem; letter-spacing: 0.04em;
    border-radius: 4px; padding: 0.85rem 1.5rem;
    cursor: pointer; border: none;
    transition: background 0.2s, transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border: 1px solid rgba(197, 165, 114, 0.4);
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(197, 165, 114, 0.28);
}
.btn-primary:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(197, 165, 114, 0.38); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: #fff; color: #fff; transform: translateY(-1px); }
.btn-ghost.on-light {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line-2);
    box-shadow: 0 1px 2px rgba(23, 21, 31, 0.03);
}
.btn-ghost.on-light:hover { border-color: var(--accent); color: var(--accent-ink); }

/* hero entrance — each line rises into place, staggered like a film title */
.hero-inner > * { animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.2s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.3s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.42s; }
@keyframes rise {
    from { opacity: 0; transform: translateY(36px); }
    to { opacity: 1; transform: none; }
}

/* scroll cue — a quiet "there's more below" signal */
.scroll-cue {
    position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    z-index: 3;
    display: flex; justify-content: center;
    padding-top: 7px;
    transition: border-color 0.2s;
}
.scroll-cue:hover { border-color: rgba(255, 255, 255, 0.7); }
.scroll-cue i {
    display: block; width: 3px; height: 8px; border-radius: 2px;
    background: #fff;
    animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue {
    0% { opacity: 0; transform: translateY(0); }
    35% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* hero aurora — ambient drifting light over the footage, the page breathes */
.aurora {
    position: absolute;
    width: 46vw; height: 46vw;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.20;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
}
.aurora.a-1 { top: -14%; left: -8%; background: radial-gradient(circle, #6a5ac8, transparent 65%); animation: auroraA 26s ease-in-out infinite alternate; }
.aurora.a-2 { bottom: -20%; right: -6%; background: radial-gradient(circle, #c5a572, transparent 65%); animation: auroraB 32s ease-in-out infinite alternate; opacity: 0.15; }
@keyframes auroraA { from { transform: translate(0, 0) scale(1); } to { transform: translate(9vw, 7vh) scale(1.15); } }
@keyframes auroraB { from { transform: translate(0, 0) scale(1); } to { transform: translate(-8vw, -6vh) scale(1.2); } }

/* press film-strip — the coverage scrolls like credits, works on every screen */
.press-ticker {
    background: var(--band);
    border-top: 1px solid var(--band-line);
    border-bottom: 1px solid var(--band-line);
    overflow: hidden;
    position: relative;
    padding: 0.9rem 0;
}
.press-ticker::before, .press-ticker::after {
    content: '';
    position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.press-ticker::before { left: 0; background: linear-gradient(90deg, var(--band), transparent); }
.press-ticker::after { right: 0; background: linear-gradient(270deg, var(--band), transparent); }
.ticker-track {
    display: flex; gap: 1.6rem;
    width: max-content;
    animation: ticker 52s linear infinite;
}
.press-ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-item {
    display: flex; align-items: center; gap: 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #C9C5D6;
    white-space: nowrap;
}
.ticker-item img {
    width: 72px; height: 42px;
    object-fit: cover;
    border-radius: 3px;
    filter: saturate(0.72) contrast(1.06);
    border: 1px solid var(--band-line);
    display: block;
}
.ticker-item i { font-style: normal; color: #2dd4a7; }

/* ---------- stats strip ---------- */
.stats {
    border-bottom: 1px solid var(--band-line);
    background: linear-gradient(180deg, #1a1540, var(--band));
    color: #fff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 2rem 0;
}
.stat { text-align: center; padding: 0 0.5rem; }
.stat + .stat { border-left: 1px solid var(--band-line); }
.stat b {
    display: block;
    font-family: var(--font-disp);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.stat b em { font-style: normal; color: #B9A9F2; }
.stat span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #A9A4BC;
    margin-top: 0.45rem;
}

/* ---------- generic cards ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem;
    box-shadow: var(--shadow);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* image-topped cards (systems · proof) */
.img-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.img-card .ic-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--line);
}
.img-card .ic-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.img-card .ic-media svg {
    width: 100%; height: 100%; display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.img-card:hover .ic-media img, .img-card:hover .ic-media svg { transform: scale(1.045); }
.img-card .ic-media .ic-pill {
    position: absolute; top: 0.8rem; right: 0.8rem;
    background: rgba(10, 10, 12, 0.72);
    color: #fff;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.img-card .ic-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }

.card-icon {
    width: 42px; height: 42px;
    border-radius: 4px;
    background: var(--accent-tint);
    border: 1px solid rgba(45, 39, 105, 0.22);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-ink);
    margin-bottom: 1.1rem;
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 {
    font-family: var(--font-disp);
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.55rem;
    color: var(--ink);
}
.card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.card .card-tags {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    margin-top: 1rem;
}
.card .card-tags span {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    color: var(--muted);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 0.18rem 0.6rem;
}

/* ---------- pills (status) ---------- */
.pill {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    border-radius: 99px;
    padding: 0.22rem 0.7rem;
    white-space: nowrap;
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-live { color: var(--green); background: rgba(34, 197, 94, 0.10); border: 1px solid rgba(34, 197, 94, 0.35); }
.pill-test { color: var(--amber); background: rgba(245, 158, 11, 0.10); border: 1px solid rgba(245, 158, 11, 0.40); }
.pill-done { color: #4A4270; background: rgba(152, 137, 192, 0.14); border: 1px solid rgba(152, 137, 192, 0.40); }
.pill-news { color: #8a6c39; background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(168, 133, 80, 0.60); font-weight: 500; box-shadow: 0 2px 10px rgba(10, 10, 12, 0.30); }
.news-badge { position: absolute; bottom: 0.8rem; left: 0.8rem; }
.pill-plan { color: var(--blue); background: rgba(59, 130, 246, 0.08); border: 1px solid rgba(59, 130, 246, 0.30); }

/* ---------- platforms ---------- */
.plat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.plat-hero { grid-column: 1 / -1; }
.plat-hero .card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(1.5rem, 3.5vw, 3rem);
    align-items: center;
    padding: clamp(1.6rem, 3vw, 2.6rem);
    border-top: 3px solid var(--accent);
    background:
        radial-gradient(640px 280px at 92% 0%, rgba(197, 165, 114, 0.07), transparent 65%),
        var(--surface);
}
.plat-tag {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    color: var(--green);
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-bottom: 0.9rem;
}
.plat-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15); }
.plat-tag.tag-soft { color: var(--muted-2); }
.plat-tag.tag-soft i { background: var(--muted-2); box-shadow: none; }
.plat-name { font-family: var(--font-disp); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
.plat-name small { display: block; font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.14em; color: var(--muted-2); margin-top: 0.3rem; text-transform: uppercase; }
.plat-desc { color: var(--muted); font-size: 0.98rem; margin-top: 0.9rem; max-width: 560px; }
.plat-desc strong { color: var(--ink); font-weight: 600; }
.plat-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; }
.plat-chips span {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    color: var(--accent-ink);
    background: var(--accent-tint);
    border: 1px solid rgba(197, 165, 114, 0.22);
    border-radius: 99px;
    padding: 0.22rem 0.65rem;
}
.plat-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.plat-ctas .btn { padding: 0.7rem 1.2rem; font-size: 0.8rem; }

/* the engine room — Athena on the bus, live wires into every product */
.engine-bus {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: clamp(1.8rem, 4vh, 3rem);
}
.engine-bus::before, .engine-bus::after {
    content: '';
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(217, 188, 126, 0.65));
}
.engine-bus::after { background: linear-gradient(90deg, rgba(217, 188, 126, 0.65), transparent); }
.bus-chip {
    display: inline-flex; align-items: center; gap: 0.8rem;
    padding: 0.55rem 1.2rem;
    border-radius: 99px;
    background: rgba(217, 188, 126, 0.08);
    border: 1px solid rgba(217, 188, 126, 0.5);
    box-shadow: 0 0 24px rgba(217, 188, 126, 0.18), inset 0 0 18px rgba(217, 188, 126, 0.06);
}
.bus-chip img { width: 26px; height: 26px; display: block; }
.bus-chip b {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
}
.bus-chip span {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D9BC7E;
}
/* live power drops — energy flowing from the bus into each product */
.bus-drops {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 34px;
}
.bus-drops span { position: relative; }
.bus-drops span::before {
    content: '';
    position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(217, 188, 126, 0.75), rgba(217, 188, 126, 0.12));
}
.bus-drops span::after {
    content: '';
    position: absolute; left: 50%; top: 0;
    width: 3px; height: 9px;
    transform: translateX(-50%);
    border-radius: 2px;
    background: #FFE9B8;
    box-shadow: 0 0 8px rgba(255, 233, 184, 0.95), 0 0 16px rgba(217, 188, 126, 0.6);
    animation: bus-flow 2.4s linear infinite;
}
.bus-drops span:nth-child(2)::after { animation-delay: 0.4s; }
.bus-drops span:nth-child(3)::after { animation-delay: 0.8s; }
.bus-drops span:nth-child(4)::after { animation-delay: 1.2s; }
@keyframes bus-flow {
    0% { top: -10px; opacity: 0; }
    18% { opacity: 1; }
    82% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
/* the outer wires reach up to the bus line itself — the middle two feed the pill */
.bus-drops span:nth-child(1)::before,
.bus-drops span:nth-child(4)::before {
    top: -24px;
    background: linear-gradient(180deg, rgba(217, 188, 126, 0.12), rgba(217, 188, 126, 0.75));
}
.bus-drops span:nth-child(1)::after,
.bus-drops span:nth-child(4)::after { animation-name: bus-flow-long; }
@keyframes bus-flow-long {
    0% { top: -34px; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
/* the products — glass machines on the dark floor */
.eng-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}
.eng-card {
    display: flex; flex-direction: column; gap: 0.55rem;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(185, 169, 242, 0.22);
    border-radius: var(--radius);
    padding: 1.35rem 1.2rem 1.2rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.eng-card:hover {
    border-color: rgba(217, 188, 126, 0.55);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 28px rgba(217, 188, 126, 0.12);
}
/* the instrument lockup — emblem anchors the corner, the rail grounds the name */
.inst{position:relative;padding:15px 18px 12px;margin-bottom:0.35rem}
.inst .icnr{position:absolute;width:14px;height:14px;border:1.5px solid rgba(227,200,143,.75)}
.inst .tl{top:0;left:0;border-right:0;border-bottom:0;border-top-left-radius:4px}
.inst .tr{top:0;right:0;border-left:0;border-bottom:0;border-top-right-radius:4px}
.inst .bl{bottom:0;left:0;border-right:0;border-top:0;border-bottom-left-radius:4px}
.inst .br{bottom:0;right:0;border-left:0;border-top:0;border-bottom-right-radius:4px}
.inst .iemb{position:absolute;top:11px;left:19px;width:22px;height:22px}
.inst .inner{margin-left:46px}
.inst .iname{font-weight:800;letter-spacing:-.03em;color:#fff;line-height:1;font-size:1.5rem}
.inst .irail{margin-top:7px;height:1px;width:120px;background:linear-gradient(90deg,#2D2769,#C5A572)}
.inst .iunder{font-family:var(--font-mono);font-size:0.66rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:#B9A9F2;margin-top:6px}
.eng-icon {
    width: 42px; height: 42px;
    border-radius: 4px;
    background: rgba(185, 169, 242, 0.12);
    border: 1px solid rgba(185, 169, 242, 0.35);
    display: flex; align-items: center; justify-content: center;
    color: #D9CFF0;
    margin-bottom: 0.55rem;
}
.eng-icon svg { width: 20px; height: 20px; }
.eng-icon img { width: 26px; height: 26px; object-fit: contain; }
.eng-card .plat-name { color: #fff; font-size: 1.14rem; }
.eng-card .plat-name small { color: #B9A9F2; }
.eng-desc { color: #C9C5D6; font-size: 0.86rem; line-height: 1.6; }
.eng-card .plat-chips span {
    color: #D4CFF0;
    background: rgba(185, 169, 242, 0.1);
    border-color: rgba(185, 169, 242, 0.3);
}
.eng-link {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: #D9BC7E;
    margin-top: auto;
    padding-top: 0.4rem;
}
.eng-link:hover { color: #F0DFAF; text-decoration: underline; }
.eng-links { margin-top: auto; padding-top: 0.4rem; display: flex; flex-direction: column; gap: 0.18rem; }
.eng-links .eng-link { margin-top: 0; padding-top: 0; }
/* the vault — the foundation that makes the whole stack safe */
.vault {
    display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.2rem);
    margin-top: 0.9rem;
    background:
        radial-gradient(600px 300px at 12% 0%, rgba(197, 165, 114, 0.10), transparent 60%),
        linear-gradient(160deg, #100c28 0%, #0a0818 100%);
    border: 1px solid rgba(217, 188, 126, 0.32);
    border-radius: var(--radius);
    padding: clamp(1.3rem, 3vw, 1.9rem);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.vault-shield { flex-shrink: 0; width: 88px; }
.vault-shield svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4)); }
.vault-main { flex: 1; min-width: 0; }
.vault-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.vault-head .plat-name { color: #fff; }
.vault-head .plat-name small { color: #D9BC7E; }
.vault-desc { color: #C9C5D6; font-size: 0.9rem; line-height: 1.65; margin-top: 0.6rem; max-width: 660px; }
.vault-desc strong { color: #fff; font-weight: 600; }
.vault-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem 1.6rem;
    margin-top: 1.1rem;
}
.vault-compliance {
    display: flex; flex-wrap: wrap; gap: 0.7rem;
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(217, 188, 126, 0.25);
}
.vc-item {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #D9BC7E;
    background: rgba(217, 188, 126, 0.07);
    border: 1px solid rgba(217, 188, 126, 0.35);
    border-radius: 6px;
    padding: 0.5rem 0.9rem;
}
.vc-item svg { width: 13px; height: 13px; color: #2dd4a7; flex-shrink: 0; }
.vault-cat {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D9BC7E;
    margin-bottom: 0.5rem;
}
.vault-chips { display: flex; flex-wrap: wrap; gap: 0.28rem; }
.vault-chips span {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    color: #D4CFF0;
    background: rgba(185, 169, 242, 0.08);
    border: 1px solid rgba(185, 169, 242, 0.22);
    border-radius: 4px;
    padding: 0.18rem 0.5rem;
    white-space: nowrap;
}
@media (max-width: 1020px) {
    .vault-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .vault { flex-direction: column; align-items: flex-start; }
    .vault-shield { width: 64px; }
    .vault-grid { grid-template-columns: 1fr; }
}
/* the flagship console — Athena's card is a dark machine, not a white box */
#platforms .plat-hero .card {
    background:
        radial-gradient(640px 280px at 92% 0%, rgba(197, 165, 114, 0.10), transparent 65%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    border-color: rgba(185, 169, 242, 0.25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
#platforms .plat-hero .card:hover { border-color: rgba(217, 188, 126, 0.45); }
#platforms .plat-name { color: #fff; }
#platforms .plat-name-athena { display: flex; flex-direction: column; align-items: flex-start; }
#platforms .athena-sig { display: block; width: 200px; height: auto; }
#platforms .plat-name-athena small { margin-top: 0.45rem; }
#platforms .plat-name small { color: #B9A9F2; }
#platforms .plat-desc { color: #C9C5D6; }
#platforms .plat-desc strong { color: #fff; }
#platforms .plat-chips span {
    color: #D4CFF0;
    background: rgba(185, 169, 242, 0.1);
    border-color: rgba(185, 169, 242, 0.3);
}
#platforms .btn-ghost.on-light {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
}
#platforms .btn-ghost.on-light:hover { border-color: var(--accent); color: #F0DFAF; }
/* the chat console — a terminal, not a screenshot */
#platforms .mock {
    background: rgba(10, 8, 32, 0.45);
    border-color: rgba(185, 169, 242, 0.25);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
#platforms .mock-bar {
    background: rgba(255, 255, 255, 0.045);
    border-bottom-color: rgba(185, 169, 242, 0.2);
}
#platforms .mock-bar .dots i { background: rgba(185, 169, 242, 0.4); }
#platforms .mock-bar .mock-title { color: #A9A4BC; }
#platforms .mock-body { background: rgba(10, 8, 32, 0.28); }
#platforms .mock-msg.user .m-bubble {
    background: linear-gradient(135deg, #5a4ba8, #42388a);
    color: #fff;
}
#platforms .mock-msg.athena .m-bubble {
    background: rgba(255, 255, 255, 0.06);
    color: #E6E3F2;
    border-color: rgba(185, 169, 242, 0.2);
}
#platforms .mock-msg .m-ava {
    background: rgba(217, 188, 126, 0.12);
    border-color: rgba(217, 188, 126, 0.35);
}
#platforms .mock-input {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(185, 169, 242, 0.3);
}
#platforms .mock-input .m-ph { color: #7E7796; }
#platforms .mock-input .m-send { background: linear-gradient(135deg, #C5A572, #A88550); }
@media (max-width: 1020px) {
    .eng-grid { grid-template-columns: 1fr 1fr; }
    .bus-drops { grid-template-columns: repeat(2, 1fr); height: 28px; }
    .eng-foundation { flex-wrap: wrap; }
    .eng-foundation .eng-link { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
    .eng-grid { grid-template-columns: 1fr; }
    .bus-drops { display: none; }
    .engine-bus { flex-wrap: wrap; justify-content: center; }
    .engine-bus::before, .engine-bus::after { display: none; }
}

/* Athena product mock — pure CSS, no screenshot needed */
.mock {
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.mock-bar {
    height: 38px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0 0.9rem;
}
.mock-bar .dots { display: flex; gap: 5px; }
.mock-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock-bar .mock-title {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    color: var(--muted-2);
    margin-left: 0.4rem;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.mock-body { padding: 1.1rem 1rem 1.2rem; display: grid; gap: 0.8rem; background: #fff; }
.mock-msg { display: flex; gap: 0.6rem; align-items: flex-start; }
.mock-msg .m-ava {
    width: 26px; height: 26px; border-radius: 6px;
    background: var(--accent-tint);
    border: 1px solid rgba(197, 165, 114, 0.25);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mock-msg .m-ava img { width: 16px; height: 16px; }
.mock-msg .m-bubble {
    border-radius: 6px;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    line-height: 1.5;
    max-width: 88%;
}
.mock-msg.user { justify-content: flex-end; }
.mock-msg.user .m-bubble {
    background: var(--jacarta);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.mock-msg.athena .m-bubble {
    background: var(--bg-alt);
    color: var(--ink-2);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--line);
}
.mock-msg .m-bubble strong { font-weight: 600; }
.mock-input {
    display: flex; align-items: center; gap: 0.6rem;
    border: 1px solid var(--line-2);
    border-radius: 4px;
    padding: 0.55rem 0.85rem;
}
.mock-input .m-ph { font-size: 0.8rem; color: var(--muted-2); flex: 1; }
.mock-input .m-send {
    width: 26px; height: 26px; border-radius: 6px;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.mock-input .m-send svg { width: 12px; height: 12px; }

/* ---------- proof — six case files, one per engagement ---------- */
.proof-card { border-top: 3px solid var(--ind, var(--accent)); }
.proof-card:hover { border-color: var(--line-2); border-top-color: var(--ind, var(--accent)); }
.proof-card h3 { font-family: var(--font-disp); font-size: 0.98rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.proof-card h3 em { font-style: normal; color: var(--ind, var(--accent-ink)); font-weight: 600; }
.proof-ind {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ind, var(--accent-ink));
    display: flex; align-items: center; gap: 0.5rem;
    order: -1;
}
.proof-ind::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ind, var(--accent));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ind, #C5A572) 20%, transparent);
    flex-shrink: 0;
}
/* glass sheen over the mockup screens */
.img-card .ic-media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.18), transparent 42%);
    pointer-events: none;
}
#systems .card:hover { border-color: rgba(197, 165, 114, 0.55); }
#systems .card:hover .card-icon { border-color: rgba(197, 165, 114, 0.45); color: var(--gold-ink); }
#systems .card-icon { transition: border-color 0.25s, color 0.25s; }
.proof-card p { font-size: 0.85rem; }

/* ---------- case study modal — the engagement, in full ---------- */
.case-modal {
    position: fixed; inset: 0; z-index: 120;
    display: none;
    align-items: center; justify-content: center;
    padding: clamp(0.75rem, 3vw, 2rem);
}
.case-modal.open { display: flex; }
.case-backdrop {
    position: absolute; inset: 0;
    background: rgba(10, 8, 32, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.case-modal.open .case-backdrop { opacity: 1; }
.case-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: min(86vh, 880px);
    overflow-y: auto;
    background: var(--surface);
    border-radius: 14px;
    border-top: 4px solid var(--ind, var(--accent));
    box-shadow: 0 30px 90px rgba(5, 3, 20, 0.5);
    opacity: 0;
    transform: translateY(26px) scale(0.98);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-modal.open .case-dialog { opacity: 1; transform: none; }
/* the ghost scrollbar — almost not there, until you need it */
/* the ghost scrollbar — every scrollbar, the page included */
html { scrollbar-width: thin; scrollbar-color: rgba(45, 39, 105, 0.15) transparent; }
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { background: rgba(45, 39, 105, 0.15); border-radius: 99px; }
html::-webkit-scrollbar-thumb:hover { background: rgba(45, 39, 105, 0.3); }
.case-dialog { scrollbar-width: thin; scrollbar-color: rgba(45, 39, 105, 0.15) transparent; }
.case-dialog::-webkit-scrollbar { width: 5px; }
.case-dialog::-webkit-scrollbar-track { background: transparent; }
.case-dialog::-webkit-scrollbar-thumb { background: rgba(45, 39, 105, 0.15); border-radius: 99px; }
.case-dialog::-webkit-scrollbar-thumb:hover { background: rgba(45, 39, 105, 0.3); }
.case-close {
    position: absolute; top: 0.9rem; right: 0.9rem; z-index: 5;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink);
    box-shadow: var(--shadow);
    transition: border-color 0.2s, transform 0.25s, color 0.2s;
}
.case-close:hover { border-color: var(--ind, var(--accent)); color: var(--ind, var(--accent-ink)); transform: rotate(90deg); }
.case-media {
    border-bottom: 1px solid var(--line);
    background: #FBFAF8;
    position: relative;
}
.case-media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.18), transparent 42%);
    pointer-events: none;
}
.case-media svg { display: block; width: 100%; height: auto; }
.case-body { padding: clamp(1.4rem, 4vw, 2rem) clamp(1.4rem, 4vw, 2.1rem) 1.5rem; }
.case-kicker {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ind, var(--accent-ink));
    display: flex; align-items: center; gap: 0.5rem;
}
.case-kicker::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ind, var(--accent));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ind, #C5A572) 20%, transparent);
}
#caseTitle {
    font-family: var(--font-disp);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0.6rem 0 1.3rem;
}
#caseTitle em { font-style: normal; color: var(--ind, var(--accent-ink)); }
.case-label {
    display: flex; align-items: center; gap: 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ind, var(--accent-ink));
    margin-bottom: 0.5rem;
}
.case-label::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, color-mix(in srgb, var(--ind, #4A3F9E) 35%, transparent), transparent);
}
.case-block { margin-bottom: 1.2rem; }
.case-block p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.7; }
.case-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0 1.3rem; }
.case-tags span {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    color: var(--ind, var(--accent-ink));
    background: color-mix(in srgb, var(--ind, #C5A572) 9%, transparent);
    border: 1px solid color-mix(in srgb, var(--ind, #C5A572) 30%, transparent);
    border-radius: 99px;
    padding: 0.22rem 0.65rem;
}
.case-foot {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    line-height: 1.6;
    color: var(--muted-2);
    border-top: 1px dashed var(--line-2);
    padding-top: 0.95rem;
}
/* the cards are now case files — they open */
.proof-card { cursor: pointer; }
.proof-card:focus-visible { outline: 2px solid var(--ind, var(--jacarta)); outline-offset: 3px; }
body.case-locked { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
    .case-dialog, .case-backdrop, .case-close { transition: none; }
}

/* the ASDL — the gated rail every engagement runs before a line of code exists */
.asdl { margin-bottom: clamp(2.6rem, 5vh, 3.6rem); }
.asdl-head {
    display: flex; align-items: baseline; gap: 0.5rem 1.2rem; flex-wrap: wrap;
    margin-bottom: 1.7rem;
}
.asdl-kicker {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4A3F9E;
    display: inline-flex; align-items: center; gap: 0.6rem;
}
.asdl-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.asdl-sub { color: var(--muted); font-size: 0.88rem; }
.asdl-sub strong { color: var(--ink); font-weight: 600; }
.asdl-rail {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    position: relative;
}
.asdl-rail::before {
    content: '';
    position: absolute;
    top: 21px; left: 6%; right: 6%;
    height: 2px;
    background: linear-gradient(90deg, rgba(45, 39, 105, 0.2), rgba(45, 39, 105, 0.5) 55%, rgba(197, 165, 114, 0.85));
}
.asdl-stage { position: relative; text-align: center; padding: 0 0.45rem; }
.asdl-node {
    width: 44px; height: 44px;
    border-radius: 50%;
    margin: 0 auto 0.7rem;
    background: var(--surface);
    border: 2px solid var(--jacarta);
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--jacarta);
    box-shadow: 0 0 0 6px rgba(241, 238, 248, 0.9);
}
/* the sign-off gates — gold diamonds on the line between stages */
.asdl-stage:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 16px; left: -5px;
    width: 10px; height: 10px;
    transform: rotate(45deg);
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(197, 165, 114, 0.22);
    z-index: 1;
}
.asdl-stage b {
    display: block;
    font-family: var(--font-disp);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.3rem;
    line-height: 1.25;
}
.asdl-stage .asdl-what {
    display: block;
    font-size: 0.74rem;
    color: var(--muted);
    line-height: 1.45;
}
.asdl-stage.asdl-final .asdl-node {
    background: linear-gradient(135deg, #C5A572, #A88550);
    border-color: #A88550;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(241, 238, 248, 0.9), 0 6px 18px rgba(197, 165, 114, 0.4);
}
.asdl-stage.asdl-final b { color: var(--accent-ink); }
@media (max-width: 1020px) {
    .asdl-rail { grid-template-columns: repeat(4, 1fr); row-gap: 1.6rem; }
    .asdl-rail::before, .asdl-stage:not(:first-child)::before { display: none; }
}
@media (max-width: 640px) {
    .asdl-rail { grid-template-columns: repeat(2, 1fr); }
    .asdl-stage.asdl-final { grid-column: 1 / -1; }
}

/* ---------- why — the manifesto: cinematic stage + four statements ---------- */
#why .sec-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); }
.why-stage {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 0 0 clamp(2rem, 4vh, 3rem);
}
.why-stage img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 50%; display: block; }
/* the jacarta veil — the same duotone the hero wears */
.why-veil {
    position: absolute; inset: 0;
    background: linear-gradient(165deg, rgba(45, 39, 105, 0.30), rgba(26, 21, 56, 0.08) 52%, rgba(26, 21, 56, 0.50));
    mix-blend-mode: multiply;
    pointer-events: none;
}
.why-hud i {
    position: absolute;
    width: 20px; height: 20px;
    border-color: rgba(185, 169, 242, 0.6);
    border-style: solid; border-width: 0;
}
.why-hud .tl { top: 12px; left: 12px; border-top-width: 1.5px; border-left-width: 1.5px; border-top-left-radius: 5px; }
.why-hud .tr { top: 12px; right: 12px; border-top-width: 1.5px; border-right-width: 1.5px; border-top-right-radius: 5px; }
.why-hud .bl { bottom: 12px; left: 12px; border-bottom-width: 1.5px; border-left-width: 1.5px; border-bottom-left-radius: 5px; }
.why-hud .br { bottom: 12px; right: 12px; border-bottom-width: 1.5px; border-right-width: 1.5px; border-bottom-right-radius: 5px; }
.why-stage .why-chip {
    position: absolute; left: 1.4rem; bottom: 1.4rem;
    width: min(300px, 62%);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.95rem 1.1rem;
    box-shadow: var(--shadow-lg);
}
.why-chip b {
    display: block;
    font-family: var(--font-disp);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--jacarta);
}
.why-chip b small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-top: 0.45rem;
}
.why-chip span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-top: 0.7rem;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--line-2);
}
/* the four statements — a broadsheet wall */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
}
.why-item {
    position: relative;
    padding: 2.1rem 2.2rem 2.1rem 0;
    border-bottom: 1px solid var(--line);
}
.why-item:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 2.2rem;
    padding-right: 0;
}
.why-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0.6rem; }
.why-item .why-no {
    font-family: var(--font-disp);
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 0.9;
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(45, 39, 105, 0.22);
    margin-bottom: 1rem;
    transition: -webkit-text-stroke-color 0.25s;
}
.why-item:hover .why-no { -webkit-text-stroke-color: rgba(168, 133, 80, 0.6); }
.why-item h3 {
    font-family: var(--font-disp);
    font-size: clamp(1.3rem, 2.2vw, 1.62rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    max-width: 400px;
    margin-bottom: 0.55rem;
}
.why-item p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; max-width: 460px; }
/* the receipt — every claim carries its evidence */
.why-receipt {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-top: 0.85rem;
    opacity: 0.78;
    transition: opacity 0.25s;
}
.why-receipt::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 2px;
    background: var(--accent);
    flex-shrink: 0;
}
.why-item:hover .why-receipt { opacity: 1; }
@media (max-width: 1020px) {
    .why-stage img { aspect-ratio: 3 / 2; }
    .why-grid { grid-template-columns: 1fr; }
    .why-item, .why-item:nth-child(even) { padding: 1.8rem 0; border-left: none; border-bottom: 1px solid var(--line); }
    .why-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 1.8rem; }
    .why-item:last-child { border-bottom: none; }
}

/* ---------- the aristos proprietary system (dark ink band) ---------- */
.band-dark {
    position: relative;
    background: radial-gradient(700px 340px at 100% 0%, rgba(152, 137, 192, 0.26), transparent 65%), var(--band);
    color: #F2F1F7;
    overflow: hidden;
}

.band-dark .wrap { position: relative; }
.band-dark .eyebrow { color: #D9BC7E; }
.band-dark .eyebrow::after { background: linear-gradient(90deg, rgba(255,255,255,0.25), transparent); }
.sov-shell {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.sov-shell h2 {
    font-family: var(--font-disp);
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.018em;
    color: #fff;
}
.sov-shell .sov-lede { color: #A9A4BC; margin-top: 0.9rem; max-width: 520px; }
.sov-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.sov-badges span {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    color: #D4CFF0;
    border: 1px solid rgba(180, 168, 236, 0.35);
    border-radius: 4px;
    padding: 0.45rem 0.85rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.sov-badges span::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: #D9BC7E; }
.sov-facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.sov-facts li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--band-line);
    border-radius: 6px;
    padding: 1rem 1.1rem;
    font-size: 0.88rem;
    color: #A9A4BC;
    line-height: 1.5;
    backdrop-filter: blur(4px);
}
.sov-facts li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: #8F7FE8; }
.sov-facts li strong { color: #fff; font-weight: 600; }

/* ---------- about / founders ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.portrait-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.portrait-card img { width: 100%; aspect-ratio: 3 / 3.8; object-fit: cover; object-position: 50% 14%; }
.portrait-card .p-chip {
    position: absolute; left: 1rem; bottom: 1rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 0.45rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    color: var(--ink-2);
}
.founder-card { display: flex; gap: 1.35rem; align-items: flex-start; padding: 1.5rem; }
.founder-card + .founder-card { margin-top: 0.9rem; }
.founder-card img {
    width: 86px; height: 86px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--line-2);
    flex-shrink: 0;
}
.founder-card h3 { font-family: var(--font-disp); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.founder-role {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-ink);
    display: block;
    margin-bottom: 0.55rem;
}
.founder-card p { font-size: 0.9rem; }
.founder-card .why-receipt { margin-top: 0.7rem; }
.about-note {
    font-family: var(--font-disp);
    color: var(--ink-2);
    max-width: 640px;
    margin-top: 1.7rem;
    font-size: 1.12rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
    border-left: 3px solid var(--accent);
    padding-left: 1.4rem;
}
.about-note strong { color: var(--accent-ink); font-weight: 700; }

/* ---------- intelligence ---------- */
/* the brief — a publication panel, not a link card */
.brief {
    display: block;
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(197, 165, 114, 0.10), transparent 60%),
        linear-gradient(160deg, #100c28 0%, #0a0818 100%);
    border: 1px solid rgba(217, 188, 126, 0.32);
    border-radius: var(--radius);
    padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.6rem, 4vw, 2.6rem);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.brief:hover { border-color: rgba(217, 188, 126, 0.5); }
.brief-mast {
    display: flex; align-items: baseline; gap: 0.6rem 1.3rem; flex-wrap: wrap;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(217, 188, 126, 0.25);
}
.brief-brand {
    display: inline-flex; align-items: center; gap: 0.6rem;
}
.brief-brand img {
    height: clamp(1.45rem, 3vw, 2.05rem);
    width: auto;
    display: block;
}
.brief-brand em {
    font-family: var(--font-disp);
    font-size: clamp(1.3rem, 2.7vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1;
    color: #fff;
    font-style: normal;
}
.brief-meta {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #D9BC7E;
    margin-left: auto;
}
.brief-body { padding-top: 1.35rem; min-width: 0; }
.brief-cols > * { min-width: 0; }
.brief-cols {
    display: grid;
    grid-template-columns: 1fr 235px;
    gap: clamp(1.6rem, 4vw, 3.2rem);
    align-items: start;
}
.brief-beats {
    border-left: 1px solid rgba(217, 188, 126, 0.25);
    padding-left: 1.5rem;
    padding-top: 0.2rem;
}
.brief-cat {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D9BC7E;
    margin-bottom: 0.85rem;
}
.brief-beats ul { list-style: none; display: grid; gap: 0.6rem; }
.brief-beats li {
    font-family: var(--font-disp);
    font-size: 0.94rem;
    font-weight: 600;
    color: #E6E3F2;
    line-height: 1.3;
    display: flex; align-items: baseline; gap: 0.55rem;
}
.brief-beats li::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 2px;
    background: rgba(217, 188, 126, 0.55);
    flex-shrink: 0;
}
@media (max-width: 860px) {
    .brief-cols { grid-template-columns: 1fr; }
    .brief-beats {
        border-left: none; padding-left: 0;
        border-top: 1px solid rgba(217, 188, 126, 0.22);
        padding-top: 1.15rem;
    }
    .brief-beats ul { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 1.6rem; }
}
.brief-body h3 {
    font-family: var(--font-disp);
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 0.6rem;
}
.brief-body p { color: #C9C5D6; font-size: 0.95rem; line-height: 1.65; max-width: 680px; }
/* the position — a statement a boardroom can quote */
.brief-statement {
    font-family: var(--font-disp);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #fff;
    max-width: 720px;
    margin-bottom: 1rem;
}
.brief-statement em { font-style: normal; color: #D9BC7E; }
.brief-support { margin-top: 0; }
.brief-foot {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(217, 188, 126, 0.62);
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(217, 188, 126, 0.22);
    max-width: none;
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap;
    min-width: 0;
}
.brief-foot a { white-space: nowrap; }
.brief-foot a { color: #D9BC7E; }
.brief-foot a:hover { text-decoration: underline; color: #F0DFAF; }

/* ---------- contact ---------- */
.contact-shell {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
/* the 24-hour promise — what happens next, as a rail */
.contact-h2 {
    font-family: var(--font-disp);
    font-size: clamp(2.1rem, 4.4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.contact-h2 em { font-style: normal; color: var(--jacarta); }
.contact-lede { color: var(--muted); margin-top: 1rem; font-size: 1.02rem; max-width: 520px; }
.next-rail {
    list-style: none;
    margin: 1.9rem 0 0;
    position: relative;
}
.next-rail::before {
    content: '';
    position: absolute;
    left: 15px; top: 12px; bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, rgba(45, 39, 105, 0.22), rgba(197, 165, 114, 0.65));
}
.next-step {
    position: relative;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 1.05rem;
    padding: 0.8rem 0;
}
.next-no {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--jacarta);
    color: var(--jacarta);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
    box-shadow: 0 0 0 5px var(--bg);
    transition: border-color 0.25s, color 0.25s;
}
.next-step:hover .next-no { border-color: var(--accent); color: var(--gold-ink); }
.next-step:last-child .next-no {
    background: linear-gradient(135deg, #C5A572, #A88550);
    border-color: #A88550;
    color: #fff;
    box-shadow: 0 0 0 5px var(--bg), 0 6px 16px rgba(197, 165, 114, 0.4);
}
.next-step b {
    font-family: var(--font-disp);
    font-size: 0.99rem;
    font-weight: 700;
    color: var(--ink);
    display: block;
    line-height: 1.3;
}
.next-step span:not(.next-no) {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
    margin-top: 0.15rem;
}
.contact-direct {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
    font-family: var(--font-mono); font-size: 0.78rem;
    color: var(--muted-2);
    margin-top: 1.4rem;
}
.contact-direct a { color: var(--muted); }
.contact-direct a:hover { color: var(--accent-ink); }

.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    position: relative;
}
.form-card h3 { font-family: var(--font-disp); font-size: 1.28rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.45rem; }
.form-meta {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-ink);
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1.35rem;
}
.form-meta::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(45, 212, 167, 0.18);
    flex-shrink: 0;
}
.form-banner {
    display: none;
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: #B91C1C;
    border-radius: 4px;
    font-size: 0.84rem;
    padding: 0.7rem 1rem;
    margin-bottom: 1.1rem;
}
.form-banner.show { display: block; }
.fr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.fg { margin-bottom: 0.95rem; }
.fg label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.45rem;
    transition: color 0.2s;
}
.fg:focus-within label { color: var(--gold-ink); }
.fg label span { color: var(--red); }
.fg input, .fg textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 4px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.94rem;
    padding: 0.72rem 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fg textarea { min-height: 96px; resize: vertical; }
.fg input:focus, .fg textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(197, 165, 114, 0.14);
}
.fg input.invalid, .fg textarea.invalid { border-color: rgba(220, 38, 38, 0.55); }
.fg input::placeholder, .fg textarea::placeholder { color: var(--muted-2); }
.btn-submit {
    width: 100%;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border: 1px solid rgba(197, 165, 114, 0.4);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.86rem;
    letter-spacing: 0.05em;
    border-radius: 4px;
    padding: 0.9rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    box-shadow: 0 8px 20px rgba(197, 165, 114, 0.26);
}
.btn-submit { overflow: hidden; }
.btn-submit::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 45%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}
.btn-submit:hover:not(:disabled) {
    background: var(--accent-deep);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(197, 165, 114, 0.4);
}
.btn-submit:hover:not(:disabled)::after { left: 135%; }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }
.spinner {
    display: none;
    width: 15px; height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
.btn-submit.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-reassure {
    font-size: 0.78rem;
    color: var(--muted-2);
    text-align: center;
    margin-top: 0.9rem;
}
/* form states */
.form-state { display: none; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; padding: 1.5rem 0; }
.form-state.active { display: flex; }
.check-wrap { margin-bottom: 0.6rem; }
.check-svg { width: 74px; height: 74px; }
.check-svg circle { fill: none; stroke: url(#checkGradient2); stroke-width: 2.5; }
.check-svg path { fill: none; stroke: url(#checkGradient2); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.success-title { font-family: var(--font-disp); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.success-message { color: var(--muted); font-size: 0.92rem; max-width: 380px; }
.success-next { margin-top: 1rem; }
.success-next-label {
    font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.35rem;
}
.success-next-text { color: var(--muted); font-size: 0.86rem; max-width: 400px; }
.success-ref {
    font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted);
    margin-top: 1rem; border: 1px dashed var(--line-2); border-radius: 6px; padding: 0.45rem 0.9rem;
}
.success-ref strong { color: var(--accent-ink); }
.success-contact { font-size: 0.82rem; color: var(--muted-2); margin-top: 0.8rem; line-height: 1.8; }
.error-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(220, 38, 38, 0.07);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--red);
    font-family: var(--font-disp); font-weight: 700; font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.6rem;
}
.error-title { font-family: var(--font-disp); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.error-message { color: var(--muted); font-size: 0.9rem; max-width: 380px; }
.btn-retry {
    margin-top: 1.1rem;
    background: transparent; border: 1px solid var(--line-2); border-radius: 4px;
    color: var(--ink); font-family: var(--font-mono); font-size: 0.8rem;
    padding: 0.6rem 1.3rem; cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.btn-retry:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ---------- footer (dark ink) ---------- */
footer {
    border-top: 1px solid var(--band-line);
    background: var(--band);
    color: #A9A4BC;
    padding: 3.5rem 0 2rem;
    margin-top: 2rem;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.foot-brand > img { height: 32px; width: auto; margin-bottom: 1rem; }
.foot-brand p { color: #A9A4BC; font-size: 0.85rem; max-width: 280px; }
.foot-col h4 {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7E7796;
    margin-bottom: 1rem;
}
.foot-col ul { list-style: none; display: grid; gap: 0.55rem; }
.foot-col a { color: #C9C5D6; font-size: 0.88rem; transition: color 0.2s; }
.foot-col a:hover { color: #D9BC7E; }
.foot-bottom {
    border-top: 1px solid var(--band-line);
    padding-top: 1.6rem;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: #7E7796;
}
.foot-film a { color: #D9BC7E; }
.foot-film a:hover { text-decoration: underline; }

/* AIIA member badge — the official "Proud Member" mark on a light sticker chip */
/* trust badges — the member mark and the security seal, side by side */
/* the credentials block — the badge pair with one quiet caption line beneath */
.trust-wrap {
    display: inline-block;
    margin-top: 1.4rem;
}
.foot-brand .trust-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #A9A4BC;
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
    margin: 0.65rem 0 0;
}
.trust-badges {
    display: flex; flex-wrap: nowrap; align-items: center;
    gap: 1rem;
}
.trust-badges > a { flex: 0 0 auto; }
.foot-brand .trust-label { white-space: normal; max-width: 220px; }
.aiia-badge {
    display: inline-flex; align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(10, 10, 12, 0.08);
    border-radius: 6px;
    padding: 5px 7px;
    line-height: 0;
    box-shadow: 0 4px 14px rgba(10, 10, 12, 0.35);
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.aiia-badge img, .aiia-badge svg { width: auto; height: 80px; margin: 0; display: block; }
.aiia-badge:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(10, 10, 12, 0.45); border-color: rgba(197, 165, 114, 0.5); }

/* the AristosID seal — the chip IS the shield; the mark breathes inside a protected glow */
.sid-badge {
    display: inline-flex; align-items: center;
    padding: 0; background: none; border: none;
    line-height: 0; cursor: pointer;
    transition: transform 0.2s;
}
.sid-badge img, .sid-badge svg {
    width: 96px; height: 96px;
    display: block;
    border-radius: 50%;
    filter: drop-shadow(0 1px 2px rgba(10, 10, 12, 0.28)) drop-shadow(0 6px 16px rgba(10, 10, 12, 0.38));
    transition: filter 0.2s;
}
.sid-badge:hover { transform: translateY(-1px); }
.sid-badge:hover img, .sid-badge:hover svg { filter: drop-shadow(0 1px 2px rgba(10, 10, 12, 0.28)) drop-shadow(0 10px 24px rgba(10, 10, 12, 0.48)); }

/* the mark breathes — a quiet "systems nominal" pulse */
@keyframes sid-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
@keyframes sid-breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.82; }
}


/* ---------- in the news — playable coverage, clipping-style frames ---------- */
.press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    align-items: start;
}
.press-video {
    margin: 0;
    background: #fff;
    padding: 9px 9px 11px;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}
.press-video video {
    width: 100%;
    display: block;
    border-radius: 2px;
    background: #0a0a0c;
}
.press-video figcaption {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #6b6862;
    padding-top: 8px;
    text-align: center;
}
.press-video.pv-tall video { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.press-video.pv-tall { transform: rotate(-1.2deg); }
.press-video.pv-wide video { aspect-ratio: 16 / 9; object-fit: cover; }
.press-video.pv-wide { transform: rotate(0.8deg); }
.press-video:hover { transform: none; }
@media (max-width: 860px) {
    .press-grid { grid-template-columns: 1fr; }
}

/* the forum photo strip — event evidence under the coverage */
.press-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 1.4rem;
    align-items: start;
}
.press-strip-shot {
    margin: 0;
    background: #fff;
    padding: 7px;
    border-radius: 4px;
    box-shadow: var(--shadow);
}
.press-strip-shot:nth-child(1) { transform: rotate(-0.8deg); }
.press-strip-shot:nth-child(2) { transform: rotate(0.6deg) translateY(4px); }
.press-strip-shot:nth-child(3) { transform: rotate(-0.5deg); }
.press-strip-shot:nth-child(4) { transform: rotate(0.9deg) translateY(2px); }
.press-strip-shot img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    background: #f2f0f8;
}
.press-strip-cap {
    grid-column: 1 / -1;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #A9A4BC;
    text-align: center;
    margin: 0;
    padding-top: 0.4rem;
}
@media (max-width: 860px) {
    .press-strip { grid-template-columns: 1fr 1fr; }
}

/* ---------- router band — "what matters to you?" engagement device ---------- */
.router { max-width: 760px; margin: 0 auto; text-align: center; }
.router-q {
    font-family: var(--font-disp);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--ink);
}
.router-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 1.8rem;
    text-align: center;
}
.router-opt {
    font-family: var(--font-body);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.15rem 1rem;
    cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
    transition: border-color 0.2s, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s;
}
.router-opt:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(23, 21, 31, 0.08); }
.router-opt:active { transform: translateY(0) scale(0.97); }
.router-opt.is-picked { border-color: var(--accent); background: var(--accent-tint); }
.router-opt svg { width: 22px; height: 22px; color: var(--accent-ink); margin-bottom: 0.35rem; transition: color 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.router-opt:hover svg { color: var(--gold-ink); transform: translateY(-3px); }
.router-opt b { font-family: var(--font-disp); font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.router-opt span { font-size: 0.78rem; color: var(--muted); line-height: 1.45; }
.router-reply {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--accent-ink);
    margin: 1.5rem auto 0;
    min-height: 1.4em;
    display: flex; align-items: center; justify-content: center; gap: 0.55rem;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.router-reply::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 2px;
    background: var(--accent);
    flex-shrink: 0;
}
.router-reply a { color: var(--gold-ink); font-weight: 500; }
.router-reply a:hover { text-decoration: underline; }
.router-reply.is-live { opacity: 1; transform: none; }

/* ---------- back to top — the scroll-progress FAB ---------- */
.to-top {
    position: fixed;
    right: clamp(1.1rem, 3vw, 1.75rem);
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 95;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    /* dormant until there's somewhere to go back from */
    opacity: 0; transform: translateY(14px) scale(0.85);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(197, 165, 114, 0.35), var(--shadow-lg); }
.to-top:active { transform: scale(0.92); }
.to-top.is-done { border-color: rgba(197, 165, 114, 0.65); box-shadow: 0 0 0 4px rgba(197, 165, 114, 0.14), var(--shadow-lg); }

/* the progress ring — hugs the button edge, starts at 12 o'clock */
.tt-ring {
    position: absolute; top: -1px; left: -1px;
    width: calc(100% + 2px); height: calc(100% + 2px);
    transform: rotate(-90deg);
    pointer-events: none;
}
.tt-track { fill: none; stroke: var(--line-2); stroke-width: 2; }
.tt-bar {
    fill: none;
    stroke: url(#ttGold);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 144.5;   /* 2πr, r = 23 */
    stroke-dashoffset: 144.5;
}
.tt-arrow {
    width: 18px; height: 18px;
    color: var(--ink);
    position: relative;
    transition: color 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.to-top:hover .tt-arrow { color: var(--accent-ink); transform: translateY(-2px); }
.to-top.launch .tt-arrow { animation: tt-hop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes tt-hop {
    0% { transform: translateY(0); }
    35% { transform: translateY(-7px); }
    100% { transform: translateY(0); }
}

/* the label chip — slides out on hover / keyboard focus */
.tt-chip {
    position: absolute; right: calc(100% + 0.7rem); top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border: 1px solid rgba(197, 165, 114, 0.4);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(197, 165, 114, 0.35);
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.tt-chip b { font-weight: 500; opacity: 0.85; }
.to-top:hover .tt-chip,
.to-top:focus-visible .tt-chip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv { opacity: 1; transform: none; transition: none; }
    .card, .btn, .btn-primary { transition: none; transform: none; }
    .img-card:hover .ic-media img { transform: none; }
    .scroll-cue i { animation: none; }
    .hud .hud-tag i { animation: none; }
    .sid-ring, .sid-mark { animation: none; }
    .bus-drops span::after { animation: none; }
    .hero-inner > * { animation: none; }
    .aurora { animation: none; }
    .ticker-track { animation: none; }
    .to-top { transition: opacity 0.2s ease; }
    .to-top.launch .tt-arrow { animation: none; }
    .tt-chip { transition: opacity 0.2s ease; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .router-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .stat:nth-child(4) { border-left: none; }
    .sov-shell, .about-grid, .contact-shell { grid-template-columns: 1fr; }
    .why-stage img { aspect-ratio: 3 / 2; object-position: 50% 50%; }
    .portrait-card img { aspect-ratio: 16 / 10; object-position: 50% 8%; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
    .nav-links {
        position: absolute; top: 70px; left: 0; right: 0;
        background: rgba(250, 250, 249, 0.98);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        flex-direction: column; align-items: flex-start; gap: 0;
        padding: 0.5rem 1.5rem 1.25rem;
        display: none;
    }
    .nav-links a:not(.nav-cta) { padding: 0.7rem 0; width: 100%; border-bottom: 1px solid var(--line); color: var(--muted); }
    .nav.open .nav-links a:not(.nav-cta):hover,
    .nav.open .nav-links a[aria-current="page"] { color: var(--jacarta); }
    .nav.open .nav-links { display: flex; }
    .nav.open { background: rgba(250, 250, 249, 0.98); }
    .nav.open .logo-purple { display: block; }
    .nav.open .logo-light { display: none; }
    .nav-burger { display: flex; }
    .nav-inner > .nav-cta { display: none; }
    .nav.open .nav-links .nav-cta {
        display: flex; align-items: center; justify-content: center; gap: 0.75rem;
        margin-top: 1.25rem; width: 100%; min-height: 52px; padding: 0.85rem 1.25rem;
        border: 1px solid var(--accent-deep); border-radius: 8px;
        background: linear-gradient(135deg, var(--accent), var(--accent-deep));
        color: var(--band); font-family: var(--font-body); font-size: 15px;
        font-weight: 700; line-height: 1.4; letter-spacing: 0; text-align: center;
    }
    .nav.open .nav-links .nav-cta::after { content: '\2192'; font-size: 18px; line-height: 1; }
    .nav.open .nav-links .nav-cta:hover { background: var(--accent); color: var(--band); transform: none; box-shadow: none; }
    .nav.open .nav-links .nav-cta:active { background: var(--accent-deep); transform: translateY(1px); }
    .nav.open .nav-links .nav-cta:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }
    .plat-grid { grid-template-columns: 1fr; }
    .plat-hero .card { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero { min-height: auto; padding-top: 130px; }
}
@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0.5rem; }
    .stat + .stat { border-left: none; }
    .fr2 { grid-template-columns: 1fr; }
    .founder-card img { width: 64px; height: 64px; }
    .foot-grid { grid-template-columns: 1fr; }
    .foot-bottom { flex-direction: column; align-items: flex-start; }
    .hud .hud-tag { display: none; }
    .hud .hud-tl, .hud .hud-tr { top: 82px; }
    .hud .hud-c { width: 16px; height: 16px; }
    .router-grid { grid-template-columns: 1fr; }

}

/* case-study status chip — the status vocabulary (brand standard ch 13) */
.case-status { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-left: 0.9rem; padding: 0.32rem 0.85rem; border-radius: 99px; border: 1px solid; vertical-align: middle; white-space: nowrap; }
.case-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.case-status.cs-live { color: #0E9F6E; border-color: rgba(11, 122, 85, 0.45); background: rgba(11, 122, 85, 0.07); }
.case-status.cs-live::before { box-shadow: 0 0 8px currentColor; }
.case-status.cs-test { color: #8A5A00; border-color: rgba(138, 90, 0, 0.4); background: rgba(197, 140, 20, 0.09); }
.case-status.cs-plan { color: var(--jacarta); border-color: rgba(45, 39, 105, 0.35); background: rgba(45, 39, 105, 0.06); }
.case-status.cs-done { color: #262238; border-color: rgba(38, 34, 56, 0.35); background: rgba(38, 34, 56, 0.05); }
@media (max-width: 640px) { .case-status { display: flex; margin: 0.6rem 0 0; } }


/* ============================================================= SITE CHROME
   Shared page furniture: breadcrumbs · CTA bar · case pages · transitions
   ============================================================= */
/* breadcrumbs — mono, the kit's ui-crumbs */
.crumbs{display:flex;gap:.55rem;align-items:center;font-family:var(--font-mono);font-size:.75rem;color:var(--muted);flex-wrap:wrap;margin-bottom:1.1rem}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--gold-ink)}
.crumbs span:not(:last-child)::after{content:'\2192';margin-left:.55rem;color:var(--line-2)}
.crumbs b{color:var(--ink);font-weight:500}
/* page head — the product hero, scaled to a page */
.page-head{padding:clamp(3.5rem,9vh,5.5rem) 0 clamp(2.5rem,6vh,3.5rem);position:relative}
.page-head .ghost{position:absolute;top:clamp(.6rem,2vw,1.6rem);right:clamp(1rem,4vw,3rem);font-size:clamp(5rem,12vw,9rem);font-weight:800;line-height:.8;color:transparent;-webkit-text-stroke:1.5px rgba(45,39,105,.12);pointer-events:none;user-select:none}
.page-head h1{font-family:var(--font-disp);font-size:clamp(2.2rem,5vw,3.4rem);font-weight:800;letter-spacing:-.02em;line-height:1.08;color:var(--ink);max-width:820px}
.page-head h1 em{font-style:normal;color:var(--jacarta)}
.page-head .lede{color:var(--muted);max-width:640px;margin-top:1rem;font-size:1.05rem}
.page-head .rail{margin-top:1.8rem;width:210px;height:2px;background:linear-gradient(90deg,var(--jacarta),var(--accent))}
/* CTA bar — one gold action, on every page, above the footer */
.cta-band{background:radial-gradient(ellipse at 10% 0,rgba(45,39,105,.5),transparent 65%),var(--band);border-top:0;padding:clamp(2.25rem,5vw,3.25rem) 0}
.cta-band .cta-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.cta-band h2{color:#F8F7FB;font-size:clamp(1.65rem,2.6vw,2.15rem);font-weight:800;letter-spacing:-.02em;line-height:1.12;max-width:520px;margin:0}
.cta-band h2 em{color:#B9A9F2}
.cta-band p{color:#C9C5D6;max-width:460px;font-size:14px;line-height:1.55;margin:.45rem 0 0}
.cta-actions{display:flex;flex-direction:row;align-items:center;gap:1.75rem;flex-wrap:wrap;flex-shrink:0}
.cta-actions .btn{border-radius:8px;min-height:46px;justify-content:center}
.cta-actions .btn-ghost{border-color:transparent;color:#F8F7FB;background:transparent;text-decoration:underline;text-underline-offset:5px;font-size:13px;min-height:0}
.cta-actions .btn-ghost:hover{color:#E3C88F}
footer{border-top:1px solid rgba(248,247,251,.12);margin-top:0}
@media(max-width:640px){.cta-band{padding:2.25rem 0}.cta-inner{grid-template-columns:1fr;gap:1.4rem}.cta-band h2{font-size:clamp(1.55rem,7.2vw,2rem)}.cta-band p{font-size:14.5px;margin-top:.5rem}.cta-actions{width:100%;flex-direction:column;align-items:stretch;gap:.9rem}.cta-actions .btn-primary{width:100%}.cta-actions .btn-ghost{align-self:center}}
.home-page .cta-band{background:radial-gradient(ellipse at 10% 0,rgba(45,39,105,.5),transparent 65%),var(--band);border-top:0;padding:clamp(3rem,6vw,4.5rem) 0}
/* work index cards become links */
a.proof-card{text-decoration:none;color:inherit;display:block}
a.proof-wrap{display:block;text-decoration:none;color:inherit}
a.proof-wrap .proof-card:hover{transform:translateY(-2px);border-color:var(--gold-deep) !important}
a.proof-wrap:hover .proof-ind{color:var(--gold-ink)}
a.proof-card:hover .proof-ind{color:var(--gold-ink)}
/* case study pages */
.case-rail{height:4px;border-radius:99px;background:linear-gradient(90deg,var(--ind,#2D2769),rgba(0,0,0,0));margin:1.6rem 0 0}
.case-body{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(1.5rem,4vw,3rem);margin-top:2.5rem}
.case-body h2{font-size:1.35rem;font-weight:800;color:var(--ink);letter-spacing:-.015em;margin-bottom:.8rem}
.case-body p{font-size:1.02rem;line-height:1.75;color:var(--ink-2)}
.case-what{background:#fff;border:1px solid var(--line-2);border-radius:14px;padding:clamp(1.5rem,3vw,2rem);border-top:4px solid var(--ind,#2D2769)}
.case-why p{color:var(--muted)}
.case-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.2rem}
.case-tags span{font-family:var(--font-mono);font-size:.6875rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:#6A6880;border:1px solid var(--line-2);border-radius:4px;padding:.22rem .6rem;background:var(--bg-alt)}
.case-shots{display:grid;gap:12px;margin-top:2.5rem}
.case-shots img{width:100%;border-radius:12px;border:1px solid var(--line-2);display:block}
.case-nav{display:flex;justify-content:space-between;gap:1rem;margin-top:3rem;border-top:1px solid var(--line);padding-top:1.6rem}
.case-nav a{max-width:46%;color:var(--accent-ink);font-weight:600;line-height:1.35}
.case-nav a small{display:block;font-family:var(--font-mono);font-size:.6875rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:.25rem}
.case-nav a.next{text-align:right;margin-left:auto}
.case-nav a:hover{color:var(--gold-ink)}
@media (max-width:760px){.case-body{grid-template-columns:1fr}}

/* door cards — the gateway's three doors */
.cards{display:grid;gap:1.2rem}
a.link-card{display:block;text-decoration:none;color:inherit;border:1px solid var(--line-2);border-radius:14px;background:#fff;padding:1.6rem 1.5rem;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;box-shadow:0 1px 2px rgba(23,21,31,.04)}
a.link-card:hover{transform:translateY(-2px);border-color:var(--gold-deep);box-shadow:0 2px 4px rgba(23,21,31,.05),0 16px 40px rgba(23,21,31,.09)}
a.link-card h3{font-size:1.25rem;font-weight:800;letter-spacing:-.015em;color:var(--ink);margin:.55rem 0 .45rem}
a.link-card p{font-size:.95rem;color:var(--muted);line-height:1.6}
a.link-card .more{display:inline-block;margin-top:.9rem;font-family:var(--font-mono);font-size:.75rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-ink)}
a.link-card:hover .more{color:var(--accent-ink)}
/* generic status chip (case pages) */
.chip{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--font-mono);font-size:.6875rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;padding:.32rem .7rem;border-radius:99px;border:1px solid var(--line-2);background:var(--bg-alt);color:#6A6880}
.chip i{width:7px;height:7px;border-radius:50%;background:var(--mute);flex:0 0 auto}
.chip.live{color:var(--green-ink);border-color:rgba(45,212,167,.4);background:rgba(45,212,167,.08)}
.chip.live i{background:#2DD4A7;box-shadow:0 0 8px rgba(45,212,167,.5)}
.chip.test{color:var(--gold-ink);border-color:rgba(197,165,114,.4);background:rgba(197,165,114,.08)}
.chip.test i{background:var(--accent)}
.chip.plan{color:var(--jacarta);border-color:rgba(45,39,105,.35);background:rgba(45,39,105,.07)}
.chip.plan i{background:var(--jacarta)}
.chip.done{color:var(--green-ink);border-color:rgba(11,122,85,.35);background:rgba(11,122,85,.06)}
.chip.done i{background:var(--green-ink)}
.sec-note{font-size:.95rem;line-height:1.65}
.home-router{background:radial-gradient(900px 360px at 50% 0,rgba(152,137,192,.12),transparent 70%),var(--bg)}
.home-router .router-opt{min-width:0;text-decoration:none}
.home-router .router-opt span{font-size:14px}
.home-router .router-opt:focus-visible,.press-preview-card:focus-visible,.press-more:focus-visible{outline:2px solid var(--lavender);outline-offset:3px}
.home-press{padding:clamp(2rem,5vh,3rem) 0;background:var(--surface);border-top:1px solid var(--line)}
.compact-press-inner{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr);align-items:center;gap:2rem}
.compact-press-heading .eyebrow{margin-bottom:.6rem}
.compact-press-heading h2{font-size:clamp(1.4rem,2.2vw,1.8rem);line-height:1.2;letter-spacing:-.02em;color:var(--ink);font-weight:800}
.compact-press-heading h2 em{font-style:normal;color:var(--jacarta)}
.press-more{display:inline-block;margin-top:.7rem;font-size:14px;font-weight:500;color:var(--jacarta);text-decoration:underline;text-underline-offset:4px}
.press-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.press-preview-card{display:flex;align-items:center;gap:.9rem;padding:.8rem;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);transition:border-color .2s,background .2s}
.press-preview-card:hover{border-color:var(--accent-deep);background:var(--surface)}
.press-preview-card:active{background:var(--bg-alt)}
.press-preview-thumb{position:relative;flex:0 0 80px;align-self:stretch;min-height:86px;overflow:hidden;border-radius:8px}
.press-preview-thumb img{width:100%;height:100%;object-fit:cover}
.press-preview-thumb::after{content:'';position:absolute;inset:0;background:rgba(45,39,105,.12);pointer-events:none}
.press-preview-copy{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.press-preview-label{font-family:var(--font-mono);font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);line-height:1.5}
.press-preview-copy b{font-size:14px;font-weight:700;line-height:1.4;color:var(--ink)}
.press-watch{font-size:14px;color:var(--gold-ink);line-height:1.4}
.press-video[id]{scroll-margin-top:90px}
@media(max-width:1000px){.compact-press-inner{grid-template-columns:1fr;gap:1.4rem}.press-preview-thumb{flex-basis:112px}}
@media(max-width:640px){.home-router .router-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.home-router .router-opt{padding:1rem .65rem}.home-router .router-q{font-size:clamp(1.9rem,8vw,2.6rem)}.press-preview-grid{grid-template-columns:1fr}.press-preview-thumb{flex-basis:96px}.home-router{padding:3rem 0}}
@media(prefers-reduced-motion:reduce){.home-router .router-opt,.home-router .router-opt svg,.press-preview-card{transition:none;transform:none}}
.home-page .hero{min-height:clamp(680px,92svh,940px);padding:140px 0 140px}
.home-page .hero-inner{width:100%}
.home-page .hero h1{max-width:950px;font-size:clamp(3rem,6.2vw,5.6rem);letter-spacing:-.045em;line-height:1.03}
.home-page .hero .sub{max-width:610px;font-size:clamp(1rem,1.35vw,1.125rem);font-weight:400;line-height:1.75;margin-top:1.65rem;color:#F8F7FB}
.home-page .hero-ctas{margin-top:2rem;gap:1rem}
.home-page .hero .btn{min-height:50px;border-radius:8px;padding:.8rem 1.35rem}
.home-page .hero .btn-ghost{background:rgba(20,16,46,.22);border-color:rgba(248,247,251,.45);color:#F8F7FB}
.home-page .hero .btn-ghost:hover{background:rgba(20,16,46,.55);border-color:#F8F7FB}
.home-page .hero-scrim{background:linear-gradient(90deg,rgba(20,16,46,.82),rgba(20,16,46,.58) 46%,rgba(20,16,46,.14)),linear-gradient(0deg,var(--band),transparent 35%)}
.home-page .hero .hud-tag,.home-page .hero .aurora{display:none}
.home-page .nav:not(.scrolled):not(.open) .nav-cta{background:transparent;border-color:rgba(248,247,251,.4);color:#F8F7FB}
.home-page .nav:not(.scrolled):not(.open) .nav-cta:hover{background:rgba(248,247,251,.1);border-color:#F8F7FB}
.hero-tools{position:absolute;inset:auto 0 38px;display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;z-index:4}
.hero-explore,.hero-video-toggle{display:inline-flex;align-items:center;gap:.65rem;min-height:44px;color:#F8F7FB;font-family:var(--font-mono);font-size:11px;font-weight:500;letter-spacing:.12em}
.hero-explore{border-bottom:1px solid rgba(248,247,251,.3)}
.hero-explore:hover{color:#E3C88F;border-color:#E3C88F}
.hero-explore svg{transition:transform .2s}
.hero-explore:hover svg{transform:translateY(3px)}
.hero-video-toggle{padding:.5rem .8rem;border:1px solid rgba(248,247,251,.32);border-radius:8px;background:rgba(20,16,46,.5);cursor:pointer}
.hero-video-toggle:hover{background:rgba(20,16,46,.8);border-color:#F8F7FB}
.hero-video-toggle:active{transform:translateY(1px)}
.hero-video-toggle[hidden]{display:none}
.hero-video-toggle[aria-pressed="true"] .pause-icon{opacity:.5}
.home-page .hero a:focus-visible,.hero-video-toggle:focus-visible{outline:2px solid var(--lavender);outline-offset:3px}
.home-page .stats{border-top:1px solid var(--band-line)}
.home-page .stats-grid{padding:2rem 0}
.home-page .stat b{font-size:clamp(1.8rem,3.1vw,2.8rem);letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.home-page .stat span{font-size:11px;line-height:1.7;letter-spacing:.1em;max-width:160px;margin:.45rem auto 0;color:#C9C5D6}
.home-page .home-router{padding:clamp(3.5rem,7vw,6rem) 0 clamp(2.5rem,5vw,4rem)}
.home-page .router{max-width:880px}
.home-page .router-q{font-size:clamp(2.1rem,4vw,3.25rem);line-height:1.08;letter-spacing:-.035em}
.home-page .router-grid{gap:14px;margin-top:2.2rem}
.home-page .router-opt{position:relative;min-height:176px;padding:1.5rem 1rem;border-radius:12px;justify-content:center;box-shadow:0 1px 2px rgba(20,16,46,.03)}
.home-page .router-opt:hover,.home-page .router-opt:focus-visible,.home-page .router-opt.is-current{border-color:var(--jacarta);background:rgba(45,39,105,.035);box-shadow:0 8px 24px rgba(45,39,105,.06);transform:translateY(-2px)}
.home-page .router-opt svg{width:24px;height:24px;margin-bottom:.65rem}
.home-page .router-opt span{font-size:14px;line-height:1.5;max-width:175px}
.router-context{min-height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;margin-top:1.25rem;padding:0 .5rem}
.router-context[hidden]{display:none}
.router-context p{font-size:14px;line-height:1.6;color:var(--muted);text-wrap:balance}
.router-context a{font-size:14px;font-weight:500;color:var(--jacarta);padding:.25rem .4rem;text-decoration:underline;text-underline-offset:4px}
.home-page .home-press{padding:clamp(2.5rem,5vw,3.75rem) 0;border-bottom:1px solid var(--line)}
.home-page .compact-press-inner{grid-template-columns:minmax(210px,.75fr) minmax(0,1.6fr);gap:2.5rem}
.home-page .press-preview-grid{gap:1.2rem}
.home-page .press-preview-card{display:grid;grid-template-columns:1fr;padding:0;gap:0;overflow:hidden;background:var(--surface)}
.home-page .press-preview-thumb{min-height:0;height:120px;border-radius:0;overflow:hidden}
.home-page .press-preview-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.home-page .press-preview-thumb::before{content:'';position:absolute;z-index:2;left:16px;bottom:14px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid #F8F7FB;filter:drop-shadow(0 1px 2px var(--band))}
.home-page .press-preview-thumb::after{background:linear-gradient(0deg,rgba(20,16,46,.5),rgba(45,39,105,.08) 70%)}
.home-page .press-preview-card:hover img,.home-page .press-preview-card:focus-visible img{transform:scale(1.035)}
.home-page .press-preview-copy{padding:1rem 1.1rem;gap:.4rem}
.home-page .press-preview-copy b{font-size:15px}
.home-page .press-watch{display:flex;justify-content:space-between;color:var(--jacarta)}
.home-page .press-watch span{transition:transform .2s}
.home-page .press-preview-card:hover .press-watch span{transform:translateX(3px)}
.home-page footer{border-top:1px solid rgba(248,247,251,.12);margin-top:0}
@media(max-width:1000px){.home-page .compact-press-inner{grid-template-columns:1fr;gap:1.5rem}.home-page .compact-press-heading{max-width:450px}.home-page .press-preview-thumb{height:150px}}
@media(max-width:640px){.home-page .hero{min-height:720px;min-height:min(800px,100svh);padding:120px 0 112px}.home-page .hero h1{font-size:clamp(2.35rem,10.1vw,3.3rem);letter-spacing:-.035em}.home-page .hero .sub{font-size:16px;line-height:1.65;margin-top:1.4rem}.home-page .hero-ctas{gap:.75rem;margin-top:1.5rem}.home-page .hero .btn{justify-content:center;min-height:48px;font-size:13px;padding:.8rem 1rem}.home-page .hero-tools{bottom:22px;gap:.6rem}.hero-explore,.hero-video-toggle{font-size:11px;letter-spacing:0}.hero-video-toggle{padding:.5rem .65rem}.home-page .hero-scrim{background:linear-gradient(90deg,rgba(20,16,46,.78),rgba(20,16,46,.48)),linear-gradient(0deg,var(--band),transparent 60%)}.home-page .home-router{padding:3.25rem 0 2rem}.home-page .router-grid{gap:10px;margin-top:1.6rem}.home-page .router-opt{min-height:170px;padding:1.25rem .65rem}.router-context{min-height:106px;margin-top:.75rem}.home-page .press-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.home-page .press-preview-thumb{height:100px}.home-page .press-preview-copy{padding:.85rem .75rem}.home-page .press-preview-label{font-size:11px;letter-spacing:.08em}.home-page .press-preview-copy b{font-size:14px}.home-page .press-watch{font-size:14px;gap:.4rem}.home-page .stats-grid{row-gap:1.5rem}.home-page .stat:last-child{grid-column:1/-1}}
@media(max-width:640px){.home-page .hero{min-height:min(720px,100svh)}.home-page .hero-ctas{display:grid;grid-template-columns:1fr;width:100%;max-width:350px}.hero-explore,.hero-video-toggle{white-space:nowrap}.hero-video-toggle{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.home-page .hero-video,.home-page .hero-explore svg,.home-page .router-opt,.home-page .router-opt svg,.home-page .press-preview-thumb img,.home-page .press-watch span{transition:none;transform:none}.home-page .hero-inner{transform:none!important;opacity:1!important}}
/* view-transition entry polish */
html{view-transition-name:root}
:root{--gold-deep:#A88550;--green-ink:#0B7A55;--mute:#6A6880}
.inner-page main{padding-top:70px}
.rv{opacity:1;transform:none}
.foot-grid{grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(0,1fr));gap:2rem}
.case-sec .case-body{padding:0}
main>.page-head::before{display:none}
.page-head .ghost{display:none}
.page-head .wrap{isolation:isolate}
.page-head .ghost{z-index:-1}
main>section[aria-label="The five gates"] .card{margin-bottom:1.2rem}
@media(max-width:1024px){.foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.foot-brand{grid-column:1/-1}}
@media(max-width:640px){.cards.grid-3{grid-template-columns:1fr}.foot-grid{grid-template-columns:1fr 1fr;gap:1.8rem 1rem}.foot-brand{grid-column:1/-1}.page-head{padding-top:2.5rem}.cta-actions a{min-width:0}.case-nav a{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}
@view-transition{navigation:auto}

/* SPA feel — cross-fade page navigations (Chromium); no-op elsewhere */
@view-transition{navigation:auto}
