/* ==========================================================================
   FINDOM YOURSELF: public site
   Black latex, gold and hot pink. Bodoni Moda for drama, Archivo (wide) for
   orders, JetBrains Mono for money. The WebGL canvas sits behind everything.
   ========================================================================== */

@font-face { font-family: 'Bodoni Moda'; src: url('../assets/fonts/bodoni-moda-var.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('../assets/fonts/bodoni-moda-italic-var.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../assets/fonts/archivo-var.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../assets/fonts/jetbrains-mono-var.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0b0709;
  --ink-2: #140c10;
  --ink-3: #1d1217;
  --ink-4: #2a1a21;
  --line: rgba(255, 220, 232, .12);
  --line-strong: rgba(255, 220, 232, .24);
  --text: #f6ece6;
  --muted: #b59ba6;
  --dim: #7d6570;
  --latex: #ff2e6e;
  --latex-2: #ff5c8d;
  --latex-deep: #c8124f;
  --blush: #ffb8cb;
  --gold: #e9bd66;
  --gold-2: #b8872f;
  --oxblood: #4a0b1c;
  --porcelain: #efe8e1;
  --paper: #f5f1e9;

  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
  --section-y: clamp(88px, 15vh, 200px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}

/* ───────────────────────── base ───────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--ink);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--ink-4) var(--ink);
  scrollbar-width: thin;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--latex); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--latex); outline-offset: 3px; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 99px; background: var(--text); color: var(--ink);
  font-weight: 700; text-decoration: none; transition: top .3s;
}
.skip:focus { top: 16px; }

/* ───────────────────────── layers ───────────────────────── */

.gl {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  display: block; pointer-events: none;
  opacity: 0; transition: opacity 1.4s var(--ease-out);
}
html.gl-ready .gl { opacity: 1; }

.backdrop {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 60% at 78% 12%, rgba(120, 18, 52, .55), transparent 60%),
    radial-gradient(70% 50% at 8% 88%, rgba(74, 11, 28, .7), transparent 60%),
    radial-gradient(60% 40% at 50% 50%, rgba(40, 8, 18, .6), transparent 70%),
    var(--ink);
}

.grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none;
  opacity: .065;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-4%, 3%, 0); }
  40% { transform: translate3d(3%, -5%, 0); }
  60% { transform: translate3d(-6%, -2%, 0); }
  80% { transform: translate3d(5%, 4%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

main, .nav, .footer { position: relative; z-index: 1; }

/* ───────────────────────── loader ───────────────────────── */

.loader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-content: center; justify-items: center; gap: 16px;
  padding: 24px;
  background: var(--ink);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.15s var(--ease-in-out);
  animation: loader-failsafe .6s ease 9s forwards;
}
html.js .loader { animation: none; }
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

.loader__brand { margin: 0; display: flex; align-items: baseline; gap: .45em; }
.loader__brand em { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.5rem; }
.loader__brand span, .nav__brand span {
  font-stretch: 125%; font-weight: 700; font-size: .68rem;
  letter-spacing: .26em; text-transform: uppercase;
}
.loader__count {
  margin: 0;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(7rem, 26vw, 17rem); line-height: .82;
  letter-spacing: -.04em;
  font-variant-numeric: lining-nums tabular-nums;
  background: linear-gradient(180deg, var(--text) 30%, var(--latex) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader__line { margin: 0; min-height: 1.5em; font-family: var(--mono); font-size: .78rem; letter-spacing: .03em; color: var(--muted); }
.loader__bar { width: min(320px, 64vw); height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--latex); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }

/* ───────────────────────── cursor ───────────────────────── */

.cursor { position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none; display: none; mix-blend-mode: difference; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor [role="button"] { cursor: none; }
html.has-cursor :is(input, textarea, select, label) { cursor: auto; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(255, 255, 255, .75);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .3s, border-color .3s, opacity .3s;
}
.cursor.is-hover .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: #fff; border-color: #fff; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor__label {
  font: 700 .6rem/1 var(--sans); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase;
  color: #000; opacity: 0; transition: opacity .2s;
}
.cursor.is-hover .cursor__label { opacity: 1; }
.cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }

/* ───────────────────────── nav ───────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background-color .5s, border-color .5s, transform .6s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 7, 9, .66);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav.is-tucked { transform: translateY(-100%); }

.nav__brand { display: inline-flex; align-items: baseline; gap: .42em; text-decoration: none; white-space: nowrap; }
.nav__brand em { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.5rem; letter-spacing: -.01em; }

.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav__links a {
  position: relative; padding: 6px 0;
  font-size: .72rem; font-weight: 600; font-stretch: 118%; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); transition: color .3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--latex);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-current { color: var(--text); }

.nav__tools { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 99px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 7, 9, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 600 .66rem/1 var(--sans); font-stretch: 116%; letter-spacing: .15em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; color: var(--muted);
  transition: border-color .4s, color .4s;
}
.status__text { font-variant-numeric: tabular-nums; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.status[data-state="live"] { border-color: rgba(255, 46, 110, .65); color: var(--text); }
.status[data-state="live"] .status__dot { background: var(--latex); animation: pulse 1.5s infinite; }
.status[data-state="paid"] { color: var(--text); }
.status[data-state="paid"] .status__dot { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 46, 110, .75); }
  70% { box-shadow: 0 0 0 10px rgba(255, 46, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 46, 110, 0); }
}

.sound {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 2px; border: 0; background: none; cursor: pointer;
  font: 600 .66rem/1 var(--sans); font-stretch: 116%; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); transition: color .3s;
}
.sound:hover, .sound[aria-pressed="true"] { color: var(--text); }
.sound__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__bars i { width: 2px; height: 3px; background: currentColor; transition: height .3s; }
.sound[aria-pressed="true"] .sound__bars i { animation: eq 1.1s ease-in-out infinite; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: -.6s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-delay: -.85s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

@media (max-width: 900px) { .nav__links { display: none; } }
@media (max-width: 560px) {
  :root { --nav-h: 62px; }
  .nav__brand em { font-size: 1.25rem; }
  .nav__brand span { display: none; }
  .sound__label { display: none; }
  .status { padding: 8px 11px; font-size: .6rem; letter-spacing: .12em; }
}

/* ───────────────────────── shared pieces ───────────────────────── */

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  font: 600 .7rem/1.4 var(--sans); font-stretch: 125%; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ''; flex: none; width: 28px; height: 1px; background: var(--latex); }

