/* ────────────────────────────────────────────────────────────────────
   Venturis landing — light editorial system.

   Loaded after style.css. The hero in style.css is dark; everything
   in this file overrides that with a single, restrained, light
   editorial language: cream paper, warm ink type, brass accent,
   hairline rules, oversized tabular numerals, ample negative space.

   The only dark moment on the page is the mission slab.
   ──────────────────────────────────────────────────────────────────── */

:root {
    --paper: #fafaf9;
    --paper-2: #f5f2ed;
    --card: #ffffff;
    --ink: #14110a;
    --ink-2: #2a2520;
    --char: #5c5549;
    --mute: #998f82;
    --rule: #e5e0d8;
    --rule-soft: #ece8e0;
    --brass: #d4a44a;
    --brass-deep: #8a6618;
    --brass-tint: #f4e8c8;
}

body.landing {
    background: var(--paper);
    color: var(--ink);
}

/* ── Section base ────────────────────────────────────────────────── */

.section {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 7rem 2rem;
}

.section-head {
    max-width: 44rem;
    margin: 0 auto 3.2rem;
    text-align: center;
}

.section-head--left {
    margin-left: 0;
    margin-right: 0;
    max-width: 52rem;
    text-align: left;
}

.section-head .overline {
    color: var(--brass-deep);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--ink);
    margin-bottom: 1rem;
}

.section-lede {
    color: var(--char);
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 36rem;
    margin: 0 auto;
}

.section-head--left .section-lede {
    margin-left: 0;
    margin-right: 0;
}

/* ── Nav ─────────────────────────────────────────────────────────── */

.landing-nav {
    background: rgba(250, 250, 249, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.landing-nav.scrolled {
    background: rgba(250, 250, 249, 0.94);
    border-bottom-color: var(--rule);
    box-shadow: none;
}

.landing-nav .nav-brand {
    color: var(--ink);
}

.landing-nav .nav-coord {
    color: var(--mute);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.16em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--char);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 0.4rem 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover {
    color: var(--ink);
    border-bottom-color: var(--brass);
}

/* Bracketed CTA — kept from cartographic-instrument treatment */
.landing-nav .nav-cta {
    position: relative;
    padding: 0.45rem 1.05rem;
    margin: 0;
    border: none;
    color: var(--brass-deep);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s, letter-spacing 0.25s;
}
.landing-nav .nav-cta::before,
.landing-nav .nav-cta::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brass);
    font-weight: 400;
    transition: color 0.2s, transform 0.25s;
}
.landing-nav .nav-cta::before { content: '['; left: 0.15rem; }
.landing-nav .nav-cta::after { content: ']'; right: 0.15rem; }
.landing-nav .nav-cta:hover {
    color: var(--ink);
    letter-spacing: 0.24em;
    border: none;
}
.landing-nav .nav-cta:hover::before { transform: translate(-2px, -50%); }
.landing-nav .nav-cta:hover::after { transform: translate(2px, -50%); }

@media (max-width: 720px) {
    .nav-links { gap: 1rem; }
    .nav-link:not(.nav-cta) { display: none; }
    .landing-nav .nav-coord { display: none; }
}

/* ── 1. Hero ─────────────────────────────────────────────────────── */

.hero {
    background: var(--paper);
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    isolation: isolate;
    border-bottom: 1px solid var(--rule);
}

body.landing .hero {
    min-height: 100vh;
    min-height: 100dvh;
}

.hero-atmosphere { display: none; }

.hero-inner {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* ── Hero preamble (compact title cluster above the gateway) ───── */

.hero-preamble {
    text-align: center;
    margin-bottom: 3.2rem;
}

.hero-kicker {
    display: block;
    color: var(--brass-deep);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-preamble .hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin: 0 auto;
    max-width: 34ch;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.4vw, 5.4rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--ink);
    margin: 0 0 1.6rem;
    max-width: 22ch;
}

.hero-sub {
    color: var(--char);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.6;
    max-width: 43rem;
    margin: 0 0 2.4rem;
}

/* ════════════════════════════════════════════════════════════════
   GATEWAY — the two-question fork

   Intentionally distinct from the editorial card system.
   These are architectural panels — tall, weighted, grounded.
   The design references physical wayfinding: two corridors,
   a quiet “or”, and a commitment when you step through.
   ════════════════════════════════════════════════════════════════ */

.gateway {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.85rem;
    align-items: stretch;
    max-width: 940px;
    margin: 0 auto 1.4rem;
    min-height: 340px;
}

.gateway-question {
    position: relative;
    display: flex;
    flex-direction: column;
}

.gateway-face {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 2.35rem 2.1rem 1.95rem;
    border: none;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.38s ease;
}

.gateway-face > * {
    position: relative;
    z-index: 1;
}

