/* Private Party
   A members' club: dark, quiet, almost nothing on the page.
   Layout: the page opens in a dark hall at a door left ajar (a real 3D scene);
   scrolling walks you through it. Inside, three large tiles stack like cards
   (the pass, hosts, brands), then the application.
   Identity: black and ivory. The only colour is "the light", the rose-to-amber
   glow from behind the door, and it is used for light only, never for decoration.
   Type: one sans (Geist), the same face the app uses. Extra-bold and set very tight
   for anything said out loud, regular for reading, small capitals for labels. */

:root {
  --black: #050505;
  --tile: #0d0c0b;
  --tile-2: #181614;
  --ivory: #EDE7DC;
  --grey: #8d877d;
  --grey-light: #b9b3a8;
  --ink: #0d0c0b;
  --paper: #EDE7DC;
  --rose: #E2325E;
  --ember: #FF6A3A;
  --amber: #FFC470;
  --light: linear-gradient(180deg, var(--rose) 0%, var(--ember) 50%, var(--amber) 100%);

  --f-sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-display: var(--f-sans);                 /* headlines: the same face, semi-bold and set tight */

  --wrap: 1200px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --edge: clamp(8px, 1vw, 14px);             /* gap between the page edge and a tile */
  --r-tile: clamp(26px, 2.8vw, 40px);
  --r-card: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --glass-edge: inset 0 1px 0 rgba(255, 250, 240, .3), inset 0 0 0 1px rgba(255, 250, 240, .08), inset 0 -1px 0 rgba(255, 250, 240, .05);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
svg { display: block; }
em { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 1px solid var(--ivory); outline-offset: 4px; border-radius: 6px; }

.on-dark  { --fg: var(--ivory); --fg-dim: var(--grey-light); --fg-faint: var(--grey); --hair: rgba(237, 231, 220, .13); color: var(--fg); }
.on-light { --fg: var(--ink);   --fg-dim: #56514a;           --fg-faint: #8a8377;     --hair: rgba(13, 12, 11, .14);   color: var(--fg); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ivory); color: var(--ink); padding: .7em 1em; border-radius: 10px; }
.skip:focus { top: 12px; }
.mark { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* small tracked capitals: the voice of the door staff */
.label { font-family: var(--f-sans); font-size: .68rem; font-weight: 600; font-stretch: 112%; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-faint); }
/* the name, wherever it is set in type */
.wordmark { font-family: var(--f-display); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; margin-right: -.16em; }

h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 1; letter-spacing: -.058em;
  text-wrap: balance;
}
.dim { color: var(--fg-faint); }
.lede { font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.6; color: var(--fg-faint); max-width: 31em; text-wrap: pretty; }
.lede b { font-weight: inherit; color: var(--fg); }

/* everything said out loud shares one voice */
h2, .hero__h1, .manifesto__text, .night__what, .step__t, .scr__h, .scr__big, .invite__what, .panel__t, .panel__count b, .report__title, .kpis b, .done__h, .nav__h { font-stretch: 106%; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.15em 2em; border: 0; border-radius: 999px;
  background: var(--ivory); color: var(--ink);
  font-size: .72rem; font-weight: 700; font-stretch: 112%; line-height: 1; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background .3s, color .3s, translate .5s var(--ease), scale .3s var(--ease);
}
.btn:hover { background: #fff; }
.btn:active { scale: .97; }
.btn--sm { padding: 0 1.4em; height: 38px; font-size: .66rem; }
.btn--wide { width: 100%; padding-block: 1.4em; }
/* the download button: one solid pill, Apple mark and a plain bold label (after a reference George sent) */
.store {
  display: inline-flex; align-items: center; gap: .62rem; height: 56px; padding: 0 1.75rem 0 1.45rem; border-radius: 999px;
  background: var(--ivory); color: var(--ink); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .3s, translate .5s var(--ease), scale .3s var(--ease);
}
.store:hover { background: #fff; }
.store:active { scale: .97; }
.store svg { flex: none; width: 20px; height: 20px; margin-top: -3px; fill: currentColor; }
.store b { font-size: 1.04rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.store svg.play { width: 17px; height: 17px; margin-top: 0; }
/* the two stores side by side: the app is built for iPhone and Android from the same code */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.apply__app .stores { justify-content: center; }
.on-light .btn { background: var(--ink); color: var(--paper); }
.on-light .btn:hover { background: #000; }
.link {
  position: relative; padding-bottom: .5em;
  font-size: .7rem; font-weight: 700; font-stretch: 112%; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; color: var(--fg); white-space: nowrap;
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .4; transform-origin: 0 50%; transition: transform .5s var(--ease), opacity .3s; }
.link:hover::after { opacity: 1; transform: scaleX(1.06); }

/* ---------- glass: smoked, with a highlight that follows the cursor ---------- */
.glass {
  --hx: 50%; --hy: -40%;
  position: relative;
  background: linear-gradient(180deg, rgba(48, 45, 42, .5), rgba(20, 19, 18, .56));
  -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
  box-shadow: var(--glass-edge), 0 24px 50px -18px rgba(0, 0, 0, .7);
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--hx) var(--hy), rgba(255, 244, 226, .16), rgba(255, 244, 226, 0) 46%);
  opacity: 0; transition: opacity .5s;
}
.glass:hover::after, .glass.is-lit::after { opacity: 1; }

/* ---------- redaction bars ---------- */
.bars { display: inline-flex; gap: .3em; vertical-align: -.12em; }
.bars i { display: block; height: .95em; width: 2.6em; background: currentColor; border-radius: 3px; }
.bars i:nth-child(1) { width: 1.3em; }
.bars i:nth-child(3) { width: 1.9em; }

/* ---------- nav: one wide glass bar; every link opens a panel ---------- */
.nav {
  position: fixed; z-index: 60; top: max(16px, env(safe-area-inset-top, 0px)); left: 50%; translate: -50% 0;
  width: min(1180px, calc(100% - 32px)); color: var(--ivory); white-space: nowrap;
  --hair: rgba(237, 231, 220, .13);
}
/* The nav's own box is the bar PLUS the dropdown panel under it, and the panel keeps its size while hidden (about 300px
   once any dropdown has been opened). That invisible box sat over the page and swallowed every click beneath the bar:
   after using the navigation you could not press the Guest / Host / Brand buttons when they were near the top (George
   hit this three times before it was found). So the box itself never takes clicks; only the visible parts do. */
.nav { pointer-events: none; }
.nav__bar, .nav.is-flyout .nav__panel, .nav.is-open .nav__sheet { pointer-events: auto; }
.nav__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; height: 66px; padding: 0 12px 0 20px; border-radius: 999px; }
.nav__brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-size: .74rem; }
.nav__brand .mark { width: 32px; height: 32px; transition: rotate .9s var(--ease); }
.nav__brand:hover .mark { rotate: 90deg; }
.nav__links { display: flex; justify-content: center; }
.nav [data-nav] {
  position: relative; display: flex; align-items: center; gap: .5em; padding: .72rem 1rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500; line-height: 1.2; letter-spacing: -.012em; text-decoration: none;   /* plain sentence case: George wanted a cleaner nav than tracked capitals */
  color: rgba(237, 231, 220, .66); transition: color .3s, background .3s;
}
.nav__links [data-nav]::after {               /* a chevron that turns when the panel is open */
  content: ""; width: .36em; height: .36em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  rotate: 45deg; translate: 0 -.1em; opacity: .7; transition: rotate .4s var(--ease), translate .4s var(--ease);
}
.nav [data-nav]:hover, .nav [data-nav].is-active, .nav [data-nav].is-open { color: var(--ivory); }
.nav [data-nav].is-open { background: rgba(255, 250, 240, .09); }
.nav [data-nav].is-open::after { rotate: 225deg; translate: 0 .12em; }
/* the section you are in is shown by the brighter word alone: George did not like a dot under it */
.nav__right { display: flex; align-items: center; gap: .5rem; justify-self: end; }
.nav .btn--sm { height: 42px; padding: 0 1.3em; font-size: .9rem; font-weight: 600; font-stretch: normal; letter-spacing: -.012em; text-transform: none; }
/* sound: three bars that move when the party is audible */
.nav__sound {
  display: flex; align-items: center; gap: .7rem; height: 42px; padding: 0 1rem 0 .9rem; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 250, 240, .07); color: rgba(237, 231, 220, .66); transition: color .3s, background .3s;
}
.nav__sound:hover, .nav__sound.is-on { color: var(--ivory); background: rgba(255, 250, 240, .11); }
.nav__sound b { font-size: .9rem; font-weight: 500; letter-spacing: -.012em; }
.nav__sound span { display: flex; align-items: center; gap: 2.5px; height: 14px; }
.nav__sound i { width: 1.5px; height: 100%; background: currentColor; transform: scaleY(.3); transform-origin: 50% 50%; transition: transform .3s; }
.nav__sound.is-on i { background: var(--ember); animation: bars .49s ease-in-out infinite alternate; }
.nav__sound.is-on i:nth-child(2) { animation-delay: -.18s; animation-duration: .37s; }
.nav__sound.is-on i:nth-child(3) { animation-delay: -.3s; animation-duration: .43s; }
@keyframes bars { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* the panel under the bar */
.nav__panel {
  margin-top: 10px; border-radius: 30px; padding: clamp(20px, 2.4vw, 32px); white-space: normal;
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.985); transform-origin: 50% 0;
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .3s;
}
.nav.is-flyout .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__pane { display: none; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 4rem); min-height: 232px; }
.nav__pane.is-on { display: grid; animation: pane .5s var(--ease); }
@keyframes pane { from { opacity: 0; transform: translateY(8px); } }
.nav__pane > div { display: grid; align-content: start; justify-items: start; }
.nav__h { margin: .9rem 0 .7rem; font-size: clamp(1.5rem, 2.3vw, 2.05rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; }
.nav__h .dim { color: var(--grey); }
.nav__p { color: var(--grey); max-width: 24em; font-size: .95rem; }
.nav__pane .link { margin-top: 1.3rem; }
.nav__rows li { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; align-items: baseline; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--hair); }
.nav__rows li:last-child, .nav__pts li:last-child { border-bottom: 1px solid var(--hair); }
.nav__rows > li > b { font-size: 1.15rem; font-weight: 700; letter-spacing: -.03em; }
.nav__rows .label b { font-weight: 600; color: var(--ivory); margin-right: .9em; }
.nav__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.nav__cols li { padding-top: .9rem; border-top: 1px solid rgba(237, 231, 220, .18); }
.nav__cols b { display: block; margin: .7rem 0 .35rem; font-size: 1.1rem; font-weight: 700; letter-spacing: -.03em; }
.nav__cols li > span:last-child { color: var(--grey); font-size: .92rem; }
.nav__pts li { padding: .85rem 0; border-top: 1px solid var(--hair); }
.nav__pts li span { color: var(--grey); }
.nav__scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .4s; }
.nav.is-flyout + .nav__scrim { opacity: 1; }

