/* =====================================================================
   REBELOGY: graffiti, but organised.
   ===================================================================== */

/* self-hosted fonts (display fonts are ASCII subsets) */
@font-face { font-family: "Rubik Spray Paint"; src: url(../fonts/rubik-spray-paint.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Sedgwick Ave Display"; src: url(../fonts/sedgwick-ave-display.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url(../fonts/permanent-marker.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(../fonts/space-grotesk.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --concrete: #1a1a1a;
  --wall: #2b2b2b;
  --paper: #f3efe6;
  --spray-pink: #ff2e88;
  --spray-lime: #c6ff00;
  --spray-cyan: #00e5ff;
  --marker-black: #0d0d0d;

  --ink: #f5f3ee;
  --ink-dim: #c4c0b8;
  --paper-ink: #1b1a17;
  --paper-dim: #4a463f;

  --f-spray: "Rubik Spray Paint", "Sedgwick Ave Display", Impact, sans-serif;
  --f-tag: "Sedgwick Ave Display", "Permanent Marker", cursive;
  --f-marker: "Permanent Marker", "Comic Sans MS", cursive;
  --f-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --header-h: 64px;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  --noise-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  --brick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.38' stroke-width='3'%3E%3Cpath d='M0 1.5h120M0 31.5h120M30 0v30M90 30v30'/%3E%3C/g%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.035' stroke-width='1'%3E%3Cpath d='M0 4h120M0 34h120'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--concrete);
  background-image:
    var(--noise),
    radial-gradient(ellipse 60% 40% at 15% 0%, #2c2c2c 0, transparent 70%),
    radial-gradient(ellipse 50% 50% at 95% 55%, #242424 0, transparent 70%);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--spray-cyan); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--spray-lime); color: var(--marker-black); padding: 10px 14px; font-weight: 700; border-radius: 4px;
}
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.row--center { justify-content: center; margin-top: 44px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--paper); --fg: var(--marker-black); --glow: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .85em 1.35em;
  font: 700 .95rem/1.1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  color: var(--fg); background: var(--bg);
  border: 3px solid var(--bg); border-radius: 6px; cursor: pointer;
  box-shadow: 4px 4px 0 var(--marker-black), 0 0 26px var(--glow);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--marker-black), 0 0 34px var(--glow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--marker-black); }
.btn--pink { --bg: var(--spray-pink); --glow: #ff2e8855; }
.btn--lime { --bg: var(--spray-lime); --glow: #c6ff0040; }
.btn--cyan { --bg: var(--spray-cyan); --glow: #00e5ff40; }
.btn--dark { --bg: var(--marker-black); --fg: var(--paper); box-shadow: 4px 4px 0 #0d0d0d33; }
.btn--dark:hover { box-shadow: 6px 6px 0 #0d0d0d33; }
.btn--outline { --fg: var(--paper); background: transparent; border-color: var(--paper); box-shadow: none; }
.btn--outline:hover { background: #f3efe614; box-shadow: none; }
.btn--lg { font-size: 1.02rem; padding: 1em 1.6em; }
.btn--sm { min-height: 40px; padding: .55em 1em; font-size: .85rem; }
.btn--spray {
  --bg: var(--spray-pink);
  box-shadow: 0 0 0 2px #ff2e8840, 0 0 14px 4px #ff2e8855, 0 0 34px 10px #ff2e8822;
  border-radius: 40% 55% 45% 60% / 60% 45% 55% 40%;
}
.btn--spray:hover { box-shadow: 0 0 0 3px #ff2e8855, 0 0 18px 6px #ff2e8877, 0 0 44px 14px #ff2e8833; }
.btn .ico { width: 1.35em; height: 1.35em; }
.text-link { color: var(--ink); font-weight: 500; text-underline-offset: 4px; text-decoration-color: var(--spray-lime); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--spray-lime); }

/* ---------- graffiti bits ---------- */
.logo {
  display: inline-block; position: relative;
  font-family: var(--f-tag); font-size: 1.7rem; line-height: 1; text-decoration: none;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--spray-pink); padding: .08em .12em .22em;
  transform: rotate(-4deg);
  text-shadow: 2px 2px 0 var(--marker-black), 0 0 14px #ff2e8866;
}
.logo::after {
  content: ""; position: absolute; left: 8%; right: 0; bottom: .02em; height: .14em;
  background: var(--spray-lime); border-radius: 50% 40% 60% 50%; transform: rotate(-2deg);
  box-shadow: 0 0 8px #c6ff0066;
}
.logo--sm { font-size: 1.35rem; margin-right: .4em; vertical-align: middle; }

.splat { position: absolute; width: var(--s, 220px); height: var(--s, 220px); opacity: var(--o, .4); pointer-events: none; z-index: 0; }
@media (max-width: 600px) { .splat { width: calc(var(--s, 220px) * .65); height: calc(var(--s, 220px) * .65); } }

.stencil-label {
  display: inline-block; margin: 0 0 14px;
  font: 700 .78rem/1 var(--f-body); letter-spacing: .28em; text-transform: uppercase;
  color: var(--spray-cyan); padding: .65em .9em .6em; border: 2px dashed currentColor; border-radius: 2px;
}
.stencil-label--lime { color: var(--spray-lime); }
.stencil-label--ink { color: var(--paper-dim); }

.marker-note { font-family: var(--f-marker); color: var(--spray-lime); font-size: 1.15rem; line-height: 1.2; transform: rotate(-3deg); display: inline-flex; align-items: center; gap: 8px; }

.h-spray {
  font-family: var(--f-spray); font-weight: 400;
  font-size: clamp(2.1rem, 7.2vw, 5.2rem); line-height: 1.02; letter-spacing: .01em;
  color: var(--paper); margin: 0 0 .35em; padding-bottom: .35em;
  text-shadow: 0 0 22px #ffffff12;
}
.h-small { display: block; font-size: .5em; line-height: 1.15; margin-bottom: .3em; color: var(--ink-dim); }
.h-xl { font-size: clamp(3rem, 10vw, 7.5rem); }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: var(--ink); max-width: 60ch; }
.lede--ink { color: var(--paper-ink); }

/* drips */
.drip-word { position: relative; display: inline-block; color: var(--c); text-shadow: 0 0 18px color-mix(in srgb, var(--c) 40%, transparent); }
.drip-word .dl { position: relative; display: inline-block; }
.drip-word .dw { white-space: nowrap; }
.drip-word i {
  position: absolute; top: var(--top, 78%); left: var(--x); margin-left: -.0425em; width: .085em; height: var(--h);
  background: var(--c); border-radius: 0 0 .06em .06em; transform-origin: top center;
  transform: scaleY(1); transition: transform 1.5s cubic-bezier(.3, .6, .2, 1) var(--d); pointer-events: none;
}
.drip-word i::after {
  content: ""; position: absolute; left: 50%; bottom: -.06em; width: .15em; height: .17em;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: var(--c); transform: translateX(-50%);
  animation: drop 5.5s ease-in calc(var(--d) + 2s) infinite;
}
@keyframes drop {
  0%, 82% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, .9em); opacity: 0; }
}

/* spray-in reveal: opacity + transform only (GPU friendly, can't get stuck half-masked) */
.js .reveal {
  transform-origin: left bottom;
  transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
}
.js .reveal:not(.in) { opacity: 0; transform: translateX(-.25em) skewX(-8deg) scale(.97); }
.js .reveal:not(.in) .drip-word i { transform: scaleY(0); }
/* hard final state, applied by JS shortly after .in: text can never stay invisible */
.js .reveal.revealed { opacity: 1; transform: none; transition: none; }
.js .reveal.revealed .drip-word i { transform: scaleY(1); transition: none; }

/* stickers */
.sticker {
  --r: -5deg;
  position: relative; display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font: 700 .92rem/1.15 var(--f-body); text-transform: uppercase; letter-spacing: .03em;
  padding: .75em 1.05em; border-radius: 10px;
  background: var(--spray-lime); color: var(--marker-black);
  box-shadow: 2px 3px 0 #0000008c, inset 0 0 0 2px #ffffff55;
  transform: rotate(var(--r));
}
.sticker::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 18px; height: 18px;
  background: linear-gradient(135deg, transparent 50%, #00000030 50%, #ffffffaa 70%, #e4e0d6 100%);
  border-radius: 0 0 10px 0;
}
.sticker--pink { background: var(--spray-pink); }
.sticker--paper { background: var(--paper); }
.sticker--round { width: 8.2rem; height: 8.2rem; border-radius: 50%; padding: 1em; font-size: 1rem; }
.sticker--round::after { display: none; }
.sticker:hover { animation: wobble .55s ease; }
@keyframes wobble {
  0% { transform: rotate(var(--r)); }
  25% { transform: rotate(calc(var(--r) + 7deg)) scale(1.06); }
  50% { transform: rotate(calc(var(--r) - 5deg)) scale(1.03); }
  75% { transform: rotate(calc(var(--r) + 2deg)); }
  100% { transform: rotate(var(--r)); }
}

/* tape */
.tape {
  position: absolute; top: -15px; width: 118px; height: 32px; z-index: 2;
  background: repeating-linear-gradient(90deg, #ffffff22 0 3px, transparent 3px 7px), #e8ddb5d9;
  box-shadow: 0 2px 4px #0003;
  clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 4% 96%, 0 50%);
}
.tape--l { left: 22px; transform: rotate(-7deg); }
.tape--r { right: 22px; transform: rotate(6deg); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #0d0d0df2;
  border-bottom: 1px solid #ffffff14;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.nav-links { display: none; list-style: none; gap: 1.8rem; }
.nav-links a, .menu-panel a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); }
.nav-links a:hover, .menu-panel a:hover { color: var(--spray-lime); }
.nav-right { display: flex; align-items: center; gap: .75rem; }
.menu { position: relative; }
.menu > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 10px; border: 2px solid #ffffff33; border-radius: 6px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em;
}
.menu > summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.menu[open] .burger { background: transparent; }
.menu[open] .burger::before { top: 0; transform: rotate(45deg); }
.menu[open] .burger::after { top: 0; transform: rotate(-45deg); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 14px); min-width: 230px; list-style: none;
  background: var(--wall); border: 1px solid #ffffff1f; border-radius: 8px; padding: 8px; box-shadow: 0 18px 40px #000a;
}
.menu-panel a { display: block; padding: 12px 14px; border-radius: 6px; font-size: 1.05rem; }
.menu-panel a:hover { background: #ffffff0d; }
@media (max-width: 380px) { .menu-text { display: none; } }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .menu { display: none; }
}

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); overflow: clip; isolation: isolate; }
.section > .wrap { position: relative; z-index: 1; }
.wall {
  background-color: var(--wall);
  background-image: var(--noise), var(--brick),
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, #00000066 100%);
}