/* Card surface — light fill and a readable edge at rest */
.gateway-face::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(20, 17, 10, 0.12);
    border-radius: 4px;
    background: linear-gradient(180deg, var(--card) 0%, rgba(255, 255, 255, 0.76) 100%);
    box-shadow:
        0 10px 28px rgba(20, 17, 10, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: border-color 0.32s ease,
                border-width 0.2s ease,
                box-shadow 0.38s ease;
}

/* Bottom-edge brass accent — visible at rest, full on hover */
.gateway-face::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--brass);
    transform: scaleX(0.42);
    transform-origin: left;
    opacity: 0.55;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.32s ease;
}

.gateway-face:hover::before {
    border-color: var(--ink);
    border-width: 2px;
    box-shadow: 0 14px 40px rgba(20, 17, 10, 0.09);
}

.gateway-face:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.gateway-face:focus-visible {
    outline: none;
}

.gateway-face:focus-visible::before {
    border-color: var(--brass);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(212, 164, 74, 0.18);
}

/* Numbering — oversized tabular figure */
.gateway-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 6vw, 5.2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(138, 102, 24, 0.28);
    font-feature-settings: 'tnum' 1, 'lnum' 1;
    margin-bottom: 1.1rem;
    transition: color 0.38s ease;
}

.gateway-face:hover .gateway-number {
    color: var(--brass);
}

/* The question itself — large, tight, commanding */
.gateway-text {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 0.85rem;
    max-width: 13ch;
}

/* Supporting copy */
.gateway-context {
    display: block;
    color: var(--ink-2);
    font-size: 0.98rem;
    line-height: 1.58;
    max-width: 34ch;
    margin-bottom: auto;
    padding-bottom: 1.5rem;
}

/* CTA label at the base */
.gateway-go {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ink-2);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: auto;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(20, 17, 10, 0.08);
    width: 100%;
    transition: color 0.28s ease, gap 0.28s ease, border-color 0.28s ease;
}

.gateway-face:hover .gateway-go {
    color: var(--brass-deep);
    gap: 0.8rem;
    border-top-color: rgba(154, 106, 34, 0.22);
}

.gateway-arrow {
    display: inline-block;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.gateway-face:hover .gateway-arrow {
    transform: translateX(3px);
}

/* Tag below each card */
.gateway-tag {
    display: block;
    text-align: center;
    color: var(--char);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.75rem 0 0;
}

/* ── The divider between the two questions ─────────────────────── */

.gateway-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.4rem;
    min-height: 100%;
}

.gateway-divider-line {
    flex: 1;
    width: 1px;
    background: var(--rule);
}

.gateway-divider-or {
    color: var(--char);
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.04em;
    padding: 0.8rem 0;
    user-select: none;
}

.hero-journey-fx {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
}

.hero-journey-fx::before,
.hero-journey-fx::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.hero-journey-fx::before {
    top: -18%;
    bottom: -18%;
    left: -36vw;
    width: 34vw;
    transform: skewX(-14deg);
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 164, 74, 0.02) 16%,
        rgba(212, 164, 74, 0.38) 50%,
        rgba(20, 17, 10, 0.12) 62%,
        transparent 100%);
    box-shadow: 0 0 42px rgba(212, 164, 74, 0.28);
}

.hero-journey-fx::after {
    inset: 8% -8%;
    background:
        repeating-linear-gradient(90deg, transparent 0 72px, rgba(138, 102, 24, 0.12) 72px 73px),
        repeating-linear-gradient(0deg, transparent 0 48px, rgba(138, 102, 24, 0.08) 48px 49px);
    opacity: 0;
    transform: scaleX(0.96);
}

.hero.is-journey-transitioning .hero-journey-fx {
    animation: journeyFxFade 0.95s var(--motion-ease-out) both;
}

.hero.is-journey-transitioning .hero-journey-fx::before {
    animation: journeyFxSweep 0.82s var(--motion-ease-shift) both;
}

.hero.is-journey-transitioning .hero-journey-fx::after {
    animation: journeyGridPulse 0.9s var(--motion-ease-out) both;
}

.hero.is-journey-transitioning .coord-drop {
    filter: contrast(1.18) brightness(1.08);
}

