/* ============================================================
   ThamesValleyJourney — Core Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
  /* Colour ramps */
  --primary-900: #051828;
  --primary-800: #0a2d4a;
  --primary-700: #0d3b5e;
  --primary-600: #115070;
  --primary-500: #1a6585;
  --primary-400: #2a82a8;
  --primary-300: #4da0c4;
  --primary-200: #85bfd8;
  --primary-100: #c0dded;
  --primary-50:  #e8f4fa;

  --secondary-700: #1a5248;
  --secondary-600: #1e6358;
  --secondary-500: #2d7a6b;
  --secondary-400: #3d9e8c;
  --secondary-300: #56bfa8;
  --secondary-200: #8fd6c8;
  --secondary-100: #c4ede6;

  --accent-700: #7a4d10;
  --accent-600: #a0671a;
  --accent-500: #c8902a;
  --accent-400: #e6a830;
  --accent-300: #f0bf60;
  --accent-200: #f7d898;
  --accent-100: #fbefd0;

  --success-600: #1e5e28;
  --success-500: #2d7a3d;
  --success-400: #3da050;
  --success-100: #c4edcc;

  --warning-500: #c07818;
  --warning-400: #e09030;
  --warning-100: #fae5c0;

  --error-600: #8a2020;
  --error-500: #b83232;
  --error-400: #d44848;
  --error-100: #f8d0d0;

  --neutral-950: #0a0807;
  --neutral-900: #181410;
  --neutral-800: #2e2820;
  --neutral-700: #443e36;
  --neutral-600: #5e5650;
  --neutral-500: #7a726a;
  --neutral-400: #9a9088;
  --neutral-300: #b8b0a8;
  --neutral-200: #d4cec8;
  --neutral-150: #e2ddd8;
  --neutral-100: #edeae6;
  --neutral-50:  #f8f6f3;
  --white:       #ffffff;

  /* Spacing */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,.15), 0 2px 4px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.18), 0 4px 8px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 50px rgba(0,0,0,.22), 0 8px 16px rgba(0,0,0,.14);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-normal: 260ms ease;
  --t-slow:   420ms ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background: var(--neutral-50);
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--primary-800);
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--neutral-700); }

/* ── Layout Helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1400px; }

.section {
  padding: var(--sp-20) 0;
}

.section--alt {
  background: var(--primary-50);
}

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.grid-2       { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.grid-3       { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-4       { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

.text-center  { text-align: center; }
.text-left    { text-align: left; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--t-normal);
  white-space: nowrap;
  user-select: none;
}

.btn--primary {
  background: var(--primary-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 59, 94, .35);
}
.btn--primary:hover {
  background: var(--primary-500);
  box-shadow: 0 6px 20px rgba(13, 59, 94, .45);
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--accent-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(200, 144, 42, .35);
}
.btn--accent:hover {
  background: var(--accent-400);
  box-shadow: 0 6px 20px rgba(200, 144, 42, .45);
  transform: translateY(-1px);
}

.btn--outline {
  border: 2px solid var(--primary-600);
  color: var(--primary-600);
  background: transparent;
}
.btn--outline:hover {
  background: var(--primary-600);
  color: var(--white);
}

.btn--ghost {
  color: var(--primary-600);
  background: transparent;
}
.btn--ghost:hover { background: var(--primary-50); }

.btn--lg { padding: var(--sp-4) var(--sp-10); font-size: 1.05rem; }
.btn--sm { padding: var(--sp-2) var(--sp-5); font-size: .85rem; }

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Section Headers ──────────────────────────────────────── */
.section-tag {
  display: inline-block;
  padding: var(--sp-1) var(--sp-4);
  background: var(--primary-50);
  color: var(--primary-600);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.section-header { margin-bottom: var(--sp-12); }
.section-header p {
  margin-top: var(--sp-4);
  font-size: 1.1rem;
  max-width: 56ch;
}
.section-header.text-center p { margin-inline: auto; }

/* ── NAV ──────────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background var(--t-normal), box-shadow var(--t-normal);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 var(--sp-6);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.nav-logo .logo-mark {
  width: 38px; height: 38px;
  background: var(--accent-500);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.12); }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.coin-display {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
  color: var(--accent-300);
  font-weight: 600;
  font-size: .9rem;
}

.coin-display .coin-icon { font-size: 1rem; }

#site-nav.scrolled {
  background: var(--primary-800);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t-fast);
}

/* ── FOOTER ───────────────────────────────────────────────── */
#site-footer {
  background: var(--primary-900);
  color: rgba(255,255,255,.75);
  padding: var(--sp-16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-3);
}

.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.7;
  max-width: 30ch;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-300);
  margin-bottom: var(--sp-5);
}

.footer-col ul li { margin-bottom: var(--sp-3); }
.footer-col ul a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color var(--t-fast);
}
.footer-col ul a:hover { color: var(--white); }

.footer-disclaimer {
  margin: var(--sp-8) 0;
  padding: var(--sp-6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid var(--accent-500);
  border-radius: var(--radius-md);
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

.footer-disclaimer strong { color: rgba(255,255,255,.8); }
.footer-disclaimer a { color: var(--accent-300); text-decoration: underline; }
.footer-disclaimer a:hover { color: var(--accent-200); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--primary-900) 0%, var(--primary-700) 55%, var(--secondary-700) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 50%, rgba(26,101,133,.3) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(45,122,107,.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  overflow: hidden;
}

.hero-waves svg { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  color: var(--accent-300);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

.hero h1 { color: var(--white); margin-bottom: var(--sp-6); }
.hero h1 em { color: var(--accent-300); font-style: normal; }

.hero p {
  color: rgba(255,255,255,.78);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-10);
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-item .stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-300);
  display: block;
}
.stat-item .stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Card ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-body { padding: var(--sp-8); }

/* ── Game Cards ───────────────────────────────────────────── */
.game-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--t-normal), box-shadow var(--t-normal);
  display: flex;
  flex-direction: column;
}

