:root {
    --night: #02040b;
    --night-blue: #071229;
    --tent-blue: #162b50;
    --paper: #eee9df;
    --red: #f15343;
    --star: #f8f5e9;
    --ink: #0d1220;
    --pad: clamp(20px, 5.8vw, 92px);
    --sans: 'Google Sans Flex', Arial, sans-serif;
    --display: 'Google Sans Flex', Arial, sans-serif;
    --mono: 'Space Mono', monospace;
    --roof-open: 0;
    --closed-copy: 1;
    --open-copy: 0;
    --sky-alpha: .12;
    --sky-scale: .23;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
    background: var(--night);
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
}

body {
    margin: 0;
    overflow-x: hidden;
    overflow-x: clip;
    color: var(--star);
    background: var(--night);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

body.archive-open { overflow: hidden; }

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

::selection {
    color: var(--night);
    background: var(--red);
}

.skip-link {
    position: fixed;
    z-index: 300;
    top: max(10px, env(safe-area-inset-top));
    left: max(12px, calc(env(safe-area-inset-left) + 10px));
    padding: 10px 14px;
    color: var(--night);
    background: var(--star);
    transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-nav {
    position: fixed;
    z-index: 150;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 54px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 clamp(15px, 3vw, 45px);
    padding-left: max(clamp(15px, 3vw, 45px), calc(env(safe-area-inset-left) + 12px));
    padding-right: max(clamp(15px, 3vw, 45px), calc(env(safe-area-inset-right) + 12px));
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    background: rgba(2, 4, 11, .56);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-nav > :last-child { justify-self: end; }
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--red); }

.eyebrow {
    margin: 0;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .11em;
    line-height: 1.5;
    text-transform: uppercase;
}

.roof {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 47%, rgba(34, 67, 118, .28), transparent 25%),
        linear-gradient(180deg, #010207, var(--night));
    isolation: isolate;
}

.roof::before {
    content: '';
    position: absolute;
    z-index: -2;
    top: 48%;
    left: 50%;
    width: calc(24vmin + (var(--roof-open) * 135vmax));
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 52% 48%, rgba(77, 122, 192, .25), transparent 40%),
        radial-gradient(circle at 48% 53%, #0c2449, #030a19 64%, #010207);
    box-shadow:
        0 0 calc(30px + var(--roof-open) * 90px) rgba(74, 119, 185, calc(.08 + var(--roof-open) * .2)),
        inset 0 0 80px rgba(0, 0, 0, .55);
    opacity: calc(.3 + var(--roof-open) * .7);
    transform: translate(-50%, -50%);
}

.roof__stars {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: var(--sky-alpha);
    clip-path: circle(calc(12vmin + (var(--roof-open) * 85vmax)) at 50% 46%);
}

.roof__glow {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: -18%;
    width: min(90vw, 1300px);
    height: 48%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(241, 83, 67, calc(.08 + var(--roof-open) * .15)), transparent 67%);
    filter: blur(30px);
    transform: translateX(-50%);
}

.roof__orbit {
    position: absolute;
    z-index: 0;
    top: 46%;
    left: 50%;
    width: calc(31vmin + (var(--roof-open) * 50vmin));
    aspect-ratio: 1;
    border: 1px solid rgba(248, 245, 233, calc(.08 + var(--roof-open) * .1));
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%) rotate(calc(var(--roof-open) * 28deg));
}

.roof__orbit--two {
    width: calc(38vmin + (var(--roof-open) * 62vmin));
    border-style: dashed;
    opacity: .55;
    transform: translate(-50%, -50%) rotate(calc(var(--roof-open) * -37deg));
}

.roof__closed-copy,
.roof__open-copy {
    position: absolute;
    z-index: 5;
    pointer-events: none;
}

.roof__closed-copy {
    top: clamp(92px, 12vh, 145px);
    left: var(--pad);
    width: min(760px, 65vw);
    opacity: var(--closed-copy);
    transform: translateY(calc(var(--roof-open) * -32px));
}

.roof__closed-copy p {
    margin: 0 0 22px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.roof__closed-copy h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(58px, 8.2vw, 132px);
    font-weight: 400;
    line-height: .8;
    letter-spacing: -.045em;
}

.roof__open-copy {
    top: clamp(86px, 9vh, 120px);
    right: var(--pad);
    left: var(--pad);
    display: grid;
    justify-items: center;
    text-align: center;
    opacity: var(--open-copy);
    transform: translateY(calc((1 - var(--roof-open)) * 36px));
}

