/* ==========================================================================
   RedFox Reach — Editorial Dark Design System
   Pure CSS, no framework. Works via file:// in any browser.
   ========================================================================== */

:root {
    --ink: #0b0706;
    --ink-2: #15100b;
    --ink-3: #1f1812;
    --cream: #fffff1;
    --cream-dim: rgba(255, 255, 241, 0.66);
    --cream-faint: rgba(255, 255, 241, 0.38);
    --gold: #ffd995;
    --rust: #b75800;
    --rust-bright: #e06d00;
    --brown: #632705;
    --sage: #94a382;
    --sage-light: #ced8c3;
    --sage-dark: #566347;
    --line: rgba(255, 255, 241, 0.12);
    --line-soft: rgba(255, 255, 241, 0.07);
    --font-display: 'Rozha One', Georgia, serif;
    --font-body: 'Inter', -apple-system, Segoe UI, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--ink);
    color: var(--cream);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--rust); color: #fff; }

/* ---------- Type ---------- */
.display { font-family: var(--font-display); font-weight: 400; line-height: 1.08; }
h1.display { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
h2.display { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3.display { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.italic { font-style: italic; }
.accent { color: var(--rust-bright); }
.gold { color: var(--gold); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--rust-bright);
}

.lead {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    color: var(--cream-dim);
    max-width: 60ch;
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.5rem); }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }
.center .eyebrow::before { display: none; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    background: var(--cream);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 1.05rem 2.1rem;
    border: 1px solid var(--cream);
    border-radius: 999px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--rust-bright); border-color: var(--rust-bright); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(224, 109, 0, 0.55); }
.btn svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-outline { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-outline:hover { background: rgba(255, 255, 241, 0.06); border-color: var(--cream); color: var(--cream); box-shadow: none; }

.btn-rust { background: var(--rust-bright); border-color: var(--rust-bright); color: #fff; }
.btn-rust:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.btn-small { padding: 0.62rem 1.4rem; font-size: 0.68rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid rgba(255, 217, 149, 0.45);
    padding-bottom: 0.35rem;
    transition: color 0.25s, border-color 0.25s;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: #fff; border-color: #fff; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Progress bar / to-top ---------- */
#scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--rust-bright), var(--gold));
    z-index: 90; pointer-events: none;
}
#to-top {
    position: fixed; right: 1.3rem; bottom: 1.3rem;
    width: 2.9rem; height: 2.9rem; border-radius: 999px;
    background: var(--cream); color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    border: none; z-index: 80; cursor: pointer;
    opacity: 0; pointer-events: none;
    transform: translateY(14px) scale(0.9);
    transition: opacity 0.3s, transform 0.3s var(--ease), background 0.2s;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
#to-top.show { opacity: 1; pointer-events: auto; transform: none; }
#to-top:hover { background: var(--rust-bright); color: #fff; }

/* ---------- Navbar ---------- */
.nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 70;
    padding: 1.4rem 0;
    transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.nav.nav-scrolled {
    padding: 0.65rem 0;
    background: rgba(11, 7, 6, 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 6px 30px -12px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand {
    display: flex; align-items: baseline; gap: 0.6rem;
    font-family: var(--font-display); font-size: 1.35rem; color: var(--cream);
}
.brand span { color: var(--rust-bright); }
.brand em {
    font-family: var(--font-body); font-style: normal;
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.3em;
    color: var(--sage); border-left: 1px solid var(--line);
    padding-left: 0.7rem;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--cream-dim);
    position: relative; padding-bottom: 4px;
    transition: color 0.25s;
}
.nav-links a:not(.btn)::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1.5px; background: var(--rust-bright);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { color: var(--cream); }
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: none; color: var(--cream); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero (image + dolly parallax) ---------- */
.hero {
    position: relative; min-height: 100svh;
    display: flex; align-items: center;
    overflow: hidden;
}
.hero-media { position: absolute; inset: -6% 0; z-index: 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, rgba(11, 7, 6, 0.62) 0%, rgba(11, 7, 6, 0.45) 45%, var(--ink) 100%),
        radial-gradient(ellipse at 30% 40%, rgba(99, 39, 5, 0.35), transparent 60%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 6rem; will-change: transform, opacity; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    border: 1px solid var(--line); border-radius: 999px;
    background: rgba(11, 7, 6, 0.45);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    padding: 0.45rem 1.1rem;
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.28em;
    text-transform: uppercase; color: var(--sage-light);
    margin-bottom: 1.6rem;
}
.pulse-dot { position: relative; width: 8px; height: 8px; }
.pulse-dot::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: var(--rust-bright); animation: ping 1.6s ease-out infinite;
}
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--rust-bright); }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.6); opacity: 0; } }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; }
.hero-meta {
    display: flex; gap: 2.5rem; flex-wrap: wrap;
    margin-top: 3.4rem; padding-top: 1.6rem;
    border-top: 1px solid var(--line-soft);
    font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--cream-faint);
}
.scroll-cue {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase;
    color: var(--cream-faint); transition: color 0.25s;
}
.scroll-cue:hover { color: var(--gold); }
.scroll-cue svg { width: 16px; height: 16px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
    position: relative; min-height: 62vh;
    display: flex; align-items: flex-end;
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
    overflow: hidden;
}
.page-hero .hero-content { padding-top: 8rem; }