@keyframes journeyFxFade {
    0% { opacity: 0; }
    12% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes journeyFxSweep {
    0% { transform: translateX(0) skewX(-14deg); }
    100% { transform: translateX(150vw) skewX(-14deg); }
}

@keyframes journeyGridPulse {
    0% { opacity: 0; transform: scaleX(0.94); }
    28% { opacity: 0.9; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(1.04); }
}

.hero-choice-screen {
    transition: opacity 0.42s var(--motion-ease-out),
                transform 0.42s var(--motion-ease-settle),
                filter 0.42s var(--motion-ease-out);
}

.hero-choice-screen[hidden],
.hero-benefits-screen[hidden] {
    display: none !important;
}

.hero-choice-screen[hidden] *::before,
.hero-choice-screen[hidden] *::after,
.hero-benefits-screen[hidden] *::before,
.hero-benefits-screen[hidden] *::after {
    content: none !important;
}

.hero-journey.is-switching .hero-choice-screen {
    opacity: 0;
    transform: translateY(-18px) scale(0.985);
    filter: blur(7px);
}

.journey-section-label,
.journey-search-label {
    color: var(--brass-deep);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero-choice-note {
    color: var(--mute);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
}

.hero-benefits-screen,
.hero-client-lead-screen {
    max-width: 1100px;
    outline: none;
    opacity: 0;
    transform: translateY(22px) scale(0.99);
    filter: blur(8px);
    transition: opacity 0.62s var(--motion-ease-out),
                transform 0.62s var(--motion-ease-settle),
                filter 0.62s var(--motion-ease-out);
}

.hero-client-lead-screen {
    max-width: 600px;
    margin: 0 auto;
}

.hero-benefits-screen.is-active,
.hero-client-lead-screen.is-active {
    opacity: 1;
    transform: none;
    filter: none;
}

/* ── Lead Capture Form ───────────────────────────────────────────── */

.hero-lead-form {
    margin-top: 2.5rem;
    padding: 2.5rem;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 4px;
    box-shadow: 0 12px 32px rgba(20, 17, 10, 0.04);
}

.hero-lead-form-group {
    margin-bottom: 1.5rem;
}

.hero-lead-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.hero-lead-form label {
    display: block;
    color: var(--ink-2);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-lead-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-lead-form input:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(212, 164, 74, 0.15);
}

.hero-lead-submit {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--ink);
    color: var(--paper);
    border: none;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.hero-lead-submit:hover {
    background: var(--ink-2);
}

.hero-lead-submit:active {
    transform: scale(0.98);
}

.hero-lead-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.journey-back {
    margin: 0 0 1.4rem;
    padding: 0.42rem 0;
    border: none;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: var(--char);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.18s, border-color 0.18s;
}

.journey-back::before {
    content: '<- ';
    color: var(--brass-deep);
}

.journey-back:hover {
    color: var(--ink);
    border-bottom-color: var(--brass);
}

.journey-back:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 4px;
}

.hero-title--benefits {
    font-size: clamp(2.2rem, 5.2vw, 4.65rem);
    max-width: 18ch;
}

.journey-fx-container {
    width: 100%;
    max-width: 1060px;
    height: 440px;
    margin: 0 0 2.5rem;
    position: relative;
    background: var(--ink);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(14, 15, 12, 0.12);
}

.journey-fx-placeholder {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: 
        linear-gradient(rgba(250, 250, 249, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(250, 250, 249, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.fx-corners {
    position: absolute;
    inset: 1.5rem;
    pointer-events: none;
}

.fx-corners span {
    position: absolute;
    width: 2rem;
    height: 2rem;
    border-color: var(--brass);
    border-style: solid;
}

.fx-corners span:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.fx-corners span:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.fx-corners span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.fx-corners span:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

#fx-map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.fx-corners {
    z-index: 2;
}

/* Hide Mapbox UI elements to keep it clean */
.mapboxgl-ctrl-bottom-left,
.mapboxgl-ctrl-bottom-right {
    display: none !important;
}

/* Pulsing hotspots */
.fx-hotspot {
    width: 10px;
    height: 10px;
    background-color: var(--brass);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brass);
    cursor: pointer;
}

.fx-hotspot::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1.5px solid var(--brass);
    border-radius: 50%;
    opacity: 0;
    animation: fx-ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes fx-ping {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* HUD Overlay */
.fx-hud {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    font-family: var(--font-mono);
    color: var(--brass);
}

.fx-hud__coords {
    position: absolute;
    top: 2rem;
    left: 2.5rem;
}

.fx-hud__status {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fx-hud__dot {
    width: 6px;
    height: 6px;
    background: var(--brass);
    border-radius: 50%;
    animation: fx-blink 1s infinite alternate;
}

.fx-hud__data-table {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    width: 260px;
    background: rgba(14, 15, 12, 0.95);
    border: 1px solid rgba(212, 164, 74, 0.3);
    padding: 1.25rem;
    font-family: var(--font-mono);
    transition: opacity 0.3s ease;
}

.fx-hud__table-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(212, 164, 74, 0.15);
    padding: 0.5rem 0;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.fx-hud__table-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.fx-hud__table-row--highlight {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--brass);
    color: var(--paper);
}

.fx-hud__val {
    font-weight: 600;
}
.fx-hud__table-row--highlight .fx-hud__val {
    color: var(--brass);
}

.fx-hud__area {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    text-align: right;
}

.fx-hud__label {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.fx-hud__value {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.fx-hud__reticle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
}
.fx-hud__reticle::before,
.fx-hud__reticle::after {
    content: '';
    position: absolute;
    background: rgba(212, 164, 74, 0.4);
}
.fx-hud__reticle::before {
    top: 50%; left: -10px; right: -10px; height: 1px;
}
.fx-hud__reticle::after {
    left: 50%; top: -10px; bottom: -10px; width: 1px;
}

/* Vignette to blend the hard edges */
.fx-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 0 120px rgba(20, 17, 10, 0.95);
}

/* Hotspot Labels */
.fx-hotspot__label {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0.5rem;
    background: rgba(14, 15, 12, 0.95);
    border: 1px solid var(--brass);
    color: var(--paper);
    padding: 0.25rem 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    opacity: 0;
    animation: fx-fade-in-out 3s infinite;
    pointer-events: none;
}
.fx-hotspot__label em {
    display: block;
    color: var(--brass);
    font-size: 0.55rem;
    font-style: normal;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
    letter-spacing: 0.1em;
}

@keyframes fx-blink {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}
@keyframes fx-fade-in-out {
    0%, 100% { opacity: 0; transform: translateY(-50%) translateX(-10px); }
    15%, 85% { opacity: 1; transform: translateY(-50%) translateX(0); }
}





.journey-search-block {
    max-width: 620px;
    margin: 0;
}

.journey-search-block .hero-search {
    width: 100%;
    max-width: 620px;
    margin: 0.65rem 0 0.7rem;
}

.journey-search-block .hero-feedback {
    max-width: 620px;
    margin: 0 0 1rem;
}

.journey-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    align-items: center;
    margin-top: 0.4rem;
}

.journey-link {
    color: var(--char);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: color 0.18s, border-color 0.18s;
}

.journey-link:hover {
    color: var(--ink);
    border-bottom-color: var(--brass);
}

.journey-link--primary {
    color: var(--brass-deep);
}

/* Hero search — light edition. Overrides the dark rgba surfaces from
   landing.css (old). Brass border, sharp 2px corners. */
.hero .hero-search {
    position: relative;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 2px;
    padding: 4px;
    max-width: 540px;
    margin: 0 0 2.6rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hero .hero-search:focus-within {
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(212, 164, 74, 0.12);
}
.hero .hero-search input {
    color: var(--ink);
    background: transparent;
    font-family: var(--font);
    font-size: 0.96rem;
    letter-spacing: 0.005em;
    padding: 0.85rem 1rem;
}
.hero .hero-search input::placeholder { color: var(--mute); }

/* Brass instrument-plate button */
.hero .hero-search button {
    position: relative;
    padding: 0.85rem 1.6rem;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 9.4rem;
    transition: background 0.25s var(--motion-ease-out), border-color 0.25s var(--motion-ease-out);
}
.hero .hero-search button::after {
    content: none;
}
.hero .hero-search button:hover {
    background: var(--brass);
    border-color: var(--brass);
    color: var(--ink);
}
.hero .hero-search button:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

/* Hero stat strip — the Lucien-style hard-numbers ornament */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--rule);
    max-width: 760px;
}

.hero-stats li {
    padding: 1.4rem 1.4rem 0 0;
    border-right: 1px solid var(--rule-soft);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.hero-stats li:last-child { border-right: none; }

.hero-stats b {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-feature-settings: 'tnum' 1, 'lnum' 1;
    line-height: 1;
}

.hero-stats span {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

/* Override the staggered hero load animation from style.css to use our own targets */
.hero .hero-preamble,
.hero .hero-title,
.hero .hero-search,
.hero-kicker,
.hero-sub,
.gateway,
.hero-choice-note,
.hero-stats {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s var(--motion-ease-out),
                transform 0.85s var(--motion-ease-settle);
    will-change: transform, opacity;
}

.hero.hero-loaded .hero-preamble { opacity: 1; transform: none; transition-delay: 0.06s; }
.hero.hero-loaded .hero-kicker { opacity: 1; transform: none; transition-delay: 0.06s; }
.hero.hero-loaded .hero-title { opacity: 1; transform: none; transition-delay: 0.12s; }
.hero.hero-loaded .hero-sub { opacity: 1; transform: none; transition-delay: 0.32s; }
.hero.hero-loaded .gateway { opacity: 1; transform: none; transition-delay: 0.28s; }
.hero.hero-loaded .hero-choice-note { opacity: 1; transform: none; transition-delay: 0.48s; }
.hero.hero-loaded .hero-search { opacity: 1; transform: none; transition-delay: 0.16s; }
.hero.hero-loaded .hero-stats { opacity: 1; transform: none; transition-delay: 0.60s; }

/* ── Hero coordinate rain ─────────────────────────────────────────
   Sparse vertical drift of London coordinates behind the hero copy.
   Editorial watermark, not Matrix theatre.
   Container is its own clipping box so .hero can keep overflow: visible.
   ────────────────────────────────────────────────────────────────── */
.hero-coord-rain {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(180deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%);
            mask-image: linear-gradient(180deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%);
}

/* Soft paper veil right behind the headline column so the title and
   search input stay the loudest elements without dimming the rain
   across the whole hero. */
.hero-coord-rain::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20%;
    width: min(940px, 92%);
    height: 65%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center,
        rgba(250, 250, 249, 0.85) 0%,
        rgba(250, 250, 249, 0.45) 50%,
        transparent 85%);
    pointer-events: none;
}

.coord-drop {
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--brass-deep);
    /* Base opacity is multiplied by each point's data-driven score
       at runtime; see initCoordRain in index.html. */
    opacity: 0.22;
    white-space: nowrap;
    transform: translateY(-3rem);
    animation-name: coord-fall;
    /* Custom curve: slow at the top, settles through the middle,
       gently accelerates near the bottom. Reads like ink dropping
       through paper instead of a rock falling. */
    animation-timing-function: cubic-bezier(0.55, 0.06, 0.6, 1);
    animation-iteration-count: infinite;
    will-change: transform;
    padding-left: 0.85rem;
}

/* Survey tick — a thin vertical hairline anchoring each drop on the
   left. Gives every coordinate the feel of a measured plot point
   rather than free-floating text. */
.coord-drop::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.18em;
    bottom: 0.18em;
    width: 1px;
    background: var(--brass);
    opacity: 0.55;
}

