/* ============================================================
   SideQuest Voice: "the property at night"
   Deep-purple nightfall palette, ice-blue line-light accents.
   Hand-rolled, no framework. One file, fast.
   ============================================================ */

:root {
    --bg-0: #0a0714;          /* page ground: near-black violet */
    --bg-1: #110b20;
    --bg-2: #170f2c;
    --panel: rgba(126, 96, 255, 0.055);
    --line: rgba(178, 152, 255, 0.14);
    --line-soft: rgba(178, 152, 255, 0.08);

    --text: #f1ecfc;
    --text-dim: #b3a6d6;
    --text-faint: #8577ab;

    --violet: #7a5cff;
    --violet-deep: #432ea8;
    --ice: #9fd9ff;
    --ice-bright: #dcf1ff;
    --ice-dim: rgba(159, 217, 255, 0.55);

    --radius: 20px;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Instrument Sans", -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;

    --pad: clamp(1.25rem, 5vw, 3rem);
    --sec-gap: clamp(5.5rem, 12vw, 10rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg-0);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

::selection { background: rgba(122, 92, 255, 0.45); color: var(--ice-bright); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--pad); }

/* ---- film grain, one fixed layer, GPU-cheap ---- */
.grain {
    position: fixed; inset: -50%; z-index: 40; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.05; mix-blend-mode: overlay;
}

/* ============================================================
   Header
   ============================================================ */
.site-head {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
    border-bottom: 1px solid transparent;
}
.site-head.is-scrolled {
    background: rgba(10, 7, 20, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom-color: var(--line-soft);
}
.head-row { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }

.wordmark { display: inline-flex; align-items: baseline; gap: 0.45rem; }
.wordmark-name {
    font-family: var(--font-display);
    font-size: 1.35rem; font-weight: 500; font-style: italic;
    letter-spacing: 0.01em; color: var(--text);
}
.live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--ice); align-self: center;
    box-shadow: 0 0 0 0 rgba(159, 217, 255, 0.5);
    animation: pulse 3.2s ease-out infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(159, 217, 255, 0.45); }
    55%  { box-shadow: 0 0 0 9px rgba(159, 217, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(159, 217, 255, 0); }
}

.site-nav { display: flex; align-items: center; gap: clamp(0.25rem, 2vw, 1rem); }
.nav-link {
    position: relative; white-space: nowrap;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-dim); padding: 0.5rem 0.55rem;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: ""; position: absolute; left: 0.55rem; right: 0.55rem; bottom: 0.15rem;
    height: 1px; background: var(--ice);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover, .nav-link.is-here { color: var(--text); }
.nav-link:hover::after, .nav-link.is-here::after { transform: scaleX(1); }

.nav-cta {
    margin-left: 0.35rem;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--bg-0); background: var(--ice);
    padding: 0.6rem 1.15rem; border-radius: 999px;
    box-shadow: 0 0 24px rgba(159, 217, 255, 0.22);
    transition: box-shadow 0.35s ease, transform 0.35s ease, background 0.35s ease;
}
.nav-cta:hover { background: var(--ice-bright); box-shadow: 0 0 34px rgba(159, 217, 255, 0.45); transform: translateY(-1px); }

@media (max-width: 40rem) {
    .head-row { height: 4rem; }
    .wordmark-name { font-size: 1.15rem; }
    .nav-link { font-size: 0.7rem; letter-spacing: 0.09em; padding: 0.5rem 0.35rem; }
    .nav-cta { font-size: 0.7rem; padding: 0.5rem 0.85rem; margin-left: 0.15rem; }
}

/* ============================================================
   Hero: parallax nightfall
   ============================================================ */
.hero {
    position: relative; overflow: clip;
    display: flex; align-items: flex-end;
    min-height: 100svh;
    padding-top: 7rem;
    padding-bottom: clamp(3.5rem, 9vh, 6.5rem);
}
.hero--sub { min-height: 72svh; }
.hero--article { min-height: 56svh; }

.hero-sky { position: absolute; inset: 0; z-index: -1; }
.sky-layer { position: absolute; inset: -12% 0; will-change: transform; }
.sky-base {
    background:
        radial-gradient(120% 90% at 78% -10%, rgba(122, 92, 255, 0.34) 0%, transparent 55%),
        radial-gradient(110% 100% at 12% 8%, rgba(67, 46, 168, 0.5) 0%, transparent 60%),
        radial-gradient(150% 120% at 50% 115%, rgba(23, 15, 44, 0.9) 0%, transparent 70%),
        linear-gradient(180deg, #0d0919 0%, #140d26 45%, #0a0714 100%);
}
.aurora { filter: blur(70px); opacity: 0.8; }
.aurora-a {
    background: radial-gradient(38% 26% at 70% 30%, rgba(159, 217, 255, 0.17) 0%, transparent 100%);
    animation: drift-a 22s ease-in-out infinite alternate;
}
.aurora-b {
    background: radial-gradient(30% 22% at 26% 55%, rgba(122, 92, 255, 0.28) 0%, transparent 100%);
    animation: drift-b 26s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate3d(-2%, 0, 0) scale(1); } to { transform: translate3d(3%, 4%, 0) scale(1.08); } }
@keyframes drift-b { from { transform: translate3d(2%, 2%, 0) scale(1.05); } to { transform: translate3d(-3%, -2%, 0) scale(1); } }

.sky-horizon {
    top: auto; bottom: 18%; height: 1px; inset-inline: 0;
    background: linear-gradient(90deg, transparent 4%, rgba(159, 217, 255, 0.35) 30%, rgba(159, 217, 255, 0.65) 50%, rgba(159, 217, 255, 0.35) 70%, transparent 96%);
    box-shadow: 0 0 28px 1px rgba(159, 217, 255, 0.35);
    opacity: 0.7;
}

.hero-inner { position: relative; width: 100%; }