.roof__open-copy p {
    margin: 0 0 4vh;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.roof__open-copy strong {
    display: block;
    font-size: clamp(110px, 22vw, 345px);
    font-variation-settings: "opsz" 144, "wdth" 132, "wght" 690;
    font-weight: 690;
    line-height: .58;
    letter-spacing: -.09em;
}

.roof__open-copy em {
    margin-top: 4vh;
    color: var(--red);
    font-family: var(--display);
    font-size: clamp(34px, 5vw, 76px);
    font-weight: 400;
    line-height: .9;
}

.roof__product {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    width: min(90vw, 1370px);
    aspect-ratio: 16 / 9;
    cursor: ew-resize;
    touch-action: pan-y;
    transform: translate(-50%, -42%) scale(calc(.88 + var(--roof-open) * .1));
    user-select: none;
    -webkit-user-select: none;
}

.roof__product:focus-visible {
    outline: 1px solid var(--red);
    outline-offset: 10px;
}

.roof__poster,
.roof__motion {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 35px 32px rgba(0, 0, 0, .58));
}

.roof__poster--closed { opacity: calc(1 - var(--roof-open)); }
.roof__poster--open { opacity: var(--roof-open); }
.roof__motion { opacity: 0; }
.roof__product.is-ready .roof__motion { opacity: 1; }
.roof__product.is-ready .roof__poster { opacity: 0; }

.roof__hinge {
    position: absolute;
    z-index: 8;
    left: 50%;
    bottom: 14.5%;
    width: 58px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(248, 245, 233, .4);
    border-radius: 50%;
    background: rgba(2, 4, 11, .68);
    box-shadow: 0 0 0 10px rgba(241, 83, 67, .08);
    transform: translateX(-50%) rotate(calc(var(--roof-open) * 230deg));
}

.roof__hinge::before,
.roof__hinge::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(248, 245, 233, .28);
    border-radius: 50%;
}

.roof__hinge::after { inset: 17px; border-style: solid; }

.roof__hinge i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 14px var(--red);
}

.roof__hinge span {
    position: absolute;
    top: 2px;
    left: 50%;
    width: 1px;
    height: 13px;
    background: var(--red);
    transform: translateX(-50%);
}

.roof__loading {
    position: absolute;
    right: 5%;
    bottom: 8%;
    margin: 0;
    color: rgba(248, 245, 233, .46);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.roof__product.is-ready .roof__loading { display: none; }

.roof__control {
    position: absolute;
    z-index: 12;
    right: var(--pad);
    bottom: 34px;
    width: min(430px, calc(100vw - 40px));
}

.roof__control-labels {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.roof__control-labels b {
    color: rgba(248, 245, 233, .5);
    font-weight: 400;
}

.roof__control-labels span:last-child { justify-self: end; }

.roof__control input {
    width: 100%;
    height: 44px;
    margin: 0;
    appearance: none;
    background: transparent;
    cursor: ew-resize;
}

.roof__control input::-webkit-slider-runnable-track {
    height: 1px;
    background: linear-gradient(90deg, var(--red) 0 var(--roof-position, 0%), rgba(248, 245, 233, .34) var(--roof-position, 0%));
}

.roof__control input::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    margin-top: -10.5px;
    appearance: none;
    border: 1px solid var(--star);
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 7px rgba(241, 83, 67, .12);
}

.roof__control input::-moz-range-track {
    height: 1px;
    background: rgba(248, 245, 233, .34);
}

.roof__control input::-moz-range-progress {
    height: 1px;
    background: var(--red);
}

.roof__control input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: 1px solid var(--star);
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 7px rgba(241, 83, 67, .12);
}

.roof__control output {
    position: absolute;
    top: 43px;
    left: var(--roof-position, 0%);
    color: rgba(248, 245, 233, .48);
    font-family: var(--mono);
    font-size: 7px;
    transform: translateX(-50%);
}

