/* THE AFTER PARTY / v2
   World: a sticker-and-card collage on a phone screen. Dark mode, loud color blocks, tilted cards,
   torn paper stickers with marker writing, hand-drawn doodles, grayscale cut-outs on color.
   Palette: Sherman red + pink + butter yellow on near-black (Sherman's pick, Oct 28). */

:root {
  --ink: #121110;          /* ground: warm near-black, not navy (v1's navy read "TV studio") */
  --ink-2: #1d1b19;        /* raised dark card */
  --paper: #f6f2ea;        /* off-white: light cards, body text on dark */
  --red: #e5413d;          /* Sherman red: the primary action, always */
  --red-hi: #ff5a4e;
  --pink: #ff9fcf;
  --butter: #ffe27a;
  --muted: rgba(246, 242, 234, 0.7);   /* 4.5:1 floor on --ink */
  --line: rgba(246, 242, 234, 0.14);

  --sans: "Inter Tight", system-ui, sans-serif;
  --script: "Caveat Brush", "Caveat", cursive;
  --marker: "Permanent Marker", "Marker Felt", cursive;
  --num: "Anton", "Inter Tight", sans-serif;

  /* TEMPO: brisk with a bounce. One curve; the overshoot is the fun. */
  --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t: 0.35s;
  --r: 28px;               /* card radius, from the reference's rounded cards */
  --gutter: 16px;
  --max: 1180px;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; } /* height:auto: the width/height attributes stretched every cut-out to 900px tall */
a { color: inherit; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- type ---------- */
.h { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; }
.h-xl { font-size: clamp(44px, 11vw, 104px); }
.h-lg { font-size: clamp(36px, 7.4vw, 72px); }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; color: var(--pink); display: inline-block; transform: rotate(-4deg); }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 36ch; margin: 0; }
.cap { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- buttons: pills with a circle icon, like the reference's chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 22px 6px 6px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  font-weight: 800; font-size: 16px; letter-spacing: -0.01em;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform var(--t) var(--ease); }
.btn i svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn:hover i { transform: rotate(-12deg) scale(1.06); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 14px 30px -14px rgba(229, 65, 61, 0.9); }
.btn-red i { background: var(--ink); color: #fff; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper i { background: var(--red); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 40; background: linear-gradient(var(--ink) 70%, transparent); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; font-size: 18px; line-height: 1; }
.logo b { width: 38px; height: 38px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 15px; color: #fff; transform: rotate(-8deg); }
.round { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); text-decoration: none; position: relative; transition: transform var(--t) var(--ease); }
.round:hover { transform: rotate(-12deg) scale(1.06); }
.round svg { width: 20px; height: 20px; }
.round .dot { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); }
.top .btn { min-height: 46px; padding: 4px 16px 4px 4px; font-size: 14px; white-space: nowrap; }
.top .btn i { width: 38px; height: 38px; }
.top-r { display: flex; gap: 8px; align-items: center; }

/* ---------- stickers: real torn wheat-paste paper (Fal scrap, cropped to its ink) ----------
   The scrap's alpha is the sticker's shape (mask); its wrinkles multiply over the color.
   v2.0 used a clip-path jag. Sherman: "the cutout isn't actually the tape texture, the paper texture". */
.sticker {
  position: relative; display: inline-block; padding: 14px 22px 16px; font-family: var(--marker); line-height: 1.02;
  text-transform: uppercase; color: var(--ink); isolation: isolate;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35));
}
.sticker::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url(assets/v2/scrap-a.png) center / 100% 100% no-repeat, var(--st, var(--pink));
  background-blend-mode: multiply;
  -webkit-mask: url(assets/v2/scrap-a.png) center / 100% 100% no-repeat;
  mask: url(assets/v2/scrap-a.png) center / 100% 100% no-repeat;
}
.sticker.alt::before { background-image: url(assets/v2/scrap-b.png); -webkit-mask-image: url(assets/v2/scrap-b.png); mask-image: url(assets/v2/scrap-b.png); }
.sticker.butter { --st: var(--butter); }
.sticker.paper { --st: var(--paper); }
.sticker.red { --st: var(--red); color: #fff; }
/* masking tape: the Fal strip, cropped to ink (600x112), laid across a corner */
.tape { position: absolute; width: 120px; height: auto; pointer-events: none; z-index: 3; opacity: 0.92; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); }