.eyebrow {
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ice); margin-bottom: 1.4rem;
    display: flex; align-items: center; gap: 0.9rem;
}
.eyebrow::before { content: ""; width: 2.6rem; height: 1px; background: var(--ice-dim); }
.eyebrow .crumb { color: var(--ice); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.eyebrow .crumb:hover { border-bottom-color: var(--ice-dim); }

.hero-h {
    font-family: var(--font-display);
    font-weight: 340;
    font-variation-settings: "opsz" 120;
    font-size: clamp(2.7rem, 7.2vw, 5.9rem);
    line-height: 1.02; letter-spacing: -0.015em;
    max-width: 17ch;
    text-wrap: balance;
    margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
    background: linear-gradient(115deg, var(--text) 55%, var(--ice-bright) 82%, var(--text) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: hero-sheen 9s ease-in-out infinite;
}
@keyframes hero-sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 90% 0; } }
.hero-h--sub { font-size: clamp(2.4rem, 5.8vw, 4.6rem); }

.lede {
    max-width: 62ch;
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 1.75; color: var(--text-dim);
}
.module-line {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: var(--ice);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 1.7rem; border-radius: 999px;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.btn--ice { background: var(--ice); color: var(--bg-0); box-shadow: 0 0 30px rgba(159, 217, 255, 0.25); }
.btn--ice:hover { background: var(--ice-bright); transform: translateY(-2px); box-shadow: 0 0 44px rgba(159, 217, 255, 0.45); }
.btn--ghost { border: 1px solid var(--line); color: var(--text-dim); }
.btn--ghost:hover { border-color: var(--ice-dim); color: var(--text); transform: translateY(-2px); }

.scroll-cue {
    position: absolute; right: var(--pad); bottom: 0.2rem;
    width: 1px; height: 4.2rem; overflow: hidden;
    background: var(--line);
    display: none;
}
.scroll-cue span {
    position: absolute; inset-inline: 0; top: -40%; height: 40%;
    background: var(--ice);
    animation: cue 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes cue { to { top: 110%; } }
@media (min-width: 48rem) { .scroll-cue { display: block; } }

/* ============================================================
   Sections
   ============================================================ */
.sec { padding-block: var(--sec-gap); position: relative; }
.sec--first { padding-top: calc(var(--sec-gap) + 4rem); }

.sec-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 60rem) {
    .sec-grid { grid-template-columns: 8rem minmax(0, 46rem); gap: 3rem; }
}
.sec-side { padding-top: 0.6rem; }
.sec-mark {
    font-family: var(--font-display); font-style: italic; font-weight: 300;
    font-size: 1.05rem; color: var(--ice);
    display: inline-flex; align-items: center; gap: 0.7rem;
}
.sec-mark::after { content: ""; width: 2.4rem; height: 1px; background: var(--ice-dim); }

.sec-h {
    font-family: var(--font-display); font-weight: 340;
    font-variation-settings: "opsz" 90;
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    line-height: 1.08; letter-spacing: -0.01em;
    text-wrap: balance;
    margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.sec-h--big { font-size: clamp(2.2rem, 5vw, 3.9rem); max-width: 20ch; }

.prose p { color: var(--text-dim); margin-bottom: 1.35rem; max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }
.prose--lede p:first-child { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; color: var(--text); }
.prose--center { margin-inline: auto; }
.prose--center p { margin-inline: auto; }

.text-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: 2rem; color: var(--ice); font-weight: 600; font-size: 0.95rem;
}
.text-link .arrow { transition: transform 0.3s ease; }
.text-link:hover .arrow { transform: translateX(5px); }

/* problem section: faint red-shifted dusk to set tension */
.sec--problem {
    background:
        radial-gradient(90% 60% at 15% 0%, rgba(67, 46, 168, 0.16) 0%, transparent 60%),
        var(--bg-0);
    border-top: 1px solid var(--line-soft);
}

/* ============================================================
   Shimmer borders: the signature move
   .shim gets a 1px masked gradient border whose highlight follows
   the pointer (JS feeds --mx/--my). Idle: slow breathing sweep.
   ============================================================ */
.shim {
    position: relative;
    background: linear-gradient(160deg, rgba(126, 96, 255, 0.07), rgba(126, 96, 255, 0.02) 55%);
    border-radius: var(--radius);
    isolation: isolate;
}
.shim::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border-radius: inherit; padding: 1px;
    background:
        radial-gradient(260px circle at var(--mx, 50%) var(--my, -20%),
            rgba(220, 241, 255, 0.95) 0%,
            rgba(159, 217, 255, 0.45) 28%,
            rgba(122, 92, 255, 0.28) 55%,
            rgba(122, 92, 255, 0.13) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0.55;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.shim:hover::before, .shim:focus-within::before { opacity: 1; }
/* idle shimmer sweep for touch / no-hover devices */
@media (hover: none) {
    .shim::before { animation: shim-sweep 7s ease-in-out infinite; }
    @keyframes shim-sweep {
        0%, 100% { --mx: 12%; --my: -10%; opacity: 0.4; }
        50%      { --mx: 88%; --my: 110%; opacity: 0.8; }
    }
}
.shim::after { /* soft interior glow under the pointer */
    content: ""; position: absolute; inset: 0; z-index: -1;
    border-radius: inherit;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, -20%), rgba(159, 217, 255, 0.09), transparent 65%);
    opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
}
.shim:hover::after { opacity: 1; }

/* ---- protocol list (§3) ---- */
.list-intro { margin-top: 2.4rem; margin-bottom: 1.1rem; color: var(--text); }
.protocol-list { list-style: none; display: grid; gap: 0.8rem; max-width: 46rem; }
.protocol-list li {
    display: flex; align-items: flex-start; gap: 0.9rem;
    padding: 1.05rem 1.3rem;
    color: var(--text-dim); font-size: 1rem;
}
.tick {
    flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.2rem;
    border-radius: 50%;
    border: 1px solid var(--ice-dim);
    position: relative;
}
.tick::after {
    content: ""; position: absolute; inset: 4px;
    border-radius: 50%; background: var(--ice);
    box-shadow: 0 0 10px rgba(159, 217, 255, 0.7);
}

/* ---- capability cards (§4): asymmetric bento ---- */
.caps-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.caps-head .sec-mark { margin-bottom: 1.2rem; }
.caps-intro { color: var(--text-dim); max-width: 56ch; }

