@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --mint: #b4fde1;
  --sky: #add8e6;
  --ink: #172620;
  --ink-light: #2e4a3e;
  --ink-faint: #4a6b5e;
  --white: #ffffff;
  --off-white: #f4fef9;
  --mint-dark: #7de8c0;
  --sky-dark: #7bbcce;
  --shadow-color: rgba(23, 38, 32, 0.18);
  --shadow-color-strong: rgba(23, 38, 32, 0.28);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;

  --border-width: 3px;
  --border-color: var(--ink);

  --shadow-clay: 4px 4px 0px var(--ink), inset -2px -2px 8px rgba(23,38,32,0.12);
  --shadow-clay-hover: 6px 6px 0px var(--ink), inset -2px -2px 10px rgba(23,38,32,0.16);
  --shadow-card: 4px 4px 0 var(--ink);

  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  --max-content: 1160px;
  --max-reading: 720px;
  --sidebar-w: 260px;
  --gap: 24px;

  --header-h: 72px;
  --announce-h: 36px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--off-white);
  font-family: var(--font-body);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--off-white);
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ink-light);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover, a:focus-visible {
  color: var(--ink);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   ANNOUNCEMENT STRIP
   ============================================================ */
.announcement-strip {
  background: var(--ink);
  color: var(--mint);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 8px 16px;
  min-height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--mint);
  border-bottom: var(--border-width) solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}

.header-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 16px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
  position: relative;
}

/* Brand centered */
.nav-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  border-radius: 8px;
  border: 2px solid var(--ink);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
}

/* Nav left (toggle) */
.nav-left {
  flex: 0 0 auto;
  z-index: 3;
}

/* CTA group right */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  z-index: 3;
}

/* ============================================================
   NAV DETAILS / TOGGLE (structure lottery: details > summary + menu > li > a)
   ============================================================ */
.nav-details {
  position: relative;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow-clay);
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
  list-style: none;
  padding: 0;
}

.nav-toggle::-webkit-details-marker { display: none; }

.nav-toggle:hover,
.nav-toggle:focus-visible {
  box-shadow: var(--shadow-clay-hover);
  transform: translateY(-1px);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger-icon span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.nav-details[open] .hamburger-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-details[open] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.nav-details[open] .hamburger-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-details > menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-clay);
  min-width: 280px;
  padding: 8px;
  z-index: 1000;
  animation: menuSlide 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes menuSlide {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-details > menu li {
  display: block;
}

.nav-details > menu li a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
  min-height: 44px;
  line-height: 1.3;
  display: flex;
  align-items: center;
}

.nav-details > menu li a:hover,
.nav-details > menu li a:focus-visible {
  background: var(--mint);
  transform: translateX(4px);
}

/* Desktop: inline nav — show links in split layout */
@media (min-width: 769px) {
  .nav-details > menu {
    position: static;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    animation: none;
  }

  .nav-details > menu li a {
    padding: 8px 12px;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
    min-height: 44px;
    white-space: nowrap;
  }

  .nav-details > menu li a:hover {
    background: var(--sky);
    transform: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav-details {
    display: contents;
  }

  .nav-left {
    display: contents;
  }
}

/* ============================================================
   CTA BUTTONS (header + footer)
   ============================================================ */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: var(--border-width) solid var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out, background 0.15s ease;
  white-space: nowrap;
}

.cta-signup {
  background: var(--ink);
  color: var(--mint);
  box-shadow: 3px 3px 0 var(--mint-dark);
}

.cta-signup:hover,
.cta-signup:focus-visible {
  background: var(--ink-light);
  color: var(--mint);
  box-shadow: 5px 5px 0 var(--mint-dark);
  transform: translateY(-2px);
}

.cta-login {
  background: var(--white);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--sky-dark);
}

.cta-login:hover,
.cta-login:focus-visible {
  background: var(--sky);
  box-shadow: 5px 5px 0 var(--sky-dark);
  transform: translateY(-2px);
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding: 48px 24px;
  max-width: var(--max-content);
  margin: 0 auto;
}

.hero-copy {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
}

.hero-lead {
  font-size: 1.15rem;
  font-weight: 400;
  max-width: 520px;
  margin-bottom: 0;
  color: var(--ink-faint);
}

.hero-media {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  border: var(--border-width) solid var(--ink);
  box-shadow: var(--shadow-clay);
  object-fit: cover;
}

.hero-placeholder {
  min-height: 320px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--sky) 100%);
  border-radius: var(--radius-lg);
  border: var(--border-width) solid var(--ink);
  box-shadow: var(--shadow-clay);
  width: 100%;
  max-width: 520px;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(120deg, var(--mint) 0%, var(--sky) 100%);
  border-bottom: var(--border-width) solid var(--ink);
  padding: 48px 24px 40px;
}

