/* ============================================================
   JNF Loterij 2026 — 72e editie
   Design system: "Negev Editorial" — warm paper, deep JNF blue,
   terracotta CTA, ticket motifs, Fraunces display serif.
   ============================================================ */

:root {
  /* Palette — JNF Nederland huisstijl: groen, donkerblauw, wit */
  --ink: #414d57;
  --navy: #1a5fa8;
  --navy-deep: #14477e;
  --navy-ink: #1a2c5b;
  --cream: #ffffff;
  --paper: #ffffff;
  --sand: #f0f7ee;
  --sand-deep: #dcecd8;
  --line: #e2e8e0;
  --terra: #35a936;
  --terra-deep: #2b8a2c;
  --olive: #35a936;
  --olive-soft: #eaf5e6;
  --gold: #8dc63f;
  --muted: #5f6b76;
  --ok: #2e7d4f;
  --err: #c0392b;

  /* Type */
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", "Consolas", monospace;

  --fs-hero: clamp(2.6rem, 6.5vw, 4.9rem);
  --fs-h1: clamp(2.2rem, 5vw, 3.6rem);
  --fs-h2: clamp(1.7rem, 3.4vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.78rem;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 2px 6px rgba(27, 33, 65, 0.06), 0 18px 44px -18px rgba(27, 33, 65, 0.18);
  --shadow-lift: 0 4px 10px rgba(27, 33, 65, 0.08), 0 30px 60px -24px rgba(27, 33, 65, 0.28);
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy-ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
strong { color: var(--navy-ink); }
::selection { background: var(--navy); color: var(--cream); }

h1, h2, h3, h4 { font-weight: 700; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 10001;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Top compliance bar ---------- */
.topbar {
  background: var(--navy-ink);
  color: #e8e4d8;
  font-size: var(--fs-tiny);
  letter-spacing: 0.02em;
}
.topbar-inner {
  display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem;
  justify-content: center; align-items: center;
  padding-top: 0.42rem; padding-bottom: 0.42rem;
}
.topbar-item { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.topbar-item strong { color: #fff; font-weight: 700; }
.topbar .dot-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: var(--terra); color: #fff; font-weight: 800; font-size: 0.62rem;
  letter-spacing: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(27, 33, 65, 0.35); }
.header-inner {
  display: flex; align-items: center; gap: 1.6rem;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy-ink); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b {
  font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.01em;
}
.brand-text b em { font-style: italic; color: var(--terra); }
.brand-text small {
  font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--muted); margin-top: 3px;
}
.main-nav { display: flex; gap: clamp(0.8rem, 2vw, 1.7rem); margin-left: auto; }
.main-nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem;
  padding: 0.4rem 0.1rem; position: relative; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--terra); transition: right 0.28s cubic-bezier(0.6, 0, 0.2, 1);
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--navy-ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 0.15rem;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em; background: #fff; flex: none;
}
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.9rem; padding: 0.24rem 0.4rem; border-radius: 999px;
  color: var(--muted); text-decoration: none; line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.lang-switch a:hover { color: var(--navy-ink); }
.lang-switch a.active { background: var(--navy-ink); color: #fff; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--navy-ink); color: #fff;
  font-weight: 800; font-size: 0.8rem; flex: none;
  border: 2px solid var(--gold);
}

/* ---------- Leeftijdscontrole (age gate) ---------- */
html.age-locked { overflow: hidden; }
.age-gate {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
  background: rgba(26, 44, 91, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: ageGateFade 0.3s ease;
}
.age-gate[hidden] { display: none; }
@keyframes ageGateFade { from { opacity: 0; } to { opacity: 1; } }
.age-gate-box {
  width: 100%; max-width: 30rem; text-align: center;
  background: var(--paper); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-lift);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  animation: ageGateRise 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes ageGateRise { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.age-gate-emblem {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4.4rem; height: 4.4rem; border-radius: 50%; margin-bottom: 1.1rem;
  background: var(--navy-ink); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 22px -8px rgba(26, 44, 91, 0.5);
}
.age-gate-box h2 {
  font-family: var(--font-display); color: var(--navy-ink);
  font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; margin-bottom: 0.7rem;
}
.age-gate-box p { color: var(--muted); margin: 0 auto 1.4rem; max-width: 26rem; }
.age-gate-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.age-gate-actions .btn { flex: 1 1 12rem; }
.age-gate-note {
  margin: 1.4rem auto 0 !important; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: var(--fs-tiny); color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; justify-content: center;
}
.age-gate-note .dot-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.45rem; height: 1.45rem; border-radius: 50%; flex: none;
  background: var(--terra); color: #fff; font-weight: 800; font-size: 0.62rem;
}
.age-gate-note a { color: var(--terra); font-weight: 600; }
.age-gate-deny .age-gate-emblem { background: var(--err); border-color: var(--err); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 650; font-size: 1rem;
  padding: 0.78rem 1.6rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-cta {
  background: var(--terra); color: #fff;
  box-shadow: 0 6px 18px -6px rgba(217, 91, 43, 0.55);
}
.btn-cta:hover { background: var(--terra-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(217, 91, 43, 0.6); }
.btn-ghost { background: transparent; color: var(--navy-ink); border-color: var(--navy-ink); }
.btn-ghost:hover { background: var(--navy-ink); color: var(--cream); }
.btn-light { background: #fff; color: var(--navy-ink); }
.btn-light:hover { background: var(--sand); color: var(--navy-ink); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.08rem; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative; flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px;
  background: var(--navy-ink); transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-ink); flex-direction: column; gap: 0;
    padding: 0.8rem 1.6rem 1.6rem; margin-left: 0;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    z-index: 999; max-height: calc(100vh - var(--header-h)); overflow: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { color: #f2eee2; font-size: 1.25rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.09); font-family: var(--font-display); }
  .main-nav a.active { color: var(--gold); }
  .header-actions .btn-cta { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(3.6rem, 8vw, 6.5rem) 0; position: relative; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy-ink); color: #d9d5c7; }
.section-navy h2, .section-navy h3 { color: #fdfbf4; }
.section-navy strong, .hero strong, .page-hero strong { color: #fff; }
.hero a:not(.btn), .page-hero a:not(.btn), .section-navy a:not(.btn) { color: var(--gold); }
.section-olive { background: var(--olive-soft); }

.kicker {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--terra);
  display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; }
.section-navy .kicker { color: var(--gold); }

.lead { font-size: clamp(1.1rem, 1.8vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 46rem; }
.section-navy .lead { color: #b8bcd0; }
.center { text-align: center; }
.center .lead, .center .kicker { margin-left: auto; margin-right: auto; }
.center .kicker::before { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-ink);
  background-size: cover;
  background-position: center 35%;
  color: #eae6d8;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(9rem, 16vw, 13rem);
}
.hero h1 {
  font-size: var(--fs-hero); color: #fdfbf2; font-weight: 500;
  margin-bottom: 1.2rem;
}
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero .lead { color: #c3c7da; margin-bottom: 2rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-note { font-size: var(--fs-tiny); color: #9aa0bb; margin-top: 1.1rem; font-family: var(--font-mono); letter-spacing: 0.04em; }
.hero-scape {
  position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1;
  pointer-events: none;
}
.hero-scape svg { width: 100%; height: auto; display: block; }

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(10rem, 22vw, 13rem); }
}

/* Hero ticket (decorative main-prize ticket) */
.hero-ticket-wrap { position: relative; }
.hero-ticket {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #edf6e9 100%);
  color: var(--ink);
  border-radius: 18px;
  padding: 1.9rem 1.9rem 1.6rem;
  box-shadow: var(--shadow-lift);
  transform: rotate(2.5deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-ticket:hover { transform: rotate(0.5deg) translateY(-6px); }
.hero-ticket::before, .hero-ticket::after {
  content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy-ink); top: 68%;
}
.hero-ticket::before { left: -13px; }
.hero-ticket::after { right: -13px; }
.ticket-tear {
  border: 0; border-top: 2px dashed #bcd8b2; margin: 1.25rem -1.9rem 1rem;
  position: relative; top: 0;
}
.hero-ticket .t-label {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--terra); font-weight: 600;
}
.hero-ticket h3 { font-size: 1.6rem; margin: 0.4rem 0 0.3rem; }
.hero-ticket .t-sub { color: var(--muted); font-size: 0.92rem; margin: 0; }
.hero-ticket .t-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--navy-deep);
}
.hero-ticket .t-meta b { font-size: 1.05rem; }
.ticket-stamp {
  position: absolute; top: -1.4rem; right: -1.1rem;
  width: 92px; height: 92px; animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; }
  .ticket-stamp { width: 66px; height: 66px; right: 0.2rem; top: -0.9rem; }
  .hero-ticket { transform: rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ticket-stamp { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { transition: none !important; }
}

/* ---------- Stat strip ---------- */
.stat-strip {
  position: relative; z-index: 3;
  margin-top: clamp(-6rem, -9vw, -4.5rem);
}
.stat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); overflow: hidden;
  border: 1px solid var(--line);
}
.stat-cell {
  padding: 1.6rem 1.4rem; text-align: center; position: relative;
}
.stat-cell + .stat-cell::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  border-left: 2px dashed var(--line);
}
.stat-cell .num {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 650; color: var(--navy); line-height: 1.1; display: block;
}
.stat-cell .num em { font-style: normal; color: var(--terra); }
.stat-cell .lbl {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-top: 0.35rem; display: block;
}
@media (max-width: 760px) {
  .stat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat-cell:nth-child(3)::before { display: none; }
  .stat-cell:nth-child(n+3) { border-top: 2px dashed var(--line); }
}

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.grid-2x2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 520px) { .grid-2x2 { grid-template-columns: minmax(0, 1fr); } }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--sand); display: grid; place-items: center;
  margin-bottom: 1.1rem; color: var(--navy);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }

/* Prize ticket cards */
.prize-card {
  position: relative; background: var(--paper);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prize-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.prize-card .p-art { height: 180px; position: relative; overflow: hidden; }
.prize-card .p-art svg, .prize-card .p-art img { width: 100%; height: 100%; object-fit: cover; }
.hoofdprijs-art img, .negev-art img { width: 100%; height: auto; display: block; }
.prize-card .p-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.prize-card .p-rank {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(13, 24, 54, 0.82); color: var(--gold);
  padding: 0.35rem 0.75rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.prize-card h3 { margin: 0; }
.prize-card p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.prize-card.gold { border: 2px solid var(--gold); }

/* ---------- Countdown ---------- */
.countdown { display: flex; gap: clamp(0.6rem, 1.6vw, 1.1rem); justify-content: center; flex-wrap: wrap; }
.cd-cell {
  min-width: clamp(4.6rem, 9vw, 6.4rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.9rem 0.6rem 0.75rem; text-align: center; box-shadow: var(--shadow-soft);
}
.section-navy .cd-cell { background: rgba(255, 255, 255, 0.06); border-color: rgba(255,255,255,0.14); box-shadow: none; }
.cd-cell b {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 650; color: var(--navy); display: block; line-height: 1; font-variant-numeric: tabular-nums;
}
.section-navy .cd-cell b { color: var(--gold); }
.cd-cell span {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); display: block; margin-top: 0.45rem;
}
.section-navy .cd-cell span { color: #9aa0bb; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step {
  counter-increment: step; position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.7rem 1.7rem; box-shadow: var(--shadow-soft);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -1.1rem; left: 1.5rem;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem;
  background: var(--navy); color: var(--cream);
  padding: 0.42rem 0.85rem; border-radius: 999px; letter-spacing: 0.1em;
}
.step h3 { margin-bottom: 0.45rem; }
.step p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Donut chart (verdeling opbrengst) ---------- */
.donut-wrap { display: flex; align-items: center; gap: clamp(1.8rem, 4vw, 3.4rem); flex-wrap: wrap; }
.donut-chart { position: relative; width: clamp(230px, 30vw, 310px); flex: none; }
.donut-svg { width: 100%; height: auto; display: block; overflow: visible; }
.donut-svg .track { stroke: #eef3ec; }
html.js .donut-svg .seg {
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 1.4s cubic-bezier(0.3, 0.6, 0.2, 1);
}
html.js .reveal.in .donut-svg .seg { stroke-dashoffset: 0; }
.donut-svg .seg-2 { transition-delay: 0.3s; }
.donut-svg .seg-3 { transition-delay: 0.55s; }
.donut-chart .donut-center {
  position: absolute; inset: 0; display: grid; place-items: center;
  text-align: center; pointer-events: none;
}
.donut-chart .donut-center b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--navy-ink);
  letter-spacing: -0.02em;
}
.donut-chart .donut-center b sup { font-size: 0.45em; font-weight: 600; color: var(--terra); }
.donut-chart .donut-center small {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; display: block;
}
.legend { display: grid; gap: 0; min-width: min(300px, 100%); flex: 1; }
.legend-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem 0.2rem; border-bottom: 1px solid var(--line);
}
.legend-row:last-child { border-bottom: 0; }
.legend-row .swatch {
  width: 13px; height: 13px; border-radius: 50%; flex: none;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 1.5px rgba(26, 44, 91, 0.12), 0 3px 8px -2px rgba(26, 44, 91, 0.35);
}
.legend-row b {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  color: var(--navy-ink); min-width: 3.9rem; letter-spacing: -0.01em;
}
.legend-row span { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }

/* ---------- FAQ accordion ---------- */
.faq-group { margin-bottom: 2.6rem; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 0.7rem; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem 1.3rem; font-weight: 600; color: var(--navy-ink);
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; margin-left: auto; flex: none;
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--terra);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--sand); }
.faq-item .faq-body { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: 0.97rem; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-soft);
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem 1.3rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.35rem;
  color: var(--navy-ink);
}
.field label .req { color: var(--terra); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="date"], .field select, .field textarea {
  width: 100%; padding: 0.72rem 0.95rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 0.98rem; color: var(--ink); background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(29, 58, 143, 0.14); background: #fff;
}
.field .hint { font-size: var(--fs-tiny); color: var(--muted); margin-top: 0.3rem; }
.field.invalid input { border-color: var(--err); }
.field .error-msg { display: none; color: var(--err); font-size: var(--fs-tiny); font-weight: 600; margin-top: 0.3rem; }
.field.invalid .error-msg { display: block; }

.check-row { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--muted); }
.check-row input { width: 1.15rem; height: 1.15rem; margin-top: 0.18rem; accent-color: var(--navy); flex: none; }
.check-row a { font-weight: 600; }

/* Lot quantity selector */
.lot-picker { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.lot-chip {
  border: 1.5px solid var(--line); background: var(--cream); border-radius: 999px;
  padding: 0.55rem 1.15rem; font-family: var(--font-mono); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.18s ease; color: var(--ink);
}
.lot-chip:hover { border-color: var(--navy); }
.lot-chip.selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.order-summary {
  background: var(--sand); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem;
  font-family: var(--font-mono); font-size: 0.92rem;
}
.order-summary .row { display: flex; justify-content: space-between; padding: 0.3rem 0; }
.order-summary .row.total {
  border-top: 2px dashed var(--sand-deep); margin-top: 0.5rem; padding-top: 0.7rem;
  font-weight: 700; font-size: 1.08rem; color: var(--navy-ink);
}
.order-summary .row.charity { color: var(--olive); font-weight: 600; }

/* Payment methods */
.pay-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; }
@media (max-width: 700px) { .pay-methods { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pay-method {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream);
  padding: 0.9rem 0.6rem; text-align: center; cursor: pointer;
  font-size: 0.85rem; font-weight: 600; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
  transition: all 0.18s ease;
}
.pay-method svg { height: 26px; width: auto; }
.pay-method:hover { border-color: var(--navy); }
.pay-method.selected { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(29,58,143,0.14); }

/* Age gate warning */
.age-alert {
  display: none; background: #fdecea; border: 1.5px solid var(--err); color: var(--err);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-weight: 600; font-size: 0.95rem;
  margin-top: 1rem;
}
.age-alert.show { display: flex; gap: 0.7rem; align-items: flex-start; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 560px; }
table.data th {
  text-align: left; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  padding: 0.85rem 1.1rem; border-bottom: 2px solid var(--line); background: var(--sand);
}
table.data td { padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--cream); }
table.data td.mono { font-family: var(--font-mono); font-size: 0.85rem; white-space: nowrap; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: 0.55rem; top: 0.4rem; bottom: 0.4rem;
  width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px);
}
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2.2rem; top: 0.35rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--cream); border: 3.5px solid var(--navy);
}
.tl-item.accent::before { border-color: var(--terra); background: var(--terra); box-shadow: 0 0 0 5px rgba(217, 91, 43, 0.18); }
.tl-item .tl-date {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terra); font-weight: 600;
}
.tl-item h3 { margin: 0.25rem 0 0.35rem; font-size: 1.2rem; }
.tl-item p { color: var(--muted); font-size: 0.96rem; margin: 0; max-width: 38rem; }