.roof__control button {
    display: block;
    min-height: 44px;
    margin: 23px 0 0 auto;
    padding: 10px 14px;
    border: 1px solid rgba(248, 245, 233, .4);
    border-radius: 999px;
    background: rgba(2, 4, 11, .42);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.roof__control button:hover,
.roof__control button:focus-visible {
    color: var(--night);
    background: var(--red);
    border-color: var(--red);
}

.roof__drag-hint {
    position: absolute;
    z-index: 12;
    bottom: 42px;
    left: var(--pad);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: rgba(248, 245, 233, .55);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
    animation: hint-pulse 2.1s ease-in-out infinite;
}

@keyframes hint-pulse {
    0%, 100% { opacity: .38; }
    50% { opacity: 1; }
}

.roof__continue {
    position: absolute;
    z-index: 12;
    bottom: 35px;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    opacity: var(--open-copy);
    transform: translateX(-50%);
}

.roof__continue span { color: var(--red); font-size: 15px; }

.why {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr auto;
    gap: 28px;
    overflow: hidden;
    padding: clamp(100px, 12vw, 180px) var(--pad);
    color: var(--ink);
    background: var(--paper);
}

.why > .eyebrow { grid-column: 1 / 4; }

.why__lead {
    grid-column: 4 / 12;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: clamp(34px, 6vw, 92px);
    align-items: end;
}

.why__lead h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(52px, 6.8vw, 108px);
    font-weight: 500;
    line-height: .84;
    letter-spacing: -.05em;
}

.why__lead p {
    margin: 0;
    color: rgba(13, 18, 32, .6);
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.55;
}

.why__survey-label {
    grid-column: 1 / 13;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: clamp(45px, 6vw, 90px) 0 -28px;
    color: rgba(13, 18, 32, .52);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .08em;
    line-height: 1.5;
    text-transform: uppercase;
}
.why__survey-label strong {
    padding: 8px 11px;
    color: var(--paper);
    border-radius: 999px;
    background: var(--ink);
    font-weight: 500;
    white-space: nowrap;
}

.why__number {
    grid-column: 1 / 9;
    position: relative;
    align-self: center;
    margin-top: clamp(55px, 8vw, 120px);
}

.why__number strong {
    display: inline-block;
    color: var(--red);
    font-size: clamp(180px, 31vw, 480px);
    font-variation-settings: "opsz" 144, "wdth" 76, "wght" 600;
    font-weight: 600;
    line-height: .62;
    letter-spacing: -.105em;
}

.why__number > span {
    position: absolute;
    top: -2%;
    margin-left: 10px;
    font-family: var(--display);
    font-size: clamp(50px, 8vw, 126px);
}

.why__number p {
    max-width: 390px;
    margin: 38px 0 0 9%;
    font-size: clamp(16px, 1.5vw, 22px);
    line-height: 1.48;
}

.why__second {
    grid-column: 9 / 13;
    align-self: center;
    padding-top: 24px;
    border-top: 1px solid rgba(13, 18, 32, .35);
}

.why__second strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(90px, 12vw, 180px);
    font-weight: 400;
    line-height: .7;
}

.why__second p {
    margin: 35px 0 0;
    color: rgba(13, 18, 32, .62);
    font-size: 15px;
    line-height: 1.5;
}

