/* Ludometrics — Design DNA
   Direction : warm editorial data-journalism — paper base, expressive serif display,
               oversized data figures, annotated inline charts, magazine feel
   Layout    : editorial grid, wide/narrow alternation, hanging labels, ≥2 asymmetric,
               ≤1 three-card grid; issue/report tags recurring
   Type      : Fraunces (display serif) / Archivo (text) — fluid clamp scale
   Color     : paper #faf6ef / surface #f3ecdf / ink #211a15 / terracotta #c05621 (60-30-10)
   Motion    : headline mask-reveal (420ms) + number count-up; reduced-motion off-switch
   Signature : oversized data figures + annotated chart callouts (connector lines/labels)
               + small "issue/report" tags, recurring
   Hero-bg   : warm paper gradient + faint hand-drawn SVG chart lines (not flat, not raw photo) */

/* ============ TOKENS ============ */
:root {
  --paper: #faf6ef;
  --surface: #f3ecdf;
  --surface-2: #ede3d1;
  --ink: #211a15;
  --ink-2: #4a4038;
  --ink-3: #6b5f53;
  --accent: #c05621;      /* terracotta — OKLCH ~ oklch(0.56 0.14 43) */
  --accent-deep: #9c3f13;
  --accent-tint: #f0dcc9;
  --line: #d8ccb8;
  --line-strong: #b7a68c;
  --paper-rgb: 250, 246, 239;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* fluid type scale */
  --fs-mega: clamp(3rem, 1.6rem + 6.5vw, 7rem);
  --fs-h1: clamp(2.4rem, 1.4rem + 4.4vw, 4.75rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem);
  --fs-h3: clamp(1.3rem, 1.05rem + 1.1vw, 1.85rem);
  --fs-lead: clamp(1.12rem, 1.02rem + 0.5vw, 1.4rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --fs-sm: 0.9rem;
  --fs-label: 0.74rem;
  --fs-fig: clamp(2.8rem, 1.6rem + 5.5vw, 6.5rem);

  /* spacing rhythm */
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.25rem;
  --s6: 3.5rem;
  --s7: 5rem;
  --s8: 7rem;

  --measure: 66ch;
  --wide: 1220px;
  --boxed: 1060px;
  --narrow: 720px;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(33,26,21,.06), 0 12px 30px -18px rgba(33,26,21,.28);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; text-wrap: balance; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
a { color: inherit; }

::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ============ LAYOUT HELPERS ============ */
.ludo-wrap { width: min(100% - 2.4rem, var(--wide)); margin-inline: auto; }
.ludo-wrap--boxed { width: min(100% - 2.4rem, var(--boxed)); margin-inline: auto; }
.ludo-wrap--narrow { width: min(100% - 2.4rem, var(--narrow)); margin-inline: auto; }
.ludo-section { padding-block: var(--s7); }
.section--tight { padding-block: var(--s6); }

/* signature: issue/report tag */
.ludo-tag {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-text); font-weight: 700;
  font-size: var(--fs-label); letter-spacing: .11em; text-transform: uppercase;
  color: var(--accent-deep);
}
.ludo-tag::before {
  content: ""; width: 1.4rem; height: 1px; background: var(--accent); display: inline-block;
}
.ludo-tag--boxed {
  border: 1px solid var(--accent); color: var(--accent-deep);
  padding: .32em .7em; border-radius: 999px;
}
.ludo-tag--boxed::before { display: none; }

.kicker {
  font-family: var(--font-text); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: var(--fs-label); color: var(--ink-3);
}

.ludo-lede { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.5; max-width: var(--measure); }

/* signature: oversized data figure */
.ludo-figure-xl {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-fig); line-height: .92; letter-spacing: -0.03em;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.ludo-figure-xl .ludo-unit { font-size: .38em; color: var(--ink); letter-spacing: 0; vertical-align: super; }

.rule { height: 1px; background: var(--line); border: 0; }
.rule--ink { background: var(--ink); height: 2px; }

/* ============ BUTTONS ============ */
.ludo-btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-text); font-weight: 700; font-size: .98rem;
  padding: .82em 1.5em; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper); cursor: pointer;
  text-decoration: none; transition: transform .18s ease, background .18s ease, color .18s ease;
  line-height: 1;
}
.ludo-btn:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); }
.ludo-btn--accent { background: var(--accent); border-color: var(--accent); }
.ludo-btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.ludo-btn--ghost { background: transparent; color: var(--ink); }
.ludo-btn--ghost:hover { background: var(--ink); color: var(--paper); }
.ludo-btn--lg { padding: 1em 1.9em; font-size: 1.05rem; }
.ludo-btn__arrow { transition: transform .18s ease; }
.ludo-btn:hover .ludo-btn__arrow { transform: translateX(3px); }

