/* rollcall.bar (guests) v4 — round 3 (Oct 16, 2026).
   Warm Pop: a calm, posh frame (warm paper by day, night ink after dark) with loud human moments inside it. Orange is
   candlelight, used only on the one filled button per screen. Places glow when they're alive: the ember ring and the
   candle-flicker dot (Direction C's live language, and the only animation that loops). The app's serif voice with an
   italic second phrase. App cards are the only UI on the page. */

:root {
  --ink: #17110d;
  --ink-2: #1f1611;
  --ink-3: #2b2019;
  --paper: #f7f3ee;
  --sand: #efe5d8;
  --card: #fffdf9;
  --cream: #f6e9d4;
  --cream-2: #ead9c1;      /* secondary text on every dark ground (4.7:1 on the darkest dusk) */
  --text-2: #5a4838;       /* secondary text on paper and amber (5.4:1 or better) */
  --o: #e2611f;            /* candlelight: filled buttons only */
  --o-hi: #f07a3c;
  --o-deep: #b84c27;       /* italic accent on light grounds */
  --gold: #f0b45c;         /* italic accent on dark grounds, Luna's glow */
  --line: rgba(23, 17, 13, .12);
  --line-d: rgba(246, 233, 212, .16);
  --live: #b84c27;         /* Direction C --glowlive on light: the live dot and ring */
  --live-d: #ff8a4a;       /* Direction C --glowlive on dark */

  --serif: "Newsreader", ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --pad: clamp(64px, 6.25vw, 92px);
  --nav-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-card: 0 40px 80px -36px rgba(17, 11, 8, .55), 0 3px 10px rgba(17, 11, 8, .1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }

/* ---------- tone: text colours follow the ground ---------- */
.t-light { color: var(--ink); --muted: var(--text-2); --accent: var(--o-deep); --hair: var(--line); }
.t-dark { color: var(--cream); --muted: var(--cream-2); --accent: var(--gold); --hair: var(--line-d); }

/* ---------- grounds ---------- */
.g-paper { background: var(--paper); }
.g-sand { background: var(--sand); }
.g-ink { background: var(--ink); }
/* Variant B: the sky through one Saturday. Each section paints the blend from the last colour into its own inside its top
   padding, so the shift is continuous on a straight scroll and every line of text sits on a solid ground. */
.sec { --blend: calc(var(--pad) * .82); }
.g-b1 { background: #f7f3ee; }
.g-b2 { background: linear-gradient(#f7f3ee, #f2e6d5 var(--blend)); }
.g-b3 { background: linear-gradient(#f2e6d5, #edc89d var(--blend)); }
.g-b4 { background: linear-gradient(#edc89d, #6e3b27 var(--blend)); }
.g-b5 { background: linear-gradient(#6e3b27, #2a1a12 var(--blend)); }
.g-b6 { background: linear-gradient(#2a1a12, #17110d var(--blend)); }
.g-b7 { background: linear-gradient(#17110d, #5e3423 var(--blend)); }
.g-b9 { background: radial-gradient(130% 70% at 50% 108%, rgba(240, 122, 60, .3), rgba(240, 122, 60, 0) 62%), linear-gradient(#2a1a12, #17110d var(--blend)); }
.g-b8 { background: radial-gradient(130% 70% at 50% 108%, rgba(240, 122, 60, .3), rgba(240, 122, 60, 0) 62%), linear-gradient(#5e3423, #17110d var(--blend)); }

/* ---------- type ---------- */
.display {
  font: 400 clamp(2.7rem, 5.3vw, 5.15rem)/.98 var(--serif); font-variation-settings: "opsz" 72;
  letter-spacing: -.024em; margin: 0; max-width: 15ch; text-wrap: balance;
}
.h2 {
  font: 400 clamp(2.3rem, 4.4vw, 4rem)/1.03 var(--serif); font-variation-settings: "opsz" 72;
  letter-spacing: -.02em; margin: 0; text-wrap: balance;
}
.display em, .h2 em { font-style: italic; color: var(--accent); letter-spacing: -.012em; }
.display em { display: block; }
.lede { font: 400 clamp(1.06rem, 1.3vw, 1.2rem)/1.6 var(--sans); color: var(--muted); max-width: 36ch; margin: 20px 0 0; text-wrap: pretty; }
.stamp { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stamp .moon { width: 12px; height: 12px; color: var(--accent); }
.sec { position: relative; padding: var(--pad) 0; }
.sec-head { max-width: 680px; margin-bottom: clamp(32px, 3.6vw, 56px); }

/* ---------- buttons, fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent; background: none; color: inherit;
  font: 600 .98rem/1 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .45s var(--spring), background-color .25s, color .25s, border-color .25s, box-shadow .3s;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--o); color: var(--ink); box-shadow: 0 12px 30px -14px rgba(226, 97, 31, .7); }
.btn.primary:hover { background: #eb6f2c; transform: translateY(-1px); }
.btn.ghost { border-color: currentColor; }
.btn.ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn.ink { background: var(--ink); color: var(--cream); }
.btn.ink:hover { background: #2a1f18; }
.btn.big { min-height: 58px; padding: 0 32px; font-size: 1.04rem; }
.textlink { border: 0; background: none; padding: 0; cursor: pointer; font: 600 .9rem/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; color: inherit; }
.input {
  width: 100%; min-height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  font: 500 1rem/1 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #8f7e6e; }
.input:focus { outline: none; border-color: var(--o); box-shadow: 0 0 0 3px rgba(226, 97, 31, .2); }
.input[aria-invalid="true"] { border-color: #b3261e; }
.err { display: none; margin: 8px 0 0; font: 600 .86rem/1.4 var(--sans); color: #a8281c; }
.err.show { display: block; }
.t-dark .err { color: #ffb59c; }

/* ---------- nav: crescent + RollCall, one button ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; color: var(--ink);
  transition: background-color .5s var(--ease), color .4s, box-shadow .4s;
}
.nav[data-tone="dark"] { color: var(--cream); }
.nav.solid { background: color-mix(in srgb, var(--nav-bg, #f7f3ee) 84%, transparent); box-shadow: 0 1px 0 color-mix(in srgb, currentColor 10%, transparent); }
@supports (backdrop-filter: blur(4px)) { .nav.solid { backdrop-filter: blur(18px) saturate(1.2); } }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 1.24rem/1 var(--serif); letter-spacing: -.01em; }
.lockup .logo { width: 30px; height: 30px; flex: none; transition: transform .7s var(--spring); }
.lockup:hover .logo { transform: rotate(-18deg); }
.nav-cta { min-height: 42px; padding: 0 20px; font-size: .92rem; border-color: currentColor; }
.nav-cta.fill { background: var(--o); border-color: var(--o); color: var(--ink); }
.nav-cta:hover { transform: translateY(-1px); }

/* ---------- shared app bits ---------- */
.ui { -webkit-user-select: none; user-select: none; }
.app-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--cream); box-shadow: 0 4px 12px rgba(0, 0, 0, .28); }
.app-icon .moon { width: 14px; height: 14px; }
.app-icon.sm { width: 24px; height: 24px; border-radius: 7px; }
.app-icon.sm .moon { width: 12px; height: 12px; }
.avs { display: inline-flex; align-items: center; }
.av {
  width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--c); color: #fff;
  display: inline-grid; place-items: center; font: 700 .7rem/1 var(--sans); letter-spacing: .02em;
  box-shadow: 0 0 0 2px var(--ring, var(--card));
}
.av[style*="#e2611f"] { color: var(--ink); }
.avs .av + .av { margin-left: -8px; }
.av.more { background: #ece4d9; color: var(--ink); }
/* the live layer: the contract's bucket word, then its trend; an ember dot that flickers like a candle */
.ft { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; background: #f4ece2; color: var(--ink); font: 500 .8rem/1.1 var(--sans); white-space: nowrap; }
.ft b { font-weight: 700; }
.ft-sep { opacity: .5; white-space: pre; }
.ft i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--live); box-shadow: 0 0 9px color-mix(in srgb, var(--live) 75%, transparent); }
.ft.glass { --live: var(--live-d); background: rgba(17, 11, 8, .52); color: var(--cream); }
@supports (backdrop-filter: blur(4px)) { .ft.glass { backdrop-filter: blur(10px); } }
@media (prefers-reduced-motion: no-preference) {
  .ft i, .flick { animation: flicker 3.6s linear infinite; }
}
@keyframes flicker { 0%, 100% { opacity: 1; transform: none; } 7% { opacity: .78; transform: scale(.92); } 11% { opacity: 1; transform: scale(1.04); } 34% { opacity: .9; } 38% { opacity: 1; transform: none; } 61% { opacity: .74; transform: scale(.94); } 67% { opacity: 1; transform: scale(1.02); } 83% { opacity: .92; } }

/* Luna */
.luna { display: block; width: 100%; height: auto; overflow: visible; }
.luna-body { fill: var(--cream); stroke: #e3cfb2; stroke-width: 6; }
.luna-eye { fill: var(--ink); transform-box: fill-box; transform-origin: center; }
.luna-smile { fill: none; stroke: var(--ink); stroke-width: 11; stroke-linecap: round; }
.luna-blush { fill: var(--o-hi); opacity: .5; }
.t-light .luna-body, .flow .luna-body, .sky:not([data-tone="dark"]) .luna-body { stroke: #c9ab80; }

/* ---------- S1 · hero ---------- */
.hero { position: relative; overflow: clip; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero .lede { max-width: 32ch; }
.inline-join { margin-top: 34px; max-width: 520px; }
.ij-row { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgba(17, 11, 8, .4); }
.ij-row .input { border: 0; background: transparent; min-height: 50px; border-radius: 999px; padding: 0 16px; box-shadow: none; }
.ij-row .input:focus { box-shadow: none; }
.ij-row:focus-within { border-color: var(--o); box-shadow: 0 0 0 3px rgba(226, 97, 31, .18); }
.ij-row .btn { min-height: 50px; flex: none; }
.t-dark .ij-row { background: rgba(246, 233, 212, .1); border-color: rgba(246, 233, 212, .26); }
@supports (backdrop-filter: blur(4px)) { .t-dark .ij-row { backdrop-filter: blur(14px); } }
.t-dark .ij-row .input { color: var(--cream); }
.t-dark .ij-row .input::placeholder { color: rgba(246, 233, 212, .62); }

/* Variant A: golden hour, full bleed */
.hero-a { min-height: max(660px, min(100svh, 980px)); display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 56px) 0 clamp(56px, 9vh, 112px); background: var(--ink); }
.hero-a > .wrap { width: 100%; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17, 11, 8, .9) 0%, rgba(17, 11, 8, .76) 34%, rgba(17, 11, 8, .4) 58%, rgba(17, 11, 8, .08) 82%),
              linear-gradient(0deg, rgba(17, 11, 8, .72) 0%, rgba(17, 11, 8, 0) 46%),
              linear-gradient(180deg, rgba(17, 11, 8, .45) 0%, rgba(17, 11, 8, 0) 22%);
}

/* the floating app card */
.hcard { justify-self: end; width: min(330px, 100%); padding: 10px; border-radius: 26px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-card); }
.hc-photo { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #2a1d15; }
.hc-photo img { width: 100%; height: 100%; object-fit: cover; }
.hc-photo .app-icon { position: absolute; top: 10px; right: 10px; }
.hc-body { padding: 14px 8px 8px; }
.hc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hc-name { font: 500 1.42rem/1.1 var(--serif); letter-spacing: -.01em; }
.hc-meta { display: block; margin-top: 4px; font: 500 .84rem/1.3 var(--sans); color: var(--text-2); }
.hc-line { display: block; margin-top: 8px; font: italic 400 1.06rem/1.3 var(--serif); color: var(--ink); }
.hc-going { display: flex; align-items: center; gap: 10px; margin: 14px 0 12px; min-height: 28px; }
.hc-who { font: 600 .86rem/1.2 var(--sans); }
@media (prefers-reduced-motion: no-preference) {
  .js .hcard .pop { animation: pop .7s var(--spring) both; }
  .js .hcard .pop:nth-child(1) { animation-delay: .7s; }
  .js .hcard .pop:nth-child(2) { animation-delay: 1s; }
  .js .hcard .pop:nth-child(3) { animation-delay: 1.3s; }
  .js .hero .hc-who { animation: fadein .6s 1.6s both; }
  .js .hero-a .hcard { animation: float 9s ease-in-out 2.4s infinite; }
}
@keyframes pop { from { transform: scale(0); } }
@keyframes fadein { from { opacity: 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Round 3 home: "Icon Rise". The app icon is the first thing you see; the places around it glow when they're alive. */
.hero-r { overflow: clip; }
.ir { position: relative; min-height: clamp(720px, 100svh, 940px); padding: calc(var(--nav-h) + clamp(24px, 6.6vh, 72px)) var(--gutter) clamp(40px, 6vh, 64px); display: flex; flex-direction: column; align-items: center; }
.ir-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 640px; }
.app-tile {
  display: grid; place-items: center; width: clamp(88px, min(9vw, 13.5vh), 128px); aspect-ratio: 1; border-radius: 23.5%;
  background: radial-gradient(120% 95% at 28% 10%, #3d281b 0%, #22160f 48%, #140d09 100%);
  box-shadow: inset 0 2px 0 rgba(255, 236, 214, .2), inset 0 -12px 26px rgba(0, 0, 0, .42), 0 30px 60px -22px rgba(120, 50, 20, .5), 0 10px 22px -10px rgba(60, 30, 15, .45);
}
.ai-art { width: 74%; height: auto; overflow: visible; }
.kicker { margin: 22px 0 12px; font: 600 1rem/1.35 var(--sans); letter-spacing: -.005em; color: var(--ink); }
.hero-r .display { max-width: 16ch; font-size: clamp(2.6rem, min(5.4vw, 8.6vh), 5rem); line-height: 1; }  /* laptops: the card stays above the fold */
.hero-r .lede { margin: 18px auto 0; max-width: 38ch; }
.hero-r .inline-join { margin: 28px auto 0; width: min(500px, 100%); }
@media (prefers-reduced-motion: no-preference) {
  .js .app-tile { animation: iconrise .9s var(--spring) both; }
}
@keyframes iconrise { from { transform: scale(.88); opacity: 0; } }

.orbit { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.ot { --sz: calc(var(--s) * var(--k, 1)); position: absolute; left: var(--x); top: var(--y); width: var(--sz); height: var(--sz); margin: calc(var(--sz) / -2) 0 0 calc(var(--sz) / -2); pointer-events: auto; }
.ot-b { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 24%; overflow: hidden; background: #e8dccb; cursor: pointer;
  box-shadow: 0 26px 50px -28px rgba(60, 35, 20, .6); transition: transform .55s var(--spring), box-shadow .4s var(--ease); }
.ot-b img { width: 100%; height: 100%; object-fit: cover; }
.ot:not(.live) .ot-b img { filter: saturate(.82) brightness(.98); }
/* alive: a hairline ember ring with a soft glow, and the crowd word on the tile with its candle-flicker dot, so the
   glow and the word read as one thing */
.ot.live .ot-b { box-shadow: 0 0 0 1.5px rgba(184, 76, 39, .62), 0 0 24px rgba(226, 97, 31, .2), 0 26px 50px -28px rgba(60, 35, 20, .6); }
.ft.tile { position: absolute; left: 8%; bottom: 8%; z-index: 1; gap: 6px; padding: 5px 9px 5px 7px; background: rgba(255, 253, 249, .93); font-size: .7rem; box-shadow: 0 4px 12px -4px rgba(17, 11, 8, .35); }
.ft.tile i { width: 7px; height: 7px; }
.ot-b { transition: transform .55s var(--spring), box-shadow .4s var(--ease), opacity .35s var(--ease), filter .35s var(--ease); }
.ot-b:hover, .ot-b:focus-visible, .ot-b.on { transform: scale(1.06); }
.ot-b:focus-visible { outline-offset: 5px; border-radius: 24%; }
.ir.landed .ot.land .ot-b { transform: scale(1.05); }
/* a place in focus that isn't Saint Alder: it lifts, the others step back, and the friends going there sit on it */
.ir.alt .ot:not(.on) .ot-b { opacity: .55; filter: saturate(.7); transform: none; }
.hops { position: absolute; left: 50%; top: -15px; z-index: 2; display: flex; transform: translateX(-50%); pointer-events: none; transition: opacity .3s var(--ease); }
.av.hop { width: 34px; height: 34px; font-size: .78rem; --ring: #fffdf9; box-shadow: 0 0 0 2.5px var(--ring), 0 8px 16px -6px rgba(17, 11, 8, .45); }
.hops .av + .av { margin-left: -8px; }
.ot:not(.land):not(.on) .hops, .ir.alt .ot.land .hops { opacity: 0 !important; }
/* the app card for the place in focus, on the centre line under the ask: its own photo, its words, its friends */
.rcard { position: relative; z-index: 4; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; width: min(440px, 100%); margin: 30px auto 0; padding: 12px 18px 12px 12px; border-radius: 24px; text-align: left; }
.rcard-th { position: relative; width: 88px; height: 88px; border-radius: 18px; overflow: hidden; background: #e8dccb; }
.rcard-th img { width: 100%; height: 100%; object-fit: cover; }
.rcard-th .app-icon { position: absolute; left: 6px; top: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.rcard-tx { min-width: 0; }
.rcard .hc-top { justify-content: flex-start; flex-wrap: wrap; gap: 4px 10px; }
.rcard .hc-name { font-size: 1.32rem; }
.rcard .hc-chip .ft { padding: 5px 10px 5px 8px; font-size: .74rem; }
.rcard .hc-meta { margin-top: 2px; }
.rcard .hc-line { margin-top: 3px; font-size: 1.02rem; }
.rcard .hc-going { margin: 8px 0 0; min-height: 0; }
.rcard .hc-chip:empty { display: none; }
.rcard.flash > * { animation: fadein .35s both; }
@media (prefers-reduced-motion: no-preference) {
  .rcard { transition: opacity .5s var(--ease), transform .75s var(--spring); transform-origin: 50% 0; }
  .js .ir.prep .rcard { opacity: 0; transform: translateY(12px) scale(.94); }
  .js .ir.prep.landed .rcard { opacity: 1; transform: none; }
  .js .ir.prep .ot.land .hops { opacity: 0; }
  .js .ir.prep.go .ot.land .hops { opacity: 1; }
}

@media (max-width: 1439px) { .ir { --k: .84; } }
@media (max-width: 1299px) { .ir { --k: .74; } }
@media (max-width: 1199px) {
  .ir { min-height: 0; padding-bottom: 48px; }
  .orbit { position: relative; inset: auto; display: flex; align-items: flex-end; justify-content: safe center; gap: 14px; width: calc(100% + 2 * var(--gutter)); margin: 26px calc(var(--gutter) * -1) -22px; padding: 22px var(--gutter) 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; pointer-events: auto; }
  .orbit::-webkit-scrollbar { display: none; }
  .ot { position: relative; left: auto; top: auto; order: var(--m); flex: none; width: 108px; height: 108px; margin: 0; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .ot.land { width: 144px; height: 144px; }
  .ot-b { box-shadow: 0 16px 26px -18px rgba(60, 35, 20, .55); }
  .ot.live .ot-b { box-shadow: 0 0 0 1.5px rgba(184, 76, 39, .62), 0 0 14px rgba(226, 97, 31, .18), 0 16px 26px -18px rgba(60, 35, 20, .55); }
  .rcard { margin: 14px auto 0; }
}

/* Variant B: Luna rides the top of the page */
.sky { position: fixed; left: 0; top: 0; z-index: 101; width: 44px; pointer-events: none; transform: translate3d(14px, 70vh, 0); will-change: transform; color: var(--ink); }
.sky[data-tone="dark"] { color: var(--cream); }
.sky-luna { display: block; width: 44px; pointer-events: auto; cursor: grab; touch-action: none; filter: drop-shadow(0 0 var(--gr, 6px) rgba(240, 180, 92, var(--ga, .45))); transition: opacity .35s; }
.sky-luna:active { cursor: grabbing; }
.sky.low .sky-luna { opacity: 0; }
.sky.jump .sky-luna, .sky.gone .sky-luna { opacity: 0; }
.sky.glint .luna-eye { animation: blink .32s ease-in-out .2s 2; }
@media (prefers-reduced-motion: no-preference) { .sky.glint .sky-luna { animation: glint 1.6s var(--ease); } }
@keyframes glint { 40% { transform: scale(1.22) rotate(-10deg); filter: drop-shadow(0 0 22px rgba(240, 180, 92, .95)); } }
.no-js .sky { display: none; }

/* ---------- S2 · discovery rail ---------- */
.rail { --rail-pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 20px; }
.rail::-webkit-scrollbar { display: none; }
.rail.drift { overflow: clip; scroll-snap-type: none; }
.rail-track { display: flex; gap: clamp(14px, 1.6vw, 22px); width: max-content; margin: 0; padding: 0 var(--rail-pad); list-style: none; will-change: transform; }
.rc { width: clamp(248px, 24vw, 318px); aspect-ratio: 3 / 4; perspective: 1500px; scroll-snap-align: start; scroll-margin-left: var(--rail-pad); }
.rc-in { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 24px; background: none; color: inherit; text-align: left; cursor: pointer; transform-style: preserve-3d; transition: transform .95s var(--ease); }
.rc-in[aria-pressed="true"] { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
  .rc:hover .rc-in { transform: rotateY(180deg); transition-delay: .22s; }
  .rc:hover .rc-in[aria-pressed="true"] { transform: rotateY(180deg); }
}
.rc-face { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.rc-front { background: #2a1d15; box-shadow: 0 30px 60px -36px rgba(17, 11, 8, .6); }
.rc-front img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.rc-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 11, 8, .82) 0%, rgba(17, 11, 8, .2) 46%, rgba(17, 11, 8, 0) 62%), linear-gradient(180deg, rgba(17, 11, 8, .35), rgba(17, 11, 8, 0) 26%); }
.rc-time { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 7px 11px; border-radius: 999px; background: rgba(17, 11, 8, .5); color: var(--cream); font: 600 .74rem/1 var(--sans); letter-spacing: .04em; }
@supports (backdrop-filter: blur(4px)) { .rc-time { backdrop-filter: blur(10px); } }
.rc-body { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--cream); }
.rc-name { font: 500 1.6rem/1.04 var(--serif); letter-spacing: -.01em; }
.rc-meta { font: 500 .84rem/1.2 var(--sans); color: rgba(246, 233, 212, .86); }
.rc-why { margin: 2px 0 6px; font: italic 400 1.12rem/1.25 var(--serif); color: var(--cream); text-wrap: pretty; }
.rc-back { transform: rotateY(180deg); display: flex; flex-direction: column; padding: 24px 20px 20px; color: var(--cream);
  background: radial-gradient(90% 60% at 30% 20%, rgba(240, 180, 92, .16), rgba(240, 180, 92, 0) 70%), #1f1510; }
.rb-bg { position: absolute; inset: 0; overflow: hidden; }
.rb-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); filter: blur(12px) brightness(.34) saturate(1.15); }
.rb-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 15, 11, .35), rgba(23, 15, 11, .7)); }
.rc-back > :not(.rb-bg) { position: relative; z-index: 1; }
.rb-label { display: inline-flex; align-items: center; gap: 8px; font: 600 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cream-2); }
.rb-label .moon { width: 12px; height: 12px; color: var(--gold); }
.rb-go { margin-top: 14px; font: italic 400 clamp(1.7rem, 2.2vw, 2.05rem)/1.08 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.rb-note { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; }
.rb-note .av { --ring: transparent; margin-top: 2px; }
.rb-say { padding: 10px 13px 11px; border-radius: 4px 18px 18px 18px; background: rgba(246, 233, 212, .14); font: 500 .9rem/1.35 var(--sans); }
.rb-say b { display: block; margin-bottom: 3px; font: 600 .68rem/1 var(--sans); letter-spacing: .04em; color: var(--cream-2); }
.rb-been { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-d); font: 600 .8rem/1.2 var(--sans); color: var(--cream-2); }
.rb-been .av { --ring: #2a1d16; width: 24px; height: 24px; font-size: .6rem; }

/* ---------- S3 · just your people: the circle is the chat's header, "I'm in" is your reply ---------- */
.fr-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.chat { justify-self: end; width: 100%; max-width: 440px; padding: 14px 16px 20px; border-radius: 30px; background: var(--ink-2); color: var(--cream); border: 1px solid var(--line-d); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .7); }
.chat-head { display: flex; align-items: center; gap: 14px; padding: 6px 6px 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line-d); }
.chat-avs .av { --ring: var(--ink-2); width: 30px; height: 30px; }
.chat-avs .av + .av { margin-left: -9px; }
.chat-avs .you-av { width: 0; margin-left: 0 !important; transform: scale(0); transition: transform .55s var(--spring), width .4s var(--ease), margin .4s var(--ease); }
.chat.joined .chat-avs .you-av { width: 30px; margin-left: -9px !important; transform: none; }
.chat-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.chat-t b { font: 600 .98rem/1 var(--sans); }
.chat-sub { font: 500 .78rem/1 var(--sans); color: var(--cream-2); }
.chat-log { list-style: none; margin: 0; padding: 0 2px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 78%; padding: 10px 14px 11px; border-radius: 20px; font: 500 .98rem/1.35 var(--sans); }
.them { align-self: flex-start; background: var(--ink-3); border-bottom-left-radius: 6px; }
.them .who { display: block; margin-bottom: 4px; font: 600 .7rem/1 var(--sans); letter-spacing: .04em; color: var(--cream-2); }
.them.place { max-width: 90%; padding: 8px 8px 8px; }
.them.place .who { margin: 2px 6px 7px; }
.pl { position: relative; display: flex; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 16px; background: var(--card); color: var(--ink); }
.pl > img { width: 82px; height: 82px; flex: none; border-radius: 12px; object-fit: cover; }
.pl > .app-icon { position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; border-radius: 7px; }
.pl > .app-icon .moon { width: 11px; height: 11px; }
.pl-body { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.pl-body > b { font: 500 1.2rem/1.1 var(--serif); }
.pl-body > span:not(.ft) { font: 500 .8rem/1.3 var(--sans); color: var(--text-2); margin-bottom: 5px; }
.pl-body .ft { font-size: .74rem; padding: 6px 10px 6px 9px; }
.msg.reply { align-self: flex-end; max-width: none; padding: 0; background: none; margin-top: 4px; }
.reply-btn { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px dashed rgba(246, 233, 212, .5); background: transparent; color: var(--cream); font: 600 .95rem/1 var(--sans); cursor: pointer; transition: background-color .35s, color .35s, border-color .35s, border-radius .35s, transform .45s var(--spring); }
.reply-btn:hover { border-color: var(--cream); }
.reply-btn[aria-pressed="true"] { border: 1.5px solid var(--o); border-radius: 20px 20px 6px 20px; background: var(--o); color: var(--ink); cursor: default; }
.no-js .reply-btn { border: 1.5px solid var(--o); border-radius: 20px 20px 6px 20px; background: var(--o); color: var(--ink); }
.luna-msg { display: flex; align-items: flex-end; gap: 10px; max-width: 86%; padding: 0; background: none; }
.luna-av { flex: none; width: 34px; filter: drop-shadow(0 0 10px rgba(240, 180, 92, .55)); }
.luna-b { padding: 10px 14px 11px; border-radius: 20px 20px 20px 6px; background: var(--cream); color: var(--ink); font: italic 400 1.08rem/1.3 var(--serif); }
.luna-b .who { display: block; margin-bottom: 4px; font: 600 .7rem/1 var(--sans); font-style: normal; letter-spacing: .04em; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .chat .msg.them { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .js .chat .msg.them.in { opacity: 1; transform: none; }
  .js .chat .msg.reply { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .js .chat .msg.reply.ready { opacity: 1; transform: none; }
  .js .chat .msg.reply.ready .reply-btn[aria-pressed="false"] { animation: nudge 2.4s ease-in-out .6s 3; }
  .js .chat .luna-msg { opacity: 0; transition: opacity .4s; }
  .js .chat .luna-msg .luna-av { transform: translateY(18px) scale(.3); transform-origin: 50% 100%; transition: transform .8s var(--spring); }
  .js .chat .luna-msg .luna-b { opacity: 0; transform: translateX(-6px); transition: opacity .45s .45s, transform .6s .45s var(--ease); }
  .js .chat .luna-msg.in { opacity: 1; }
  .js .chat .luna-msg.in .luna-av { transform: none; }
  .js .chat .luna-msg.in .luna-b { opacity: 1; transform: none; }
  .js .chat .luna-msg.in .luna-eye { animation: blink .32s ease-in-out 1s 2; }
}
@media (prefers-reduced-motion: reduce) { .js .chat .luna-msg:not(.in) { visibility: hidden; } }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-3px); } 90% { transform: translateY(0); } }
@keyframes blink { 50% { transform: scaleY(.1); } }

/* ---------- S4 · experiences ---------- */
.ex-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ex-copy { order: 2; }
.xcard { position: relative; justify-self: start; width: 100%; max-width: 440px; padding: 14px; border-radius: 30px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-card); overflow: hidden; }
.x-prof { display: flex; align-items: center; gap: 12px; padding: 4px 6px 12px; }
.x-mark { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #7a2e22; color: var(--cream); font: 500 .92rem/1 var(--serif); letter-spacing: .06em; }
.x-prof b { display: block; font: 500 1.16rem/1.15 var(--serif); }
.x-prof small { display: block; font: 500 .8rem/1.3 var(--sans); color: var(--text-2); }
.x-tabs { display: flex; gap: 20px; padding: 0 6px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font: 600 .82rem/1 var(--sans); color: var(--text-2); }
.x-tabs span { padding: 8px 0 11px; }
.x-tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--o); }
.x-photo { margin: 0; aspect-ratio: 16 / 11; border-radius: 20px; overflow: hidden; background: #2a1d15; }
.x-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; filter: saturate(1.08) contrast(1.05) sepia(.1); }
.x-body { padding: 16px 6px 4px; }
.x-h { margin: 0; font: 500 1.5rem/1.15 var(--serif); letter-spacing: -.01em; }
.x-meta { display: flex; align-items: center; gap: 8px; margin: 8px 0 14px; font: 500 .9rem/1 var(--sans); color: var(--text-2); }
.x-meta svg { width: 18px; height: 18px; }
.x-times { display: flex; gap: 8px; margin-bottom: 10px; }
.x-times button { flex: 1; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 600 .95rem/1 var(--sans); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.x-times button:hover { border-color: rgba(23, 17, 13, .35); }
.x-times button[aria-checked="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.x-book { width: 100%; }
.x-seats { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.x-seats ol { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.seat { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px dashed rgba(23, 17, 13, .26); }
.seat.on { border-color: transparent; }
.seat .av { width: 32px; height: 32px; box-shadow: none; }
.seat.pop .av { animation: pop .6s var(--spring) both; }
.x-count { margin: 0; font: 500 .9rem/1 var(--sans); white-space: nowrap; }
.x-count b { font-weight: 700; }
.x-stamp { position: absolute; left: 0; right: 0; top: 128px; display: flex; justify-content: center; pointer-events: none; }
.x-stamp > span { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px 15px; border-radius: 16px; border: 1.5px solid var(--o-deep); background: rgba(255, 253, 249, .94); color: var(--o-deep); font: italic 400 1.6rem/1 var(--serif); white-space: nowrap;
  opacity: 0; transform: rotate(-4deg) scale(1.3); transition: opacity .3s, transform .55s var(--spring); box-shadow: 0 20px 40px -20px rgba(17, 11, 8, .5); }
.x-stamp .moon { width: 18px; height: 18px; }
.xcard.set .x-stamp > span { opacity: 1; transform: rotate(-4deg) scale(1); }

/* ---------- round 3 · book the moment: an experience on a place's profile, beside the nights you hear about first ---------- */
.bk-grid { display: grid; grid-template-columns: minmax(0, 372px) minmax(0, 1fr); grid-template-areas: "card head" "card ev"; gap: 0 clamp(40px, 5vw, 80px); align-items: start; }
.bk-head { grid-area: head; margin-bottom: clamp(22px, 2.4vw, 34px); }
.book .xcard { grid-area: card; align-self: center; max-width: 372px; }
.book .pc { aspect-ratio: 5 / 8; }
.book .ev { grid-area: ev; min-width: 0; }
.book .pc { border-radius: 20px; }
.book .pc-in { padding: 18px 16px; }
.book .pc::after { background: linear-gradient(0deg, rgba(17, 11, 8, .94) 0%, rgba(17, 11, 8, .6) 44%, rgba(17, 11, 8, 0) 70%); }
.book .pc-h { font-size: clamp(1.3rem, 1.55vw, 1.6rem); }
.book .pc-host { font-size: .98rem; }
.t-light .ev-ink { background: var(--ink); }
.t-light .ev-tabs button[aria-selected="true"] { color: var(--cream); }
.no-js .t-light .ev-tabs button[aria-selected="true"] { background: var(--ink); }

/* ---------- S5 · events ---------- */
.ev-tabs { position: relative; display: inline-flex; gap: 2px; padding: 4px; margin-bottom: clamp(24px, 3vw, 36px); border-radius: 999px; border: 1px solid var(--hair); }
.ev-tabs button { position: relative; z-index: 1; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: none; cursor: pointer; font: 600 .92rem/1 var(--sans); color: inherit; opacity: .74; transition: color .35s, opacity .35s; }
.ev-tabs button[aria-selected="true"] { opacity: 1; color: var(--ink); }
.ev-ink { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--cream); transition: transform .55s var(--ease), width .55s var(--ease); }
.no-js .ev-tabs button[aria-selected="true"] { background: var(--cream); }
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); transition: opacity .32s var(--ease), transform .45s var(--ease); }
.ev-grid.swap { opacity: 0; transform: translateY(10px); }
.pc { position: relative; aspect-ratio: 2 / 3; border-radius: 24px; overflow: hidden; background: #2a1d15; color: var(--cream); }
.pc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.pc:hover > img { transform: scale(1.04); }
.pc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 11, 8, .9) 0%, rgba(17, 11, 8, .45) 38%, rgba(17, 11, 8, 0) 62%); }
.pc-tag { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(240, 180, 92, .7); background: rgba(17, 11, 8, .5); color: var(--gold); font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
@supports (backdrop-filter: blur(4px)) { .pc-tag { backdrop-filter: blur(10px); } }
.pc-in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.pc-when { margin: 0 0 10px; font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); }
.pc-h { margin: 0; font: 400 clamp(1.5rem, 2vw, 1.85rem)/1.06 var(--serif); letter-spacing: -.01em; }
.pc-host { margin: 8px 0 0; font: italic 400 1.04rem/1.3 var(--serif); color: var(--gold); }
.pc-where { margin: 6px 0 14px; font: 500 .84rem/1.3 var(--sans); color: var(--cream-2); }
.pc-friends { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 .86rem/1 var(--sans); }
.pc .av { --ring: #2a1d15; width: 26px; height: 26px; font-size: .64rem; }

/* ---------- S6 · from RollCall Stories ---------- */
.culture { padding: clamp(24px, 2.4vw, 40px) 0 clamp(56px, 6vw, 88px); }
.cu-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: clamp(24px, 2.6vw, 36px); }
.cu-head .culture-label { margin: 0; }
.stories-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--line-d); font: 600 .86rem/1 var(--sans); color: var(--cream-2); text-decoration: none; transition: color .25s, border-color .25s, gap .35s var(--ease); }
.stories-link svg { width: 16px; height: 16px; }
.stories-link .sl-k { font-weight: 500; }
.stories-link .sl-sep { opacity: .55; white-space: pre; }
.stories-link b { font-weight: 600; color: var(--cream); }
.stories-link:hover { color: var(--cream); border-color: currentColor; gap: 12px; }
.culture-label { margin: 0 0 clamp(24px, 2.6vw, 36px); font: 400 clamp(1.5rem, 2vw, 1.85rem)/1.1 var(--serif); letter-spacing: -.01em; }
.frags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.frag { display: flex; align-items: center; gap: 18px; }
.duo { position: relative; flex: none; width: 132px; height: 132px; border-radius: 20px; overflow: hidden; background: #3a2619; isolation: isolate; box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .7); }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) sepia(.12) contrast(1.03); }
.duo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(246, 233, 212, .12); }
@media (prefers-reduced-motion: no-preference) {
  .duo img { animation: drift 16s ease-in-out both; }
  .frag:hover .duo img { animation-play-state: paused; }
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-3%, 2%); } }
.frag p { margin: 0; font: italic 400 clamp(1.1rem, 1.35vw, 1.28rem)/1.32 var(--serif); text-wrap: pretty; }
.frag .frag-name { margin: 0 0 7px; font: 600 .68rem/1.2 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.frag .frag-name b { font-weight: 700; color: inherit; }
.t-dark .frag .frag-name b { color: var(--cream); }

/* ---------- S7 · roll call ---------- */
.roll-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.phone-wrap { display: grid; place-items: center; }
.phone { position: relative; width: min(330px, 84vw); aspect-ratio: 9 / 19; border-radius: 50px; overflow: hidden; background: #0d0907; color: #fff; isolation: isolate;
  box-shadow: 0 0 0 9px #1c140f, 0 0 0 10px rgba(255, 255, 255, .1), 0 60px 110px -50px rgba(17, 11, 8, .75); }
.phone > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: brightness(.66) saturate(1.1); }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; z-index: 3; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; }
.ph-time { padding-top: 62px; text-align: center; }
.ph-time span { display: block; font: 600 .92rem/1 var(--sans); opacity: .92; }
.ph-time b { display: block; margin-top: 4px; font: 300 4.8rem/1 var(--serif); letter-spacing: -.02em; }
.note { position: relative; margin: 20px 12px 0; padding: 12px 14px 14px; border-radius: 22px; background: rgba(246, 233, 212, .86); color: var(--ink); }
@supports (backdrop-filter: blur(4px)) { .note { background: rgba(246, 233, 212, .74); backdrop-filter: blur(22px) saturate(1.3); } }
.note-top { display: flex; align-items: center; gap: 8px; font: 600 .76rem/1 var(--sans); }
.note-top .app-icon { width: 22px; height: 22px; border-radius: 6px; box-shadow: none; }
.note-top .app-icon .moon { width: 11px; height: 11px; }
.note-top small { margin-left: auto; font: 500 .72rem/1 var(--sans); color: #4d3d30; }
.note-t { margin: 9px 0 2px; font: 600 1rem/1.2 var(--sans); }
.note-s { margin: 0; padding-right: 76px; font: 500 .9rem/1.3 var(--sans); color: #3a2c22; }
.in-btn { position: absolute; right: 12px; bottom: 12px; min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font: 600 .78rem/1 var(--sans); cursor: pointer; transition: background-color .25s; }
.in-btn[aria-pressed="true"] { background: var(--o); color: var(--ink); }
.heres { display: grid; gap: 6px; margin: 10px 12px 0; padding: 0; list-style: none; }
.heres li { display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 8px; border-radius: 14px; background: rgba(17, 11, 8, .46); font: 500 .82rem/1 var(--sans); }
@supports (backdrop-filter: blur(4px)) { .heres li { backdrop-filter: blur(14px); } }
.heres li > span:last-child { margin-left: auto; color: var(--gold); font: 600 .74rem/1 var(--sans); letter-spacing: .02em; }
.heres .av { width: 22px; height: 22px; font-size: .58rem; --ring: transparent; }
.heres .you { display: none; }
.you-in .heres .you { display: flex; }
.wk { margin: 10px 12px 0; padding: 12px 14px 14px; border-radius: 18px; background: var(--card); color: var(--ink); }
.wk-h { margin: 0 0 6px; font: 500 1.08rem/1.1 var(--serif); }
.wk ul { margin: 0 0 10px; padding: 0; list-style: none; }
.wk li { display: flex; gap: 10px; padding: 4px 0; font: 500 .8rem/1.3 var(--sans); }
.wk time { min-width: 62px; font-weight: 700; }
.wk .av { width: 24px; height: 24px; font-size: .6rem; }
.wk .avs .av + .av { margin-left: -5px; }
.wk .av.you { display: none; }
.you-in .wk .av.you { display: inline-grid; }
@media (prefers-reduced-motion: no-preference) {
  .js .phone .note { opacity: 0; transform: translateY(-16px) scale(.97); transition: opacity .6s var(--ease), transform .7s var(--ease); }
  .js .phone .heres li { opacity: 0; transform: translateY(-8px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(1s + var(--i) * .38s); }
  .js .phone .wk { opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .6s var(--ease) 2.8s, transform .8s var(--ease) 2.8s; }
  .js .play .phone .note, .js .play .phone .heres li, .js .play .phone .wk { opacity: 1; transform: none; }
  .js .play .phone .note { transition-delay: .2s; }
  .js .you-in .phone .heres li.you { transition-delay: 0s; }
}

/* ---------- S8 · close ---------- */
.close { overflow: clip; }
.cl-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.close-join { max-width: 600px; }
.ij-two { border-radius: 22px; flex-wrap: wrap; }
.ij-two .input { flex: 1 1 150px; min-width: 0; }
.ij-two .btn { flex: 1 0 auto; }
.gl-wrap { display: flex; justify-content: flex-end; }
.glist { width: 100%; max-width: 420px; padding: 24px 28px 18px; border-radius: 22px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-card); }
.glist header { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.glist header span:last-child { margin-left: auto; letter-spacing: .06em; color: var(--text-2); }
.gl-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--cream); }
.gl-mark .moon { width: 12px; height: 12px; }
.glist ol { margin: 0; padding: 0; list-style: none; counter-reset: g; }
.glist li { display: flex; align-items: baseline; gap: 16px; min-height: 58px; padding: 16px 0 12px; border-bottom: 1px solid var(--line); counter-increment: g; }
.glist li:last-child { border-bottom: 0; }
.glist li::before { content: counter(g, decimal-leading-zero); font: 600 .7rem/1 var(--sans); letter-spacing: .06em; color: var(--text-2); }
.gl-n { font: italic 400 1.55rem/1 var(--serif); }
.gl-you:empty::after { content: "Your name"; color: rgba(23, 17, 13, .3); }
.gl-caret { align-self: center; width: 1.5px; height: 1.4em; margin-left: -12px; background: var(--o); }
@media (prefers-reduced-motion: no-preference) { .gl-caret { animation: caret 1.1s steps(1) infinite; } }
@keyframes caret { 50% { opacity: 0; } }
.moonrise { width: 86px; margin: 0 0 26px; }
.moonrise .luna { filter: drop-shadow(0 0 22px rgba(240, 180, 92, .7)); }
@media (prefers-reduced-motion: no-preference) {
  .js .moonrise { opacity: 0; transform: translateY(46px); transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); }
  .js .moonrise.in { opacity: 1; transform: none; }
}

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--cream); padding: clamp(56px, 7vw, 88px) 0 32px; border-top: 1px solid var(--line-d); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .7fr); gap: 32px 48px; }
.foot-brand p { margin: 14px 0 0; color: var(--cream-2); font-size: .95rem; }
.foot h2 { margin: 0 0 14px; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; align-content: start; }
.foot-col a, .foot-links a { text-decoration: none; font-weight: 500; }
.foot-col a:hover, .foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-links { padding-top: 28px !important; }
.foot-base { margin: clamp(40px, 5vw, 64px) 0 0; font-size: .85rem; color: var(--cream-2); }

/* ---------- the list: sheet, standalone page ---------- */
.sheet { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; }
.sheet.open, .no-js .sheet:target { visibility: visible; pointer-events: auto; }
.sheet-back { position: absolute; inset: 0; background: rgba(17, 11, 8, .56); opacity: 0; transition: opacity .45s; }
@supports (backdrop-filter: blur(4px)) { .sheet-back { backdrop-filter: blur(6px); } }
.sheet.open .sheet-back, .no-js .sheet:target .sheet-back { opacity: 1; }
.sheet-panel { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); color: var(--ink); transform: translateY(100%); transition: transform .65s var(--ease); }
.sheet.open .sheet-panel, .no-js .sheet:target .sheet-panel { transform: none; }
@media (min-width: 900px) {
  .sheet-panel { inset: 12px 12px 12px auto; width: min(1100px, calc(100vw - 24px)); border-radius: 30px; transform: translateX(104%); }
}
.sheet-x { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #ece4d8; color: var(--ink); }
.sheet-x svg { width: 20px; height: 20px; }
.flow { --fpad: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "head list" "form list"; gap: 0 clamp(28px, 4vw, 64px); align-items: start; padding: clamp(28px, 3.4vw, 48px) var(--fpad) var(--fpad); }
.flow-head { grid-area: head; margin-bottom: 20px; }
.flow-head .stamp { color: var(--text-2); }
.flow-head .stamp .moon { color: var(--o-deep); }
.flow .h2 { font-size: clamp(2.3rem, 3.6vw, 3.4rem); }
.flow .h2 em { color: var(--o-deep); font-style: italic; }
.flow .lede { color: var(--text-2); }
.flow-form, .done { grid-area: form; }
.flow-list { grid-area: list; position: sticky; top: 20px; }
.field { display: block; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.f-l { display: block; margin: 0 0 9px; padding: 0; font: 600 .84rem/1.2 var(--sans); }
.f-l em { font-style: normal; font-weight: 500; color: var(--text-2); margin-left: 6px; }
.flow-form .err { margin: -10px 0 16px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #2a1d15; color: #fff; cursor: pointer; transition: box-shadow .25s, transform .4s var(--spring); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 11, 8, .78), rgba(17, 11, 8, 0) 58%); }
.tile span { position: absolute; left: 10px; right: 8px; bottom: 9px; z-index: 1; text-align: left; font: 600 .82rem/1.15 var(--sans); }
.tile i { position: absolute; top: 8px; right: 8px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--o); color: var(--ink); transform: scale(0); transition: transform .45s var(--spring); }
.tile i svg { width: 14px; height: 14px; stroke-width: 2.6; }
.tile[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--o); }
.tile[aria-pressed="true"] i { transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(23, 17, 13, .2); background: #fff; font: 600 .88rem/1 var(--sans); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: rgba(23, 17, 13, .45); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.flow-go { position: sticky; bottom: 0; z-index: 2; margin: 0; padding: 14px 0 16px; background: linear-gradient(rgba(247, 243, 238, 0), var(--paper) 34%); }
.flow-go .btn.big { width: 100%; }
.fine { margin: 12px 0 0; font: 500 .84rem/1.4 var(--sans); color: var(--text-2); text-align: center; }
.fine a { color: inherit; }
.done[hidden], .flow-form[hidden] { display: none; }
.done { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.done-luna { width: 70px; margin: 4px 0 -6px 6px; }
.done-luna .luna { filter: drop-shadow(0 0 16px rgba(240, 180, 92, .5)); }
.done-card { padding: 26px 28px; border-radius: 22px; background: var(--card); box-shadow: 0 30px 60px -36px rgba(17, 11, 8, .45); }
.done-line { margin: 0; font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.08 var(--serif); letter-spacing: -.015em; }
.done-name { font-style: italic; font-weight: 400; color: var(--o-deep); }
.done-where { margin: 8px 0 0; font: 500 .95rem/1.4 var(--sans); color: var(--text-2); }
.done-note { margin: 0; text-align: center; font: italic 400 1.1rem/1.4 var(--serif); }
.copied { margin: 0; min-height: 1.2em; text-align: center; font: 600 .86rem/1.3 var(--sans); color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  [data-variant="a"] .done:not([hidden]) .done-luna .luna { animation: wave 1.5s ease-in-out .4s 2; transform-origin: 40% 85%; }
}
@keyframes wave { 25% { transform: rotate(-14deg); } 60% { transform: rotate(10deg); } }
.ylist { min-height: 340px; padding: 20px; border-radius: 26px; background: var(--ink); color: var(--cream); }
.yl-h { display: flex; align-items: center; gap: 9px; margin: 2px 4px 16px; font: 500 1.2rem/1 var(--serif); }
.yl-h .moon { width: 15px; height: 15px; color: var(--gold); }
.yl-items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.yl-item, .yl-ex { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 18px; background: #241a14; }
.yl-item img, .yl-ex img { width: 60px; height: 60px; flex: none; border-radius: 13px; object-fit: cover; }
.yl-item > span > b, .yl-ex > span > b { display: block; font: 500 1.08rem/1.15 var(--serif); }
.yl-item small, .yl-ex small { display: block; margin: 3px 0 7px; font: 500 .78rem/1.2 var(--sans); color: var(--cream-2); }
.yl-item .ft, .yl-ex .ft { --live: var(--live-d); padding: 5px 10px 5px 8px; font-size: .72rem; background: rgba(246, 233, 212, .1); color: var(--cream); }
.yl-cap { padding: 8px 4px 0; font: italic 400 1.02rem/1.4 var(--serif); color: var(--cream-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .ylist .yl-ex, .js .ylist .yl-cap { opacity: 0; }
  .js .ylist.play .yl-ex { animation: land .6s var(--ease) both; animation-delay: calc(.3s + var(--k) * .32s); }
  .js .ylist.play .yl-cap { animation: fadein .6s 1.5s both; }
  .js .ylist.play .yl-ex, .js .ylist.play .yl-cap { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .yl-item { animation: land .55s var(--ease) both; }
  .yl-item.out { animation: leave .26s ease-in both; }
}
@keyframes land { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes leave { to { opacity: 0; transform: scale(.96); } }
.listpage { padding-top: calc(var(--nav-h) + clamp(24px, 4vw, 56px)); }
.listpage .flow { padding: 0; --fpad: 0px; }
.listpage .flow-go { position: static; padding: 0; margin: 4px 0 0; background: none; }

/* ---------- legal pages ---------- */
.legal { padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 110px)); min-height: 72vh; }
.plain { margin-top: 26px; }
.plain h2 { margin: 34px 0 8px; font: 500 1.3rem/1.2 var(--serif); }
.plain p { margin: 0 0 12px; max-width: 62ch; color: var(--text-2); }
.plain .lede { margin: 0 0 8px; }
.plain .updated { margin: 0; font: 600 .78rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.plain a { color: var(--ink); text-decoration-color: var(--o); text-underline-offset: 3px; }

/* ---------- reveals: transform only, visible at rest ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { transform: translateY(26px); transition: transform 1.1s var(--ease); }
  .js .rise.in { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .fr-grid, .ex-grid, .roll-grid, .cl-grid { grid-template-columns: minmax(0, 1fr); }
  .hcard, .chat { justify-self: start; }
  .gl-wrap { justify-self: stretch; justify-content: flex-start; }
  .chat { max-width: 520px; }
  .ex-copy { order: 0; }
  .xcard { justify-self: start; }
  .hero-a { align-items: flex-end; }
  .hero-a .hcard { margin-top: 8px; }
  .bk-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "ev"; }
  .book .xcard { justify-self: start; margin-bottom: clamp(40px, 6vw, 56px); }
  .phone-wrap { justify-items: center; }
  .frags { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .flow { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list" "form"; padding: 72px var(--gutter) 40px; }
  .flow-head { margin-bottom: 18px; }
  .flow-list { position: static; margin-bottom: 26px; }
  .ylist { min-height: 0; padding: 14px; border-radius: 22px; }
  .yl-h { margin-bottom: 10px; font-size: 1.05rem; }
  .yl-items { grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .yl-items::-webkit-scrollbar { display: none; }
  .yl-item { scroll-snap-align: start; }
  .yl-ex, .yl-item { grid-row: 1; scroll-snap-align: start; }
  .yl-cap { grid-column: 1; grid-row: 2; padding: 2px 4px 0; font-size: .95rem; white-space: nowrap; }
}
@media (max-width: 760px) {
  :root { --nav-h: 62px; }
  .nav-cta { min-height: 40px; padding: 0 16px; font-size: .88rem; }
  .hero-a { min-height: 0; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 56px; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(17, 11, 8, .72) 0%, rgba(17, 11, 8, .5) 46%, rgba(17, 11, 8, .78) 100%); }
  .hero-a .hcard { width: 100%; }
  .glist, .chat, .xcard { max-width: none; }
  .inline-join { margin-top: 28px; }
  .ij-row { flex-direction: column; border-radius: 22px; }
  .ij-row .btn { width: 100%; }
  .ij-row .input { min-height: 48px; }
  .ij-two .input { flex: none; width: 100%; }
  .legal { min-height: 0; }
  /* the hero on phones: the icon and the words first, then the places as a shelf you can swipe, then the card */
  .ir { min-height: 0; padding: calc(var(--nav-h) + 22px) 0 36px; }
  .ir-copy { padding: 0 var(--gutter); }
  .app-tile { width: 84px; }
  .kicker { margin: 16px 0 8px; font-size: .97rem; }
  .hero-r .display { font-size: clamp(2.45rem, 11.4vw, 2.95rem); }
  .hero-r .lede { margin-top: 12px; font-size: 1.02rem; }
  .hero-r .inline-join { margin-top: 22px; }
  .orbit { gap: 12px; width: 100%; margin: 18px 0 -22px; justify-content: flex-start; }
  .ot { width: 96px; height: 96px; }
  .ot.live { width: 104px; height: 104px; }
  .ot.land { width: 124px; height: 124px; }
  .ft.tile { left: 7px; bottom: 7px; padding: 4px 8px 4px 6px; font-size: .64rem; gap: 5px; }
  .rcard { width: auto; align-self: stretch; margin: 12px var(--gutter) 0; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px 14px 10px 10px; }
  .rcard-th { width: 76px; height: 76px; border-radius: 16px; }
  .rc { width: 74vw; max-width: 300px; }
  .ev-grid { display: flex; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ev-grid::-webkit-scrollbar { display: none; }
  .pc { flex: 0 0 74vw; scroll-snap-align: center; }
  .ev-tabs button { padding: 0 13px; font-size: .86rem; }
  .chat { padding: 12px 12px 18px; border-radius: 26px; }
  .pl > img { width: 72px; height: 72px; }
  .x-stamp { top: 112px; }
  .x-stamp > span { font-size: 1.35rem; padding: 12px 16px; }
  .duo { width: 96px; height: 96px; border-radius: 16px; }
  .glist { padding: 20px 20px 14px; }
  .gl-n { font-size: 1.35rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-links { padding-top: 0 !important; }
  .sky { width: 36px; }
  .sky-luna { width: 36px; }
  .tiles { gap: 8px; }
  .tile span { font-size: .74rem; left: 8px; bottom: 7px; }
}
@media (max-width: 420px) {
  .hero .display { font-size: 2.7rem; }
  .ev-tabs { display: flex; }
  .ev-tabs button { flex: 1; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .rc-in, .sheet-panel, .ev-grid, .rcard, .ot-b, .chat-avs .you-av { transition-duration: .01ms !important; }
}