/* hero */
.hero {
  position: relative; overflow: clip; isolation: isolate;
  min-height: min(calc(100svh - var(--header-h)), 920px);
  display: grid; align-items: center; padding-block: 48px 80px;
}
.hero-inner { position: relative; z-index: 1; }
.hero-tag {
  position: absolute; right: -4%; bottom: 2%; z-index: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--f-tag); font-size: clamp(5rem, 20vw, 17rem); line-height: 1; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 2px #ffffff12; transform: rotate(-8deg);
}
.hero h1 {
  font-family: var(--f-spray); font-weight: 400;
  font-size: clamp(3.1rem, 11.5vw, 8.6rem); line-height: .98; letter-spacing: .01em;
  color: var(--paper); max-width: 10ch; margin: 0 0 .25em; padding-bottom: .35em;
  text-shadow: 0 0 30px #ffffff14;
}
.hero-sub { font-size: clamp(1.12rem, 2.2vw, 1.4rem); max-width: 38ch; color: var(--ink-dim); }
.hero-sub::first-line { color: var(--ink); }
.hero-ctas { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; margin-top: 34px; }
/* note hangs under "Join the Rebels", arrow curving up into the button */
.hero-note {
  position: absolute; left: 56px; top: calc(100% + 4px);
  align-items: flex-start; gap: 4px; white-space: nowrap; transform: rotate(-2deg);
}
.hero-note .arrow { flex: none; width: 58px; height: 45px; color: var(--spray-lime); }
.hero-note span { padding-top: 30px; }
.hero-stickers { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; }
@media (min-width: 820px) {
  .hero-stickers { position: absolute; right: var(--gutter); top: -10px; flex-direction: column; margin: 0; }
  .hero-stickers .sticker--round { width: 9.5rem; height: 9.5rem; font-size: 1.15rem; }
}
@media (max-width: 560px) { .hero-note { display: none; } }