/* ---------- Marquee ---------- */
.marquee {
    background: var(--rust); color: var(--cream);
    padding: 0.95rem 0; overflow: hidden;
    transform: rotate(-1deg) scale(1.04);
    border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
    position: relative; z-index: 5;
}
.marquee-track {
    display: flex; gap: 3rem; width: max-content;
    white-space: nowrap;
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
    animation: marquee 26s linear infinite;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 0.8rem; }
.marquee-track .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
    background: var(--ink-2);
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    overflow: hidden;
    display: flex; flex-direction: column;
    height: 100%;
    transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card:hover { border-color: rgba(224, 109, 0, 0.45); box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(0.85);
    transition: transform 0.8s var(--ease), filter 0.5s;
}
.card:hover .card-media img { transform: scale(1.08); filter: saturate(1.05); }
.card-media .tag {
    position: absolute; top: 1rem; left: 1rem;
    background: rgba(11, 7, 6, 0.72);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 1px solid var(--line);
    color: var(--gold);
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
    padding: 0.35rem 0.8rem; border-radius: 999px;
}
.card-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.card-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.card-body p { font-size: 0.9rem; color: var(--cream-dim); flex: 1; }
.card-tags { display: flex; gap: 0.9rem; flex-wrap: wrap; padding-top: 0.9rem; border-top: 1px solid var(--line-soft); }
.card-tags span { font-family: monospace; font-size: 0.72rem; color: var(--sage); }

.card-list { margin-top: 0.3rem; }
.card-list li {
    display: flex; align-items: center; gap: 0.65rem;
    font-size: 0.86rem; color: var(--cream-dim);
    padding: 0.3rem 0;
}
.card-list li::before {
    content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
    background: var(--rust-bright);
}

/* ---------- Sticky scroll-zoom scene ---------- */
.zoom-scene { position: relative; height: 320vh; }
.zoom-sticky {
    position: sticky; top: 0; height: 100vh;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.zoom-media { position: absolute; inset: 0; will-change: transform; }
.zoom-media img { width: 100%; height: 100%; object-fit: cover; }
.zoom-shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11, 7, 6, 0.78), rgba(11, 7, 6, 0.55) 50%, rgba(11, 7, 6, 0.85));
}
.zoom-caption {
    position: relative; z-index: 2; text-align: center;
    max-width: 760px; padding: 0 1.5rem;
}
.zoom-step {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -42%);
    width: min(760px, 88vw);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s var(--ease);
    pointer-events: none;
}
.zoom-step.active { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.zoom-step .display { font-size: clamp(1.9rem, 4.6vw, 3.6rem); margin-bottom: 1.1rem; }
.zoom-step p { color: var(--cream-dim); font-size: clamp(0.95rem, 1.4vw, 1.15rem); max-width: 56ch; margin: 0 auto; }
.zoom-progress {
    position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; gap: 0.5rem;
}
.zoom-progress i {
    width: 26px; height: 3px; border-radius: 2px;
    background: rgba(255, 255, 241, 0.22);
    transition: background 0.3s;
}
.zoom-progress i.on { background: var(--gold); }

/* ---------- Horizontal scroll gallery ---------- */
.hscroll { position: relative; height: 300vh; }
.hscroll-sticky {
    position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
}
.hscroll-head { padding: 0 clamp(1.2rem, 6vw, 5rem); margin-bottom: 2.2rem; }
.hscroll-track {
    display: flex; gap: clamp(1.2rem, 2.5vw, 2rem);
    padding: 0 clamp(1.2rem, 6vw, 5rem);
    width: max-content;
    will-change: transform;
}
.hcard {
    position: relative; flex: none;
    width: clamp(280px, 34vw, 460px);
    aspect-ratio: 4 / 5;
    border-radius: 20px; overflow: hidden;
    border: 1px solid var(--line-soft);
}
.hcard img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(0.8) contrast(1.02);
    transition: transform 0.8s var(--ease);
}
.hcard:hover img { transform: scale(1.06); }
.hcard::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(11, 7, 6, 0.92));
}
.hcard-label {
    position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; z-index: 2;
}
.hcard-label .num {
    font-family: monospace; font-size: 0.7rem; color: var(--gold);
    letter-spacing: 0.2em;
}
.hcard-label h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 0.3rem 0 0.25rem; }
.hcard-label p { font-size: 0.8rem; color: var(--cream-dim); }

