/* =========================================================
   CryptoLinebet - V3 Subway Stencil / Wheatpaste Zine
   Paper-light default. Dark zine variant via [data-theme="dark"].
   ========================================================= */

:root {
  --paper: #efe7d6;
  --paper-deep: #e6dcc6;
  --ink: #0e0e0c;
  --ink-soft: #1a1a16;
  --red: #e8361a;
  --red-deep: #c82a11;
  --grey: #9a958a;
  --grey-soft: #c7c0b2;
  --tape: rgba(232, 210, 120, 0.55);
  --tape-edge: rgba(232, 210, 120, 0.25);
  --shadow-warm: rgba(40, 24, 10, 0.14);
  --shadow-soft: rgba(40, 24, 10, 0.08);

  --f-display: "Bungee", "Rubik Mono One", Impact, sans-serif;
  --f-typewriter: "Special Elite", "Courier Prime", ui-monospace, monospace;
  --f-body: "IBM Plex Mono", "Courier Prime", ui-monospace, monospace;
  --f-marker: "Permanent Marker", "Bradley Hand", cursive;

  --maxw: 1240px;
}

/* Dark zine variant: ink bg, cream text, paper stays on surfaces */
[data-theme="dark"] {
  --paper: #0e0e0c;
  --paper-deep: #1a1a16;
  --ink: #efe7d6;
  --ink-soft: #d4cab4;
  --grey: #7a756a;
  --grey-soft: #4a463d;
  --shadow-warm: rgba(0, 0, 0, 0.5);
  --shadow-soft: rgba(0, 0, 0, 0.3);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  filter: contrast(1.05) saturate(0.95);
  -webkit-font-smoothing: antialiased;
}