/* Editorial label sits before the coord in small caps with a hairline
   ink colour. Gives the rain a "field-notes" rhythm instead of an
   undifferentiated stream of numbers. */
.coord-drop .coord-label {
    color: var(--ink-2);
    font-weight: 600;
    margin-right: 0.55rem;
    letter-spacing: 0.28em;
}

.coord-drop .coord-sep {
    color: var(--brass);
    margin-right: 0.45rem;
    opacity: 0.7;
}

/* Feature drops — about a quarter of them. Larger, more present, slower.
   These are what the eye locks on to. */
.coord-drop--feature {
    font-size: 0.86rem;
    letter-spacing: 0.24em;
    opacity: 0.36;
}

.coord-drop--feature .coord-label {
    color: var(--ink);
}

.coord-drop--feature::before {
    width: 1.5px;
    background: var(--brass-deep);
    opacity: 0.75;
}

@keyframes coord-fall {
    0%   { transform: translateY(-3rem); }
    100% { transform: translateY(110vh); }
}

@media (prefers-reduced-motion: reduce) {
    .coord-drop {
        animation: none;
        transform: none;
    }
}

@media (max-width: 880px) {
    .hero-coord-rain { display: none; }
    .hero { padding: 0 1.5rem; }
    .gateway {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        max-width: 480px;
        min-height: auto;
    }
    .gateway-divider {
        flex-direction: row;
        padding: 0.8rem 0;
        min-height: auto;
    }
    .gateway-divider-line {
        flex: 1;
        width: auto;
        height: 1px;
    }
    .gateway-divider-or {
        padding: 0 1rem;
    }
    .gateway-face {
        padding: 1.6rem 1.4rem 1.3rem;
    }
    .gateway-number {
        font-size: 2.6rem;
        margin-bottom: 0.8rem;
    }
    .journey-fx-container {
        height: 320px;
    }
    .journey-search-block {
        max-width: none;
    }
    .journey-search-block .hero-search {
        max-width: none;
    }
    .hero-stats { grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); }
    .hero-stats li {
        padding: 1.1rem 1rem 1.1rem 0;
        border-bottom: 1px solid var(--rule-soft);
    }
    .hero-stats li:nth-child(2) { border-right: none; }
    .hero-stats li:nth-child(3),
    .hero-stats li:nth-child(4) { border-bottom: none; }
}