.ludo-tlink {
  color: var(--accent-deep); font-weight: 700; text-decoration: none;
  border-bottom: 1.5px solid var(--accent-tint); padding-bottom: 1px;
  transition: border-color .18s ease;
}
.ludo-tlink:hover { border-color: var(--accent); }

/* ============ HEADER ============ */
.ludo-topbar {
  background: var(--ink); color: var(--paper);
  font-size: .8rem; letter-spacing: .02em;
}
.ludo-topbar .ludo-wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .5rem; }
.ludo-topbar a { color: var(--paper); text-decoration: none; opacity: .85; }
.ludo-topbar a:hover { opacity: 1; color: var(--accent-tint); }
.ludo-topbar__note { display: flex; gap: 1.2rem; }
@media (max-width: 640px) { .ludo-topbar__note span:first-child { display: none; } }

.ludo-site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.ludo-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.ludo-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.ludo-brand__mark {
  width: 2.15rem; height: 2.15rem; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border-radius: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.02em;
}
.ludo-brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.ludo-nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.ludo-nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; transition: color .15s; }
.ludo-nav-links a:hover, .ludo-nav-links a.ludo-active { color: var(--accent-deep); }
.ludo-nav-cta { display: flex; align-items: center; gap: .8rem; }
.ludo-nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 6px; width: 44px; height: 40px; cursor: pointer; }
.ludo-nav-toggle span, .ludo-nav-toggle span::before, .ludo-nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); margin-inline: auto; position: relative;
}
.ludo-nav-toggle span::before { position: absolute; top: -6px; } .ludo-nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .ludo-nav-toggle { display: block; }
  .ludo-nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .ludo-nav-links.ludo-open { max-height: 60vh; }
  .ludo-nav-links li { width: 100%; border-top: 1px solid var(--line); }
  .ludo-nav-links a { display: block; padding: 1rem 1.2rem; }
  .ludo-nav-cta .ludo-btn:not(.ludo-nav-cta__primary) { display: none; }
}

/* ============ HERO ============ */
.ludo-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 4vw, 5rem) var(--s7); }
.ludo-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ludo-hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 15% 0%, #fffaf2 0%, var(--paper) 42%, var(--surface) 100%);
}
.ludo-hero__bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ludo-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 3vw, 3.5rem); align-items: end;
}
.ludo-hero__head { min-width: 0; }
.ludo-hero h1 { font-size: clamp(1.55rem, 0.9rem + 2.9vw, 3.1rem); overflow-wrap: normal; word-break: normal; hyphens: none; }
.ludo-hero__lede { max-width: 46ch; }
.ludo-hero h1 em { font-style: italic; color: var(--accent); }
.ludo-hero__meta { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; margin-top: var(--s4); align-items: center; }
.ludo-hero__byline { font-size: .9rem; color: var(--ink-3); }
.ludo-hero__lede { margin-top: var(--s4); }
.ludo-hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--s5); }

/* hero annotated chart card (signature) */
.ludo-chartcard {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 1.3rem 1.4rem 1.1rem;
  position: relative;
}
.ludo-chartcard__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .8rem; }
.ludo-chartcard__title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.ludo-chartcard figcaption { font-size: .72rem; color: var(--ink-3); margin-top: .7rem; font-style: italic; }