/* ---------- Parallax band ---------- */
.parallax-band {
    position: relative; height: clamp(340px, 55vh, 520px);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.parallax-band .band-media { position: absolute; inset: -22% 0; will-change: transform; }
.parallax-band .band-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7); }
.parallax-band::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(11, 7, 6, 0.66);
}
.band-quote {
    position: relative; z-index: 2; text-align: center;
    max-width: 820px; padding: 0 1.5rem;
}
.band-quote .display { font-size: clamp(1.5rem, 3.4vw, 2.6rem); }
.band-quote cite {
    display: block; margin-top: 1.2rem;
    font-style: normal; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}

/* ---------- Stats ---------- */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    text-align: center;
}
.stat { padding: 2rem 1rem; border: 1px solid var(--line-soft); border-radius: 18px; background: var(--ink-2); }
.stat .num {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    color: var(--gold); line-height: 1;
}
.stat .lbl {
    margin-top: 0.7rem;
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.24em;
    text-transform: uppercase; color: var(--cream-faint);
}

/* ---------- Split feature rows ---------- */
.feature-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line-soft); }
.feature-row.flip .feature-media { order: 2; }
.feature-media {
    position: relative; border-radius: 20px; overflow: hidden;
    aspect-ratio: 4 / 3; border: 1px solid var(--line-soft);
}
.feature-media img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(0.82);
    transition: transform 0.9s var(--ease);
}
.feature-row:hover .feature-media img { transform: scale(1.06); }
.feature-copy h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 1rem; }
.feature-copy p { color: var(--cream-dim); margin-bottom: 1.2rem; }
.feature-copy ul li {
    display: flex; gap: 0.7rem; align-items: baseline;
    padding: 0.42rem 0; font-size: 0.92rem; color: var(--cream-dim);
}
.feature-copy ul li::before { content: "→"; color: var(--rust-bright); flex: none; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 2.2rem; }
.timeline-line {
    position: absolute; left: 7px; top: 6px; bottom: 6px;
    width: 2px; background: var(--line-soft); border-radius: 2px;
}
.timeline-line i {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--rust-bright), var(--gold));
    transform: scaleY(0); transform-origin: top;
    will-change: transform; display: block; border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 2.8rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
    content: ""; position: absolute; left: -2.2rem; top: 6px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--ink); border: 3px solid var(--rust-bright);
}
.tl-date { font-family: monospace; font-size: 0.74rem; color: var(--sage); letter-spacing: 0.12em; }
.tl-item h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin: 0.35rem 0 0.15rem; }
.tl-org { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rust-bright); }
.tl-item p { margin-top: 0.7rem; color: var(--cream-dim); font-size: 0.92rem; max-width: 60ch; }
.tl-item ul { margin-top: 0.6rem; }
.tl-item ul li {
    display: flex; gap: 0.6rem; align-items: baseline;
    font-size: 0.86rem; color: var(--cream-dim); padding: 0.22rem 0;
}
.tl-item ul li::before { content: "✓"; color: var(--sage); flex: none; font-size: 0.8rem; }

