/* AI Anonymous, aianon.ai. One stylesheet for the gate and the inside. */

@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-620.woff2") format("woff2"); font-weight: 620; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-450.woff2") format("woff2"); font-weight: 450; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plex-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --void: #0a0a09;
  --ink: #1c1d17;
  --bone-lit: #d7d3ca;
  --bone: #eee9dc;
  --bone-2: rgba(238, 233, 220, .72);
  --bone-3: rgba(238, 233, 220, .58);
  --bone-4: rgba(238, 233, 220, .22);
  --warm: #d6803a;
  --light: #ffe7c2;
  --green: #1f7a4d;
  --red: #c0262d;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Display", "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.65, 0, .15, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --vh: 1vh;
  --S: clamp(112px, min(34vw, 23vh), 196px);
  --seam-y: calc(var(--vh) * 30);
}
@supports (height: 1dvh) { :root { --vh: 1dvh; --S: clamp(112px, min(34vw, 23dvh), 196px); } }
@media (min-width: 760px) and (min-height: 560px) { :root { --seam-y: calc(var(--vh) * 32); } }

*, *::before, *::after { box-sizing: border-box; }
/* the serifed I everywhere: the font shorthand resets font-feature-settings, so it is set on every element */
*, *::before, *::after { font-feature-settings: "cv05", "cv08" !important; }
html { background: var(--void); color: var(--bone); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--void); font: 450 16px/1.5 var(--sans); font-feature-settings: "cv05", "cv08"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.is-gated { overflow: hidden; }
::selection { background: var(--bone); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.nojs { position: fixed; z-index: 20; left: 0; right: 0; bottom: 64px; margin: 0; text-align: center; font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
:focus { outline: none; }
:focus-visible { outline: 1px solid var(--bone); outline-offset: 4px; }

/* ---------- The gate ---------- */

/* the door is the first screen of a page that scrolls; while it unlocks it holds the whole screen */
.gate { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100svh; z-index: 10; overflow: hidden; background: transparent; transform: translateY(var(--dy, 0px)); transition: transform 1s var(--ease), opacity .32s linear; }
.gate.is-unlocking, .gate.is-open { position: fixed; inset: 0; height: auto; overflow: visible; }
/* each half reaches a full screen beyond its edge, so the gate can move and still cover the page */
.half { position: absolute; left: 0; right: 0; overflow: hidden; background: var(--void); }
.half--top { top: calc(var(--vh) * -100); height: calc(var(--seam-y) + var(--vh) * 100); }
.half--bottom { top: var(--seam-y); bottom: calc(var(--vh) * -100); }
/* one continuous panel, split across the halves */
.half::before, .half::after { content: ""; position: absolute; z-index: 0; left: 0; right: 0; height: calc(var(--vh) * 200); pointer-events: none; }
.half--top::before, .half--top::after { top: calc(var(--vh) * 100); }
.half--bottom::before, .half--bottom::after { top: calc(var(--seam-y) * -1); }
.half::before {
  background:
    radial-gradient(120% 45% at -8% -6%, rgba(132, 112, 86, .30), rgba(132, 112, 86, 0) 58%),
    linear-gradient(rgba(10, 10, 9, 0) 30%, var(--void) 47%),
    radial-gradient(140% 55% at 50% 23%, var(--ink) 0%, #121310 52%, var(--void) 100%);
  opacity: 0; animation: rake 2.2s .1s var(--ease-out) forwards;
}
/* a fixed, very fine grain: the panel is material, not a fill */
.half::after {
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='61' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
@keyframes rake { from { opacity: 0; } to { opacity: 1; } }

.crown, .feet, .bar { position: absolute; left: 50%; width: var(--S); fill: var(--bone); overflow: visible; z-index: 2; }
.crown { bottom: 0; height: calc(var(--S) * .57); transform: translateX(-50%) scale(var(--k, 1)); transform-origin: 50% 100%; transition: transform 1s var(--ease); }
.feet { top: 0; height: calc(var(--S) * .43); transform: translateX(-50%) scale(var(--k, 1)); transform-origin: 50% 0; transition: transform 1s var(--ease); }
.bar { top: calc(var(--seam-y) - var(--S) * .08); height: calc(var(--S) * .16); transform: translateX(-50%) scale(var(--k, 1)); z-index: 4; transition: transform 1s var(--ease); }
.crown, .feet, .bar {
  -webkit-mask-image: linear-gradient(120deg, #000 45%, rgba(0, 0, 0, 0) 55%); mask-image: linear-gradient(120deg, #000 45%, rgba(0, 0, 0, 0) 55%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: rakein 1.1s .3s var(--ease-out) forwards;
}
@keyframes rakein { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.is-ready .crown, .is-ready .feet, .is-ready .bar { animation: none; -webkit-mask-image: none; mask-image: none; }
.is-ready .half::before { animation: none; opacity: 1; }
.is-ready .seam__line { animation: none; opacity: .55; transform: none; }
.is-ready .entry { animation: none; opacity: 1; }
.is-ready .whisper { animation: none; opacity: 1; }
.is-ready .about { animation: none; opacity: 1; }

/* the seam: a hairline of room light through the middle of the bar */
.seam { position: absolute; left: 0; right: 0; top: var(--seam-y); height: 0; z-index: 3; pointer-events: none; }
.seam i { position: absolute; top: -.5px; height: 1px; display: block; }
.seam__line { left: 0; right: 0; background: var(--warm); opacity: 0; transform: scaleX(0); animation: draw 1.4s 1s var(--ease) forwards; box-shadow: 0 0 6px rgba(214, 128, 58, .55); }
@keyframes draw { to { opacity: .55; transform: scaleX(1); } }
/* progress: the light comes out from behind the bar, toward both edges */
.seam__l, .seam__r { width: calc(50% - var(--S) * var(--k, 1) / 2); background: var(--light); box-shadow: 0 0 6px 1px rgba(255, 186, 110, .9), 0 0 22px 3px rgba(255, 150, 60, .45), 0 0 60px 6px rgba(255, 140, 50, .18); transform: scaleX(var(--p, 0)); transition: transform .35s linear, opacity .4s, width 1s var(--ease); opacity: 0; }
.seam__l { left: 0; transform-origin: 100% 50%; }
.seam__r { right: 0; transform-origin: 0 50%; }
.is-checking .seam__line { animation: breathe .8s ease-in-out infinite alternate; }
@keyframes breathe { from { filter: brightness(1); } to { filter: brightness(1.9); } }
.is-unlocking .seam__l, .is-unlocking .seam__r { opacity: 1; }

.entry { position: absolute; left: 50%; top: calc(var(--S) * .51); width: min(440px, calc(100% - 40px)); text-align: center; transform: translateX(-50%); margin: 0; z-index: 2; opacity: 0; animation: rise 1s 1.6s var(--ease-out) forwards; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.field { position: relative; display: block; }
.field input {
  display: block; width: 100%; margin: 0; padding: 14px 62px 12px; border: 0; border-radius: 0;
  border-bottom: 1px solid var(--bone-4); background: transparent; color: var(--bone); caret-color: var(--warm);
  font: 400 16px/1.25 var(--mono); letter-spacing: .24em; text-transform: uppercase; text-align: center;
  -webkit-appearance: none; appearance: none; transition: border-color .4s var(--ease-out);
}
.field input::placeholder { color: rgba(238, 233, 220, .55); letter-spacing: .2em; opacity: 1; }
.field input:focus { border-bottom-color: rgba(238, 233, 220, .62); }
.field input:focus::placeholder { color: rgba(238, 233, 220, .24); }
.field input:focus-visible { outline: none; }
.go {
  position: absolute; right: 0; bottom: 0; height: 44px; padding: 3px 0 0 12px; border: 0; background: none; cursor: pointer;
  font: 400 11px/44px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bone-3);
  transition: color .3s, opacity .3s; -webkit-tap-highlight-color: transparent;
}
.go { opacity: 0; pointer-events: none; }
.field.has-value .go { opacity: 1; pointer-events: auto; color: var(--bone); }
.field.has-value .go:disabled { opacity: .35; cursor: default; }
.mirror { position: absolute; visibility: hidden; white-space: pre; font: 400 16px/1.25 var(--mono); letter-spacing: .24em; text-transform: uppercase; }
/* the redaction: the brand's bar laid over what was typed */
.redact { position: absolute; left: 50%; top: 50%; height: 12px; width: var(--rw, 0px); margin-top: -7px; background: var(--bone); transform: translateX(-50%) scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.redact.is-on { transform: translateX(-50%) scaleX(1); transition: transform .18s var(--ease); }
.redact.is-off { transform-origin: 100% 50%; transform: translateX(-50%) scaleX(0); transition: transform .22s var(--ease); }
.status { min-height: 18px; margin: 18px 0 0; text-align: center; font: 400 11px/18px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); font-variant-numeric: tabular-nums; }
.status.is-quiet { color: var(--bone-3); }
.status .n { display: inline-block; min-width: 4ch; text-align: right; color: var(--bone); }
/* the door's one line: on the screen, last to arrive */
.whisper { position: absolute; z-index: 5; left: 0; right: 0; bottom: max(28px, calc(env(safe-area-inset-bottom) + 18px)); margin: 0; text-align: center; font: 400 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(238, 233, 220, .52); opacity: 0; animation: fade .9s 2.4s linear forwards; transition: opacity .5s; }
/* one plain line for someone who arrives without a code */
.about { margin: 26px auto 0; max-width: 31ch; text-align: center; font: 450 13.5px/1.55 var(--sans); color: rgba(238, 233, 220, .62); text-wrap: balance; opacity: 0; animation: fade .9s 2s linear forwards; }
.about .name { color: var(--bone); }
@keyframes fade { to { opacity: 1; } }

/* a wrong code: the latch lifts, light leaks under it, it drops and seats (140 + 160 + 90 ms) */
.bar.is-tried { animation: latch .39s linear 1; }
@keyframes latch {
  0% { transform: translateX(-50%) translateY(0); animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
  36% { transform: translateX(-50%) translateY(calc(var(--S) * -.1)); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  77% { transform: translateX(-50%) translateY(2px); animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
  100% { transform: translateX(-50%) translateY(0); }
}
.is-wrong .seam__l, .is-wrong .seam__r { animation: leak .39s linear 1; }
@keyframes leak { 0% { opacity: 0; transform: scaleX(.05); } 8% { opacity: .9; transform: scaleX(.05); } 36% { opacity: .9; transform: scaleX(.05); } 44% { opacity: 0; transform: scaleX(.05); } 100% { opacity: 0; } }

/* unlocking: the field steps back, the light comes through the seam */
.is-unlocking .field input, .is-unlocking .go { opacity: 0; transition: opacity .5s .2s; pointer-events: none; }
.is-unlocking .redact { opacity: 0; transition: opacity .5s .2s; }
.is-unlocking .whisper, .is-unlocking .about { opacity: 0; transition: opacity .6s; }

/* aligning: the drawn mark moves onto the film's own mark, paused in its lockup hold, and takes on its lit
   bone and shadow; then the drawn gate crossfades into the film's gate. The film opens it, not the page. */
.is-aligning .status, .is-aligning .entry { opacity: 0; transition: opacity .4s; }
.crown, .feet, .bar { transition: transform 1s var(--ease), fill 1s var(--ease), filter 1s var(--ease); }
.is-aligning .crown, .is-aligning .feet, .is-aligning .bar { fill: var(--bone-lit); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
.is-open { opacity: 0; pointer-events: none; }
.gate.is-gone { display: none; }

/* ---------- Inside ---------- */

.inside {
  position: relative; min-height: 100vh; padding-bottom: env(safe-area-inset-bottom);
  background:
    radial-gradient(90% 60% at 50% 18%, rgba(150, 104, 58, .14), rgba(150, 104, 58, 0) 70%),
    linear-gradient(var(--void), #0e0e0c 60%, var(--void));
  opacity: 0;
}
.inside.is-in { opacity: 1; }
.inside .film__bar > *, .inside .ask, .inside .in-foot, .inside .doc { transition: opacity .4s linear; }
.inside .film__bar { transition: border-color .4s linear; }
.inside.is-pre .film__bar > :not(.film__open), .inside.is-pre .ask, .inside.is-pre .in-foot { opacity: 0; pointer-events: none; }
.inside.is-pre .film__bar { border-bottom-color: transparent; }
/* "Open": one word under the film's own gate; the tap is the latch */
.film__open {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); min-height: 44px; min-width: 96px; padding: 0 18px;
  border: 0; background: none; cursor: pointer; color: var(--bone); font: 400 12px/44px var(--mono); letter-spacing: .24em;
  text-transform: uppercase; animation: fade .3s linear; -webkit-tap-highlight-color: transparent;
}
.film__open[hidden] { display: none; }
.inside[hidden] { display: none; }

.in-brand { display: block; height: 36px; color: var(--bone); }
.lockup { display: block; height: 100%; width: auto; }
.in-lock { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 0 0 12px; border: 0; background: none; cursor: pointer; font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); transition: color .3s; }
.in-lock:hover { color: var(--bone); }

.film { max-width: 1360px; margin: 0 auto; padding-top: env(safe-area-inset-top); }
.film__frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.film__frame.is-idle { cursor: pointer; }
.film__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; min-height: 64px; border-bottom: 1px solid rgba(238, 233, 220, .1); }
.film__play {
  display: inline-flex; align-items: center; gap: 14px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--bone); font: 620 16px/1 var(--display); letter-spacing: .005em; white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.film__play { gap: 11px; }
.film__tab { width: 34px; height: 11px; background: var(--bone); transition: width .45s var(--ease); }
.film__play:hover .film__tab { width: 46px; }
.film__play.is-playing .film__tab { width: 11px; }
.film__meta { display: flex; gap: 20px; margin: 0; font: 400 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); font-variant-numeric: tabular-nums; }

.ask { position: relative; max-width: 1360px; margin: 0 auto; padding: clamp(56px, 12vw, 156px) 20px clamp(72px, 10vw, 128px); }
.ask__h { margin: 0; max-width: 11ch; font: 620 clamp(40px, 10.6vw, 92px)/1 var(--display); letter-spacing: -.026em; color: var(--bone); font-feature-settings: "cv05", "cv08"; text-wrap: balance; }
.ask__body { margin-top: 28px; }
.ask__p { margin: 0; max-width: 32ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: var(--bone-2); text-wrap: pretty; }
.ask__cta {
  margin-top: 32px; display: inline-flex; align-items: center; gap: 16px; min-height: 58px; padding: 0 26px 0 22px;
  background: var(--bone); color: var(--ink); text-decoration: none; font: 620 17px/1 var(--display); letter-spacing: .005em;
  transition: background .3s var(--ease-out);
}
.ask__cta:hover { background: #fffaf0; }
.ask__cta:focus-visible { outline-color: var(--bone); outline-offset: 5px; }
.ask__tab { width: 38px; height: 12px; background: var(--ink); transition: width .5s var(--ease); }
.ask__cta:hover .ask__tab { width: 54px; }
.ask__url { margin: 16px 0 0; font: 400 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--bone-3); }

/* the facts: the room as it is */
.facts { margin: clamp(56px, 9vw, 104px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(238, 233, 220, .12); }
.facts > div { display: grid; align-content: start; grid-template-columns: 1fr; gap: 6px; padding: 18px 0; border-bottom: 1px solid rgba(238, 233, 220, .12); }
.facts dt { font: 400 12px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); }
.facts dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--bone-2); max-width: 36ch; text-wrap: pretty; }

/* the sponsors page: a plain document */
.doc { max-width: 760px; margin: 0 auto; padding: max(56px, calc(env(safe-area-inset-top) + 40px)) 20px clamp(72px, 10vw, 128px); color: var(--bone-2); font-size: 17px; line-height: 1.6; }
.doc h1, .doc h2, .doc h3 { color: var(--bone); font-family: var(--display); font-weight: 620; letter-spacing: -.02em; line-height: 1.1; font-feature-settings: "cv05", "cv08"; text-wrap: balance; }
.doc h1 { font-size: clamp(38px, 8vw, 72px); margin: 0 0 .6em; }
.doc h2 { font-size: clamp(24px, 4vw, 34px); margin: 2em 0 .6em; }
.doc h3 { font-size: 19px; margin: 1.8em 0 .5em; letter-spacing: 0; }
.doc p, .doc ul, .doc ol { margin: 0 0 1em; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin: .3em 0; }
.doc a { color: var(--bone); text-underline-offset: 3px; }
.doc strong { color: var(--bone); font-weight: inherit; }
.doc hr { border: 0; border-top: 1px solid rgba(238, 233, 220, .12); margin: 3em 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid rgba(238, 233, 220, .12); vertical-align: top; }
.doc th { font: 400 12px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); }
.doc .eyebrow { margin: 0 0 18px; font: 400 12px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); }
.doc .lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: var(--bone); text-wrap: pretty; }
.doc .facts { margin: 8px 0 1.5em; }
.doc .facts > div { padding: 14px 0; }
@media (min-width: 760px) { .doc .facts { grid-template-columns: 1fr; } .doc .facts > div { grid-template-columns: 9.5em 1fr; gap: 16px; border-top: 0; border-bottom: 1px solid rgba(238, 233, 220, .12); padding: 14px 0; align-items: baseline; } }
/* the notes page: every line under the bar but one */
.notes { margin: 2em 0 2.5em; }
.notes__paper { position: relative; display: grid; gap: 12px; padding: 76px 30px 38px; background: #eee9dc; color: #15181d; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); max-width: 520px; }
.notes__bar { display: block; height: 11px; background: #15181d; }
.notes__bar.w1 { width: 92%; } .notes__bar.w2 { width: 78%; } .notes__bar.w3 { width: 64%; } .notes__bar.w4 { width: 86%; } .notes__bar.w5 { width: 48%; } .notes__bar.w6 { width: 71%; }
.notes__clear { margin: 4px 0; font: 400 13px/1.4 var(--mono); letter-spacing: .02em; color: #15181d; }
.notes__stamp { position: absolute; right: 18px; top: 16px; margin: 0; display: grid; justify-items: center; gap: 3px; padding: 5px 8px 4px; border: 2px solid var(--red); color: var(--red); font: 400 13px/1 var(--mono); letter-spacing: .12em; transform: rotate(-6deg); opacity: .9; }
.notes__stamp span + span { font-size: 6.5px; letter-spacing: .16em; border-top: 1px solid var(--red); padding-top: 3px; }
.notes figcaption { margin-top: 14px; font: 400 12px/1.5 var(--mono); letter-spacing: .06em; color: var(--bone-3); }
.doc blockquote { margin: 0 0 1em; padding-left: 18px; border-left: 2px solid var(--bone-4); }

.in-foot { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 24px; margin: 0 20px; padding: 28px 0 max(32px, calc(env(safe-area-inset-bottom) + 20px)); border-top: 1px solid rgba(238, 233, 220, .1); }
.in-foot p { grid-column: 1 / -1; margin: 0; font: 400 12px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); }
.in-foot .in-name { grid-column: 1; grid-row: 1; margin: 0; line-height: 0; }
/* horizontal lockup, after the kit: name cap height = bar depth, cap line and baseline on the bar's edges */
.lockup-h { display: block; height: 52px; width: auto; overflow: visible; fill: var(--bone); }
.lockup-h text { font-family: var(--display); font-weight: 620; font-size: 22px; letter-spacing: .028em; font-feature-settings: "cv08"; }
.in-foot .in-lock { grid-column: 2; grid-row: 1; }

@media (min-width: 760px) {
  .film { padding: clamp(24px, 4.5vh, 48px) 40px 0; }
  .film__bar { padding: 0; min-height: 76px; }
  .ask { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; column-gap: 48px; padding-left: 40px; padding-right: 40px; }
  .ask__body { margin-top: 0; padding-bottom: 8px; }
  .in-foot { column-gap: 40px; padding: 32px 0 40px; margin: 0 max(40px, calc((100% - 1280px) / 2)); }
  .in-foot { grid-template-columns: auto 1fr auto; }
  .in-foot p { grid-column: auto; grid-row: 1; }
  .in-foot .in-note { justify-self: end; }
  .in-foot .in-lock { grid-column: 3; }
  .facts { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); column-gap: 32px; border-top: 0; }
  .facts { grid-template-columns: repeat(5, 1fr); }
  .facts > div { grid-template-columns: 1fr; gap: 10px; padding: 20px 0 0; border-bottom: 0; border-top: 1px solid rgba(238, 233, 220, .12); }
}



@media (prefers-reduced-motion: reduce) {
  .half, .bar, .inside, .seam, .seam__l, .seam__r { transition-duration: .01s !important; transition-delay: 0s !important; }
  .half::before, .crown, .feet, .bar, .seam__line, .entry, .whisper, .about { animation-duration: .01s !important; animation-delay: 0s !important; }
  .gate, .crown, .feet { transition: none !important; }
  .bar.is-tried, .is-wrong .seam__l, .is-wrong .seam__r { animation: none; }
}

/* ---------- The sponsors' door: public, no code ---------- */

body.sp { background: var(--void); }
.door {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid;
  grid-template-rows: calc(var(--vh) * 30) auto 1fr auto; justify-items: center; padding: 0 20px;
  background:
    linear-gradient(rgba(10, 10, 9, 0) 62%, var(--void) 100%),
    radial-gradient(120% 60% at -8% -8%, rgba(132, 112, 86, .30), rgba(132, 112, 86, 0) 58%),
    radial-gradient(140% 90% at 50% 30%, var(--ink) 0%, #121310 52%, var(--void) 100%);
}
.door::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='61' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* the mark sits on the seam, as at the members' gate */
.door__mark {
  grid-row: 1; align-self: end; width: clamp(96px, min(28vw, 18svh), 168px); height: auto; fill: var(--bone);
  margin-bottom: calc(clamp(96px, min(28vw, 18svh), 168px) * -.43); position: relative; z-index: 2;
  -webkit-mask-image: linear-gradient(120deg, #000 45%, rgba(0, 0, 0, 0) 55%); mask-image: linear-gradient(120deg, #000 45%, rgba(0, 0, 0, 0) 55%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: rakein 1.1s .3s var(--ease-out) forwards;
}
.door__seam {
  position: absolute; left: 0; right: 0; height: 1px; z-index: 1;
  top: calc(var(--vh) * 30);
  background: var(--warm); box-shadow: 0 0 6px rgba(214, 128, 58, .55); opacity: 0; transform: scaleX(0);
  animation: draw 1.6s 1s var(--ease) forwards;
}
.door__copy { grid-row: 2; position: relative; z-index: 2; max-width: 36rem; padding-top: calc(clamp(96px, min(28vw, 18svh), 168px) * .43 + clamp(36px, calc(var(--vh) * 5.5), 72px)); text-align: center; opacity: 0; animation: fade 1.2s 1.5s linear forwards; }
.door__copy .eyebrow { margin: 0 auto 18px; font: 400 12px/1.5 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: rgba(238, 233, 220, .62); }
.door__copy h1 { margin: 0 auto 22px; max-width: 16ch; font: 620 clamp(34px, 9vw, 64px)/1.04 var(--display); letter-spacing: -.024em; color: var(--bone); font-feature-settings: "cv05", "cv08"; text-wrap: balance; }
.door__copy .lead, .door__copy p { margin: 0 auto 14px; max-width: 32ch; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.5; color: rgba(238, 233, 220, .74); text-wrap: balance; }
.door__copy .lead { color: var(--bone); }
.door__foot { grid-row: 4; position: relative; z-index: 2; margin: 0; padding: 28px 0 max(28px, calc(env(safe-area-inset-bottom) + 18px)); opacity: 0; animation: fade .9s 2.4s linear forwards; }
.contact { color: var(--bone); text-decoration: none; font: 400 12px/1.5 var(--mono); letter-spacing: .14em; border-bottom: 1px solid rgba(238, 233, 220, .3); padding-bottom: 3px; transition: border-color .3s; }
.contact:hover { border-bottom-color: var(--bone); }
.doc .contact { font-size: 13px; letter-spacing: .06em; }
.nw { white-space: nowrap; }
.sp-doc { padding-top: clamp(64px, 12vw, 128px); }
.sp-doc > h2:first-child { margin-top: 0; }
.sp-foot .in-note { text-transform: none; }
@media (min-width: 760px) {
  .door { grid-template-rows: calc(var(--vh) * 32) auto 1fr auto; }
  .door__seam { top: calc(var(--vh) * 32); }
  .sp-foot .in-note { justify-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  .door__mark, .door__seam, .door__copy, .door__foot { animation-duration: .01s !important; animation-delay: 0s !important; }
}


/* ---------- The door, exclusive not secretive (decisions 15 to 20) ---------- */

/* the wordmark, after the kit's stacked lockup: cap height = bar depth, one bar depth under the feet */
.wordmark { margin: 0; font: 620 calc(var(--S) * .22)/1 var(--display); letter-spacing: .028em; padding-left: .028em; text-transform: uppercase; color: var(--bone); white-space: nowrap; }
.statement { margin: clamp(26px, calc(var(--vh) * 4), 44px) auto 0; max-width: 30ch; font: 450 clamp(17px, 1.9vw, 20px)/1.5 var(--sans); color: rgba(238, 233, 220, .84); text-wrap: balance; }
.have { margin: clamp(14px, calc(var(--vh) * 2.4), 26px) auto 0; display: inline-block; min-height: 44px; padding: 0 8px; border: 0; background: none; cursor: pointer; color: rgba(238, 233, 220, .72); font: 400 12px/44px var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-decoration-color: rgba(238, 233, 220, .3); text-underline-offset: 6px; transition: color .3s; -webkit-tap-highlight-color: transparent; }
.have:hover { color: var(--bone); }
.have[aria-expanded="true"] { display: none; }
.code { width: min(340px, 100%); margin: 8px auto 0; }
.code[hidden] { display: none; }
.is-unlocking .statement, .is-unlocking .wordmark { opacity: 0; transition: opacity .5s; }

/* below the door: how you get in, and who is in, without names */
.public { position: relative; margin-top: 100vh; margin-top: 100svh; background: var(--void); }
.public[hidden] { display: none; }
.pub { max-width: 1360px; margin: 0 auto; padding: clamp(56px, 10vw, 112px) 20px 0; }
.pub__h { margin: 0 0 26px; font: 620 clamp(28px, 5vw, 44px)/1.08 var(--display); letter-spacing: -.02em; color: var(--bone); text-wrap: balance; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(238, 233, 220, .12); }
.steps li { display: grid; grid-template-columns: 2.6em 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(238, 233, 220, .12); }
.steps__n { font: 400 12px/1.9 var(--mono); letter-spacing: .12em; color: var(--bone-3); }
.steps p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--bone-2); max-width: 52ch; text-wrap: pretty; }
.steps strong { font-weight: inherit; color: var(--bone); }
.who { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(238, 233, 220, .12); }
.who li { padding: 14px 0; border-bottom: 1px solid rgba(238, 233, 220, .12); font-size: 17px; line-height: 1.5; color: var(--bone); text-wrap: pretty; }
.pub__p { margin: 26px 0 0; max-width: 46ch; font-size: 17px; line-height: 1.5; color: var(--bone-2); text-wrap: pretty; }
.pub--facts .facts { margin: 0; }
.pub-foot { margin-top: clamp(64px, 10vw, 112px); }
.foot-link { color: var(--bone); text-decoration: none; border-bottom: 1px solid rgba(238, 233, 220, .3); padding-bottom: 3px; }
.foot-link:hover { border-bottom-color: var(--bone); }
.home { display: block; color: var(--bone); }
@media (min-width: 760px) {
  .pub { display: grid; grid-template-columns: 1fr 1.6fr; column-gap: 48px; align-items: start; padding-left: 40px; padding-right: 40px; }
  .pub--facts { display: block; }
  .pub--facts .facts { grid-template-columns: repeat(3, 1fr); }
}

/* the sponsors page's one image: the thank-you line, unredacted */
.card { margin: 2.2em 0 2.6em; }
.card__face { display: grid; align-content: space-between; gap: 40px; aspect-ratio: 16 / 10; max-width: 520px; padding: 28px 30px 34px; background: #eee9dc; color: #15181d; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.card__head { margin: 0; font: 400 11px/1.4 var(--mono); letter-spacing: .2em; color: rgba(21, 24, 29, .6); }
.card__label { margin: 0 0 10px; font: 450 15px/1.4 var(--sans); color: rgba(21, 24, 29, .66); }
.card__line { margin: 0; display: flex; align-items: baseline; gap: 12px; font: 620 clamp(26px, 6.4vw, 38px)/1.1 var(--display); letter-spacing: -.015em; color: #15181d; }
.card__blank { flex: 1; min-width: 40%; border-bottom: 2px solid rgba(21, 24, 29, .55); transform: translateY(-4px); }
.card figcaption { margin-top: 14px; font: 400 12px/1.5 var(--mono); letter-spacing: .06em; color: var(--bone-3); }

/* the door's one pointer down the page, for someone without a code */
.door-next { position: absolute; z-index: 5; left: 50%; bottom: max(26px, calc(env(safe-area-inset-bottom) + 16px)); transform: translateX(-50%); padding: 12px 8px; color: rgba(238, 233, 220, .62); text-decoration: none; font: 400 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; opacity: 0; animation: fade .9s 2.4s linear forwards; transition: color .3s, opacity .5s; }
.door-next::after { content: ""; display: block; width: 1px; height: 18px; margin: 12px auto 0; background: rgba(238, 233, 220, .4); }
.door-next:hover { color: var(--bone); }
.is-ready .door-next { animation: none; opacity: 1; }
.is-unlocking .door-next { opacity: 0; pointer-events: none; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .door-next { animation-duration: .01s !important; animation-delay: 0s !important; } }
.door__copy h1 + .lead { font: 620 clamp(21px, 2.8vw, 28px)/1.25 var(--display); letter-spacing: -.01em; margin-bottom: 18px; }
.statement--bar { margin-top: 14px; font-size: clamp(15px, 1.6vw, 17px); color: rgba(238, 233, 220, .66); }

/* ---------- One door (decisions 26 to 30) ---------- */
.wayin { margin: clamp(22px, calc(var(--vh) * 3.4), 40px) auto 0; max-width: 14ch; font: 620 clamp(30px, 7.6vw, 58px)/1.02 var(--display); letter-spacing: -.026em; color: var(--bone); text-wrap: balance; }
.statement--bar { margin-top: clamp(14px, calc(var(--vh) * 2.2), 22px); }
.statement { margin-top: clamp(18px, calc(var(--vh) * 2.6), 30px); }

/* one motion on the door: the bar lifts into its seat, once, about 900 ms; everything else is still */
.half::before, .crown, .feet, .seam__line, .entry, .door-next, .wordmark { animation: none !important; }
.half::before { opacity: 1; }
.crown, .feet { -webkit-mask-image: none; mask-image: none; }
.seam__line { opacity: .55; transform: none; }
.entry, .door-next { opacity: 1; }
.bar { animation: lift .9s .25s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lift { from { transform: translateX(-50%) translateY(calc(var(--S) * .42)); } to { transform: translateX(-50%) translateY(0); } }
.is-ready .bar { animation: none; }
.bar.is-tried { animation: latch .39s linear 1; }
@media (prefers-reduced-motion: reduce) { .bar { animation: none !important; } }

/* members watching the film: the door's page continues under it */
.is-inside .public { margin-top: 0; }
.public { transition: opacity .4s linear; }
.public.is-pre { opacity: 0; pointer-events: none; }
.film__play { gap: 0; }
.bar { -webkit-mask-image: none; mask-image: none; }
.inside { min-height: 0; }
@media (min-width: 760px) { .door-next { display: none; } }
.figures { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.figures li { font: 620 clamp(18px, 2vw, 22px)/1.3 var(--display); letter-spacing: -.01em; color: var(--bone); }
