:root {
  --paper: #f8f3e8;
  --ink: #29233d;
  --quiet: #5c5368;
  --line: #d9cfd0;
  --red: #a53531;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #7257ab; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.top { height: 76px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.top a, .foot a { text-decoration: none; }
.brand { display: inline-flex; gap: .55rem; align-items: center; font-weight: 780; }
.brand span { color: var(--red); font-size: 1.5rem; }
.top nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); font-weight: 700; }
.top nav a:hover, .foot a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1.13fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: 4rem 4.5rem; }
.eyebrow { font-size: .78rem; color: var(--red); font-weight: 820; text-transform: uppercase; letter-spacing: .15em; }
h1, h2 { font-family: 'DM Serif Text', Georgia, serif; font-weight: 700; line-height: .98; letter-spacing: -.055em; }
h1 { font-size: clamp(2.65rem, 5.5vw, 5.25rem); margin-block: .85rem 1.2rem; }
h1 em { color: var(--red); font-weight: inherit; }
.lead { font-size: clamp(1.08rem, 2vw, 1.22rem); color: var(--quiet); max-width: 32ch; margin-bottom: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; color: white; background: var(--ink); padding: .8rem 1.15rem; border: 0; border-radius: 9px; cursor: pointer; text-decoration: none; font-weight: 700; }
.button:hover { background: #48355f; }
[hidden] { display: none !important; }
.cover { overflow: hidden; border-radius: 46% 46% 14px 14px / 46% 46% 14px 14px; background: #ded3f4; aspect-ratio: 1.1; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.stories { background: #eee5f7; padding-block: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2.65rem, 6vw, 4.7rem); }
.section-head p, .quiz-intro > p:last-child { margin-top: .85rem; color: var(--quiet); font-size: 1.08rem; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; margin-top: 2rem; align-items: start; }
.story { padding: .7rem; border: 1px solid #33224a1c; border-radius: 20px; box-shadow: 0 3px 0 #33224a12; }
.peach { background: #f9e4d8; }
.lavender { background: #e8dcff; }
.mint { background: #e3efcc; }
.yellow { background: #fff0bd; }
.story video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 12px; }
.story-copy { padding: .85rem .7rem .5rem; }
h3 { line-height: 1.15; font-size: clamp(1.23rem, 2.5vw, 1.65rem); letter-spacing: -.025em; }
.story-copy > p { margin-top: .45rem; }
details { margin-top: .95rem; border-top: 1px solid #33224a29; padding-top: .6rem; }
summary { cursor: pointer; font-weight: 700; }
details p { margin-block: .55rem .3rem; }
.quiz-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; padding-block: clamp(3rem, 8vw, 6rem); }
.quiz-intro h2 { margin-top: .55rem; }
.quiz-intro p { max-width: 34ch; }
.quiz-card { background: #fffdf7; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 #e5d9c9; padding: clamp(1.15rem, 4vw, 2rem); }
.quiz-progress { font-size: .86rem; color: var(--quiet); font-weight: 750; margin-bottom: .75rem; }
.choices { display: grid; gap: .55rem; margin-top: 1rem; }
.choice { color: var(--ink); background: #f8f2e7; border: 1px solid var(--line); border-radius: 9px; padding: .65rem .85rem; cursor: pointer; text-align: left; }
.choice:hover:enabled { background: #eee4f8; }
.choice:disabled { cursor: default; }
.choice.correct { border-color: #407a51; background: #dbefd9; }
.choice.wrong { border-color: #a53531; background: #f8ded9; }
#feedback { color: var(--quiet); font-weight: 700; margin-block: .7rem; }
.foot { display: flex; gap: 1rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 1.3rem; color: var(--quiet); }
.foot span { color: var(--red); }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .top { height: 62px; }
  .hero { gap: 1.7rem; padding-block: 2.7rem; }
  .hero, .grid, .quiz-section { grid-template-columns: 1fr; }
  .cover { aspect-ratio: 1.38; }
  .foot { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