/* ---------- textures: so the dark never reads flat (Sherman: "5 or 10% opacity") ---------- */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url(assets/v2/paper.jpg) 0 0 / 640px; opacity: 0.06; }
/* hand-drawn swirls for card grounds: washed out, ink-colored, fixed px size so the stroke weight never scales */
:root { --squiggles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='200' viewBox='0 0 280 200' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 40c18-28 36 28 54 0s36 28 54 0 36 28 54 0'/%3E%3Cpath d='M34 128c10-22 34-20 32 2s-24 22-30 8 8-30 28-24 22 26 8 38'/%3E%3Cpath d='M150 110l10 28M172 102l-4 36M190 112l12 22'/%3E%3Cpath d='M206 170c14-12 28 12 42 0s28 12 40 0'/%3E%3Ccircle cx='118' cy='168' r='8'/%3E%3Cpath d='M234 34l10 10m0-10l-10 10'/%3E%3Cpath d='M222 78c8 0 8 12 0 12s-8 12 0 12 8 12 0 12'/%3E%3C/svg%3E"); }
.tex { position: relative; isolation: isolate; }
.tex::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: url(assets/v2/paper.jpg) center / 520px; mix-blend-mode: multiply; opacity: 0.55; pointer-events: none; }
.tex::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--squiggles) var(--sq-pos, 0 0) / 280px 200px; opacity: 0.1; pointer-events: none; }

/* ---------- doodles: hand-drawn strokes, never filled ---------- */
.doodle { position: absolute; pointer-events: none; fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- relaunch strip ---------- */
.strip { margin: 6px 0 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.strip .sticker { transform: rotate(-2deg); font-size: 15px; }
.count { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--num); font-size: 28px; letter-spacing: 0.02em; color: var(--butter); }
.count small { font-family: var(--sans); font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; margin-right: 6px; }
.local { font-size: 13px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 12px 0 64px; }
.hero-grid { display: grid; gap: 34px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lede { margin-bottom: 26px; }
.host-card { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 1 / 1.02; margin-top: 30px; }
.host-card .card-bg { position: absolute; inset: 14% 4% 0 4%; border-radius: var(--r); background: var(--red); transform: rotate(3deg); }
.host-card .card-bg::after { /* a butter card peeking behind: the stacked-cards move from the reference */
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--butter); transform: rotate(-7deg) translate(-4%, 3%); z-index: -1; }
.host-card .bw { position: absolute; left: 50%; bottom: 0; width: 100%; transform: translateX(-50%); filter: grayscale(1) contrast(1.12) brightness(1.04) drop-shadow(0 16px 22px rgba(0, 0, 0, 0.35)); border-radius: 0 0 var(--r) var(--r); }
.host-card .hosted { position: absolute; left: -2%; bottom: 10%; transform: rotate(-6deg); font-size: clamp(16px, 2.6vw, 22px); }
.host-card .live { position: absolute; right: 2%; top: 16%; width: 78px; height: 78px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 12px; line-height: 1.05; transform: rotate(12deg); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.5); }
.host-card .live b { display: block; font-family: var(--num); font-weight: 400; font-size: 22px; color: var(--red); }
.hero-popper { position: absolute; width: clamp(120px, 22vw, 210px); pointer-events: none; z-index: 3; }
.hero-popper img { width: 100%; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.45)); }
.hero-popper .fired { position: absolute; inset: 0; opacity: 0; }
.is-fired .fired { opacity: 1; }
.is-fired .closed { opacity: 0; }
@media (min-width: 900px) {
  .hero { padding: 24px 0 90px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
  .host-card { margin-top: 0; }
}

/* ---------- the menu: four tilted cards ---------- */
.menu { padding: 40px 0 100px; }
.menu h2 { margin-bottom: 30px; }
.cards { display: grid; gap: 16px; }
.card {
  position: relative; display: flex; align-items: center; gap: 16px; min-height: 124px; padding: 22px 128px 22px 20px;
  border-radius: var(--r); text-decoration: none; color: var(--ink); overflow: visible;
  transform: rotate(var(--tilt, 0deg)); transition: transform var(--t) var(--ease);
}
.card:hover { transform: rotate(0deg) translateY(-4px) scale(1.015); }
.card .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex: none; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 2px; font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.card p { margin: 0; font-size: 15px; font-weight: 500; opacity: 0.78; line-height: 1.35; }
.card .obj { position: absolute; right: -6px; top: 50%; width: 150px; transform: translateY(-50%) rotate(var(--obj-tilt, 0deg)); filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.35)); transition: transform var(--t) var(--ease); pointer-events: none; }
.card:hover .obj { transform: translateY(-58%) rotate(calc(var(--obj-tilt, 0deg) - 6deg)) scale(1.06); }
.card .script-note { position: absolute; right: 22px; bottom: 10px; font-family: var(--script); font-size: 20px; transform: rotate(-6deg); }
.c-word { background: var(--red); color: #fff; --tilt: -1.6deg; }
.c-word .ico { background: #fff; color: var(--red); }
.c-sub { background: var(--paper); --tilt: 1.2deg; }
.c-thu { background: var(--butter); --tilt: -0.8deg; }
.c-watch { background: var(--pink); --tilt: 1.6deg; }
.c-word .obj { width: 170px; right: -14px; --obj-tilt: -8deg; }
.c-word .obj .fired { position: absolute; inset: 0; opacity: 0; }
.c-word.is-fired .obj .fired { opacity: 1; }
.c-word.is-fired .obj .closed { opacity: 0; }
.c-sub .obj { width: 120px; right: 6px; --obj-tilt: 10deg; }
.c-thu .obj { width: 140px; right: -18px; --obj-tilt: -6deg; }
.c-watch .obj { width: 120px; right: 4px; --obj-tilt: 12deg; }
.card-sticker { position: absolute; z-index: 2; right: 14%; bottom: -26px; transform: rotate(-5deg); font-size: 17px; }
@media (min-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 26px 24px; }
  .card { min-height: 170px; padding-right: 170px; }
  .card .obj { width: 240px; }
  .c-word .obj, .c-thu .obj { width: 280px; right: -40px; }
}

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card { transform: none; }
}

