/* =========================================================================
   Betkwiff — Editorial Longform Hub
   Lilac paper field, deep cobalt ink, ruled newspaper column rules
   ========================================================================= */

/* Self-hosted Poppins latin subset (replaces Google Fonts CSS for LCP path).
   Critical @font-face for these weights is also declared inline in <head>
   on every HTML page (id="critical-fonts") so first paint uses Poppins. */
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-700.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fallback metric-adjusted face: prevents layout shift if the woff2 fails to load. */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial");
  size-adjust: 112%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* LCP-critical selectors — render with Poppins from first paint via the
   inline @font-face in <head> (id="critical-fonts"). The preloaded 400 woff2
   is in cache before site.css arrives, so the text never falls back to
   Arial on the LCP path. */
.masthead-deck,
.masthead-title,
.masthead-meta,
.masthead-cta,
.masthead-cta p,
.masthead-cta .btn {
  font-family: Poppins, system-ui, sans-serif;
  font-size-adjust: none;
  letter-spacing: normal;
}

:root {
  --primary: #6657D9;
  --primary-deep: #4A3CB3;
  --primary-ink: #2B2378;
  --accent: #D94F8A;
  --accent-strong: #B73E72;
  --accent-deep: #8E2F58;
  --accent-soft: #F4D5E2;
  --paper: #F8F6FF;
  --paper-2: #F1ECFA;
  --paper-3: #ECE8FF;
  --surface: #FFFFFF;
  --surface-2: #F6F2FE;
  --ink: #24203D;
  --ink-muted: #5C5572;
  --ink-soft: #6F6588;
  --rule: rgba(36, 32, 61, 0.12);
  --rule-strong: rgba(36, 32, 61, 0.24);
  --cobalt-rule: rgba(102, 87, 217, 0.32);
  --rose-rule: rgba(217, 79, 138, 0.32);
  --shadow-card: 0 1px 0 rgba(36, 32, 61, 0.04), 0 6px 18px -8px rgba(36, 32, 61, 0.10);
  --shadow-hover: 0 1px 0 rgba(36, 32, 61, 0.06), 0 10px 30px -10px rgba(102, 87, 217, 0.20);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --max-width: 1240px;
  --column-rule: rgba(102, 87, 217, 0.20);
  --column-rule-soft: rgba(102, 87, 217, 0.08);
  --paper-warm: #FBF7FF;
  --paper-tint: #F0EAFB;
  --font-display: "Poppins", "Poppins Fallback", "Noto Sans", system-ui, sans-serif;
  --font-body: "Poppins", "Poppins Fallback", "Noto Sans", system-ui, sans-serif;
  --leading-tight: 1.2;
  --leading-snug: 1.45;
  --leading-body: 1.65;
  --tracking-wide: 0.16em;
  --tracking-mid: 0.08em;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: var(--leading-body);
  color: var(--ink);
  background: var(--paper);
  background-image:
    linear-gradient(to right, var(--column-rule-soft) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(102, 87, 217, 0.025) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px;
  background-attachment: fixed;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  min-height: 100vh;
}
img, picture, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button {
  font-family: inherit;
  cursor: pointer;
}
hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 32px 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: var(--leading-tight);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--primary-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--primary);
}
.lede {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}
.byline {
  font-size: 0.78rem;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dateline {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: var(--tracking-mid);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-num::before {
  content: attr(data-num);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--cobalt-rule);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-deep);
  background: var(--surface);
}
.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  font-weight: 600;
  color: var(--primary-ink);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  padding: 18px 0;
  margin: 28px auto;
  text-align: center;
  max-width: 720px;
  font-style: normal;
}