/* ── 2. Built-on rail ────────────────────────────────────────────── */

.built-on {
    background: var(--paper-2);
    border-bottom: 1px solid var(--rule);
    overflow: hidden;
}

.built-on-rail {
    width: min(100%, 1180px);
    margin: 0 auto;
    display: block;
    align-items: center;
    padding: 1.45rem 2rem;
}

.built-on-track {
    display: flex;
    gap: 3rem;
    animation: builtOnDrift 38s linear infinite;
    width: max-content;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.built-on-track span {
    flex: none;
    color: var(--ink-2);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    white-space: nowrap;
    opacity: 0.78;
}

@keyframes builtOnDrift {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 720px) {
    .built-on-rail {
        padding: 1.4rem 1.5rem;
    }
}

@media (max-width: 560px) {
    .hero {
        padding: 0 1.2rem;
    }
    .hero-preamble {
        margin-bottom: 2rem;
    }
    .hero-preamble .hero-title {
        font-size: 1.35rem;
    }
    .hero-title--benefits {
        max-width: 100%;
    }
    .hero-sub {
        font-size: 0.96rem;
        line-height: 1.55;
        margin-bottom: 1.7rem;
    }
    .gateway-face {
        padding: 1.2rem 1rem 1rem;
    }
    .gateway-number {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    .gateway-text {
        font-size: 1.28rem;
        max-width: none;
    }
    .gateway-context {
        font-size: 0.92rem;
        max-width: none;
    }
    .hero-choice-note {
        font-size: 0.66rem;
        line-height: 1.45;
    }
    .journey-benefit-list li {
        grid-template-columns: 2.4rem minmax(0, 1fr);
        gap: 0.25rem 0.75rem;
    }
    .journey-links {
        gap: 0.85rem;
    }
}

/* ── 3. Mission slab — the one dark moment ───────────────────────── */

#mission {
    background: var(--ink);
    position: relative;
    color: var(--paper);
    padding: 7rem 2rem;
}

#mission .scroll-content {
    position: relative;
    z-index: 2;
    width: min(100%, 1080px);
    margin: 0 auto;
    text-align: center;
}

