/* ============================================
   Marigold Lane — shared stylesheet
   Simple prototype. Edit tokens below to restyle
   the whole site at once.
   ============================================ */

:root {
  --color-bg: #F7F2E9;
  --color-bg-alt: #EFE6D3;
  --color-ink: #2B241E;
  --color-ink-soft: #5C5347;
  --color-accent: #8C3B2C;   /* rust / burnt sienna */
  --color-accent-2: #6E7B54; /* sage */
  --color-gold: #B4863A;
  --color-line: #DFD3BC;
  --color-card-bg: #FFFDF9;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, Segoe UI, sans-serif;

  --max-width: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--color-ink);
}

p { margin: 0 0 1em; color: var(--color-ink-soft); max-width: 62ch; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--color-ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-ink);
}

/* ---------- Hero (home page) ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 64px;
}

.hero-media img {
  border-radius: var(--radius);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-text h1 {
  font-size: 2.6rem;
  max-width: 12ch;
}

.hero-text p {
  font-size: 1.05rem;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 32px;
  border-bottom: 1px solid var(--color-line);
}

.page-hero h1 {
  font-size: 2.2rem;
}

.page-hero p {
  font-size: 1.05rem;
}

/* ---------- Category grid (home) ---------- */

.category-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 24px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.category-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
}

.category-card h2 {
  margin-top: 14px;
  font-size: 1.15rem;
}

/* ---------- Feature / content grid ---------- */

.feature-section {
  background: var(--color-bg-alt);
  padding: 56px 0 64px;
}

.feature-heading,
.content-grid-heading {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 28px;
}

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

.content-grid {
  padding: 8px 24px 64px;
}

.feature-card,
.content-card {
  background: var(--color-card-bg);
  border-top: 3px solid var(--color-accent);
}

.feature-card img,
.content-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.feature-card-body,
.content-card-body {
  padding: 16px 18px 20px;
}

.feature-tag,
.content-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-accent-2);
}

.feature-card h3,
.content-card h3 {
  font-size: 1.05rem;
  margin-top: 4px;
}

.content-card p {
  font-size: 0.92rem;
  margin-top: 6px;
}

/* alternate accent for variety on listing pages */
.content-card.accent-gold { border-top-color: var(--color-gold); }
.content-card.accent-sage { border-top-color: var(--color-accent-2); }

/* ---------- About page ---------- */

.about-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 72px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.about-section img {
  border-radius: var(--radius);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-section h1 {
  font-size: 2.2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 40px 0 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 32ch;
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.footer-links a:hover { color: var(--color-accent); }

.footer-copy {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding: 16px 24px 0;
  border-top: 1px solid var(--color-line);
  font-size: 0.8rem;
  color: var(--color-ink-soft);
}

/* ---------- Halloween Kids Quiz ---------- */

.quiz-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

.quiz-progress { margin-bottom: 24px; }

.quiz-progress-text {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.quiz-progress-bar {
  margin-top: 8px;
  height: 6px;
  background: var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.quiz-card {
  background: var(--color-card-bg);
  border-top: 3px solid var(--color-accent);
  padding: 28px 24px;
  margin: 0;
}

.quiz-card fieldset { border: none; margin: 0; padding: 0; }

.quiz-card legend {
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding: 0;
  margin-bottom: 18px;
  color: var(--color-ink);
}

.quiz-options { display: flex; flex-direction: column; gap: 10px; }

.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.98rem;
}

.quiz-option:hover { border-color: var(--color-accent); }

.quiz-option input {
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.quiz-option.is-correct {
  border-color: var(--color-accent-2);
  background: rgba(110, 123, 84, 0.08);
}

.quiz-option.is-incorrect {
  border-color: var(--color-accent);
  background: rgba(140, 59, 44, 0.08);
}

.quiz-feedback {
  margin-top: 18px;
  font-size: 0.95rem;
  min-height: 1.4em;
}

.quiz-feedback.is-correct { color: var(--color-accent-2); }
.quiz-feedback.is-incorrect { color: var(--color-accent); }

.quiz-feedback .quiz-fact {
  display: block;
  margin-top: 6px;
  color: var(--color-ink-soft);
}

.quiz-nav-buttons {
  display: flex;
  justify-content: space-between;
  max-width: 700px;
  margin: 20px auto 0;
  padding: 24px 24px 0;
}

.quiz-btn {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  background: var(--color-card-bg);
  cursor: pointer;
}

.quiz-btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.quiz-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.quiz-results {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  text-align: center;
}

.quiz-results h2 { font-size: 1.8rem; }

.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-media img { height: 300px; }
  .category-grid,
  .feature-grid,
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .about-section { grid-template-columns: 1fr; }
  .about-section img { height: 280px; }
}

@media (max-width: 600px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--color-line);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--color-line);
  }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; }
  .category-grid,
  .feature-grid,
  .content-grid { grid-template-columns: 1fr; }
  .feature-grid.cols-3 { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2rem; }
  .quiz-nav-buttons { padding: 20px 24px 0; }
}