.caps-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) {
    .caps-grid { grid-template-columns: repeat(6, 1fr); }
    .cap-card:nth-child(1) { grid-column: span 4; }
    .cap-card:nth-child(2) { grid-column: span 2; }
    .cap-card:nth-child(3) { grid-column: span 3; }
    .cap-card:nth-child(4) { grid-column: span 3; }
    .cap-card:nth-child(5) { grid-column: span 6; }
}
.cap-card {
    display: flex; flex-direction: column; gap: 0.85rem;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cap-card:hover { transform: translateY(-4px); }
.cap-num {
    font-family: var(--font-display); font-style: italic; font-weight: 300;
    color: var(--ice); font-size: 0.95rem;
}
.cap-h {
    font-family: var(--font-display); font-weight: 380;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.12;
    letter-spacing: -0.005em;
}
.cap-body { color: var(--text-dim); font-size: 0.98rem; max-width: 58ch; }
.cap-link {
    margin-top: auto; padding-top: 0.9rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--ice); font-size: 0.88rem; font-weight: 600;
}
.cap-link .arrow { transition: transform 0.3s ease; }
.cap-card:hover .cap-link .arrow { transform: translateX(5px); }

/* homepage capability rows */
.caps-list { display: grid; gap: 0.9rem; }
.cap-row {
    display: grid; align-items: baseline; gap: 0.4rem 1.4rem;
    grid-template-columns: 1fr auto;
    padding: 1.35rem clamp(1.2rem, 3vw, 2rem);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cap-row:hover { transform: translateY(-3px); }
.cap-row .cap-num { grid-row: 1; }
.cap-row-h {
    font-family: var(--font-display); font-weight: 380;
    font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.1;
}
.cap-row-plain { color: var(--text-dim); font-size: 0.97rem; grid-column: 1; }
.cap-row .arrow { color: var(--ice); grid-row: 2; justify-self: end; transition: transform 0.3s ease; }
.cap-row:hover .arrow { transform: translateX(5px); }
@media (min-width: 48rem) {
    .cap-row { grid-template-columns: 3.2rem minmax(14rem, 18rem) 1fr auto; align-items: center; }
    .cap-row .cap-num, .cap-row .arrow { grid-row: auto; }
    .cap-row-plain { grid-column: auto; }
}

/* ---- pick & choose (§5) ---- */
.sec--pick { text-align: center; }
.pick-inner { display: grid; justify-items: center; }
.pick-inner .sec-mark::after { display: none; }
.pick-inner .sec-mark { margin-bottom: 1.4rem; }
.pick-h {
    font-family: var(--font-display); font-weight: 320; font-style: italic;
    font-variation-settings: "opsz" 110;
    font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.12;
    letter-spacing: -0.01em; text-wrap: balance;
    max-width: 22ch; margin-bottom: 1.8rem;
}
.pick-body { color: var(--text-dim); max-width: 58ch; margin-inline: auto; }

/* ---- CTA (§6) + callback band ---- */
.sec--call, .callback-band { position: relative; overflow: clip; text-align: center; }
.callback-band { padding-block: var(--sec-gap); border-top: 1px solid var(--line-soft); }
.call-glow, .callback-band::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(55% 45% at 50% 108%, rgba(122, 92, 255, 0.28) 0%, transparent 70%),
        radial-gradient(38% 30% at 50% 112%, rgba(159, 217, 255, 0.18) 0%, transparent 70%);
}
.sec--call .sec-h--big, .band-h { margin-inline: auto; }
.band-h {
    font-family: var(--font-display); font-weight: 340;
    font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; text-wrap: balance;
    margin-bottom: 1.4rem;
}
.band-h em { font-style: italic; color: var(--ice-bright); }
.band-sub { color: var(--text-dim); max-width: 52ch; margin: 0 auto 2.4rem; }
.band-inner .eyebrow { justify-content: center; }
.band-inner .eyebrow::before { display: none; }

