:root {
  --ink: #0b0a09;
  --ink-2: #13110f;
  --bone: #ece6dc;
  --bone-2: rgba(236, 230, 220, .62);
  --stone: #8f867b;
  --line: rgba(236, 230, 220, .16);
  --rec: #f0501e;            /* her orange: the recording light only */
  --gut: clamp(16px, 3.2vw, 44px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sans: "Montserrat", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; }

#gl {
  position: fixed; inset: 0;
  width: 100vw; height: 100lvh;
  display: block;
  touch-action: pan-y;
}
.vignette {
  position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(5, 4, 3, .55) 100%);
}
.spacer { position: relative; width: 1px; pointer-events: none; }

/* the wordmark, traced from her logo, painted with currentColor */
.wm {
  display: block;
  aspect-ratio: 1000 / 128.2;
  background: currentColor;
  -webkit-mask: url(../assets/wordmark.svg) center / contain no-repeat;
          mask: url(../assets/wordmark.svg) center / contain no-repeat;
}

/* REC light: the one orange thing on the page */
.rec { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.rec i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rec);
  animation: blink 1.6s steps(1) infinite;
}
@keyframes blink { 50% { opacity: .15; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 50;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--gut);
  transition: transform 1.1s var(--ease), opacity .9s var(--ease);
}
.loader.is-done { transform: translateY(-100%); }
.loader__mark { position: relative; width: min(78vw, 1100px); margin-bottom: 28px; }
.loader__mark .wm--stroke { color: rgba(236, 230, 220, .08); }
.loader__mark .wm--fill {
  position: absolute; inset: 0; color: var(--bone);
  clip-path: inset(0 100% 0 0);
  transition: clip-path .5s var(--ease);
}
.loader__row { display: flex; gap: 28px; align-items: center; font-size: 12px; color: var(--bone-2); }
.loader__pct { margin-left: auto; }

/* ---------- HUD ---------- */
.hud {
  position: fixed; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gut);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  pointer-events: none;
}
.hud > * { pointer-events: auto; }
.hud--top { top: 0; border-bottom: 1px solid var(--line); }
.hud--bottom { bottom: 0; border-top: 1px solid var(--line); }
.hud__mark { width: 128px; color: var(--bone); transition: opacity .3s; }
.hud__mark:hover { opacity: .7; }
.hud__index { display: flex; gap: 22px; margin-left: auto; }
.hud__index button {
  background: none; border: 0; cursor: pointer;
  display: inline-flex; gap: 8px; align-items: baseline;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bone-2);
  transition: color .3s, transform .3s var(--ease);
}
.hud__index button em { font-style: normal; font-family: var(--mono); letter-spacing: 0; color: var(--stone); }
.hud__index button:hover { color: var(--bone); transform: translateY(-1px); }
.hud__index button:active { transform: scale(.98); }
.hud__index button.is-on { color: var(--bone); }
.hud__drop { color: var(--stone); }
.hud__tape { display: flex; gap: 14px; align-items: center; }
.hud__chapter { display: flex; gap: 10px; align-items: baseline; margin-left: 12vw; }
.hud__chapter .mono { color: var(--stone); }
.hud__hint { margin-left: auto; color: var(--bone-2); text-transform: none; letter-spacing: .01em; font-size: 12px; transition: opacity .5s; }

.scrub {
  position: fixed; right: calc(var(--gut) * .5); top: 22vh; bottom: 22vh; width: 1px; z-index: 20;
  background: var(--line);
}
.scrub i { position: absolute; left: -3px; top: 0; width: 7px; height: 1px; background: var(--bone); will-change: transform; }

/* ---------- overlays ---------- */
.ov {
  position: fixed; inset: 0; z-index: 10;
  pointer-events: none;
  opacity: 0; visibility: hidden;
  padding: 92px var(--gut) 86px;
}
.ov.is-live { visibility: visible; }
.ov__label {
  display: flex; gap: 14px; align-items: baseline;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-2);
  padding-top: 14px; border-top: 1px solid var(--line); width: min(420px, 60vw);
}
.ov__label .mono { color: var(--stone); }

.hero__cta { position: absolute; left: var(--gut); bottom: 100px; display: grid; gap: 18px; justify-items: start; }
.ov__cta { pointer-events: none; }
.ov.is-live .ov__cta { pointer-events: auto; }
.ov__lede {
  position: absolute; right: calc(var(--gut) * 2.2); bottom: 104px;
  font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; line-height: 1.1; letter-spacing: -.015em;
}

.big {
  position: absolute; font-weight: 700;
  font-size: clamp(54px, 10.5vw, 188px); line-height: .9; letter-spacing: -.045em;
  white-space: nowrap; will-change: transform;
}
.big--a { left: var(--gut); top: 20vh; }
.big--b { right: calc(var(--gut) * 2); top: 47vh; color: transparent; -webkit-text-stroke: 1px var(--bone); }
.ov__small { position: absolute; left: 34vw; bottom: 110px; font-size: 13px; color: var(--bone-2); letter-spacing: .02em; }