#mission .scroll-content__kicker {
    display: block;
    color: var(--brass);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
}

#mission .scroll-content__title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.6vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: rgba(241, 232, 214, 0.62);
    max-width: 36ch;
    margin: 0 auto 1.5rem;
}

#mission .scroll-highlight {
    color: #f5ecd6;
    display: block;
    margin-top: 0.6rem;
}

#mission .scroll-content__body {
    color: rgba(241, 232, 214, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 48ch;
    margin: 0 auto;
}

/* Old .statement-dark rules from style.css don't apply (we removed the section)
   — but if any legacy markup references it, keep it harmless. */
.statement-dark { display: none !important; }

/* ── 4. The Reality / Editorial Stagger Layout ─────────────────────── */

.editorial-stagger {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 4rem;
    align-items: start;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

.editorial-stagger__header {
    position: sticky;
    top: 35vh; /* Stay fixed on the left while reading the right */
}

.editorial-stagger__header .scroll-content__title {
    text-align: left;
    margin-left: 0;
    max-width: 16ch;
}

.editorial-stagger__items {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding-top: 4rem;
    padding-bottom: 8rem;
}

.editorial-stagger__item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 440px;
    position: relative;
}

.editorial-stagger__item::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 0;
    width: 2.5rem;
    height: 1px;
    background: var(--brass);
}

.editorial-stagger__item--offset {
    margin-left: auto; /* Push second item to the right edge */
}

.editorial-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.editorial-stat__number {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 6vw, 4.8rem);
    font-weight: 700;
    color: var(--brass);
    letter-spacing: -0.04em;
    line-height: 0.9;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
}

.editorial-stat__label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mute);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.editorial-stagger__item .editorial-stat__text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

@media (max-width: 880px) {
    .editorial-stagger {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .editorial-stagger__header {
        position: static;
    }
    .editorial-stagger__header .scroll-content__title {
        max-width: none;
    }
    .editorial-stagger__items {
        gap: 4.5rem;
        padding-top: 2rem;
        padding-bottom: 4rem;
    }
    .editorial-stagger__item--offset {
        margin-left: 0;
    }
}

/* ── Card grid system (engine / how-it-works) ──────────── */

.card-grid {
    display: grid;
    gap: 1.25rem;
}

.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 2px;
    padding: 1.8rem 1.6rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: border-color 0.25s, transform 0.25s var(--motion-ease-out), box-shadow 0.25s;
}

.card:hover {
    border-color: var(--brass);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(20, 17, 10, 0.05);
}

.card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 0;
    background: var(--brass);
    transition: width 0.3s var(--motion-ease-out);
}

.card:hover::after { width: 40%; }

.card-num {
    color: var(--brass-deep);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--ink);
    margin: 0;
}

.card p {
    color: var(--char);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* Problem-card stat embed */
.card--problem .card-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: -0.2rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--rule-soft);
    margin-bottom: 0.4rem;
}

.card-stat b {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
    line-height: 1;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
}

.card-stat i {
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--mute);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .card-grid--4,
    .card-grid--3 { grid-template-columns: 1fr; }
    .section { padding: 4.5rem 1.5rem; }
    .section-head { margin-bottom: 2.4rem; }
}

/* ── 7. The Map (dashboard + 01–08) ──────────────────────────────── */

.map-section { padding-bottom: 8rem; }

.map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 3.4rem;
    align-items: start;
}

.map-screenshot {
    margin: 0;
    position: relative;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 60px -28px rgba(20, 17, 10, 0.18);
}