.why blockquote {
    grid-column: 4 / 13;
    margin: clamp(30px, 5vw, 80px) 0 0;
    font-family: var(--display);
    font-size: clamp(45px, 6vw, 92px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.04em;
}

.why__source {
    grid-column: 4 / 13;
    margin: 20px 0 0;
    padding-top: 15px;
    color: rgba(13, 18, 32, .42);
    border-top: 1px solid rgba(13, 18, 32, .18);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .07em;
    line-height: 1.6;
    text-transform: uppercase;
}

.directions {
    padding: clamp(72px, 8vw, 125px) var(--pad) clamp(85px, 9vw, 145px);
    color: var(--ink);
    border-top: 1px solid rgba(13, 18, 32, .16);
    background: var(--paper);
}
.directions__intro {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 28px;
    align-items: end;
}
.directions__intro .eyebrow { grid-column: 1 / 4; align-self: start; }
.directions__intro h2 {
    grid-column: 4 / 9;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(44px, 5.4vw, 82px);
    font-weight: 500;
    line-height: .9;
    letter-spacing: -.045em;
}
.directions__intro > p:last-child {
    grid-column: 9 / 13;
    margin: 0;
    color: rgba(13, 18, 32, .58);
    font-size: clamp(14px, 1.15vw, 17px);
    line-height: 1.55;
}
.directions__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: clamp(48px, 6vw, 86px);
}
.directions figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(13, 18, 32, .18);
    border-radius: 14px;
    background: #e9e4da;
}
.directions figure img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    filter: saturate(.82);
    transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .35s;
}
.directions figure:hover img { transform: scale(1.018); filter: saturate(1); }
.directions figcaption {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 14px;
    min-height: 92px;
    padding: 14px 15px 16px;
}
.directions figcaption span {
    grid-row: 1 / 3;
    color: rgba(13, 18, 32, .42);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.directions figcaption strong { font-size: 13px; font-weight: 650; }
.directions figcaption em { color: rgba(13, 18, 32, .54); font-size: 11px; font-style: normal; line-height: 1.35; }
.directions__selected { border-color: var(--red) !important; }
.directions__selected figcaption { color: var(--paper); background: var(--red); }
.directions__selected figcaption span,
.directions__selected figcaption em { color: rgba(255,255,255,.74); }

.machine {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    align-items: center;
    gap: clamp(30px, 6vw, 90px);
    overflow: hidden;
    padding: clamp(85px, 9vw, 140px) var(--pad) 40px;
    color: var(--night);
    background: var(--red);
}

.machine__type {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: space-between;
    padding: 9vh 2vw 2vh;
    pointer-events: none;
}

.machine__type span {
    font-size: clamp(160px, 30vw, 470px);
    font-variation-settings: "opsz" 144, "wdth" 132, "wght" 700;
    font-weight: 700;
    line-height: .53;
    letter-spacing: -.11em;
    opacity: .08;
}

.machine__type span:last-child { justify-self: end; }

.machine__copy {
    position: relative;
    z-index: 4;
    align-self: start;
    padding-top: 8vh;
}

.machine__copy h2 {
    margin: 30px 0;
    font-family: var(--display);
    font-size: clamp(55px, 7vw, 110px);
    font-weight: 500;
    line-height: .82;
    letter-spacing: -.055em;
}

.machine__copy > p:last-child {
    max-width: 31rem;
    margin: 0;
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.5;
}

.machine__product {
    position: relative;
    z-index: 3;
    min-height: 70vh;
    min-height: 70svh;
    display: grid;
    place-items: center;
    margin: 0;
}

.machine__product img {
    position: absolute;
    width: min(78vw, 970px);
    max-width: none;
    filter: drop-shadow(0 35px 30px rgba(39, 10, 8, .28));
}

.machine__motion { visibility: hidden; opacity: 0; }
.machine__still { visibility: visible; opacity: 1; }
.machine-motion-ready .machine__motion { visibility: visible; opacity: 1; }
.machine-motion-ready .machine__still { visibility: hidden; opacity: 0; }

.machine__facts {
    position: absolute;
    z-index: 5;
    right: var(--pad);
    bottom: 35px;
    left: var(--pad);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(2, 4, 11, .38);
}

.machine__facts p {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 12px;
    margin: 0;
    padding: 14px 0 0;
    border-right: 1px solid rgba(2, 4, 11, .25);
}

.machine__facts p:nth-child(n+2) { padding-left: 24px; }
.machine__facts p:last-child { border-right: 0; }

.machine__facts strong {
    font-family: var(--display);
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 500;
    line-height: .72;
}

.machine__facts span {
    padding-bottom: 5px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.night {
    position: relative;
    min-height: 290vh;
    min-height: 290svh;
    background: var(--night);
}

.night__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: var(--night);
}

.night__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .85s ease, transform 1.4s cubic-bezier(.2,.7,.2,1);
}

.night__image.is-active {
    opacity: 1;
    transform: scale(1);
}

.night__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 4, 11, .88), rgba(2, 4, 11, .14) 58%, rgba(2, 4, 11, .36)),
        linear-gradient(0deg, rgba(2, 4, 11, .65), transparent 60%);
}

.night__stage h2 {
    position: absolute;
    z-index: 3;
    top: 10vh;
    left: var(--pad);
    margin: 0;
    font-family: var(--display);
    font-size: clamp(76px, 11vw, 180px);
    font-weight: 400;
    line-height: .72;
    letter-spacing: -.055em;
}