/* mask reveal for headings */
.ludo-reveal-mask { position: relative; }
.ludo-reveal-mask > .ludo-rm-line { display: block; overflow: hidden; }
.ludo-reveal-mask .ludo-rm-line > span { display: block; transform: translateY(105%); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.ludo-reveal-mask.ludo-in .ludo-rm-line > span { transform: translateY(0); }
.ludo-reveal-mask.ludo-in .ludo-rm-line:nth-child(2) > span { transition-delay: .08s; }
.ludo-reveal-mask.ludo-in .ludo-rm-line:nth-child(3) > span { transition-delay: .16s; }

.ludo-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.ludo-reveal.ludo-in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .ludo-hero__grid { grid-template-columns: 1fr; gap: 2rem; align-items: start; }
  .ludo-hero__head { max-width: none; }
}

/* ============ LEAD STORY + INDEX ============ */
.ludo-lead {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: start;
}
.ludo-lead__main { border-top: 3px solid var(--ink); padding-top: var(--s4); }
.ludo-lead__main h2 { font-size: var(--fs-h2); margin: .4rem 0 .8rem; }
.ludo-lead__fig { margin-top: var(--s4); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.ludo-lead__fig img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ludo-index { border-top: 3px solid var(--accent); padding-top: var(--s4); }
.ludo-index h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-text); font-weight: 800; color: var(--ink-3); margin-bottom: .8rem; }
.ludo-index__item { display: block; text-decoration: none; padding: 1rem 0; border-top: 1px solid var(--line); }
.ludo-index__item:first-of-type { border-top: 0; }
.ludo-index__item .ludo-idx-tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); font-weight: 700; }
.ludo-index__item h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: .25rem 0; transition: color .15s; }
.ludo-index__item:hover h4 { color: var(--accent-deep); }
.ludo-index__item p { font-size: .9rem; color: var(--ink-3); }
@media (max-width: 820px) { .ludo-lead { grid-template-columns: 1fr; } }

/* ============ COVERAGE NUMBERED INDEX ============ */
.ludo-coverage { background: var(--surface); }
.ludo-coverage__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--s5); }
.ludo-cov-list { border-top: 2px solid var(--ink); }
.ludo-cov-row {
  display: grid; grid-template-columns: 4rem 1fr 1.3fr auto; gap: 1.5rem; align-items: center;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: inherit;
  transition: background .18s ease, padding-left .18s ease;
}
.ludo-cov-row:hover { background: var(--paper); padding-left: .8rem; }
.ludo-cov-row__num { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); font-weight: 600; }
.ludo-cov-row__title { font-family: var(--font-display); font-size: clamp(1.3rem,1rem+1.3vw,2rem); font-weight: 600; }
.ludo-cov-row__desc { color: var(--ink-2); font-size: .95rem; }
.ludo-cov-row__go { font-weight: 800; color: var(--accent-deep); font-size: .9rem; white-space: nowrap; }
@media (max-width: 820px) {
  .ludo-cov-row { grid-template-columns: 3rem 1fr; gap: .4rem 1rem; padding: 1.1rem 0; }
  .ludo-cov-row__num { grid-row: span 2; align-self: start; }
  .ludo-cov-row__desc { grid-column: 2; }
  .ludo-cov-row__go { grid-column: 2; }
}

