/* Elixir Nexus — elixirnexus.dev
   Mobile-first. No external resources: fonts, icons and images are served from this origin. */

/* ── Fonts ─────────────────────────────────────────────────────────────────── */
/* Inter 5.3.0 variable, latin subset (@fontsource-variable/inter, SIL OFL 1.1). */
@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/inter-latin-wght-5.3.0.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallback so the swap to Inter does not shift layout. */
@font-face {
    font-family: "Inter Fallback";
    src: local("Arial");
    ascent-override: 90.49%;
    descent-override: 22.56%;
    line-gap-override: 0%;
    size-adjust: 107.06%;
}

/* ── Tokens ────────────────────────────────────────────────────────────────── */
:root {
    /* Brand (Figma handoff) */
    --void: #080B14;
    --elixir-purple: #7C3AED;
    --nexus-blue: #2563EB;
    --energy-cyan: #22D3EE;

    /* Surfaces and lines */
    --void-raised: #0B1020;
    --line: rgb(148 163 184 / 0.14);
    --line-strong: rgb(148 163 184 / 0.26);

    /* Text. All values are at least 6:1 on --void. */
    --text: #F8FAFC;
    --text-2: #AEB9CF;
    --text-3: #8794AD;
    --purple-text: #A78BFA;
    --blue-text: #60A5FA;

    --accent: var(--purple-text);

    --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --gutter: clamp(1rem, 4vw, 2.5rem);
    --max: 70rem;
    --header-h: 4rem;
    --radius: 0.625rem;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--void);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--energy-cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection { background: rgb(124 58 237 / 0.45); color: var(--text); }

.nowrap { white-space: nowrap; }

.container {
    width: 100%;
    max-width: calc(var(--max) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -4rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    background: var(--text);
    color: var(--void);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* ── Icons (CSS masks, so arrows render identically on every platform) ───── */
.i {
    display: inline-block;
    flex: none;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
    transition: transform 0.25s var(--ease);
}
.i--next { --icon: url("/assets/icons/arrow-right.svg"); }
.i--ext  { --icon: url("/assets/icons/arrow-up-right.svg"); width: 0.9em; height: 0.9em; }
.i--down { --icon: url("/assets/icons/arrow-down.svg"); }

/* ── Buttons and links ─────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0 1.3rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn--sm { min-height: 2.5rem; padding: 0 0.95rem; font-size: 0.875rem; }
.btn--lg { min-height: 3.5rem; padding: 0 1.6rem; font-size: 1.0625rem; }

.btn--primary { background: var(--elixir-purple); color: #fff; }
.btn--primary:hover { background: #6D28D9; box-shadow: 0 0 0 4px rgb(124 58 237 / 0.22); }

.btn--watcher { background: var(--nexus-blue); color: #fff; }
.btn--watcher:hover { background: #1D4ED8; box-shadow: 0 0 0 4px rgb(37 99 235 / 0.25); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: rgb(34 211 238 / 0.55); background: rgb(248 250 252 / 0.04); }

.btn--text { padding-inline: 0.4rem; color: var(--text-2); }
.btn--text:hover { color: var(--text); }

.btn:hover .i--next { transform: translateX(3px); }
.btn:hover .i--ext, .link:hover .i--ext { transform: translate(2px, -2px); }
.btn:hover .i--down { transform: translateY(3px); }

.link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding-block: 0.5rem;
    color: var(--text-2);
    text-decoration: none;
    text-underline-offset: 0.3em;
    transition: color 0.2s ease;
}
.link:hover { color: var(--text); text-decoration: underline; text-decoration-color: rgb(34 211 238 / 0.6); }

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

/* ── Brand lockup ──────────────────────────────────────────────────────────── */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.75rem;
    text-decoration: none;
    color: var(--text);
}
.brand__mark { width: 2rem; height: 2rem; }
.brand__name {
    font-size: 0.8125rem;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(8 11 20 / 0.82);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

@media (max-width: 359px) {
    .site-header .brand__name { display: none; }
}

/* ── Eyebrows and section identifiers ──────────────────────────────────────── */
.eyebrow,
.section-id {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--text-2);
}

.eyebrow::before,
.section-id::before {
    content: "";
    flex: none;
    width: 0.5625rem;
    height: 0.5625rem;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    box-shadow: 0 0 0 4px rgb(124 58 237 / 0.12);
}

.eyebrow__sep { color: var(--text-3); padding-inline: 0.2em; }
.eyebrow { letter-spacing: 0.16em; }
@media (min-width: 600px) { .eyebrow { letter-spacing: 0.2em; } }

.section-id {
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
    font-size: 0.8125rem;
}
.section-id::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), transparent);
}
.section-id__num {
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: clip;
    padding-block: clamp(4.5rem, 14vh, 8rem) clamp(4.5rem, 12vh, 7rem);
}