.map-screenshot img {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.map-screenshot img.missing {
    display: none;
}

/* Placeholder shown when /assets/landing/map-hero.png is missing.
   Drawn behind the <img>; once a real screenshot is dropped in, the
   image covers it. */
.map-screenshot::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(60deg, transparent 0 28px, rgba(212,164,74,0.07) 28px 29px),
        repeating-linear-gradient(-60deg, transparent 0 28px, rgba(212,164,74,0.07) 28px 29px),
        linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    pointer-events: none;
    z-index: 0;
}

.map-screenshot::after {
    content: none;
}

.map-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background:
        linear-gradient(135deg, rgba(250,250,249,0.92), rgba(245,242,237,0.82)),
        repeating-linear-gradient(60deg, transparent 0 28px, rgba(212,164,74,0.07) 28px 29px),
        repeating-linear-gradient(-60deg, transparent 0 28px, rgba(212,164,74,0.07) 28px 29px);
}

.map-fallback__chrome {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--rule);
    background: rgba(255,255,255,0.78);
    color: var(--brass-deep);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.map-fallback__body {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.45fr);
    gap: 1rem;
    min-height: 0;
    padding-top: 1rem;
}

.map-fallback__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: center;
    gap: 0.75rem;
    padding: 2rem;
    border: 1px solid var(--rule);
    background: rgba(255,255,255,0.42);
    overflow: hidden;
}

.map-fallback__grid::before {
    content: '';
    position: absolute;
    inset: 18%;
    background: radial-gradient(circle, rgba(212,164,74,0.22), transparent 62%);
    pointer-events: none;
}

.cell {
    aspect-ratio: 1 / 0.86;
    clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
    border: 1px solid rgba(138,102,24,0.28);
    background: rgba(212,164,74,0.12);
}

.cell--low { background: rgba(212,164,74,0.10); }
.cell--mid { background: rgba(212,164,74,0.22); }
.cell--high { background: rgba(212,164,74,0.42); }
.cell--peak {
    background: var(--brass);
    border-color: var(--brass-deep);
    box-shadow: 0 12px 28px rgba(138,102,24,0.18);
}

.map-fallback__panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--rule);
    background: rgba(255,255,255,0.88);
}

.map-fallback__panel span,
.map-fallback__panel small {
    color: var(--mute);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.45;
    text-transform: uppercase;
}

.map-fallback__panel strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.1;
}

.map-fallback__panel b {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.map-caption {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 3;
    color: rgba(20, 17, 10, 0.78);
    background: rgba(255, 255, 255, 0.86);
    padding: 0.32rem 0.6rem;
    border: 1px solid var(--rule);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.map-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    counter-reset: feat;
}

.map-features li {
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    gap: 1rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--rule-soft);
    align-items: start;
}

.map-features li:first-child { padding-top: 0; }
.map-features li:last-child { border-bottom: none; }

.feat-num {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brass);
    letter-spacing: -0.01em;
    line-height: 1;
    padding-top: 0.18rem;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
}

.map-features h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 0.25rem;
}

.map-features p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--char);
    margin: 0;
}

@media (max-width: 980px) {
    .map-layout {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }
}

@media (max-width: 640px) {
    .map-fallback {
        padding: 0.75rem;
    }
    .map-fallback__chrome {
        flex-direction: column;
        gap: 0.35rem;
    }
    .map-fallback__body {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .map-fallback__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 1rem;
    }
    .map-fallback__panel {
        display: none;
    }
}

/* ── 8. FAQ ──────────────────────────────────────────────────────── */

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    border-top: 1px solid var(--rule);
}

.faq-item {
    border-bottom: 1px solid var(--rule);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.4rem 2.5rem 1.4rem 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    position: relative;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brass);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1;
    transition: transform 0.25s var(--motion-ease-out);
}

.faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-item summary:hover { color: var(--brass-deep); }

.faq-item p {
    padding: 0 2.5rem 1.6rem 0;
    color: var(--char);
    font-size: 0.96rem;
    line-height: 1.7;
    max-width: 60ch;
    margin: 0;
}

/* ── 9. Final CTA ────────────────────────────────────────────────── */

.cta-section {
    background: var(--paper-2);
    padding: 7rem 2rem;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.cta-inner {
    width: min(100%, 760px);
    margin: 0 auto;
    text-align: center;
}

.cta-inner .overline {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--brass-deep);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.36em;
    text-transform: uppercase;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--ink);
    margin: 0 0 1rem;
}

.cta-lede {
    color: var(--char);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 32rem;
    margin: 0 auto 2.4rem;
}

.cta-search {
    display: flex;
    justify-content: center;
    margin-bottom: 2.4rem;
}