/* manifesto poster */
.poster {
  position: relative; max-width: 800px; margin-inline: auto;
  padding: clamp(36px, 6vw, 68px) clamp(22px, 6vw, 68px);
  background-color: var(--paper); color: var(--paper-ink);
  background-image:
    var(--noise-paper),
    linear-gradient(96deg, transparent 31%, #00000010 32%, transparent 34%),
    linear-gradient(184deg, transparent 58%, #0000000c 59%, transparent 61%),
    linear-gradient(88deg, transparent 72%, #ffffff66 73%, transparent 75%),
    radial-gradient(ellipse at 80% 10%, #0000000d, transparent 60%);
  transform: rotate(-1.2deg);
  box-shadow: 0 24px 48px #000000b3, 0 3px 0 #00000033;
  border-radius: 2px;
}
.m-lead { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 700; line-height: 1.3; margin-bottom: .7em; }
.m-body { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: #2b2925; }
.m-shout {
  display: inline-block; font-family: var(--f-spray); font-size: clamp(2.6rem, 8vw, 4.8rem); line-height: 1;
  color: var(--marker-black); margin: .05em 0 .45em; padding: 0 .1em .12em;
  background: linear-gradient(176deg, transparent 58%, #ff2e88c0 59%, #ff2e88a6 86%, transparent 87%);
}
.m-stamp {
  display: inline-block; margin: 1.2em 0 0; padding: .25em .7em;
  font-family: var(--f-marker); font-size: clamp(1.4rem, 3.6vw, 2.1rem); line-height: 1.2;
  border: 4px solid var(--marker-black); border-radius: 4px; transform: rotate(-3deg);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--marker-black);
}

/* stand cards */
.cards { list-style: none; display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  --accent: var(--spray-cyan); --card-bg: #202020;
  position: relative; padding: 26px 22px 24px; border-radius: 4px;
  background: var(--card-bg); border: 2px solid #ffffff1c;
  transition: transform .2s ease, border-color .2s ease;
}
.card:nth-child(even) { --accent: var(--spray-lime); }
.card::before {
  content: ""; position: absolute; top: -2px; left: -2px; width: 46px; height: 46px;
  border-top: 4px solid var(--accent); border-left: 4px solid var(--accent); filter: drop-shadow(0 0 6px var(--accent));
}
.card:hover { transform: translateY(-4px) rotate(-.6deg); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.card-num { font-family: var(--f-marker); color: var(--accent); font-size: 1.1rem; }
.card-title {
  margin: .35em 0 .55em; font: 700 clamp(1.7rem, 2.6vw, 2.05rem)/1.02 var(--f-body);
  text-transform: uppercase; letter-spacing: .03em; color: var(--accent);
}
/* stencil bridge: a thin card-coloured bar over solid text (text itself always paints) */
.card-title { position: relative; }
.card-title::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 .45em, var(--card-bg) .45em .53em, transparent .53em 1.02em);
}
.card p { color: var(--ink); margin: 0; }

/* students */
.students-grid { display: grid; gap: 56px; }
@media (min-width: 920px) { .students-grid { grid-template-columns: 1.35fr 1fr; align-items: center; } }
.sticker-cloud { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 16px; max-width: 460px; margin-inline: auto; }
.sticker-cloud .sticker { font-size: 1rem; padding: .85em 1.15em; }

/* how it works */
.steps { list-style: none; position: relative; display: grid; gap: 34px; margin-top: 30px; }
.steps::before {
  content: ""; position: absolute; left: 30px; top: 24px; bottom: 24px;
  border-left: 5px dashed var(--spray-lime); opacity: .9;
}
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.step-num {
  position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 50%; background: var(--spray-pink); color: var(--marker-black);
  font-family: var(--f-spray); font-size: 2rem; line-height: 1;
  box-shadow: 0 0 0 7px var(--concrete), 0 0 26px 6px #ff2e8866;
}
.step:nth-child(2) .step-num { transform: rotate(6deg); }
.step:nth-child(3) .step-num { transform: rotate(-5deg); }
.step-text { font-size: 1.15rem; font-weight: 500; margin: 0; padding-top: 16px; max-width: 30ch; }
@media (min-width: 920px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps::before { left: 6%; right: 10%; top: 30px; bottom: auto; border-left: 0; border-top: 5px dashed var(--spray-lime); }
  .step { grid-template-columns: 1fr; gap: 18px; }
  .step-text { padding-top: 0; }
}

/* quiet sections */
.quiet { background: var(--wall); }
.quietest { background: var(--concrete); }
.panel {
  position: relative; background-color: var(--paper); color: var(--paper-ink);
  background-image: var(--noise-paper);
  border-radius: 6px; padding: clamp(28px, 5vw, 60px); box-shadow: 0 16px 34px #00000080;
}
.panel--flat { background-image: none; box-shadow: 0 10px 24px #00000059; }
.h-quiet {
  font: 700 clamp(2rem, 4.6vw, 3.3rem)/1.06 var(--f-body); letter-spacing: -.02em;
  color: var(--marker-black); margin: .2em 0 .55em; max-width: 20ch;
}
.h-quiet::after { content: ""; display: block; width: 72px; height: 5px; margin-top: .35em; background: var(--spray-cyan); border-radius: 4px; }
#trust .h-quiet::after { background: var(--paper-ink); opacity: .2; }

.points { list-style: none; display: grid; gap: 14px 32px; margin: 28px 0 8px; }
@media (min-width: 700px) { .points { grid-template-columns: 1fr 1fr; max-width: 760px; } }
.points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.points li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--marker-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2300e5ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 0; padding: 22px 0 0; border-top: 2px solid #0d0d0d1a; }
.stats div { text-align: left; }
.stats dt { font-size: .85rem; color: var(--paper-dim); order: 2; }
.stats dd { margin: 0; font: 700 clamp(1.8rem, 4vw, 2.6rem)/1 var(--f-body); }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; }

.req { margin-top: 34px; }
.req > summary { list-style: none; }
.req > summary::-webkit-details-marker { display: none; }
.req[open] > summary { --bg: #0d0d0d1a; --fg: var(--paper-ink); box-shadow: none; border-color: transparent; }
.form { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 26px; max-width: 760px; }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; } }
.form-title { grid-column: 1 / -1; font-size: 1.25rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input {
  width: 100%; min-height: 50px; padding: .75em .9em; font: inherit; color: var(--paper-ink);
  background: #fff; border: 2px solid #0d0d0d33; border-radius: 6px;
}
.field input:focus-visible { outline: 3px solid var(--spray-cyan); outline-offset: 1px; border-color: var(--marker-black); }
.field input:user-invalid { border-color: #b0003a; }
.field small { display: block; margin-top: 4px; color: var(--paper-dim); font-size: .82rem; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { margin: 0; font-weight: 700; }
.form-status.ok { color: #1b5e20; }
.form-status.err { color: #b0003a; }

.trust-grid { list-style: none; display: grid; gap: 22px 32px; margin: 32px 0 8px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .trust-grid { grid-template-columns: repeat(5, 1fr); } }
.trust-grid li { border-top: 2px solid #0d0d0d1f; padding-top: 14px; }
.trust-grid h3 { font-size: 1.1rem; margin-bottom: .3em; }
.trust-grid p { margin: 0; color: var(--paper-dim); }
.trust-contact { margin: 28px 0 0; color: var(--paper-dim); }
.trust-contact a { color: var(--paper-ink); font-weight: 700; }

/* pledge (main page) */
.pledge-box { max-width: 900px; margin-inline: auto; }
.pledge-box > summary { list-style: none; cursor: pointer; text-align: center; padding: 6px; border-radius: 8px; }
.pledge-box > summary::-webkit-details-marker { display: none; }
.pledge-title { display: block; font-family: var(--f-spray); font-weight: 400; font-size: clamp(2.3rem, 6.8vw, 4.6rem); line-height: 1.02; color: var(--paper); }
.pledge-sub { display: block; margin-top: .55em; font-family: var(--f-marker); color: var(--spray-lime); font-size: clamp(1.02rem, 2.4vw, 1.3rem); }
.pledge-toggle { margin-top: 22px; }
.pledge-toggle .t-close, .pledge-box[open] .pledge-toggle .t-open { display: none; }
.pledge-box[open] .pledge-toggle .t-close { display: inline; }
.pledge-list { list-style: none; display: grid; gap: 14px; margin-top: 34px; }
.pledge-list li {
  --r: -.7deg; --bg: var(--paper);
  display: flex; gap: 14px; align-items: center; padding: 14px 18px;
  background: var(--bg); color: var(--paper-ink); border-radius: 12px;
  box-shadow: 3px 4px 0 #000000a6; transform: rotate(var(--r)); font-size: 1.05rem;
}
.pledge-list li:nth-child(3n+2) { --r: .6deg; --bg: var(--spray-lime); }
.pledge-list li:nth-child(3n) { --r: -.3deg; --bg: var(--spray-pink); }
.pledge-list li:hover { animation: wobble .55s ease; }
.pledge-list .n {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--marker-black); color: var(--paper); font-family: var(--f-marker); font-size: 1.1rem;
}
.tldr { margin: 30px 0 0; text-align: center; font-family: var(--f-marker); font-size: clamp(1.15rem, 2.6vw, 1.45rem); color: var(--spray-lime); }

/* join */
.join { text-align: center; padding-block: clamp(96px, 14vw, 170px); }
.join-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.join .h-spray { margin-bottom: .2em; }
.join-tag { position: absolute; z-index: 0; font-family: var(--f-tag); color: transparent; -webkit-text-stroke: 1.5px #ffffff1c; pointer-events: none; white-space: nowrap; line-height: 1; }
.join-tag--1 { font-size: clamp(3rem, 9vw, 7rem); top: 8%; left: 4%; transform: rotate(-9deg); }
.join-tag--2 { font-size: clamp(2.6rem, 8vw, 6rem); bottom: 6%; right: 5%; transform: rotate(7deg); }

/* nav: 5 links get tight on small laptops */
@media (min-width: 960px) and (max-width: 1140px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: .88rem; }
}

/* home-page teaser for Third Space */
.teaser-inner { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .teaser-inner { grid-template-columns: 1fr auto; } }
.teaser .h-spray { margin-bottom: .2em; }

/* =====================================================================
   THIRD SPACE PAGE
   ===================================================================== */
.ts-hero { padding-top: clamp(48px, 8vw, 96px); }
.ts-hero .hero-tag { bottom: auto; top: 4%; right: -2%; }
.lede--lead { font-size: clamp(1.2rem, 2.3vw, 1.5rem); font-weight: 500; max-width: 46ch; }
.spaces { list-style: none; display: grid; gap: 16px; margin-top: 40px; max-width: 980px; }
@media (min-width: 760px) { .spaces { grid-template-columns: repeat(3, 1fr); } }
.space {
  position: relative; padding: 22px 20px 20px; border-radius: 6px;
  background: #202020; border: 2px dashed #ffffff2a; color: var(--ink-dim);
}
.space-n { display: block; font-family: var(--f-spray); font-size: 3rem; line-height: 1; color: #ffffff38; }
.space-title { font-size: 1.3rem; color: var(--ink); margin: .2em 0 .3em; }
.space p { margin: 0; }
.space--you { border: 2px solid var(--spray-cyan); background: #00e5ff12; color: var(--ink); transform: rotate(-1deg); box-shadow: 0 0 30px #00e5ff26; }
.space--you .space-n { color: var(--spray-cyan); text-shadow: 0 0 18px #00e5ff88; }
.ts-note { margin-top: 22px; color: var(--spray-cyan); }

.formats { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); margin-top: 18px; }
.sticker.format {
  display: block; text-align: left; text-transform: none; letter-spacing: 0;
  padding: 22px 20px 20px; font: 400 1rem/1.5 var(--f-body);
}
.format h3 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .35em; }
.format p { margin: 0; }

.event-list { list-style: none; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 18px; }
.sticker.event { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; text-transform: none; letter-spacing: 0; padding: 20px; font: 400 1rem/1.45 var(--f-body); }
.event-kind { margin: 0; font: 700 .72rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.event-title { font-size: 1.3rem; line-height: 1.2; margin: .2em 0 .1em; }
.event-when { margin: 0; font-weight: 700; }
.event-where, .event-desc { margin: 0; }
.event .btn { margin-top: 12px; }
.events-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 12px; padding: 22px; border: 2px dashed #ffffff2a; border-radius: 8px; max-width: 760px; }
.events-status { margin: 0; color: var(--ink-dim); font-size: 1.1rem; flex: 1 1 260px; }
.ts-rules { max-width: 60ch; color: var(--ink-dim); margin-bottom: 1.4em; }
.ts-rules strong { color: var(--spray-lime); font-family: var(--f-marker); font-weight: 400; font-size: 1.2em; }

/* =====================================================================
   REFER & WIN PAGE
   ===================================================================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.refer-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .refer-hero-grid { grid-template-columns: 1.4fr .6fr; } }
.refer-note { margin-top: 16px; color: var(--ink-dim); font-size: .92rem; overflow-wrap: anywhere; }
.phone-sticker { position: relative; justify-self: center; width: min(220px, 60vw); color: var(--spray-lime); transform: rotate(6deg); }
.phone-svg { width: 100%; height: auto; filter: drop-shadow(0 0 24px #c6ff0055); }
.phone-tag { position: absolute; left: -18px; bottom: 26px; font-size: 1.05rem; }
.step-title { font-size: 1.2rem; margin-bottom: .2em; }
.refer-hero + .wall .step-text { padding-top: 4px; }
.age-callout {
  display: flex; gap: 14px; align-items: center; margin-top: 44px; padding: 16px 20px; max-width: 820px;
  border: 2px solid var(--spray-pink); border-radius: 10px; background: #ff2e8814;
}
.age-callout p { margin: 0; font-weight: 500; }
.age-callout .q-warn-icon { width: 46px; height: 46px; font-size: .95rem; }
.prize-list { margin-bottom: 40px; }
.counts-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .counts-grid { grid-template-columns: 1fr 1fr; } }
.counts { padding: 20px 22px; border-radius: 8px; border: 2px dashed #ffffff2a; background: #202020; }
.counts h3 { font-size: 1.1rem; margin-bottom: .6em; }
.counts ul { list-style: none; display: grid; gap: 10px; }
.counts li { display: flex; gap: 10px; color: var(--ink); }
.counts--yes h3 { color: var(--spray-lime); }
.counts--yes li::before { content: "\2713"; color: var(--spray-lime); font-weight: 700; }
.counts--no h3 { color: var(--spray-pink); }
.counts--no li::before { content: "\2715"; color: var(--spray-pink); font-weight: 700; }
.lead-note { margin-top: 28px; padding: 18px 22px; border-left: 4px solid var(--spray-cyan); background: #00e5ff0d; max-width: 820px; }
.lead-note h3 { color: var(--spray-cyan); font-size: 1.1rem; margin-bottom: .3em; }
.lead-note p { margin: 0; color: var(--ink); }
.rules-list { padding-left: 1.2em; display: grid; gap: 8px; color: var(--paper-dim); max-width: 760px; }
.text-link--lime { color: var(--spray-lime); }
.share-rules { margin: 4px 0 14px; font-size: .95rem; }

/* =====================================================================
   FIELD OPS: Rebel Pass + lead console (built for a phone at a noisy gate)
   ===================================================================== */
.ops-label { font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }

.pass-page { padding-block: 32px 48px; max-width: 520px; text-align: center; }
.pass-title { font-size: clamp(2rem, 9vw, 3rem); padding-bottom: .1em; margin-bottom: .2em; }
.pass-card { margin: 22px auto 12px; padding: 18px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 4px var(--spray-lime), 0 18px 40px #000a; max-width: 360px; }
.pass-qr svg { display: block; width: 100%; height: auto; }
.pass-who { margin: 10px 0 0; color: var(--marker-black); font-weight: 700; font-size: 1.1rem; min-height: 1.4em; }
.pass-tips { list-style: none; display: grid; gap: 8px; margin-top: 18px; color: var(--ink-dim); text-align: left; }
.pass-tips li::before { content: "\2192  "; color: var(--spray-lime); }
.pass-cta { margin: 18px 0 6px; padding: 16px 18px; max-width: 560px; border: 2px solid #00e5ff66; border-radius: 10px; background: #00e5ff0d; }

.console { padding-block: 20px 60px; max-width: 640px; display: grid; gap: 16px; }
.console-msg:empty { display: none; }
.console-msg { padding: 16px; border: 2px dashed #ffffff33; border-radius: 10px; color: var(--ink-dim); }
.ccard { background: #202020; border: 1px solid #ffffff1f; border-radius: 12px; padding: 18px; }
.ccard h2 { font-size: 1.05rem; margin-bottom: .6em; }
.shift-kind { margin: 0; font: 700 .72rem/1 var(--f-body); letter-spacing: .2em; color: var(--spray-cyan); }
.shift-title { font-size: 1.6rem; line-height: 1.2; margin: .3em 0 .2em; }
.shift-meta { margin: 0; color: var(--ink-dim); }
.lead-list { list-style: none; display: grid; gap: 6px; margin-bottom: 10px; }
.lead-list li { padding: 8px 10px; border-radius: 8px; background: #ffffff08; }
.lead-list li.is-acked { box-shadow: inset 3px 0 0 var(--spray-lime); }
.lead-list span { color: var(--ink-dim); }
.ready-line { font-weight: 700; padding: 8px 10px; border-radius: 8px; }
.ready-line.is-ready { color: var(--marker-black); background: var(--spray-lime); }
.ready-line.is-not-ready { color: var(--marker-black); background: var(--spray-pink); }
.console-label { display: block; font-weight: 700; font-size: .92rem; margin: 12px 0 6px; }
.console-select, .console-input {
  width: 100%; min-height: 48px; padding: 0 12px; font: 500 1rem var(--f-body); color: var(--ink);
  background: #00000066; border: 1px solid #ffffff38; border-radius: 8px;
}
.briefing { margin: 12px 0; }
.briefing summary { cursor: pointer; font-weight: 700; color: var(--spray-cyan); }
.briefing-text { white-space: pre-wrap; margin-top: 8px; padding: 12px; border-radius: 8px; background: #00000059; line-height: 1.55; }
.mode-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.mode-toggle label { position: relative; cursor: pointer; }
.mode-toggle input { position: absolute; opacity: 0; }
.mode-toggle span { display: block; text-align: center; padding: 12px; border-radius: 8px; border: 2px solid #ffffff2e; font-weight: 700; }
.mode-toggle input:checked + span { background: var(--spray-cyan); border-color: var(--spray-cyan); color: var(--marker-black); }
.mode-toggle input:focus-visible + span { outline: 3px solid var(--spray-lime); outline-offset: 2px; }
.scan-btn { width: 100%; }
.video-wrap { position: relative; margin-top: 14px; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 1; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame { position: absolute; inset: 18%; border: 3px solid var(--spray-lime); border-radius: 14px; box-shadow: 0 0 0 999px #0000004d; }
.scan-result:empty { display: none; }
.scan-result { margin: 14px 0 0; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 1.1rem; }
.scan-result.is-ok { background: var(--spray-lime); color: var(--marker-black); }
.scan-result.is-warn { background: #ffd23f; color: var(--marker-black); }
.scan-result.is-err { background: var(--spray-pink); color: var(--marker-black); }
.manual-row { display: flex; align-items: center; gap: 8px; }
.manual-row .handle-at { font-size: 1.3rem; }
.roster { list-style: none; display: grid; gap: 6px; }
.roster li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; background: #ffffff08; }
.roster small { color: var(--ink-dim); }
.r-status { font-weight: 700; font-size: .9rem; text-align: right; }
.r-checked_in .r-status { color: var(--spray-lime); }
.r-checked_out .r-status { color: var(--spray-cyan); }
.r-no_show .r-status { color: var(--spray-pink); }
.r-assigned .r-status { color: var(--ink-dim); }
.roster-count { color: var(--ink-dim); font-weight: 500; }
.close-btn { width: 100%; }

/* FAQ (AEO/GEO): readable, scannable, every answer linkable */
.faq-updated { color: var(--ink-dim); font-size: .92rem; }
.faq-panel { max-width: 860px; margin-inline: auto; }
.faq-toc { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #0d0d0d1a; }
.faq-toc ol { padding-left: 1.2em; display: grid; gap: 6px; }
.faq-toc a { color: var(--paper-ink); text-underline-offset: 3px; }
.faq-item { padding: 18px 0; border-bottom: 1px solid #0d0d0d14; scroll-margin-top: calc(var(--header-h) + 16px); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h2 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.3; color: var(--marker-black); margin-bottom: .45em; }
.faq-item p { margin: 0 0 .5em; color: var(--paper-ink); max-width: 70ch; }
.faq-link { font-weight: 700; color: var(--marker-black); text-decoration-color: var(--spray-pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* rXP: rules ladder + pass wallet */
.rxp-rules { list-style: none; display: grid; gap: 14px; max-width: 820px; margin-top: 10px; }
.rxp-rule { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 10px; background: #202020; border: 1px solid #ffffff1f; }
.rxp-rule h3 { font-size: 1.1rem; margin-bottom: .15em; }
.rxp-rule p { margin: 0; color: var(--ink-dim); }
.rxp-amt { font-family: var(--f-spray); font-size: 2.2rem; line-height: 1; color: var(--spray-lime); text-shadow: 0 0 18px #c6ff0055; }
.rxp-amt small { font-family: var(--f-body); font-size: .8rem; font-weight: 700; margin-left: 4px; color: var(--ink-dim); text-shadow: none; }
.rxp-amt.is-zero { color: var(--ink-dim); text-shadow: none; }
.rxp-example { margin-top: 18px; font-family: var(--f-marker); color: var(--spray-lime); font-size: 1.15rem; max-width: 60ch; }
.lead-form .field--wide, .lead-form .agree--paper { grid-column: 1 / -1; }
.lead-form textarea { width: 100%; padding: .75em .9em; font: inherit; color: var(--paper-ink); background: #fff; border: 2px solid #0d0d0d33; border-radius: 6px; }
.agree--paper { color: var(--paper-ink); font-size: 1rem; }
.rxp-fair { margin-top: 24px; font-size: .92rem; }

.rxp-box { margin-top: 28px; padding: 20px; text-align: left; border: 2px solid #c6ff0066; border-radius: 14px; background: #c6ff000a; }
.rxp-title { font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; color: var(--spray-lime); }
.rxp-balance { margin: 6px 0 0; }
.rxp-num { font-family: var(--f-spray); font-size: 3.2rem; line-height: 1; color: var(--paper); }
.rxp-unit { font-weight: 700; color: var(--spray-lime); }
.rxp-earned { color: var(--ink-dim); margin: 0 0 10px; }
.rxp-msg:empty { display: none; }
.rxp-msg { padding: 10px 12px; border-radius: 8px; background: #00e5ff1a; font-weight: 700; }
.rxp-box h3 { font-size: 1rem; margin: 18px 0 8px; }
.rxp-rewards, .rxp-list { list-style: none; display: grid; gap: 8px; }
.rxp-reward { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; background: #ffffff0a; }
.rxp-reward span { color: var(--ink-dim); font-size: .9rem; }
.rxp-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; background: #ffffff08; font-size: .92rem; }
.rxp-tag { color: var(--spray-cyan); font-weight: 700; white-space: nowrap; }
.rxp-plus { color: var(--spray-lime); font-weight: 700; }
.rxp-minus { color: var(--spray-pink); font-weight: 700; }
.rxp-empty { color: var(--ink-dim); }

/* "Email me my Rebel Pass" */
.pass-recover { margin-top: 22px; text-align: left; padding: 14px 16px; border: 1px solid #ffffff24; border-radius: 10px; background: #ffffff06; }
.pass-recover summary { cursor: pointer; font-weight: 700; color: var(--spray-cyan); }
.pass-recover p { color: var(--ink-dim); margin: 10px 0; }
.recover-status:empty { display: none; }
.recover-status { color: var(--ink) !important; font-weight: 700; }

/* link builder */
.linkb .console-label small { font-weight: 400; color: var(--ink-dim); }
.linkb-qr { margin: 16px auto; max-width: 280px; }
.linkb-qr svg { display: block; width: 100%; height: auto; }

/* static confirmation pages */
.simple-page { min-height: calc(100svh - var(--header-h)); display: grid; align-items: center; }

/* footer */
.site-footer { background: var(--marker-black); padding: 36px 0; color: var(--ink-dim); font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer-inner p { margin: 0; }
.sep { margin: 0 .5em; opacity: .4; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--ink); text-underline-offset: 3px; }
.footer-links a:hover { color: var(--spray-lime); }

/* =====================================================================
   PLEDGE PAGE (typeform-style deck)
   ===================================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 40; background: #ffffff12; }
.progress span { display: block; height: 100%; width: 0; background: var(--spray-lime); box-shadow: 0 0 12px var(--spray-lime); border-radius: 0 4px 4px 0; transition: width .5s ease; }
.deck-top {
  position: fixed; top: 5px; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--gutter); background: linear-gradient(#1a1a1a, #1a1a1ae6 60%, #1a1a1a00);
}
.deck-top .logo { font-size: 1.5rem; }
.deck-exit { font-size: .9rem; color: var(--ink-dim); text-underline-offset: 3px; }
.deck-exit:hover { color: var(--ink); }

.slide { position: relative; isolation: isolate; overflow: clip; padding: 110px var(--gutter) 72px; border-bottom: 1px dashed #ffffff1f; }
.slide:focus { outline: none; }
.slide-inner { position: relative; z-index: 1; width: 100%; max-width: 780px; margin-inline: auto; }
.slide-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.js .slide-bg { position: fixed; } /* stays put while a long slide scrolls, never adds scroll area */
.slide-tag {
  position: absolute; right: -2%; bottom: 2%; z-index: 0; pointer-events: none; line-height: 1;
  font-family: var(--f-tag); font-size: clamp(9rem, 34vw, 24rem);
  color: transparent; -webkit-text-stroke: 2px #ffffff10; transform: rotate(-6deg);
}

.pledge-h1 {
  font-family: var(--f-spray); font-weight: 400; font-size: clamp(2.3rem, 11vw, 7.4rem); line-height: .98;
  color: var(--paper); margin: 0 0 .25em; padding-bottom: .35em;
}
.item-num { font-family: var(--f-marker); color: var(--ink-dim); font-size: 1.05rem; margin-bottom: .6em; }
.item-num span { color: var(--spray-pink); font-size: 1.5em; }
.item-head {
  font-family: var(--f-spray); font-weight: 400; font-size: clamp(1.7rem, 7.6vw, 4.9rem); line-height: 1.08;
  hyphens: auto;
  margin: 0 0 .5em; text-shadow: 0 0 26px color-mix(in srgb, currentColor 30%, transparent);
}

.type { font-size: clamp(1.22rem, 3vw, 1.7rem); line-height: 1.45; font-weight: 500; color: var(--ink); margin: 0 0 .55em; max-width: 34ch; }
.type--marker { font-family: var(--f-marker); color: var(--spray-lime); font-weight: 400; transform: rotate(-1.5deg); }
.type--oath { font-family: var(--f-marker); font-weight: 400; font-size: clamp(2rem, 6.4vw, 3.8rem); line-height: 1.2; color: var(--paper); max-width: 18ch; }
.type--big { font-family: var(--f-marker); font-weight: 400; font-size: clamp(1.9rem, 5.6vw, 3.3rem); line-height: 1.25; color: var(--spray-lime); max-width: 20ch; }
.signoff { color: var(--ink-dim); font-style: italic; margin-top: 1.2em; }
.tw-ghost { visibility: hidden; }
.tw-caret {
  display: none; width: 3px; height: 1.05em; margin: 0 -5px 0 2px; vertical-align: -.16em;
  background: var(--spray-pink); box-shadow: 0 0 8px var(--spray-pink);
}
.type.typing .tw-caret, .type.last.done .tw-caret { display: inline-block; }
.type.last.done .tw-caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; transition: opacity .35s ease; }
.js .slide:not(.typed) .actions { opacity: .4; }
.hint { font-size: .85rem; color: var(--ink-dim); }
.hint b { color: var(--ink); font-weight: 700; }
@media (hover: none) { .hint { display: none; } }
.no-js .next, .no-js .hint, .no-js .deck-nav, .no-js .progress { display: none; }

/* questions */
.q-label { display: block; padding: 0; margin: 0 0 .45em; font: 600 clamp(1.45rem, 3.8vw, 2.2rem)/1.25 var(--f-body); color: var(--paper); }
.q-num { font-family: var(--f-marker); font-weight: 400; color: var(--spray-pink); font-size: .72em; margin-right: .45em; }
.q-hint { color: var(--ink-dim); font-size: 1.05rem; margin: 0 0 1.4em; max-width: 52ch; }
.q-input {
  width: 100%; padding: .35em 0; border: 0; border-bottom: 3px solid #00e5ff55; border-radius: 0;
  font: 500 clamp(1.35rem, 3.6vw, 1.95rem)/1.3 var(--f-body); color: var(--spray-cyan);
  background: transparent; caret-color: var(--spray-pink); transition: border-color .2s;
}
.q-input::placeholder { color: #ffffff52; }
.q-input:focus { outline: none; border-bottom-color: var(--spray-cyan); box-shadow: 0 2px 0 0 var(--spray-cyan); }
.q-input[aria-invalid="true"] { border-bottom-color: var(--spray-pink); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; gap: 10px; max-width: 560px; }
@media (min-width: 640px) { .choices--2 { grid-template-columns: 1fr 1fr; max-width: 720px; } }
.choice {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 10px 14px; border: 2px solid #00e5ff4d; border-radius: 8px; background: #00e5ff0a;
  font-size: 1.08rem; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s;
}
.choice:hover { background: #00e5ff1a; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice .key {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px;
  border: 2px solid var(--spray-cyan); color: var(--spray-cyan); font-size: .8rem; font-weight: 700;
}
.choice .tick { margin-left: auto; color: var(--spray-cyan); font-weight: 700; opacity: 0; }
.choice:has(input:checked) { background: #00e5ff29; border-color: var(--spray-cyan); }
.choice:has(input:checked) .key { background: var(--spray-cyan); color: var(--marker-black); }
.choice:has(input:checked) .tick { opacity: 1; }
.choice:has(input:focus-visible) { outline: 3px solid var(--spray-lime); outline-offset: 2px; }
.choice.pop { animation: pop .3s ease; }
@keyframes pop { 50% { transform: scale(1.025); } }

.q-error { min-height: 1.6em; margin: 14px 0 0; }
.q-error:not(:empty) {
  display: inline-block; padding: .35em .75em; border-radius: 4px; transform: rotate(-1deg);
  background: var(--spray-pink); color: var(--marker-black); font-weight: 700;
}
.shake { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* rebel name (handle) */
.handle-wrap { display: flex; align-items: baseline; gap: .1em; border-bottom: 3px solid #00e5ff55; transition: border-color .2s; }
.handle-wrap:focus-within { border-bottom-color: var(--spray-cyan); box-shadow: 0 2px 0 0 var(--spray-cyan); }
.handle-wrap .q-input { border-bottom: 0; box-shadow: none; }
.handle-at { font: 700 clamp(1.35rem, 3.6vw, 1.95rem)/1.3 var(--f-body); color: var(--spray-pink); }
.handle-preview { margin: .9em 0 0; font-size: .95rem; color: var(--ink-dim); overflow-wrap: anywhere; }
.handle-link { color: var(--spray-lime); font-weight: 500; }
.handle-link:empty::before { content: "..."; color: var(--ink-dim); }

/* invite / share block on the thanks screen */
.share {
  margin: 28px 0 8px; padding: 22px 22px 24px; max-width: 560px;
  border: 2px dashed #c6ff0066; border-radius: 10px; background: #c6ff000a;
}
.share-label { margin: 0; font: 700 .78rem/1 var(--f-body); letter-spacing: .25em; text-transform: uppercase; color: var(--spray-lime); }
.share-code { margin: .35em 0 .3em; font-family: var(--f-marker); font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.1; color: var(--paper); overflow-wrap: anywhere; }
.share-sub { color: var(--ink-dim); margin-bottom: 1em; }
.share-row { display: flex; gap: 10px; margin-bottom: 14px; }
.share-link, .crew-link {
  flex: 1; min-width: 0; min-height: 40px; padding: 0 .8em; font: 500 .95rem var(--f-body);
  color: var(--ink); background: #00000059; border: 1px solid #ffffff33; border-radius: 6px;
}
.share-already { color: var(--ink-dim); max-width: 560px; }

/* date of birth + age warning */
.q-input--date { color-scheme: dark; max-width: 320px; }
.q-warn {
  display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; padding: 14px 16px; max-width: 560px;
  border: 2px solid var(--spray-pink); border-radius: 8px; background: #ff2e8814; color: var(--ink); font-size: 1rem; line-height: 1.5;
}
.q-warn-icon {
  flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--spray-pink); color: var(--marker-black); font-weight: 700;
}
.age-badge {
  display: inline-block; margin-left: .6em; padding: .15em .55em; border: 1.5px solid var(--spray-lime); border-radius: 4px;
  color: var(--spray-lime); font-weight: 700; font-size: .85em; letter-spacing: .04em;
}

/* promise to event creators (quiet section) */
.promise { margin: 30px 0 6px; padding: 22px 0 0; border-top: 2px solid #0d0d0d1a; max-width: 900px; }
.promise-title { font-size: 1.15rem; margin-bottom: 14px; }
.promise-list { list-style: none; display: grid; gap: 14px 28px; }
@media (min-width: 700px) { .promise-list { grid-template-columns: 1fr 1fr; } }
.promise-list li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 3px solid var(--spray-cyan); }
.promise-list strong { font-size: 1rem; }
.promise-list span { color: var(--paper-dim); }

/* crew groups: deliberately low-key */
.crew-hint { margin: 18px 0 0; font-size: .95rem; }
.crew-hint .text-link { color: var(--ink-dim); font-weight: 400; text-decoration-color: #c6ff0080; }
.crew-note { margin: 1em 0 0; color: var(--spray-cyan); font-weight: 500; }
.crew-joined { color: var(--spray-cyan); font-weight: 500; }
.crew-start { margin: 6px 0 8px; max-width: 560px; }
.crew-toggle {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-dim); font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ffffff40;
}
.crew-toggle::-webkit-details-marker { display: none; }
.crew-toggle::before { content: "+"; font-weight: 700; color: var(--spray-cyan); text-decoration: none; }
.crew-start[open] .crew-toggle::before { content: "\2212"; }
.crew-toggle:hover { color: var(--ink); }
.crew-panel { margin-top: 14px; padding: 18px 18px 20px; border: 1px solid #ffffff24; border-radius: 8px; background: #ffffff06; }
.crew-intro { color: var(--ink-dim); font-size: .95rem; }
.crew-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.crew-input {
  width: 100%; min-height: 44px; padding: 0 .8em; margin-bottom: 14px; font: 500 1rem var(--f-body);
  color: var(--ink); background: #00000059; border: 1px solid #ffffff33; border-radius: 6px;
}
.crew-input:focus-visible { outline: 2px solid var(--spray-cyan); outline-offset: 1px; }
.agree--sm { font-size: .92rem; color: var(--ink-dim); margin-bottom: 4px; }
.agree--sm input { width: 20px; height: 20px; }
.crew-error { min-height: 0; margin: 8px 0 12px; }
.crew-done-name { margin: .3em 0 .2em; font-family: var(--f-marker); font-size: 1.6rem; color: var(--paper); }

/* restroom-sign gate + safety pledge */
.rr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 460px; }
.rr {
  --c: var(--spray-cyan);
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 24px 12px 18px; border: 3px solid var(--c); border-radius: 14px;
  background: color-mix(in srgb, var(--c) 8%, transparent); color: var(--c); cursor: pointer;
  font: 700 1.05rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .14em;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.rr--women { --c: var(--spray-pink); }
.rr svg { height: clamp(96px, 20vw, 136px); width: auto; fill: currentColor; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 55%, transparent)); }
.rr input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rr:hover { transform: translateY(-3px) rotate(-1deg); }
.rr--women:hover { transform: translateY(-3px) rotate(1deg); }
.rr:has(input:checked) { background: var(--c); color: var(--marker-black); }
.rr:has(input:checked) svg { filter: none; }
.rr:has(input:focus-visible) { outline: 3px solid var(--spray-lime); outline-offset: 3px; }
/* third sign: all-gender, full width, pride stripe */
.rr--all {
  --c: var(--spray-lime);
  grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 18px; padding: 16px 16px 22px; overflow: hidden;
}
.rr--all svg { height: clamp(64px, 12vw, 84px); }
.rr--all .rr-text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; }
.rr--all small { font: 500 .85rem/1.2 var(--f-body); letter-spacing: .02em; text-transform: none; opacity: .85; }
.rr--all:hover { transform: translateY(-3px); }
.rr--all::after, .pride-band {
  background: linear-gradient(90deg, #e40303 0 16.66%, #ff8c00 0 33.33%, #ffed00 0 50%, #008026 0 66.66%, #24408e 0 83.33%, #732982 0);
}
.rr--all::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; }

/* safety variants: no-JS shows all three; JS shows the one picked */
.variant + .variant { margin-top: 2.2rem; padding-top: 1.8rem; border-top: 2px dashed #ffffff22; }
.variant-for { margin: 0 0 .6rem; }
.slide--safety[data-show] .variant { display: none; margin-top: 0; padding-top: 0; border-top: 0; }
.slide--safety[data-show="men"] .variant--men,
.slide--safety[data-show="women"] .variant--women,
.slide--safety[data-show="all"] .variant--all { display: block; }
.slide--safety[data-show="men"] .variant-for,
.slide--safety[data-show="women"] .variant-for { display: none; }

.pride-band { display: block; width: min(320px, 70%); height: 10px; border-radius: 2px; margin-bottom: 18px; transform: rotate(-1.5deg); box-shadow: 0 0 18px #ffffff1f; }
.motto { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 1.4em 0 0; }
.sticker--pride { background: var(--paper); box-shadow: 2px 3px 0 #0000008c, inset 0 -5px 0 #732982, inset 0 -10px 0 #24408e; padding-bottom: 1.1em; }
.motto-text {
  font-family: var(--f-marker); font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.2; color: var(--spray-lime);
  transform: rotate(-2deg); display: inline-block;
}

.sig-card {
  position: relative; margin: 30px 0 22px; padding: 22px 24px 16px; max-width: 560px;
  background-color: var(--paper); background-image: var(--noise-paper); color: var(--paper-ink);
  border-radius: 4px; transform: rotate(-1deg); box-shadow: 0 12px 26px #0009;
}
.sig-preview {
  display: block; min-height: 1.35em; padding-left: .2em;
  font-family: var(--f-marker); font-size: clamp(1.8rem, 6vw, 2.7rem); line-height: 1.3;
  color: #1f3a93; transform: rotate(-2deg); overflow-wrap: anywhere;
}
.sig-preview:empty::before { content: attr(data-empty); color: #1b1a1740; }
.sig-line { display: block; border-top: 2px solid var(--paper-ink); }
.sig-caption { margin: .6em 0 0; font-size: .9rem; font-style: italic; color: var(--paper-dim); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 1.1rem; cursor: pointer; max-width: 560px; }
.agree input { flex: none; width: 24px; height: 24px; margin-top: 3px; accent-color: var(--spray-lime); }

.deck-nav { position: fixed; right: var(--gutter); bottom: 16px; z-index: 30; display: flex; align-items: center; gap: 6px; }
.deck-nav button {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border: 0; border-radius: 6px; background: var(--spray-lime); color: var(--marker-black);
}
.deck-nav button:disabled { opacity: .3; cursor: default; }
.deck-count { font-family: var(--f-marker); color: var(--ink-dim); margin-right: 8px; font-size: 1rem; }

/* deck mode (JS on) */
.js .pledge-page { height: 100svh; overflow: hidden; }
.js .slide {
  position: fixed; inset: 0; border: 0;
  display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  padding: 92px var(--gutter) 96px;
  opacity: 0; visibility: hidden; transform: translateY(56px);
  transition: opacity .4s ease, transform .55s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .55s;
}
.js .slide .slide-inner { margin-block: auto; }
.js .slide.is-past { transform: translateY(-56px); }
.js .slide.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .45s ease .12s, transform .6s cubic-bezier(.2, .7, .2, 1) .08s, visibility 0s;
}
.js .slide--thanks.is-active { z-index: 5; }
.js .slide--thanks .actions { opacity: 1; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
  .js .reveal:not(.in) .drip-word i { transform: none; }
  .js .slide { transform: none !important; }
}
@media (min-width: 920px) { .refer-hero + .wall .steps { grid-template-columns: repeat(3, 1fr); } }