/* ---------- Layout shell ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: clamp(48px, 6vw, 96px) 0;
  border-top: 1px solid var(--rule);
}
.section:first-of-type { border-top: 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 32px;
}
.section-head h2 { margin: 6px 0 0; }
.section-head .kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(140%);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background:
    linear-gradient(to right,
      var(--primary) 0%,
      var(--primary) 40%,
      transparent 40%,
      transparent 60%,
      var(--accent) 60%,
      var(--accent) 100%);
  opacity: 0.7;
}
.masthead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark .mono {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 6px;
  box-shadow: inset 0 -3px 0 var(--primary-deep);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-tag {
  display: block;
  font-size: 0.65rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}
.main-nav a:hover {
  color: var(--primary-deep);
  border-bottom-color: var(--primary);
}
.main-nav a.cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border-bottom: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
}
.main-nav a.cta:hover {
  background: var(--primary-deep);
  text-decoration: none;
}
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  z-index: 300;
  position: relative;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: 0;
  max-width: 0;
  background: var(--paper);
  border-left: 1px solid var(--rule-strong);
  padding: 88px 0 32px;
  transform: none;
  transition: width 0.25s ease, max-width 0.25s ease, padding 0.25s ease;
  z-index: 220;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -8px 0 30px -10px rgba(36, 32, 61, 0.18);
  visibility: hidden;
}
.mobile-drawer[data-open="true"] {
  width: min(86vw, 360px);
  max-width: 360px;
  padding: 88px 24px 32px;
  visibility: visible;
}
.mobile-drawer a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}
.mobile-drawer a.cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-md);
  margin-top: 18px;
  border-bottom: 0;
}
.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  z-index: 2;
}
.drawer-close:hover {
  background: var(--paper-2);
  border-color: var(--primary);
}
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(36, 32, 61, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 210;
}
.scrim[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Editorial masthead ---------- */
.editorial-masthead {
  padding: 56px 0 24px;
  border-bottom: 3px double var(--rule-strong);
}
.masthead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  min-height: 280px;
}
.masthead-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-weight: 700;
  min-height: 2.2em;
}
.masthead-title em {
  font-style: normal;
  color: var(--primary-deep);
  font-weight: 600;
  display: inline-block;
}
.masthead-deck {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 14px 0 0;
  max-width: 56ch;
}
.masthead-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.masthead-meta strong {
  color: var(--primary-deep);
  font-weight: 700;
  letter-spacing: var(--tracking-mid);
}
.masthead-cta {
  border: 1px solid var(--cobalt-rule);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  position: relative;
}
.masthead-cta .eyebrow { margin-bottom: 8px; }
.masthead-cta p { font-size: 0.92rem; color: var(--ink-muted); margin: 0 0 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.05s ease;
  max-width: 100%;
}
.btn--wrap,
.btn.btn--wrap {
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-deep);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--primary-deep);
  border-color: var(--cobalt-rule);
}
.btn-ghost:hover {
  background: var(--paper-3);
  text-decoration: none;
}
.btn-rose {
  background: var(--accent-strong);
  color: #fff;
}
.btn-rose:hover { background: var(--accent-deep); text-decoration: none; }

/* ---------- Rule-diagram lede hero ---------- */
.lede-hero {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.lede-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  min-height: 420px;
  contain: layout;
}
.diagram-frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--cobalt-rule);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  min-height: 360px;
  contain: layout paint;
  aspect-ratio: 4 / 3;
}
.diagram-frame::before {
  content: "FIG. 01 — Card-hand composition";
  position: absolute;
  top: -10px;
  left: 18px;
  background: var(--paper);
  padding: 0 8px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--primary-deep);
}
.card-hand {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  perspective: 600px;
  max-width: 100%;
}
.play-card {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #fff 0%, #f4eefb 100%);
  border: 1px solid var(--cobalt-rule);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 6px 6px;
  position: relative;
  box-shadow: 0 2px 0 rgba(36, 32, 61, 0.08);
  font-family: var(--font-display);
  min-width: 0;
  overflow: hidden;
}
.play-card .corner { font-weight: 700; font-size: 0.85rem; line-height: 1; }
.play-card .corner.bot { transform: rotate(180deg); align-self: end; }
.play-card .pip {
  align-self: center;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
}
.play-card.red .corner,
.play-card.red .pip { color: var(--accent); }
.play-card.blue .corner,
.play-card.blue .pip { color: var(--primary-deep); }
.callout-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.callout-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.callout-list li .marker {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--cobalt-rule);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-deep);
  background: var(--paper-2);
}
.callout-list li strong { color: var(--ink); font-weight: 600; }