.call-form { max-width: 44rem; margin: clamp(2rem, 4vw, 3rem) auto 0; padding: clamp(1.4rem, 3vw, 2rem); }
.call-fields { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .call-fields { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.call-field { display: grid; gap: 0.45rem; text-align: left; }
.call-label {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--ice);
}
.call-form input {
    width: 100%; padding: 0.85rem 1rem;
    background: rgba(10, 7, 20, 0.55);
    border: 1px solid var(--line); border-radius: 12px;
    color: var(--text); font: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.call-form input::placeholder { color: var(--text-faint); }
.call-form input:focus {
    outline: none; border-color: var(--ice-dim);
    box-shadow: 0 0 0 3px rgba(159, 217, 255, 0.12), 0 0 24px rgba(159, 217, 255, 0.1);
}
.call-submit {
    font: inherit; font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    background: var(--ice); color: var(--bg-0);
    border: 0; border-radius: 999px; cursor: pointer;
    padding: 0.95rem 1.9rem;
    box-shadow: 0 0 30px rgba(159, 217, 255, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.call-submit:hover { background: var(--ice-bright); transform: translateY(-2px); box-shadow: 0 0 44px rgba(159, 217, 255, 0.5); }
.call-submit:active { transform: translateY(0); }
.call-note { margin-top: 0.9rem; font-size: 0.9rem; color: var(--text-faint); min-height: 1.3em; text-align: left; }
.call-note.is-ok { color: var(--ice); }
.call-note.is-err { color: #f0b3c0; }

/* ---- escalation (§7) ---- */
.sec--owner { padding-top: 0; }
.owner-panel { padding: clamp(2rem, 5vw, 3.5rem); text-align: left; max-width: 52rem; margin-inline: auto; }
.owner-h {
    font-family: var(--font-display); font-weight: 340;
    font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1.1rem;
}
.owner-body { color: var(--text-dim); max-width: 62ch; }

/* ---- journal ---- */
.journal-list { display: grid; gap: 0.9rem; max-width: 52rem; }
.journal-row {
    display: grid; gap: 0.3rem 1.4rem; align-items: center;
    grid-template-columns: 1fr auto;
    padding: 1.3rem 1.6rem;
}
.journal-date { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice); }
.journal-h { font-family: var(--font-display); font-size: 1.35rem; font-weight: 380; }
.journal-row .arrow { color: var(--ice); }
.prose--article { max-width: 42rem; margin-inline: auto; }
.prose--article h2 { font-family: var(--font-display); font-weight: 380; font-size: 1.6rem; margin: 2.2rem 0 0.9rem; }
.prose--article ul, .prose--article ol { color: var(--text-dim); margin: 0 0 1.35rem 1.3rem; }

.empty-state { text-align: center; padding-block: 3rem; }
.empty-mark { font-family: var(--font-display); font-style: italic; font-size: 2.4rem; color: var(--ice-dim); margin-bottom: 0.6rem; }
.empty-line { color: var(--text-faint); }

/* ============================================================
   Footer
   ============================================================ */
.site-foot { border-top: 1px solid var(--line-soft); padding-block: 3rem 3.4rem; }
.foot-row { display: grid; gap: 1.4rem; justify-items: start; }
@media (min-width: 48rem) { .foot-row { grid-template-columns: 1fr auto 1fr; align-items: center; } .foot-fine { justify-self: end; } }
.wordmark--small .wordmark-name { font-size: 1.1rem; }
.foot-nav { display: flex; gap: 1.6rem; }
.foot-nav a { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); transition: color 0.3s; }
.foot-nav a:hover { color: var(--text); }
.foot-fine { font-size: 0.85rem; color: var(--text-faint); }

/* ============================================================
   Reveal on scroll (JS adds .in; hidden only when .js present)
   ============================================================ */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv:nth-child(2) { transition-delay: 0.08s; }
.js .rv:nth-child(3) { transition-delay: 0.16s; }
.js .rv:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   Reduced motion: everything still works, nothing moves
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
    .js .rv { opacity: 1; transform: none; }
    .sky-layer { transform: none !important; }
}

/* Register shimmer coords so they interpolate (Safari 16.4+/modern) */
@property --mx { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --my { syntax: "<percentage>"; inherits: false; initial-value: -20%; }

/* ============================================================
   ALIVE PASS: motion layer
   ============================================================ */

/* -- always-on border sheen: a slow conic light circles every shim -- */
@property --rot { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.shim::before {
    background:
        radial-gradient(260px circle at var(--mx, 50%) var(--my, -20%),
            rgba(220, 241, 255, 0.95) 0%,
            rgba(159, 217, 255, 0.45) 28%,
            rgba(122, 92, 255, 0.28) 55%,
            rgba(122, 92, 255, 0.13) 100%),
        conic-gradient(from var(--rot),
            rgba(220, 241, 255, 0.5) 0deg, rgba(122, 92, 255, 0.1) 60deg,
            rgba(122, 92, 255, 0.1) 300deg, rgba(220, 241, 255, 0.5) 360deg);
    animation: rot-sweep 9s linear infinite;
}
@keyframes rot-sweep { to { --rot: 360deg; } }

/* -- a call travelling the horizon line -- */
.sky-horizon::after {
    content: ""; position: absolute; top: -1.5px; height: 4px; width: 150px;
    left: -12%;
    background: linear-gradient(90deg, transparent, rgba(220, 241, 255, 0.95), transparent);
    border-radius: 4px;
    animation: line-travel 6.5s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
@keyframes line-travel {
    0%   { left: -12%; opacity: 0; }
    10%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { left: 106%; opacity: 0; }
}

/* -- night air: drifting star specks in the hero -- */
.stars { position: absolute; inset: 0; }
.stars i {
    position: absolute; width: 3px; height: 3px; border-radius: 50%;
    background: var(--ice-bright);
    opacity: 0;
    animation: twinkle 7s ease-in-out infinite;
    box-shadow: 0 0 8px 1px rgba(159, 217, 255, 0.55);
}
.stars i:nth-child(1) { top: 22%; left: 12%; animation-delay: 0s;   transform: scale(0.8); }
.stars i:nth-child(2) { top: 14%; left: 38%; animation-delay: 1.6s; transform: scale(0.55); }
.stars i:nth-child(3) { top: 30%; left: 63%; animation-delay: 3.1s; transform: scale(1); }
.stars i:nth-child(4) { top: 12%; left: 82%; animation-delay: 2.2s; transform: scale(0.7); }
.stars i:nth-child(5) { top: 42%; left: 88%; animation-delay: 4.4s; transform: scale(0.5); }
.stars i:nth-child(6) { top: 48%; left: 28%; animation-delay: 5.3s; transform: scale(0.65); }
.stars i:nth-child(7) { top: 8%;  left: 55%; animation-delay: 3.9s; transform: scale(0.9); }
@keyframes twinkle {
    0%, 100% { opacity: 0; }
    20%      { opacity: 0.9; }
    45%      { opacity: 0.25; }
    70%      { opacity: 0.7; }
}

/* -- staggered word rise + travelling sheen on hero headlines -- */
.hero-h.split { background: none; -webkit-text-fill-color: currentcolor; color: var(--text); animation: none; }
.hero-h.split .w {
    display: inline-block;
    background: linear-gradient(115deg, var(--text) 55%, var(--ice-bright) 82%, var(--text) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    opacity: 0; transform: translateY(0.55em); filter: blur(7px);
    animation:
        word-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(0.12s + var(--wi) * 0.07s) forwards,
        hero-sheen 8s ease-in-out calc(var(--wi) * 0.3s) infinite;
}
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }

/* -- language ticker: the line speaks every language -- */
.ticker {
    overflow: hidden; position: relative;
    border-block: 1px solid var(--line-soft);
    padding-block: 1.05rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker-run 42s linear infinite; }
.ticker-group { display: flex; align-items: center; }
.ticker-group span {
    font-family: var(--font-display); font-style: italic; font-weight: 300;
    font-size: clamp(1rem, 1.6vw, 1.25rem); white-space: nowrap;
    color: var(--text-faint); padding-inline: 1.9rem;
}
.ticker-group span:nth-child(odd) { color: var(--text-dim); }
.tick-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ice-dim); flex: none; }
@keyframes ticker-run { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* -- voice waveform ornament -- */
.wave { display: inline-flex; align-items: center; gap: 4px; height: 26px; }
.wave i {
    width: 3px; border-radius: 3px; background: var(--ice);
    box-shadow: 0 0 8px rgba(159, 217, 255, 0.45);
    animation: wave-bar 1.5s ease-in-out infinite;
}
.wave i:nth-child(1) { height: 32%; animation-delay: 0s; }
.wave i:nth-child(2) { height: 65%; animation-delay: 0.15s; }
.wave i:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.wave i:nth-child(4) { height: 55%; animation-delay: 0.45s; }
.wave i:nth-child(5) { height: 80%; animation-delay: 0.6s; }
.wave i:nth-child(6) { height: 40%; animation-delay: 0.75s; }
@keyframes wave-bar { 0%, 100% { transform: scaleY(0.45); opacity: 0.6; } 50% { transform: scaleY(1); opacity: 1; } }
.call-form .wave { margin-bottom: 1.1rem; }

/* -- cursor glow: the room notices you (desktop only, JS-attached) -- */
.cursor-glow {
    position: fixed; top: 0; left: 0; z-index: 1;
    width: 620px; height: 620px; border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(159, 217, 255, 0.055) 0%, rgba(122, 92, 255, 0.035) 35%, transparent 62%);
    mix-blend-mode: screen;
    will-change: transform;
}

/* -- breathing light on the primary CTAs -- */
.nav-cta, .call-submit, .btn--ice { animation: breath 4.5s ease-in-out infinite; }
@keyframes breath {
    0%, 100% { box-shadow: 0 0 22px rgba(159, 217, 255, 0.2); }
    50%      { box-shadow: 0 0 42px rgba(159, 217, 255, 0.45); }
}

/* -- hairlines draw themselves in on reveal -- */
.js .rv .sec-mark::after, .js .rv.sec-side .sec-mark::after, .js .eyebrow.rv::before {
    transform: scaleX(0); transform-origin: left;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.js .rv.in .sec-mark::after, .js .eyebrow.rv.in::before { transform: scaleX(1); }

/* -- capability icons -- */
.cap-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.9rem; height: 2.9rem; flex: none;
    border-radius: 14px;
    color: var(--ice);
    background: rgba(159, 217, 255, 0.06);
    border: 1px solid var(--line);
    box-shadow: inset 0 0 18px rgba(122, 92, 255, 0.12);
}
.cap-ico svg { width: 1.35rem; height: 1.35rem; }
.cap-card .cap-top { display: flex; align-items: center; justify-content: space-between; }
.cap-card:hover .cap-ico { color: var(--ice-bright); border-color: var(--ice-dim); box-shadow: inset 0 0 22px rgba(159, 217, 255, 0.2), 0 0 18px rgba(159, 217, 255, 0.15); transition: all 0.4s ease; }
.hero .cap-ico { width: 3.4rem; height: 3.4rem; margin-bottom: 1.3rem; }
.hero .cap-ico svg { width: 1.6rem; height: 1.6rem; }
@media (max-width: 48rem) { .cap-row .cap-ico { display: none; } }

/* -- journal cards with imagery -- */
.journal-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .journal-grid { grid-template-columns: repeat(3, 1fr); } }
.journal-card { display: flex; flex-direction: column; overflow: hidden; }
.jc-media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; position: relative; }
.jc-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(67, 46, 168, 0.18), rgba(10, 7, 20, 0.42));
    transition: opacity 0.5s ease;
}
.journal-card:hover .jc-media::after { opacity: 0.4; }
.jc-media img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(0.8);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}
.journal-card:hover .jc-media img { transform: scale(1.06); filter: saturate(1); }
.jc-body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.4rem 1.5rem 1.5rem; flex: 1; }
.jc-h { font-family: var(--font-display); font-weight: 380; font-size: 1.35rem; line-height: 1.18; }
.jc-sum { color: var(--text-dim); font-size: 0.94rem; flex: 1; }
.jc-body .cap-link { padding-top: 0.7rem; }