.page-hero-inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.page-hero--ranking { background: linear-gradient(120deg, var(--sky) 0%, var(--mint) 100%); }
.page-hero--compare { background: linear-gradient(120deg, var(--mint) 30%, var(--sky) 100%); }
.page-hero--faq     { background: linear-gradient(120deg, var(--sky) 0%, #c8f4e8 100%); }
.page-hero--inner   { background: var(--mint); }
.page-hero--data    { background: linear-gradient(120deg, #d4f5ff 0%, var(--mint) 100%); }

.page-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

/* ============================================================
   BYLINE
   ============================================================ */
.byline {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-faint);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.byline time {
  font-weight: 600;
  color: var(--ink-light);
}

/* ============================================================
   CONTENT LAYOUT (sidebar + main)
   ============================================================ */
.page-content-section {
  padding: 40px 24px;
  max-width: var(--max-content);
  margin: 0 auto;
}

.content-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* Sidebar to the LEFT of content */
.sidebar {
  flex: 0 0 var(--sidebar-w);
  order: -1;
  position: sticky;
  top: calc(var(--header-h) + var(--announce-h) + 16px);
  max-height: calc(100vh - var(--header-h) - var(--announce-h) - 32px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-content {
  flex: 1 1 0;
  min-width: 0;
}

/* ============================================================
   SIDEBAR CARDS
   ============================================================ */
.sidebar-card {
  background: var(--white);
  border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px 18px;
}

.sidebar-card h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.sidebar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.sidebar-card .subtitle {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 12px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-links li a {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border: 2px solid transparent;
  min-height: 44px;
  transition: background 0.15s, border-color 0.15s;
}

.sidebar-links li a:hover,
.sidebar-links li a:focus-visible {
  background: var(--mint);
  border-color: var(--ink);
}

.sidebar-card--cta {
  background: var(--mint);
}

.sidebar-card--cta p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.cta-text-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.sidebar-card--tip {
  background: var(--sky);
}

.sidebar-card--tip h3 {
  font-size: 1rem;
}

.sidebar-card--tip p {
  font-size: 0.88rem;
  color: var(--ink-light);
}

/* ============================================================
   PROSE
   ============================================================ */
.prose {
  max-width: var(--max-reading);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.25rem;
}

.prose h2 + p,
.prose h2 + p.subtitle {
  margin-bottom: 1rem;
  color: var(--ink-faint);
}

.prose h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul, .prose ol {
  list-style: disc;
  padding-left: 1.4em;
  margin-bottom: 1rem;
}

.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: 0.4rem;
  padding-left: 0.3em;
}

.prose a {
  color: var(--ink-light);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--mint-dark);
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.prose thead {
  background: var(--ink);
  color: var(--mint);
}

.prose thead th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.prose tbody tr:nth-child(even) {
  background: var(--off-white);
}

.prose tbody tr:hover {
  background: var(--mint);
}

.prose tbody td {
  padding: 11px 16px;
  border-top: 1px solid rgba(23,38,32,0.1);
}

.prose blockquote {
  border-left: 4px solid var(--mint-dark);
  margin: 1.5rem 0;
  padding: 12px 20px;
  background: var(--off-white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink-faint);
}

/* Subtitle class for h2 + p.subtitle contract */
.subtitle {
  font-size: 1rem;
  color: var(--ink-faint);
  margin-bottom: 1rem;
  font-weight: 400;
}

/* ============================================================
   CHILD PAGE CARDS (home, structure lottery: ul > li > article > h3/p)
   ============================================================ */
.child-pages-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(23,38,32,0.1);
}

.child-pages-section > h2 {
  margin-bottom: 4px;
}

.child-pages-section > .subtitle {
  margin-bottom: 1.5rem;
}

.child-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}

.child-list > li {
  display: flex;
}

.child-list > li > article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  background: rgba(255,255,255,0.7);
  border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-clay);
  padding: 20px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.child-list > li > article:hover {
  box-shadow: var(--shadow-clay-hover);
  transform: translateY(-3px);
}

.child-list > li > article h3 {
  font-size: 1.3rem;
  line-height: 1.2;
}

.child-list > li > article h3 a {
  color: var(--ink);
  text-decoration: none;
}

.child-list > li > article h3 a:hover {
  text-decoration: underline;
}

.child-list > li > article p {
  font-size: 0.9rem;
  color: var(--ink-faint);
  flex: 1;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.card-cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--mint-dark);
  align-self: flex-start;
  padding: 4px 0;
}

/* ============================================================
   REVIEW HERO
   ============================================================ */
.review-hero {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--sky) 100%);
  border-bottom: var(--border-width) solid var(--ink);
  padding: 48px 24px 40px;
  max-width: 100%;
}