.night__counter {
    position: absolute;
    z-index: 3;
    right: var(--pad);
    bottom: 35px;
    margin: 0;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.night__counter span { color: var(--red); }

.night__steps {
    position: relative;
    z-index: 5;
    width: min(600px, 42vw);
    margin-left: auto;
    padding-right: var(--pad);
}

.night__steps article {
    min-height: 92vh;
    min-height: 92svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: .28;
    transform: translateY(30px);
    transition: opacity .5s, transform .7s cubic-bezier(.2,.7,.2,1);
}

.night__steps article.is-active {
    opacity: 1;
    transform: none;
}

.night__steps span {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.night__steps h3 {
    margin: 28px 0 20px;
    font-family: var(--display);
    font-size: clamp(52px, 6vw, 92px);
    font-weight: 400;
    line-height: .84;
    letter-spacing: -.04em;
}

.night__steps p {
    max-width: 29rem;
    margin: 0;
    color: rgba(248, 245, 233, .68);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.55;
}

.made {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: clamp(35px, 7vw, 110px);
    align-items: center;
    overflow: hidden;
    padding: clamp(90px, 11vw, 170px) var(--pad);
    color: var(--star);
    background: var(--night);
}

.made__copy h2 {
    margin: 30px 0;
    font-family: var(--display);
    font-size: clamp(55px, 7vw, 108px);
    font-weight: 400;
    line-height: .82;
    letter-spacing: -.05em;
}

.made__copy > p:last-child {
    max-width: 34rem;
    margin: 0;
    color: rgba(248, 245, 233, .62);
    font-size: clamp(16px, 1.4vw, 21px);
    line-height: 1.55;
}

.made__stage {
    position: relative;
    min-height: 74vh;
    min-height: 74svh;
    overflow: hidden;
    border: 1px solid rgba(248, 245, 233, .18);
    border-radius: 28px;
    background:
        radial-gradient(circle at center, rgba(35, 63, 105, .22), transparent 43%),
        #03050c;
    transition: background .5s;
}

.made__stage figure {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
}

.made__render img {
    width: 95%;
    max-height: 84%;
    object-fit: contain;
    filter: drop-shadow(0 30px 28px rgba(0, 0, 0, .45));
    transition: opacity .4s, transform .6s cubic-bezier(.2,.8,.2,1);
}

.made__built {
    opacity: 0;
    transition: opacity .28s .1s;
}

.made__built img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.made__stage figcaption {
    position: absolute;
    right: 18px;
    bottom: 16px;
    padding: 7px 10px;
    color: var(--star);
    background: rgba(2, 4, 11, .65);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.made__flash {
    position: absolute;
    z-index: 8;
    inset: 0;
    pointer-events: none;
    background: #fff;
    opacity: 0;
}

.made__switch {
    position: absolute;
    z-index: 10;
    right: 24px;
    top: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px 10px 15px;
    border: 1px solid rgba(248, 245, 233, .44);
    border-radius: 999px;
    background: rgba(2, 4, 11, .62);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.made__switch i {
    position: relative;
    width: 28px;
    height: 15px;
    border: 1px solid rgba(248, 245, 233, .55);
    border-radius: 999px;
}

.made__switch i::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 9px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--red);
    transition: transform .25s;
}

.made__stage.is-lit .made__render img {
    opacity: 0;
    transform: scale(.94);
}

.made__stage.is-lit .made__built { opacity: 1; }
.made__stage.is-lit .made__switch i::after { transform: translateX(13px); }
.made__stage.is-flashing .made__flash { animation: gallery-flash .58s ease-out; }

@keyframes gallery-flash {
    0% { opacity: 0; }
    22% { opacity: 1; }
    100% { opacity: 0; }
}

.closing {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-content: end;
    overflow: hidden;
    padding: var(--pad);
    background: var(--night);
}

.closing > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.closing__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(2, 4, 11, .96), rgba(2, 4, 11, .08) 78%),
        linear-gradient(90deg, rgba(2, 4, 11, .64), transparent);
}

.closing__copy,
.closing__actions,
.closing__credit {
    position: relative;
    z-index: 2;
}

.closing__copy {
    max-width: 1280px;
}

.closing__copy h2 {
    margin: 28px 0 10px;
    font-family: var(--display);
    font-size: clamp(58px, 8vw, 128px);
    font-weight: 400;
    line-height: .82;
    letter-spacing: -.05em;
}

.closing__copy > p:last-child {
    margin: 0;
    color: var(--red);
    font-family: var(--display);
    font-size: clamp(34px, 4.8vw, 72px);
    line-height: .9;
}

.closing__actions {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: clamp(50px, 7vw, 100px);
}

.closing__actions button,
.closing__actions a {
    padding: 11px 14px;
    border: 1px solid rgba(248, 245, 233, .42);
    border-radius: 999px;
    color: var(--star);
    background: rgba(2, 4, 11, .44);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .09em;
    text-decoration: none;
    text-transform: uppercase;
}