/* ---------- Form ---------- */
.form-shell {
    max-width: 640px; margin: 0 auto;
    background: var(--ink-2); border: 1px solid var(--line-soft);
    border-radius: 22px; padding: clamp(1.8rem, 4vw, 3rem);
}
.form-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.form-top h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.step-chip {
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--rust-bright); background: rgba(224, 109, 0, 0.12);
    padding: 0.4rem 0.9rem; border-radius: 999px;
}
.form-progress { height: 3px; background: rgba(255, 255, 241, 0.1); border-radius: 3px; margin-bottom: 2rem; overflow: hidden; }
.form-progress i { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--rust-bright), var(--gold)); transition: width 0.5s var(--ease); }

.field { margin-bottom: 1.3rem; }
.field label {
    display: block;
    font-size: 0.64rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.55rem;
}
.field input, .field select, .field textarea {
    width: 100%;
    background: var(--ink);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--cream);
    font-family: inherit; font-size: 0.95rem;
    padding: 0.95rem 1.1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--rust-bright);
    box-shadow: 0 0 0 3px rgba(224, 109, 0, 0.18);
}
.field select option { background: var(--ink-2); }

.radio-row {
    display: flex; align-items: center; gap: 0.8rem;
    border: 1px solid var(--line-soft); border-radius: 12px;
    padding: 0.85rem 1.1rem; margin-bottom: 0.6rem;
    cursor: pointer; font-size: 0.9rem; color: var(--cream-dim);
    transition: border-color 0.25s, background 0.25s;
}
.radio-row:hover { border-color: rgba(224, 109, 0, 0.4); background: rgba(224, 109, 0, 0.05); }
.radio-row input { accent-color: var(--rust-bright); width: 16px; height: 16px; }

.form-nav {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 1.8rem; padding-top: 1.5rem;
    border-top: 1px solid var(--line-soft);
}
.form-back { background: none; border: none; color: var(--cream-faint); font-size: 0.82rem; transition: color 0.25s; }
.form-back:hover { color: var(--cream); }
.hidden { display: none !important; }

.form-success { text-align: center; padding: 1.5rem 0 0.5rem; }
.success-ring {
    width: 74px; height: 74px; border-radius: 50%;
    background: var(--rust-bright); color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.4rem;
    box-shadow: 0 0 0 10px rgba(224, 109, 0, 0.14);
}
.success-ring svg { width: 32px; height: 32px; }
.form-success h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; margin-bottom: 0.7rem; }
.form-success p { color: var(--cream-dim); max-width: 44ch; margin: 0 auto 1.6rem; }
.tx-id { font-family: monospace; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--cream-faint); text-transform: uppercase; margin-top: 1.6rem; }
.tx-id b { color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative; text-align: center;
    padding: clamp(4.5rem, 9vw, 7.5rem) 0;
    border-top: 1px solid var(--line-soft);
    overflow: hidden;
}
.cta-band .dots {
    position: absolute; inset: -30% 0; opacity: 0.07; pointer-events: none;
    background-image: radial-gradient(var(--gold) 1px, transparent 1px);
    background-size: 32px 32px;
    will-change: transform;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); background: #080504; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}
.footer-grid h4 {
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--sage); margin-bottom: 1rem;
}
.footer-grid ul li { margin-bottom: 0.55rem; }
.footer-grid ul a {
    font-size: 0.86rem; color: var(--cream-faint);
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: color 0.25s;
}
.footer-grid ul a:hover { color: var(--gold); }
.footer-grid ul a svg { width: 13px; height: 13px; }
.footer-blurb { font-size: 0.84rem; color: var(--cream-faint); max-width: 30ch; margin-top: 0.8rem; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.8rem;
    padding: 1.4rem 0 2rem;
    border-top: 1px solid var(--line-soft);
    font-family: monospace; font-size: 0.7rem; color: var(--cream-faint);
}

/* ---------- Consent note ---------- */
.consent-note {
    font-size: 0.72rem; color: var(--cream-faint); text-align: center;
    margin-top: 0.4rem;
}
.consent-note a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; transition: color 0.25s; }
.consent-note a:hover { color: var(--gold); }

