@font-face {
  font-family: "Jersey 10";
  src: url("./fonts/jersey-10.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Jersey 15";
  src: url("./fonts/jersey-15.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #1b192b;
  --panel: #28233b;
  --sand: #ead9a8;
  --sand-line: #bd9c68;
  --ink-dark: #2b1b3d;
  --ink: #fff4e0;
  --muted: #e2d3e5;
  --line: #604866;
  --amber: #ff7c2d;
  --body: "Jersey 10", system-ui, sans-serif;
  --display: "Jersey 15", "Jersey 10", system-ui, sans-serif;
  --page-gutter: clamp(18px, 3.5vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.3rem/1.4 var(--body); font-synthesis: none; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #ffca95; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
h1 { font-size: clamp(2.8rem, 7vw, 6.7rem); }
h1 span { color: var(--amber); }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h3 { font: 400 1.75rem/1.08 var(--display); }
.wrap { margin-inline: var(--page-gutter); }
.skip { position: absolute; z-index: 3; left: 12px; top: 10px; transform: translateY(-150%); background: var(--panel); padding: .5rem .8rem; }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.top-inner, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top-inner { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .58rem; text-decoration: none; font: 400 1.45rem/1 var(--display); white-space: nowrap; }
.top .brand {
  text-transform: uppercase;
  text-shadow: 2px 3px #693947;
}
.mark { display: block; flex: none; width: 32px; height: 32px; image-rendering: pixelated; }
nav { display: flex; gap: .3rem; align-items: center; }
nav a { padding: .48rem .78rem; border-radius: 8px; font-size: 1.25rem; text-decoration: none; white-space: nowrap; }
nav a:hover, nav a[aria-current] { background: #33223e; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 4rem);
  min-height: clamp(30rem, 65svh, 48rem);
  margin-inline: calc(-1 * var(--page-gutter));
  padding: clamp(1.25rem, 5vw, 4rem) var(--page-gutter);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #1c192d;
}
.hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: right 61%; image-rendering: pixelated; }
.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #1a1426eb 0%, #1a1426bc 33%, #1a142613 67%),
    linear-gradient(0deg, #1b192bed 0%, #1b192b05 54%);
}
.hero-copy { padding-bottom: .35rem; }
.hero h1 { margin: .35rem 0 .55rem; font-size: clamp(4rem, 9vw, 8rem); line-height: .87; text-transform: uppercase; text-shadow: 0 4px #693947, 4px 8px #24162f; }
.kicker { display: flex; align-items: center; gap: .52rem; font: 400 1.04rem/1.15 var(--display); letter-spacing: .08em; }
.dot { display: inline-block; width: .56rem; height: .56rem; background: var(--amber); box-shadow: 2px 2px 0 #9f493d; }
.lede { font: 400 clamp(1.55rem, 3.15vw, 2rem)/1.15 var(--display); }
.intro { max-width: 46ch; color: var(--muted); margin-top: .7rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .7rem; min-height: 46px; padding: .65rem .95rem; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font: 400 1.42rem/1.05 var(--display); cursor: pointer; }
.primary { background: var(--amber); color: var(--ink-dark); border-color: #ffad68; box-shadow: 0 4px 0 #9e4324; }
.hero .button { border-radius: 4px; }
.primary:hover { background: #ff9955; }
.secondary { background: var(--sand); color: var(--ink-dark); border-color: var(--sand-line); box-shadow: 0 4px 0 #74523d; }
.secondary:hover { background: #f8e8bb; }
.daily {
  position: relative;
  max-width: 23rem;
  width: 100%;
  justify-self: end;
  padding: 1.05rem 1.2rem;
  border: 2px solid #bd9c68;
  border-radius: 2px;
  background: var(--sand);
  color: var(--ink-dark);
  box-shadow: 4px 4px 0 #5e4038;
}
.daily .kicker { color: #823820; }
.daily h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .35rem 0 .2rem; }
.daily [data-day], .local { font-size: 1.15rem; color: #523951; }
.daily-time { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem .6rem; border-top: 1px solid var(--line); margin-top: .65rem; padding-top: .65rem; }
.daily-time span { font-size: 1.16rem; }
.daily-time strong { color: #823820; font: 400 1.44rem/1.12 var(--display); font-variant-numeric: tabular-nums; }
.local { margin-top: .18rem; }
.facts, .cards { display: grid; gap: .9rem; }
.facts { grid-template-columns: repeat(3, 1fr); background: #281e34; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.2rem; margin-top: .9rem; }
.facts div { display: flex; align-items: center; gap: .55rem; }
.facts strong { font: 400 2rem/1 var(--display); color: #ffc18b; }
.facts span { font-size: 1.12rem; color: var(--muted); }
.section { padding-block: clamp(2.2rem, 5.5vw, 4rem); }
.section-head p, .card p { color: var(--muted); margin-top: .55rem; }
.cards { grid-template-columns: repeat(2, 1fr); margin-top: 1.15rem; }
.card, .practice-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1rem, 3vw, 1.65rem); }
.card a { display: inline-block; margin-top: .85rem; font: 400 1.35rem/1.2 var(--display); }
.week { border-top: 1px solid var(--line); }
.week-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.3rem, 1fr));
  gap: .55rem;
  margin: 1rem 0 0;
}
.week-days div {
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
}
.week-days div[aria-current] {
  border-color: var(--amber);
  box-shadow: inset 0 3px var(--amber);
}
.week-days dt { color: var(--muted); }
.week-days dd { margin: .15rem 0 0; font: 400 1.45rem/1.2 var(--display); }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
.faq h2 { margin-bottom: .75rem; }
summary { cursor: pointer; padding: .8rem .1rem; font-weight: 700; }
details p { margin-bottom: 1rem; max-width: 70ch; }
.subhead { padding: clamp(2rem, 6vw, 4.1rem) 0 1.4rem; }
.subhead h1 { margin: .35rem 0 .55rem; }
.back { color: var(--muted); font-size: 1.2rem; }
.practice-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.practice-head .kicker { color: var(--muted); margin-bottom: .3rem; }
.pill { padding: .23rem .65rem; border-radius: 30px; background: #281e34; font: 400 1.2rem/1.2 var(--display); }
.help { margin-top: .7rem; color: var(--muted); }
.questions { display: grid; gap: .7rem; margin-top: 1.05rem; }
.question { display: grid; grid-template-columns: auto minmax(0, 1fr) clamp(9.5rem, 30%, 21rem); gap: .7rem; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: .65rem; font-weight: 650; }
.number { display: grid; place-items: center; width: 26px; height: 26px; background: #281e34; border-radius: 50%; font-size: .77rem; }
select { min-height: 42px; max-width: 100%; width: 100%; padding: .4rem .55rem; color: var(--ink); background: var(--panel); border: 1px solid #846a94; border-radius: 6px; font: inherit; font-weight: 500; }
.results { margin-top: 1rem; border-radius: 10px; background: #362641; border: 1px solid #675077; padding: 1rem; }
.results ul { padding-left: 1.25rem; }
.results li + li { margin-top: .4rem; }
.status:not(:empty) { margin-top: .8rem; color: #ffc19c; font-weight: 650; }
.text-content p, .text-content ol { margin-top: .65rem; color: var(--muted); max-width: 70ch; }
.text-content h2:not(:first-child) { margin-top: 1.7rem; }
.text-content li + li { margin-top: .42rem; }
.guide { padding-bottom: 3.4rem; }
.guide-callout { padding: 1rem 1.25rem; border-radius: 9px; background: #281e34; }
.guide-callout p { margin-top: .25rem; }
.foot { border-top: 1px solid var(--line); padding-block: 1.35rem; }
.foot-inner { flex-wrap: wrap; font-size: 1.15rem; }
.foot p { color: var(--muted); }
@media (max-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; min-height: 0; padding-bottom: 1.5rem; }
  .hero-art { inset: 0; width: 100%; height: 74%; object-position: 79% center; }
  .hero::before { background: linear-gradient(90deg, #1a1426e8, #1a142655), linear-gradient(0deg, #1b192b 23%, #1b192b00 100%); }
  .hero-copy { padding-top: 1.2rem; }
  .hero h1 { font-size: clamp(3.3rem, 14vw, 6.4rem); }
  .daily { justify-self: start; }
  .top-inner { flex-wrap: wrap; gap: .2rem; padding-block: .65rem; }
  .facts div { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 470px) {
  nav { flex-basis: 100%; justify-content: space-between; }
  .hero .button { flex-grow: 1; }
  .daily { max-width: none; }
  .cards { grid-template-columns: 1fr; }
  .question { grid-template-columns: auto minmax(0, 1fr); }
  .question select { grid-column: 2; }
}

.question:has(select:valid) { border-color: #95664e; }
.question:has(select:valid) .number { background: #56352f; color: #ffbd87; }

.hero .actions { row-gap: .9rem; }
.daily .daily-time { border-color: var(--sand-line); }
.card, .facts, .practice-panel { border-radius: 4px; }
.card { border-color: var(--sand-line); background: var(--sand); color: var(--ink-dark); box-shadow: 3px 3px 0 #5e4038; }
.card p { color: #4c3551; }
.question, .results, select { border-radius: 3px; }

.theme-note { margin-top: .55rem; color: #523951; font-size: 1rem; }
.guide-checklist { display: grid; gap: .6rem; max-width: 78ch; }
.guide-checklist div { padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.guide-checklist dt { font: 400 1.4rem/1.2 var(--display); }
.guide-checklist dd { margin: .2rem 0 0; color: var(--muted); }
.comparison { width: 100%; max-width: 78ch; margin-top: .7rem; border-collapse: collapse; }
.comparison caption { margin-bottom: .4rem; color: var(--muted); text-align: left; }
.comparison th, .comparison td { padding: .5rem .65rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.comparison thead { background: var(--sand); color: var(--ink-dark); }
.comparison tbody tr:nth-child(odd) { background: var(--panel); }
.recap-details { max-width: 78ch; margin-top: .75rem; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.recap-details p:last-child { padding-bottom: .75rem; }
.text-content .card h2 { margin: 0; }
.recap-details .comparison tbody tr:nth-child(odd) { background: var(--paper); }
nav { flex-wrap: wrap; }