/* ======================= v2 full page ======================= */
.sec { padding: 90px 0; position: relative; }
.kicker { display: inline-block; margin-bottom: 16px; }
.sec h2 { margin-bottom: 18px; }
.sec .lede + .btns { margin-top: 26px; }

/* ---------- Oct 31: a wheat-pasted poster, taped to the wall ---------- */
.poster-wrap { position: relative; display: grid; gap: 40px; align-items: center; }
.poster {
  position: relative; padding: 46px 28px 38px; border-radius: 6px; color: var(--ink);
  background: var(--butter); transform: rotate(-1.5deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.poster .tape.t1 { left: -26px; top: -14px; transform: rotate(-32deg); }
.poster .tape.t2 { right: -26px; top: -10px; transform: rotate(28deg); }
.poster .tape.t3 { right: 18%; bottom: -18px; transform: rotate(-6deg); width: 100px; }
.poster .date { font-family: var(--num); font-size: clamp(22px, 3.4vw, 30px); letter-spacing: 0.02em; line-height: 1; }
.poster h2 { font-size: clamp(42px, 8vw, 84px); margin: 12px 0 8px; }
.poster .script { color: var(--red); font-size: 1.05em; }
.poster p { margin: 0 0 14px; font-weight: 500; font-size: 17px; max-width: 46ch; }
.poster .guests { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; padding: 0; list-style: none; }
.poster .guests li { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; }
.poster .guests li.pending { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.poster .btn-paper { background: var(--ink); color: var(--paper); }
.poster-popper { position: absolute; right: -4%; top: -16%; width: clamp(110px, 18vw, 170px); transform: rotate(18deg); z-index: 4; pointer-events: none; }
.poster-popper .fired { position: absolute; inset: 0; opacity: 0; }
.invite { display: grid; gap: 16px; }
.invite .sticker { transform: rotate(3deg); font-size: clamp(22px, 3vw, 30px); justify-self: start; }
.invite p { margin: 0; color: var(--muted); max-width: 40ch; }
.copied { font-size: 13px; color: var(--butter); min-height: 1.2em; }
@media (min-width: 900px) { .poster-wrap { grid-template-columns: 1.35fr 0.65fr; gap: 60px; } .poster { padding: 60px 52px 48px; } }

/* ---------- Start here: the one light section (the reference's middle screen) ---------- */
.light { background: var(--paper); color: var(--ink); isolation: isolate; border-radius: 40px 40px 0 0; }
.light + .light-end { background: var(--paper); }
.light::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: url(assets/v2/paper.jpg) 0 0 / 640px; mix-blend-mode: multiply; opacity: 0.6; }
.light .lede { color: rgba(18, 17, 16, 0.72); }
.light .script { color: var(--red); }
.notes { display: grid; gap: 22px; margin-top: 40px; }
.note { position: relative; padding: 30px 24px 26px; border-radius: 22px; background: #fff; box-shadow: 0 18px 40px -24px rgba(18, 17, 16, 0.45); transform: rotate(var(--tilt, 0deg)); }
.note:nth-child(1) { --tilt: -1deg; --sq-pos: 40px 10px; }
.note:nth-child(2) { --tilt: 0.8deg; background: var(--pink); --sq-pos: 120px 60px; }
.note:nth-child(3) { --tilt: -0.6deg; background: var(--butter); --sq-pos: 10px 90px; }
.note:nth-child(4) { --tilt: 1.1deg; background: var(--ink); color: var(--paper); }
.note:nth-child(4)::before { mix-blend-mode: screen; opacity: 0.08; }
.note:nth-child(4)::after { filter: invert(1); opacity: 0.08; }
.note .tape { top: -16px; left: 50%; width: 110px; transform: translateX(-50%) rotate(-3deg); }
.note h3 { margin: 0 0 10px; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.note p { margin: 0; font-size: 16px; line-height: 1.6; }
@media (min-width: 900px) { .notes { grid-template-columns: 1fr 1fr; gap: 30px 28px; } .note { padding: 36px 34px 32px; } }

/* the verse: three words, three pops */
.verse { position: relative; margin: 70px 0 0; padding: 40px 26px 34px; border-radius: 28px; background: var(--ink); color: var(--paper); }
.verse blockquote { margin: 0; font-size: clamp(26px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.verse cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--script); font-size: 26px; color: var(--pink); transform: rotate(-2deg); }
.verse .w { position: relative; display: inline-block; white-space: nowrap; }
.verse .w::after { content: ""; position: absolute; left: -3%; right: -3%; top: 0.06em; bottom: 0.02em; /* full height: a half bar left dark ink on the dark card */ z-index: -1; background: var(--hl); border-radius: 4px; transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.verse .w { isolation: isolate; color: var(--paper); }
.verse .w.on::after { transform: scaleX(1); }
.verse .w.on { color: var(--ink); }
.verse .w:nth-of-type(1) { --hl: var(--red); }
.verse .w:nth-of-type(2) { --hl: var(--pink); }
.verse .w:nth-of-type(3) { --hl: var(--butter); }
.verse .w.on:nth-of-type(1) { color: #fff; }
.verse .mini { position: absolute; width: 74px; pointer-events: none; }
.verse .mini .fired { position: absolute; inset: 0; opacity: 0; }
.verse .mini.m1 { right: 10px; top: -38px; transform: rotate(10deg); }
.verse .tape { top: -14px; left: 30px; transform: rotate(-8deg); }
@media (min-width: 900px) { .verse { padding: 56px 60px 48px; } .verse .mini.m1 { width: 110px; right: 30px; top: -60px; } }

/* ---------- how it works: tilted step cards ---------- */
.steps { display: grid; gap: 18px; margin-top: 36px; counter-reset: s; }
.step { position: relative; padding: 26px 22px 24px; border-radius: var(--r); color: var(--ink); transform: rotate(var(--tilt, 0deg)); transition: transform var(--t) var(--ease); }
.step:hover { transform: rotate(0deg) translateY(-4px); }
.step .n { font-family: var(--num); font-size: 54px; line-height: 0.9; display: block; margin-bottom: 10px; }
.step h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.step p { margin: 0; font-size: 15px; font-weight: 500; opacity: 0.8; }
.step:nth-child(1) { background: var(--red); color: #fff; --tilt: -1.4deg; --sq-pos: 60px 0; }
.step:nth-child(2) { background: var(--paper); --tilt: 1deg; --sq-pos: 0 70px; }
.step:nth-child(3) { background: var(--butter); --tilt: -0.8deg; --sq-pos: 140px 40px; }
.step:nth-child(4) { background: var(--pink); --tilt: 1.3deg; --sq-pos: 30px 120px; }
.howto-note { margin-top: 30px; color: var(--muted); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ---------- watch ---------- */
.watch-grid { display: grid; gap: 34px; align-items: center; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--red); transform: rotate(-1deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-face { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; color: #fff; }
.player-face .phone { position: absolute; right: 4%; bottom: -12%; width: 46%; transform: rotate(14deg); filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.4)); }
.player-face .play { position: relative; z-index: 2; width: 86px; height: 86px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: transform var(--t) var(--ease); }
.player-face:hover .play { transform: scale(1.1) rotate(-8deg); }
.player-face .play svg { width: 30px; height: 30px; margin-left: 4px; }
.player-face .sticker { position: absolute; left: 6%; top: 10%; transform: rotate(-6deg); font-size: 18px; }
.upnext { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.upnext li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: var(--ink-2); }
.upnext b { font-weight: 800; }
.upnext span { font-size: 14px; color: var(--muted); }
.upnext .pill { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--butter); color: var(--ink); white-space: nowrap; }
@media (min-width: 900px) { .watch-grid { grid-template-columns: 0.9fr 1.1fr; gap: 60px; } }

/* ---------- live / countdown chip ---------- */
.live-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; }
.live-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* ---------- sign-up ---------- */
.signup-grid { display: grid; gap: 40px; align-items: start; }
.form-card { position: relative; padding: 38px 22px 28px; border-radius: var(--r); background: var(--paper); color: var(--ink); --sq-pos: 90px 30px; }
.form-card .tape.t1 { left: 24px; top: -16px; transform: rotate(-6deg); }
.form-card .tape.t2 { right: 24px; top: -14px; transform: rotate(5deg); width: 96px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 800; letter-spacing: 0.02em; }
.field label em { font-style: normal; font-weight: 500; opacity: 0.6; }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 2px solid rgba(18, 17, 16, 0.12); border-radius: 16px; transition: border-color var(--t) var(--ease); }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.row2 { display: grid; gap: 0 12px; }
@media (min-width: 720px) { .row2 { grid-template-columns: 1fr 1fr; } }
.form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.fine { margin: 12px 0 0; font-size: 13px; opacity: 0.7; }
.err { color: var(--red); font-weight: 700; opacity: 1; }
.hp { position: absolute; left: -9999px; }
.done { display: none; text-align: left; }
.is-done form { display: none; }
.is-done .done { display: block; }
.done h3 { margin: 6px 0 10px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.signup-aside .sticker { transform: rotate(-3deg); font-size: 20px; margin-top: 22px; }
@media (min-width: 900px) { .signup-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } .form-card { padding: 48px 40px 36px; } }

/* ---------- footer: a sticker wall ---------- */
.foot { padding: 70px 0 calc(40px + env(safe-area-inset-bottom)); text-align: center; }
.foot .wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; margin-bottom: 36px; }
.foot .wall .sticker { font-size: clamp(20px, 3.6vw, 34px); }
.foot .wall .sticker:nth-child(1) { transform: rotate(-4deg); }
.foot .wall .sticker:nth-child(2) { transform: rotate(3deg); }
.foot .wall .sticker:nth-child(3) { transform: rotate(-2deg); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-weight: 700; font-size: 14px; }
.foot nav a { text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: var(--paper); }
.foot small { display: block; margin-top: 22px; color: var(--muted); }

[data-phase="weekly"] .only-special { display: none !important; }
[data-phase="special"] .only-weekly { display: none !important; }
.mini .fired { position: absolute; inset: 0; opacity: 0; }
[hidden] { display: none !important; } /* .live-chip and .count set display and beat the hidden attribute */

/* ======================= v2.1 (Oct 28): desktop fills, the Holy Ghost, the deck ======================= */
/* Sherman: "on the desktop version, it still just feels like a bunch of open space". Wider frame, bigger poster. */
:root { --max: 1320px; }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

/* the poster now takes the whole width and carries its own ghost */
.poster-grid { display: grid; gap: 28px; align-items: center; }
.poster .big-p { font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; letter-spacing: -0.02em; }
.ghost { position: relative; margin: 0; justify-self: center; width: min(86%, 440px); padding-bottom: 80px; }
.ghost img { width: 100%; transform: rotate(-7deg); filter: drop-shadow(0 22px 22px rgba(18, 17, 16, 0.35)); animation: haunt 3.4s ease-in-out infinite; }
@keyframes haunt { 50% { transform: rotate(-4deg) translateY(-12px); } }   /* the one idle float on the page: a ghost should hover */
.ghost-arrow { width: 110px; right: -6%; bottom: 34px; stroke: var(--ink); }
.ghost figcaption { position: absolute; left: -6%; bottom: 0; font-family: var(--script); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.02; color: var(--ink); transform: rotate(-5deg); }
.ghost figcaption b { color: var(--red); font-weight: 400; }
.invite { margin-top: 44px; }
@media (min-width: 900px) {
  .poster { padding: 72px 64px 60px; transform: rotate(-1deg); }
  .poster h2 { font-size: clamp(64px, 7.4vw, 124px); }
  .poster p { font-size: 18px; max-width: 54ch; }
  .poster-grid { grid-template-columns: 1.45fr 0.75fr; gap: 40px; }
  .poster-popper { width: 200px; right: -2%; top: -12%; }
  .invite { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
  .invite p { max-width: none; }
  .invite .copied { grid-column: 1 / -1; }
}

/* the menu cards get more presence on wide screens */
@media (min-width: 1100px) {
  .card { min-height: 210px; padding: 30px 230px 30px 30px; }
  .card h3 { font-size: 34px; }
  .card p { font-size: 17px; }
  .card .obj { width: 270px; }
  .c-word .obj, .c-thu .obj { width: 320px; }
  .h-xl { font-size: clamp(64px, 8.4vw, 128px); }
  .host-card { width: min(100%, 540px); }
}

/* ---------- How to get on: a deck of cards ----------
   Each step is sticky; the next one slides up over it, and the covered card tips back and dims.
   The tip is a pure function of scroll (v2.js updateStack), no chase. Squarer than the menu cards (Sherman). */
.how-grid { display: grid; gap: 30px; }
.stack { position: relative; }
.step {
  position: sticky; top: calc(92px + var(--i) * 16px);
  min-height: min(56svh, 470px); margin: 0 0 22svh; padding: 30px 26px; border-radius: 30px;
  display: flex; flex-direction: column; justify-content: flex-start; overflow: visible;
  transform-origin: 50% 0; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, 0.55);
}
.step:last-child { margin-bottom: 0; }
.step:hover { transform: none; }
.step .n { font-size: clamp(72px, 12vw, 120px); margin-bottom: 18px; }
.step h3 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1; margin-bottom: 10px; }
.step p { font-size: 17px; max-width: 30ch; }
.step .obj { position: absolute; right: -4%; bottom: -6%; width: min(52%, 280px); pointer-events: none; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.35)); transform: rotate(-8deg); }
.step .obj.mini { position: absolute; width: min(56%, 300px); }
.step .shade { position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: var(--dim, 0); pointer-events: none; z-index: 2; }
.stack.measuring .step { position: relative !important; top: auto !important; transform: none !important; }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .how-head { position: sticky; top: 120px; }
  .step { top: calc(110px + var(--i) * 20px); padding: 40px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .step { position: relative; top: auto; margin-bottom: 18px; min-height: 0; }
  .ghost img { animation: none; }
}

/* ======================= /prophecy and /testify ======================= */
.sub-page .hero { padding-top: 40px; }
.pr-hero .wrap { position: relative; }
.pr-sec { padding: 70px 0; }
.pr-sec.alt { background: var(--paper); color: var(--ink); border-radius: 40px; margin: 0 8px; isolation: isolate; position: relative; }
.pr-sec.alt::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: url(/assets/v2/paper.jpg) 0 0 / 640px; mix-blend-mode: multiply; opacity: .6; }
.pr-sec.alt .pr-ref { color: rgba(18,17,16,.62); }
.pr-sec.dark { background: var(--red); color: #fff; border-radius: 40px; margin: 0 8px; }
.pr-sec.dark .pq { background: var(--ink); }
.pr-sec.dark .pr-ref { color: rgba(255,255,255,.78); }
.pr-grid { display: grid; gap: 22px; }
.pr-n { display: block; font-family: var(--num); font-size: 64px; line-height: .9; color: var(--red); margin-bottom: 10px; }
.pr-sec.dark .pr-n { color: var(--butter); }
.pr-head h2 { font-size: clamp(34px, 5.4vw, 64px); }
.pr-body p { margin: 0 0 14px; font-size: 18px; line-height: 1.65; max-width: 62ch; }
.pr-list { margin: 0 0 16px; padding-left: 22px; font-size: 18px; line-height: 1.6; }
.pr-list li { margin-bottom: 8px; }
.pr-ref { font-size: 14px !important; color: var(--muted); margin-top: 14px !important; }
.pr-ref b { font-family: var(--marker); font-weight: 400; text-transform: uppercase; margin-right: 6px; color: inherit; }
.pq { position: relative; margin: 22px 0 6px; padding: 30px 26px 24px; border-radius: 24px; background: var(--ink); color: var(--paper); transform: rotate(-.8deg); }
.pq .tape { top: -14px; left: 26px; width: 110px; transform: rotate(-6deg); }
.pq blockquote { margin: 0; font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.pq cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--script); color: var(--pink); font-size: 22px; transform: rotate(-2deg); }
.pr-trio { display: grid; gap: 20px; margin: 22px 0 6px; }
.pr-trio .note { color: var(--ink); }
.pr-why { transform: rotate(-.6deg); }
.pr-why h2 { font-size: clamp(40px, 6vw, 84px); margin: 4px 0 14px; }
.pr-faq .card { padding-right: 24px; min-height: 0; }
@media (min-width: 900px) {
  .pr-grid { grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; }
  .pr-head { position: sticky; top: 110px; }
  .pr-sec.alt, .pr-sec.dark { margin: 0 24px; }
  .pr-trio { grid-template-columns: repeat(3, 1fr); }
  .pq { padding: 40px 40px 30px; }
}