.section-head { padding: 0 var(--gutter); margin-bottom: clamp(36px, 7vh, 88px); }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 38ch); gap: 24px 48px; align-items: end; }
.section-title {
  margin: 0;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(3.6rem, 10.5vw, 11rem); line-height: .86; letter-spacing: -.045em;
  font-variation-settings: 'opsz' 96;
}
.section-title em, .whip__title em { font-style: italic; font-weight: 400; color: var(--blush); letter-spacing: -.03em; }
.section-intro { margin: 0; color: var(--muted); max-width: 38ch; font-size: 1.05rem; }
@media (max-width: 760px) { .section-head--split { grid-template-columns: 1fr; } }

.btn {
  --fill: var(--text);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 99px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  font: 700 .72rem/1 var(--sans); font-stretch: 118%; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color .45s var(--ease-out), border-color .45s, transform .5s var(--ease-out);
}
.btn::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--fill);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%));
  transition: clip-path .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--fill); }
.btn--primary { background: var(--latex); border-color: var(--latex); color: var(--ink); }
.btn--primary:hover { border-color: var(--text); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .66rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.bar { position: relative; height: 4px; border-radius: 4px; background: rgba(255, 220, 232, .1); overflow: hidden; }
.bar span {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-2), var(--gold) 40%, var(--latex));
  transition: width 1.6s var(--ease-out);
}
.bar span::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-100%); animation: shine 2.8s var(--ease-in-out) infinite;
}
@keyframes shine { 60%, 100% { transform: translateX(100%); } }

.money { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.in { color: var(--gold); }
.out { color: var(--latex); }

/* reveal on scroll */
html.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity 1s var(--ease-out), transform 1.3s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* split text: every character rises into place */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .09em .12em; margin: -.02em -.09em -.12em; }
.split .c { display: inline-block; transform: translate3d(0, 110%, 0) rotate(8deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 24ms + var(--d, 0ms)); }
.split.is-in .c { transform: none; }