/* ============ BY THE NUMBERS BAND ============ */
.ludo-numbers { background: var(--ink); color: var(--paper); }
.ludo-numbers .ludo-tag, .ludo-numbers .ludo-tag--boxed { color: var(--accent-tint); border-color: var(--accent); }
.ludo-numbers .ludo-tag::before { background: var(--accent-tint); }
.ludo-numbers__head { max-width: 42ch; margin-bottom: var(--s6); }
.ludo-numbers__head h2 { font-size: var(--fs-h2); color: var(--paper); }
.ludo-numbers__head p { color: #d9cdbe; margin-top: var(--s3); }
.ludo-numbers-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem,3vw,3rem) 1.5rem; }
.ludo-stat { position: relative; }
.ludo-stat--a { grid-column: span 5; } .ludo-stat--b { grid-column: span 7; }
.ludo-stat--c { grid-column: span 4; } .ludo-stat--d { grid-column: span 4; } .ludo-stat--e { grid-column: span 4; }
.ludo-stat .ludo-figure-xl { color: var(--accent-tint); }
.ludo-stat .ludo-figure-xl .ludo-unit { color: var(--paper); }
.ludo-stat__label { font-weight: 700; margin-top: .3rem; }
.ludo-stat__note { color: #b8ab9c; font-size: .85rem; margin-top: .35rem; }

/* mini CSS bar chart */
.ludo-barchart { display: flex; align-items: flex-end; gap: .55rem; height: 130px; margin-top: 1rem; }
.ludo-barchart .ludo-bar { flex: 1; background: color-mix(in srgb, var(--accent) 70%, #000 10%); border-radius: 3px 3px 0 0; position: relative; min-height: 6px; transition: height .8s cubic-bezier(.22,1,.36,1); }
.ludo-barchart .ludo-bar[data-hi] { background: var(--accent); }
.ludo-barchart .ludo-bar span { position: absolute; bottom: -1.45rem; left: 0; right: 0; text-align: center; font-size: .68rem; color: #cabcac; }
.ludo-barchart .ludo-bar b { position: absolute; top: -1.35rem; left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--accent-tint); font-family: var(--font-text); }
.ludo-numbers .ludo-barchart { margin-bottom: 1.6rem; }

/* annotated line chart callout (signature) */
.ludo-annot { position: relative; }
.annot__label {
  position: absolute; font-size: .72rem; line-height: 1.3; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: .35em .55em; max-width: 15ch;
}
.ludo-numbers .annot__label { color: var(--paper); background: color-mix(in srgb, var(--ink) 60%, #000); border-color: var(--accent); }

@media (max-width: 820px) {
  .ludo-numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .ludo-stat--a, .ludo-stat--b, .ludo-stat--c, .ludo-stat--d, .ludo-stat--e { grid-column: span 1; }
  .ludo-stat--b { grid-column: span 2; }
}

/* ============ CONTRIBUTORS (hanging labels two-col) ============ */
.ludo-people__head { margin-bottom: var(--s6); max-width: 52ch; }
.ludo-people__head h2 { font-size: var(--fs-h2); }

/* masthead: asymmetric 1 + 2 — big newsroom photo + two stacked notes */
.ludo-masthead {
  display: grid; grid-template-columns: 1.35fr 0.9fr; gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch; margin-bottom: var(--s6);
}
.ludo-masthead__fig { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ludo-masthead__fig img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.ludo-masthead__fig figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-size: .78rem; color: var(--paper); padding: 2.4rem 1.1rem .9rem;
  background: linear-gradient(to top, rgba(33,26,21,.82), transparent);
  font-style: italic;
}
.ludo-masthead__notes { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
.ludo-masthead__note { border-top: 2px solid var(--ink); padding-top: var(--s3); }
.ludo-masthead__note h3 { font-size: var(--fs-h3); margin: .3rem 0 .5rem; }
.ludo-masthead__note p { color: var(--ink-2); font-size: .95rem; }
.ludo-masthead__note .ludo-figure-xl { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
@media (max-width: 760px) {
  .ludo-masthead { grid-template-columns: 1fr; }
  .ludo-masthead__fig img { min-height: 220px; }
}
.ludo-person { display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; padding: var(--s4) 0; border-top: 1px solid var(--line-strong); }
.ludo-person:first-of-type { border-top: 2px solid var(--ink); }
.ludo-person__label { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.ludo-person__label .ludo-beat { display: block; color: var(--accent-deep); margin-top: .3rem; }
.ludo-person__body h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.ludo-person__body p { color: var(--ink-2); max-width: 62ch; }
.ludo-person__body .ludo-creds { margin-top: .6rem; font-size: .85rem; color: var(--ink-3); }
@media (max-width: 700px) { .ludo-person { grid-template-columns: 1fr; gap: .5rem; } }

/* ============ METHOD STRIP (compact 4-up flex) ============ */
.ludo-method__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--s5); }
.ludo-method__head h2 { font-size: var(--fs-h2); }
.ludo-method-strip { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.ludo-method-step {
  flex: 1 1 200px; border-top: 2px solid var(--accent); padding-top: var(--s3);
}
.ludo-method-step__n { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--accent); }
.ludo-method-step h3 { font-size: 1.15rem; margin: .2rem 0 .4rem; }
.ludo-method-step p { font-size: .9rem; color: var(--ink-2); }
.ludo-method__banner { margin-top: var(--s5); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.ludo-method__banner img { width: 100%; aspect-ratio: 16/6; object-fit: cover; }

/* field note: 2-up asymmetric photo + pull-quote */
.ludo-fieldnote {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow);
}
.ludo-fieldnote__fig { position: relative; min-height: 320px; }
.ludo-fieldnote__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ludo-fieldnote__body { padding: clamp(1.5rem, 3vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; }
.ludo-fieldnote__body .ludo-tag { margin-bottom: var(--s3); }
.ludo-fieldnote__quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.18; }
.ludo-fieldnote__quote em { font-style: italic; color: var(--accent); }
.ludo-fieldnote__cite { margin-top: var(--s4); font-size: .88rem; color: var(--ink-3); font-weight: 700; }
.ludo-fieldnote__cite span { display: block; font-weight: 400; color: var(--ink-3); }
@media (max-width: 760px) {
  .ludo-fieldnote { grid-template-columns: 1fr; }
  .ludo-fieldnote__fig { min-height: 220px; position: relative; }
  .ludo-fieldnote__fig img { position: static; }
}

/* ============ PRICING (free vs insider vs insider+) ============ */
.ludo-pricing { background: var(--surface); }
.ludo-pricing__head { text-align: center; max-width: 48ch; margin: 0 auto var(--s6); }
.ludo-pricing__head h2 { font-size: var(--fs-h2); }
.ludo-ptable { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.ludo-plan {
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: var(--s5); display: flex; flex-direction: column;
}
.ludo-plan--feature { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.ludo-plan__flag { position: absolute; top: -.85rem; left: var(--s5); background: var(--accent); color: var(--paper); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3em .8em; border-radius: 999px; }
.ludo-plan__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.ludo-plan__price { display: flex; align-items: baseline; gap: .3rem; margin: .6rem 0 .2rem; }
.ludo-plan__price .ludo-amt { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--accent); letter-spacing: -.02em; }
.ludo-plan__price .ludo-per { font-size: .9rem; color: var(--ink-3); }
.ludo-plan__sub { font-size: .9rem; color: var(--ink-3); min-height: 2.6em; }
.ludo-plan__list { list-style: none; margin: var(--s4) 0; display: grid; gap: .65rem; font-size: .93rem; }
.ludo-plan__list li { display: grid; grid-template-columns: 1.3rem 1fr; gap: .5rem; align-items: start; color: var(--ink-2); }
.ludo-plan__list li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.ludo-plan__list li.ludo-no { color: var(--ink-3); }
.ludo-plan__list li.ludo-no::before { content: "–"; color: var(--line-strong); }
.ludo-plan .ludo-btn { margin-top: auto; justify-content: center; }
@media (max-width: 860px) { .ludo-ptable { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .ludo-plan__sub { min-height: 0; } }

/* ============ DISPATCHES TEASER ============ */
.ludo-dispatch-teaser__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--s5); }
.ludo-dispatch-teaser__head h2 { font-size: var(--fs-h2); }
.ludo-dgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.ludo-dcard { text-decoration: none; color: inherit; display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding-top: 1rem; }
.ludo-dcard--wide { grid-row: span 1; }
.ludo-dcard__img { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-bottom: 1rem; }
.ludo-dcard__img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s ease; }
.ludo-dcard:hover .ludo-dcard__img img { transform: scale(1.04); }
.ludo-dcard .ludo-idx-tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); font-weight: 700; }
.ludo-dcard h3 { font-size: 1.35rem; margin: .3rem 0 .5rem; transition: color .15s; }
.ludo-dcard:hover h3 { color: var(--accent-deep); }
.ludo-dcard p { font-size: .92rem; color: var(--ink-2); }
.ludo-dcard time { font-size: .8rem; color: var(--ink-3); margin-top: .6rem; }
@media (max-width: 860px) { .ludo-dgrid { grid-template-columns: 1fr; } }

/* ============ FAQ ruled rows ============ */
.ludo-faq__head { max-width: 46ch; margin-bottom: var(--s5); }
.ludo-faq__head h2 { font-size: var(--fs-h2); }
.ludo-faq-list { border-top: 2px solid var(--ink); }
.ludo-faq-item { border-bottom: 1px solid var(--line-strong); }
.ludo-faq-item summary {
  list-style: none; cursor: pointer; padding: 1.35rem 3rem 1.35rem 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem,.95rem+.6vw,1.35rem);
}
.ludo-faq-item summary::-webkit-details-marker { display: none; }
.ludo-faq-item summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-text); font-weight: 400; font-size: 1.6rem; color: var(--accent); transition: transform .2s;
}
.ludo-faq-item[open] summary::after { content: "–"; }
.ludo-faq-item p { padding: 0 3rem 1.4rem 0; color: var(--ink-2); max-width: 72ch; }