/* -- tilt shells (JS drives transform on hover-capable devices) -- */
.tilt { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); transform-style: preserve-3d; }

/* -- calm it all down when asked -- */
@media (prefers-reduced-motion: reduce) {
    .hero-h.split .w { opacity: 1; transform: none; filter: none; }
    .ticker-track { animation: none; }
    .cursor-glow { display: none; }
}

/* -- split hero for capability sub-pages -- */
.hero--split { align-items: center; padding-top: 8rem; }
.hero-split-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .hero-split-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: 4rem; } }
/* -- framed media at the top of a journal article -- */
.sec--post { padding-top: clamp(3rem, 7vw, 5rem); }
.article-media { margin: 0 auto clamp(2.5rem, 5vw, 4rem); max-width: 52rem; aspect-ratio: 21 / 10; overflow: hidden; }
.article-media img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; filter: saturate(0.85); }
.post-foot { max-width: 42rem; margin: 3rem auto 0; }

/* -- fleshed sub-pages: walk-through steps, fact list, ownership story -- */
.sec--subpage { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec--scene { padding-top: clamp(2.5rem, 6vw, 4.5rem); }

.walk-steps { list-style: none; counter-reset: none; display: grid; gap: 1rem; margin-top: 2.2rem; max-width: 46rem; }
.walk-steps li { position: relative; padding: 1.25rem 1.5rem 1.3rem 4.8rem; }
.walk-num {
    position: absolute; left: 1.5rem; top: 1.15rem;
    font-family: var(--font-display); font-style: italic; font-weight: 300;
    font-size: 1.7rem; color: var(--ice); opacity: 0.85;
}
.walk-t { display: block; font-family: var(--font-display); font-weight: 380; font-size: 1.18rem; margin-bottom: 0.35rem; }
.walk-d { color: var(--text-dim); font-size: 0.97rem; line-height: 1.6; }

.fact-list { list-style: none; display: grid; gap: 0.85rem; margin-top: 2.2rem; grid-template-columns: 1fr; max-width: 52rem; }
@media (min-width: 48rem) { .fact-list { grid-template-columns: 1fr 1fr; } }
.fact-list li { display: flex; align-items: flex-start; gap: 0.85rem; padding: 1.05rem 1.25rem; color: var(--text-dim); font-size: 0.95rem; line-height: 1.55; }

.sec--story { position: relative; overflow: clip; }
.story-glow {
    position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(55% 50% at 50% 115%, rgba(122, 92, 255, 0.22) 0%, transparent 70%);
}
.story-panel { max-width: 52rem; }
.story-panel .owner-body { font-size: 1.05rem; line-height: 1.75; }
.sec--suborbit { padding-top: 0; }
@media (max-width: 40rem) {
    .walk-steps li { padding: 1.1rem 1.1rem 1.15rem 3.6rem; }
    .walk-num { left: 1.05rem; font-size: 1.4rem; }
}

/* ============================================================
   MODERN PASS: 2026-08-22, owner feedback
   Photo-free heroes (grid floor + signal rings), product vignettes,
   the WHAT sections on the homepage, boxed sub-page layout.
   ============================================================ */

/* -- hero backdrop: perspective floor grid + signal rings on the horizon -- */
.sky-grid {
    inset: auto 0 0 0; height: 62%;
    background-image:
        linear-gradient(to right, rgba(159, 217, 255, 0.10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(159, 217, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    transform-origin: 50% 100%;
    transform: perspective(640px) rotateX(62deg) translateY(8%);
    -webkit-mask-image: radial-gradient(70% 100% at 50% 100%, #000 0%, rgba(0,0,0,0.7) 45%, transparent 85%);
            mask-image: radial-gradient(70% 100% at 50% 100%, #000 0%, rgba(0,0,0,0.7) 45%, transparent 85%);
    opacity: 0.55;
}
.sky-rings { position: absolute; left: 50%; bottom: 18%; width: 0; height: 0; }
.sky-rings i {
    position: absolute; left: 50%; top: 50%;
    width: 18vmax; height: 18vmax; border-radius: 50%;
    border: 1px solid rgba(159, 217, 255, 0.42);
    transform: translate(-50%, -50%) scaleY(0.22) scale(0.2);
    opacity: 0;
    animation: ring-out 9s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
    box-shadow: 0 0 24px rgba(159, 217, 255, 0.12);
}
.sky-rings i:nth-child(2) { animation-delay: 2.25s; }
.sky-rings i:nth-child(3) { animation-delay: 4.5s; }
.sky-rings i:nth-child(4) { animation-delay: 6.75s; }
@keyframes ring-out {
    0%   { transform: translate(-50%, -50%) scaleY(0.22) scale(0.15); opacity: 0; }
    12%  { opacity: 0.75; }
    100% { transform: translate(-50%, -50%) scaleY(0.22) scale(4.2); opacity: 0; }
}
.hero--sub .sky-grid { height: 70%; opacity: 0.42; }
.hero--sub .sky-rings, .hero--article .sky-rings { bottom: 10%; }
.hero--article .sky-grid { opacity: 0.3; }

/* -- hero split for the homepage: type left, product right -- */
.hero--home.hero--split { align-items: center; padding-top: 7.5rem; }
.hero--home .hero-h { font-size: clamp(2.6rem, 5.6vw, 4.9rem); }
.hero--home .hero-split-grid { align-items: center; }
@media (min-width: 60rem) {
    .hero--home .hero-split-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 32rem); gap: 3.5rem; }
}
.hero-vig { position: relative; }
@media (max-width: 60rem) {
    .hero-vig { max-width: 30rem; margin-top: 0.5rem; }
    .vig .vg-mini { display: none; }
    .vig--home { margin-right: 0; }
    .hero--split { padding-top: 7rem; }
}

/* -- vignettes: glass product cards -- */
.vig { position: relative; }
.vg-card {
    position: relative;
    background:
        linear-gradient(160deg, rgba(20, 13, 38, 0.82), rgba(10, 7, 20, 0.72));
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(5, 3, 12, 0.6), inset 0 1px 0 rgba(220, 241, 255, 0.08);
}
.vg-call { padding: 1.35rem 1.45rem 1.45rem; font-size: 0.86rem; display: grid; gap: 1.05rem; }
.vg-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.vg-live {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice);
}
.vg-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 0 rgba(159, 217, 255, 0.5); animation: pulse 2.4s ease-out infinite; }
.vg-time { font-family: var(--font-display); font-style: italic; color: var(--text-faint); font-size: 0.95rem; }
.vg-id { display: flex; align-items: center; gap: 0.85rem; }
.vg-avatar {
    flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
    color: var(--ice-bright); background: rgba(122, 92, 255, 0.22); border: 1px solid var(--line);
}
.vg-who { display: grid; gap: 0.1rem; flex: 1; min-width: 0; }
.vg-who b { font-weight: 600; color: var(--text); font-size: 0.9rem; }
.vg-who small { color: var(--text-faint); font-size: 0.78rem; }
.vg-id .wave { height: 20px; }
.vg-lines { display: grid; gap: 0.55rem; }
.vg-line { display: flex; }
.vg-line span {
    display: inline-block; max-width: 88%;
    padding: 0.6rem 0.85rem; border-radius: 14px; line-height: 1.45;
    color: var(--text-dim);
    background: rgba(126, 96, 255, 0.10); border: 1px solid var(--line-soft);
    opacity: 0; transform: translateY(6px);
    animation: vg-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.vg-them span { border-bottom-left-radius: 4px; animation-delay: 0.6s; }
.vg-us { justify-content: flex-end; }
.vg-us span { background: rgba(159, 217, 255, 0.10); border-color: rgba(159, 217, 255, 0.18); color: var(--text); border-bottom-right-radius: 4px; animation-delay: 1.5s; }
.vg-line:nth-child(3) span { animation-delay: 2.5s; }
@keyframes vg-in { to { opacity: 1; transform: none; } }
.vg-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.vg-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.35rem 0.7rem; border-radius: 999px;
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em;
    color: var(--text-dim); border: 1px solid var(--line); background: rgba(10, 7, 20, 0.4);
    white-space: nowrap;
}
.vg-chip--ok { color: var(--ice-bright); border-color: rgba(159, 217, 255, 0.35); }
.vg-chip--ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 8px var(--ice); }
.vg-chip--hand { color: var(--text); border-color: rgba(178, 152, 255, 0.4); background: rgba(122, 92, 255, 0.16); }
.vg-chip--hand::before { content: "→"; color: var(--ice); }
.vg-call .vg-chips .vg-chip { opacity: 0; animation: vg-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.vg-call .vg-chips .vg-chip:nth-child(1) { animation-delay: 3.2s; }
.vg-call .vg-chips .vg-chip:nth-child(2) { animation-delay: 3.6s; }
.vg-call .vg-chips .vg-chip:nth-child(3) { animation-delay: 4s; }

.vg-mini { position: absolute; padding: 0.8rem 1rem; display: grid; gap: 0.15rem; border-radius: 16px; min-width: 11rem; }
.vg-mini-k { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.vg-mini-v { font-size: 0.86rem; color: var(--text); display: inline-flex; align-items: center; gap: 0.5rem; }
.vg-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); }
.vg-mini--a { left: -1.2rem; top: -4.3rem; animation: float-a 7s ease-in-out infinite; }
.vg-mini--b { right: -1.8rem; bottom: -1.7rem; animation: float-b 8s ease-in-out infinite; }
@keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.vig--home { margin-right: 1.6rem; }

.vg-res { display: grid; gap: 0.5rem; }
.vg-res-row {
    display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 0.8rem; align-items: center;
    padding: 0.75rem 0.9rem; border-radius: 14px;
    background: rgba(126, 96, 255, 0.08); border: 1px solid var(--line-soft);
}
.vg-res-k { font-weight: 600; color: var(--text); grid-column: 1; }
.vg-res-v { color: var(--text-faint); font-size: 0.8rem; grid-column: 1; }
.vg-res-row .vg-chip { grid-column: 2; grid-row: 1 / span 2; }
.vg-res-row.vg-dim { opacity: 0.5; }
.vg-crit { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.vg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.vg-stat { display: grid; gap: 0.1rem; padding: 0.7rem 0.8rem; border-radius: 12px; background: rgba(126, 96, 255, 0.08); border: 1px solid var(--line-soft); }
.vg-stat b { font-weight: 600; color: var(--text); }
.vg-stat em { font-style: normal; color: var(--text-faint); font-size: 0.74rem; }
.vg-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; align-items: end; height: 7rem; }
.vg-bars span { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 0.4rem; align-items: end; }
.vg-bars i {
    display: block; width: 100%; height: var(--h); border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, var(--ice), rgba(122, 92, 255, 0.55));
    box-shadow: 0 0 16px rgba(159, 217, 255, 0.25);
    transform-origin: bottom; animation: bar-up 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.vg-bars span:nth-child(2) i { animation-delay: 0.1s; } .vg-bars span:nth-child(3) i { animation-delay: 0.2s; }
.vg-bars span:nth-child(4) i { animation-delay: 0.3s; } .vg-bars span:nth-child(5) i { animation-delay: 0.4s; }
@keyframes bar-up { from { transform: scaleY(0); } }
.vg-bars b { font-size: 0.66rem; font-weight: 500; color: var(--text-faint); text-align: center; letter-spacing: 0.02em; }

/* -- section heads that sit above a full-width grid -- */
.fit-head, .hand-head, .how-head, .fails-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.fit-head .prose p, .hand-head .prose p, .how-head .prose p { max-width: 58ch; }

/* -- WHAT this is: lead + three pillars -- */
.sec--what { border-top: 1px solid var(--line-soft); }
.what-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 64rem) { .what-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; } }
.what-lead .sec-h--big { max-width: 16ch; }
.pillars { display: grid; gap: 1rem; }
.pillar { padding: clamp(1.4rem, 3vw, 1.9rem); display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.2rem; align-items: start; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.pillar .cap-ico { grid-row: 1 / span 2; }
.pillar-h { font-family: var(--font-display); font-weight: 380; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.15; }
.pillar-b { color: var(--text-dim); font-size: 0.97rem; }

/* -- WHERE it fits: the integration diagram -- */
.sec--fit {
    background: radial-gradient(80% 60% at 50% 0%, rgba(67, 46, 168, 0.14) 0%, transparent 60%), var(--bg-0);
    border-top: 1px solid var(--line-soft);
}
.fit-diagram { display: grid; gap: 1.2rem; }
@media (min-width: 60rem) { .fit-diagram { grid-template-columns: 1fr auto 1fr; gap: 0; align-items: start; } .fit-core { align-self: center; } }
.fit-col { display: grid; gap: 0.7rem; }
.fit-col-h { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ice); margin-bottom: 0.3rem; }
.fit-node { display: block; padding: 0.95rem 1.15rem; color: var(--text-dim); font-size: 0.95rem; border-radius: 14px; }
.fit-core { display: grid; justify-items: center; gap: 0; }
@media (min-width: 60rem) { .fit-core { grid-template-columns: auto auto auto; align-items: center; } }
.fit-hub { padding: 1.6rem 2rem; display: grid; justify-items: center; gap: 0.5rem; text-align: center; min-width: 15rem; border-radius: 999px; }
.fit-hub-name { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
.fit-hub-sub { font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.04em; }
.fit-flow { display: flex; gap: 6px; align-items: center; padding: 0.6rem 1rem; }
.fit-flow i { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); opacity: 0.25; animation: flow 1.8s ease-in-out infinite; box-shadow: 0 0 8px rgba(159, 217, 255, 0.5); }
.fit-flow i:nth-child(2) { animation-delay: 0.3s; } .fit-flow i:nth-child(3) { animation-delay: 0.6s; }
@keyframes flow { 0%, 100% { opacity: 0.2; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }
@media (max-width: 60rem) { .fit-flow { flex-direction: column; } }
.fit-note { margin-top: 2.2rem; text-align: center; font-family: var(--font-display); font-style: italic; color: var(--text-dim); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }

/* -- augmentation: it takes / your people keep, joined by the hand-off -- */
.hand-grid { display: grid; gap: 1rem; }
@media (min-width: 60rem) { .hand-grid { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.hand-col { padding: clamp(1.5rem, 3vw, 2.2rem); display: grid; gap: 1.1rem; align-content: start; }
.hand-col-h { font-family: var(--font-display); font-weight: 380; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.hand-col--keeps { background: linear-gradient(160deg, rgba(159, 217, 255, 0.08), rgba(126, 96, 255, 0.03) 60%); }
.hand-list { list-style: none; display: grid; gap: 0.75rem; }
.hand-list li { display: flex; align-items: flex-start; gap: 0.8rem; color: var(--text-dim); font-size: 0.98rem; line-height: 1.5; }
.tick--person { border-color: rgba(178, 152, 255, 0.6); }
.tick--person::after { background: var(--text); box-shadow: 0 0 10px rgba(220, 241, 255, 0.6); }
.hand-join { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding-inline: 0.5rem; }
.hand-join-line { width: 1.6rem; height: 1px; background: var(--ice-dim); }
.hand-join-mark { font-family: var(--font-display); font-style: italic; color: var(--ice); font-size: 0.95rem; white-space: nowrap; }
@media (min-width: 60rem) {
    .hand-join { flex-direction: column; }
    .hand-join-line { width: 1px; height: 3rem; }
}

/* -- how we work: four steps -- */
.steps { list-style: none; display: grid; gap: 1rem; counter-reset: none; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: clamp(1.4rem, 3vw, 1.8rem); display: grid; gap: 0.55rem; align-content: start; position: relative; }
.step-num { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.5rem; color: var(--ice); }
.step-t { font-family: var(--font-display); font-weight: 380; font-size: 1.45rem; }
.step-d { color: var(--text-dim); font-size: 0.95rem; line-height: 1.55; }

/* -- FAQ: native details, styled -- */
.sec--faq { border-top: 1px solid var(--line-soft); }
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 4rem; align-items: start; } .faq-head { position: sticky; top: 6rem; } }
.faq-list { display: grid; gap: 0.8rem; }
.faq { padding: 0; overflow: hidden; }
.faq-q {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    font-family: var(--font-display); font-weight: 380; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.25;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1px solid var(--ice-dim); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ice); transform: translate(-50%, -50%); }
.faq-plus::before { width: 0.6rem; height: 1px; }
.faq-plus::after { width: 1px; height: 0.6rem; transition: opacity 0.3s; }
.faq[open] .faq-plus { transform: rotate(90deg); background: rgba(159, 217, 255, 0.1); }
.faq[open] .faq-plus::after { opacity: 0; }
.faq-a { padding: 0 1.5rem 1.4rem; color: var(--text-dim); max-width: 60ch; animation: vg-in 0.5s cubic-bezier(0.22, 1, 0.36, 1); }

.sec--jteaser { border-top: 1px solid var(--line-soft); }

/* -- sub-pages: boxed, scannable -- */
.lede-box { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.6rem, 3.5vw, 2.6rem); max-width: 56rem; }
.lede-box-mark { font-family: var(--font-display); font-style: italic; color: var(--ice); font-size: 1.3rem; padding-top: 0.2rem; }
.lede-box .prose--lede p:first-child { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 58ch; }