/* Paper fiber noise + xerox horizontal streaks */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.05  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: multiply;
}
[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: 0.18; }
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    repeating-linear-gradient(0deg, rgba(14,14,12,0.025) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(14,14,12,0.015) 0 1px, transparent 1px 9px);
}
[data-theme="dark"] body::after { opacity: 0.2; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; letter-spacing: 0.02em; margin: 0 0 0.5em; line-height: 1; }
p  { margin: 0 0 1rem; }
a  { color: inherit; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.mono  { font-family: var(--f-body); }
.type  { font-family: var(--f-typewriter); }
.marker{ font-family: var(--f-marker); }
.caps  { text-transform: uppercase; letter-spacing: 0.08em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 3; }

/* ---------- Disclosure bar ---------- */
.disclosure {
  position: relative; z-index: 3;
  background: var(--paper-deep);
  border-bottom: 1px dashed rgba(14,14,12,0.35);
  font-family: var(--f-body);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 24px;
  text-align: center;
}
[data-theme="dark"] .disclosure { border-bottom-color: rgba(239,231,214,0.25); }
.disclosure b { color: var(--red-deep); font-weight: 700; }

/* ---------- Ticker (restyled as black newspaper strip) ---------- */
.crypto-ticker, .ticker {
  position: relative; z-index: 3;
  background: #0e0e0c;
  color: #efe7d6;
  overflow: hidden;
  border-top: 2px solid #0e0e0c;
  border-bottom: 2px solid #0e0e0c;
  box-shadow: 0 4px 0 -2px rgba(14,14,12,0.3);
  mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}
.crypto-ticker .ticker-track, .ticker .ticker-track {
  display: flex; gap: 36px;
  padding: 10px 24px;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.crypto-ticker .ticker-track::-webkit-scrollbar { display: none; }
.crypto-ticker .ticker-cell {
  display: inline-flex; gap: 8px; align-items: baseline;
  min-width: 120px;
  flex: 0 0 auto;
}
.crypto-ticker .sym { font-weight: 700; }
.crypto-ticker .price { opacity: 0.95; }
.crypto-ticker .chg { font-weight: 700; }
.crypto-ticker .chg.up { color: #d4efc7; }
.crypto-ticker .chg.dn { color: #f4b6aa; }
.ticker span.up { color: #d4efc7; }
.ticker span.dn { color: #f4b6aa; }
.ticker .sep { opacity: 0.4; }
.ticker b { font-weight: 700; margin-right: 6px; }

/* ---------- Site header (top bar) ---------- */
.site-header {
  position: sticky; top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: none;
}
.site-header__row {
  display: flex; align-items: center; gap: 14px;
  min-height: 58px;
  padding-top: 8px; padding-bottom: 8px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-family: var(--f-display);
  font-size: 18px; letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.site-logo svg { flex: 0 0 auto; }

.nav-desktop {
  display: none;
  gap: 22px; align-items: center;
  margin-left: 16px;
}
.nav-desktop a {
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-desktop a:hover { border-bottom-color: var(--red); color: var(--red); }

.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 2px solid transparent;
  color: var(--ink);
  padding: 0;
  border-radius: 0;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }

.lang-wrap { position: relative; }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 -1px var(--shadow-warm);
  display: none;
  min-width: 180px;
  padding: 6px 0;
}
.lang-wrap.open .lang-menu { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: left;
  background: none; border: 0;
  padding: 12px 16px;
  min-height: 44px;
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.lang-menu button:hover { background: var(--paper-deep); }
.lang-menu .stub {
  margin-left: 8px; font-size: 10px; letter-spacing: 0.18em;
  color: var(--red-deep); text-transform: uppercase;
}

.btn-pill, .header-cta-pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px;
  padding: 0 18px;
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  background: var(--red);
  border: 2px solid var(--red);
  transform: rotate(-0.6deg);
  transition: transform 0.15s ease;
}
.btn-pill:hover { transform: rotate(-0.6deg) translateY(-2px); }
.hamburger { display: inline-flex; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .hamburger { display: none; }
}
@media (max-width: 899px) {
  .nav-desktop { display: none; }
  .header-cta-pill { display: none; }
}

/* Mobile menu full-screen overlay */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--paper);
  z-index: 100;
  padding: 80px 24px 32px;
  display: none;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.05  0 0 0 0.15 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.35;
}
.mobile-menu a {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 16px 4px;
  min-height: 56px;
  border-bottom: 1px dashed rgba(14,14,12,0.25);
  display: flex; align-items: center;
  position: relative; z-index: 1;
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu .mobile-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px;
  border: 2px solid var(--ink); background: transparent;
  font-family: var(--f-display);
  font-size: 16px;
  z-index: 2;
  color: var(--ink);
}

/* ---------- Masthead (content below sticky header) ---------- */
.masthead {
  position: relative; z-index: 3;
  padding: 44px 0 18px;
  border-bottom: 3px double var(--ink);
}
.masthead .wrap { text-align: center; position: relative; }
.masthead h1, .masthead .wordmark {
  font-family: var(--f-display, 'Playfair Display', 'Times New Roman', serif);
  font-weight: 900;
  font-size: clamp(32px, 8.2vw, 96px);
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-shadow: 2px 2px 0 rgba(14,14,12,0.08);
  white-space: nowrap;
  margin: 0;
  color: var(--ink);
}
.masthead .tag {
  margin-top: 14px;
  font-family: var(--f-typewriter);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.masthead .tag .dot { margin: 0 10px; opacity: 0.5; }

.masthead .rules {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 10px;
}
.masthead .rules .r { flex: 1; height: 1px; background: var(--ink); max-width: 120px; opacity: 0.6; }
.masthead .rules .r.thick { height: 3px; }
.masthead .mast-stamp-l { position: absolute; left: 24px;  top: 8px; z-index: 5; }
.masthead .mast-stamp-r { position: absolute; right: 24px; top: 8px; z-index: 5; left: auto; }

/* ---------- Rubber stamp ---------- */
.stamp {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  border: 3px solid currentColor;
  color: var(--red-deep);
  transform: rotate(-6deg);
  opacity: 0.9;
  filter: blur(0.3px) contrast(1.1);
  text-transform: uppercase;
  position: relative;
  background: transparent;
  line-height: 1;
}
.stamp::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='60'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
  opacity: 0.6;
  pointer-events: none;
}
.stamp.black { color: var(--ink); }
.stamp.small { font-size: 11px; padding: 5px 9px; border-width: 2px; }
.stamp.rot-l { transform: rotate(-8deg); }
.stamp.rot-r { transform: rotate(7deg); }
.stamp.rot-s { transform: rotate(-3deg); }

/* Scroll reveal for stamps */
.stamp.reveal { opacity: 0; transform: rotate(-4deg) scale(1.4); transition: opacity 0.3s ease, transform 0.35s cubic-bezier(.2,.7,.3,1); }
.stamp.reveal.in { opacity: 0.9; }
.stamp.reveal.in.rot-l { transform: rotate(-8deg) scale(1); }
.stamp.reveal.in.rot-r { transform: rotate(7deg) scale(1); }
.stamp.reveal.in.rot-s { transform: rotate(-3deg) scale(1); }
.stamp.reveal.in { transform: rotate(-6deg) scale(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 3;
  padding: 70px 0 90px;
}
.hero .kicker, .eyebrow {
  font-family: var(--f-typewriter);
  font-size: 12px; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
  display: flex; gap: 10px; align-items: center;
}
.hero .kicker::before, .eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--red); flex: 0 0 28px;
}
.hero h1, .hero h2 {
  font-size: clamp(40px, 8vw, 108px);
  line-height: 0.88;
  max-width: 17ch;
  letter-spacing: 0.005em;
  margin: 0;
}
.hero h1 .u, .hero h2 .u {
  position: relative; display: inline-block;
  padding: 0 6px;
}
.hero h1 .u::after, .hero h2 .u::after {
  content: "";
  position: absolute;
  left: -4px; right: -6px;
  bottom: -4px;
  height: 22px;
  background: var(--red);
  z-index: -1;
  transform: skewX(-6deg) rotate(-1.2deg);
  clip-path: polygon(
    0% 30%, 4% 10%, 12% 40%, 22% 15%, 34% 45%, 48% 18%,
    60% 42%, 72% 12%, 84% 44%, 94% 20%, 100% 38%,
    100% 78%, 92% 100%, 78% 80%, 66% 100%, 52% 78%,
    40% 100%, 26% 82%, 14% 100%, 4% 82%, 0% 100%
  );
  filter: blur(0.4px);
  opacity: 0.9;
}
.hero h1 .u .drip, .hero h2 .u .drip {
  position: absolute; top: 100%; width: 4px; background: var(--red);
  filter: blur(0.4px);
}
.hero .u .d1 { left: 18%; height: 14px; }
.hero .u .d2 { left: 52%; height: 20px; }
.hero .u .d3 { left: 78%; height: 9px; }

.hero .sub, .hero .lead {
  margin-top: 28px;
  max-width: 58ch;
  font-family: var(--f-typewriter);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero .ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

/* ---------- CTAs ---------- */
.cta-spray, .btn-primary {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.09em;
  color: var(--paper);
  background: var(--red);
  padding: 16px 26px;
  min-height: 48px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  text-transform: uppercase;
  transform: rotate(-0.6deg);
  clip-path: polygon(
    1% 10%, 6% 2%, 14% 8%, 22% 1%, 34% 6%, 46% 0%,
    58% 5%, 70% 1%, 82% 7%, 92% 2%, 99% 10%,
    100% 90%, 94% 100%, 82% 92%, 70% 100%, 58% 94%,
    46% 100%, 34% 92%, 22% 100%, 12% 94%, 2% 100%, 0% 90%
  );
  transition: transform 0.18s ease;
}
.cta-spray::before, .btn-primary::before {
  content: "";
  position: absolute;
  inset: -6px;
  background:
    radial-gradient(circle at 10% 50%, var(--red) 1px, transparent 2px),
    radial-gradient(circle at 92% 30%, var(--red) 1.2px, transparent 2.5px),
    radial-gradient(circle at 50% 110%, var(--red) 1px, transparent 2px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
.cta-spray::after, .btn-primary::after {
  content: "";
  position: absolute;
  left: 28%; top: 100%;
  width: 6px;
  height: 6px;
  background: var(--red);
  transition: height 0.25s ease;
  border-radius: 0 0 3px 3px;
}
.cta-spray:hover, .btn-primary:hover { transform: rotate(-0.6deg) translateY(-2px); }
.cta-spray:hover::after, .btn-primary:hover::after { height: 22px; }

.cta-outline, .btn-ghost, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.09em;
  color: var(--ink);
  background: transparent;
  padding: 14px 24px;
  min-height: 48px;
  text-decoration: none;
  border: 2px solid var(--ink);
  text-transform: uppercase;
  transform: rotate(0.5deg);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.cta-outline:hover, .btn-ghost:hover, .btn-secondary:hover {
  transform: rotate(0.5deg) translateY(-2px);
  background: var(--ink); color: var(--paper);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn.btn-primary {
  color: var(--paper);
  background: var(--red);
  border: 0;
}

/* Hero marginalia */
.hero .marg, .marg-note {
  position: absolute;
  font-family: var(--f-marker);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
  transform: rotate(-6deg);
  max-width: 180px;
  z-index: 4;
}
.hero .marg-1 { top: 80px; right: 3%; transform: rotate(6deg); }
.hero .marg-arrow { display: block; margin-top: 4px; width: 60px; height: 36px; }

/* ---------- Torn paper divider ---------- */
.torn {
  height: 26px;
  background: var(--ink);
  position: relative;
  margin: 40px 0 0;
  clip-path: polygon(
    0 0, 3% 60%, 7% 20%, 12% 70%, 17% 30%, 22% 80%, 28% 25%,
    34% 65%, 40% 15%, 46% 70%, 52% 35%, 58% 80%, 64% 20%,
    70% 60%, 76% 25%, 82% 75%, 88% 30%, 94% 65%, 100% 15%,
    100% 100%, 0 100%
  );
}
.torn.inv {
  background: var(--paper);
  clip-path: polygon(
    0 100%, 3% 40%, 7% 80%, 12% 30%, 17% 70%, 22% 20%, 28% 75%,
    34% 35%, 40% 85%, 46% 30%, 52% 65%, 58% 20%, 64% 80%,
    70% 40%, 76% 75%, 82% 25%, 88% 70%, 94% 35%, 100% 85%,
    100% 0, 0 0
  );
}

/* ---------- Section headers ---------- */
.section-label {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--f-typewriter);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.section-label::before { content:""; width: 40px; height: 2px; background: var(--ink); flex: 0 0 40px; }
.section-title {
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.92;
  margin-bottom: 36px;
}
.section-head { margin-bottom: 28px; }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.95;
  margin: 0 0 10px;
}

/* ---------- Brand cards ("The Four") ---------- */
.four, .section-brands {
  position: relative; z-index: 3;
  padding: 72px 0 90px;
  background: var(--paper);
}
.four .section-title .u::after {
  content: "";
  display: inline-block;
  width: 52px; height: 18px; margin-left: 8px;
  background: var(--red);
  vertical-align: 6px;
  clip-path: polygon(
    0% 40%, 10% 10%, 25% 50%, 40% 15%, 55% 45%, 72% 12%, 88% 48%, 100% 20%,
    100% 80%, 86% 100%, 70% 78%, 54% 100%, 38% 80%, 22% 100%, 8% 82%, 0% 100%
  );
}

.grid-four, .brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px 56px;
}
@media (min-width: 680px) {
  .grid-four, .brand-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .grid-four, .brand-grid { grid-template-columns: repeat(4, 1fr); gap: 44px 32px; }
}

.card, .brand-card {
  position: relative;
  background: var(--paper-deep);
  color: var(--ink);
  padding: 28px 24px 26px;
  box-shadow: 6px 8px 0 -2px var(--shadow-warm), 14px 18px 30px -10px rgba(40,24,10,0.35);
  transition: transform 0.28s cubic-bezier(.2,.7,.3,1), box-shadow 0.28s ease;
  min-height: 340px;
  display: flex; flex-direction: column;
  will-change: transform;
}
.card.c1, .brand-card.c1 { transform: rotate(-2.6deg); }
.card.c2, .brand-card.c2 { transform: rotate(1.8deg); }
.card.c3, .brand-card.c3 { transform: rotate(-1.3deg); }
.card.c4, .brand-card.c4 { transform: rotate(2.2deg); }
.card:hover, .brand-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 10px 14px 0 -2px var(--shadow-warm), 22px 28px 44px -10px rgba(40,24,10,0.45);
}

.card::before, .brand-card::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.05  0 0 0 0.14 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.6;
}
[data-theme="dark"] .card::before, [data-theme="dark"] .brand-card::before { mix-blend-mode: screen; opacity: 0.2; }

/* Masking tape */
.tape {
  position: absolute;
  width: 92px; height: 22px;
  background:
    repeating-linear-gradient(90deg, rgba(210,180,80,0.15) 0 6px, rgba(210,180,80,0.04) 6px 12px),
    var(--tape);
  box-shadow: 0 2px 4px rgba(40,24,10,0.18);
  z-index: 2;
  mix-blend-mode: multiply;
}
.tape::before, .tape::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 6px;
  background: inherit;
}
.tape::before { left: -4px; clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%); }
.tape::after  { right: -4px; clip-path: polygon(0 0, 100% 20%, 100% 80%, 0 100%); }

.card .tape.tl, .brand-card .tape.tl { top: -12px; left: -20px; transform: rotate(-24deg); }
.card .tape.br, .brand-card .tape.br { bottom: -12px; right: -20px; transform: rotate(-24deg); }
.card.c2 .tape.tl, .brand-card.c2 .tape.tl { left: auto; right: -18px; top: -12px; transform: rotate(22deg); }
.card.c2 .tape.br, .brand-card.c2 .tape.br { right: auto; left: -20px; bottom: -10px; transform: rotate(22deg); }
.card.c4 .tape.tl, .brand-card.c4 .tape.tl { left: auto; right: -18px; top: -12px; transform: rotate(18deg); }
.card.c4 .tape.br, .brand-card.c4 .tape.br { right: auto; left: -20px; bottom: -10px; transform: rotate(18deg); }

.card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; margin-bottom: 14px;
  position: relative; z-index: 1;
}
.card-brand {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  max-width: 8ch;
  text-transform: uppercase;
}