.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.game-card-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-size: 5rem;
}

.game-card-body { padding: var(--sp-6); flex: 1; display: flex; flex-direction: column; }
.game-card-body h3 { margin-bottom: var(--sp-2); }
.game-card-body p  { font-size: .9rem; color: var(--neutral-500); flex: 1; margin-bottom: var(--sp-5); }

.game-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  background: var(--success-100);
  color: var(--success-600);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

/* ── Feature ──────────────────────────────────────────────── */
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
}

/* ── Age Gate Modal ───────────────────────────────────────── */
#age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 24, 40, .92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  backdrop-filter: blur(6px);
}

.age-gate-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modalIn .35s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.age-gate-header {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
  padding: var(--sp-8) var(--sp-8) var(--sp-6);
  text-align: center;
}

.age-gate-header .age-icon {
  font-size: 2.8rem;
  margin-bottom: var(--sp-3);
}

.age-gate-header h2 { color: var(--white); margin-bottom: var(--sp-2); }
.age-gate-header p  { color: rgba(255,255,255,.75); font-size: .9rem; }

.age-gate-body { padding: var(--sp-8); }

.age-gate-notice {
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  font-size: .85rem;
  color: var(--primary-700);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}

.age-gate-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  cursor: pointer;
}

.age-gate-check input[type="checkbox"] {
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--primary-600);
  flex-shrink: 0;
  cursor: pointer;
}

.age-gate-check span {
  font-size: .9rem;
  color: var(--neutral-700);
  line-height: 1.5;
}

#age-gate-confirm {
  width: 100%;
  padding: var(--sp-4);
  background: var(--primary-600);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--t-normal);
  border: none;
  cursor: pointer;
}

#age-gate-confirm:not(:disabled):hover {
  background: var(--primary-500);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

#age-gate-confirm:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.age-gate-footer {
  padding: 0 var(--sp-8) var(--sp-6);
  text-align: center;
  font-size: .78rem;
  color: var(--neutral-400);
}

/* ── Cookie Banner ────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8000;
  background: var(--primary-900);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--sp-5) var(--sp-6);
  transform: translateY(100%);
  transition: transform var(--t-slow);
}

#cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.cookie-text { flex: 1; min-width: 240px; }
.cookie-text p { color: rgba(255,255,255,.75); font-size: .88rem; line-height: 1.6; margin: 0; }
.cookie-text a { color: var(--accent-300); text-decoration: underline; }

.cookie-actions { display: flex; gap: var(--sp-3); flex-shrink: 0; }

.btn--cookie-accept {
  background: var(--accent-500);
  color: var(--white);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-full);
  font-size: .88rem;
  font-weight: 600;
  transition: background var(--t-fast);
}
.btn--cookie-accept:hover { background: var(--accent-400); }

.btn--cookie-decline {
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.65);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-full);
  font-size: .88rem;
  transition: all var(--t-fast);
}
.btn--cookie-decline:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  padding: 130px 0 var(--sp-16);
  background: linear-gradient(150deg, var(--primary-900), var(--primary-700));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(45,122,107,.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.72); font-size: 1.1rem; margin-top: var(--sp-4); max-width: 52ch; margin-inline: auto; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-4);
  justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: .4; }

/* ── Prose ────────────────────────────────────────────────── */
.prose {
  max-width: 72ch;
  margin: 0 auto;
}

.prose h2 { margin: var(--sp-10) 0 var(--sp-4); }
.prose h3 { margin: var(--sp-8) 0 var(--sp-3); }
.prose p  { margin-bottom: var(--sp-5); }
.prose ul, .prose ol { padding-left: var(--sp-6); margin-bottom: var(--sp-5); }
.prose li { margin-bottom: var(--sp-2); color: var(--neutral-700); }
.prose a  { color: var(--primary-600); text-decoration: underline; }
.prose a:hover { color: var(--primary-500); }
.prose strong { font-weight: 600; color: var(--neutral-800); }

/* ── Accordion ────────────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--sp-3);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  background: var(--white);
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--neutral-800);
  transition: background var(--t-fast);
  gap: var(--sp-4);
}

.accordion-trigger:hover { background: var(--neutral-50); }

.accordion-trigger .chevron {
  width: 20px; height: 20px;
  border-right: 2px solid var(--neutral-400);
  border-bottom: 2px solid var(--neutral-400);
  transform: rotate(45deg);
  transition: transform var(--t-fast);
  flex-shrink: 0;
  margin-bottom: 4px;
}

.accordion-item.open .accordion-trigger .chevron {
  transform: rotate(225deg);
  margin-bottom: -4px;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
  background: var(--white);
}

.accordion-body-inner {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--neutral-600);
  font-size: .95rem;
  line-height: 1.7;
  border-top: 1px solid var(--neutral-100);
  padding-top: var(--sp-4);
}

.accordion-item.open .accordion-body { max-height: 500px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-8); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--primary-900);
    padding: var(--sp-4);
    gap: var(--sp-1);
    box-shadow: var(--shadow-lg);
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-stats { gap: var(--sp-6); }

  .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-actions { width: 100%; }
  .btn--cookie-accept, .btn--cookie-decline { flex: 1; text-align: center; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── Utility ──────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mt-2  { margin-top: var(--sp-2); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-8  { margin-bottom: var(--sp-8); }
.gap-4 { gap: var(--sp-4); }

.tag-pill {
  display: inline-block;
  padding: 2px var(--sp-3);
  background: var(--accent-100);
  color: var(--accent-700);
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 600;
}

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