.scene-grid { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) { .scene-grid { grid-template-columns: minmax(0, 42rem) minmax(16rem, 1fr); gap: 4rem; align-items: start; } .scene-aside { position: sticky; top: 6rem; } }
.scene-main .sec-mark { margin-bottom: 1.2rem; }
.scene-aside { display: grid; gap: 1.2rem; }
.glance { padding: 1.5rem 1.6rem; }
.glance-h { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ice); margin-bottom: 1rem; }
.glance-list { display: grid; gap: 0.85rem; }
.glance-row { display: grid; gap: 0.15rem; padding-top: 0.85rem; border-top: 1px solid var(--line-soft); }
.glance-row:first-child { padding-top: 0; border-top: 0; }
.glance-row dt { font-size: 0.78rem; color: var(--text-faint); letter-spacing: 0.04em; }
.glance-row dd { color: var(--text); font-size: 0.98rem; line-height: 1.45; }

.pull { margin: 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--ice); }
.pull p {
    font-family: var(--font-display); font-style: italic; font-weight: 320;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; color: var(--text);
    text-wrap: balance; max-width: 22ch;
}
.pull--inline { margin-block: 2rem 2.2rem; }
.pull--inline p { max-width: 30ch; }

.fails-grid { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .fails-grid { grid-template-columns: repeat(3, 1fr); } }
.fail-card { padding: clamp(1.4rem, 3vw, 1.8rem); display: grid; gap: 1.1rem; align-content: start; }
.fail-fix, .fail-why { display: grid; gap: 0.35rem; }
.fail-fix-k, .fail-why-k, .spec-k, .handoff-k {
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ice);
}
.fail-why-k { color: var(--text-faint); }
.fail-fix { font-family: var(--font-display); font-weight: 380; font-size: 1.3rem; line-height: 1.2; padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }
.fail-why { color: var(--text-dim); font-size: 0.95rem; line-height: 1.55; }
.fails-close { margin-top: clamp(2rem, 4vw, 3rem); max-width: 46rem; }
.fails-close p {
    font-family: var(--font-display); font-weight: 340; font-style: italic;
    font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; color: var(--text); text-wrap: balance;
}