/* Rating red spray circle */
.rating, .rating-circle {
  position: relative;
  width: 72px; height: 72px;
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-4deg);
}
.rating .ring, .rating-circle .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18) 0 6%, transparent 10%),
    radial-gradient(circle at center, var(--red) 60%, var(--red-deep) 100%);
  clip-path: polygon(
    50% 0%, 62% 4%, 72% 10%, 82% 18%, 90% 28%, 96% 40%, 100% 50%,
    96% 62%, 90% 72%, 82% 82%, 72% 90%, 62% 96%, 50% 100%,
    38% 96%, 28% 90%, 18% 82%, 10% 72%, 4% 62%, 0% 50%,
    4% 40%, 10% 28%, 18% 18%, 28% 10%, 38% 4%
  );
  filter: blur(0.3px);
}
.rating .halftone, .rating-circle .halftone {
  position: absolute; inset: 5px;
  border-radius: 50%;
  background-image: radial-gradient(rgba(14,14,12,0.45) 1.1px, transparent 1.4px);
  background-size: 6px 6px;
  opacity: 0.28;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.rating .num, .rating-circle .num {
  position: relative; z-index: 1;
  font-family: var(--f-display);
  color: #efe7d6;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
}

.card-summary, .brand-card__tagline {
  font-family: var(--f-typewriter);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 2px 0 14px;
  position: relative; z-index: 1;
}
.brand-card__bonus {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin: 0 0 10px;
  position: relative; z-index: 1;
}

.card-facts, .brand-card__facts {
  list-style: none; padding: 0; margin: 0 0 18px;
  font-family: var(--f-body);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  position: relative; z-index: 1;
  display: block;
}
.card-facts li {
  display: flex; gap: 10px;
  padding: 6px 0;
  border-top: 1px dotted rgba(14,14,12,0.35);
}
.card-facts li:last-child { border-bottom: 1px dotted rgba(14,14,12,0.35); }
.card-facts .k {
  text-transform: uppercase;
  color: var(--grey);
  min-width: 72px;
  font-weight: 500;
}
.card-facts .v { color: var(--ink); flex: 1; }

.brand-card__facts .fact-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px;
  margin: 0 6px 6px 0;
  border: 1px dotted rgba(14,14,12,0.4);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.brand-card__facts .fact-pill svg { width: 12px; height: 12px; }

.promo-chip {
  font-family: var(--f-typewriter);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
  display: flex; align-items: center; gap: 10px;
  position: relative; z-index: 1;
}
.promo-chip strong {
  font-family: var(--f-display);
  color: var(--red-deep);
  letter-spacing: 0.08em;
  font-weight: 400;
}
.promo-chip button {
  background: transparent;
  border: 1px dashed var(--ink);
  padding: 4px 10px;
  min-height: 32px;
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-card__cta {
  margin-top: auto;
  display: flex; gap: 10px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.brand-card__cta .btn { min-height: 44px; }

.card-go {
  margin-top: auto;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  align-self: flex-start;
  padding: 4px 0;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  position: relative; z-index: 1;
}
.card-go:hover { color: var(--red); border-color: var(--red); transform: translateX(4px); }

.marg-new {
  top: -36px; left: -12px;
  transform: rotate(-10deg);
  color: var(--red);
}
.marg-rollover {
  bottom: -42px; right: -16px;
  transform: rotate(4deg);
  max-width: 160px;
  text-align: right;
}

/* Brand card strip (accent border top) */
.brand-card__strip {
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.brand-card__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 6px 0 12px;
  position: relative; z-index: 1;
}
.brand-card__logo img { height: 28px; width: auto; }
.rating-pill {
  display: inline-flex; align-items: baseline; gap: 4px;
  padding: 6px 10px;
  background: var(--paper);
  border: 2px solid var(--ink);
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.04em;
}
.rating-pill.amber { border-color: #b88a20; color: #b88a20; }
.rating-pill.red { border-color: var(--red); color: var(--red-deep); }

/* ---------- Odds widget (classified-ad grid) ---------- */
.odds-section, .match {
  position: relative; z-index: 3;
  padding: 64px 0 80px;
}
.odds-table-wrap, .match-wrap {
  border: 2px solid var(--ink);
  padding: 0;
  background: var(--paper-deep);
  box-shadow: 8px 10px 0 -2px var(--shadow-warm);
  position: relative;
  overflow-x: auto;
}
.odds-table-wrap::before, .match-wrap::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(14,14,12,0.4);
  pointer-events: none;
}

.odds-table, .match-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--f-body);
  min-width: 540px;
}
.odds-table th, .odds-table td, .match-table th, .match-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13.5px;
  border-top: 1px dotted rgba(14,14,12,0.5);
  background: transparent;
}
.odds-table th, .match-table th {
  font-family: var(--f-typewriter);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 400;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.odds-table td.book, .match-table td.brand {
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.odds-table td.book img { display: inline-block; vertical-align: middle; margin-right: 6px; }
.odds-table td.odd-cell {
  font-weight: 700;
  font-size: 15px;
}
.odds-table td.odd-cell.best, .match-table td .odd.best {
  color: var(--red-deep);
  position: relative;
}
.odds-table td.odd-cell.best::before, .match-table td .odd.best::before {
  content: "";
  position: absolute;
  inset: 4px 6px;
  border: 2px solid var(--red);
  border-radius: 50%;
  transform: rotate(-6deg) scale(1.05, 1.15);
  filter: blur(0.3px);
  opacity: 0.9;
  pointer-events: none;
}
.best-pill { display: none; }

.odds-scroll-hint {
  font-family: var(--f-typewriter);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft);
  padding: 8px 12px;
  display: none;
}

@media (max-width: 720px) {
  .odds-scroll-hint { display: block; }
  .odds-table, .match-table { min-width: 560px; }
}

.match-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 26px;
  border-bottom: 2px solid var(--ink);
  flex-wrap: wrap; gap: 12px;
}
.match-head .left { font-family: var(--f-display); font-size: 13px; letter-spacing: 0.24em; }
.match-head .right {
  font-family: var(--f-typewriter);
  font-size: 12px; letter-spacing: 0.2em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.match-title {
  padding: 24px 20px 8px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.match-title h3 {
  font-size: clamp(26px, 4.2vw, 48px);
  line-height: 0.95;
  max-width: 16ch;
  margin: 0;
}

.match-foot {
  padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 2px solid var(--ink);
  background: var(--paper);
  font-family: var(--f-typewriter);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-wrap: wrap; gap: 10px;
}

.marg-check {
  position: absolute;
  top: -38px; right: 40px;
  font-family: var(--f-marker);
  color: var(--red);
  font-size: 20px;
  transform: rotate(-4deg);
  z-index: 4;
  max-width: 200px;
  line-height: 1.1;
}

/* ---------- Compare page specifics ---------- */
.compare-filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 24px 0 20px;
  font-family: var(--f-typewriter);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
}
.compare-filters .label { color: var(--ink-soft); margin-right: 6px; }
.filter-pill {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 -1px var(--shadow-warm);
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transform: rotate(-1.2deg);
}
.filter-pill:nth-child(even) { transform: rotate(0.8deg); }
.filter-pill.active {
  background: var(--ink); color: var(--paper);
}
.filter-pill:hover { transform: rotate(0) translateY(-1px); }

.sort-control select {
  min-height: 44px;
  padding: 10px 12px;
  font-family: var(--f-body);
  font-size: 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  color: var(--ink);
}

/* ---------- FAQ accordion ---------- */
.faq-list, .faq { max-width: 760px; margin: 0 auto; }
.faq-item,
.faq details {
  border-top: 1px dashed rgba(14,14,12,0.4);
  padding: 4px 0;
  list-style: none;
}
.faq-item:last-child, .faq details:last-child { border-bottom: 1px dashed rgba(14,14,12,0.4); }
.faq details summary::marker { content: ""; }
.faq details summary::-webkit-details-marker { display: none; }
.faq-q,
.faq-item summary,
.faq details summary {
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 40px 16px 4px;
  min-height: 56px;
  cursor: pointer;
  position: relative;
  list-style: none;
  list-style: none;
  display: flex; align-items: center;
}
.faq-item summary::-webkit-details-marker, .faq details summary::-webkit-details-marker { display: none; }
.faq-q::after,
.faq-item summary::after,
.faq details summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--red);
  transition: transform 0.18s ease;
}
.faq-item[open] summary::after,
.faq details[open] summary::after { content: "-"; transform: translateY(-50%) rotate(180deg); }
.faq-a,
.faq-item .faq-body,
.faq-item p,
.faq .faq-body,
.faq .faq-body p {
  font-family: var(--f-typewriter);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding: 0 4px 16px;
  margin: 0 0 6px;
}