/* ---------- Footer legal row ---------- */
.footer-legal { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.footer-legal a { color: var(--cream-faint); transition: color 0.25s; }
.footer-legal a:hover { color: var(--gold); }

/* ---------- Legal pages ---------- */
.legal-hero {
    padding: clamp(8rem, 16vh, 11rem) 0 clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--line-soft);
}
.legal-body { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.legal-body .intro {
    font-size: 1.05rem; color: var(--cream-dim); font-style: italic;
    border-left: 3px solid var(--gold); padding-left: 1.2rem; margin-bottom: 2.5rem;
}
.legal-body h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: 1.45rem; color: var(--gold);
    margin: 2.6rem 0 0.9rem;
    padding-bottom: 0.5rem; border-bottom: 1px solid var(--line-soft);
}
.legal-body h3 {
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--rust-bright); margin: 1.8rem 0 0.6rem;
}
.legal-body p { color: var(--cream-dim); font-size: 0.95rem; margin-bottom: 1rem; }
.legal-body ul { margin: 0 0 1.2rem; }
.legal-body ul li {
    position: relative; padding: 0.28rem 0 0.28rem 1.4rem;
    color: var(--cream-dim); font-size: 0.92rem;
}
.legal-body ul li::before { content: "•"; position: absolute; left: 0.2rem; color: var(--rust-bright); font-weight: 700; }
.legal-body a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; transition: color 0.25s; }
.legal-body a:hover { color: var(--gold); }
.legal-badge {
    display: inline-block; vertical-align: middle; margin-left: 0.6rem;
    background: rgba(148, 163, 130, 0.16); color: var(--sage-light);
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em;
    padding: 2px 8px; border-radius: 4px;
}
.legal-officer {
    background: rgba(148, 163, 130, 0.08);
    border-left: 3px solid var(--rust-bright);
    border-radius: 0 12px 12px 0;
    padding: 1.6rem 1.8rem; margin-top: 1.8rem;
}
.legal-officer .name { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); }
.legal-officer .role { font-size: 0.82rem; color: var(--cream-dim); margin-bottom: 0.9rem; }

/* ---------- 404 ---------- */
.err-wrap {
    min-height: 100svh; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 6rem 1.5rem 4rem;
}
.err-code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 22vw, 15rem);
    line-height: 1; color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 217, 149, 0.5);
}
.err-links { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.err-links a {
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--cream-dim); border: 1px solid var(--line);
    padding: 0.6rem 1.2rem; border-radius: 999px;
    transition: color 0.25s, border-color 0.25s;
}
.err-links a:hover { color: var(--gold); border-color: var(--gold); }

/* ==========================================================================
   Motion system
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
    will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translate3d(-56px, 0, 0); }
[data-reveal="right"] { transform: translate3d(56px, 0, 0); }
[data-reveal="zoom"]  { transform: scale(0.87); }
[data-reveal="dolly"] { transform: scale(1.13); filter: blur(8px); }
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.42s; }
[data-reveal-delay="5"] { transition-delay: 0.56s; }

[data-parallax-speed] { will-change: transform; }
[data-tilt] { transform-style: preserve-3d; transition: transform 0.18s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .feature-row { grid-template-columns: 1fr; }
    .feature-row.flip .feature-media { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: rgba(11, 7, 6, 0.97);
        border-bottom: 1px solid var(--line);
        padding: 0.6rem 1.4rem 1.4rem;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a:not(.btn) { padding: 0.9rem 0; width: 100%; }
    .nav-links .btn { margin-top: 0.8rem; width: 100%; }
    .nav-toggle { display: block; }
    .brand em { display: none; }
    .zoom-scene { height: 260vh; }
    .hscroll { height: 260vh; }
    .hcard { width: 78vw; }
    .hero-meta { gap: 1.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal], [data-reveal].is-visible { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
    .marquee-track { animation: none; }
    .scroll-cue svg { animation: none; }
    .timeline-line i { transform: scaleY(1) !important; }
    .zoom-scene, .hscroll { height: auto; }
    .zoom-sticky, .hscroll-sticky { position: static; height: auto; }
    .zoom-step { position: static; transform: none; opacity: 1; margin: 1.5rem auto; }
    .hscroll-track { width: auto; flex-wrap: wrap; transform: none !important; }
    #scroll-progress { display: none; }
}