.cta-search .hero-search {
    position: relative;
    width: min(100%, 540px);
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 2px;
    padding: 4px;
}

.cta-search .hero-search:focus-within {
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(212, 164, 74, 0.12);
}

.cta-search .hero-search input {
    color: var(--ink);
    background: transparent;
    padding: 0.85rem 1rem;
}

.cta-search .hero-search input::placeholder { color: var(--mute); }

.cta-search .hero-search button {
    padding: 0.85rem 1.6rem;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.cta-search .hero-search button:hover {
    background: var(--brass);
    border-color: var(--brass);
    color: var(--ink);
}

.cta-stats {
    margin: 0 auto;
    max-width: 640px;
    border-top: 1px solid var(--rule);
}

/* ── Footer ──────────────────────────────────────────────────────── */

.landing-footer {
    background: var(--paper);
    color: var(--char);
    padding: 3.5rem 2rem 2.8rem;
    border-top: none;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: end;
    width: min(100%, 1180px);
    margin: 0 auto;
}

.footer-brand span {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.footer-brand p {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--mute);
    letter-spacing: 0.06em;
    margin: 0 0 0.3rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: flex-end;
    align-items: center;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.15rem;
    transition: color 0.2s, border-color 0.2s;
}

.footer-links a:hover {
    color: var(--brass-deep);
    border-bottom-color: var(--brass);
}

.footer-coord {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: var(--mute);
    letter-spacing: 0.16em;
}

@media (max-width: 720px) {
    .landing-footer {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }
    .footer-links { justify-content: flex-start; }
}

/* ── Section reveal stagger ──────────────────────────────────────── */

.section .section-head,
.section .card-grid > *,
.section .map-layout > *,
.section .faq-list {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--motion-ease-out),
                transform 0.7s var(--motion-ease-settle);
}

.section.visible .section-head { opacity: 1; transform: none; }
.section.visible .card-grid > * { opacity: 1; transform: none; }
.section.visible .map-layout > * { opacity: 1; transform: none; }
.section.visible .faq-list { opacity: 1; transform: none; }

.section.visible .card-grid > *:nth-child(1) { transition-delay: 0.05s; }
.section.visible .card-grid > *:nth-child(2) { transition-delay: 0.13s; }
.section.visible .card-grid > *:nth-child(3) { transition-delay: 0.21s; }
.section.visible .card-grid > *:nth-child(4) { transition-delay: 0.29s; }

.section.visible .map-layout > *:nth-child(1) { transition-delay: 0.08s; }
.section.visible .map-layout > *:nth-child(2) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
    .section .section-head,
    .section .card-grid > *,
    .section .map-layout > *,
    .section .faq-list,
    .hero .hero-preamble,
    .hero .hero-title,
    .hero .hero-search,
    .hero-kicker,
    .hero-sub,
    .hero-benefits-screen,
    .hero-choice-screen,
    .hero-journey-fx,
    .gateway,
    .hero-choice-note,
    .journey-fx-container,
    .hero-stats,
    .built-on-track {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
        transition: none !important;
    }
    .hero-journey-fx::before,
    .hero-journey-fx::after {
        animation: none !important;
    }
}

/* ── Legacy section silencers ────────────────────────────────────── */

/*
   The previous landing had a signal-band, london-section, and
   evidence-section. The rewrite drops them all. These rules guarantee
   the legacy DOM, if it ever comes back via a stale cache or partial
   merge, doesn't fight the new layout.
*/
.signal-band,
.london-section,
.evidence-section { display: none !important; }

/* ── Hero search · autocomplete dropdown + feedback ──────────────── */

.hero-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 2px;
    box-shadow: 0 12px 32px rgba(20, 17, 10, 0.14);
    max-height: 18rem;
    overflow-y: auto;
    text-align: left;
}

.hero-suggestions.hidden {
    display: none;
}

.hero-suggestions__item {
    padding: 0.72rem 1rem;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.94rem;
    color: var(--ink-2);
    border-bottom: 1px solid var(--rule-soft);
    transition: background 0.12s, color 0.12s;
}

.hero-suggestions__item:last-child {
    border-bottom: none;
}

.hero-suggestions__item:hover,
.hero-suggestions__item:focus {
    background: var(--paper-2);
    color: var(--ink);
    outline: none;
}

.hero-feedback {
    max-width: 540px;
    margin: -1.8rem 0 2rem;
    padding: 0.6rem 0.85rem;
    background: rgba(212, 164, 74, 0.08);
    border-left: 2px solid var(--brass);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--brass-deep);
    text-transform: none;
}

.hero-feedback.hidden {
    display: none;
}

.cta-search .hero-feedback {
    width: min(100%, 540px);
    margin: 0.6rem auto 0;
}

@media (max-width: 540px) {
    .hero-feedback {
        margin-top: 0.6rem;
    }
}