/* ───────────────────────── hero ───────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 3vh) var(--gutter) 3vh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto auto;
  column-gap: 20px;
}
.hero__anchor {
  position: absolute; z-index: -1;
  right: 0; top: var(--nav-h);
  width: min(60vw, 980px); height: min(54vh, 580px);
}
.hero__kicker {
  grid-column: 1 / span 5; grid-row: 1;
  display: flex; align-items: center; gap: 14px; margin: 0;
  font: 600 .72rem/1.5 var(--sans); font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); max-width: 34ch;
}
.rule-line { flex: none; width: 48px; height: 1px; background: currentColor; }

.says { grid-column: 1 / span 5; grid-row: 2; align-self: center; margin: 4vh 0; max-width: 17em; }
.says blockquote { margin: 0; }
.says p {
  margin: 0; min-height: 2.3em;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem); line-height: 1.12; letter-spacing: -.01em;
}
.says p::before { content: '“'; color: var(--latex); margin-left: -.42em; }
.says p::after { content: '”'; color: var(--latex); }
.says p .caret { display: inline-block; width: .06em; height: .9em; margin-left: .06em; background: var(--latex); vertical-align: -.08em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.says figcaption {
  margin-top: 14px;
  font: 600 .66rem/1 var(--sans); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.says figcaption::before { content: '— '; color: var(--latex); }

.hero__title { grid-column: 1 / -1; grid-row: 3; margin: 0; display: flex; flex-direction: column; line-height: .8; pointer-events: none; }
.hero__findom, .hero__yourself { white-space: nowrap; }
.hero__findom {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(6.4rem, 21vw, 25rem);
  letter-spacing: -.05em; margin-left: -.045em;
  font-variation-settings: 'opsz' 96;
  text-shadow: 0 20px 80px rgba(0, 0, 0, .35);
}
.hero__yourself {
  font-family: var(--sans); font-stretch: 125%; font-weight: 800;
  font-size: clamp(3rem, 9.2vw, 11.4rem);
  letter-spacing: -.035em; text-transform: uppercase; line-height: .86;
  margin-top: .02em;
}
.hero__yourself i { font-style: normal; color: var(--latex); }

.hero__side {
  grid-column: 10 / -1; grid-row: 3; align-self: end;
  padding-bottom: 1.2vh;
}
.hero__intro { margin: 0 0 24px; color: var(--muted); font-size: clamp(.98rem, 1.05vw, 1.08rem); line-height: 1.6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.hero__stats {
  grid-column: 1 / -1; grid-row: 4;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 3.2vh 0 0; border-top: 1px solid var(--line-strong);
}
.hero__stats > div { padding: 16px 16px 0; border-left: 1px solid var(--line); }
.hero__stats > div:first-child { border-left: 0; padding-left: 0; }
.hero__stats dt, .vault__stats dt, .whip__counts dt, .modal__facts dt {
  font: 600 .64rem/1.3 var(--sans); font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero__stats dd { margin: 8px 0 0; font-family: var(--mono); font-size: clamp(1.02rem, 1.55vw, 1.5rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero__stats dd small { font-size: .62em; color: var(--muted); margin-left: .3em; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: calc(3vh + 90px);
  margin: 0; writing-mode: vertical-rl;
  font: 600 .6rem/1 var(--sans); font-stretch: 118%; letter-spacing: .24em; text-transform: uppercase; color: var(--dim);
  display: none;
}

@media (min-width: 1500px) and (min-height: 820px) { .hero__scroll { display: block; } }
@media (max-width: 1299px) and (min-width: 901px) {
  /* not enough room beside the headline: intro and buttons get their own row */
  .hero { grid-template-rows: auto 1fr auto auto auto; }
  .hero__yourself { font-size: clamp(3rem, 10vw, 12rem); }
  .hero__side { grid-column: 1 / -1; grid-row: 4; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 3vh 0 0; }
  .hero__intro { max-width: 52ch; margin: 0; }
  .hero__ctas { flex: none; }
  .hero__stats { grid-row: 5; }
  .says { grid-column: 1 / span 6; }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 2vh);
    min-height: 0;
  }
  .hero > * { grid-column: 1 !important; grid-row: auto !important; }
  .hero__anchor { position: relative; z-index: 0; inset: auto; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); height: clamp(260px, 44svh, 480px); order: 1; }
  .hero__kicker { order: 0; }
  .says { order: 2; margin: 0 0 28px; }
  .hero__title { order: 3; }
  .hero__side { order: 4; padding: 26px 0 0; max-width: 560px; }
  .hero__stats { order: 5; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .hero__stats > div { padding: 14px 0 14px 14px; border-bottom: 1px solid var(--line); }
  .hero__stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero__findom { font-size: clamp(5.4rem, 27vw, 13rem); }
  .hero__yourself { font-size: clamp(2.4rem, 12.2vw, 7rem); }
}

/* ───────────────────────── ribbons ───────────────────────── */