/* ============ ORDER FORM ============ */
.ludo-order { background: var(--ink); color: var(--paper); }
.ludo-order__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,4vw,4rem); align-items: start; }
.ludo-order__intro h2 { font-size: var(--fs-h2); color: var(--paper); }
.ludo-order__intro p { color: #d9cdbe; margin-top: var(--s3); max-width: 42ch; }
.ludo-order__intro .ludo-figure-xl { color: var(--accent-tint); margin-top: var(--s5); }
.ludo-order__intro .ludo-figure-xl .ludo-unit { color: var(--paper); }
.ludo-order__intro .ludo-miniprice { color: #d9cdbe; font-size: .92rem; margin-top: .3rem; }
.ludo-form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem,3vw,2.5rem); }
.ludo-field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.ludo-field label { font-size: .82rem; font-weight: 700; letter-spacing: .03em; }
.ludo-field input, .ludo-field select, .ludo-field textarea {
  font-family: var(--font-text); font-size: 1rem; padding: .8em .9em;
  border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%;
}
.ludo-field textarea { resize: vertical; min-height: 5rem; }
.ludo-field input:focus, .ludo-field select:focus, .ludo-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.ludo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.ludo-hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#formStatus { margin-top: .8rem; font-weight: 600; font-size: .9rem; }
#formStatus.ludo-error { color: var(--accent-deep); }
.ludo-form-note { font-size: .8rem; color: var(--ink-3); margin-top: .8rem; }
@media (max-width: 820px) { .ludo-order__grid { grid-template-columns: 1fr; } .ludo-form-row { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.ludo-site-footer { background: var(--surface-2); border-top: 3px solid var(--ink); padding-block: var(--s6) var(--s4); }
.ludo-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.ludo-foot-brand .ludo-brand { margin-bottom: 1rem; }
.ludo-foot-brand p { color: var(--ink-2); font-size: .92rem; max-width: 34ch; }
.ludo-foot-col h4 { font-family: var(--font-text); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem; }
.ludo-foot-col ul { list-style: none; display: grid; gap: .55rem; }
.ludo-foot-col a { text-decoration: none; color: var(--ink-2); font-size: .92rem; }
.ludo-foot-col a:hover { color: var(--accent-deep); }
.ludo-foot-contact address { font-style: normal; color: var(--ink-2); font-size: .92rem; line-height: 1.7; }
.ludo-foot-contact a { color: var(--accent-deep); text-decoration: none; }
.ludo-foot-bottom { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--ink-3); }
.ludo-foot-disclaimer { max-width: 60ch; }
@media (max-width: 860px) { .ludo-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ludo-foot-grid { grid-template-columns: 1fr; } }

/* ============ COOKIE BANNER ============ */
.ludo-cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80;
  max-width: 640px; margin-inline: auto;
  background: var(--ink); color: var(--paper); border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.ludo-cookie[hidden] { display: none !important; }
.ludo-cookie p { font-size: .88rem; flex: 1 1 16rem; color: #e8ddce; }
.ludo-cookie a { color: var(--accent-tint); }
.ludo-cookie__btns { display: flex; gap: .6rem; }
.ludo-cookie .ludo-btn { padding: .6em 1.1em; font-size: .85rem; }
.ludo-cookie .ludo-btn--ghost { color: var(--paper); border-color: #6b5f53; }
.ludo-cookie .ludo-btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* ============ LEGAL / ARTICLE PAGES ============ */
.ludo-doc { padding-block: var(--s6) var(--s7); }
.ludo-doc__head { border-bottom: 2px solid var(--ink); padding-bottom: var(--s4); margin-bottom: var(--s5); }
.ludo-doc__head h1 { font-size: var(--fs-h1); margin-top: .5rem; }
.ludo-doc__head .ludo-updated { font-size: .85rem; color: var(--ink-3); margin-top: .8rem; }
.ludo-prose { max-width: 68ch; }
.ludo-prose h2 { font-size: var(--fs-h3); margin: var(--s5) 0 .6rem; }
.ludo-prose p { margin-bottom: 1.1rem; color: var(--ink-2); }
.ludo-prose ul, .ludo-prose ol { margin: 0 0 1.1rem 1.2rem; color: var(--ink-2); display: grid; gap: .5rem; }
.ludo-prose a { color: var(--accent-deep); font-weight: 600; }

/* article specifics */
.ludo-article__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; font-size: .9rem; color: var(--ink-3); margin-top: 1rem; }
.ludo-article__lede { font-size: var(--fs-lead); color: var(--ink-2); margin: var(--s4) 0 var(--s5); max-width: 62ch; line-height: 1.5; }
.ludo-article__fig { margin: var(--s5) 0; }
.ludo-article__fig .ludo-chartcard { max-width: 640px; }
.ludo-article__fig figcaption { font-size: .78rem; color: var(--ink-3); margin-top: .7rem; font-style: italic; }
.ludo-crosslinks { margin-top: var(--s6); padding-top: var(--s4); border-top: 2px solid var(--ink); }
.ludo-crosslinks h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-text); font-weight: 800; color: var(--ink-3); margin-bottom: 1rem; }
.ludo-crosslinks ul { list-style: none; display: grid; gap: .8rem; }
.ludo-crosslinks a { text-decoration: none; color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.ludo-crosslinks a:hover { color: var(--accent-deep); }

/* thank you */
.ludo-ty { padding-block: var(--s8); text-align: center; }
.ludo-ty .ludo-mark { width: 4rem; height: 4rem; border-radius: 50%; background: var(--accent); color: var(--paper); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto var(--s4); }
.ludo-ty h1 { font-size: var(--fs-h1); }
.ludo-ty p { max-width: 52ch; margin: var(--s3) auto 0; color: var(--ink-2); font-size: var(--fs-lead); }

/* count-up target */
[data-count] { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .ludo-reveal, .ludo-reveal-mask .ludo-rm-line > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ludo-barchart .ludo-bar { transition: none !important; }
  .ludo-btn, .ludo-dcard__img img, .ludo-cov-row { transition: none !important; }
}
