/* Coffee & Conversation website, swipe edition.
   Same language as the swipe app: light by default with a warm green dark twin, photo first, tomato red actions,
   gold for "I can help". Phone first. Every control is 44px or taller. No inline styles anywhere (strict CSP).
   Themes: light is the default for everyone. data-theme="dark" is the visitor's choice, set by theme.js before paint.
   Components use tokens only. Text and scrims on photos stay white and black in both themes. */
:root {
  color-scheme: light;
  /* tokens shared with the app: same names, same values */
  --bg: #F6F7F3; --bg2: #FFFFFF; --bg3: #EDF0EA; --bg4: #DCE2DA;
  --line: rgba(14, 19, 17, .18); --line2: rgba(14, 19, 17, .10);
  --tint: rgba(14, 19, 17, .04); --tint2: rgba(14, 19, 17, .08);
  --text: #0E1311; --muted: #46524B; --faint: #5F6B64;
  --accent: #C23B22; --accent-hi: #CE4026; --accent-text: #A8321B;
  --gold: #F2C14E; --gold-text: #875A00;
  --ok: #187345; --live: #C7281D; --danger-text: #B42318;
  --focus: #2F5D5A;
  --shadow: 0 18px 40px -20px rgba(14, 19, 17, .28);
  --scrim: rgba(14, 19, 17, .45);
  --on-photo: #FFFFFF;
  --photo-scrim: linear-gradient(transparent, rgba(0, 0, 0, .78));
  /* site only: surfaces that change with the theme */
  --line-hi: rgba(14, 19, 17, .34);
  --shadow-lg: 0 34px 70px -44px rgba(14, 19, 17, .38);
  --card-shadow: 0 3cqw 6cqw -2cqw rgba(14, 19, 17, .4), 0 0 0 1px rgba(14, 19, 17, .1);
  --card-shadow-2: 0 22px 44px -16px rgba(14, 19, 17, .36), 0 0 0 1px rgba(14, 19, 17, .1);
  --glow-red-hi: rgba(194, 59, 34, .16); --glow-red-mid: rgba(194, 59, 34, .1); --glow-red-lo: rgba(194, 59, 34, .07);
  --glow-teal-hi: rgba(47, 93, 90, .18); --glow-teal-lo: rgba(47, 93, 90, .09);
  --accent-soft: rgba(194, 59, 34, .12); --gold-soft: rgba(242, 193, 78, .3);
  --grad-a: #E8654A; --grad-b: #A8321B;
  --match-glow: #FFD7CB;
  --foot: #EDF0EA;
  --confetti-neutral: #2F5D5A;
  /* site only: the same in both themes (on photos, on accent fills, the video letterbox) */
  --teal: #2F5D5A;
  --on-accent: #FFFFFF;
  --on-photo-soft: #E6ECE8;
  --photo-scrim-deep: linear-gradient(to top, rgba(5, 8, 7, .96) 0%, rgba(5, 8, 7, .78) 38%, rgba(5, 8, 7, 0) 100%);
  --photo-text-shadow: 0 2px 22px rgba(0, 0, 0, .55);
  --photo-chip: rgba(0, 0, 0, .66); --photo-chip-line: rgba(255, 255, 255, .55); --photo-stamp: rgba(0, 0, 0, .3);
  --video-bg: #000000;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 24px;
  --hdr: 68px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1200px;
  interpolate-size: allow-keywords;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E1311;
  --bg2: #151C18;
  --bg3: #1D2722;
  --bg4: #2A3730;
  --line: rgba(255, 255, 255, .16);
  --line2: rgba(255, 255, 255, .09);
  --tint: rgba(255, 255, 255, .05);
  --tint2: rgba(255, 255, 255, .10);
  --text: #F7F8F4;
  --muted: #B4BFB7;
  --faint: #93A097;
  --accent-text: #FF8F76;
  --gold-text: #F2C14E;
  --ok: #62CB92;
  --live: #E5392D;
  --danger-text: #FF9C8A;
  --focus: #F2C14E;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --scrim: rgba(0, 0, 0, .6);
  --line-hi: rgba(255, 255, 255, .3);
  --shadow-lg: 0 34px 70px -44px rgba(0, 0, 0, .95);
  --card-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1);
  --card-shadow-2: 0 22px 44px -16px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08);
  --glow-red-hi: rgba(194, 59, 34, .5);
  --glow-red-mid: rgba(194, 59, 34, .28);
  --glow-red-lo: rgba(194, 59, 34, .17);
  --glow-teal-hi: rgba(47, 93, 90, .5);
  --glow-teal-lo: rgba(47, 93, 90, .24);
  --accent-soft: rgba(194, 59, 34, .2);
  --gold-soft: rgba(242, 193, 78, .16);
  --grad-a: #FFB19A;
  --grad-b: #F0502F;
  --match-glow: #4A1B13;
  --foot: #0B100E;
  --confetti-neutral: #FFFFFF;
}

/* ---------- end of tokens: nothing below may hard-code a surface color ---------- */

* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + var(--safe-t) + 8px); }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text); font: 400 1rem/1.5 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.menu-open, body.dlg-open { overflow: hidden; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, video { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 24px; height: 24px; flex: none; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.fill { fill: currentColor; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: calc(12px + var(--safe-t)); }

/* ---------- buttons ---------- */
.btn { min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: 700 1.05rem/1 var(--ui); display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; text-align: center; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn .ico { width: 20px; height: 20px; }
.btn.primary { background: linear-gradient(180deg, var(--accent-hi), var(--accent)); color: var(--on-accent); box-shadow: 0 12px 28px -12px rgba(194, 59, 34, .95); }
.btn.ghost { background: var(--tint); border-color: var(--line); color: var(--text); }
.btn.sm { min-height: 46px; padding: 0 20px; font-size: 1rem; }
.btn.lg { min-height: 58px; padding: 0 32px; font-size: 1.1rem; }
@media (hover: hover) {
  .btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(194, 59, 34, 1); }
  .btn.ghost:hover { background: var(--tint2); border-color: var(--line-hi); transform: translateY(-2px); }
}
.icon-btn { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: var(--tint); color: var(--text); display: grid; place-items: center; transition: background .2s, transform .15s; }
.icon-btn:active { transform: scale(.94); }
@media (hover: hover) { .icon-btn:hover { background: var(--tint2); } }
.eyebrow { font: 700 .76rem var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.5; text-wrap: pretty; }
.fine { color: var(--faint); font-size: .88rem; }

/* ---------- logo ---------- */
.brand { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; flex: none; border-radius: 14px; background: linear-gradient(180deg, #D9472B, #AE3019); display: grid; place-items: center; color: var(--on-accent); box-shadow: 0 10px 24px -8px rgba(194, 59, 34, .85); }
.brand-name { font: 800 1.02rem/1.05 var(--display); letter-spacing: -.01em; max-width: 6.4em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: var(--safe-t); background: var(--bg); background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom-color: var(--line2); }
.bar { display: flex; align-items: center; gap: 16px; min-height: var(--hdr); }
.main-nav { display: none; }
.bar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; white-space: nowrap; font-weight: 600; text-decoration: none; border-radius: 999px; transition: background .2s; }
.signin:hover { background: var(--tint); }
/* the theme toggle shows the theme you would switch to: a moon on light (the default), a sun on dark. Pure CSS, so there is no flash. */
.theme-btn .t-sun, .theme-btn .t-lbl-light { display: none; }
:root[data-theme="dark"] .theme-btn .t-sun { display: block; }
:root[data-theme="dark"] .theme-btn .t-lbl-light { display: inline; }
:root[data-theme="dark"] .theme-btn .t-moon, :root[data-theme="dark"] .theme-btn .t-lbl-dark { display: none; }
/* phones: "Join free" waits until there is room for it (the hero button and the bottom bar carry it); Sign in always shows */
@media (max-width: 559px) { .bar-actions > .btn { display: none; } .bar-actions .icon-btn { width: 44px; height: 44px; } .bar { gap: 8px; } }
@media (min-width: 960px) {
  :root { --hdr: 76px; }
  .brand-name { max-width: none; white-space: nowrap; font-size: 1.12rem; }
  .main-nav { display: flex; gap: 2px; margin-inline: auto; }
  .main-nav a { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--muted); font-weight: 600; text-decoration: none; transition: color .2s, background .2s; }
  .main-nav a:hover { color: var(--text); background: var(--tint); }
  .main-nav a[aria-current="true"] { color: var(--text); background: var(--tint2); }
  .bar-actions { margin-left: 0; gap: 12px; }
  .signin { padding: 0 14px; }
  .menu-btn { display: none; }
}

/* ---------- menu sheet ---------- */
.sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); overflow: hidden; }
.sheet[open] { display: flex; align-items: flex-start; justify-content: center; }
.sheet::backdrop { background: var(--scrim, rgba(0, 0, 0, .6)); backdrop-filter: blur(4px); }
.sheet-panel { width: 100%; max-width: 560px; margin: 0; padding: calc(10px + var(--safe-t)) 16px 22px; background: var(--bg2); border-radius: 0 0 28px 28px; box-shadow: var(--shadow); animation: drop .32s var(--ease); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.sheet-nav { display: flex; flex-direction: column; margin: 10px 0 18px; }
.sheet-nav a { min-height: 60px; display: flex; align-items: center; border-bottom: 1px solid var(--line2); font: 800 1.6rem var(--display); letter-spacing: -.02em; text-decoration: none; }
.sheet-nav a:last-child { border-bottom: 0; }
.sheet-cta { display: flex; flex-direction: column; gap: 10px; }
@keyframes drop { from { transform: translateY(-30px); opacity: .6; } }
@media (min-width: 960px) { .sheet { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding: clamp(24px, 4vw, 60px) 0 clamp(40px, 5vw, 76px);
  background: radial-gradient(70% 46% at 94% -6%, var(--glow-red-hi), transparent 70%), radial-gradient(60% 44% at -8% 42%, var(--glow-teal-hi), transparent 70%), var(--bg); }
.hero-grid { display: grid; gap: 40px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.hero-copy > *, .hero-teaser { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-copy > :nth-child(6) { animation-delay: .3s; }
.hero-teaser { animation-delay: .2s; }
.hero-hosts { animation: rise .8s var(--ease) .3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--tint2); border: 1px solid var(--line2); color: var(--text); font: 600 .9rem var(--ui); }
.eyebrow-pill .ico { width: 16px; height: 16px; color: var(--accent-text); }
h1 { font: 800 clamp(2.7rem, 1.5rem + 5vw, 4.9rem)/.98 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.hero .lead { max-width: 34em; }
.hero-line { font: 700 clamp(1.1rem, 1.02rem + .4vw, 1.3rem)/1.35 var(--ui); color: var(--text); max-width: 30em; text-wrap: balance; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.cta-row.center { justify-content: center; }
.strip { display: flex; flex-wrap: wrap; gap: 10px; }
.strip a { min-height: 46px; padding: 0 15px; display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--tint); font-size: .9rem; text-decoration: none; color: var(--muted); transition: background .2s, border-color .2s; }
.strip a b { color: var(--text); font-weight: 700; }
.strip .ico { width: 18px; height: 18px; color: var(--gold-text); }
@media (hover: hover) { .strip a:hover { background: var(--tint2); border-color: var(--line-hi); } }
.hosts-line { display: flex; align-items: center; gap: 14px; max-width: 34em; }
.hosts-line p { color: var(--muted); font-size: .96rem; line-height: 1.4; }
.faces { display: flex; flex: none; --ring: var(--bg); }
.faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 3px solid var(--ring); margin-left: -12px; background: var(--bg3); user-select: none; -webkit-user-drag: none; }
.faces img:first-child { margin-left: 0; }

/* the teaser: a rounded 9:16 media card (the film carries its own phone). Poster underneath, video on top once it can play. */
.hero-teaser { width: min(78%, 420px); min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tz-card { position: relative; width: 100%; overflow: hidden; isolation: isolate; border-radius: var(--r); aspect-ratio: 9 / 16; background: var(--bg3); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg), 0 50px 90px -50px var(--glow-red-hi); } /* the ring keeps the light teaser apart from the light page */
.tz-card img, .tz-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tz-card video { visibility: hidden; background: var(--video-bg); }
.hero-teaser.ready video { visibility: visible; }
.tz-toggle { position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--photo-chip-line); background: var(--photo-chip); color: var(--on-photo); display: none; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .2s var(--ease); }
.tz-toggle:active { transform: scale(.92); }
.tz-toggle:focus-visible { outline-color: var(--gold); }
.tz-toggle .ico { width: 20px; height: 20px; }
.hero-teaser.ready .tz-toggle { display: grid; }
.tz-toggle[data-state="playing"] .tz-play, .tz-toggle:not([data-state="playing"]) .tz-pause { display: none; }
.tz-caption { color: var(--muted); font-size: .95rem; text-align: center; }

/* the fanned host cards, same card language as the app. Phones show three, wider screens show all four. */
.hero-hosts { display: flex; flex-direction: column-reverse; gap: 18px; width: 100%; max-width: 660px; margin-inline: auto; min-width: 0; }
.fan-wrap { width: 100%; min-width: 0; }
.fan { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 100 / 64; pointer-events: none; user-select: none; -webkit-user-select: none; --w: 35cqw; }
.fan-card { position: absolute; left: calc(var(--x) - var(--w) / 2); bottom: 3cqw; width: var(--w); aspect-ratio: 3 / 4.3; container-type: inline-size; color: var(--on-photo); border-radius: 4.6cqw; overflow: hidden; background: var(--bg3); box-shadow: var(--card-shadow); transform-origin: 50% 100%; transform: translateY(var(--y, 0cqw)) rotate(var(--r, 0deg)); }
.fan-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; -webkit-user-drag: none; }
.fan-card .shade { position: absolute; inset: auto 0 0 0; height: 62%; background: var(--photo-scrim-deep); }
.fan-card .ctag { position: absolute; top: 5cqw; left: 5cqw; display: inline-flex; align-items: center; padding: 1.8cqw 4cqw; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 clamp(.62rem, 4.2cqw, .8rem) var(--ui); box-shadow: 0 6px 16px -6px rgba(194, 59, 34, .9); }
.fan-card .cinfo { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 5.5cqw 5.5cqw; display: flex; flex-direction: column; gap: 1.5cqw; }
.fan-card .cname { font: 800 clamp(.95rem, 10.5cqw, 1.9rem)/1.02 var(--display); letter-spacing: -.025em; text-shadow: var(--photo-text-shadow); text-wrap: balance; }
.fan-card .chead { font-weight: 600; font-size: clamp(.66rem, 4.8cqw, .94rem); line-height: 1.3; color: var(--on-photo-soft); }
/* cards that sit under a neighbour keep their text on the side that stays visible */
.fan-card.c1 .cinfo { padding-right: 30cqw; }
.fan-card.c3 .cinfo, .fan-card.c4 .cinfo { padding-left: 30cqw; align-items: flex-end; text-align: right; }
.fan-card.c1 { --x: 23cqw; --y: 3cqw; --r: -8deg; z-index: 2; }
.fan-card.c2 { --x: 50cqw; --r: -1.5deg; z-index: 4; }
.fan-card.c3 { --x: 77cqw; --y: 3cqw; --r: 7deg; z-index: 3; }
.fan-card.c4 { display: none; --r: 14deg; z-index: 1; }
.fan-card.top { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-2.4cqw) rotate(calc(var(--r) + 1.6deg)); } }
@media (min-width: 640px) {
  .fan { --w: 30cqw; aspect-ratio: 100 / 66; }
  .fan-card { bottom: 4cqw; }
  .fan-card.c4 { display: block; }
  .fan-card.c1 { --x: 19cqw; --y: 4cqw; --r: -8deg; }
  .fan-card.c2 { --x: 40cqw; --y: 0cqw; --r: -3deg; }
  .fan-card.c3 { --x: 60.5cqw; --y: 1cqw; --r: 3.5deg; }
  .fan-card.c4 { --x: 81cqw; --y: 5cqw; --r: 9deg; }
  .fan-card.c1 .cinfo { padding-right: 36cqw; }
  .fan-card.c3 .cinfo, .fan-card.c4 .cinfo { padding-left: 36cqw; }
}
.fan-label { margin-top: 6px; text-align: center; font: 700 .76rem var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
/* phones: headline, the one-line summary, lead, button, then the teaser, the day strip and the hosts */
@media (max-width: 959px) {
  .hero-grid { gap: 22px; justify-items: start; }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow-pill { order: 1; }
  .hero-copy > h1 { order: 2; }
  .hero-copy > .hero-line { order: 3; }
  .hero-copy > .lead { order: 4; }
  .hero-copy > .cta-row { order: 5; }
  .hero-teaser { order: 6; justify-self: center; margin-block: 6px 4px; }
  .hero-copy > .strip { order: 7; }
  .hero-hosts { order: 8; justify-self: stretch; margin-top: 10px; }
}
/* desktop: the teaser sits beside the headline, above the fold at 1280 by 800; the hosts follow directly below */
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "copy tease" "hosts hosts"; align-items: center; gap: clamp(36px, 5vw, 56px) clamp(32px, 6vw, 88px); }
  .hero-copy { grid-area: copy; }
  .hero-teaser { grid-area: tease; justify-self: center; width: clamp(300px, calc((100svh - 190px) * .5625), 400px); }
  .hero-hosts { grid-area: hosts; max-width: none; margin: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: clamp(32px, 6vw, 88px); }
  .hero-hosts .hosts-line { flex: 1 1 0; max-width: 26em; }
  .hero-hosts .hosts-line p { font-size: 1.1rem; }
  .fan-wrap { flex: 0 1 600px; }
}