/* testify: 1 to 10 chips */
.greet { font-weight: 800; font-size: 20px; margin: 0 0 16px; }
.scale { border: 0; padding: 0; margin: 0 0 18px; }
.scale legend { font-size: 13px; font-weight: 800; margin-bottom: 8px; padding: 0; }
.scale legend em { font-style: normal; font-weight: 500; opacity: .6; }
.scale-row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.scale-row label { position: relative; cursor: pointer; }
.scale-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.scale-row span { display: grid; place-items: center; height: 44px; border-radius: 12px; background: #fff; border: 2px solid rgba(18,17,16,.12); font-family: var(--num); font-size: 19px; transition: transform var(--t) var(--ease), background var(--t) var(--ease); }
.scale-row input:checked + span { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-6deg) scale(1.08); }
.scale-row input:focus-visible + span { outline: 3px solid var(--butter); outline-offset: 2px; }
.scale-ends { display: flex; justify-content: space-between; font-size: 12px; opacity: .6; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 16px; }
.check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; margin-top: 1px; }

/* ======================= v2.4: mystery guests, bigger deck, bigger ghost ======================= */
.mailcheck { background: var(--butter); color: var(--ink); padding: 12px 14px; border-radius: 14px; font-size: 15px; }
.inline-link { color: var(--red); font-weight: 800; text-decoration: none; white-space: nowrap; border-bottom: 2px solid currentColor; }