.nav__menu { display: none; place-content: center; gap: 6px; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 250, 240, .07); cursor: pointer; }
.nav__menu i { display: block; width: 16px; height: 1.5px; background: var(--ivory); transition: transform .4s var(--ease); }
.nav.is-open .nav__menu i:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav__menu i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav__sheet {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  display: none; flex-direction: column; padding: 10px; border-radius: 28px;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 50% 0;
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .3s;
}
.nav__sheet [data-nav] { padding: 1rem 1.2rem; font-size: 1.08rem; color: var(--ivory); }
.nav.is-open .nav__sheet { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* ---------- hero: the door ---------- */
.hero { position: relative; }
.hero__pin { position: relative; overflow: clip; min-height: 100svh; display: flex; align-items: center; }
/* pinned: the hall holds still while you walk up to the door and through it */
html.js .hero.is-pin { height: 290svh; }
html.js .hero.is-pin .hero__pin { position: sticky; top: 0; min-height: 100vh; min-height: 100lvh; }

.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; }
.hero.is-3d .hero__canvas { opacity: 1; }
/* without 3D the hero shows the brand's signature instead: one line of light from a door left ajar */
.hero__slit {
  position: absolute; right: 26%; top: 24%; bottom: 14%; width: 3px; border-radius: 3px;
  background: var(--light); box-shadow: 0 0 28px 3px rgba(255, 106, 58, .5), 0 0 140px 30px rgba(255, 106, 58, .16);
  transition: opacity 1s;
}
.hero.is-3d .hero__slit { opacity: 0; }
.hero__fade { --dark: 0; position: absolute; inset: 0; background: var(--black); opacity: var(--dark); pointer-events: none; }

