:root {
    --cream: #F4F1E1;
    --ink: #0E141B;
    --muted: #B4B1A3;
    --soft: #6C6A62;
    --blue: #0A6FE6;
    --navy: #1B3A8F;
    --orange: #E8620F;
    --pink: #F7D4C4;
    --gutter: clamp(16px, 2.4vw, 48px);
    --display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
    --text: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--text);
    font-size: 14px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

body.drawer-open { overflow: hidden; }

a { color: inherit; }

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.98;
    margin: 0;
}

/* ---------- Nav ---------- */

.nav {
    position: fixed;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 50;
    height: 44px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: rgba(244, 241, 225, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    transition: transform 0.5s var(--ease-out), background 0.4s, color 0.4s;
}

.nav.hidden { transform: translateY(-80px); }

body.drawer-open .nav {
    background: transparent;
    color: #fff;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-menu {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: 0;
    padding: 6px 0;
    color: inherit;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.nav-menu-icon {
    position: relative;
    width: 18px;
    height: 8px;
}

.nav-menu-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.nav-menu-icon span:first-child { top: 0; }
.nav-menu-icon span:last-child { top: 6.5px; }

body.drawer-open .nav-menu-icon span:first-child { top: 3.25px; transform: rotate(0); }
body.drawer-open .nav-menu-icon span:last-child { top: 3.25px; transform: scaleX(0); }

.nav-mark {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-weight: 500;
    font-size: 17px;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.nav-mark svg,
.footer-mark svg {
    width: 26px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-link {
    justify-self: end;
    font-size: 12px;
    text-decoration: none;
}

.nav-link:hover,
.nav-menu:hover { opacity: 0.6; }

/* ---------- Drawer ---------- */

.drawer {
    position: fixed;
    inset: 0;
    z-index: 40;
    pointer-events: none;
}

.drawer-bands {
    position: absolute;
    inset: 0 0 auto 0;
    height: 100%;
}

.drawer-bands span {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    transform: translateY(-101%);
    transition: transform 0.7s var(--ease);
}

.drawer-bands span:nth-child(1) { background: var(--pink); }
.drawer-bands span:nth-child(2) { background: var(--orange); transition-delay: 0.06s; }
.drawer-bands span:nth-child(3) { background: var(--navy); transition-delay: 0.12s; }

.drawer-panel {
    position: absolute;
    inset: 0 0 auto 0;
    min-height: 62vh;
    padding: 110px var(--gutter) 48px;
    background: var(--blue);
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    transform: translateY(-101%);
    transition: transform 0.7s var(--ease);
    transition-delay: 0.18s;
}

.drawer.open { pointer-events: auto; }

.drawer.open .drawer-bands span:nth-child(1),
.drawer.open .drawer-bands span:nth-child(2),
.drawer.open .drawer-bands span:nth-child(3) {
    transform: translateY(calc(-100% + 62vh + var(--band-offset, 0px)));
}

.drawer.open .drawer-bands span:nth-child(1) { --band-offset: 54px; transition-delay: 0s; }
.drawer.open .drawer-bands span:nth-child(2) { --band-offset: 36px; transition-delay: 0.06s; }
.drawer.open .drawer-bands span:nth-child(3) { --band-offset: 18px; transition-delay: 0.12s; }

.drawer.open .drawer-panel { transform: translateY(0); }

/* closing: reverse the stagger so the blue leaves first */
.drawer:not(.open) .drawer-panel { transition-delay: 0s; }
.drawer:not(.open) .drawer-bands span:nth-child(1) { transition-delay: 0.18s; }
.drawer:not(.open) .drawer-bands span:nth-child(2) { transition-delay: 0.12s; }
.drawer:not(.open) .drawer-bands span:nth-child(3) { transition-delay: 0.06s; }

.drawer-small {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.drawer-small a { text-decoration: none; width: fit-content; }
.drawer-small a:hover { text-decoration: underline; }

.drawer-note {
    margin-top: 28px;
    font-size: 11px;
    opacity: 0.7;
    max-width: 220px;
}

.drawer-big {
    display: flex;
    flex-direction: column;
}

.drawer-big a {
    font-family: var(--display);
    font-size: clamp(36px, 4.4vw, 64px);
    letter-spacing: -0.04em;
    line-height: 1.04;
    text-decoration: none;
    width: fit-content;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
    transition: background-size 0.4s var(--ease);
}

.drawer-big a:hover { background-size: 100% 2px; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    color: #fff;
}

.sky {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 30% at 25% 78%, rgba(255, 210, 178, 0.65), transparent 70%),
        radial-gradient(ellipse 45% 22% at 80% 66%, rgba(122, 104, 128, 0.45), transparent 70%),
        linear-gradient(180deg, #56677f 0%, #7d8598 30%, #b39c98 55%, #ddb497 72%, #c79783 86%, #8e6f6c 100%);
}

.cloud {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.55;
    animation: drift 60s linear infinite alternate;
}

.c1 { width: 60vw; height: 14vh; left: -10vw; top: 62vh; background: #f6d2bd; }
.c2 { width: 45vw; height: 10vh; right: -8vw; top: 52vh; background: #8a7486; animation-duration: 80s; }
.c3 { width: 70vw; height: 18vh; left: 15vw; top: 82vh; background: #6e5560; opacity: 0.5; animation-duration: 70s; }

@keyframes drift {
    from { transform: translateX(-4vw); }
    to { transform: translateX(4vw); }
}

.hero-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-track path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 1.2;
    stroke-dasharray: 2 7;
}

.hero-dot {
    fill: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.grain {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: clamp(32px, 8vh, 80px);
    display: grid;
    grid-template-columns: 1fr minmax(260px, 340px);
    align-items: end;
    gap: 40px;
}

.hero h1 {
    font-size: clamp(48px, 7.4vw, 128px);
    text-shadow: 0 2px 30px rgba(60, 40, 40, 0.18);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 6px 12px;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink { 50% { opacity: 0.2; } }

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.pill {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 14px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.pill-light { background: var(--cream); color: var(--ink); }
.pill-light:hover { background: #fff; }

.pill-ghost { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; }
.pill-ghost:hover { background: rgba(255, 255, 255, 0.15); }

.hero-right p {
    margin: 0 0 24px;
    font-size: 13px;
    line-height: 1.5;
}

.hud {
    display: flex;
    gap: 22px;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    font-variant-numeric: tabular-nums;
}

.hud div { display: flex; align-items: baseline; gap: 4px; }
.hud dt { font-size: 10px; opacity: 0.7; margin-right: 4px; }
.hud dd { margin: 0; font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.hud span { font-size: 11px; opacity: 0.7; }

/* ---------- Sections ---------- */

.section { padding: 120px var(--gutter); }

.rule-label {
    border-top: 1px solid var(--ink);
    padding-top: 8px;
    font-size: 12px;
}

.statement {
    margin: 48px 0 0;
    max-width: 1500px;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(30px, 4.3vw, 72px);
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.statement .w {
    color: var(--muted);
    transition: color 0.25s;
}

.statement .w.on { color: var(--ink); }

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 20px;
    width: 50%;
    margin: 160px 0 0 auto;
}

.stat {
    border-top: 1px solid var(--ink);
    padding-top: 10px;
}

.stat-label { margin: 0; font-size: 13px; }

.stat-value {
    margin: 12px 0 0;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(56px, 6.6vw, 112px);
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-value small {
    font-size: 0.4em;
    letter-spacing: -0.02em;
    margin-left: 6px;
}

/* ---------- Features (pinned) ---------- */

.features {
    position: relative;
    height: calc(var(--steps) * 100vh);
}

.features-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 76px var(--gutter) 24px;
    display: grid;
    grid-template-columns: 24px minmax(0, 0.95fr) minmax(0, 0.55fr) minmax(0, 0.7fr);
    gap: 0 24px;
}

.features-progress {
    align-self: end;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 4px;
}

.features-progress span {
    width: 2px;
    height: 6px;
    background: var(--muted);
    transition: height 0.4s var(--ease), background 0.4s;
}

.features-progress span.active { height: 26px; background: var(--ink); }

.features-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(160deg, #1d1b1a 0%, #3d332d 45%, #8c6e5b 85%, #c79f82 100%);
}

.panel {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s var(--ease), transform 1.2s var(--ease-out);
}

.panel.active { opacity: 1; transform: none; }

.panel svg {
    width: 100%;
    height: 100%;
}

.panel figcaption {
    position: absolute;
    left: 20px;
    bottom: 18px;
    font-size: 11px;
    color: rgba(244, 241, 225, 0.75);
}

.svg-label {
    fill: rgba(244, 241, 225, 0.75);
    font-size: 12px;
    text-anchor: middle;
    font-family: var(--text);
}

.features-kicker {
    margin: 0;
    font-size: 12px;
    padding-left: 8px;
    align-self: center;
    justify-self: end;
}

.features-copy {
    position: relative;
    border-left: 1px solid var(--ink);
    padding-left: 18px;
}

.step {
    position: absolute;
    inset: 0 0 0 18px;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.step-num {
    margin: 0 0 10px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.5s;
}

.step h2 {
    font-size: clamp(28px, 2.8vw, 46px);
    line-height: 1.02;
}

.step h2,
.step-body {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out);
}

.step-body {
    margin: auto 0 0;
    max-width: 320px;
    font-size: 13px;
    transition-delay: 0.08s;
}

.step.active .step-num,
.step.active h2,
.step.active .step-body {
    opacity: 1;
    transform: none;
}

/* ---------- Dark band ---------- */

.band {
    position: relative;
    min-height: 92vh;
    margin: 0 12px;
    border-radius: 16px;
    overflow: hidden;
    color: var(--cream);
    background:
        radial-gradient(ellipse 80% 60% at 75% 110%, rgba(199, 159, 130, 0.55), transparent 70%),
        linear-gradient(180deg, #121417 0%, #24211f 55%, #4a3b33 100%);
    display: flex;
    align-items: center;
}

.rose {
    position: absolute;
    width: min(110vh, 90vw);
    height: min(110vh, 90vw);
    right: -12vw;
    top: 50%;
    transform: translateY(-50%);
    animation: spin 240s linear infinite;
}

@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.rose circle { fill: none; stroke: rgba(244, 241, 225, 0.22); stroke-width: 1; }
.rose circle.faint { stroke: rgba(244, 241, 225, 0.1); }
.rose-ticks line { stroke: rgba(244, 241, 225, 0.3); stroke-width: 1; }
.rose-ticks line.major { stroke: rgba(244, 241, 225, 0.7); }
.rose-labels text { fill: rgba(244, 241, 225, 0.7); font-size: 16px; text-anchor: middle; font-family: var(--text); }

.band-content {
    position: relative;
    width: 100%;
    padding: 0 var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.band h2 {
    font-size: clamp(44px, 5.4vw, 96px);
    margin-bottom: 24px;
}

.band-specs {
    list-style: none;
    margin: 0;
    padding: 0 0 0 14px;
    border-left: 1px solid rgba(244, 241, 225, 0.5);
    font-size: 12px;
    line-height: 1.7;
    color: rgba(244, 241, 225, 0.8);
}

/* ---------- Technical breakdown ---------- */

.technical { min-height: 100vh; }

.tech-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.28fr) 1fr;
    grid-template-rows: auto 1fr;
    min-height: calc(100vh - 240px);
    position: relative;
}

.tech-tabs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-row: 1;
    grid-column: 1;
}

.tech-tabs button {
    background: none;
    border: 0;
    padding: 0;
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(26px, 2.4vw, 40px);
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.3s;
}

.tech-tabs button:hover { color: var(--soft); }
.tech-tabs button[aria-selected="true"] { color: var(--ink); }

.tech-panel {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, 0.28fr) 1fr;
    grid-template-rows: auto 1fr auto;
    pointer-events: none;
}

.tech-panel[hidden] { display: none; }

.tech-panel > * { pointer-events: auto; }

.fig-caption {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid var(--ink);
    font-size: 11px;
}

.fig-caption span { display: inline-block; width: 90px; }

.blueprint {
    grid-column: 2;
    grid-row: 2 / 4;
    width: 100%;
    max-height: 62vh;
    margin-top: 32px;
    overflow: visible;
}

.blueprint .draw {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1;
    stroke-linecap: round;
}

.blueprint .draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.drawn .blueprint .draw {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.6s var(--ease);
}

.blueprint .draw.dashed { stroke-dasharray: 0.012 0.012; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s 0.6s; }
.drawn .blueprint .draw.dashed { opacity: 1; }

.blueprint .draw.faint { stroke: var(--muted); }

.blueprint text {
    fill: var(--ink);
    font-family: var(--text);
    text-anchor: middle;
    opacity: 0;
    transition: opacity 0.6s 0.7s;
}

.drawn .blueprint text { opacity: 1; }

.bp-title { font-family: var(--display) !important; font-size: 26px; letter-spacing: -0.03em; }
.bp-label { font-size: 13px; }
.bp-sub, .bp-bus { font-size: 11px; fill: var(--soft) !important; }
.bp-bus { text-anchor: start !important; }

.blueprint .redact {
    fill: var(--muted);
    opacity: 0;
    transition: opacity 0.6s 0.9s;
}

.drawn .blueprint .redact { opacity: 0.6; }

.spec {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    width: calc(100% - 32px);
    max-width: 360px;
    margin-top: 40px;
    border-collapse: collapse;
    font-size: 11px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out);
}

.drawn .spec { opacity: 1; transform: none; }

.spec tr { border-top: 1px solid var(--ink); }
.spec tr:last-child { border-bottom: 1px solid var(--ink); }
.spec th { text-align: left; font-weight: 400; padding: 6px 12px 6px 0; width: 40%; vertical-align: top; }
.spec td { padding: 6px 0; vertical-align: top; }

.tech-dots {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tech-dots span {
    width: 2px;
    height: 6px;
    background: var(--muted);
    transition: height 0.4s var(--ease), background 0.4s;
}

.tech-dots span.active { height: 26px; background: var(--ink); }

/* ---------- Timeline (pinned) ---------- */

.timeline {
    position: relative;
    height: calc(var(--steps) * 90vh);
    color: var(--cream);
}

.timeline-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.timeline-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 40% at 50% 100%, rgba(214, 160, 128, 0.5), transparent 70%),
        radial-gradient(ellipse 60% 30% at 20% 30%, rgba(90, 110, 140, 0.35), transparent 70%),
        linear-gradient(180deg, #1a1e25 0%, #2e2c33 45%, #5a4440 80%, #8a6355 100%);
}

.timeline-row {
    position: relative;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(244, 241, 225, 0.55);
    margin: 0 var(--gutter);
    display: grid;
    grid-template-columns: 0.6fr 0.8fr 1.4fr;
    gap: 24px;
}

.timeline-kicker { margin: 0; font-size: 12px; }

.timeline-years {
    position: relative;
    height: 40px;
}

.timeline-years ol {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    transition: transform 0.7s var(--ease);
}

.timeline-years li {
    font-family: var(--display);
    font-size: 28px;
    letter-spacing: -0.03em;
    line-height: 40px;
    color: rgba(244, 241, 225, 0.25);
    transition: color 0.4s;
}

.timeline-years li.active { color: var(--cream); }

.timeline-copy {
    position: relative;
    min-height: 140px;
}

.timeline-copy article {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out);
}

.timeline-copy article.active { opacity: 1; transform: none; }

.timeline-status {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 12px;
    color: rgba(244, 241, 225, 0.65);
}

.timeline-copy h3 {
    grid-column: 1;
    grid-row: 1;
    margin-top: 20px;
    font-size: 15px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.timeline-copy article > p:last-child {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 13px;
    max-width: 380px;
}

/* ---------- Footer ---------- */

.footer {
    position: relative;
    overflow: hidden;
    background: var(--blue);
    color: #fff;
    padding: 28px var(--gutter) 0;
}

.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    min-height: 220px;
}

.footer-small p { margin: 0; font-size: 11px; opacity: 0.85; }

.footer-cols {
    display: grid;
    grid-template-columns: repeat(2, 140px);
    font-size: 13px;
}

.footer-cols div { display: flex; flex-direction: column; gap: 2px; }
.footer-head { margin: 0 0 14px; font-size: 11px; opacity: 0.7; }

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 40px;
}

.footer-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.footer-mark svg { width: 40px; height: 26px; }

.footer-cta { width: 280px; font-size: 15px; }
.footer-cta p { margin: 0; }
.footer-cta a { opacity: 0.75; border-bottom: 1px solid rgba(255, 255, 255, 0.6); }

.footer-shapes {
    position: relative;
    height: 180px;
    margin: 0 calc(-1 * var(--gutter));
}

.footer-shapes span { position: absolute; display: block; }
.s-navy { left: 0; right: 0; top: 0; height: 100%; background: var(--navy); }
.s-orange { left: 0; right: 0; top: 55%; height: 45%; background: var(--orange); }
.s-sky {
    width: 70vw;
    height: 70vw;
    right: -38vw;
    top: -10px;
    border-radius: 50%;
    background: #BFDDF7;
    box-shadow: 0 0 0 40px var(--blue);
}

/* ---------- Hero, stats additions ---------- */

.hero-right strong { font-weight: 500; }

.stat-note {
    margin: 10px 0 0;
    max-width: 260px;
    font-size: 12px;
    color: var(--soft);
}

/* ---------- The gap (sky band) ---------- */

.gap {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
}

.gap-sky {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 20% at 20% 40%, rgba(255, 244, 225, 0.45), transparent 70%),
        radial-gradient(ellipse 40% 14% at 70% 70%, rgba(255, 255, 255, 0.25), transparent 70%),
        linear-gradient(180deg, #6f8fb3 0%, #8aa5c2 45%, #a9bccf 75%, #c4cfd8 100%);
}

.trainer {
    position: absolute;
    top: 22%;
    left: 0;
    width: 120px;
    animation: cruise 48s linear infinite;
}

.trainer path,
.trainer circle { fill: rgba(30, 40, 56, 0.75); }
.trainer .trainer-line { fill: none; stroke: rgba(30, 40, 56, 0.75); stroke-width: 1.5; }

@keyframes cruise {
    from { transform: translateX(-160px) translateY(0); }
    50% { transform: translateX(50vw) translateY(-12px); }
    to { transform: translateX(calc(100vw + 40px)) translateY(0); }
}

.gap-row {
    position: relative;
    width: 100%;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 0.7fr 1.6fr 0.7fr;
    gap: 32px;
    align-items: start;
}

.num-dot {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 10px;
}

.gap-kicker { margin: 6px 0 0; font-size: 12px; display: flex; align-items: center; }

.gap h2 { font-size: clamp(36px, 4.2vw, 72px); }

.gap-body { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }

/* ---------- Feature figures ---------- */

.panel text { font-family: var(--text); }

.svg-label.start { text-anchor: start; }
.svg-label.end { text-anchor: end; }

.cockpit-svg .glare { fill: rgba(14, 20, 27, 0.55); }
.cockpit-svg .windshield { stroke: rgba(156, 195, 255, 0.8); stroke-width: 3; }
.cockpit-svg .sightline { stroke: rgba(244, 241, 225, 0.5); stroke-width: 1.2; stroke-dasharray: 5 6; }
.cockpit-svg .eye { fill: var(--cream); }
.cockpit-svg .sky-rays line { stroke: rgba(244, 241, 225, 0.7); stroke-width: 1.2; stroke-dasharray: 3 5; animation: rays 1.4s linear infinite; }
.cockpit-svg .device { fill: rgba(244, 241, 225, 0.12); stroke: var(--cream); stroke-width: 1.6; }
.cockpit-svg .gps { fill: var(--cream); }
.cockpit-svg .whip { stroke: var(--cream); stroke-width: 3; stroke-linecap: round; }
.cockpit-svg .whip-tip { fill: var(--cream); }
.cockpit-svg .led { fill: var(--orange); animation: blink 1.4s ease-in-out infinite; }

@keyframes rays { to { stroke-dashoffset: 16; } }

.phone-svg .phone { fill: rgba(14, 20, 27, 0.55); stroke: var(--cream); stroke-width: 1.6; }
.phone-svg .phone-notch { stroke: rgba(244, 241, 225, 0.5); stroke-width: 6; stroke-linecap: round; }
.phone-svg .grade rect:first-child,
.trend-svg .trend rect { fill: rgba(244, 241, 225, 0.07); stroke: rgba(244, 241, 225, 0.25); }
.phone-svg .ph-track { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; }
.phone-svg .wifi path { fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; }
.phone-svg .wifi circle { fill: var(--cream); }
.phone-svg .wifi { animation: blink 2s ease-in-out infinite; }

.ph-title { fill: var(--cream); font-size: 15px; font-weight: 500; }
.ph-meta { fill: rgba(244, 241, 225, 0.6); font-size: 10.5px; }
.ph-label { fill: rgba(244, 241, 225, 0.7); font-size: 12px; }
.ph-value { fill: var(--cream); font-size: 30px; font-family: var(--display) !important; letter-spacing: -0.03em; }
.trend-svg .ph-value { font-size: 34px; }
.ph-pill { fill: var(--ink); font-size: 10px; text-anchor: middle; font-weight: 500; }
.pill-pass { fill: #BFE3C0; }
.pill-warn { fill: #F7C77A; }

.trend-svg .spark { fill: none; stroke: #9CC3FF; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.trend-svg .spark.up { stroke: var(--orange); }

/* ---------- Section heads ---------- */

.section-head { margin-bottom: 28px; }

.section-title {
    font-size: clamp(36px, 4.4vw, 76px);
    max-width: 1100px;
    margin-bottom: 80px;
}

/* ---------- Debrief figures ---------- */

.blueprint .draw.thick { stroke-width: 2; }
.blueprint .band-fill { fill: rgba(14, 20, 27, 0.05); opacity: 0; transition: opacity 0.8s 0.4s; }
.drawn .blueprint .band-fill { opacity: 1; }
.blueprint .ball { fill: var(--orange); opacity: 0; transition: opacity 0.6s 1s; }
.drawn .blueprint .ball { opacity: 1; }
.blueprint text.start { text-anchor: start; }
.blueprint text.end { text-anchor: end; }

.blueprint .bank { transform-box: view-box; transform-origin: 400px 204px; }
.drawn .blueprint .bank { animation: bank 6s ease-in-out 1.6s infinite; }

@keyframes bank {
    0%, 100% { transform: rotate(0deg); }
    30%, 60% { transform: rotate(-9.5deg); }
}

/* ---------- Why + what it is not ---------- */

.not { margin-top: 140px; }

.not-head { margin: 0 0 20px; font-size: 12px; }

.not-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.not-col {
    border-top: 1px solid var(--ink);
    padding-top: 12px;
}

.not-col h3 {
    font-size: clamp(22px, 1.9vw, 30px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 40px;
    max-width: 320px;
}

.not-col p {
    margin: 0;
    max-width: 340px;
    font-size: 13px;
    color: var(--soft);
}

/* ---------- Engineering ---------- */

.eng-figure .fig-caption { margin-bottom: 40px; }

.eng-figure .blueprint { max-height: none; margin-top: 0; }

.eng-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 100px;
}

.eng-col h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.eng-col .spec {
    width: 100%;
    max-width: none;
    margin-top: 0;
}

.rose-labels text.minor { font-size: 11px; fill: rgba(244, 241, 225, 0.45); }

/* ---------- Reveal ---------- */

[data-fade] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 1s var(--ease-out);
}

[data-fade].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; gap: 28px; }

    .stats { width: 100%; margin-top: 80px; gap: 48px 16px; }

    .features { height: auto; }

    .features-sticky {
        position: relative;
        height: auto;
        padding: 80px var(--gutter);
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .features-progress, .features-kicker { display: none; }

    .features-media { aspect-ratio: 4 / 4.2; }

    .features-copy { min-height: 300px; border-left: 0; padding-left: 0; border-top: 1px solid var(--ink); padding-top: 12px; }
    .step { inset: 12px 0 0 0; }

    .band { min-height: 80vh; }
    .band-content { flex-direction: column; align-items: flex-start; }
    .rose { right: -45vw; opacity: 0.6; }

    .tech-grid, .tech-panel { grid-template-columns: 1fr; }
    .tech-tabs { flex-direction: row; flex-wrap: wrap; gap: 0 16px; margin-bottom: 24px; }
    .tech-tabs button { font-size: 24px; }
    .tech-panel { grid-row: auto; grid-template-rows: auto; }
    .fig-caption, .blueprint, .spec { grid-column: 1; grid-row: auto; }
    .spec { width: 100%; max-width: none; }
    .tech-dots { display: none; }

    .timeline-row { grid-template-columns: 1fr; gap: 16px; }
    .timeline-years { height: auto; }
    .timeline-years ol { position: static; display: flex; gap: 16px; transform: none !important; }
    .timeline-copy { min-height: 200px; }
    .timeline-copy article { grid-template-columns: 1fr; gap: 8px; align-content: start; }
    .timeline-copy h3, .timeline-copy article > p:last-child { grid-column: 1; grid-row: auto; margin-top: 0; }

    .drawer-panel { grid-template-columns: 1fr; gap: 32px; }
    .gap-row { grid-template-columns: 1fr; gap: 20px; }
    .not-cols, .eng-cols { grid-template-columns: 1fr; gap: 40px; }
    .not-col h3 { margin-bottom: 12px; }
    .section-title { margin-bottom: 40px; }
    .drawer-small { order: 2; }

    .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-cta { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