.lede-copy .lede-h {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 0 0 14px;
  color: var(--ink);
}
.lede-copy .lede { max-width: 56ch; }
.lede-copy .byline { margin-top: 22px; display: block; }
.lede-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* ---------- Editorial index rail ---------- */
.index-rail-wrap {
  position: relative;
}
.index-rail {
  position: sticky;
  top: 88px;
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.9rem;
}
.index-rail h3.index-rail-h {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.index-rail ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: index;
  display: grid;
  gap: 6px;
}
.index-rail li {
  counter-increment: index;
  position: relative;
}
.index-rail li a {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dotted var(--rule);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
}
.index-rail li a::before {
  content: counter(index, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-deep);
  letter-spacing: var(--tracking-mid);
}
.index-rail li a:hover {
  color: var(--primary-deep);
}

/* ---------- Comparison ledger ---------- */
.ledger {
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.ledger-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(0, 2fr) minmax(0, 2fr) auto;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-cell {
  padding: 18px 18px;
  border-right: 1px solid var(--rule);
  min-width: 0;
}
.ledger-cell:last-child { border-right: 0; }
.ledger-head {
  background: var(--paper-2);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--primary-deep);
  font-weight: 700;
}
.ledger-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}
.ledger-row ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.ledger-row li {
  position: relative;
  padding-left: 14px;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.45;
}
.ledger-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 1px;
}
.verdict-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  border: 1px solid var(--cobalt-rule);
  background: var(--paper-2);
  color: var(--primary-deep);
  white-space: nowrap;
}
.verdict-chip.rose {
  background: var(--accent-soft);
  border-color: var(--rose-rule);
  color: var(--accent-deep);
}

/* ---------- Points and meld explainer ---------- */
.meld-explainer {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.meld-diagram {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--cobalt-rule);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.meld-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.meld-row:last-child { margin-bottom: 0; }
.meld-card {
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #fff 0%, #f4eefb 100%);
  border: 1px solid var(--cobalt-rule);
  border-radius: 6px;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 6px;
  font-family: var(--font-display);
  position: relative;
  box-shadow: 0 1px 0 rgba(36, 32, 61, 0.06);
}
.meld-card .rank {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}
.meld-card .suit {
  font-size: 1.4rem;
  text-align: center;
  align-self: center;
}
.meld-card.red .rank,
.meld-card.red .suit { color: var(--accent); }
.meld-card.blue .rank,
.meld-card.blue .suit { color: var(--primary-deep); }
.meld-card.ghost {
  background: var(--paper-2);
  border-style: dashed;
  color: var(--ink-soft);
}
.meld-card.ghost .suit { color: var(--ink-soft); font-size: 1.4rem; }
.meld-caption {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 8px 0 0;
}
.meld-legend {
  display: grid;
  gap: 12px;
}
.meld-legend li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: 0.95rem;
}
.meld-legend .marker {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}
.meld-legend .score {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-deep);
}

/* ---------- Long-read columns ---------- */
.long-read {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.long-read article {
  min-width: 0;
}
.long-read article p { font-size: 1.05rem; line-height: 1.7; }
.long-read article p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  float: left;
  padding: 4px 12px 0 0;
  color: var(--primary-deep);
  font-weight: 700;
}
.margin-rail {
  position: sticky;
  top: 88px;
  border-left: 1px solid var(--rule);
  padding-left: 18px;
}
.margin-rail h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.margin-rail ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}
.margin-rail li { color: var(--ink-muted); }
.margin-rail li strong { color: var(--ink); display: block; }

/* ---------- Reviews stack ---------- */
.review-stack {
  display: grid;
  gap: 18px;
}
.review-card {
  display: grid;
  grid-template-columns: minmax(0, 96px) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
}
.review-thumb {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  background: var(--paper-3);
  border: 1px solid var(--cobalt-rule);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-deep);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.review-card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.review-card p { font-size: 0.95rem; color: var(--ink-muted); margin: 0; line-height: 1.5; }
.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-top: 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.review-meta > span {
  min-width: 0;
  max-width: 100%;
}
.review-card .verdict-chip { align-self: start; }