.closing__actions button:hover,
.closing__actions button:focus-visible,
.closing__actions a:hover,
.closing__actions a:focus-visible {
    color: var(--night);
    background: var(--red);
    border-color: var(--red);
}

.closing__credit {
    margin: 22px 0 0;
    color: rgba(248, 245, 233, .44);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.archive {
    width: min(95vw, 1600px);
    max-width: none;
    max-height: 92vh;
    max-height: 92svh;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(248, 245, 233, .22);
    border-radius: 22px;
    color: var(--star);
    background: var(--night);
}

.archive::backdrop {
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(8px);
}

.archive header {
    position: sticky;
    z-index: 4;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(248, 245, 233, .18);
    background: rgba(2, 4, 11, .94);
    backdrop-filter: blur(12px);
}

.archive header p {
    margin: 0 0 5px;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.archive header h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 400;
    line-height: .8;
}

.archive header button {
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid rgba(248, 245, 233, .4);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.archive__rail {
    height: calc(92vh - 95px);
    height: calc(92svh - 95px);
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 22px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.archive__rail figure {
    min-width: min(78vw, 1050px);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(248, 245, 233, .18);
    border-radius: 15px;
    background: #0b1020;
    scroll-snap-align: center;
}

.archive__rail img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    background: #fff;
}

.archive__rail figcaption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 3px 0;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.archive__rail figcaption span { color: var(--red); }
.archive__board { min-width: min(60vw, 760px) !important; }

@media (max-width: 980px) {
    .why__lead {
        grid-column: 3 / 13;
        grid-template-columns: 1fr;
    }
    .why__number { grid-column: 1 / 8; }
    .why__second { grid-column: 8 / 13; }
    .why blockquote,
    .why__source { grid-column: 3 / 13; }
    .machine { grid-template-columns: 1fr; }
    .machine__copy {
        position: absolute;
        z-index: 5;
        top: 8vh;
        left: var(--pad);
        width: min(560px, 74vw);
        padding: 0;
    }
    .machine__product { min-height: 82vh; min-height: 82svh; }
    .machine__product img { width: min(108vw, 1000px); }
    .machine__facts { grid-template-columns: repeat(3, 1fr); }
    .night__steps { width: min(520px, 50vw); }
    .made { grid-template-columns: 1fr; }
    .made__copy {
        display: grid;
        grid-template-columns: .8fr 1.2fr;
        gap: 30px;
        align-items: end;
    }
    .made__copy .eyebrow { grid-column: 1 / -1; }
    .made__copy h2 { margin: 0; }
    .made__stage { min-height: 68vh; min-height: 68svh; }
}

@media (max-width: 680px), (max-height: 500px) and (pointer: coarse) {
    :root { --pad: 18px; }
    .site-nav {
        grid-template-columns: 1fr auto;
        min-height: 50px;
        padding-inline: 14px;
        padding-left: max(14px, calc(env(safe-area-inset-left) + 10px));
        padding-right: max(14px, calc(env(safe-area-inset-right) + 10px));
    }
    .site-nav span:first-of-type { display: none; }
    .roof__closed-copy {
        top: 86px;
        width: calc(100% - 36px);
    }
    .roof__closed-copy h1 { font-size: clamp(52px, 17vw, 76px); }
    .roof__open-copy {
        top: 90px;
        right: 18px;
        left: 18px;
    }
    .roof__open-copy strong {
        font-size: clamp(70px, 21vw, 96px);
        font-variation-settings: "opsz" 144, "wdth" 112, "wght" 690;
        letter-spacing: -.07em;
    }
    .roof__open-copy em { margin-top: 22px; font-size: 40px; }
    .roof__product {
        top: 53%;
        width: 126vw;
        transform: translate(-50%, -42%) scale(calc(.88 + var(--roof-open) * .1));
    }
    .roof__hinge {
        bottom: 12%;
        width: 48px;
    }
    .roof__control {
        right: 18px;
        bottom: 24px;
        left: 18px;
        width: auto;
    }
    .roof__drag-hint,
    .roof__continue { display: none; }
    .roof__control button { margin-top: 20px; }
    .why {
        min-height: auto;
        display: block;
        padding-block: 92px;
    }
    .why__lead { display: block; margin-top: 42px; }
    .why__lead h2 { font-size: clamp(50px, 15.5vw, 72px); }
    .why__lead p { margin-top: 28px; }
    .why__survey-label { flex-direction: column; align-items: flex-start; gap: 10px; margin: 56px 0 -45px; }
    .why__number { margin-top: 95px; }
    .why__number strong { font-size: 56vw; }
    .why__number p { margin-left: 0; }
    .why__second { margin-top: 80px; }
    .why blockquote {
        margin-top: 90px;
        font-size: clamp(44px, 14vw, 65px);
    }
    .why__source { margin-top: 35px; }
    .directions { padding: 78px 18px 94px; }
    .directions__intro { display: block; }
    .directions__intro h2 { margin-top: 38px; font-size: clamp(46px, 14vw, 66px); }
    .directions__intro > p:last-child { margin-top: 26px; }
    .directions__rail { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
    .directions figure { min-width: 84vw; scroll-snap-align: start; }
    .machine {
        min-height: auto;
        display: block;
        padding: 80px 18px 120px;
    }
    .machine__copy {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
    }
    .machine__copy h2 { font-size: clamp(50px, 15vw, 72px); }
    .machine__copy > p:last-child { max-width: none; }
    .machine__product {
        min-height: 68vh;
        min-height: 68svh;
        margin-top: 28px;
        padding-top: 0;
    }
    .machine__product img { width: 125vw; }
    .machine__facts {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 20px;
    }
    .machine__facts p {
        grid-template-columns: 1fr;
        gap: 7px;
    }
    .machine__facts p:nth-child(n+2) { padding-left: 12px; }
    .machine__facts strong { font-size: 42px; }
    .night { min-height: 300vh; min-height: 300svh; }
    .night__image { object-position: center; }
    .night__shade {
        background: linear-gradient(0deg, rgba(2,4,11,.92), rgba(2,4,11,.2) 74%);
    }
    .night__stage h2 {
        top: 78px;
        left: 18px;
        font-size: clamp(68px, 22vw, 98px);
    }
    .night__counter {
        right: 18px;
        bottom: 18px;
    }
    .night__steps {
        width: auto;
        margin: 0;
        padding: 0 18px;
    }
    .night__steps article {
        min-height: 96vh;
        min-height: 96svh;
        justify-content: end;
        padding-bottom: 15vh;
    }
    .night__steps h3 { font-size: clamp(50px, 15vw, 72px); }
    .night__steps p { max-width: 85%; }
    .made {
        display: block;
        min-height: auto;
        padding-block: 92px;
    }
    .made__copy { display: block; }
    .made__copy h2 {
        margin: 30px 0;
        font-size: clamp(50px, 15.5vw, 74px);
    }
    .made__stage {
        min-height: 67vh;
        min-height: 67svh;
        margin-top: 58px;
        border-radius: 18px;
    }
    .made__render img { width: 120%; max-width: none; }
    .made__built img {
        object-fit: contain;
        object-position: center;
    }
    .made__switch {
        top: 15px;
        right: 15px;
    }
    .made__switch span { display: none; }
    .closing {
        min-height: 100vh;
        min-height: 100svh;
        padding: 80px 18px 26px;
    }
    .closing__copy h2 { font-size: clamp(52px, 16vw, 76px); }
    .closing__copy > p:last-child { font-size: 38px; }
    .closing__actions {
        align-items: stretch;
        flex-direction: column;
    }
    .closing__actions button,
    .closing__actions a { text-align: center; }
    .archive {
        width: 96vw;
        max-height: 94vh;
        max-height: 94svh;
    }
    .archive header { padding: 17px; }
    .archive__rail {
        height: calc(94vh - 84px);
        height: calc(94svh - 84px);
        padding: 14px;
    }
    .archive__rail figure,
    .archive__board { min-width: 88vw !important; }
}

.is-static-motion {
    scroll-behavior: auto;
}

.is-static-motion *,
.is-static-motion *::before,
.is-static-motion *::after {
    animation-delay: 0s !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
}

html.is-static-motion .site-nav {
    background: rgba(2, 4, 11, .95);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
    .site-nav {
        background: rgba(2, 4, 11, .95);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .roof__motion,
    .machine__motion { display: none; }
    .roof__poster--open,
    .machine__still { display: block; opacity: 1; }
    .roof__poster--closed { display: none; }
    .roof__drag-hint { display: none; }
    .night__image { transform: none; }
}