.hero__inner {
    position: relative;
    display: grid;
    align-items: center;
}

.hero__copy {
    position: relative;
    z-index: 1;
}

.hero__title {
    margin-block: 1.5rem 1.75rem;
    font-size: clamp(3rem, 12.5vw, 7.25rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.96;
    text-wrap: balance;
}
.hero__line { display: block; }
.hero__line--soft {
    font-weight: 300;
    color: var(--text-2);
    letter-spacing: -0.04em;
}
.hero__dot { color: var(--energy-cyan); }

.hero__lede {
    max-width: 36ch;
    margin-bottom: 2.25rem;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-2);
}

/* Visual: on small screens it sits behind the copy, faint and cropped. */
.hero__visual {
    position: absolute;
    z-index: 0;
    top: -2.5rem;
    right: -38vw;
    width: min(92vw, 30rem);
    opacity: 0.32;
    pointer-events: none;
}

.core { width: 100%; height: auto; overflow: visible; }
.core__orbit {
    transform-box: view-box;
    transform-origin: 240px 240px;
}

@media (min-width: 600px) {
    .hero__visual { right: -14rem; opacity: 0.4; }
}

@media (min-width: 960px) {
    .hero { padding-block: clamp(4rem, 9vh, 6rem); }
    .hero__title { font-size: min(6.75rem, 8.2vw); }
    .hero__line { white-space: nowrap; }
    .hero__inner {
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr);
        gap: 2rem;
        min-height: min(calc(100svh - var(--header-h) - 12vh), 46rem);
    }
    .hero__visual {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 30rem;
        justify-self: end;
        opacity: 1;
    }
}

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section {
    position: relative;
    padding-block: clamp(4.5rem, 10vw, 7.5rem);
    scroll-margin-top: var(--header-h);
}

.statement {
    font-size: clamp(1.875rem, 4.6vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-wrap: balance;
}
/* Keeps each sentence of a two-sentence statement together on its own line. */
.statement__line { display: inline-block; }

/* ── 01 Watcher ────────────────────────────────────────────────────────────── */
.watcher {
    --accent: var(--energy-cyan);
    background:
        linear-gradient(90deg, transparent, rgb(124 58 237 / 0.55) 20%, rgb(37 99 235 / 0.55) 55%, rgb(34 211 238 / 0.5) 85%, transparent) top / 100% 1px no-repeat,
        linear-gradient(180deg, #0A0E1B, var(--void) 70%);
}
.watcher .section-id::before { box-shadow: 0 0 0 4px rgb(34 211 238 / 0.12); }

.watcher__head {
    display: grid;
    gap: 1.75rem;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.watcher__name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    align-self: start;
}

.watcher__name {
    font-size: clamp(3.25rem, 11vw, 6.5rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid rgb(34 211 238 / 0.4);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--energy-cyan);
    white-space: nowrap;
}
.badge::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: currentColor;
}

.watcher__position {
    margin-bottom: 1rem;
    font-size: clamp(1.375rem, 2.6vw, 1.875rem);
    font-weight: 550;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--blue-text);
}

.watcher__body {
    max-width: 58ch;
    margin-bottom: 2rem;
    color: var(--text-2);
}

@media (min-width: 960px) {
    .watcher__head {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
        gap: 3rem;
        align-items: end;
    }
}

/* Screenshot */
.shot { margin-bottom: clamp(3rem, 7vw, 5rem); }

.shot__frame {
    position: relative;
    padding: 0.375rem;
    border: 1px solid rgb(96 165 250 / 0.28);
    border-radius: calc(var(--radius) + 0.375rem);
    background: var(--void-raised);
    box-shadow: 0 40px 90px -50px rgb(37 99 235 / 0.6);
}
.shot__frame img {
    width: 100%;
    border-radius: var(--radius);
}