/* ---------- Payment ledger ---------- */
.payment-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.payment-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  table-layout: fixed;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
}
.payment-table th,
.payment-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.payment-table th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--primary-deep);
  background: var(--paper-2);
  font-weight: 700;
}
.payment-table tbody tr:last-child td { border-bottom: 0; }
.payment-table tbody tr:nth-child(even) td { background: var(--paper-warm); }
.payment-aside {
  border: 1px solid var(--rose-rule);
  background: #FFF5F9;
  border-radius: var(--radius-md);
  padding: 22px;
}
.payment-aside h3 { margin-top: 0; color: var(--accent-deep); }

/* ---------- Responsible play sidebar ---------- */
.responsible-section {
  background: var(--paper-2);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.responsible-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.helpline-card {
  background: var(--surface);
  border: 1px solid var(--rose-rule);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.helpline-card > * { min-width: 0; }
.helpline-card .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.helpline-card p,
.helpline-card .eyebrow,
.helpline-card a.btn {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.controls-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.controls-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.95rem;
}
.controls-list li .marker {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--cobalt-rule);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-deep);
}

/* ---------- News panel ---------- */
.news-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.18s ease;
}
.news-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.news-card .dateline { color: var(--primary-deep); }
.news-card h3 { font-size: 1.1rem; margin: 0; line-height: 1.3; }
.news-card p { font-size: 0.9rem; color: var(--ink-muted); margin: 0; }

/* ---------- Reader questions close ---------- */
.reader-questions {
  display: grid;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.qa-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  border-bottom: 1px solid var(--rule);
  padding: 22px;
  align-items: start;
}
.qa-row:last-child { border-bottom: 0; }
.qa-q {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  padding-right: 18px;
  border-right: 1px solid var(--rule);
}
.qa-a {
  padding-left: 22px;
  color: var(--ink-muted);
  font-size: 0.96rem;
  line-height: 1.6;
  min-width: 0;
}