.review-hero-copy {
  flex: 1;
  max-width: var(--max-content);
  margin: 0 auto;
}

.review-desc {
  font-size: 1.05rem;
  color: var(--ink-faint);
  margin-top: 10px;
}

.review-hero-media {
  flex: 0 0 auto;
}

.review-hero-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--ink);
  box-shadow: var(--shadow-clay);
}

/* ============================================================
   RANKING JUMP LIST
   ============================================================ */
.rank-jumps {
  margin-bottom: 16px;
}

.rank-jumps h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.rank-jump-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: rank-counter;
  margin-top: 8px;
}

.rank-jump-list li a {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  background: var(--off-white);
  border: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.rank-jump-list li a:hover {
  background: var(--mint);
  border-color: var(--ink);
}

/* ============================================================
   COMPARE VERDICT
   ============================================================ */
.compare-verdict {
  font-size: 1.05rem;
  color: var(--ink-faint);
  margin-top: 10px;
  max-width: 640px;
}

/* ============================================================
   AUTHOR SECTION (about page)
   ============================================================ */
.author-section {
  margin-top: 2.5rem;
  padding: 28px 24px;
  background: var(--mint);
  border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay);
}

.author-section h2 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.author-section .subtitle {
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin-bottom: 12px;
}

.author-bio {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.author-name-display {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  margin-bottom: 0;
}

/* ============================================================
   FAQ PROSE
   ============================================================ */
.faq-prose h2 {
  padding-top: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--mint);
  margin-top: 60px;
  border-top: var(--border-width) solid var(--ink);
}

/* Footer CTA block */
.footer-cta-block {
  background: var(--mint);
  color: var(--ink);
  text-align: center;
  padding: 48px 24px;
  border-bottom: var(--border-width) solid var(--ink);
}

.footer-cta-block h2 {
  font-size: 2.4rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.footer-cta-block .subtitle {
  margin-bottom: 20px;
  color: var(--ink-faint);
}

/* Footer columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 24px;
}

.footer-col address {
  font-style: normal;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--sky);
}

.footer-col address p {
  margin-bottom: 2px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--mint);
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col ul li a {
  color: var(--sky);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  transition: color 0.15s;
}

.footer-col ul li a:hover,
.footer-col ul li a:focus-visible {
  color: var(--mint);
  text-decoration: underline;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(180, 253, 225, 0.2);
  text-align: center;
  padding: 20px 24px;
}

.responsible-gambling {
  font-size: 0.85rem;
  color: var(--sky);
  margin-bottom: 6px;
  font-weight: 500;
}

.copyright {
  font-size: 0.82rem;
  color: rgba(180,253,225,0.5);
  margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section {
    gap: 24px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --sidebar-w: 100%;
  }

  /* Nav: toggle shows, brand and CTA visible */
  .nav-toggle {
    display: flex;
  }

  .nav-details > menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: var(--border-width) solid var(--ink);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-clay);
    min-width: 280px;
    padding: 8px;
    flex-direction: column;
    animation: menuSlide 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: none;
  }

  .nav-details[open] > menu {
    display: flex;
  }

  /* Hero stacks */
  .hero-section {
    flex-direction: column;
    min-height: auto;
    padding: 32px 16px;
    gap: 20px;
  }

  .hero-media {
    width: 100%;
  }

  .hero-placeholder {
    min-height: 200px;
  }

  /* Content layout stacks: sidebar goes below */
  .content-layout {
    flex-direction: column;
  }

  .sidebar {
    position: static;
    max-height: none;
    order: 1;
    width: 100%;
  }

  .main-content {
    order: 0;
  }

  /* Page content padding */
  .page-content-section {
    padding: 24px 16px;
  }

  .page-hero {
    padding: 32px 16px 28px;
  }

  /* Review hero stacks */
  .review-hero {
    flex-direction: column;
    padding: 32px 16px 28px;
    gap: 16px;
  }

  .review-hero-img {
    width: 120px;
    height: 120px;
  }

  /* Footer columns */
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 28px 16px;
  }

  .footer-cta-block {
    padding: 32px 16px;
  }

  .footer-cta-block h2 {
    font-size: 1.9rem;
  }

  /* Child list single column */
  .child-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .nav-cta-group .cta {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  html { scroll-behavior: auto; }
}

/* ============================================================
   PARALLAX / SCROLL EFFECTS (pure CSS hints, JS does the rest)
   ============================================================ */
.hero-media {
  will-change: transform;
}

/* ============================================================
   FOCUS STYLES (accessibility)
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

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

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}