/* Instrument corner ticks */
.shot__frame::before,
.shot__frame::after {
    content: "";
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    border: 0 solid var(--energy-cyan);
    pointer-events: none;
}
.shot__frame::before { top: -0.5rem; left: -0.5rem; border-top-width: 1.5px; border-left-width: 1.5px; }
.shot__frame::after { bottom: -0.5rem; right: -0.5rem; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.shot__crop-note { display: none; }
@media (max-width: 599px) { .shot__crop-note { display: inline; } }

.shot figcaption {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--text-3);
}

/* Capabilities: a measured row on a shared baseline, not cards. */
.capabilities {
    display: grid;
    gap: 2rem;
}
.capability {
    position: relative;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-strong);
}
.capability::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--energy-cyan);
}
.capability dt {
    margin-bottom: 0.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.capability dd {
    font-size: 0.9375rem;
    color: var(--text-2);
}

.watcher__trust {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    font-size: 0.875rem;
    color: var(--text-3);
}

@media (min-width: 600px) {
    .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
}
@media (min-width: 1024px) {
    .capabilities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── 02 Principles ─────────────────────────────────────────────────────────── */
.principles__list {
    position: relative;
    display: grid;
    gap: 3rem;
}

/* The connecting line: a segment between consecutive nodes on mobile, one horizontal line on desktop. */
.principle:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3rem;
    bottom: -3rem;
    left: 1.5rem;
    width: 1px;
    background: linear-gradient(180deg, var(--c), var(--c-next));
    opacity: 0.4;
}

.principle {
    position: relative;
    padding-left: 4.5rem;
}
.principle:nth-child(1) { --c: var(--purple-text); --c-next: var(--blue-text); }
.principle:nth-child(2) { --c: var(--blue-text); --c-next: var(--energy-cyan); }
.principle:nth-child(3) { --c: var(--energy-cyan); }

.principle__glyph {
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 3rem;
    color: var(--c);
}

.principle__title {
    margin-bottom: 0.85rem;
    padding-top: 0.5rem;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.principle p {
    max-width: 34ch;
    color: var(--text-2);
}

@media (min-width: 900px) {
    .principles__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3rem;
    }
    .principles__list::before {
        content: "";
        position: absolute;
        top: 1.5rem;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, var(--purple-text), var(--blue-text) 50%, var(--energy-cyan) 85%, transparent);
        opacity: 0.35;
    }
    .principle:not(:last-child)::after { content: none; }
    .principle { padding-left: 0; }
    .principle__glyph { position: static; margin-bottom: 2.25rem; }
    .principle__title { padding-top: 0; }
}

/* ── 03 The Nexus ──────────────────────────────────────────────────────────── */
.nexus__grid {
    display: grid;
    gap: 1.5rem;
}
.nexus__body {
    max-width: 52ch;
    color: var(--text-2);
}

@media (min-width: 960px) {
    .nexus__grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        gap: 4rem;
        align-items: end;
    }
}

/* Tagline as a connected triad */
.triad {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: clamp(4rem, 9vw, 6.5rem);
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
    border-block: 1px solid var(--line);
    font-size: clamp(0.8125rem, 3.4vw, 2.25rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 1.2;
    text-transform: uppercase;
}
.triad__word--create { color: var(--purple-text); }
.triad__word--connect { color: var(--blue-text); }
.triad__word--transform { color: var(--energy-cyan); margin-right: -0.22em; }
.triad__sep { color: var(--text-3); letter-spacing: 0; }

/* ── 04 Connect ────────────────────────────────────────────────────────────── */
.connect__grid {
    display: grid;
    gap: 2.5rem;
}
.connect__body {
    max-width: 50ch;
    margin-top: 1.25rem;
    color: var(--text-2);
}
.social {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.75rem;
    margin-top: 1rem;
}

@media (min-width: 900px) {
    .connect__grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 4rem;
        align-items: end;
    }
    .connect__links { justify-self: end; }
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--line);
    padding-block: 2.5rem;
    font-size: 0.875rem;
}
.site-footer__inner {
    display: grid;
    gap: 1.5rem;
}
.site-footer .brand__mark { width: 1.75rem; height: 1.75rem; }
.site-footer__tagline {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-3);
}
.site-footer__links {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 0 1.75rem;
}
@media (min-width: 600px) {
    .site-footer__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
}
.site-footer__copy { color: var(--text-3); }