.mid {
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 76px); line-height: .98; letter-spacing: -.035em;
}
.ov--wardrobe .ov__label, .ov--turn .ov__label, .ov--fabric .ov__label, .ov--archive .ov__label { position: absolute; left: var(--gut); top: 92px; }
.ov--wardrobe .mid { position: absolute; left: var(--gut); bottom: 104px; display: grid; }
.swap { grid-area: 1 / 1; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.swap--b { opacity: 0; transform: translateY(24px); }
.ov--wardrobe.is-b .swap--a { opacity: 0; transform: translateY(-24px); }
.ov--wardrobe.is-b .swap--b { opacity: 1; transform: none; }

.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 230, 220, .7) 18%, rgba(236, 230, 220, .7) 82%, transparent);
  opacity: 0; transition: opacity .25s; will-change: transform;
}
.scan span { position: absolute; right: calc(var(--gut) * 2); top: -18px; font-size: 10px; color: var(--bone-2); text-transform: uppercase; letter-spacing: .06em; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.leaders line { stroke: rgba(236, 230, 220, .45); stroke-width: 1; }
.leaders circle { fill: var(--bone); }
.tag {
  position: absolute; left: 0; top: 0; width: 210px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 3px;
  padding-top: 8px; border-top: 1px solid rgba(236, 230, 220, .45);
  will-change: transform, opacity;
}
.tag .mono { font-size: 11px; color: var(--stone); grid-row: span 2; }
.tag b { font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.tag small { font-size: 12px; color: var(--bone-2); line-height: 1.35; }

.ov--turn .mid { position: absolute; left: var(--gut); top: 34vh; }
.drag {
  position: absolute; left: var(--gut); bottom: 104px;
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-2);
}
.drag__line { width: 56px; height: 1px; background: var(--bone-2); transform-origin: left; animation: sweep 2.4s var(--ease) infinite; }
@keyframes sweep { 0% { transform: scaleX(.15); } 50% { transform: scaleX(1); } 100% { transform: scaleX(.15); } }
.drag--fabric { left: auto; right: calc(var(--gut) * 2.2); }

.cap {
  position: absolute; left: var(--gut); bottom: 100px; width: min(520px, 80vw);
  display: grid; grid-template-columns: auto 1fr; column-gap: 26px; row-gap: 10px; align-items: baseline;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.cap__num { font-size: 40px; line-height: 1; letter-spacing: -.02em; grid-row: span 2; display: flex; gap: 8px; align-items: baseline; }
.cap__num .mono:first-child { font-size: 40px; }
.cap__of { font-size: 12px; color: var(--stone); }
.cap__text { font-size: 15px; line-height: 1.4; min-height: 2.8em; transition: opacity .35s; }
.cap__text.is-out { opacity: 0; }
.cap__date { font-size: 11px; color: var(--stone); }

.ov--end { display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; padding-bottom: 100px; }
.ov--end.is-live { pointer-events: auto; }
.end__mark { width: min(92vw, 1500px); color: var(--bone); }
.end__grid { display: grid; grid-template-columns: 1.15fr 1.3fr .7fr; gap: 48px; align-items: end; border-top: 1px solid var(--line); padding-top: 24px; }
.end__kicker { font-size: 11px; color: var(--stone); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; }
.end__title { font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; margin-bottom: 14px; }
.end__line { font-size: 14px; line-height: 1.5; color: var(--bone-2); max-width: 42ch; }
.end__form { align-self: end; }
.wlform__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.end__joined { display: none; align-self: end; }
.end__joined .mono { font-size: 11px; color: var(--stone); margin-bottom: 8px; }
.end__joinedT { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.is-joined .end__form { display: none; }
.is-joined .end__joined { display: block; }
.end__meta { display: grid; gap: 10px; justify-items: end; font-size: 12px; color: var(--bone-2); }
.end__meta a { border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .3s, border-color .3s; min-height: 24px; }
.end__meta a:hover { color: var(--bone); border-color: var(--bone); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 2px; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .07em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, opacity .25s;
}
.btn > span[aria-hidden] { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover > span[aria-hidden] { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 1px solid var(--bone); outline-offset: 3px; }
.btn--solid { background: var(--bone); color: var(--ink); }
.btn--solid:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--bone); border-color: rgba(236, 230, 220, .4); }
.btn--ghost:hover { border-color: var(--bone); }
.btn--wl { min-height: 34px; padding: 0 14px; margin-left: 10px; background: var(--bone); color: var(--ink); font-size: 11px; }
.btn--wl:hover { background: #fff; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- form fields ---------- */
.wlform { display: grid; gap: 14px; }
.fld { display: grid; gap: 7px; }
.fld > span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-2); }
.fld em { font-style: normal; color: var(--stone); text-transform: none; letter-spacing: 0; margin-left: 6px; }
.fld input {
  width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 2px;
  background: rgba(236, 230, 220, .025); border: 1px solid rgba(236, 230, 220, .2);
  font-size: 16px; color: var(--bone); outline: 0;
  transition: border-color .25s, background .25s;
}
.fld input::placeholder { color: rgba(236, 230, 220, .28); }
.fld input:focus { border-color: rgba(236, 230, 220, .75); background: rgba(236, 230, 220, .05); }
.wlform.is-err input[name=email] { border-color: rgba(236, 230, 220, .9); }
.wlform__msg { font-size: 11px; color: var(--bone-2); min-height: 1.2em; }

/* ---------- waitlist panel ---------- */
.wl { position: fixed; inset: 0; z-index: 60; }
.wl[hidden] { display: none; }
.wl__scrim { position: absolute; inset: 0; background: rgba(6, 5, 4, .66); opacity: 0; transition: opacity .55s var(--ease); }
.wl__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100vw);
  background: #100e0c; border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translate3d(100%, 0, 0); transition: transform .65s var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
}
.wl.is-open .wl__scrim { opacity: 1; }
.wl.is-open .wl__panel { transform: none; }
.wl__bar { display: flex; align-items: center; gap: 18px; padding: 10px 28px; min-height: 58px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--bone-2); }
.wl__x { margin-left: auto; min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; color: var(--bone-2); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; transition: color .25s; }
.wl__x:hover { color: var(--bone); }
.wl__body { padding: 44px 28px 28px; display: grid; gap: 22px; align-content: start; flex: 1; }
.wl__mark { width: 200px; color: var(--bone); margin-bottom: 8px; }
.wl__title { font-size: clamp(32px, 3.2vw, 46px); font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.wl__copy { color: var(--bone-2); font-size: 15px; line-height: 1.5; max-width: 38ch; }
.wl .wlform { margin-top: 8px; }
.wl .wlform .btn { margin-top: 6px; }
.wl__done { display: none; gap: 14px; justify-items: start; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.wl__done .mono { font-size: 11px; color: var(--stone); }
.wl__doneT { font-size: 30px; font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
.is-joined .wl .wlform { display: none; }
.is-joined .wl__done { display: grid; }
.wl__fine { padding: 18px 28px 24px; font-size: 10px; color: var(--stone); border-top: 1px solid var(--line); }
html.wl-open { overflow: hidden; }

.nojs { position: fixed; inset: auto 0 40% 0; text-align: center; }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .hud { padding: 14px 16px; gap: 14px; }
  .hud__index, .hud__drop { display: none; }
  .hud__mark { width: 104px; }
  .hud--bottom .hud__chapter { margin-left: auto; }
  .hud__hint { display: none; }
  .scrub { display: none; }
  .ov { padding: 74px 16px 70px; }
  .hero__cta { left: 16px; right: 16px; bottom: 72px; gap: 14px; }
  .hero__cta .ov__label { width: 100%; }
  .hero__cta .btn { width: 100%; }
  .ov__lede { right: auto; left: 16px; bottom: 196px; font-size: 20px; }
  .btn--wl { margin-left: auto; min-height: 36px; padding: 0 12px; font-size: 10px; }
  .big { font-size: 15vw; }
  .big--a { left: 16px; top: 18vh; }
  .big--b { right: 16px; top: 58vh; }
  .ov__small { left: 16px; bottom: 84px; }
  .ov--wardrobe .ov__label, .ov--turn .ov__label, .ov--fabric .ov__label, .ov--archive .ov__label { left: 16px; top: 74px; }
  .ov--wardrobe .mid { left: 16px; bottom: 80px; }
  .mid { font-size: 30px; }
  .tag { width: 150px; }
  .tag small { display: none; }
  .ov--turn .mid { left: 16px; top: auto; bottom: 120px; }
  .drag { left: 16px; bottom: 80px; }
  .drag--fabric { right: auto; left: 16px; }
  .cap { left: 16px; bottom: 76px; width: calc(100vw - 32px); }
  .cap__num, .cap__num .mono:first-child { font-size: 28px; }
  .ov--end { gap: 22px; padding-bottom: 72px; justify-content: flex-end; }
  .end__grid { grid-template-columns: 1fr; gap: 20px; padding-top: 18px; }
  .end__title { font-size: 28px; }
  .end__line { font-size: 13px; }
  .wlform__row { grid-template-columns: 1fr; gap: 10px; }
  .end__form .btn { width: 100%; }
  .end__meta { justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: end; }
  .wl__panel { width: 100vw; border-left: 0; }
  .wl__bar { padding: 8px 16px; }
  .wl__body { padding: 28px 16px 20px; gap: 18px; }
  .wl__mark { width: 150px; }
  .wl__title { font-size: 32px; }
  .wl .wlform .btn { width: 100%; }
  .wl__fine { padding: 14px 16px 20px; }
  .loader__row { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .rec i, .drag__line { animation: none; }
}