/* ---------- Cozy Halloween theme ---------- */
.halloween-page {
  --h-bg: #17191b;
  --h-cream: #fff8eb;
  --h-paper: #fffdf7;
  --h-orange: #d8742a;
  --h-deep-orange: #a64d1e;
  --h-sage: #71806a;
  --h-gold: #e7b45d;
  --h-purple: #6d5d7d;
  --h-ink: #2d241f;
  --h-muted: #6d6258;
  background:
    radial-gradient(circle at 15% 10%, rgba(216,116,42,.10), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(109,93,125,.10), transparent 24%),
    #f7f1e6;
}

.halloween-page .site-header {
  background: rgba(251,241,224,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(99,63,33,.05);
}

.halloween-hero {
  max-width: 1180px;
  min-height: 410px;
  margin: 28px auto 0;
  padding: 56px 54px;
  border: 0;
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  gap: 36px;
  align-items: center;
  overflow: hidden;
  position: relative;
  color: var(--h-cream);
  background:
    linear-gradient(120deg, rgba(19,21,22,.94), rgba(31,35,34,.86)),
    radial-gradient(circle at 75% 30%, rgba(216,116,42,.28), transparent 34%),
    #1c1f20;
  box-shadow: 0 24px 60px rgba(52,36,22,.16);
}

.halloween-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(255,255,255,.14) 0 1px, transparent 1.5px),
    radial-gradient(circle at 33% 9%, rgba(255,255,255,.11) 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 15%, rgba(255,255,255,.10) 0 1px, transparent 1.5px),
    radial-gradient(circle at 86% 12%, rgba(255,255,255,.14) 0 1px, transparent 1.5px);
  pointer-events: none;
}

.halloween-hero-copy { position: relative; z-index: 2; }
.halloween-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(231,180,93,.13);
  border: 1px solid rgba(231,180,93,.35);
  color: #ffdca5;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
}
.halloween-hero h1 {
  color: #fff9ed;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  max-width: 10ch;
  margin-bottom: 16px;
}
.halloween-hero p {
  color: rgba(255,248,235,.82);
  font-size: 1.08rem;
  max-width: 58ch;
}
.halloween-hero-badges { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.halloween-hero-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff7ea;
  font-size: .88rem;
}

.halloween-hero-art {
  position: relative;
  min-height: 280px;
  z-index: 1;
}
.hero-moon {
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  right:28px;
  top:18px;
  background: radial-gradient(circle at 38% 34%, #ffe6a4 0 8%, #f4ad45 30%, #cc6a2a 67%, #85431f 100%);
  box-shadow: 0 0 70px rgba(216,116,42,.32);
}
.hero-ghost { position:absolute; font-size:92px; right:142px; top:86px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
.hero-pumpkin { position:absolute; filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); }
.hero-pumpkin-one { font-size:76px; right:24px; bottom:8px; }
.hero-pumpkin-two { font-size:52px; right:98px; bottom:10px; transform: rotate(-6deg); }

.halloween-page #quiz-app {
  padding: 38px 0 62px;
  position: relative;
}
.halloween-page #quiz-app::before,
.halloween-page #quiz-app::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .18;
  pointer-events: none;
}
.halloween-page #quiz-app::before { left: 2%; top: 18%; background: #d8742a; }
.halloween-page #quiz-app::after { right: 4%; bottom: 12%; background: #71806a; }