/* ---------- Editorial colophon ---------- */
.colophon {
  border-top: 1px solid var(--rule-strong);
  padding: 36px 0 18px;
  background: var(--paper-2);
}
.colophon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  font-size: 0.92rem;
}
.colophon h3 {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--primary-deep);
  margin: 0 0 10px;
}
.colophon ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.colophon li a {
  color: var(--ink);
  font-size: 0.92rem;
}
.colophon .legal {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  margin-top: 28px;
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--cobalt-rule);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  z-index: 200;
  display: none;
  box-shadow: 0 -8px 22px -10px rgba(36, 32, 61, 0.20);
}
.mobile-sticky-cta a {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mobile-sticky-cta a:hover { background: var(--primary-deep); text-decoration: none; }

/* ---------- Article / child page shells ---------- */
.article-shell {
  padding: 56px 0 72px;
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.article-grid article {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 32px clamp(20px, 3vw, 36px);
}
.article-grid article h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 0 0 12px;
  line-height: 1.15;
}
.article-grid article h2 {
  font-size: 1.35rem;
  margin: 36px 0 12px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.article-grid article h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.article-grid article p { font-size: 1rem; line-height: 1.7; color: var(--ink); }
.article-grid article ul,
.article-grid article ol {
  padding-left: 22px;
  margin: 0 0 18px;
}
.article-grid article li { margin-bottom: 8px; line-height: 1.6; }
.article-grid article figure {
  margin: 22px 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.article-grid article figure img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--cobalt-rule);
  margin: 14px 0;
}
.article-grid article figcaption {
  font-size: 0.84rem;
  color: var(--ink-soft);
  font-style: italic;
  padding-bottom: 12px;
}
.article-grid aside {
  position: sticky;
  top: 88px;
  border-left: 1px solid var(--rule);
  padding-left: 18px;
}
.article-grid aside h4 {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.article-grid aside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}
.article-grid aside li a { color: var(--ink); }
.article-grid aside .callout-box {
  background: var(--paper-2);
  border: 1px solid var(--cobalt-rule);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.crumbs {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.crumbs a { color: var(--ink-soft); }
.crumbs span { color: var(--primary-deep); }
.callout-block {
  border: 1px solid var(--cobalt-rule);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  background: var(--paper-warm);
  margin: 22px 0;
}
.callout-block h4 {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--primary-deep);
  margin: 0 0 6px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 3px double var(--rule-strong);
  background: var(--paper);
  padding: 56px 0 24px;
  margin-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-grid h3.footer-h {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--primary-deep);
  margin: 0 0 12px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.footer-grid li a {
  color: var(--ink);
  font-size: 0.92rem;
}
.footer-grid .legal-line {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  margin-top: 36px;
}

/* ---------- Cookie / banner ---------- */
.info-banner {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  font-size: 0.86rem;
  color: var(--ink-muted);
  padding: 10px 0;
  text-align: center;
}
.info-banner strong { color: var(--primary-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .article-grid,
  .long-read {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-grid aside,
  .long-read .margin-rail,
  .index-rail {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-left: 0;
    padding-top: 14px;
  }
  .ledger-row {
    grid-template-columns: minmax(120px, 1fr) minmax(0, 1.4fr) auto;
  }
  .ledger-cell:nth-child(2) { display: none; }
  .payment-ledger,
  .meld-explainer,
  .responsible-grid,
  .lede-grid,
  .masthead-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid,
  .colophon-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .news-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 899px) {
  body { padding-bottom: 88px; }
  .main-nav { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-sticky-cta { display: block; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .review-card { grid-template-columns: minmax(0, 64px) minmax(0, 1fr); }
  .review-card .verdict-chip {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .review-thumb { width: 64px; height: 64px; font-size: 1.1rem; }
  .news-panel { grid-template-columns: minmax(0, 1fr); }
  .qa-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }
  .qa-q {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding-right: 0;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .qa-a { padding-left: 0; }
  .ledger-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .ledger-cell {
    border-right: 0;
    border-bottom: 1px dashed var(--rule);
  }
  .ledger-cell:last-child { border-bottom: 0; }
  .footer-grid,
  .colophon-grid { grid-template-columns: minmax(0, 1fr); }
  .pullquote { font-size: 1.1rem; padding: 14px 0; }
  .article-grid article { padding: 24px 18px; }
  .masthead-grid { min-height: 0; }
  .masthead-title { min-height: 0; }
  .lede-grid { min-height: 0; }
  .diagram-frame { min-height: 0; }
  .index-rail {
    position: static;
    margin-bottom: 22px;
  }
  .index-rail ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 18px;
  }
  .long-read article p:first-of-type::first-letter {
    font-size: 2.4rem;
    padding: 2px 8px 0 0;
  }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .masthead { padding: 12px 0; gap: 10px; }
  .brand-mark .mono { width: 34px; height: 34px; font-size: 0.85rem; }
  .brand-name { font-size: 1.05rem; }
  .masthead-title { font-size: 1.85rem; }
  .ledger-row { font-size: 0.9rem; }
  .ledger-cell { padding: 14px; }
  .meld-diagram { padding: 18px; }
  .helpline-card .num { font-size: 1.4rem; }
  .lede-copy .lede-h { font-size: 1.7rem; }
  .section { padding: 36px 0; }
  .editorial-masthead { padding: 36px 0 18px; }
  .lede-hero { padding: 36px 0 44px; }
}

/* ---------- Editorial image figure ---------- */
.editorial-figure {
  margin: 24px 0 32px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.editorial-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
}
.editorial-figure figcaption {
  padding: 12px 16px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  font-style: italic;
  border-top: 1px solid var(--rule);
  background: var(--paper-warm);
}
@media (max-width: 480px) {
  .editorial-figure img { max-height: 240px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .mobile-sticky-cta, .hamburger, .mobile-drawer, .scrim { display: none; }
  body { background: #fff; }
  a { color: var(--ink); text-decoration: underline; }
}

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

/* ---------- Utility ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 999;
}
.skip-link:focus { top: 12px; }
.text-muted { color: var(--ink-muted); }
.text-rose { color: var(--accent); }
.text-primary { color: var(--primary-deep); }
.mono-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}