/* Special guests, no names yet (Sherman, Oct 28): six backlit silhouettes, one per half hour */
.mystery { margin: 22px 0 26px; }
.mystery-h { font-weight: 800; font-size: 20px; letter-spacing: -.02em; margin: 0 0 14px !important; }
.mystery-h .script { color: var(--red); font-size: 1.25em; }
.mystery-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 620px; }
.mystery-row li { display: grid; justify-items: center; gap: 6px; }
.mystery-row .who { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--red); box-shadow: 0 10px 18px -10px rgba(0,0,0,.5); }
.mystery-row li:nth-child(3n+2) .who { background: var(--pink); }
.mystery-row li:nth-child(3n) .who { background: var(--ink); }
.mystery-row li:nth-child(odd) .who { transform: rotate(-4deg); }
.mystery-row li:nth-child(even) .who { transform: rotate(3deg); }
.mystery-row .who img { position: absolute; left: 8%; right: 8%; bottom: -4%; width: 84%; }
.mystery-row li:nth-child(3n) .who img { filter: invert(.85); }   /* light silhouette on the dark chip */
.mystery-row .who b { position: absolute; right: 8%; top: 4%; font-family: var(--num); font-weight: 400; font-size: clamp(18px, 2.6vw, 30px); color: var(--butter); text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.mystery-row .t { font-family: var(--num); font-size: 16px; letter-spacing: .02em; }

/* the deck: bigger art, bigger words, less empty card (Sherman: "a lot of negative space") */
.step { min-height: min(62svh, 560px); }
.step .n { font-size: clamp(84px, 13vw, 150px); margin-bottom: 14px; }
.step h3 { font-size: clamp(32px, 4.6vw, 58px); line-height: .98; margin-bottom: 12px; }
.step p { font-size: clamp(18px, 1.8vw, 22px); max-width: 24ch; line-height: 1.45; }
.step .obj { width: min(70%, 420px); right: -6%; bottom: -8%; }
.step .obj.mini { width: min(74%, 440px); }
@media (max-width: 899px) {
  .step { min-height: min(68svh, 600px); }
  .step .obj { width: 64%; right: -5%; bottom: -6%; }
  .step .obj.mini { width: 66%; }
}

/* the ghost: big enough to hold its own on the poster */
.ghost { width: min(100%, 560px); padding-bottom: 96px; }
.ghost figcaption { font-size: clamp(28px, 3.2vw, 42px); }
.ghost-arrow { width: 140px; }
@media (min-width: 900px) { .poster-grid { grid-template-columns: 1.15fr 0.85fr; } }
/* step art cropped to its ink (step-*.png) so it fills the card; the phone is tall, so it sizes by height */
.step .obj { right: 4%; bottom: 6%; width: min(52%, 380px); transform: rotate(-6deg); }
.step .obj-tall { width: auto; height: 74%; max-height: 420px; right: 6%; bottom: 7%; transform: rotate(8deg); }
@media (max-width: 899px) { .step .obj { width: 56%; right: 4%; bottom: 5%; } .step .obj-tall { width: auto; height: 46%; } }
/* desktop: words own the left 58%, art owns the bottom-right (the envelope covered "Check your email" at 1440) */
@media (min-width: 900px) {
  .step h3, .step p { max-width: 58%; }
  .step .obj { width: 38%; right: 4%; bottom: 7%; }
  .step .obj.mini { width: 42%; }
  .step .obj-tall { width: auto; height: 66%; right: 7%; }
}

/* ======================= v2.5 (Oct 28): /prophecy gets its pictures ======================= */
/* Sherman: "I just wanted some of those cutouts... to make it flow a little bit bigger." Every section carries a
   B&W cut-out on the right; the sticky title owns the left column on desktop, so the art lives in the body. */
.pr-hgrid { display: grid; gap: 10px; }
.pr-word { font-size: clamp(72px, 19vw, 132px); line-height: .84; letter-spacing: -.055em; margin: 6px 0 0; }
.pr-word .script { display: block; font-size: 1.12em; margin: .02em 0 0 .25em; }
.pr-stage { position: relative; height: clamp(250px, 62vw, 420px); margin-top: 6px; }
.pr-mic { position: absolute; left: 8%; bottom: 0; height: 100%; width: auto; transform: rotate(-9deg); filter: grayscale(1) contrast(1.08) drop-shadow(0 22px 26px rgba(0,0,0,.55)); }
.pr-stage .mini { position: absolute; left: 44%; top: 4%; width: 52%; transform: rotate(-14deg); }
.pr-god { margin: 0 0 18px; font-weight: 800; letter-spacing: -.04em; line-height: .95; font-size: clamp(44px, 11vw, 78px); }
.pr-god span { color: var(--butter); }
.pr-right .lede { max-width: 40ch; margin-top: 14px; }
@media (min-width: 900px) {
  .pr-hgrid { grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
  .pr-word { font-size: clamp(120px, 12.5vw, 196px); }
  .pr-stage { height: 400px; margin-top: -30px; }
  .pr-stage .mini { left: 40%; width: 46%; }
  .pr-right { padding-top: 60px; }
  .pr-right .lede { font-size: 20px; }
}

/* the floats: text wraps the object's alpha (shape-outside), not its box */
.pr-art { float: right; width: clamp(130px, 42%, 220px); height: auto; margin: -6px -4px 14px 16px; shape-image-threshold: .3; shape-margin: 12px;
  transform: rotate(var(--r, 4deg)); filter: grayscale(1) contrast(1.06) drop-shadow(0 16px 18px rgba(0,0,0,.45)); }
.pr-sec.alt .pr-art { filter: grayscale(1) contrast(1.06) drop-shadow(0 14px 16px rgba(18,17,16,.28)); }
.pr-body .pq, .pr-body .pr-ref, .pr-trio, .pr-gifts, .pr-body .pr-big { clear: both; }
@media (min-width: 900px) { .pr-art { width: clamp(220px, 24vw, 330px); margin: -30px -40px 18px 26px; } }

/* 03: four rooms God spoke in */
.pr-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; align-items: end; margin: 0 0 26px; }
.pr-collage figure { margin: 0; text-align: center; }
.pr-collage img { width: 100%; height: clamp(110px, 26vw, 200px); object-fit: contain; filter: grayscale(1) drop-shadow(0 14px 16px rgba(0,0,0,.5)); }
.pr-collage figure:nth-child(1) img { transform: rotate(-3deg); }
.pr-collage figure:nth-child(2) img { transform: rotate(4deg); }
.pr-collage figure:nth-child(3) img { transform: rotate(2deg); }
.pr-collage figure:nth-child(4) img { transform: rotate(-6deg); }
.pr-collage figcaption { font-family: var(--script); font-size: 22px; color: var(--pink); margin-top: 4px; }
.pr-collage-cap { grid-column: 1 / -1; margin: 6px 0 0 !important; font-weight: 800; font-size: clamp(24px, 3vw, 32px) !important; letter-spacing: -.03em; text-align: center; max-width: none !important; }

/* 04: anyone can be a prophet */
.pr-lineup { display: flex; justify-content: center; align-items: flex-end; margin: 0 0 30px; padding-bottom: 18px; }
.pr-lineup figure { position: relative; margin: 0 -10px; }
.pr-lineup img { height: clamp(200px, 50vw, 360px); width: auto; filter: grayscale(1) contrast(1.06) drop-shadow(0 14px 16px rgba(18,17,16,.3)); }
.pr-lineup figure:nth-child(2) { z-index: 1; }
.pr-lineup figcaption { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; z-index: 2; }
.pr-lineup .sticker { font-size: clamp(12px, 1.6vw, 16px); padding: 8px 14px 9px; }
.pr-lineup figure:nth-child(1) .sticker { transform: rotate(-5deg); }
.pr-lineup figure:nth-child(2) .sticker { transform: rotate(3deg); }
.pr-lineup figure:nth-child(3) .sticker { transform: rotate(-2deg); }

/* 02: every gift, behind a caret */
.pr-gifts { margin: 24px 0 6px; border-radius: 22px; background: var(--ink); color: var(--paper); }
.pr-gifts summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 24px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.pr-gifts summary::-webkit-details-marker { display: none; }
.pr-gifts summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: -6px; border-right: 3px solid var(--butter); border-bottom: 3px solid var(--butter); transform: rotate(45deg); transition: transform .25s; }
.pr-gifts[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.pr-gifts .gl { display: grid; gap: 16px; padding: 0 24px 24px; }
.pr-gifts h4 { margin: 0; font-family: var(--marker); font-weight: 400; text-transform: uppercase; color: var(--butter); font-size: 15px; letter-spacing: .02em; }
.pr-gifts .gl p { margin: 4px 0 0; font-size: 16px; line-height: 1.55; color: var(--paper); }
@media (min-width: 900px) { .pr-gifts .gl { grid-template-columns: 1fr 1fr; gap: 20px 30px; } }

/* 05: spirit, gift, office */
.pr-trio .kick { display: block; font-family: var(--script); font-size: 22px; line-height: 1; margin-bottom: 4px; color: var(--red); }
.pr-trio .note:nth-child(1) .kick { color: var(--red); }
.pr-trio .ref { display: block; margin-top: 14px; font-size: 13px; font-weight: 700; opacity: .7; }

/* 06: the crystal ball gets a no sign, and the line gets huge */
.pr-no { float: right; position: relative; width: clamp(130px, 40%, 220px); margin: -6px -4px 12px 16px; shape-outside: circle(50%); transform: rotate(-4deg); }
.pr-no img { width: 100%; height: auto; filter: grayscale(1) drop-shadow(0 16px 18px rgba(0,0,0,.5)); }
.pr-no svg { position: absolute; left: -8%; top: -4%; width: 116%; height: auto; fill: none; stroke: var(--red); stroke-width: 9; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }
@media (min-width: 900px) { .pr-no { width: clamp(220px, 24vw, 320px); margin: -30px -30px 18px 30px; } }
.pr-body .pr-big { margin: 30px 0 30px; max-width: none; font-weight: 800; letter-spacing: -.045em; line-height: 1.02; font-size: clamp(42px, 7vw, 92px);
  color: var(--butter); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: .1em; text-underline-offset: .14em; text-decoration-skip-ink: none; }

/* /testify: why your story matters */
.tf-why .wrap { position: relative; }
.tf-why .h { max-width: 12ch; }
.tf-lede { color: rgba(18,17,16,.72); max-width: 46ch; margin-top: 16px; }
.tf-notes .note h3 { font-size: 26px; }
.tf-notes .ref { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; opacity: .65; }
.tf-mic { width: clamp(90px, 26vw, 200px); margin: 0 0 10px 14px; }
@media (min-width: 900px) { .tf-mic { width: 220px; margin: -20px 40px 10px 30px; } }
/* v2.5 review fixes: three across made 120px-wide columns of text; the no sign's slash overhangs its box */
.pr-trio { grid-template-columns: 1fr !important; gap: 26px; }
.pr-trio .note { padding-right: 34px; }
.pr-no { shape-margin: 22px; margin-left: 30px; }
@media (min-width: 900px) { .pr-no { margin-left: 56px; } .pr-stage .mini { left: 38%; top: 0; width: 60%; } }
.tf-why .script { color: var(--red); }
