:root {
  --bg: #fbf3e4;
  --bg-band: #f3e3c7;
  --surface: #fffaf1;
  --ink: #3a2a1c;
  --ink-soft: #6b5440;
  --accent: #2f7d4f;
  --accent-ink: #ffffff;
  --accent-hover: #26683f;
  --sun: #f2a93b;
  --muted-btn: #e6d8c2;
  --muted-btn-ink: #7a6650;
  --border: #e2cfae;
  --shadow: 0 2px 0 #e2cfae, 0 10px 24px rgba(90, 58, 34, 0.12);
  --radius: 22px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1712;
    --bg-band: #2a2018;
    --surface: #2c231b;
    --ink: #f5e9d6;
    --ink-soft: #cbb79c;
    --accent: #5cc38a;
    --accent-ink: #10231a;
    --accent-hover: #7ad3a1;
    --sun: #f5b955;
    --muted-btn: #3b3026;
    --muted-btn-ink: #b5a088;
    --border: #3f3227;
    --shadow: 0 2px 0 #3f3227, 0 10px 24px rgba(0, 0, 0, 0.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 10;
}

/* Header: a warm sunny band with a scalloped "awning" edge */
.site-header {
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 169, 59, 0.35) 0 70px, transparent 71px),
    var(--bg-band);
  padding: 48px 0 56px;
  position: relative;
  text-align: center;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 14px;
  z-index: 1;
  background: radial-gradient(circle at 14px 0, var(--bg-band) 13px, transparent 14px) 0 0 / 28px 14px repeat-x;
}

.eyebrow {
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lede {
  margin: 12px auto 0;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

main.wrap { padding-top: 48px; padding-bottom: 56px; }

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 480px));
  justify-content: center;
}

.card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-band);
}
.card-media > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-snap {
  position: absolute;
  right: 14px;
  bottom: -14px;
  width: 38%;
  border: 5px solid var(--surface);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transform: rotate(4deg);
}

.card-body {
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 800;
}

.card-tagline {
  margin: 0;
  font-weight: 700;
  color: var(--accent);
}

.card-blurb { margin: 4px 0 0; }

.card-note {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  background: var(--bg-band);
  border-radius: 12px;
  padding: 10px 12px;
}

.btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 160px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}
.card-note + .btn, .card-blurb + .btn { margin-top: 14px; }

.btn-play {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 4px 0 var(--accent-hover);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}
.btn-play:hover { background: var(--accent-hover); }
.btn-play:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-hover); }
.btn-play:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.btn-soon {
  background: var(--muted-btn);
  color: var(--muted-btn-ink);
  cursor: not-allowed;
}

.noscript {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.site-footer {
  background: var(--bg-band);
  color: var(--ink-soft);
  text-align: center;
  padding: 24px 0 32px;
  font-size: 0.95rem;
}
.site-footer p { margin: 0; }
.site-footer .analytics-note {
  margin-top: 10px;
  font-size: 0.85rem;
}
.site-footer a { color: inherit; text-decoration: underline; }

@media (max-width: 480px) {
  .site-header {
    padding: 36px 0 44px;
    background:
      radial-gradient(circle at 100% 0, rgba(242, 169, 59, 0.35) 0 56px, transparent 57px),
      var(--bg-band);
  }
  .card-body { padding: 18px 16px 20px; }
  .btn { width: 100%; align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