/* ---------- free band ---------- */
.band { border-block: 1px solid var(--line2); background: linear-gradient(180deg, var(--tint), transparent); }
.band-grid { display: grid; }
.band-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line2); }
.band-item:first-child { border-top: 0; }
.band-ico { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.band-ico.gold { background: var(--gold-soft); color: var(--gold-text); }
.band-title { font: 800 1.25rem/1.15 var(--display); letter-spacing: -.015em; margin-bottom: 4px; }
.band-item p:not(.band-title) { color: var(--muted); font-size: .98rem; }
@media (min-width: 820px) {
  .band-grid { grid-template-columns: repeat(3, 1fr); }
  .band-item { padding: 34px 28px; border-top: 0; border-left: 1px solid var(--line2); }
  .band-item:first-child { border-left: 0; padding-left: 0; }
  .band-item:last-child { padding-right: 0; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(52px, 7.5vw, 100px) clamp(44px, 6vw, 80px); }
.sec-head { max-width: 60rem; margin-bottom: clamp(28px, 4.4vw, 52px); display: flex; flex-direction: column; gap: 14px; }
h2 { font: 800 clamp(2rem, 1.3rem + 3.2vw, 3.6rem)/1.02 var(--display); letter-spacing: -.03em; text-wrap: balance; }
h3 { font-family: var(--display); }
.nb { display: inline-block; }

/* the card wall: real members' cards from the live circle (filled by site.js from /wall/cards.json).
   Round faces, not big photo tiles: the published photos are 192 px, sharp at 64 px on any screen. */
.wall-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.wall-card { display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; align-items: center; min-height: 96px; padding: 16px; border-radius: 18px; background: var(--bg2); border: 1px solid var(--line2); box-shadow: var(--shadow); }
.wall-card img, .wall-ini { grid-row: span 2; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--bg3); }
.wall-ini { display: grid; place-items: center; font: 800 1.5rem var(--display); color: var(--on-accent); background: var(--teal); }
.wall-name { align-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 800 1.12rem/1.2 var(--display); overflow-wrap: anywhere; }
.wall-badge { font: 700 .72rem var(--ui); letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }
.wall-role { align-self: start; color: var(--muted); font-size: .95rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.wall-card.skel { background: var(--bg3); border-color: transparent; box-shadow: none; }
@media (prefers-reduced-motion: no-preference) { .wall-card.skel { animation: wall-pulse 1.4s ease-in-out infinite alternate; } }
@keyframes wall-pulse { from { opacity: .55; } to { opacity: 1; } }
.wall-foot { margin-top: clamp(22px, 3vw, 34px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.wall-count { color: var(--muted); font-weight: 600; }
.wall-count:empty { display: none; }

/* doors: real photos for each room, in the new identity (the films live on the channels). Friday has the room itself,
   Wednesday has no room photo, so its hosts stand on a calm token background. */
.doors { display: grid; gap: clamp(20px, 3vw, 32px); }
.door { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line2); box-shadow: var(--shadow-lg); }
.door-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg3); color: var(--on-photo); }
.door-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.door-friday::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: var(--photo-scrim); pointer-events: none; }
.door-chips { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.door-chips li { display: inline-flex; align-items: center; gap: 9px; padding: 5px 16px 5px 5px; border-radius: 999px; background: var(--photo-chip); border: 1px solid var(--photo-chip-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 700 .95rem/1.1 var(--ui); }
.door-chips img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; }
.door-wednesday { display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 0%, var(--glow-teal-hi), transparent 72%), radial-gradient(60% 50% at 100% 100%, var(--glow-red-mid), transparent 70%), var(--bg3); }
.door-cards { display: flex; justify-content: center; gap: 6%; width: 100%; height: 76%; }
.door-cards li { position: relative; height: 100%; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; box-shadow: var(--card-shadow-2); transform: rotate(-3deg); }
.door-cards li + li { transform: translateY(6%) rotate(3deg); }
.door-cards img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.door-cards li::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: var(--photo-scrim-deep); }
.door-cards span { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 12px 11px; font: 800 1.35rem/1.05 var(--display); letter-spacing: -.02em; text-shadow: var(--photo-text-shadow); }
.door-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3.2vw, 40px); }
.door h3 { font: 800 clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem)/1.03 var(--display); letter-spacing: -.03em; }
.door-line { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; line-height: 1.35; }
.door-line .ico { width: 20px; height: 20px; color: var(--accent-text); }
.door-line.when { color: var(--gold-text); font-weight: 700; }
.door-line.when .ico { color: var(--gold-text); }
.door-addr { font-style: normal; color: var(--muted); margin-left: 30px; margin-top: -4px; line-height: 1.45; }
.door-hosts { display: flex; align-items: center; gap: 14px; margin-top: 6px; --ring: var(--bg2); }
.door-hosts p { font-weight: 600; line-height: 1.3; }
.door-hosts p .muted { display: block; font: 700 .72rem var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.door-next { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); font: 700 .92rem/1 var(--ui); }
.door-note { color: var(--muted); font-size: .95rem; line-height: 1.45; max-width: 30em; }
.door-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 14px; }
@media (max-width: 519px) { .door-actions .btn { flex: 1 1 100%; } }
@media (min-width: 860px) { .doors { grid-template-columns: 1fr 1fr; } }