.sec--handoff { padding-block: 0; }
.handoff { padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.6rem, 3.5vw, 2.8rem); display: grid; gap: 0.7rem; max-width: 56rem; background: linear-gradient(160deg, rgba(159, 217, 255, 0.08), rgba(126, 96, 255, 0.03) 60%); }
.handoff-h { font-family: var(--font-display); font-weight: 340; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.3; text-wrap: balance; max-width: 34ch; }

.spec { display: grid; gap: 0; overflow: hidden; }
@media (min-width: 60rem) { .spec { grid-template-columns: 1.5fr 1fr; } .spec-def { grid-row: 1 / span 2; border-right: 1px solid var(--line-soft); } .spec-into { border-bottom: 1px solid var(--line-soft); } }
@media (max-width: 60rem) { .spec-def, .spec-into { border-bottom: 1px solid var(--line-soft); } }
.spec > div { padding: clamp(1.5rem, 3vw, 2.2rem); display: grid; gap: 0.8rem; align-content: start; }
.spec-def p { color: var(--text); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.65; }
.spec-def p + p { color: var(--text-dim); }
.spec-into ul { list-style: none; display: grid; gap: 0.6rem; }
.spec-into li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; }
.spec-alone p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.55; }
.sec--plain .fact-list { max-width: none; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .sec--plain .fact-list { grid-template-columns: repeat(3, 1fr); } }
.story-panel .spec-k { display: block; margin-bottom: 1rem; }

/* -- footer: the WHAT, on every page -- */
.foot-what { padding-bottom: 2.2rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line-soft); }
.foot-what-line { color: var(--text-faint); font-size: 0.92rem; max-width: 68ch; line-height: 1.6; }
.foot-what-line strong { color: var(--text-dim); font-weight: 600; }

/* -- calm -- */
@media (prefers-reduced-motion: reduce) {
    .vg-line span, .vg-call .vg-chips .vg-chip { opacity: 1; transform: none; }
    .sky-rings i { opacity: 0.25; transform: translate(-50%, -50%) scaleY(0.22) scale(2); }
    .vg-bars i { transform: none; }
}