.hero__copy { position: relative; z-index: 2; will-change: opacity, transform; }
.hero__copy > * { max-width: min(600px, 47vw); }
.hero__copy .label { margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem); }
.hero__h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(3rem, min(6.8vw, 12svh), 6.5rem);
  line-height: .9; letter-spacing: -.068em;
  margin-bottom: clamp(1.6rem, 2.8vw, 2.4rem);
}
.line { display: block; overflow: hidden; padding: .06em .08em .16em; margin: -.06em -.08em -.16em; }
.line > span { display: block; }
.line--yet em {                               /* the one word in the light */
  color: var(--ember); padding-right: .12em;
}
.hero__sub { margin-bottom: clamp(2rem, 3.4vw, 2.8rem); }
.hero__cta { display: inline-grid; justify-items: center; gap: 1.05rem; }   /* the link sits centred under the button, as in the reference */
.hero__hint { position: absolute; z-index: 2; left: 50%; bottom: clamp(20px, 4svh, 40px); translate: -50% 0; display: grid; justify-items: center; gap: .9rem; transition: opacity .35s; }
.hero__hint i { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(237, 231, 220, 0), rgba(237, 231, 220, .6)); transform-origin: 50% 0; animation: hint 2.4s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* hero load sequence */
html.js .hero .line > span { transform: translateY(140%); }   /* far enough that no letter tops peek out before the rise */
html.js .hero__copy :is(.label, .hero__sub, .hero__cta) { opacity: 0; transform: translateY(14px); }
html.js .hero.is-loaded .line > span { transform: none; transition: transform 1.4s var(--ease) var(--d, .1s); }
html.js .hero.is-loaded .line:nth-child(2) > span { --d: .2s; }
html.js .hero.is-loaded .line--yet > span { --d: 1.15s; }
html.js .hero.is-loaded .hero__copy :is(.label, .hero__sub, .hero__cta) {
  opacity: 1; transform: none; transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
html.js .hero.is-loaded .hero__sub { --d: .75s; }
html.js .hero.is-loaded .hero__cta { --d: .9s; }

/* ---------- manifesto ---------- */
.manifesto { position: relative; z-index: 2; padding-block: clamp(40px, 7vh, 100px) clamp(120px, 21vh, 230px); }
/* The words rise over the light, with the dark coming up behind them like a curtain. There is never a screen of plain
   black between the door and the first line: you are looking at the light or at the words. */
html.js .hero.is-pin + .manifesto {
  margin-top: -64svh; padding-top: 25svh;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, .82) 12svh, var(--black) 21svh);
}
.manifesto__text {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 4.1rem); line-height: 1.04; letter-spacing: -.058em;
  max-width: 17em; text-wrap: balance;
}
.manifesto__text--rules { margin-top: .8em; }
.manifesto__text .w { opacity: var(--o, 1); transition: opacity .25s linear; }

/* ---------- the kind of week we mean ---------- */
.nights { padding-block: clamp(20px, 4vh, 60px) clamp(110px, 18vh, 200px); }
/* sits in front of the door scene, like the manifesto: on tall phones the manifesto is shorter than its overlap with the
   scene, and without this the lit room showed through as a coloured band above this section */
.nights { position: relative; z-index: 2; background: var(--black); }
.night {
  position: relative; display: grid; grid-template-columns: 10rem minmax(0, 1.15fr) minmax(0, 1fr) auto; align-items: baseline; gap: .8rem 2rem;
  padding: 1.75rem 0 1.9rem; border-top: 1px solid var(--hair);
}
.nights__list li:last-child { border-bottom: 1px solid var(--hair); }
.night::after {                               /* the light runs along the row you are looking at */
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--rose), var(--ember) 50%, var(--amber));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease);
}
.night:hover::after { transform: scaleX(1); }
.night__when b { font-weight: 500; color: var(--fg); margin-right: 1.1em; }
.night__what { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.05; letter-spacing: -.04em; transition: translate .6s var(--ease); }
.night:hover .night__what { translate: .7rem 0; }
.night__who { color: var(--fg-faint); }
.night__where { justify-self: end; display: flex; align-items: center; gap: 1rem; color: #4a4640; transition: color .5s; }
.night:hover .night__where { color: var(--grey); }
.night__where .bars { font-size: .8rem; }
html.js .night[data-reveal]:nth-child(2) { transition-delay: .08s; }
html.js .night[data-reveal]:nth-child(3) { transition-delay: .16s; }
html.js .night[data-reveal]:nth-child(4) { transition-delay: .24s; }
.nights__note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; margin-top: 2.2rem; color: var(--fg-faint); }
.nights__note p { max-width: 34em; }

/* ---------- how it works ---------- */
.how { padding-block: clamp(40px, 6vh, 80px) clamp(90px, 13vh, 150px); }
.sec-head { margin-bottom: clamp(2.6rem, 5.4vw, 4.6rem); }
.sec-head .label { margin-bottom: 1.5rem; }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 350px); gap: clamp(32px, 7vw, 120px); align-items: center; }