/* first time? and how it works share the three lines of the app */
.first-time { margin-top: clamp(48px, 7vw, 80px); }
.first-time h3 { font: 800 clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem)/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 18px; }
.tips { display: grid; gap: 12px; }
.tips li { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 22px; background: var(--tint); border: 1px solid var(--line2); }
.tips p { font-size: 1.08rem; line-height: 1.4; color: var(--text); }
.tip-ico { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tint2); color: var(--accent-text); }
.tip-ico.gold { background: var(--gold-soft); color: var(--gold-text); }
.tip-ico .ico { width: 22px; height: 22px; }
@media (min-width: 820px) { .tips { grid-template-columns: repeat(3, 1fr); } .tips li { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; } }

/* how it works */
.how { background: radial-gradient(38% 36% at 90% 40%, var(--glow-red-lo), transparent), radial-gradient(36% 34% at 6% 72%, var(--glow-teal-lo), transparent); }
.how-grid { display: grid; gap: 44px; }
.steps li { display: grid; grid-template-columns: minmax(1.6em, auto) 1fr; gap: clamp(14px, 3vw, 28px); align-items: center; padding-block: 28px; border-top: 1px solid var(--line2); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.step-n, .stat-n { font: 800 clamp(2.8rem, 1.6rem + 4vw, 5.2rem)/.86 var(--display); letter-spacing: -.05em; background: linear-gradient(180deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-n { min-width: 1.5em; }
.steps h3 { font: 800 clamp(1.4rem, 1.2rem + .8vw, 1.85rem)/1.15 var(--display); letter-spacing: -.02em; max-width: 14em; text-wrap: balance; }
@media (min-width: 960px) {
  .how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: clamp(48px, 7vw, 96px); align-items: center; }
  .steps li { padding-block: 36px; }
}

/* the demo deck */
.demo { width: 100%; max-width: 430px; margin-inline: auto; }
.demo-title { font: 800 1.7rem/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 12px; }
.demo-frame { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 14px 14px 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--tint);
  background: radial-gradient(72% 46% at 50% 28%, var(--glow-teal-hi), transparent 74%), radial-gradient(60% 30% at 100% 0%, var(--glow-red-mid), transparent 70%), linear-gradient(180deg, var(--bg2), var(--bg)); }
.demo-frame:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 32px; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 2px 4px 8px; }
.demo-label { font: 700 .8rem var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--text); display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--tint2); border: 1px solid var(--line2); }
.demo-count { font: 600 .9rem var(--ui); color: var(--muted); font-variant-numeric: tabular-nums; }
.stack { position: relative; aspect-ratio: 330 / 410; max-height: max(260px, calc(100svh - 380px)); margin: 0 0 34px; }
@media (min-width: 520px) { .stack { aspect-ratio: 330 / 440; } }
.demo-noscript { padding: 24px; color: var(--muted); }
.card { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; color: var(--on-photo); background: var(--bg3); box-shadow: var(--card-shadow-2); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; transform-origin: 50% 100%; will-change: transform; transition: transform .45s var(--ease), opacity .3s; }
.card.dragging { transition: none; cursor: grabbing; }
.card.nudge { animation: nudge 1.1s var(--ease) both; }
@keyframes nudge { 0%, 100% { transform: none; } 35% { transform: translateX(22px) rotate(2.6deg); } 65% { transform: translateX(-8px) rotate(-1deg); } }
.card.snap { transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.card.flying { transition: transform .36s cubic-bezier(.45, 0, .9, .55), opacity .3s .06s; }
.card::after { content: ""; position: absolute; inset: 0; z-index: 9; background: var(--bg3); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card.pos-0 { z-index: 3; }
.card.pos-1 { z-index: 2; transform: translateY(15px) scale(.945); pointer-events: none; }
.card.pos-1::after { opacity: .9; }
.card.pos-2 { z-index: 1; transform: translateY(29px) scale(.89); pointer-events: none; }
.card.pos-2::after { opacity: 1; background: var(--bg2); }
.card.pos-far { z-index: 0; transform: translateY(29px) scale(.89); opacity: 0; pointer-events: none; }
.card.gone { display: none; }
.cphoto { position: absolute; inset: 0; }
.cphoto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; -webkit-user-drag: none; pointer-events: none; }
.card .shade { position: absolute; inset: auto 0 0 0; height: 66%; background: var(--photo-scrim-deep); pointer-events: none; }
.ctags { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; pointer-events: none; }
.ctag-demo { margin-left: auto; padding: 5px 11px; border-radius: 999px; background: var(--photo-chip); color: var(--on-photo-soft); border: 1px solid var(--photo-chip-line); font: 600 .74rem var(--ui); backdrop-filter: blur(8px); }
.cinfo-d { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 20px 20px; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.cname-d { font: 800 clamp(1.8rem, 1.5rem + 1.2vw, 2.15rem)/1.02 var(--display); letter-spacing: -.025em; text-shadow: var(--photo-text-shadow); text-wrap: balance; }
.chead-d { font-weight: 600; font-size: 1.03rem; line-height: 1.3; color: var(--on-photo); }
/* "I can help": the needs on the top card are buttons, as in the app (.cinfo-d lets the drag through, these take the tap) */
.cneeds { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; pointer-events: auto; }
.cneeds i { font-style: normal; font-weight: 700; font-size: .92rem; color: var(--gold); margin-right: 2px; }
.need { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px 0 10px; border-radius: 999px; border: 1.5px solid var(--photo-chip-line); background: var(--photo-stamp); color: var(--on-photo); font: 700 .88rem/1.1 var(--ui); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .15s, border-color .15s; }
.need .ico { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 2; }
.need:hover { background: var(--photo-chip); }
.need[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #3A2A00; }
.need[aria-pressed="true"] .ico { fill: #3A2A00; stroke: #3A2A00; }
.demo-hint { margin-top: 12px; text-align: center; color: var(--text); font-size: .9rem; font-weight: 600; min-height: 1.4em; }
@media (max-height: 700px) { .demo-frame .keys { display: none; } } /* short phones: the labeled buttons and the help line say enough, and the deck must fit under the header */
.clook { font-size: .92rem; line-height: 1.38; color: var(--on-photo-soft); }
.clook i { font-style: normal; font-weight: 700; color: var(--gold); }
.clook .sep { margin: 0 6px; opacity: .6; }
.cask { font-size: .92rem; line-height: 1.38; color: var(--on-photo-soft); }
.cask b { color: var(--on-photo); }
.stamp { position: absolute; z-index: 4; top: 36px; padding: .1em .42em; border: 4px solid; border-radius: 12px; font: 800 1.9rem/1.1 var(--display); letter-spacing: .05em; opacity: 0; pointer-events: none; background: var(--photo-stamp); white-space: nowrap; }
.stamp.yes { left: 14px; font-size: 1.6rem; color: #FF7C60; border-color: #FF7C60; transform: rotate(-14deg); }
.stamp.no { right: 18px; color: var(--on-photo); border-color: var(--on-photo); transform: rotate(14deg); }
.stamp.help { left: 50%; top: 34%; font-size: 1.7rem; color: var(--gold); border-color: var(--gold); transform: translate(-50%, -50%) rotate(-6deg); }
.deck-end { position: absolute; inset: 0; border-radius: var(--r); border: 1.5px dashed var(--line); background: var(--tint); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 24px; animation: fade .4s; }
.deck-end .empty-art { width: 64px; height: 64px; border-radius: 22px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.deck-end h4 { font: 800 1.55rem/1.1 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.deck-end .btn { min-width: 180px; }
.deck-end .again { background: none; border: 0; min-height: 48px; padding: 0 12px; color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@keyframes fade { from { opacity: 0; } }

.actions { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 6vw, 30px); padding-top: 4px; }
.act { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 76px; padding: 0 2px; background: none; border: 0; color: var(--muted); font: 600 .84rem var(--ui); }
.rbtn { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--tint2); border: 1.5px solid var(--line); box-shadow: var(--shadow); transition: transform .2s var(--ease), background .2s, border-color .2s; }
.rbtn .ico { width: 28px; height: 28px; stroke-width: 2.4; }
.act.pass .rbtn { color: var(--text); }
.act.yes .rbtn { background: linear-gradient(180deg, var(--accent-hi), var(--accent)); border-color: transparent; color: var(--on-accent); box-shadow: 0 12px 26px -8px rgba(194, 59, 34, .9); }
.act.yes .ico { fill: currentColor; }
.act:active:not(:disabled) .rbtn { transform: scale(.92); }
.act:disabled { opacity: .35; cursor: not-allowed; }
.act:not(:disabled) .act-label { color: var(--text); }
@media (hover: hover) { .act:hover:not(:disabled) .rbtn { transform: translateY(-3px) scale(1.06); } }
.keys { margin-top: 14px; text-align: center; color: var(--muted); font-size: .88rem; min-height: 1.4em; }
.keys-kbd { display: none; }
.key { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; margin: 0 7px; }
.keys kbd { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--tint2); font: 600 .9rem var(--ui); color: var(--text); }
@media (hover: hover) and (pointer: fine) { .keys-touch { display: none; } .keys-kbd { display: inline-flex; flex-wrap: wrap; justify-content: center; } }
.demo-note { margin-top: 10px; text-align: center; color: var(--faint); font-size: .84rem; line-height: 1.4; }

/* match moment, inside the demo frame */
.match { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(80% 60% at 50% 26%, var(--match-glow) 0%, var(--bg) 74%); animation: fade .3s; border-radius: inherit; }
.match-inner { position: relative; width: 100%; padding: 22px 22px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.match-kicker { font: 700 .78rem var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.match-title { font: 800 clamp(2.9rem, 11vw, 3.7rem)/.95 var(--display); letter-spacing: -.04em; background: linear-gradient(180deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: pop .6s var(--ease); padding-bottom: .06em; }
.match-photos { display: flex; justify-content: center; margin: 12px 0 4px; }
.mp { position: relative; width: 124px; height: 124px; border-radius: 50%; border: 5px solid var(--bg); box-shadow: var(--shadow); overflow: hidden; display: grid; place-items: center; animation: pop .6s .1s var(--ease) backwards; }
.mp img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.mp.mine { background: linear-gradient(165deg, #5E918D, var(--teal) 44%, #1A3533); transform: rotate(-8deg) translateX(14px); }
.mp.theirs { transform: rotate(8deg) translateX(-14px); z-index: 1; }
.mp-i { font: 800 2.1rem/1 var(--display); letter-spacing: -.03em; color: var(--on-photo); text-shadow: var(--photo-text-shadow); }
.match-line { font: 700 1.3rem/1.2 var(--display); text-wrap: balance; }
.match-sub { color: var(--muted); font-size: .96rem; text-wrap: balance; }
.match-btns { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; margin-top: 14px; }
.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bit { position: absolute; top: 0; left: var(--x); width: 9px; height: 15px; border-radius: 2px; background: var(--k); opacity: 0; animation: fall 2.6s var(--d) ease-in forwards; }
@keyframes fall { 0% { transform: translateY(-5%) rotate(0); opacity: 1; } 100% { transform: translateY(120vh) rotate(var(--r)); opacity: .9; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* who is in the room */
.room-grid { display: grid; gap: 28px; }
.room-photo { position: relative; }
.room-photo img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line2); }
.room-photo figcaption { margin-top: 12px; color: var(--muted); font-size: .92rem; }
.stats { display: grid; gap: 12px; }
.stat { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 12px; align-items: center; padding: 20px 20px 22px; border-radius: 24px; background: var(--bg2); border: 1px solid var(--line2); }
.stat-n { font-size: clamp(2.5rem, 1.7rem + 3vw, 4.4rem); min-width: 2.3em; padding-bottom: .04em; }
.stat-t { font: 700 1.15rem/1.25 var(--ui); }
.stat-s { color: var(--muted); font-size: .94rem; line-height: 1.4; margin-top: 4px; }
.meter { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: var(--tint2); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--p); border-radius: 3px; background: linear-gradient(90deg, var(--accent), #F0502F 70%, var(--gold)); transition: width 1.2s var(--ease) .2s; }
.meter[data-pct="89"] { --p: 89%; } .meter[data-pct="64"] { --p: 64%; } .meter[data-pct="22"] { --p: 22%; } .meter[data-pct="62"] { --p: 62%; }
.js-motion .stat.rv:not(.in) .meter i { width: 0; }
.room-stats { min-width: 0; }
.room-stats .fine { margin-top: 16px; }
@media (min-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { grid-template-columns: 1fr; align-content: start; padding: 24px; row-gap: 14px; }
}
@media (min-width: 960px) {
  .room-photo img { aspect-ratio: 1; }
  .room-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
}

/* stories: the quotes are the page. Large display type with hanging quotation marks, a small round portrait beside the
   name, and a quiet text control. No cards: columns share a baseline (portraits, names and controls line up at the
   bottom) and a hairline above each. The button opens the film in a dialog; no video exists in the page before a click. */
.story-grid { display: grid; gap: clamp(44px, 9vw, 64px); }
.story-grid > li { display: flex; }
.story { width: 100%; display: flex; flex-direction: column; gap: 28px; padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); }
.story blockquote { flex: 1; font: 700 clamp(1.7rem, 1.2rem + 1.5vw, 2.15rem)/1.2 var(--display); letter-spacing: -.022em; text-wrap: pretty; hanging-punctuation: first; }
.story blockquote p { text-indent: -.42em; } /* the opening mark hangs in the margin, the words keep the column edge */
.story figcaption { display: flex; align-items: center; gap: 16px; }
.story figcaption img { width: 80px; height: 80px; flex: none; border-radius: 50%; object-fit: cover; background: var(--bg3); box-shadow: 0 0 0 1px var(--line2); }
.story-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.story-who b { font: 700 1.1rem/1.25 var(--ui); }
.story-role { color: var(--muted); font-size: .95rem; line-height: 1.35; }
.story-watch { align-self: flex-start; min-height: 44px; padding: 0; margin-top: -8px; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--accent-text); font: 700 1rem/1 var(--ui); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 2px; transition: text-decoration-color .2s; }
.story-watch .ico { width: 18px; height: 18px; }
@media (hover: hover) { .story-watch:hover { text-decoration-color: currentColor; } }
@media (min-width: 900px) { .story-grid { grid-template-columns: repeat(3, 1fr); column-gap: clamp(36px, 5vw, 72px); } }

/* the story dialog: one player, built on open and removed on close */
.vdlg { width: min(960px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--bg2); color: var(--text); overflow: hidden; box-shadow: var(--shadow-lg); }
.vdlg[open] { display: flex; flex-direction: column; animation: fade .25s; }
.vdlg::backdrop { background: var(--scrim, rgba(0, 0, 0, .6)); backdrop-filter: blur(4px); }
.vd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 22px; }
.vd-title { font: 700 1.08rem/1.25 var(--ui); }
.vd-title span { display: block; color: var(--muted); font-weight: 500; font-size: .92rem; }
.vd-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100dvh - 100px); background: var(--video-bg); }
.vd-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: var(--video-bg); }

/* faq */
.faq-wrap { display: grid; gap: 8px; }
.faq-list { border-top: 1px solid var(--line2); }
.faq-item { border-bottom: 1px solid var(--line2); }
.faq-item summary { min-height: 68px; padding: 14px 2px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font: 700 clamp(1.1rem, 1rem + .4vw, 1.3rem)/1.25 var(--ui); transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { width: 26px; height: 26px; color: var(--accent-text); transition: transform .3s var(--ease); }
.faq-item[open] summary .ico { transform: rotate(180deg); }
.answer { padding: 0 2px 22px; }
.answer p { color: var(--muted); font-size: 1.05rem; line-height: 1.55; max-width: 36em; }
@supports (interpolate-size: allow-keywords) {
  .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}
@media (hover: hover) { .faq-item summary:hover { color: var(--accent-text); } }
@media (min-width: 960px) {
  .faq-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
  .faq .sec-head { position: sticky; top: calc(var(--hdr) + 32px); margin-bottom: 0; }
}

/* closing call to action */
.cta { padding-top: clamp(24px, 4vw, 40px); padding-bottom: clamp(64px, 9vw, 120px); }
.cta-card { position: relative; overflow: hidden; isolation: isolate; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 64px); border-radius: 36px; border: 1px solid var(--line);
  background: radial-gradient(80% 90% at 50% 0%, var(--glow-red-hi), transparent 70%), radial-gradient(60% 70% at 0% 100%, var(--glow-teal-hi), transparent 70%), var(--bg2); }
.cta-cup { width: 72px; height: 72px; border-radius: 22px; background: linear-gradient(180deg, #D9472B, #AE3019); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 18px 40px -12px rgba(194, 59, 34, .9); transform: rotate(-6deg); }
.cta-cup .ico { width: 38px; height: 38px; }
.cta-card h2 { font-size: clamp(2.2rem, 1.4rem + 4vw, 4.4rem); max-width: 14em; }
.cta-card .lead { max-width: 28em; }
.cta-card .cta-row { margin-top: 10px; }
.cta-card .fine { margin-top: 6px; }

/* footer */
.site-footer { border-top: 1px solid var(--line2); background: var(--foot); padding-top: 48px; }
.foot-grid { display: grid; gap: 28px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 24rem; }
.foot-brand p { color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 26px; align-items: center; }
.foot-links a { min-height: 48px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.foot-fine { margin-top: 18px; padding-bottom: calc(34px + var(--safe-b)); color: var(--faint); font-size: .88rem; }
.foot-fine p { padding-top: 18px; border-top: 1px solid var(--line2); }
@media (max-width: 959px) { .foot-fine { padding-bottom: calc(96px + var(--safe-b)); } }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1fr auto; align-items: start; gap: 48px; } .foot-links { justify-content: flex-end; max-width: 40rem; } }

/* mobile sticky bar, shown once the hero button scrolls away */
.m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 16px calc(9px + var(--safe-b)); background: var(--bg); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-top: 1px solid var(--line2); transform: translateY(105%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
.m-bar.show { transform: none; visibility: visible; transition-delay: 0s; }
.m-bar p { font: 700 1rem var(--ui); }
@media (min-width: 960px) { .m-bar { display: none; } }

/* 404 */
.nf { min-height: calc(100svh - 320px); display: grid; place-items: center; padding: 72px 0; background: radial-gradient(60% 50% at 50% 0%, var(--glow-red-mid), transparent 70%); }
.nf-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.nf .cta-cup { width: 84px; height: 84px; }
.nf h1 { font-size: clamp(2.4rem, 1.4rem + 5vw, 4.4rem); }

/* privacy page */
.doc { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.doc-inner { max-width: calc(46rem + 2 * clamp(16px, 4vw, 40px)); }
.doc-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(24px, 4vw, 40px); }
.doc h1 { font-size: clamp(2.4rem, 1.5rem + 4vw, 3.8rem); }
.doc section { margin-top: clamp(24px, 4vw, 40px); }
.doc h2 { font: 800 clamp(1.4rem, 1.2rem + 1vw, 1.9rem)/1.15 var(--display); letter-spacing: -.02em; margin-bottom: 12px; }
.doc p { color: var(--muted); font-size: 1.06rem; line-height: 1.6; }
.doc p + p, .doc-list + p { margin-top: 12px; }
.doc-list { display: grid; gap: 10px; }
.doc-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 1.06rem; line-height: 1.55; }
.doc-list li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.doc-link { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }
.doc code { font: 600 .92em ui-monospace, "SF Mono", Menlo, Consolas, monospace; padding: 1px 6px; border-radius: 6px; background: var(--tint2); color: var(--text); overflow-wrap: anywhere; }

/* scroll reveal, only when the script turns it on (never for automation or reduced motion) */
.js-motion .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-motion .rv.in { opacity: 1; transform: none; }
.js-motion .band-item.rv:nth-child(2), .js-motion .story-grid > li.rv:nth-child(2), .js-motion .stat.rv:nth-child(2) { transition-delay: .08s; }
.js-motion .band-item.rv:nth-child(3), .js-motion .story-grid > li.rv:nth-child(3), .js-motion .stat.rv:nth-child(3) { transition-delay: .16s; }
.js-motion .stat.rv:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .fan-card.top { animation: none; }
  .card.nudge { animation: none; }
  .confetti { display: none; }
}