/* ---------- Prijzen-collage (JNF-stijl bloem van foto's) ---------- */
.prize-collage { position: relative; width: min(440px, 92%); aspect-ratio: 1; margin: 0 auto; }
.prize-collage .pc-petal { position: absolute; border-radius: 50%; }
.pc-petal-1 { width: 52%; height: 52%; left: 0; top: 5%; background: #cfe3f5; }
.pc-petal-2 { width: 46%; height: 46%; right: 0; top: 0; background: #dcecf8; }
.pc-petal-3 { width: 48%; height: 48%; right: 2%; bottom: 0; background: linear-gradient(180deg, #c4ead8, #8fd4bc); }
.pc-petal-4 { width: 40%; height: 40%; left: 5%; bottom: 6%; background: #d9f0dc; }
.prize-collage .pc-photo {
  position: absolute; border-radius: 50%; object-fit: cover;
  box-shadow: 0 12px 30px -12px rgba(26, 44, 91, 0.4);
}
.pc-photo-1 { width: 40%; height: 40%; left: 8%; top: 0; }
.pc-photo-2 { width: 36%; height: 36%; right: 6%; top: 10%; }
.pc-photo-3 { width: 38%; height: 38%; right: 10%; bottom: 3%; }
.pc-photo-4 { width: 33%; height: 33%; left: 3%; bottom: 11%; }
.pc-badge {
  position: absolute; left: 50%; top: 50%; width: 47%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: #fff; border-radius: 50%;
  box-shadow: 0 18px 44px -14px rgba(26, 44, 91, 0.45);
  display: grid; place-items: center;
}
.pc-badge svg { width: 92%; height: 92%; }
.prize-collage.as-image img.pc-full { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Israël-kaart (locatie Lahav Farm) ---------- */
.israel-map {
  margin-top: 1.4rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.4rem 1rem;
  box-shadow: var(--shadow-soft); text-align: center;
}
.israel-map svg { width: min(190px, 55%); height: auto; margin: 0 auto; display: block; }
.israel-map .map-note { font-size: var(--fs-tiny); color: var(--muted); margin: 0.8rem 0 0; }

/* ---------- Photo band ---------- */
.photo-band { position: relative; overflow: hidden; line-height: 0; }
.photo-band img { width: 100%; height: clamp(300px, 44vw, 540px); object-fit: cover; display: block; }
.photo-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 24, 54, 0.72), rgba(13, 24, 54, 0.05) 55%);
  pointer-events: none;
}
.photo-band .photo-caption {
  position: absolute; left: 0; right: 0; bottom: clamp(1.6rem, 4vw, 3rem); z-index: 2;
  line-height: 1.5;
}
.photo-band .photo-caption h2 {
  color: #fdfbf2; font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  margin-bottom: 0.2em; max-width: 22ch; text-shadow: 0 2px 18px rgba(13, 24, 54, 0.55);
}
.photo-band .photo-caption h2 em { font-style: italic; color: var(--gold); }
.photo-band .photo-caption p {
  color: #d6d9e8; font-size: clamp(0.9rem, 1.6vw, 1.05rem); margin: 0; max-width: 44ch;
  text-shadow: 0 1px 12px rgba(13, 24, 54, 0.6);
}

/* ---------- Trust band ---------- */
.trust-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-band-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.6rem;
  padding: 1.3rem 0; align-items: center;
}
.trust-chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.trust-chip svg { width: 18px; height: 18px; color: var(--olive); flex: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 65%, #2b4dae);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.6rem, 5vw, 4rem);
  color: #e8e4d8; text-align: center;
  box-shadow: var(--shadow-lift);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.14; pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, var(--gold) 0 2px, transparent 2px),
    radial-gradient(circle at 80% 60%, #fff 0 1.5px, transparent 1.5px),
    radial-gradient(circle at 45% 80%, var(--gold) 0 1.5px, transparent 1.5px);
  background-size: 220px 220px, 160px 160px, 190px 190px;
}
.cta-band h2 { color: #fdfbf2; font-weight: 500; }
.cta-band h2 em { color: var(--gold); font-style: italic; }
.cta-band p { color: #b8bcd0; max-width: 40rem; margin: 0 auto 1.8rem; }
.cta-band .fine { font-size: var(--fs-tiny); font-family: var(--font-mono); color: #8d93b0; margin-top: 1.4rem; letter-spacing: 0.04em; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--navy-ink); color: #d9d5c7; position: relative; overflow: hidden;
  padding: clamp(3.2rem, 7vw, 5.5rem) 0 clamp(3.6rem, 8vw, 6rem);
}
.page-hero h1 { color: #fdfbf2; font-weight: 500; max-width: 18ch; }
.page-hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.page-hero .lead { color: #b8bcd0; }
.page-hero .crumbs {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: #8d93b0; margin-bottom: 1.6rem;
}
.page-hero .crumbs a { color: #b8bcd0; text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero::after {
  content: ""; position: absolute; right: -6rem; top: -6rem; width: 26rem; height: 26rem;
  border-radius: 50%; border: 1.5px dashed rgba(201, 162, 39, 0.35); pointer-events: none;
}
.page-hero::before {
  content: ""; position: absolute; right: -2rem; top: -2rem; width: 15rem; height: 15rem;
  border-radius: 50%; border: 1.5px dashed rgba(201, 162, 39, 0.2); pointer-events: none;
}

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 50rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.22rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3rem; color: var(--ink); }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--terra); }
.legal-meta {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem; margin-bottom: 2.4rem; background: var(--paper);
}
.info-box {
  background: var(--sand); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.4rem; margin: 1.6rem 0; font-size: 0.96rem;
}
.info-box.warn { border-left-color: var(--terra); }
.info-box p:last-child { margin-bottom: 0; }

/* ---------- Footer (JNF-groen) ---------- */
.site-footer {
  background: linear-gradient(175deg, #2e9540 0%, #27823a 60%, #1f7030 100%);
  color: #e2f2dd; font-size: 0.9rem; position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; right: -4rem; bottom: -4rem; width: 24rem; height: 24rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 65%);
  pointer-events: none;
}
.footer-warning {
  background: var(--navy-ink); color: #fff; text-align: center;
  padding: 0.65rem 1rem; font-weight: 650; font-size: 0.88rem; letter-spacing: 0.02em;
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.7rem; flex-wrap: wrap;
}
.footer-warning .age-emblem {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; flex: none;
  background: #fff; color: var(--navy-ink);
  font-weight: 800; font-size: 0.8rem; letter-spacing: -0.01em;
  border: 2px solid var(--gold);
}

/* Nieuwsbrief in footer */
.footer-news {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1.4fr); gap: 1.5rem 3rem; align-items: center;
  padding: 2.4rem 0 2.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
@media (max-width: 860px) { .footer-news { grid-template-columns: minmax(0,1fr); } }
.footer-news h3 { color: #fff; font-size: 1.35rem; margin-bottom: 0.35rem; }
.footer-news p { color: #d3ead0; margin: 0; font-size: 0.92rem; }
.footer-news form { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.footer-news input[type="email"] {
  flex: 1 1 14rem; padding: 0.78rem 1.1rem; border: 0; border-radius: 999px;
  font: inherit; font-size: 0.95rem; color: var(--ink); background: #fff;
}
.footer-news input[type="email"]:focus { outline: 3px solid rgba(255, 255, 255, 0.45); }
.btn-orange {
  background: #f5a623; color: #fff;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.35);
}
.btn-orange:hover { background: #e0930f; color: #fff; transform: translateY(-2px); }
.footer-news .news-check { flex-basis: 100%; display: flex; gap: 0.55rem; align-items: center; font-size: 0.82rem; color: #d3ead0; }
.footer-news a { color: #ffffff; }
.footer-news a:hover { color: #ffe9bd; }
.footer-news .news-check input { width: 1.05rem; height: 1.05rem; accent-color: #f5a623; }
.footer-news .news-thanks { color: #fff; font-weight: 600; display: none; }
.footer-main { padding: 0 0 2.5rem; position: relative; z-index: 1; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr);
  gap: 2.4rem 2.8rem; padding-top: 2.8rem;
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: minmax(0,1fr); } }
.footer-grid h4 {
  color: #ffffff; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem;
}
.footer-grid p { margin-bottom: 0.7rem; line-height: 1.6; }
.footer-grid a { color: #ffffff; text-decoration: none; }
.footer-grid a:hover { color: #ffe9bd; text-decoration: underline; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid .mono { font-family: var(--font-mono); font-size: 0.8rem; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; color: #ffffff; margin-bottom: 1.1rem; }
.footer-brand b { font-family: var(--font-display); font-size: 1.2rem; }
.footer-license {
  border: 1.5px dashed rgba(255, 255, 255, 0.45); border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem; margin-top: 2.6rem;
  font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.8;
  color: #e2f2dd; background: rgba(255, 255, 255, 0.06);
}
.footer-license b { color: #ffe9bd; }
/* Betaalmethoden */
.footer-pay {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem;
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.22);
}
.footer-pay-label {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #ffe9bd;
}
.footer-pay-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.footer-pay-list .pay-logo {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid rgba(255,255,255,0.28);
  border-radius: 6px; padding: 0.34rem 0.6rem; height: 2.1rem; box-sizing: border-box;
}
.footer-pay-list .pay-logo img { height: 1.3rem; width: auto; display: block; }
.footer-pay-list .pay-logo-icon {
  gap: 0.45rem; color: var(--navy-ink);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
}
.footer-pay-list .pay-logo-icon svg { width: 1.2rem; height: 1.2rem; flex: none; }
.footer-pay-note { flex-basis: 100%; font-size: 0.75rem; color: #cfe4cb; }

/* Kansspelautoriteit */
.footer-ksa { margin-top: 1.6rem; }
.footer-ksa-link {
  display: inline-flex; align-items: center; gap: 0.8rem;
  color: #eef6ea !important; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.28); border-radius: var(--radius-sm);
  padding: 0.7rem 1rem; background: rgba(255,255,255,0.05); font-size: 0.82rem; line-height: 1.4;
}
.footer-ksa-link:hover { background: rgba(255,255,255,0.1); }
.footer-ksa-link small { color: #cfe4cb; }
.footer-ksa-logo {
  flex: none; height: 2.9rem; width: auto; border-radius: 8px;
  background: #fff; padding: 0.4rem 0.55rem; box-sizing: border-box;
}
.footer-split {
  display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; align-items: center;
  margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.22);
  font-size: 0.82rem;
}
.footer-split .pct { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.75rem; }
.footer-split .pct i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; font-style: normal; border: 1px solid rgba(255,255,255,0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.22); background: rgba(0, 0, 0, 0.14);
  padding: 1.2rem 0 1.4rem; font-size: 0.78rem; color: #d3ead0;
  position: relative; z-index: 1;
}
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between; align-items: center; }
.footer-bottom a { color: #ffffff; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; list-style: none; margin: 0; padding: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9999;
  max-width: 30rem; margin-left: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 1.5rem 1.6rem;
  transform: translateY(130%); opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.3s;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.cookie-banner p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.1rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-actions .btn { padding: 0.55rem 1.15rem; font-size: 0.88rem; }
.cookie-prefs { margin: 0.4rem 0 1rem; display: none; }
.cookie-banner.prefs-open .cookie-prefs { display: block; }
.cookie-pref-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 1px dashed var(--line); font-size: 0.88rem;
}
.cookie-pref-row:last-child { border-bottom: 0; }
.cookie-pref-row b { font-size: 0.9rem; }
.cookie-pref-row small { display: block; color: var(--muted); font-size: 0.75rem; }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 1; }
.switch .track {
  position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: background 0.2s;
}
.switch .track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  background: #fff; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.switch input:checked + .track { background: var(--olive); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:disabled + .track { background: var(--navy); opacity: 0.5; }

/* ---------- Reveal animations ---------- */
.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.maxw { max-width: 46rem; }
.badge-inline {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--sand); border-radius: 999px; padding: 0.3rem 0.85rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-deep);
}
.text-small { font-size: var(--fs-small); color: var(--muted); }
.mono { font-family: var(--font-mono); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