.halloween-page .quiz-wrap { max-width: 820px; padding-top: 24px; position:relative; z-index:1; }
.quiz-spooky-row {
  display:flex;
  justify-content:center;
  gap:12px;
  color:#b7672c;
  margin-bottom:10px;
  font-size:1.05rem;
}
.halloween-page .quiz-progress { margin-bottom: 18px; }
.halloween-page .quiz-progress-text { color: #665b52; font-weight: 600; }
.halloween-page .quiz-progress-bar { height: 9px; border-radius: 999px; background: #e6d8c8; }
.halloween-page .quiz-progress-fill {
  background: linear-gradient(90deg, #d8742a, #e7b45d);
  border-radius:999px;
}
.halloween-page .quiz-card {
  border: 1px solid rgba(128,88,52,.16);
  border-top: 0;
  border-radius: 24px;
  padding: 34px;
  background: rgba(255,253,247,.94);
  box-shadow: 0 20px 55px rgba(89,59,31,.13);
  backdrop-filter: blur(8px);
}
.halloween-page .quiz-card legend { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 22px; }
.halloween-page .quiz-options { gap: 12px; }
.halloween-page .quiz-option {
  border: 1px solid #dec8b2;
  border-radius: 16px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fffaf3, #fff5e8);
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.halloween-page .quiz-option:hover {
  border-color: #d8742a;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(136,84,39,.08);
}
.halloween-page .quiz-option input { accent-color: #d8742a; }
.halloween-page .quiz-option.is-correct {
  border-color: #71806a;
  background: #edf3e9;
}
.halloween-page .quiz-option.is-incorrect {
  border-color: #b55438;
  background: #fff0ec;
}
.halloween-page .quiz-feedback {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  min-height: 0;
  font-weight: 600;
}
.halloween-page .quiz-feedback:empty { display:none; }
.halloween-page .quiz-feedback.is-correct { color:#53604e; background:#edf3e9; }
.halloween-page .quiz-feedback.is-incorrect { color:#8c3b2c; background:#fff0ec; }
.halloween-page .quiz-feedback .quiz-fact { font-weight:400; line-height:1.5; }
.halloween-page .quiz-nav-buttons { max-width:820px; padding-top:18px; }
.halloween-page .quiz-btn {
  border-radius:999px;
  padding: 12px 22px;
  font-weight:600;
  border-color:#d8c8b6;
}
.halloween-page .quiz-btn-primary {
  background: linear-gradient(135deg,#d8742a,#b65a22);
  border-color:#b65a22;
  box-shadow: 0 8px 18px rgba(182,90,34,.20);
}
.halloween-page .quiz-results {
  max-width: 820px;
  margin-top: 18px;
  padding: 52px 30px 58px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffaf2, #fff0df);
  border: 1px solid #e2cbb0;
  box-shadow: 0 22px 56px rgba(89,59,31,.14);
}
.results-icon { font-size: 58px; margin-bottom: 8px; }
.halloween-page .quiz-results h2 { font-size: 2.2rem; }

.halloween-page .feature-section {
  background: linear-gradient(180deg,#efe3d0,#e8ddca);
}
.halloween-page .feature-card {
  border-top-color:#d8742a;
  border-radius: 14px;
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(83,59,38,.08);
}

@media (max-width: 800px) {
  .halloween-hero { grid-template-columns: 1fr; margin: 16px 14px 0; padding: 38px 26px 34px; min-height: 0; }
  .halloween-hero-art { min-height: 210px; }
  .hero-moon { width:180px; height:180px; right:24px; }
  .hero-ghost { font-size:74px; right:126px; top:70px; }
  .hero-pumpkin-one { font-size:62px; }
  .hero-pumpkin-two { font-size:44px; }
}

@media (max-width: 600px) {
  .halloween-hero h1 { font-size: 2.65rem; }
  .halloween-page .quiz-card { padding: 24px 18px; border-radius:18px; }
  .halloween-page .quiz-nav-buttons { padding-left:24px; padding-right:24px; }
}


/* ---------- Subtle Halloween micro-decor ---------- */
.halloween-page .quiz-wrap { overflow: visible; }
.quiz-floating-decor,
.results-floating-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.quiz-decor {
  position: absolute;
  user-select: none;
  line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(72, 46, 24, 0.18));
}
.halloween-page .quiz-floating-decor .quiz-decor { opacity: 0.88; }
.halloween-page .results-floating-decor .quiz-decor { opacity: 0.9; }
.decor-web {
  top: -34px;
  left: -42px;
  font-size: 4.6rem;
  transform: rotate(-10deg);
}
.decor-spider {
  top: 8px;
  right: -26px;
  font-size: 3.9rem;
}
.decor-spider::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 82%;
  width: 1.5px;
  height: 72px;
  background: rgba(119, 108, 96, 0.42);
}
.decor-pumpkin {
  left: -46px;
  bottom: 56px;
  font-size: 4.2rem;
  transform: rotate(-8deg);
}
.decor-ghost {
  right: -42px;
  bottom: 72px;
  font-size: 3.7rem;
  opacity: 0.82;
}
.decor-bat {
  left: 34px;
  top: 12px;
  font-size: 3rem;
  opacity: 0.74;
}
.halloween-page .quiz-card { position: relative; z-index: 2; }
.halloween-page .quiz-progress,
.halloween-page .quiz-spooky-row { position: relative; z-index: 2; }
.halloween-page .quiz-nav-buttons { position: relative; z-index: 2; }
.halloween-page .quiz-results { position: relative; overflow: hidden; }
.results-star {
  left: 10px;
  top: 10px;
  font-size: 2.2rem;
  color: #d48d35;
}
.results-spider {
  right: -10px;
  top: 6px;
  font-size: 3.5rem;
}
.results-spider::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 84%;
  width: 1.5px;
  height: 64px;
  background: rgba(119, 108, 96, 0.42);
}
.results-ghost {
  right: -8px;
  bottom: -2px;
  font-size: 3.3rem;
  opacity: 0.82;
}
@media (max-width: 800px) {
  .decor-web { font-size: 3.9rem; top: -24px; left: -28px; }
  .decor-spider { font-size: 3.2rem; top: 10px; right: -18px; }
  .decor-spider::before { height: 56px; }
  .decor-bat { left: 26px; top: 12px; font-size: 2.4rem; }
  .decor-pumpkin { left: -24px; bottom: 50px; font-size: 3.5rem; }
  .decor-ghost { right: -24px; bottom: 70px; font-size: 3rem; }
  .results-spider { font-size: 3rem; right: -8px; top: 8px; }
  .results-spider::before { height: 52px; }
  .results-ghost { font-size: 2.8rem; right: -4px; bottom: 0; }
}
@media (max-width: 600px) {
  .decor-web { top: -18px; left: -14px; font-size: 3.2rem; }
  .decor-spider { top: 8px; right: -10px; font-size: 2.5rem; }
  .decor-spider::before,
  .results-spider::before { height: 46px; }
  .decor-bat { left: 18px; top: 10px; font-size: 2rem; }
  .decor-pumpkin { left: -10px; bottom: 54px; font-size: 2.7rem; }
  .decor-ghost { right: -10px; bottom: 70px; font-size: 2.5rem; }
  .results-star { left: 8px; top: 8px; font-size: 1.7rem; }
  .results-spider { right: -4px; top: 6px; font-size: 2.5rem; }
  .results-ghost { right: -2px; bottom: 4px; font-size: 2.4rem; }
}

/* Halloween printable download */
.halloween-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.printable-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid #b85f28;
  background: #fff8f1;
  color: #7b3817;
  text-decoration: none;
  font-family: Inter, sans-serif;
  font-weight: 600;
  border-radius: 999px;
}
.printable-download:hover,
.printable-download:focus-visible {
  background: #fff1e4;
  outline: none;
}
.printable-note {
  max-width: 330px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #6b4b3a;
}
@media (max-width: 680px) {
  .halloween-hero-actions { align-items: flex-start; }
  .printable-note { max-width: 100%; }
}


/* ---------- Editorial article pages ---------- */
.article-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.article-hero {
  background: linear-gradient(135deg, #F3E3C9 0%, #E8C395 100%);
  border-top: 4px solid var(--color-accent);
  padding: 46px 48px 42px;
  margin-bottom: 42px;
  position: relative;
  overflow: hidden;
}

.article-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.article-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  max-width: 15ch;
  margin-bottom: 18px;
}

.article-deck {
  font-size: 1.08rem;
  max-width: 68ch;
  margin-bottom: 0;
}

.article-hero-note {
  position: absolute;
  right: 28px;
  bottom: 18px;
  font-size: 1.15rem;
  opacity: 0.65;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body > p:first-child {
  font-size: 1.08rem;
  margin-bottom: 38px;
}

.article-body section {
  margin-bottom: 44px;
}

.article-body h2 {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.article-body p {
  max-width: none;
}

.article-cta {
  margin: 28px 0 8px;
  padding: 26px 28px;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
}

.article-cta-label {
  display: block;
  color: var(--color-accent-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.article-cta h3 {
  font-size: 1.35rem;
}

.article-button {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 17px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
}

.article-button:hover { opacity: 0.9; }

.article-small-note {
  padding: 13px 16px;
  border-left: 3px solid var(--color-gold);
  background: rgba(180, 134, 58, 0.08);
  font-size: 0.92rem;
}

.article-ending {
  border-top: 1px solid var(--color-line);
  padding-top: 34px;
}

@media (max-width: 700px) {
  .article-page { padding: 32px 16px 56px; }
  .article-hero { padding: 34px 24px 52px; margin-bottom: 30px; }
  .article-hero h1 { font-size: 2.25rem; }
  .article-body h2 { font-size: 1.45rem; }
  .article-cta { padding: 22px 20px; }
}



.movie-picks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 18px;
}

.movie-pick {
  background: var(--color-card-bg);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-gold);
  padding: 18px 18px 16px;
}

.movie-pick-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.movie-pick h3 {
  font-size: 1.06rem;
  margin: 0;
}

.movie-pick p {
  font-size: 0.92rem;
  margin: 0;
}

.movie-age {
  flex-shrink: 0;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(110, 123, 84, 0.12);
  color: var(--color-accent-2);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .movie-picks { grid-template-columns: 1fr; }
}

/* ---------- Editorial Halloween imagery ---------- */
.article-hero-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  margin-top: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}

.quiz-visual-intro {
  max-width: 980px;
  margin: 30px auto 0;
  padding: 0 24px;
}

.quiz-visual-intro img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}


/* ---------- Bonus Halloween games ---------- */
.bonus-games-section {
  margin-top: 18px;
  padding-top: 38px;
  border-top: 1px solid var(--color-line);
}

.bonus-games-heading {
  margin-bottom: 24px;
}

.bonus-games-heading h2 {
  margin-bottom: 12px;
}

.halloween-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 34px;
}

.halloween-game-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  padding: 20px 20px 18px;
}

.game-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.game-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(140, 59, 44, 0.10);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.86rem;
}

.game-time {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(110, 123, 84, 0.12);
  color: var(--color-accent-2);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.halloween-game-card h3 {
  font-size: 1.12rem;
  margin-bottom: 9px;
}

.halloween-game-card p {
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.halloween-game-card p:last-child {
  margin-bottom: 0;
}

.game-needs {
  color: var(--color-ink);
}

.game-planner-wrap {
  margin: 34px 0 30px;
  padding: 26px 28px;
  background: var(--color-bg-alt);
  border-top: 3px solid var(--color-gold);
}

.game-planner-wrap h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.game-planner-scroll {
  overflow-x: auto;
  margin-top: 18px;
}

.game-planner {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.game-planner th,
.game-planner td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-line);
}

.game-planner th {
  color: var(--color-accent);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.game-planner tbody tr:last-child td {
  border-bottom: 0;
}

.bonus-quiz-cta {
  margin-top: 30px;
}

@media (max-width: 700px) {
  .halloween-game-grid { grid-template-columns: 1fr; }
  .game-planner-wrap { padding: 22px 18px; }
}

/* Launch cleanup */
.content-card[href]{text-decoration:none;color:inherit;transition:transform .15s ease,box-shadow .15s ease}.content-card[href]:hover{transform:translateY(-2px)}
.feature-section h2{font-family:Fraunces,Georgia,serif}