/* ---------- Score bars ---------- */
.score-bars { display: grid; gap: 12px; margin: 16px 0 24px; }
.score-row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center;
  font-family: var(--f-typewriter);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.score-row .label { grid-column: 1; }
.score-row .num { grid-column: 2; font-family: var(--f-display); color: var(--ink); }
.score-row .bar {
  grid-column: 1 / -1;
  height: 14px;
  background: var(--paper-deep);
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.score-row .bar-fill,
.score-row .fill {
  display: block;
  height: 100%;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 99% 40%, 100% 60%, 99% 100%, 0 100%, 1% 60%, 0 40%);
  position: relative;
}
.score-row .val { grid-column: 2; font-family: var(--f-display); color: var(--ink); font-size: 14px; }

/* ---------- Pros / cons (taped index cards) ---------- */
.pros-cons { display: grid; gap: 28px; margin: 24px 0; }
@media (min-width: 720px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros-cons .col {
  position: relative;
  background: var(--paper-deep);
  padding: 22px 22px 20px;
  box-shadow: 4px 6px 0 -2px var(--shadow-warm);
  transform: rotate(-0.6deg);
}
.pros-cons .col:nth-child(2) { transform: rotate(0.6deg); }
.pros-cons .col h4 {
  font-family: var(--f-display);
  font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 10px;
}
.pros-cons .col ul { margin: 0; padding: 0; list-style: none; font-family: var(--f-typewriter); font-size: 14px; line-height: 1.55; }
.pros-cons .col li { padding: 5px 0 5px 18px; position: relative; }
.pros-cons .pros li::before { content: "+"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.pros-cons .cons li::before { content: "-"; position: absolute; left: 0; color: var(--ink); font-weight: 700; }

/* ---------- Test log receipt ---------- */
.test-log {
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  padding: 22px;
  font-family: var(--f-typewriter);
  font-size: 14px;
  line-height: 1.55;
  margin: 24px 0;
  position: relative;
}
.test-log h4 {
  font-family: var(--f-display);
  font-size: 18px; letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 10px;
}
.test-log .row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dotted rgba(14,14,12,0.3); }
.test-log .row:last-child { border-bottom: 0; }
.test-log .k { color: var(--grey); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; }

/* ---------- Promo code cutout / coupon ---------- */
.promo-cutout {
  position: relative;
  background: var(--paper-deep);
  border: 2px dashed var(--ink);
  padding: 28px 24px;
  margin: 24px 0;
  text-align: center;
  box-shadow: 6px 6px 0 -2px var(--shadow-warm);
}
.promo-cutout::before {
  content: "TEAR HERE";
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 0 10px;
  font-family: var(--f-typewriter);
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--ink-soft);
}
.promo-cutout .code {
  display: inline-block;
  font-family: var(--f-display);
  font-size: clamp(32px, 6vw, 52px);
  letter-spacing: 0.12em;
  color: var(--red-deep);
  padding: 6px 22px;
  border: 3px solid var(--red);
  margin: 10px 0;
}
.promo-cutout .label {
  font-family: var(--f-typewriter);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.promo-cutout button.copy-btn {
  margin-top: 10px;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Calculator (ledger / receipt) ---------- */
.calculator {
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  padding: 24px;
  font-family: var(--f-typewriter);
  box-shadow: 6px 6px 0 -2px var(--shadow-warm);
  margin: 24px 0;
  max-width: 520px;
}
.calculator h3 {
  font-family: var(--f-display);
  font-size: 20px; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 14px;
}
.calculator label {
  display: block;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  margin: 10px 0 6px;
}
.calculator input[type="number"], .calculator input[type="text"], .calculator select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--ink);
}
.calculator .result {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dashed var(--ink);
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.calculator .result .total { color: var(--red-deep); }

/* ---------- Quiz ballot cards ---------- */
.quiz-wrap { max-width: 760px; margin: 0 auto; }
.ballot {
  position: relative;
  background: var(--paper-deep);
  padding: 24px 24px 28px;
  box-shadow: 6px 8px 0 -2px var(--shadow-warm);
  margin: 0 0 24px;
  transform: rotate(-0.8deg);
}
.ballot:nth-child(even) { transform: rotate(0.7deg); }
.ballot h3 {
  font-family: var(--f-display);
  font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase;
  margin: 0 0 16px;
}
.ballot .opt {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 10px;
  min-height: 56px;
  border-top: 1px dotted rgba(14,14,12,0.4);
  cursor: pointer;
  font-family: var(--f-typewriter);
  font-size: 15px;
}
.ballot .opt:last-child { border-bottom: 1px dotted rgba(14,14,12,0.4); }
.ballot .opt input { accent-color: var(--red); width: 18px; height: 18px; }
.ballot .opt.selected { background: rgba(232,54,26,0.08); }

.quiz-nav {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  margin: 20px 0 80px;
}

/* ---------- Quiz banner ---------- */
.quiz-banner-section { padding: 40px 0; }
.quiz-banner {
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  box-shadow: 6px 6px 0 -2px var(--shadow-warm);
  transform: rotate(-0.4deg);
}
@media (min-width: 720px) { .quiz-banner { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Pill tiles (hero small CTAs) ---------- */
.pill-tiles {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 20px;
}
@media (min-width: 640px) { .pill-tiles { grid-template-columns: repeat(3, 1fr); } }
.pill-tile {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  min-height: 56px;
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 3px 3px 0 -1px var(--shadow-warm);
  transform: rotate(-0.8deg);
  transition: transform 0.15s ease;
}
.pill-tile:nth-child(even) { transform: rotate(0.6deg); }
.pill-tile:hover { transform: rotate(0) translateY(-2px); }
.pill-tile__icon { display: inline-flex; width: 20px; height: 20px; }
.pill-tile__icon svg { width: 20px; height: 20px; }
.pill-tile__label { flex: 1; }

/* ---------- Brand hero (brand pages) ---------- */
.brand-hero {
  position: relative;
  padding: 48px 0 40px;
  background: var(--paper-deep);
  border-bottom: 3px double var(--ink);
}
.brand-hero__inner {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 720px) { .brand-hero__inner { grid-template-columns: 1fr auto; } }
.brand-hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  line-height: 0.9;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.brand-hero .byline {
  font-family: var(--f-typewriter);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.brand-hero .rating-big {
  width: 120px; height: 120px;
}
.brand-hero .rating-big .num { font-size: 40px; }

/* ---------- Sticky bottom CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 12px rgba(14,14,12,0.15);
}
.sticky-cta .row {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.sticky-cta .text {
  font-family: var(--f-typewriter);
  font-size: 13px;
  color: var(--ink);
  flex: 1;
  min-width: 200px;
}
.sticky-cta .btn-primary { min-height: 48px; }

/* ---------- Footer ---------- */
.site-footer, .foot {
  position: relative; z-index: 3;
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 40px;
  margin-top: 60px;
  border-top: 3px double var(--paper);
}
.site-footer::before, .foot::before {
  content: "";
  position: absolute; top: -24px; left: 0; right: 0;
  height: 26px;
  background: var(--ink);
  clip-path: polygon(
    0 100%, 3% 40%, 7% 80%, 12% 30%, 17% 70%, 22% 20%, 28% 75%,
    34% 35%, 40% 85%, 46% 30%, 52% 65%, 58% 20%, 64% 80%,
    70% 40%, 76% 75%, 82% 25%, 88% 70%, 94% 35%, 100% 85%,
    100% 0, 0 0
  );
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4 {
  font-family: var(--f-display);
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #efe7d6;
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 4px 0; min-height: 32px; }
.site-footer a {
  color: #c7c0b2;
  font-family: var(--f-typewriter);
  font-size: 13px;
  text-decoration: none;
  padding: 6px 0;
  display: inline-block;
  min-height: 32px;
}
.site-footer a:hover { color: var(--red); }
.site-footer .about-col p {
  font-family: var(--f-typewriter);
  font-size: 13px; line-height: 1.55;
  color: #c7c0b2;
}
.site-footer .site-logo { color: #efe7d6; margin-bottom: 14px; }
.site-footer__bottom {
  padding-top: 24px;
  border-top: 1px dashed #4a463d;
  display: grid; gap: 16px;
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #9a958a;
}
@media (min-width: 720px) { .site-footer__bottom { grid-template-columns: 1fr auto; } }
.site-footer__stamps {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  margin-bottom: 16px;
}
.site-footer__stamps .stamp { color: var(--red); border-color: var(--red); }
.site-footer__stamps .stamp.black { color: #efe7d6; border-color: #efe7d6; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 28px;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 0 6px;
}

/* ---------- Crumbs ---------- */
.crumbs {
  padding: 14px 24px;
  font-family: var(--f-typewriter);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-current="page"] { color: var(--ink); }

/* ---------- Prose / content ---------- */
.prose { font-family: var(--f-typewriter); font-size: 16px; line-height: 1.7; color: var(--ink); max-width: 72ch; }
.prose h2 { font-family: var(--f-display); font-size: clamp(28px, 4vw, 40px); letter-spacing: 0.02em; margin: 32px 0 14px; text-transform: uppercase; }
.prose h3 { font-family: var(--f-display); font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; margin: 24px 0 10px; }
.prose a { color: var(--red-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose blockquote {
  border-left: 3px solid var(--red);
  padding: 6px 16px;
  margin: 16px 0;
  color: var(--ink-soft);
  font-style: normal;
}

.text-muted { color: var(--ink-soft); }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(14,14,12,0.7);
  z-index: 200;
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 80px 20px;
}
.search-overlay.open { display: flex; }
.search-panel {
  background: var(--paper);
  border: 2px solid var(--ink);
  width: 100%; max-width: 620px;
  padding: 20px;
  box-shadow: 8px 10px 0 -2px var(--shadow-warm);
}
.search-panel input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--ink);
}
.search-results { margin-top: 16px; max-height: 50vh; overflow-y: auto; }
.search-results a {
  display: block;
  padding: 12px 8px;
  font-family: var(--f-typewriter);
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px dotted rgba(14,14,12,0.3);
}
.search-results a:hover { background: var(--paper-deep); }

/* ---------- Author ID card ---------- */
.author-card {
  position: relative;
  background: var(--paper-deep);
  padding: 28px 24px;
  box-shadow: 6px 8px 0 -2px var(--shadow-warm);
  margin: 24px 0;
  transform: rotate(-0.6deg);
}
.author-card h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.author-card .role {
  font-family: var(--f-typewriter);
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

/* ---------- Removed poster stamp (legacy /en pages) ---------- */
.removed-poster {
  padding: 60px 20px;
  text-align: center;
  font-family: var(--f-typewriter);
  max-width: 620px;
  margin: 40px auto;
  background: var(--paper-deep);
  border: 2px dashed var(--ink);
  position: relative;
}
.removed-poster h1 {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 48px);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.removed-poster .stamp { margin: 0 auto 16px; display: inline-block; }

/* ---------- Mobile (<=720px) adjustments ---------- */
@media (max-width: 720px) {
  html { font-size: 16px; }
  .hero { padding: 40px 0 56px; }
  .hero .marg, .marg-note, .marg-new, .marg-rollover, .marg-check { display: none; }
  .site-header__row { gap: 6px; min-height: 54px; }
  .site-logo { font-size: 14px; gap: 6px; }
  .site-logo svg { width: 26px; height: 26px; }
  .header-tools { gap: 0; }
  .icon-btn { width: 40px; height: 40px; }
  .icon-btn svg { width: 18px; height: 18px; }
  .header-tools [data-lang-current] { display: none; }
  .header-cta-pill { display: none !important; }
  .masthead { padding: 28px 0 14px; }
  .masthead .mast-stamp-l, .masthead .mast-stamp-r {
    position: static; display: inline-block;
    margin: 4px 6px; left: auto; right: auto; top: auto;
  }
  .masthead h1, .masthead .wordmark { font-size: clamp(24px, 8.2vw, 44px); white-space: normal; word-break: break-word; letter-spacing: 0.02em; }
  /* Quiz options as ballot cards on mobile */
  .quiz-card { margin-bottom: 20px; }
  .quiz-options { display: flex; flex-direction: column; gap: 8px; }
  .quiz-options label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid var(--ink); background: var(--paper-deep); min-height: 48px; font-family: var(--f-typewriter); cursor: pointer; }
  .quiz-options label:has(input:checked) { background: var(--red); color: #fff; }
  .grid-four, .brand-grid { gap: 56px 20px; }
  .match-table th, .match-table td, .odds-table th, .odds-table td { padding: 10px 12px; font-size: 12.5px; }
  .match-table td.brand, .odds-table td.book { font-size: 14px; }
  .card, .brand-card { transform: rotate(-1deg) !important; }
  .card:hover, .brand-card:hover { transform: rotate(0) translateY(-4px) !important; }
  .tape { width: 50px; height: 16px; }
  .card .tape.tl, .brand-card .tape.tl { top: -8px; left: -12px; }
  .card .tape.br, .brand-card .tape.br { bottom: -8px; right: -12px; }
  .pros-cons .col { transform: rotate(-0.3deg); }
  .pros-cons .col:nth-child(2) { transform: rotate(0.3deg); }
  .ballot, .ballot:nth-child(even) { transform: rotate(0); }
  .pill-tile, .pill-tile:nth-child(even) { transform: rotate(0); }
  .filter-pill, .filter-pill:nth-child(even) { transform: rotate(0); }
  .quiz-banner { transform: rotate(0); }
  .site-footer, .foot { padding: 44px 0 32px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .card, .brand-card, .cta-spray, .cta-outline, .card-go, .btn-primary, .pill-tile, .filter-pill { transition: none; }
  .stamp.reveal { opacity: 0.9; transform: none; }
}

/* ---------- Focus visibility ---------- */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* =========================================================
   V4 FIXES — guide cards, calc receipt, ballot quiz, odds outline
   ========================================================= */

/* Guide card grid */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.guide-card {
  display: block;
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  box-shadow: 4px 6px 0 -1px var(--shadow-warm);
  padding: 22px 22px 20px;
  text-decoration: none;
  color: var(--ink);
  transform: rotate(-0.4deg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}
.guide-card:nth-child(2n) { transform: rotate(0.5deg); }
.guide-card:hover { transform: rotate(0) translateY(-3px); box-shadow: 4px 10px 0 -2px var(--shadow-warm); }
.guide-card__kicker {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}
.guide-card h3 {
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--ink);
}
.guide-card p {
  font-family: var(--f-typewriter);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.guide-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}
.guide-card .read-more .arr,
.card-go .arr {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 14px;
  line-height: 1;
  margin-left: 4px;
}
/* CRITICAL: constrain inline SVG icons inside links so they don't blow up */
.guide-card .read-more svg,
.read-more svg,
.card-go svg,
.info-card a svg,
.eyebrow svg {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 14px;
}

/* Generic fallback: any SVG inside a paragraph, span, or button without explicit size */
a svg:not([width]):not(.marg-arrow),
span svg:not([width]):not(.marg-arrow),
button svg:not([width]) {
  width: 16px;
  height: 16px;
}

/* ----------- Bonus calculator (ledger / receipt) ----------- */
.calc-card {
  background: var(--paper-deep);
  border: 2px dashed var(--ink);
  padding: 22px 24px 18px;
  margin: 28px 0;
  font-family: var(--f-typewriter);
  position: relative;
}
.calc-card::before {
  content: "LEDGER";
  position: absolute;
  top: -10px; left: 18px;
  background: var(--paper-deep);
  padding: 2px 10px;
  font-family: var(--f-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--red);
  border: 1px solid var(--ink);
}
.calc-card h3 {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.calc-card .calc-sub {
  font-family: var(--f-typewriter);
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.calc-card .calc-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}
@media (max-width: 560px) { .calc-card .calc-grid { grid-template-columns: 1fr; } }
.calc-card .calc-field { display: flex; flex-direction: column; gap: 4px; }
.calc-card .calc-field label {
  font-family: var(--f-typewriter);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.calc-card .calc-field input {
  font-family: var(--f-typewriter);
  font-size: 16px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  min-height: 44px;
  width: 100%;
  transition: border-color 0.15s ease;
}
.calc-card .calc-field input:focus {
  outline: none;
  border-color: var(--ink);
  border-bottom: 2px solid var(--red);
}
.calc-card .calc-results {
  display: grid;
  gap: 6px;
  border-top: 1px dashed var(--ink);
  padding-top: 12px;
  margin-top: 6px;
}
.calc-card .calc-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--f-typewriter);
  font-size: 14px;
}
.calc-card .calc-stat .label { color: var(--ink-soft); letter-spacing: 0.04em; }
.calc-card .calc-stat .value {
  font-family: var(--f-display);
  font-size: 16px;
  color: var(--ink);
  text-align: right;
  min-width: 100px;
}
.calc-card .calc-stat.highlight .value { color: var(--red); }
.calc-card .calc-stat.total { border-top: 2px solid var(--ink); padding-top: 8px; margin-top: 6px; }
.calc-card .calc-stat.total .value { color: var(--red); font-size: 20px; }
.calc-card .calc-note {
  font-family: var(--f-typewriter);
  font-size: 11px;
  color: var(--ink-soft);
  margin: 12px 0 0;
  line-height: 1.5;
}
.calc-card.calc-noop p { font-family: var(--f-typewriter); font-size: 14px; color: var(--ink-soft); }

/* ----------- Quiz ballot cards (override generic quiz-options on all sizes) ----------- */
.quiz-card {
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  box-shadow: 3px 5px 0 -1px var(--shadow-warm);
  padding: 20px 22px 18px;
  margin-bottom: 24px;
  transform: rotate(-0.4deg);
}
.quiz-card:nth-child(even) { transform: rotate(0.4deg); }
.quiz-card h3 {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.quiz-options {
  display: grid;
  gap: 10px;
}
.quiz-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 40px;
  min-height: 48px;
  font-family: var(--f-typewriter);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  cursor: pointer;
  position: relative;
  transition: background 0.12s ease, color 0.12s ease;
}
.quiz-options label::before {
  content: "";
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border: 2px solid var(--ink);
  background: var(--paper);
}
.quiz-options input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.quiz-options label:has(input:checked) {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--red);
  box-shadow: 2px 2px 0 -0.5px var(--red);
}
.quiz-options label:has(input:checked)::after {
  content: "";
  position: absolute;
  left: 14px; top: calc(50% - 10px);
  width: 14px; height: 14px;
  /* red spray check */
  background:
    linear-gradient(45deg, transparent 45%, var(--red) 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--red) 45% 55%, transparent 55%);
  filter: drop-shadow(1px 1px 0 rgba(200,42,17,0.35));
}
.quiz-options label:focus-within {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
.quiz-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.quiz-shell { padding: 20px 0 40px; }

/* ----------- Odds widget: ration red, only 1 red CTA ----------- */
.odds-table td .btn.btn-primary,
.odds-table .btn-outline,
.btn-bet {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 14px;
  font-family: var(--f-display);
  font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  min-height: auto;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.odds-table .btn-bet:hover,
.odds-table .btn-outline:hover { background: var(--ink); color: var(--paper); }
.odds-table tr.best-row .btn-bet,
.odds-table .btn-bet.primary,
.btn-bet.primary {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}

/* ----------- Sticky CTA visuals ----------- */
.sticky-cta .btn-primary,
.sticky-cta .cta-spray {
  background: var(--red);
  color: var(--paper);
  border: 0;
}
.sticky-cta { border-top: 2px solid var(--ink); box-shadow: 0 -6px 12px rgba(0,0,0,0.08); }

/* ----------- Testlog receipt polish ----------- */
.testlog {
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  border-top: 8px double var(--ink);
  padding: 18px 22px;
  margin: 24px 0;
  font-family: var(--f-typewriter);
}
.testlog h3 { font-family: var(--f-display); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 10px; }
.testlog dl { display: grid; grid-template-columns: 1fr 2fr; gap: 4px 16px; margin: 0; font-size: 14px; }
.testlog dt { color: var(--ink-soft); letter-spacing: 0.04em; }
.testlog dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) {
  .testlog dl { grid-template-columns: 1fr; gap: 2px; }
  .testlog dd { margin: 0 0 6px; padding-left: 12px; }
}

/* Remove accent-green leakage: map ghost --accent to ink */
:root { --accent: var(--ink); --bonus: var(--red); --surface: var(--paper); --surface-2: var(--paper-deep); --text: var(--ink); --text-muted: var(--ink-soft); }

/* Fine-tune promo cutout spacing when TEAR HERE is long */
.promo-cutout .code { word-break: break-word; }

/* Ensure brand-hero rating score doesn't overflow */
.brand-hero h1 { word-break: break-word; }

/* Reduce arrow in guide-card on very small */
@media (max-width: 560px) {
  .guide-card h3 { font-size: 16px; }
  .guide-card, .guide-card:nth-child(2n) { transform: rotate(0); }
  .quiz-card, .quiz-card:nth-child(even) { transform: rotate(0); }
}

/* Ballot card .ballot (older name) mirror */
.ballot {
  display: block;
  padding: 18px 20px;
  border: 2px solid var(--ink);
  background: var(--paper-deep);
  margin-bottom: 18px;
}
.ballot .opt { padding: 10px 0 10px 34px; position: relative; font-family: var(--f-typewriter); }

/* Odds table header: keep tidy even without extra classes */
.odds-table td span.odd.best {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 30px;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-weight: 700;
  background: transparent;
}

/* ============================================================
   Screenshot components (v6)
   ============================================================ */
.brand-screenshot { aspect-ratio: 16/9; width: 100%; margin: 0 0 16px; overflow: hidden; border: 1px solid var(--ink, #111); border-radius: 4px; background: var(--surface-2, #F0F0F2); }
.brand-screenshot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-screenshot figcaption { font-size: 12px; color: var(--text-muted, #777); margin-top: 6px; font-style: italic; }

.brand-card__thumb { display: block; aspect-ratio: 16/9; width: 100%; overflow: hidden; margin: 0 0 12px; border: 1px solid var(--ink, #111); border-radius: 4px; background: var(--surface-2, #F0F0F2); }
.brand-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.brand-card__thumb:hover img { transform: scale(1.03); }

.rank-card__thumb { display: block; aspect-ratio: 16/9; width: 100%; max-width: 320px; overflow: hidden; margin: 0 0 14px; border: 1px solid var(--ink, #111); border-radius: 4px; background: var(--surface-2, #F0F0F2); }
.rank-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Vs page */
.vs-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 32px; }
.vs-hero-grid figure { margin: 0; }
.vs-hero-grid figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border: 1px solid var(--ink, #111); border-radius: 4px; }
.vs-hero-grid figcaption { font-size: 12px; color: var(--text-muted, #777); text-align: center; margin-top: 6px; }
@media (max-width: 640px) { .vs-hero-grid { grid-template-columns: 1fr; } }

.vs-verdict { border: 2px solid var(--ink, #111); background: var(--surface-2, #F0F0F2); padding: 20px 24px; border-radius: 4px; margin: 24px 0; }
.vs-verdict h2 { margin: 0 0 8px; font-size: 18px; }
.vs-verdict p { margin: 0; }

.vs-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.vs-table th, .vs-table td { padding: 10px 14px; border-bottom: 1px solid var(--line, #e5e5e5); text-align: left; font-size: 14px; }
.vs-table th { background: var(--surface-2, #F0F0F2); font-weight: 700; }
.vs-table td.win { background: rgba(22,163,74,0.08); font-weight: 600; }

.vs-cta-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
@media (max-width: 640px) { .vs-cta-dual { grid-template-columns: 1fr; } }

.vs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.vs-grid .vs-tile { border: 1px solid var(--line, #e5e5e5); border-radius: 8px; padding: 18px; background: var(--surface, #fff); }
.vs-grid .vs-tile h3 { margin: 0 0 6px; font-size: 17px; }
.vs-grid .vs-tile p { font-size: 14px; color: var(--text-muted, #555); margin: 0 0 10px; }