.step {
  position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr); align-items: baseline;
  width: 100%; padding: 1.6rem 0 1.7rem; background: none; border: 0; border-top: 1px solid var(--hair);
  text-align: left; cursor: pointer; opacity: .38; transition: opacity .5s;
}
.steps li:last-child .step { border-bottom: 1px solid var(--hair); }
.step:hover { opacity: .7; }
.step.is-active { opacity: 1; }
.step__n { font-size: .74rem; font-weight: 500; letter-spacing: .14em; color: var(--fg-faint); }
.step__body { display: grid; gap: .5rem; min-width: 0; }
.step__t { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.95rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.step__d { color: var(--fg-faint); max-width: 30em; }
.step__bar { position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--ivory); transform: scaleX(0); transform-origin: 0 50%; }
.step.is-active .step__bar { animation: fill 5.2s linear forwards; }
.how.is-paused .step__bar, .steps:hover .step__bar { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
/* Scroll mode (George, 2026-11-30: "this should change through the numbers as you scroll"). The list and the phone hold
   still in the middle of the screen while scrolling walks through the four steps; the line on the active step shows how
   far through it you are. main.js turns this on when everything fits the screen, and falls back to the timer when not. */
.how.is-scroll .how__track { height: calc(var(--how-h, 0px) + var(--how-run, 0px)); }
.how.is-scroll .how__grid { position: sticky; top: var(--how-top, 84px); }
.how.is-scroll .phone { width: min(312px, 100%, calc((100svh - 150px) * 412 / 866)); }   /* shrinks on a short screen so the grid still fits */
.how.is-scroll .step .step__bar { animation: none; transform: scaleX(0); }
.how.is-scroll .step.is-active .step__bar { transform: scaleX(var(--bar, 0)); }

/* the phone: a polished frame with a glass face */
.phone {
  /* --u is one design pixel: the phone is drawn 412 x 866 around a 390 x 844 screen (an 11-pixel frame), and main.js
     sets --u to (the phone's real width / 412). Every measure of the frame is in --u, so at any size the screen is
     exactly 390u x 844u and the app fills it edge to edge, with the same corners. --k is the same number, kept for
     the app screens' own scale. Before this the frame stayed 11px thick on a smaller phone: the app stopped short of
     the bottom and the corners cut into it (George: "the phone app padding looks a little bit off"). */
  --u: .757; --k: var(--u);
  position: relative; width: min(312px, 100%); aspect-ratio: 412 / 866; margin-inline: auto;
  border-radius: calc(58 * var(--u) * 1px); background: #070707; overflow: hidden;
  box-shadow:
    inset 0 0 0 1.5px #55514b, inset 0 0 0 3px #1b1a18, inset 0 0 0 calc(10 * var(--u) * 1px) #0a0a09, inset 0 0 0 calc(11 * var(--u) * 1px) rgba(255, 250, 240, .06),
    0 60px 120px -20px #000, 0 0 0 1px #000;
}
.phone::after {                             /* reflection across the glass */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 250, 240, .09) 0%, rgba(255, 250, 240, .025) 22%, rgba(255, 250, 240, 0) 32%);
}
.phone__island { position: absolute; z-index: 3; top: calc(22 * var(--u) * 1px); left: 50%; translate: -50% 0; width: calc(118 * var(--u) * 1px); height: calc(33 * var(--u) * 1px); border-radius: 99px; background: #000; }
.phone__bar { position: absolute; top: 66px; left: 32px; right: 32px; display: flex; align-items: center; gap: .6rem; font-size: .5rem; color: rgba(237, 231, 220, .9); }
.phone__bar .mark { width: 17px; height: 17px; }

.scr {
  position: absolute; inset: calc(11 * var(--u) * 1px); border-radius: calc(47 * var(--u) * 1px); overflow: hidden; background: #0a0a0b;
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s;
}
.scr.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
/* an app screen: drawn at its real size (390 by 844), then scaled into the frame */
.app { width: 390px; height: 844px; transform: scale(var(--k)); transform-origin: 0 0; text-align: left; white-space: normal; }
.app button { pointer-events: none; }
.scr:not(.is-active) .app * { animation-play-state: paused !important; }
.phone--tile { z-index: 1; width: min(270px, 31svh, 100%); margin: 0; will-change: transform; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.scr__k, .scr__note span, .invite__lock { font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.scr__k { margin-bottom: .8rem; }
.scr__h { font-family: var(--f-display); font-size: 1.45rem; font-weight: 800; line-height: 1.1; letter-spacing: -.04em; margin-bottom: 1.3rem; }
.scr__rows > div { display: flex; justify-content: space-between; gap: 1rem; padding: .78rem 0; border-top: 1px solid rgba(237, 231, 220, .12); font-size: .9rem; }
.scr__rows dt { color: var(--grey); }
.scr.is-active .scr__rows > div { animation: rise .6s var(--ease) both; }
.scr.is-active .scr__rows > div:nth-child(1) { animation-delay: .25s; }
.scr.is-active .scr__rows > div:nth-child(2) { animation-delay: .4s; }
.scr.is-active .scr__rows > div:nth-child(3) { animation-delay: .55s; }
.scr__note { display: grid; gap: .45rem; padding-top: .9rem; border-top: 1px solid rgba(237, 231, 220, .12); }
.scr__note p { font-size: 1.08rem; font-weight: 560; letter-spacing: -.03em; line-height: 1.15; }
.scr.is-active .scr__note { animation: rise .6s var(--ease) .7s both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.swap {
  position: relative; margin-top: auto; height: 50px; border-radius: 999px; overflow: hidden;
  background: rgba(237, 231, 220, .08); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.swap span { position: absolute; inset: 0; display: grid; place-items: center; }
.swap__b { background: var(--ivory); color: var(--ink); transform: translateY(101%); }
.swap--btn .swap__a, .swap--solid .swap__a { background: var(--ivory); color: var(--ink); }
.swap--btn .swap__b { background: var(--ember); }
.scr.is-active .swap__b { animation: slide-up .6s var(--ease) 2.2s forwards; }
@keyframes slide-up { to { transform: none; } }

.scr--in { align-items: center; justify-content: center; text-align: center; gap: .5rem; }
.ring { width: 92px; height: 92px; fill: none; stroke: var(--ivory); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.1rem; }
.ring circle { stroke-dasharray: 327; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; }
.ring path { stroke-dasharray: 70; stroke-dashoffset: 0; }
.scr.is-active .ring circle, .done.is-in .ring circle { animation: draw-ring 1s var(--ease) .25s both; }
.scr.is-active .ring path, .done.is-in .ring path { animation: draw-check .5s var(--ease) 1s both; }
@keyframes draw-ring { from { stroke-dashoffset: 327; } }
@keyframes draw-check { from { stroke-dashoffset: 70; } }
.scr__big { font-family: var(--f-display); font-size: 2.3rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.scr__sm { color: var(--grey); font-size: .9rem; }
.avatars { display: flex; margin-top: 1rem; }
.avatars i {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-size: .62rem; font-weight: 500; letter-spacing: .08em; background: #262421; box-shadow: 0 0 0 3px #070707;
}
.avatars i + i { margin-left: -10px; background: var(--ivory); color: var(--ink); }
.scr.is-active .scr__big { animation: rise .7s var(--ease) 1.1s both; }
.scr.is-active .scr__sm { animation: rise .7s var(--ease) 1.25s both; }
.scr.is-active .avatars { animation: rise .7s var(--ease) 1.4s both; }

.invite { padding: 1.25rem 1.2rem 1.15rem; border-radius: 24px; background: #161513; box-shadow: inset 0 1px 0 rgba(255, 250, 240, .07); display: grid; gap: .3rem; }
.invite__when { color: var(--ember); font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.invite__what { font-family: var(--f-display); font-size: 2.15rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.invite__meta { color: var(--grey); font-size: .84rem; margin-bottom: .9rem; }
.invite__addr { min-height: 1.7em; font-size: 1rem; padding-top: .95rem; border-top: 1px solid rgba(237, 231, 220, .12); color: var(--grey-light); }
.invite__addr.is-open { color: var(--ivory); }
.invite__addr.is-open .bars { display: none; }
.invite__txt { font-size: .86rem; font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.invite__chip {
  justify-self: start; padding: .5em .9em; border-radius: 999px; background: var(--ember); color: var(--ink);
  font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem;
}
.scr.is-active .invite { animation: rise .7s var(--ease) .2s both; }
.scr.is-active .invite__chip { animation: pop .5s var(--ease) .55s both; }
@keyframes pop { from { opacity: 0; transform: scale(.7); } }

/* ---------- the three tiles ---------- */
.stack { display: grid; gap: var(--edge); padding-inline: var(--edge); }
.stage {
  --q: 0;
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-tile); overflow: hidden; transform-origin: 50% 0;
  background: var(--tile); box-shadow: inset 0 1px 0 rgba(255, 250, 240, .08);
}
.stage--light { background: var(--paper); box-shadow: none; }
.stage__in {
  flex: 1; width: 100%; max-width: calc(var(--wrap) + 128px); margin-inline: auto;
  display: flex; flex-direction: column; gap: clamp(28px, 4.4vh, 48px);
  padding: clamp(24px, 2.8vw, 36px) clamp(22px, 4.4vw, 64px) clamp(36px, 5vw, 60px);
}
.stage__bar { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1.5rem; flex-wrap: wrap; }
.stage__bar .label:first-child { color: var(--fg); }
.stage__when b { font-weight: 500; color: var(--fg-dim); margin-right: 1em; font-variant-numeric: tabular-nums; }
.stage__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.stage__copy .lede { margin-top: 1.6rem; }
.stage__copy .btn { margin-top: 2.2rem; }

/* stacking: each tile pins under the nav and the next one slides over it */
.stack.is-stack .stage {
  position: sticky; top: var(--edge); min-height: calc(100svh - var(--edge) * 2);
  transform: scale(calc(1 - var(--q) * .045)); filter: brightness(calc(1 - var(--q) * .55));
}
.stack.is-stack .stage__in { padding-top: 92px; }
/* Each tile holds still for a while before the next one slides over it (George: "the scroll is way too quick"). The gap
   is below the fold while the tile is stuck, so nothing empty is ever on screen. main.js adds it to its sums too. */
.stack.is-stack .stage { margin-bottom: 62svh; }
.stack.is-stack .stage:last-child { margin-bottom: 0; }   /* nothing slides over the last one, so holding it only left a blank black screen after it */

.ticks { display: grid; margin-top: 2rem; border-top: 1px solid var(--hair); }
.ticks li { padding: .95rem 0; border-bottom: 1px solid var(--hair); color: var(--fg); }

/* A soft light behind each tile phone and a pool where it lands. Nothing else: Brandon's line of light stood beside the
   phones for a while, and George did not like the line ("I don't know why this line is here"), so only the glow is left. */
.backlight {
  position: absolute; left: 50%; top: 48%; width: min(560px, 124%); aspect-ratio: 1 / 1.12; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 106, 58, .2), rgba(226, 50, 94, .075) 54%, rgba(255, 106, 58, 0));
}
.backlight::after {
  content: ""; position: absolute; left: 50%; bottom: 3%; width: 84%; height: 64px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(255, 106, 58, .2), rgba(255, 106, 58, 0));
}

/* the pass: a slab of smoked glass */
.pass__stage { position: relative; display: grid; justify-items: center; align-content: center; gap: 1.3rem; perspective: 1400px; min-height: 560px; }
.card {
  --rx: 0deg; --ry: 0deg; --mx: .5;
  width: min(340px, 100%); padding: 1.4rem 1.5rem 1.3rem; border-radius: 34px; color: #fff;
  background: linear-gradient(150deg, rgba(255, 250, 240, .2) 0%, rgba(255, 250, 240, .07) 38%, rgba(255, 250, 240, .03) 100%);
  -webkit-backdrop-filter: blur(30px) saturate(1.5); backdrop-filter: blur(30px) saturate(1.5);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); will-change: transform;
  box-shadow: var(--glass-edge), inset 0 -30px 50px -34px rgba(255, 250, 240, .2), 0 50px 90px -30px rgba(0, 0, 0, .8);
}
.card::before {                             /* a highlight that slides across as the card turns */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, .15) 46%, rgba(255, 255, 255, 0) 58%) 0 0 / 260% 100%;
  background-position-x: calc(100% - var(--mx) * 100%);
}
.card__top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.card__top .label { color: rgba(255, 255, 255, .75); }
.card__brand { display: flex; align-items: center; gap: .6rem; font-size: .52rem; }
.card__brand .mark { width: 20px; height: 20px; }
.card__holo { position: relative; height: 1px; margin: 1.1rem 0 1.15rem; background: rgba(255, 255, 255, .35); }
.card__code { position: relative; aspect-ratio: 1; border-radius: 22px; background: rgba(240, 234, 223, .95); padding: 9%; overflow: hidden; box-shadow: inset 0 1px 0 #fff, 0 10px 30px -10px rgba(0, 0, 0, .4); }
.card__code svg { width: 100%; height: 100%; }
.card__code circle { fill: var(--ink); transition: opacity .35s; }
.card__code .key { fill: var(--ink); }
.card__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 26%; opacity: 0;
  background: linear-gradient(180deg, rgba(255, 106, 58, 0), rgba(255, 106, 58, .4));
  border-bottom: 2px solid var(--ember);
}
.card.is-scan .card__scan { animation: scan 1.25s cubic-bezier(.5, 0, .5, 1) both; }
@keyframes scan { 0% { transform: translateY(-100%); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(300%); opacity: 0; } }
.card__fresh { position: relative; display: flex; align-items: center; gap: .9rem; margin: 1rem 0 1.05rem; font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.card__fresh i { flex: 1; height: 1px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.card__fresh b { display: block; height: 100%; background: #fff; transform-origin: 0 50%; }
.card.is-fresh .card__fresh b { animation: drain var(--fresh, 7s) linear both; }
@keyframes drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.card__rows { position: relative; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: .8rem; }
.card__rows dt { font-size: .56rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .68); margin-bottom: .3rem; }
.card__rows dd { font-size: .92rem; font-weight: 560; letter-spacing: -.02em; }

.pass__toast {
  position: relative; display: flex; align-items: center; gap: .7rem; padding: .7rem 1.2rem .7rem .8rem; border-radius: 999px;
  background: rgba(255, 250, 240, .14); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: var(--glass-edge); color: #fff; font-size: .9rem;
  opacity: 0; transform: translateY(10px) scale(.94); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.pass__toast svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ivory); fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pass__toast.is-on { opacity: 1; transform: none; }
html:not(.js) .pass__toast { opacity: 1; transform: none; }

/* hosts: the guest list on smoked glass */
.hosts__stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.panel { width: 100%; max-width: 480px; padding: 1.6rem 1.6rem 1.1rem; border-radius: 34px; color: #fff; }
.panel.glass { background: linear-gradient(160deg, rgba(60, 56, 52, .5), rgba(20, 19, 18, .64)); -webkit-backdrop-filter: blur(36px) saturate(1.4); backdrop-filter: blur(36px) saturate(1.4); }
.panel__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.panel__k, .panel__note { font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .64); }
.panel__t { font-family: var(--f-display); font-size: 2.1rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-top: .45rem; }
.panel__count { display: flex; align-items: baseline; gap: .5rem; color: rgba(255, 255, 255, .7); font-size: .86rem; }
.panel__count b { font-family: var(--f-display); font-size: 2.1rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.panel__bar { height: 2px; background: rgba(255, 255, 255, .18); margin: 1.2rem 0 1.3rem; overflow: hidden; }
.panel__bar i { display: block; height: 100%; width: 92.5%; background: #fff; transition: width .7s var(--ease); }
.panel__sub { display: flex; justify-content: space-between; align-items: center; min-height: 1.7rem; }
.panel__closed { padding: .45em .9em; border-radius: 999px; background: #fff; color: var(--ink); font-size: .56rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: scale(.8); transition: opacity .35s, transform .45s var(--ease); }
.panel.is-closed .panel__closed { opacity: 1; transform: none; }
.reqs { margin-top: .4rem; }
.req { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .78rem 0; border-top: 1px solid rgba(255, 255, 255, .12); transition: opacity .5s; }
.req__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .13); font-size: .6rem; font-weight: 500; letter-spacing: .08em; transition: background .4s, color .4s; }
.req__who { display: grid; min-width: 0; }
.req__who b { font-weight: 500; }
.req__who u { text-decoration: none; color: rgba(255, 255, 255, .62); }
.req__who small { color: rgba(255, 255, 255, .62); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.req__act { display: flex; gap: .4rem; font-size: .56rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.req__act i { font-style: normal; padding: .85em 1.2em; border-radius: 999px; transition: background .25s, color .25s, transform .25s var(--ease), opacity .3s, max-width .5s var(--ease), padding .5s var(--ease); max-width: 9em; overflow: hidden; white-space: nowrap; }
.req__no { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
.req__yes { background: #fff; color: var(--ink); }
.req.press-yes .req__yes, .req.press-no .req__no { transform: scale(.9); }
.req.is-yes .req__no, .req.is-no .req__yes { max-width: 0; padding-inline: 0; opacity: 0; }
.req.is-yes .req__av { background: #fff; color: var(--ink); }
.req.is-no { opacity: .4; }
.panel__note { margin-top: .6rem; padding-top: .85rem; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .45); }

/* brands */
.offers { margin-top: 2rem; border-top: 1px solid var(--hair); }
.offers > div { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: .3rem 1.2rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--hair); }
.offers dt { font-weight: 600; letter-spacing: -.03em; }
.offers dd { color: var(--fg-dim); }

.report {
  width: 100%; max-width: 520px; justify-self: center; padding: 1.8rem 1.8rem 1.4rem;
  border-radius: 34px; background: #FBF8F2; color: var(--ink);
  box-shadow: 0 1px 0 rgba(13, 12, 11, .05), 0 40px 80px -30px rgba(60, 40, 20, .28);
}
.report__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.report .label { color: #7c766b; }
.report__tag { white-space: nowrap; padding: .5em .95em; border-radius: 999px; background: var(--paper); font-size: .56rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6d675d; }
.report__title { font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.08; margin: 1rem 0 1.4rem; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid rgba(13, 12, 11, .12); }
.kpis > div { padding: 1.05rem 0 1.05rem 1rem; border-left: 1px solid rgba(13, 12, 11, .12); display: grid; gap: .35rem; }
.kpis > div:first-child { padding-left: 0; border-left: 0; }
.kpis b { font-family: var(--f-display); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpis span { font-size: .8rem; line-height: 1.25; color: #6d675d; }
.report__k { margin: 1.4rem 0 .5rem; }
.chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 164px; }
.chart > div { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 6px; height: 100%; text-align: center; }
.chart b { font-size: .68rem; font-weight: 500; color: #6d675d; font-variant-numeric: tabular-nums; }
.chart i { display: block; height: calc(var(--v) / 61 * 110px); border-radius: 6px 6px 2px 2px; background: var(--ink); transform-origin: 50% 100%; }
.chart .is-peak i { background: var(--light); }
.chart .is-peak b { color: var(--ink); }
.chart span { font-size: .58rem; font-weight: 500; letter-spacing: .1em; color: #8a8377; padding-top: 5px; border-top: 1px solid rgba(13, 12, 11, .12); }
.chart span::after { content: " PM"; }
.chart > div:nth-child(n+4) span::after { content: " AM"; }
html.js .report:not(.is-in) .chart i { transform: scaleY(0); }
html.js .report:not(.is-in) .chart b { opacity: 0; }
.report .chart i { transition: transform .9s var(--ease) calc(var(--i, 0) * 70ms + .2s); }
.report .chart b { transition: opacity .5s calc(var(--i, 0) * 70ms + .8s); }
.report__foot { margin-top: 1.15rem; padding-top: .95rem; border-top: 1px solid rgba(13, 12, 11, .12); font-size: .92rem; font-weight: 500; letter-spacing: -.02em; }

/* ---------- apply + footer ---------- */
/* ---------- questions ---------- */
.faq { padding-top: clamp(90px, 14vh, 160px); interpolate-size: allow-keywords; }
.faq__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__head .label { margin-bottom: 1.4rem; }
.faq__list { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 1px solid var(--ivory); outline-offset: 4px; border-radius: 6px; }
.faq summary i { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(237, 231, 220, .07); transition: background .3s; }
.faq summary:hover i { background: rgba(237, 231, 220, .15); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ivory); translate: -50% -50%; transition: rotate .5s var(--ease), opacity .3s; }
.faq summary i::after { rotate: 90deg; }
.faq details[open] summary i::after { rotate: 0deg; opacity: 0; }
.faq details p { padding: 0 3.4rem 1.6rem 0; max-width: 40em; color: var(--fg-dim); line-height: 1.6; text-wrap: pretty; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

.apply { position: relative; padding-top: clamp(90px, 14vh, 160px); }
.apply__in { display: grid; justify-items: center; text-align: center; padding-bottom: clamp(90px, 14vh, 160px); }
/* the seal: the coin in the middle, the name turning slowly around it */
.seal { position: relative; width: clamp(240px, 28vw, 340px); aspect-ratio: 1; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: turn 60s linear infinite; }
.seal__ring text { font-family: var(--f-sans); font-size: 7.4px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; fill: var(--grey); }
@keyframes turn { to { rotate: 360deg; } }
.seal__flat { position: absolute; inset: 25%; width: 50%; height: 50%; color: var(--ivory); transition: opacity .8s; }
.seal__coin { position: absolute; inset: 14%; width: 72%; height: 72%; opacity: 0; transition: opacity 1s; }
.seal.is-3d .seal__coin { opacity: 1; }
.seal.is-3d .seal__flat { opacity: 0; }
.apply__copy .label { margin-bottom: 1.4rem; }
.apply .lede { margin: 1.5rem auto 0; }
.apply__box { width: 100%; max-width: 640px; margin-top: clamp(2.4rem, 4.6vw, 3.6rem); text-align: left; padding: clamp(12px, 1.6vw, 18px); border-radius: 36px; }
.apply__app { margin-top: 1.5rem; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form { position: relative; }
.form > :is(.seg, .btn, .form__msg) { grid-column: 1 / -1; }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border: 0; margin: 0 0 2px; min-width: 0; border-radius: 999px; background: rgba(237, 231, 220, .06); }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label span { display: block; text-align: center; padding: 1.15em .5em; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); transition: color .3s; }
.seg label:hover span { color: var(--ivory); }
.seg input:checked + span { color: var(--ink); }
.seg input:focus-visible + span { outline: 1px solid var(--ivory); outline-offset: 2px; }
.seg__hl { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 999px; background: var(--ivory); transition: transform .5s var(--ease); }
.seg:has(#role-host:checked) .seg__hl { transform: translateX(100%); }
.seg:has(#role-brand:checked) .seg__hl { transform: translateX(200%); }
/* each field is one soft block: the label sits inside it, and the whole block lights when you are in it */
.field {
  display: grid; gap: .42rem; padding: .95rem 1.2rem .9rem; border-radius: 22px; cursor: text;
  background: rgba(237, 231, 220, .05); box-shadow: inset 0 0 0 1px rgba(237, 231, 220, .07);
  transition: background .3s, box-shadow .3s;
}
.field:hover { background: rgba(237, 231, 220, .075); }
.field:focus-within { background: rgba(237, 231, 220, .09); box-shadow: inset 0 0 0 1.5px var(--ivory); }
.field:has(input.is-bad) { box-shadow: inset 0 0 0 1.5px var(--ember); }
.field span { font-size: .58rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); transition: color .3s; }
.field:focus-within span { color: var(--ivory); }
.field:has(input.is-bad) span { color: var(--ember); }
.field input {
  width: 100%; padding: 0; border: 0; border-radius: 0; background: none; outline: none;
  color: var(--ivory); caret-color: var(--ember); font: inherit; font-size: 1.08rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.3;
}
.field input::placeholder { color: rgba(237, 231, 220, .26); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ivory); transition: background-color 99999s ease-out 99999s !important; }
.btn--send { justify-content: space-between; height: 62px; margin-top: 2px; padding: 0 9px 0 1.9rem; font-size: .76rem; }
.btn--send i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); transition: translate .4s var(--ease); }
.btn--send svg { width: 18px; height: 18px; fill: none; stroke: var(--ivory); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--send:hover i { translate: 3px 0; }
.btn--send:disabled { opacity: .6; cursor: default; }
.form__msg { font-size: .9rem; color: var(--ember); text-align: center; padding: .3rem .6rem .5rem; }
.form__msg:empty { padding: 0; margin-top: -10px; }
.form__note { grid-column: 1 / -1; padding: .35rem .6rem .45rem; text-align: center; font-size: .8rem; color: var(--fg-faint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { display: grid; justify-items: start; gap: .9rem; padding: 1.4rem 1.3rem; }
.done__h { font-family: var(--f-display); font-size: clamp(1.9rem, 3.1vw, 2.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.done__p { color: var(--fg-dim); max-width: 26em; }
.done__note { color: var(--amber); font-size: .84rem; }

.footer { border-top: 1px solid var(--hair); padding-block: clamp(2rem, 4vw, 3rem); }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; }
.footer__brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; font-size: .7rem; }
.footer__brand .mark { width: 30px; height: 30px; }
.footer__row { display: flex; flex-wrap: wrap; gap: .8rem 2.2rem; }
.footer__row a { text-decoration: none; transition: color .25s; }
.footer__row a:hover { color: var(--ivory); }

/* ---------- scroll reveal ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
/* headings rise out from behind an edge */
html.js [data-rise] .rise { display: block; clip-path: inset(0 0 100% 0); transform: translateY(46%); transition: clip-path 1.3s var(--ease), transform 1.3s var(--ease); }
html.js [data-rise].is-in .rise { clip-path: inset(-10% -4% -22% -4%); transform: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  /* no room for five links: they move into a sheet behind the menu button */
  .nav__links, .nav__panel, .nav__scrim { display: none; }
  .nav__bar { grid-template-columns: 1fr auto; }      /* name on the left, controls hard against the right */
  .nav__menu { display: grid; }
  .nav__sheet { display: flex; }
  .nav__sound b { display: none; }
}
@media (max-width: 900px) {
  html.js .hero.is-pin { height: 245svh; }             /* a shorter walk on phones */
  .manifesto { padding-bottom: clamp(64px, 10vh, 110px); }

  .hero__pin { align-items: flex-start; padding-top: clamp(104px, 15svh, 150px); }
  .hero__copy > * { max-width: none; }
  .hero__slit { right: 50%; top: 46%; bottom: 13%; }

  .night { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1rem; }
  .night__what, .night__who { grid-column: 1 / -1; }
  .night__where { grid-row: 1; grid-column: 2; }
  .how__grid, .stage__grid, .faq__in { grid-template-columns: minmax(0, 1fr); }
  .how__grid { gap: 3rem; }
  .phone { width: min(300px, 82vw); }
  /* scroll mode on a phone: a smaller phone and a compact list, so both fit on one screen and hold still together */
  .how.is-scroll .how__grid { gap: 1.1rem; }
  .how.is-scroll .phone { width: min(300px, 82vw, calc((100svh - 356px) * 412 / 866)); }
  .how.is-scroll .step { grid-template-columns: 2.4rem minmax(0, 1fr); padding: .78rem 0 .84rem; }
  .how.is-scroll .step__t { font-size: 1.2rem; }
  .how.is-scroll .step__body { gap: .3rem; }
  .how.is-scroll .step__d { display: none; font-size: .93rem; line-height: 1.4; }
  .how.is-scroll .step.is-active .step__d { display: block; }
  .how .phone { order: -1; }                        /* only this one moves above its text; on the tiles a changed order put the phone behind what sits beside it */
  .hosts__stage { order: 2; }
  .pass__stage, .hosts__stage { min-height: 0; padding-block: 1.4rem 1rem; }
  .panel, .report { max-width: none; }
  .stage__in { padding-bottom: 28px; }
  .offers > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .nav { width: calc(100% - 20px); }
  .nav__bar { height: 58px; padding: 0 8px 0 16px; gap: .5rem; }
  .nav__right { gap: 6px; }
  .nav__brand { gap: .55rem; font-size: .58rem; }
  .nav__brand .mark { width: 26px; height: 26px; }
  .nav__sound { padding: 0 .8rem; }
  .hero__cta .link { display: none; }
  .req__no { display: none; }
  .panel { padding: 1.35rem 1.2rem 1rem; border-radius: 28px; }
  .panel__t, .panel__count b { font-size: 1.8rem; }
  .report { padding: 1.4rem 1.2rem 1.2rem; border-radius: 28px; }
  .kpis > div { padding-left: .7rem; }
  .chart { gap: 5px; }
  .chart span::after, .chart > div:nth-child(n+4) span::after { content: ""; }
  .faq details p { padding-right: 0; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .apply__box { border-radius: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal], html.js .hero .line > span,
  html.js .hero__copy :is(.label, .hero__sub, .hero__cta) { opacity: 1; transform: none; }
  html.js [data-rise] .rise { clip-path: none; transform: none; }
  html.js .report:not(.is-in) .chart i { transform: none; }
  html.js .report:not(.is-in) .chart b { opacity: 1; }
  .step__bar, .hero__hint { display: none; }
  .pass__toast { opacity: 1; transform: none; }
}
