:root {
  --bg: #102a22;
  --card: #18392d;
  --ink: #fff8ea;
  --muted: #c3d0c5;
  --gold: #f3d38a;
  --red: #8f3443;
  --pine: #15362a;
  --line: #ffffff29;
  --cream: #f8f1e4;
  --serif: Georgia, 'Times New Roman', serif;
}

.season {
  background: radial-gradient(ellipse at 14% 0%, #284b38 0%, transparent 34rem), #102a22;
  color: var(--ink);
}
.season [hidden] { display: none !important; }
.season main { max-width: 1160px; padding: 28px 24px 56px; }
.season h1, .season h2, .season .collection-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.027em;
  line-height: 1.09;
}
.season h1 { font-size: clamp(2.55rem, 5.8vw, 5rem); }
.season h2 { font-size: clamp(1.7rem, 3vw, 2.65rem); }
.season h3 { line-height: 1.2; }
.season .eyebrow {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 .65rem;
}
.season header.top {
  min-height: 64px;
  padding: 10px max(24px, calc((100% - 1112px) / 2));
  background: #10271f;
  border-bottom: 1px solid #c9a85d45;
}
.season .wordmark {
  color: var(--gold);
  font: 700 1.52rem/1 var(--serif);
  letter-spacing: -.04em;
  text-decoration: none;
}
.season .wordmark::before {
  content: '✦';
  margin-right: .35rem;
  color: #e7ba65;
  font: 1rem system-ui, sans-serif;
}
.season header.top a:not(.wordmark) { color: var(--ink); padding: 7px; font-size: .9rem; }
.season header.top a[aria-current] { text-decoration: underline; text-underline-offset: .4rem; }
.season .btn, .season button {
  min-height: 44px;
  border-radius: 7px;
  background: var(--gold);
  color: #24301e;
  font-weight: 750;
}
.season .btn:hover, .season button:not(.ghost):hover { filter: brightness(1.08); }
.season .btn.secondary, .season button.ghost { background: transparent; color: var(--ink); border: 1px solid #b7cbb26b; }
.season :focus-visible { outline: 3px solid #ffdda0; outline-offset: 4px; }
.season .collection-card :focus-visible, .season .auth-copy :focus-visible { outline-color: #8b2339; }
.season p:empty[role] { display: none; }

.winter-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #c9a85d56;
  border-radius: 28px;
  background: #18392d;
  box-shadow: 0 20px 56px #07181070;
}
.winter-hero-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 68px);
}
.winter-hero h1 { margin: 0; max-width: 12ch; }
.winter-hero-copy > p:not(.eyebrow) { max-width: 33ch; color: #e0e9db; margin: 20px 0 26px; }
.winter-hero img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 57% center; }
.calendar-section { margin-top: 54px; scroll-margin-top: 24px; }
.section-intro { display: flex; align-items: end; gap: 18px 40px; justify-content: space-between; margin-bottom: 20px; }
.section-intro h2 { margin: 0; }
.section-intro p { color: var(--muted); margin: 0; max-width: 46ch; }
.season .cat { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.season .collection-card {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #c7ad73;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  color: #203428;
  box-shadow: 0 10px 24px #091b1444;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.collection-art { background: #17291f; aspect-ratio: 2.05; overflow: hidden; }
.season .collection-art svg { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.collection-copy { padding: 18px 20px 0; }
.collection-copy .eyebrow { color: #7a303b; line-height: 1.3; }
.collection-copy h3 { font-size: clamp(1.38rem, 2.2vw, 1.95rem); margin: 0 0 .5rem; }
.collection-blurb { margin: 0 0 12px; }
.collection-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 20px; }
.season .collection-actions .btn { background: #1f503b; color: #fffaf0; }
.season .collection-actions .secondary { background: transparent; color: #294736; border-color: #63806a; }
.season .collection-copy .price { color: #71343b; margin: 8px 0 0; }
.demo-checkout {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: #18392d;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 22px;
}
.demo-checkout h3, .demo-checkout p { margin: 0; }
.demo-checkout p { color: var(--muted); margin-top: 4px; font-size: .93rem; }
.payment-preview { display: flex; gap: 8px; flex-wrap: wrap; }
.provider-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.6rem;
  padding: 7px 14px;
  border-radius: 6px;
  background: #fff8e9;
  color: #463433;
  font-size: .95rem;
  font-weight: 850;
}
/* Plain text labels only: no provider logos or brand styling in the demo placeholder. */
.provider-preview.paypal, .provider-preview.wam { color: #50352e; font-style: normal; letter-spacing: .04em; }
.season-footer { border-top: 1px solid var(--line); padding-top: 18px; display: flex; gap: 16px; flex-wrap: wrap; }

.season-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid #c9a85d59;
  border-radius: 20px;
  background: linear-gradient(110deg, #1e4232 0%, #19382d 72%, #432b2e 100%);
}
.season-banner h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.9rem); }
.season-banner p:last-child { margin: .55rem 0 0; }
.account-page h2 { margin-bottom: 14px; }
.account-page .account-empty { grid-column: 1 / -1; margin: 0; padding: 18px; background: #1e4033; border-radius: 10px; }
.season .play-shell { max-width: 940px; }
.season .play-shell .season-banner { display: block; }
.season .play-shell .season-banner h1 { max-width: 22ch; font-size: clamp(2.3rem, 6vw, 4rem); }
.season .play-shell .season-banner p:last-child { max-width: 55ch; }
.season nav.tabs { border-bottom: 1px solid #c9a85d60; margin: 18px 0; padding-bottom: 12px; }
.season nav.tabs button { color: var(--ink); background: #204336; min-height: 44px; }
.season nav.tabs button[aria-pressed=true] { background: var(--gold); color: #25301e; }
.season .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(7px, 1.4vw, 14px); }
.season .door {
  background: radial-gradient(ellipse at top, #3a6048 0%, #204437 75%);
  color: var(--ink);
  border: 1px solid #c9a85d91;
  border-radius: 12px;
  font: 600 clamp(1.45rem, 4.5vw, 2.7rem)/1.15 var(--serif);
  box-shadow: inset 0 0 0 4px #111e1333;
}
.season .door small { font: 550 .68rem/1.15 system-ui, sans-serif; margin-top: .35rem; }
.season .door.locked { opacity: 1; background: #162e25; border-color: #a0ad9b57; color: #c0ccc2; }
.season .door.paid { border-style: dashed; }
.season .door.open { background: #6d3e3b; border-color: var(--gold); }
.season .door.solved::after { font: 700 .9rem system-ui, sans-serif; }
.season .chapter { background: #1b392d; border: 1px solid var(--line); border-radius: 18px; padding: clamp(16px, 4vw, 38px); }
.season .chapter > p { max-width: 62ch; line-height: 1.75; }
.season .chapter h2 { margin-top: 18px; }
.season .puz input[type=checkbox], .season .acc input[type=radio] { width: auto; }
.season .puz, .season .ev { background: #142e24; }

.auth-page main { max-width: 920px; }
.back-link { display: inline-block; margin-bottom: 15px; }
.auth-layout { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border-radius: 22px; background: var(--cream); border: 1px solid #c9a85d; }
.auth-art { min-height: 390px; background: #18382a url('winter-lantern.webp') 58% center / cover no-repeat; }
.auth-copy { color: #25392d; padding: clamp(24px, 5vw, 52px); }
.auth-copy h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin: .35em 0 .2em; }
.auth-copy .wordmark { color: #2c533c; }
.auth-copy .wordmark::before { color: #8a303d; }
.auth-copy input { margin-top: 5px; background: #fffdf6; color: #24382b; border-color: #718679; }
.auth-copy form > button { margin-top: 14px; width: 100%; background: #20523c; color: #fffaf0; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.season .auth-actions button { color: #284e3b; border-color: #718679; }
.auth-copy .err { color: #8a2337; }
.auth-copy .ok { color: #205539; }

@media (max-width: 820px) {
  .winter-hero { min-height: 360px; }
  .season .cat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .season main { padding: 15px 14px 40px; }
  .season header.top { padding: 8px 14px; }
  .winter-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 17px; }
  .winter-hero-copy { padding: 26px; }
  .winter-hero img { height: auto; aspect-ratio: 2.2; object-position: center 55%; }
  .section-intro { display: block; }
  .section-intro p { margin-top: 8px; }
  .calendar-section { margin-top: 34px; }
  .season .cat { grid-template-columns: 1fr; }
  .season .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .auth-layout { grid-template-columns: minmax(0, 1fr); }
  .auth-art { display: none; }
}
