/* H — Night Drive. First-person down a dark back road; scrolling is the throttle. Prototype. */
:root { --serif: "Cormorant", Georgia, serif; --sans: "Overpass", system-ui, sans-serif; --pad: clamp(18px, 3vw, 44px); --ease: cubic-bezier(.2,.75,.15,1); }
*, *::before, *::after { box-sizing: border-box; } * { margin: 0; } html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: #03040A; }
body { color: #F3F1EC; font: 400 1.0625rem/1.42 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; } img { display: block; max-width: 100%; } a { color: inherit; } ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; } .skip { position: absolute; left: 12px; top: -70px; z-index: 200; background: #fff; color: #000; padding: 10px 14px; } .skip:focus { top: 10px; }
.stage { position: fixed; inset: 0; height: 100lvh; z-index: -1; background: #03040A url(img/poster.webp) center / cover no-repeat; } .gl .stage { background: #03040A; } .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s; } .gl .stage canvas { opacity: 1; }
.vig { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(115% 90% at 50% 46%, transparent 52%, rgba(0,0,0,.62)), linear-gradient(transparent 62%, rgba(0,0,0,.6)); } .vig::after { content: ""; position: absolute; inset: 0; opacity: .13; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; height: 72px; padding-inline: var(--pad); } .top img { height: 21px; width: auto; transition: filter .4s; } .top { transition: color .4s; } .dawn .top { color: #2A1226; } .dawn .top img { filter: brightness(0); } .top nav { display: flex; gap: 26px; font-weight: 600; font-size: .95rem; } .top nav a { text-decoration: none; } .top nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.dash { position: fixed; right: var(--pad); bottom: 22px; z-index: 40; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; opacity: .8; } .dash span { font-size: 1.7rem; }
h1, h2, h3, blockquote { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -.02em; line-height: .94; }
.hero { display: flex; flex-direction: column; align-items: center; min-height: 100svh; padding: clamp(92px, 13vh, 130px) var(--pad) 0; text-align: center; } .hero h1 { font-size: clamp(4rem, 1.4rem + 11vw, 13.4rem); text-shadow: 0 0 60px rgba(255,255,255,.2); } .hero p { max-width: 31em; margin-top: 16px; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.3; } .cue { margin-top: auto; padding-bottom: 72px; font-weight: 600; font-size: .95rem; opacity: .75; }
.ch { display: flex; align-items: flex-end; min-height: 128svh; padding: 10svh var(--pad) clamp(70px, 13svh, 120px); } .cap { position: sticky; bottom: clamp(60px, 11svh, 104px); width: min(100%, 29rem); text-shadow: 0 1px 24px rgba(0,0,0,.8); } .cap--w { width: min(100%, 40rem); } h2 { font-size: clamp(3.2rem, 1.9rem + 4.6vw, 6.6rem); } h3 { font-size: clamp(3rem, 2rem + 3.4vw, 5.4rem); } .cap p { margin-top: 12px; font-size: 1.18rem; line-height: 1.32; } .cap a { display: inline-block; margin-top: 12px; font-weight: 700; text-underline-offset: 4px; } .cap a.pr { text-decoration: none; }
blockquote { font-size: clamp(2.5rem, 1.9rem + 2.5vw, 4.4rem); font-weight: 400; line-height: 1; } figcaption { margin-top: 14px; font-weight: 600; } .cap p.note { margin-top: 4px; font-size: 1rem; opacity: .85; } .cap p.lead { font-weight: 600; } .cap ol { margin-top: 16px; } .cap li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.28); line-height: 1.32; } .cap li b { display: block; font-weight: 700; font-size: 1.15rem; }
.end { display: flex; flex-direction: column; align-items: center; min-height: 100svh; padding: clamp(100px, 16vh, 150px) var(--pad) 18px; text-align: center; color: #fff; } .end h2 { font-size: clamp(5rem, 1.4rem + 15vw, 18rem); font-weight: 400; text-shadow: 0 2px 50px rgba(120,40,30,.5); } .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; } .btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; background: #fff; color: #000; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; } .btn:hover { background: #111; color: #fff; } .btn--l { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.end footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; width: 100%; margin-top: auto; padding-bottom: 54px; font-size: .92rem; font-weight: 600; text-align: left; }
@media (max-width: 720px) { .top nav { display: none; } .dash { bottom: 70px; right: 14px; } .hero h1 { font-size: 21vw; } .ch { min-height: 112svh; padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