.ribbons { position: relative; height: clamp(170px, 24vw, 330px); margin: 2vh 0; overflow: hidden; pointer-events: none; }
.ribbon {
  position: absolute; left: -12%; right: -12%; top: 50%;
  padding: .72em 0;
  font: 800 clamp(1.05rem, 2.3vw, 2.2rem)/1 var(--sans); font-stretch: 125%; letter-spacing: .01em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden;
}
.ribbon--a {
  transform: translateY(-50%) rotate(-4.5deg);
  color: #1a0710;
  background: linear-gradient(180deg, #ff6f9c 0%, var(--latex) 38%, #e0175a 62%, #b30c45 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.ribbon--b {
  transform: translateY(-50%) rotate(3.5deg);
  color: var(--gold);
  background: linear-gradient(180deg, #1d1216, #0b0709 55%, #140c10);
  border-block: 1px solid rgba(233, 189, 102, .35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
}
.ribbon__track { display: inline-flex; will-change: transform; }
.ribbon__track span { padding: 0 .55em; }
.ribbon__track b { font-weight: 400; opacity: .7; }

/* ───────────────────────── rules + menu ───────────────────────── */

.rules { padding: var(--section-y) 0; }
.rules__list {
  list-style: none; margin: 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 56px);
}
.rule { position: relative; padding-top: 26px; border-top: 1px solid var(--line-strong); }
.rule:nth-child(2) { --d: .12s; }
.rule:nth-child(3) { --d: .24s; }
.rule__num {
  display: block; margin-bottom: 22px;
  font: 800 clamp(4.2rem, 8.5vw, 9rem)/.78 var(--sans); font-stretch: 125%; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 220, 232, .34);
  transition: -webkit-text-stroke-color .5s, color .5s;
}
.rule:hover .rule__num { -webkit-text-stroke-color: var(--latex); color: rgba(255, 46, 110, .08); }
.rule__title {
  margin: 0 0 12px;
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(2.3rem, 3.8vw, 3.9rem); line-height: 1; letter-spacing: -.02em;
}
.rule__body { margin: 0; max-width: 36ch; color: var(--muted); }
@media (max-width: 860px) { .rules__list { grid-template-columns: 1fr; } }

.menu {
  position: relative;
  margin: clamp(70px, 12vh, 140px) var(--gutter) 0;
  padding: clamp(26px, 4.4vw, 64px);
  border: 1px solid var(--line-strong); border-radius: 3px;
  outline: 1px solid var(--line); outline-offset: -12px;
  background: linear-gradient(180deg, rgba(24, 13, 18, .78), rgba(11, 7, 9, .7));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.menu__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px;
  padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line);
}
.menu__title { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -.02em; }
.menu__title em { font-style: italic; color: var(--gold); }
.menu__note { margin: 0; font-family: var(--display); font-style: italic; color: var(--muted); font-size: 1.1rem; }
.menu__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 5vw, 90px); }
.menu__col h4 {
  margin: 0 0 10px;
  font: 700 .68rem/1 var(--sans); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.menu__col--costs h4 { color: var(--latex); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(255, 220, 232, .05); }
.menu li .emo { flex: none; width: 1.5em; text-align: center; }
.menu li .name { min-width: 0; }
.menu li .dots { flex: 1; min-width: 18px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); }
.menu li .amt { flex: none; font-family: var(--mono); font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--gold); }
.menu__col--costs .amt { color: var(--latex); }
.menu li.is-featured .name { font-family: var(--display); font-style: italic; font-size: 1.2rem; }
@media (max-width: 760px) { .menu__cols { grid-template-columns: 1fr; } }

/* ───────────────────────── vault ───────────────────────── */

.vault {
  position: relative;
  padding: var(--section-y) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 3.2fr);
  gap: clamp(26px, 3.4vw, 64px);
  align-items: start;
}
.vault__stage { position: sticky; top: calc(var(--nav-h) + 3vh); aspect-ratio: 4 / 5; max-height: 82vh; }
.vault__anchor { position: absolute; inset: 0; }
.vault__caption {
  position: absolute; left: 0; right: 0; bottom: -6px; margin: 0; text-align: center;
  font: 500 .72rem/1.4 var(--mono); color: var(--muted); letter-spacing: .02em;
}
.vault__info .section-head { padding: 0; margin-bottom: clamp(24px, 4vh, 44px); }
.vault__info .section-title { font-size: clamp(3.4rem, 7.2vw, 8.4rem); }
.vault__balance {
  margin: 0 0 14px;
  font-family: var(--display); font-weight: 500; font-size: clamp(3.4rem, 6.4vw, 7.4rem);
  line-height: .9; letter-spacing: -.04em; font-variant-numeric: lining-nums tabular-nums;
  color: var(--gold); text-shadow: 0 0 60px rgba(233, 189, 102, .25);
  white-space: nowrap;
}
.vault__balance.is-debt { color: var(--latex); text-shadow: 0 0 60px rgba(255, 46, 110, .3); }
.vault__intro { margin: 0; color: var(--muted); max-width: 40ch; }
.vault__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 30px 0 34px; border-top: 1px solid var(--line-strong); }
.vault__stats > div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.vault__stats dd { margin: 6px 0 0; font-family: var(--mono); font-size: 1.12rem; font-variant-numeric: tabular-nums; }

