/* =========================================================
   Charles Cameron - 12 Days of Christmas Quiz (public site)
   ========================================================= */
:root {
  --ink: #1d2e3c;
  --ink-2: #2d4c68;
  --teal: #37788d;
  --teal-dark: #2a5f71;
  --aqua: #45beb9;
  --mist: #74a3b1;
  --gold: #c8a462;
  --gold-soft: #efe2c6;
  --cream: #f6f1e9;
  --paper: #fbf8f3;
  --line: #e6e0d5;
  --text: #2b3a45;
  --muted: #6b7c87;
  --berry: #a8434f;
  --ok: #2f7d5b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29,46,60,.06), 0 12px 32px -12px rgba(29,46,60,.18);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.15; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.preview-bar { background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; display: flex; justify-content: center; gap: 18px; padding: 7px 16px; position: relative; z-index: 3; }
.preview-bar a { color: var(--ink); }

/* ---------- Header / footer ---------- */
.top { background: var(--ink); position: relative; z-index: 2; }
.top__inner, .foot__inner, .wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.top__logo img { width: 200px; height: auto; }
.top__title { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 17px; text-align: right; }

.foot { background: var(--ink); color: #b9c6ce; font-size: 14px; margin-top: 72px; }
.foot__inner { padding-top: 36px; padding-bottom: 40px; }
.foot__logo { width: 160px; opacity: .8; margin-bottom: 16px; }
.foot p { margin: 0 0 6px; }
.foot a { color: #fff; }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 12px;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -.01em;
  margin-bottom: 18px;
}
.display em { font-style: normal; color: var(--teal); }
.lead { font-size: 19px; color: var(--text); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.section-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 34px);
  margin-bottom: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 17px/1 var(--sans);
  color: #fff; background: var(--teal);
  border: 0; border-radius: 999px;
  padding: 17px 28px;
  text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px -10px rgba(55,120,141,.8);
}
.btn { white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn:disabled { background: #a9bcc3; box-shadow: none; cursor: not-allowed; transform: none; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(200,164,98,.9); }
.btn--gold:hover { background: #b8934f; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(520px 320px at 8% 18%, rgba(116,163,177,.16), transparent 70%),
    radial-gradient(420px 300px at 92% 90%, rgba(200,164,98,.14), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 72px;
}
.hero__photo { position: relative; }
.hero__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px 7px 10px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  margin-bottom: 20px;
}
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 0 rgba(69,190,185,.6); animation: pulse 2s infinite; }
.status-pill--quiet .dot { background: var(--gold); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(69,190,185,.55); } 70% { box-shadow: 0 0 0 10px rgba(69,190,185,0); } 100% { box-shadow: 0 0 0 0 rgba(69,190,185,0); } }

/* ---------- Twelve days grid ---------- */
.days { padding-top: 64px; }
.days__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.legend .l-correct { background: var(--gold); }
.legend .l-played { background: var(--teal); }
.legend .l-missed { background: #d9d5ce; }
.legend .l-soon { background: #fff; box-shadow: inset 0 0 0 2px #c9d7dc; }

.daygrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.day {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 150px;
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.day:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.day__num { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--ink); font-weight: 400; }
.day__num sup { font-size: 15px; font-family: var(--sans); font-weight: 500; margin-left: 2px; color: var(--muted); vertical-align: top; position: relative; top: 4px; }
.day__date { font-size: 13px; color: var(--muted); margin-top: 6px; }
.day__status { font-size: 13px; font-weight: 600; letter-spacing: .02em; display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.day__status svg { width: 16px; height: 16px; flex: none; }

.day--soon { background: transparent; border-style: dashed; border-color: #cfd9dd; }
.day--soon .day__num { color: #9fb0b8; }
.day--soon .day__status { color: #9fb0b8; font-weight: 500; }
.day--missed { background: #f1eee9; border-color: #f1eee9; }
.day--missed .day__num { color: #a7b0b5; }
.day--missed .day__status { color: #8d979c; font-weight: 500; }
.day--played .day__status { color: var(--teal); }
.day--correct { background: var(--gold-soft); border-color: var(--gold-soft); }
.day--correct .day__status { color: #8a6a2c; }
.day--wrong .day__status { color: var(--muted); }
.day--today {
  background: var(--teal); border-color: var(--teal); color: #fff;
  box-shadow: 0 16px 30px -14px rgba(55,120,141,.9);
}
.day--today .day__num, .day--today .day__num sup, .day--today .day__date, .day--today .day__status { color: #fff; }
.day--today::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); animation: pulse-gold 2s infinite;
}
.day--today.day--played::after { display: none; }
a.day--today:hover { color: #fff; background: var(--teal-dark); }
@keyframes pulse-gold { 0% { box-shadow: 0 0 0 0 rgba(200,164,98,.7); } 70% { box-shadow: 0 0 0 10px rgba(200,164,98,0); } 100% { box-shadow: 0 0 0 0 rgba(200,164,98,0); } }

/* ---------- Draw entries ---------- */
.entries { padding-top: 56px; }
.entries__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  background: var(--ink);
  color: #d5dee3;
  border-radius: calc(var(--radius) + 6px);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
.entries__card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  border: 2px solid rgba(200,164,98,.35);
  box-shadow: 0 0 0 30px rgba(200,164,98,.06), 0 0 0 60px rgba(200,164,98,.04);
}
.entries__num { font-family: var(--display); font-size: 104px; line-height: .9; color: var(--gold); font-weight: 400; text-align: center; min-width: 120px; }
.entries__num small { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #9fb2bd; margin-top: 10px; }
.entries__card h2 { color: #fff; font-family: var(--display); font-weight: 400; font-style: italic; font-size: 30px; margin-bottom: 10px; }
.entries__card p { margin-bottom: .6em; position: relative; z-index: 1; }
.entries__stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 16px; font-size: 15px; }
.entries__stats strong { color: #fff; font-size: 22px; font-weight: 600; display: block; }

/* ---------- Previous answers ---------- */
.answers { padding-top: 64px; }
.answer-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.answer-list li { display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.answer-list .al-day { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--teal); }
.answer-list .al-q { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.answer-list .al-a { font-weight: 600; color: var(--ink); }
.answer-list .al-you { font-size: 14px; text-align: right; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag svg { width: 13px; height: 13px; flex: none; }
.tag--ok { background: var(--gold-soft); color: #7d5f24; }
.tag--no { background: #eef1f2; color: var(--muted); }
.tag--none { background: transparent; color: #a3adb2; font-weight: 500; }

/* ---------- Play page ---------- */
.play { padding-top: 48px; }
.play__head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.play__head .display { margin-bottom: 8px; }
.stage {
  max-width: 920px; margin: 0 auto;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: #0f1922;
  box-shadow: 0 30px 60px -30px rgba(29,46,60,.6);
  position: relative;
  aspect-ratio: 16 / 9;
}
.stage video { width: 100%; height: 100%; display: block; object-fit: contain; background: #0f1922; }
.stage__sound {
  position: absolute; right: 18px; top: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.95); color: var(--ink);
  border: 0; border-radius: 999px; padding: 12px 20px 12px 16px;
  font: 600 15px/1 var(--sans); cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
  transition: opacity .3s, transform .3s;
}
.stage__sound:hover { transform: translateY(-2px); }
.stage__sound svg { width: 20px; height: 20px; }
.stage__sound[hidden] { display: none; }
.stage__empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #cfdae0; padding: 24px; background: radial-gradient(circle at 30% 20%, #2d4c68, #0f1922 70%); }
.stage__empty .display { color: #fff; font-size: 34px; }

.skipto { text-align: center; margin: 18px 0 0; font-size: 15px; }
.skipto button { background: none; border: 0; padding: 4px; color: var(--teal); font: 500 15px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.quiz-card {
  max-width: 760px; margin: 40px auto 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 40px 44px 44px;
  box-shadow: var(--shadow);
}
.quiz-card .q { font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; color: var(--ink); margin: 0 0 24px; font-weight: 400; }
.answers-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.answers-reveal.is-shown { opacity: 1; transform: none; }
.answers-reveal.is-waiting { display: none; }

.options { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; border: 0; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; }
.option label {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--paper);
  cursor: pointer; font-size: 18px; color: var(--ink);
  transition: border-color .15s, background .15s, transform .15s;
}
.option label:hover { border-color: var(--mist); }
.option .letter {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600; font-size: 15px;
  background: #fff; border: 2px solid var(--line); color: var(--teal);
  transition: background .15s, color .15s, border-color .15s;
}
.option input:checked + label { border-color: var(--teal); background: #eef5f7; }
.option input:checked + label .letter { background: var(--teal); color: #fff; border-color: var(--teal); }
.option input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }

/* reviewed options */
.option--locked label { cursor: default; }
.option--locked label:hover { border-color: var(--line); }
.option--correct label { border-color: var(--gold); background: var(--gold-soft); }
.option--correct .letter { background: var(--gold); border-color: var(--gold); color: #fff; }
.option--mine label { border-color: var(--teal); }
.option--mine.option--wrong label { border-color: #cfd6d9; background: #f2f4f5; color: var(--muted); }
.option .note { margin-left: auto; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.option--correct .note { color: #7d5f24; }

.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.submit-row .small { margin: 0; }

.notice {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--cream); border-radius: 12px; padding: 20px 22px; margin: 0 0 24px;
  border-left: 4px solid var(--gold);
}
.notice svg { flex: none; width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.notice p { margin: 0; }
.notice strong { color: var(--ink); }
.notice--done { border-left-color: var(--teal); background: #eef5f7; }
.notice--done svg { color: var(--teal); }

.prev {
  max-width: 760px; margin: 32px auto 0;
  border-radius: calc(var(--radius) + 4px);
  background: var(--cream);
  padding: 32px 44px;
}
.prev .kicker { color: #8a6a2c; }
.prev .q { font-family: var(--display); font-style: italic; color: var(--muted); font-size: 19px; margin-bottom: 10px; }
.prev .a { font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.prev .fact { font-size: 15px; color: var(--muted); }

.back { text-align: center; margin-top: 36px; }

/* ---------- Sign-up / plain pages ---------- */
.form-card {
  background: #fff; border-radius: calc(var(--radius) + 4px);
  padding: 36px 36px 32px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative; z-index: 1;
}
.form-card h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 28px; margin-bottom: 6px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input {
  font: 400 17px var(--sans); color: var(--ink);
  padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid #d7d2c8; background: var(--paper);
  transition: border-color .15s, box-shadow .15s, background .15s;
  width: 100%;
}
.field input:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(55,120,141,.15); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fbecee; color: var(--berry); border-radius: 10px; padding: 12px 16px; font-size: 15px; margin: 16px 0 0; }
.form-alt { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.form-alt details summary { cursor: pointer; color: var(--teal); font-weight: 500; }
.form-alt .inline { display: flex; gap: 10px; margin-top: 12px; }
.form-alt .inline input { flex: 1; font: 400 16px var(--sans); padding: 11px 12px; border-radius: 10px; border: 1.5px solid #d7d2c8; background: var(--paper); min-width: 0; }
.form-alt .inline .btn { padding: 12px 18px; font-size: 15px; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps .n { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 34px; line-height: 1; display: block; margin-bottom: 10px; }
.steps h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--muted); margin: 0; }

.plain { padding: 80px 0 0; }
.plain__card { max-width: 640px; margin: 0 auto; padding: 0 24px; text-align: center; }
.plain__card .display { font-size: clamp(32px, 4.4vw, 46px); }

/* ---------- Gentle snowfall (decorative) ---------- */
.snow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.9), transparent),
    radial-gradient(2px 2px at 140px 80px, rgba(255,255,255,.7), transparent),
    radial-gradient(3px 3px at 260px 160px, rgba(255,255,255,.8), transparent),
    radial-gradient(2px 2px at 330px 20px, rgba(255,255,255,.6), transparent);
  background-size: 360px 220px;
  animation: snow 18s linear infinite;
  opacity: .0;
}
.page-hub .snow, .page-signup .snow { opacity: .6; mix-blend-mode: screen; }
@keyframes snow { from { background-position: 0 0; } to { background-position: 60px 220px; } }

/* Snow falling in the dark header: two layers (small + slow behind, bigger + faster in
   front), each a repeating tile of flakes scrolled down by exactly one tile height so the
   loop is seamless, plus a slow sideways sway. Sits behind the logo and title. */
.top { overflow: hidden; }
.top__inner { position: relative; z-index: 1; }
.top::before, .top::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -30px; right: -30px;
  pointer-events: none; z-index: 0;
}
.top::before {
  background-image:
    radial-gradient(circle at 18px 22px, rgba(255,255,255,.55) 1px, transparent 1.6px),
    radial-gradient(circle at 76px 98px, rgba(255,255,255,.45) 1px, transparent 1.6px),
    radial-gradient(circle at 132px 54px, rgba(255,255,255,.5) 1.1px, transparent 1.7px),
    radial-gradient(circle at 190px 130px, rgba(255,255,255,.4) 1px, transparent 1.6px),
    radial-gradient(circle at 236px 14px, rgba(255,255,255,.5) 1px, transparent 1.6px),
    radial-gradient(circle at 104px 150px, rgba(255,255,255,.35) .9px, transparent 1.5px),
    radial-gradient(circle at 48px 118px, rgba(255,255,255,.5) 1px, transparent 1.6px),
    radial-gradient(circle at 160px 8px, rgba(255,255,255,.45) .9px, transparent 1.5px),
    radial-gradient(circle at 214px 76px, rgba(255,255,255,.55) 1.1px, transparent 1.7px),
    radial-gradient(circle at 6px 70px, rgba(255,255,255,.4) .9px, transparent 1.5px),
    radial-gradient(circle at 122px 112px, rgba(255,255,255,.5) 1px, transparent 1.6px),
    radial-gradient(circle at 250px 104px, rgba(255,255,255,.4) .9px, transparent 1.5px);
  background-size: 260px 160px;
  animation: header-snow-a 16s linear infinite, header-sway 7s ease-in-out infinite alternate;
}
.top::after {
  background-image:
    radial-gradient(circle at 40px 60px, rgba(255,255,255,.85) 1.6px, transparent 2.4px),
    radial-gradient(circle at 170px 20px, rgba(255,255,255,.75) 1.8px, transparent 2.6px),
    radial-gradient(circle at 280px 120px, rgba(255,255,255,.8) 1.5px, transparent 2.3px),
    radial-gradient(circle at 330px 70px, rgba(232,214,176,.7) 1.4px, transparent 2.2px),
    radial-gradient(circle at 100px 140px, rgba(255,255,255,.8) 1.7px, transparent 2.5px),
    radial-gradient(circle at 230px 90px, rgba(255,255,255,.7) 1.5px, transparent 2.3px),
    radial-gradient(circle at 12px 4px, rgba(255,255,255,.75) 1.6px, transparent 2.4px),
    radial-gradient(circle at 300px 160px, rgba(232,214,176,.65) 1.3px, transparent 2.1px);
  background-size: 380px 180px;
  animation: header-snow-b 10s linear infinite, header-sway 5s ease-in-out infinite alternate-reverse;
}
@keyframes header-snow-a { from { background-position: 0 0; } to { background-position: 0 160px; } }
@keyframes header-snow-b { from { background-position: 0 0; } to { background-position: 0 180px; } }
@keyframes header-sway { from { transform: translateX(-12px); } to { transform: translateX(12px); } }

@media (prefers-reduced-motion: reduce) {
  .snow, .status-pill .dot, .day--today::after, .top::before, .top::after { animation: none; }
  .answers-reveal { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .daygrid { grid-template-columns: repeat(4, 1fr); }
  .hero__grid { gap: 40px; }
}
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 56px; }
  .hero__photo { max-width: 520px; margin-right: 10px; }
  .hero__photo img { aspect-ratio: 16 / 10; }
  .hero__photo::after { inset: 10px -10px -10px 10px; }
  .entries__card { grid-template-columns: 1fr; text-align: left; padding: 32px 28px; gap: 16px; }
  .entries__num { text-align: left; font-size: 84px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .top__inner, .foot__inner, .wrap { padding-left: 16px; padding-right: 16px; }
  .top__logo img { width: 150px; }
  .top__title { font-size: 14px; }
  .daygrid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .day { min-height: 122px; padding: 12px; }
  .day__num { font-size: 32px; }
  .quiz-card, .prev { padding: 28px 20px; border-radius: var(--radius); }
  .stage { border-radius: 0; margin: 0 -16px; }
  .play { padding-top: 28px; }
  .stage__empty .display { font-size: 24px; margin-bottom: 6px; }
  .stage__empty p:last-child { display: none; }
  .stage__empty .kicker { margin-bottom: 6px; }
  .fields { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .answer-list li { grid-template-columns: 1fr; gap: 6px; }
  .answer-list .al-you { text-align: left; }
  .option label { font-size: 16px; padding: 14px; }
  .form-alt .inline { flex-direction: column; }
}
@media (max-width: 380px) {
  .top__title { display: none; }
}