@media (min-width: 900px) {
    .site-footer__inner {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 3rem;
    }
    .site-footer__links { justify-content: center; }
}

/* ── 404 ───────────────────────────────────────────────────────────────────── */
.not-found__actions { margin-top: 2.5rem; }

/* ── Nexus Rail (desktop only) ─────────────────────────────────────────────── */
.rail { display: none; }

@media (min-width: 1280px) and (min-height: 560px) {
    .rail {
        display: block;
        position: fixed;
        z-index: 40;
        top: 50%;
        left: max(1rem, calc(50vw - 42rem));
        transform: translateY(-50%);
        transition: opacity 0.4s ease;
    }
    .rail[data-state="idle"] { opacity: 0.55; }
    .rail[data-state="idle"]:hover,
    .rail[data-state="idle"]:focus-within { opacity: 1; }

    .rail__list {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        gap: 1.6rem;
    }

    .rail__track {
        position: absolute;
        top: 0.75rem;
        bottom: 0.75rem;
        left: 7px;
        width: 1px;
        background: var(--line-strong);
    }
    .rail__fill {
        position: absolute;
        inset: 0 0 auto 0;
        height: calc(var(--rail-progress, 0) * 100%);
        background: linear-gradient(180deg, var(--purple-text), var(--blue-text), var(--energy-cyan));
    }

    .rail__link {
        position: relative;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        min-height: 1.5rem;
        font-size: 0.6875rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        font-variant-numeric: tabular-nums;
        color: var(--text-3);
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .rail__link::before {
        content: "";
        flex: none;
        width: 9px;
        height: 9px;
        margin-left: 3px;
        border-radius: 50%;
        border: 1.5px solid currentColor;
        background: var(--void);
        transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .rail__link:hover,
    .rail__link:focus-visible { color: var(--text); }
    .rail__link[aria-current="true"] { color: var(--text); }
    .rail__link[aria-current="true"]::before {
        border-color: var(--energy-cyan);
        background: var(--energy-cyan);
        box-shadow: 0 0 0 4px rgb(34 211 238 / 0.16);
    }

    /* Section names stay in the accessibility tree; shown visually on hover and focus. */
    .rail__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .rail__link:hover .rail__label,
    .rail__link:focus-visible .rail__label {
        left: 4rem;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
        padding: 0.3rem 0.6rem;
        border: 1px solid var(--line-strong);
        border-radius: 6px;
        background: var(--void-raised);
        box-shadow: 0 8px 24px -8px rgb(0 0 0 / 0.6);
        font-size: 0.75rem;
        letter-spacing: 0.04em;
        color: var(--text);
    }
}

/* ── Motion ────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }

    .hero__copy > * { animation: rise 0.9s var(--ease) both; }
    .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
    .hero__copy > :nth-child(3) { animation-delay: 0.18s; }
    .hero__copy > :nth-child(4) { animation-delay: 0.26s; }
    .hero__visual { animation: settle 1.6s var(--ease) 0.1s both; }

    .core__orbit--outer { animation: orbit 90s linear infinite; }
    .core__orbit--inner { animation: orbit 60s linear infinite reverse; }
    .core__glow { animation: breathe 9s ease-in-out infinite; }

    /* Gentle reveal tied to scroll position; browsers without scroll timelines simply show content. */
    @supports (animation-timeline: view()) {
        .section-id,
        .watcher__head,
        .shot,
        .capability,
        .principle,
        .nexus__grid,
        .triad,
        .connect__grid {
            animation: reveal linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 60%;
        }
    }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
@keyframes settle {
    from { opacity: 0; transform: scale(0.94) rotate(-6deg); }
}
@keyframes orbit {
    to { transform: rotate(360deg); }
}
@keyframes breathe {
    50% { opacity: 0.7; }
}
@keyframes reveal {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

/* ── Print ─────────────────────────────────────────────────────────────────── */
@media print {
    .site-header { position: static; }
    .rail, .hero__visual, .skip-link { display: none; }
}