.goal {
  padding: 22px; border: 1px solid var(--line-strong); border-radius: 6px;
  background: linear-gradient(160deg, rgba(42, 26, 33, .7), rgba(20, 12, 16, .55));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.goal.is-unlocked { border-color: rgba(233, 189, 102, .7); box-shadow: 0 0 0 1px rgba(233, 189, 102, .25), 0 30px 80px -30px rgba(233, 189, 102, .45); }
.goal__label { margin: 0 0 14px; font: 600 .64rem/1 var(--sans); font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.goal.is-unlocked .goal__label { color: var(--gold); }
.goal__item {
  width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 0; margin: 0 0 18px; border: 0; background: none; text-align: left; cursor: pointer;
}
.goal__thumb { width: 64px; height: 64px; border-radius: 4px; background: var(--porcelain); overflow: hidden; display: grid; place-items: center; }
.goal__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.goal__thumb .initial { font-family: var(--display); font-style: italic; font-size: 1.9rem; color: var(--ink-4); }
.goal__brand { display: block; font: 700 .62rem/1.3 var(--sans); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.goal__name { display: block; font-family: var(--display); font-style: italic; font-size: 1.3rem; line-height: 1.15; }
.goal__price { font-family: var(--mono); font-size: 1rem; color: var(--gold); }
.goal__meta { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 0; font: 500 .78rem/1.4 var(--mono); color: var(--muted); }
.goal__line { margin: 14px 0 0; font-family: var(--display); font-style: italic; font-size: 1.12rem; }
.goal__cta { margin-top: 16px; }

.receipt { position: relative; padding-top: 10px; }
.receipt__slot { height: 12px; margin: 0 -10px; border-radius: 6px; background: linear-gradient(180deg, #050304, #1d1217); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 220, 232, .1); }
.receipt__paper {
  position: relative; margin: -6px 6px 0; padding: 26px 18px 34px;
  background: var(--paper); color: #1c1216;
  font: 500 .74rem/1.55 var(--mono); letter-spacing: .01em;
  transform-origin: top center; transform: rotate(.8deg);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .75);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
}
.receipt__paper::before { /* thermal-paper sheen */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .6) 45%, transparent 60%), repeating-linear-gradient(0deg, rgba(0, 0, 0, .018) 0 1px, transparent 1px 3px);
}
.receipt__head { margin: 0; text-align: center; font-weight: 700; letter-spacing: .12em; }
.receipt__head b { display: block; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; }
.receipt__meta { margin: 8px 0 0; text-align: center; color: #6c5c63; }
.receipt hr { border: 0; border-top: 1px dashed #b8aab0; margin: 14px 0; }
.receipt__lines { list-style: none; margin: 0; padding: 0; }
.receipt__lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 5px 0; }
.receipt__lines .when { grid-column: 1 / -1; color: #8a7a80; font-size: .66rem; }
.receipt__lines .what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.receipt__lines .amt { font-weight: 700; }
.receipt__lines .amt.out { color: #c8124f; }
.receipt__lines .amt.in { color: #1c1216; }
.receipt__lines li.is-new { animation: print .9s steps(8) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.receipt__empty { margin: 0; text-align: center; color: #6c5c63; }
.receipt__total { display: flex; justify-content: space-between; margin: 0; font-weight: 700; font-size: .86rem; }
.receipt__barcode { height: 44px; margin: 16px 0 8px; }
.receipt__barcode svg { width: 100%; height: 100%; display: block; }
.receipt__foot { margin: 0; text-align: center; letter-spacing: .14em; font-size: .64rem; color: #6c5c63; }

@media (max-width: 1180px) {
  .vault { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .receipt { grid-column: 2; max-width: 420px; }
}
@media (max-width: 760px) {
  .vault { grid-template-columns: minmax(0, 1fr); }
  .vault__stage { position: relative; top: 0; width: 100%; aspect-ratio: 1 / 1; max-height: 66svh; order: 1; }
  .vault__info { order: 0; }
  .receipt { order: 2; grid-column: 1; width: 100%; max-width: 380px; justify-self: center; }
  .vault__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───────────────────────── the list ───────────────────────── */

.list { padding: var(--section-y) 0; }
.list__controls {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px;
  padding: 0 var(--gutter); margin-bottom: 30px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--cats { order: 3; flex-basis: 100%; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 15px; border-radius: 99px;
  border: 1px solid var(--line-strong); background: rgba(11, 7, 9, .45);
  font: 600 .66rem/1 var(--sans); font-stretch: 118%; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--ink); }
.chip .n { font-family: var(--mono); font-weight: 500; opacity: .7; letter-spacing: 0; }
.chips--cats .chip { min-height: 32px; font-size: .6rem; letter-spacing: .12em; }
.sort { display: inline-flex; align-items: center; gap: 10px; font: 600 .66rem/1 var(--sans); font-stretch: 118%; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.sort select {
  appearance: none; min-height: 38px; padding: 0 36px 0 14px; border-radius: 99px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 7, 9, .6) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23b59ba6' stroke-width='1.4'/></svg>") no-repeat right 14px center;
  font: 600 .72rem/1 var(--sans); letter-spacing: .04em; color: var(--text); cursor: pointer;
}
.sort select option { background: var(--ink-2); }

.grid {
  list-style: none; margin: 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 28px);
  grid-auto-flow: dense;
}
.list__empty { padding: 60px var(--gutter); text-align: center; font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--muted); }

.card { position: relative; perspective: 1000px; }
.card.is-entering { opacity: 0; transform: translate3d(0, 40px, 0); }
.card.is-shown { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.card__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease-out), border-color .4s, box-shadow .4s;
  will-change: transform;
}
.card:hover .card__inner { transition-duration: .2s, .4s, .4s; border-color: var(--line-strong); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.card__hit { position: absolute; inset: 0; z-index: 5; border: 0; background: none; cursor: pointer; border-radius: 6px; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: var(--porcelain); overflow: hidden; }
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 9%;
  mix-blend-mode: multiply;
  transform: scale(1.001); transition: transform 1.2s var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
  color: #3d2b33; text-align: center; padding: 12%;
}
.card__ph .initial { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(4rem, 9vw, 7.5rem); line-height: .8; color: #2a1a21; }
.card__ph .brand { font: 700 .6rem/1.4 var(--sans); font-stretch: 125%; letter-spacing: .24em; text-transform: uppercase; color: #6c5760; }
.card__frost {
  position: absolute; left: 0; right: 0; top: 0;
  height: calc((1 - var(--p, 0)) * 100%);
  display: grid; place-items: center;
  /* Clear glass, not frost: the photo stays in plain view (look, don't touch). */
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, rgba(20, 8, 14, .05), rgba(20, 8, 14, .14));
  transition: height 1.6s var(--ease-out);
}
.card__frost::after { /* the water line */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--latex), transparent);
  box-shadow: 0 0 14px 1px rgba(255, 46, 110, .7);
}
.card__lock {
  position: absolute; left: 50%; bottom: 0; z-index: 1;
  width: 44px; height: 44px; padding: 10px 11px 11px; border-radius: 50%;
  transform: translate(-50%, 50%);
  background: var(--porcelain); color: #2a1a21;
  box-shadow: 0 0 0 1px rgba(255, 46, 110, .55), 0 6px 18px rgba(0, 0, 0, .18);
}
.card__corner {
  position: absolute; top: 12px; z-index: 2;
  font: 600 .62rem/1 var(--mono); letter-spacing: .04em; color: #4a3940;
}
.card__corner--l { left: 12px; }
.card__corner--r { right: 12px; padding: 5px 7px; border-radius: 99px; background: rgba(255, 255, 255, .55); color: #1c1216; }
.card__stamp {
  position: absolute; z-index: 2; top: 14px; right: 12px;
  padding: 6px 10px 5px; border: 2px solid var(--gold-2); border-radius: 3px;
  font: 800 .7rem/1 var(--sans); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2);
  transform: rotate(7deg); background: rgba(255, 250, 240, .7);
}
.card__glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 45%);
  mix-blend-mode: soft-light; transition: opacity .4s;
}
.card:hover .card__glare { opacity: 1; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.card__brand { margin: 0 0 7px; font: 700 .62rem/1.3 var(--sans); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card__name { margin: 0; font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.12rem, 1.45vw, 1.45rem); line-height: 1.1; letter-spacing: -.005em; }
.card__variant { margin: 5px 0 0; font-size: .82rem; color: var(--dim); }
.card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.card__price { font-family: var(--mono); font-size: .95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card__price small { margin-left: 6px; font-size: .78em; color: var(--dim); }
.card__hours { font: 500 .72rem/1 var(--mono); color: var(--muted); white-space: nowrap; }
.card__bar { margin-top: 12px; height: 2px; }
.card[data-status="unlocked"] .card__inner { border-color: rgba(233, 189, 102, .55); box-shadow: 0 0 0 1px rgba(233, 189, 102, .2), 0 30px 80px -34px rgba(233, 189, 102, .55); }
.card[data-status="unlocked"] .card__hours { color: var(--gold); }
.card[data-status="unlocked"] .card__frost { height: 0; }
.card[data-status="claimed"] .card__media img { filter: grayscale(.5); }

@media (min-width: 1100px) { .card[data-priority="3"] { grid-column: span 2; } .card[data-priority="3"] .card__media { aspect-ratio: 8 / 5; } }
@media (max-width: 1280px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  /* one swipeable row of chips instead of a wall of them */
  .list__controls { gap: 12px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); max-width: calc(100% + 2 * var(--gutter)); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .sort { order: 4; }
  .goal__item { grid-template-columns: 56px minmax(0, 1fr); }
  .goal__thumb { width: 56px; height: 56px; }
  .goal__price { grid-column: 2; }
}
@media (max-width: 520px) {
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: 1.02rem; }
  .card__variant { display: none; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .card__corner--l { display: none; }
}

/* ───────────────────────── modal ───────────────────────── */

.modal {
  width: min(1120px, calc(100vw - 32px)); max-width: none;
  max-height: calc(100svh - 32px);
  padding: 0; border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--ink-2); color: var(--text);
  overflow: hidden;
}
.modal::backdrop { background: rgba(5, 3, 4, .76); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal[open] { animation: modal-in .7s var(--ease-out); }
.modal[open]::backdrop { animation: fade-in .5s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translate3d(0, 40px, 0) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }
.modal__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); min-height: min(660px, calc(100svh - 34px)); max-height: calc(100svh - 34px); }
.modal__media { position: relative; background: var(--porcelain); overflow: hidden; min-height: 320px; }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.modal__media .card__frost { transition: height 1.8s var(--ease-out) .2s; }
.modal__body { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 4vw, 52px); overflow: auto; }
.modal__brand { margin: 0; font: 700 .7rem/1.3 var(--sans); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.modal__title { margin: -6px 0 0; font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.02em; }
.modal__variant { margin: -6px 0 0; color: var(--dim); }
.modal__price { margin: 0; font-family: var(--mono); font-size: 1.5rem; }
.modal__price small { margin-left: 10px; font-size: .62em; color: var(--dim); }
.modal__line { margin: 0; font-family: var(--display); font-style: italic; font-size: 1.25rem; line-height: 1.3; }
.modal__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 4px 0; border-top: 1px solid var(--line); }
.modal__facts > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.modal__facts dd { margin: 5px 0 0; font-family: var(--mono); font-size: .98rem; }
.modal__note { margin: 0; padding: 14px 16px; border-left: 2px solid var(--latex); background: rgba(255, 46, 110, .06); color: var(--muted); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.modal__close, .modal__nav {
  position: absolute; z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(11, 7, 9, .7); color: var(--text);
  display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; line-height: 1;
  transition: background-color .3s, color .3s;
}
.modal__close:hover, .modal__nav:hover { background: var(--text); color: var(--ink); }
.modal__close { top: 14px; right: 14px; }
.modal__nav--prev { left: 14px; bottom: 14px; }
.modal__nav--next { left: 66px; bottom: 14px; }
@media (max-width: 760px) {
  .modal { width: 100vw; height: 100svh; max-height: 100svh; margin: 0; border: 0; border-radius: 0; }
  .modal__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: 100%; max-height: none; }
  .modal__media { aspect-ratio: 1 / 1; min-height: 0; max-height: 46svh; }
}

/* ───────────────────────── trophy wall ───────────────────────── */

.trophies { padding: var(--section-y) 0; }
.wall {
  list-style: none; margin: 0; padding: 20px var(--gutter) 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(26px, 4vw, 64px);
}
.trophy {
  position: relative; width: clamp(200px, 22vw, 290px);
  padding: 14px 14px 22px; background: #f7f3ec; color: #1c1216;
  transform: rotate(var(--r, -2deg)); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8);
  transition: transform .6s var(--ease-back);
}
.trophy:hover { transform: rotate(0deg) scale(1.04); }
.trophy::before {
  content: ''; position: absolute; top: -13px; left: 50%; width: 96px; height: 28px;
  transform: translateX(-50%) rotate(var(--t, -4deg));
  background: linear-gradient(90deg, rgba(255, 46, 110, .82), rgba(255, 92, 141, .78));
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.trophy__img { position: relative; aspect-ratio: 1 / 1; background: var(--porcelain); overflow: hidden; }
.trophy__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.trophy__stamp {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-14deg);
  padding: 6px 12px 5px; border: 3px solid var(--latex); border-radius: 4px;
  font: 800 1.2rem/1 var(--sans); font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase;
  color: var(--latex); mix-blend-mode: multiply; opacity: .9;
}
.trophy__brand { margin: 12px 0 0; font: 700 .6rem/1.3 var(--sans); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; color: #7a6870; }
.trophy__name { margin: 4px 0 6px; font-family: var(--display); font-style: italic; font-size: 1.18rem; line-height: 1.15; }
.trophy__meta { margin: 0; font: 500 .7rem/1.45 var(--mono); color: #6c5c63; }
.wall__empty { display: grid; justify-items: center; gap: 26px; width: 100%; text-align: center; }
.wall__frames { display: flex; gap: clamp(16px, 3vw, 40px); justify-content: center; flex-wrap: wrap; }
.wall__frame { width: clamp(120px, 16vw, 210px); aspect-ratio: 4 / 5; border: 1px dashed var(--line-strong); display: grid; place-items: center; transform: rotate(var(--r, -2deg)); color: var(--dim); font-family: var(--display); font-style: italic; font-size: 2.4rem; }
.wall__line { margin: 0; max-width: 30ch; font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.25; color: var(--muted); }

/* ───────────────────────── whip ───────────────────────── */

.whip {
  position: relative;
  min-height: 100svh;
  padding: var(--section-y) var(--gutter) clamp(40px, 6vh, 80px);
  display: grid; grid-template-rows: auto minmax(44vh, 1fr) auto; gap: 20px;
  overflow: hidden;
}
.whip__head { max-width: 980px; }
.whip__title {
  margin: 0 0 18px;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(3.8rem, 12vw, 13rem); line-height: .84; letter-spacing: -.045em;
}
.whip__intro { margin: 0; max-width: 44ch; color: var(--muted); font-size: 1.08rem; }
.whip__arena { position: relative; touch-action: pan-y; }
html.gl-ready:not(.no-webgl) .whip__arena { cursor: none; }
.whip__grab { position: absolute; z-index: 2; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; touch-action: none; cursor: grab; }
.whip__grab::after { content: ''; position: absolute; inset: 18px; border-radius: 50%; border: 1px dashed rgba(255, 220, 232, .45); animation: spin 8s linear infinite; }
.whip__grab.is-held { cursor: grabbing; }
.whip__grab.is-held::after { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.whip__hint {
  position: absolute; left: 50%; top: 2%; transform: translateX(-50%); margin: 0;
  font: 600 .7rem/1 var(--sans); font-stretch: 125%; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  pointer-events: none; transition: opacity .6s; white-space: nowrap;
}
.whip__hint.is-gone { opacity: 0; }
.whip__live {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); margin: 0;
  padding: 10px 16px; border-radius: 99px; border: 1px solid rgba(255, 46, 110, .6); background: rgba(11, 7, 9, .6);
  font: 600 .7rem/1.3 var(--sans); letter-spacing: .08em; text-align: center;
}
.whip__footer { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.whip__counts { display: flex; gap: clamp(22px, 4vw, 64px); margin: 0; }
.whip__counts dd { margin: 6px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.whip__counts div:first-child dd { color: var(--latex); }
.whip.is-shaking .whip__head, .whip.is-shaking .whip__footer { animation: shake .38s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 1px, 0); }
  20%, 80% { transform: translate3d(4px, -2px, 0); }
  30%, 50%, 70% { transform: translate3d(-7px, 2px, 0); }
  40%, 60% { transform: translate3d(7px, -1px, 0); }
}

.pops { position: fixed; inset: 0; z-index: 70; pointer-events: none; overflow: hidden; }
.pop {
  position: absolute; left: 0; top: 0;
  font: 900 clamp(2.4rem, 6.4vw, 5.6rem)/1 var(--sans); font-stretch: 125%; letter-spacing: -.03em; text-transform: uppercase;
  color: var(--latex); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  white-space: nowrap; animation: pop 1s var(--ease-out) forwards;
}
.pop.is-gold { color: var(--gold); }
@keyframes pop {
  0% { transform: translate(-50%, -50%) scale(.2) rotate(var(--r, -8deg)); opacity: 0; }
  14% { transform: translate(-50%, -50%) scale(1.18) rotate(var(--r, -8deg)); opacity: 1; }
  30% { transform: translate(-50%, -55%) scale(1) rotate(var(--r, -8deg)); }
  100% { transform: translate(-50%, -150%) scale(.92) rotate(var(--r, -8deg)); opacity: 0; }
}

/* ───────────────────────── footer ───────────────────────── */

.footer {
  padding: clamp(90px, 16vh, 180px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer__big {
  margin: 0 0 clamp(44px, 8vh, 110px); max-width: 16ch;
  font: 800 clamp(2.6rem, 7.6vw, 9.4rem)/.9 var(--sans); font-stretch: 125%; letter-spacing: -.04em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.2px rgba(246, 236, 230, .5);
  transition: color .8s var(--ease-out);
}
.footer__big:hover { color: var(--latex); -webkit-text-stroke-color: var(--latex); }
.footer__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.footer__fine { margin: 0; max-width: 62ch; color: var(--muted); font-size: .92rem; }
.footer__links { display: flex; gap: 26px; }
.footer__links a { font: 600 .68rem/1 var(--sans); font-stretch: 118%; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color .3s; }
.footer__links a:hover { color: var(--latex); }
.footer__credit {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin: 44px 0 0;
  font: 600 .62rem/1.4 var(--sans); font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
}

/* ───────────────────────── toast ───────────────────────── */

.toast {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 130;
  max-width: calc(100vw - 32px); padding: 13px 20px; border-radius: 99px;
  background: var(--text); color: var(--ink);
  font: 600 .82rem/1.35 var(--sans); text-align: center;
  transform: translate3d(-50%, calc(100% + 60px), 0); visibility: hidden;
  transition: transform .6s var(--ease-out), visibility 0s .6s;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.toast.is-on { transform: translate3d(-50%, 0, 0); visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }

/* ───────────────────────── private gate + no-JS ───────────────────────── */

.gatepage {
  min-height: 100svh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(80% 60% at 70% 10%, rgba(120, 18, 52, .5), transparent 60%), var(--ink);
}
.passgate {
  width: min(430px, 100%); display: grid; gap: 14px; padding: clamp(28px, 6vw, 44px);
  border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(20, 12, 16, .85);
}
.passgate h1 { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3em; font-weight: 500; }
.passgate h1 em { font-family: var(--display); font-size: 2.8rem; }
.passgate h1 span { font-stretch: 125%; font-weight: 800; font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; }
.passgate p { margin: 0; color: var(--muted); }
.passgate .eyebrow { margin: 0; }
.passgate label { font: 600 .66rem/1 var(--sans); font-stretch: 118%; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.passgate input { min-height: 50px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--ink); font-size: 16px; }
.passgate__error { color: var(--latex) !important; }

.noscript { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 40px var(--gutter); }

/* ───────────────────────── motion + fallbacks ───────────────────────── */

html.no-webgl .hero__anchor,
html.no-webgl .vault__anchor { background: center / contain no-repeat; }
html.no-webgl .hero__anchor { background-image: url('../assets/img/card-still.webp'); }
html.no-webgl .vault__anchor { background-image: url('../assets/img/jar-still.webp'); }
html.no-webgl .whip__grab { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  html.js [data-reveal], .split .c, .card.is-entering { opacity: 1; transform: none; }
  .grain { animation: none; }
}
