/* Season landing. The season owns the colour: pick one and the whole page takes it. */

/* ---------- Season palettes (DESIGN.md) ---------- */
:root, html[data-season="cut"] {
  --s-field: #13789c; --s-deep: #0e5974; --s-accent: #137ba1; --s-accent-d: #3898bc;
  --s-wash: #ecf5f9; --s-wash-d: #0b171b; --s-card-d: #192326;
  --n-field: #7651ef; --n-deep: #583cb1;
}
html[data-season="bulk"] {
  --s-field: #7651ef; --s-deep: #583cb1; --s-accent: #7953f6; --s-accent-d: #9777fd;
  --s-wash: #efecf9; --s-wash-d: #110d1d; --s-card-d: #1c1926;
  --n-field: #8a6a34; --n-deep: #664e27;
}
html[data-season="off"] {
  --s-field: #8a6a34; --s-deep: #664e27; --s-accent: #8e6d36; --s-accent-d: #a88955;
  --s-wash: #f9f4ec; --s-wash-d: #18140c; --s-card-d: #262119;
  --n-field: #13789c; --n-deep: #0e5974;
}

:root {
  --wash: var(--s-wash);
  --card: #ffffff;
  --ink: #0b171b;
  --accent: var(--s-accent);
  --ink-2: color-mix(in srgb, var(--ink) 70%, var(--wash));
  --rule: color-mix(in srgb, var(--ink) 16%, var(--wash));

  --display: "League Gothic", "Arial Narrow", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 5vw, 56px);
}
@media (prefers-color-scheme: dark) {
  :root { --wash: var(--s-wash-d); --card: var(--s-card-d); --ink: #f1f4f6; --accent: var(--s-accent-d); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light dark; scrollbar-color: var(--s-field) var(--wash); }
body { margin: 0; background: var(--wash); color: var(--ink); font: 400 1.0625rem/1.55 var(--text); -webkit-font-smoothing: antialiased; transition: background-color 0.6s var(--ease); overflow-x: clip; }
::selection { background: var(--s-deep); color: #fff; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 6px; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Field sections (hero, close) ---------- */
.field { color: #fff; background: var(--field); transition: background-color 0.6s var(--ease); }
.field--season { --field: var(--s-field); --field-deep: var(--s-deep); }
.field--next { --field: var(--n-field); --field-deep: var(--n-deep); }
.field p { color: rgba(255, 255, 255, 0.92); }
.field ::selection { background: #fff; color: var(--field-deep); }

.top { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.mark { font: 400 2rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }
.top-note { font-size: 0.875rem; font-weight: 600; opacity: 0.92; }

.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; padding-block: clamp(20px, 5vw, 64px) clamp(44px, 6vw, 80px); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; } }

h1 { font: 400 clamp(3.6rem, 10vw, 6rem)/0.92 var(--display); text-transform: uppercase; text-wrap: balance; max-width: 11ch; }
h1 em { font-style: normal; display: block; opacity: 0.62; }
.lede { margin-top: 24px; max-width: 50ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); }

.facts { display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.facts li { flex: 1 1 200px; padding: 18px 20px 20px 0; font-weight: 600; font-size: 0.9375rem; list-style: none; }
.facts li span { display: block; font-weight: 400; color: rgba(255, 255, 255, 0.88); font-size: 0.875rem; margin-top: 2px; }
.facts { margin: 0; padding: 0; }

/* ---------- Waitlist form ---------- */
.waitlist { margin-top: 32px; max-width: 540px; }
.waitlist-row { display: grid; gap: 10px; }
@media (min-width: 520px) { .waitlist-row { grid-template-columns: 1fr auto; } }
.waitlist input[type="email"] {
  height: 56px; width: 100%; padding: 0 18px; border: 2px solid transparent; border-radius: 14px;
  background: #fff; color: #0b171b; font: 400 1.0625rem var(--text); caret-color: var(--field-deep);
}
.waitlist input[type="email"]::placeholder { color: #55656c; }
.waitlist input[type="email"]:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.waitlist input[aria-invalid="true"] { border-color: #0b171b; }
.btn {
  position: relative; overflow: hidden; height: 56px; padding: 0 30px; border: 0; border-radius: 14px; background: #fff; color: var(--field-deep);
  font: 600 1.0625rem var(--text); cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.6s var(--ease);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.16);
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%); transform: translateX(-120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 14px 28px rgba(0, 0, 0, 0.2); }
.btn:hover::after { transform: translateX(120%); transition: transform 0.7s var(--ease); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn[disabled] { cursor: progress; opacity: 0.75; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.5em; margin-top: 12px; font-weight: 600; }
.status[data-kind="error"] { padding: 10px 14px; border-radius: 12px; background: rgba(11, 23, 27, 0.35); }
.consent { margin-top: 10px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.9); max-width: 52ch; }
.waitlist.is-done .waitlist-row, .waitlist.is-done .consent { display: none; }
.waitlist.is-done .status { font: 400 2.2rem/1.05 var(--display); letter-spacing: 0.02em; text-transform: uppercase; min-height: 0; margin: 0; padding: 0; background: none; animation: pop 0.6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }

.badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 10px 20px 10px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.6); border-radius: 14px; color: #fff; text-decoration: none; line-height: 1.15;
}
.badge-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.badge-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(3); opacity: 0; } }
.badge small { display: block; font-size: 0.75rem; opacity: 0.92; }
.badge strong { font-weight: 600; font-size: 1.0625rem; }
.badge[href] { background: #fff; color: var(--field-deep); border-color: #fff; }
.badge[href] .badge-dot { background: var(--field-deep); }
.badge[href] .badge-dot::after { display: none; }

/* ---------- Season switcher ---------- */
.seasons { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.seasons-label { font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 0.92); margin-right: 2px; }
.seasons [role="radio"] {
  height: 40px; padding: 0 18px; border: 0; border-radius: 9999px; background: rgba(255, 255, 255, 0.16); color: #fff;
  font: 600 0.9375rem var(--text); cursor: pointer; transition: background-color 0.3s var(--ease), color 0.6s var(--ease), transform 0.2s var(--ease);
}
.seasons [role="radio"]:hover { background: rgba(255, 255, 255, 0.28); }
.seasons [role="radio"]:active { transform: scale(0.96); }
.seasons [role="radio"][aria-checked="true"] { background: #fff; color: var(--field-deep); }

/* ---------- Example verdict (hold to reveal) ---------- */
.stage { position: relative; display: grid; justify-items: center; }
.verdict { position: relative; width: 100%; max-width: 470px; }
.verdict-down, .verdict-up { border-radius: 24px; min-height: 420px; }
.verdict-down {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  width: 100%; padding: 36px 20px; border: 0; overflow: hidden; background: var(--field-deep); color: #fff; text-align: center;
  cursor: pointer; font: inherit; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 30px 60px rgba(0, 0, 0, 0.26);
  transition: transform 0.25s var(--ease), background-color 0.6s var(--ease);
}
.verdict-down > * { position: relative; z-index: 1; }
.verdict.is-holding .verdict-down { transform: scale(0.97); }
.verdict-fill { position: absolute !important; inset: 0; z-index: 0 !important; background: var(--field); transform: scaleY(0); transform-origin: bottom; transition: transform 0.2s ease-out; }
.verdict.is-holding .verdict-fill { transform: scaleY(1); transition: transform 0.9s linear; }
.verdict-title { font: 400 3.2rem/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.verdict-weeks { font-weight: 600; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.92); }
.ticks { display: flex; gap: 5px; justify-content: center; }
.ticks i { width: 20px; height: 6px; border-radius: 9999px; background: #fff; }
.ticks i.off { opacity: 0.25; }
.hand { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); animation: breathe 3.2s ease-in-out infinite; }
.hand svg { width: 32px; height: 32px; }
@keyframes breathe { 0%, 100% { transform: scale(1); background: rgba(255, 255, 255, 0.16); } 50% { transform: scale(1.07); background: rgba(255, 255, 255, 0.24); } }
.verdict.is-holding .hand { animation: none; }
.verdict-hint { font-weight: 600; font-size: 0.9375rem; }

.verdict-up { display: none; padding: 28px 26px; background: var(--field); color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 30px 60px rgba(0, 0, 0, 0.26); }
.verdict-up:focus-visible { outline-offset: 4px; border-radius: 24px; }
.verdict[data-state="up"] .verdict-down { display: none; }
.verdict[data-state="up"] .verdict-up { display: block; animation: flip 0.55s var(--ease) both; }
.verdict[data-state="up"] .verdict-up > * { animation: rise 0.6s var(--ease) both; }
.verdict[data-state="up"] .verdict-up > :nth-child(2) { animation-delay: 0.08s; }
.verdict[data-state="up"] .verdict-up > :nth-child(3) { animation-delay: 0.16s; }
.verdict[data-state="up"] .verdict-up > :nth-child(4) { animation-delay: 0.24s; }
.verdict[data-state="up"] .verdict-up > :nth-child(5) { animation-delay: 0.32s; }
.verdict[data-state="up"] .verdict-up > :nth-child(n+6) { animation-delay: 0.4s; }
@keyframes flip { from { opacity: 0; transform: perspective(900px) rotateX(-16deg) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.up-label { font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.up-head { margin-top: 12px; font: 400 3.6rem/0.95 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.up-rate { margin-top: 6px; font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.rail { position: relative; height: 6px; margin: 26px 0 10px; border-radius: 9999px; background: rgba(255, 255, 255, 0.25); }
.rail-range { position: absolute; top: 0; bottom: 0; left: 28%; width: 42%; border-radius: 9999px; background: rgba(255, 255, 255, 0.6); }
.rail-dot { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
.rail-label { display: flex; justify-content: space-between; gap: 8px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.92); font-variant-numeric: tabular-nums; }
.up-line { margin-top: 20px; font-size: 1rem; }
.up-meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.3); font-size: 0.875rem; color: rgba(255, 255, 255, 0.94); }
.up-replay { margin-top: 12px; padding: 0; border: 0; background: none; color: #fff; font: 600 0.875rem var(--text); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.verdict-note { margin-top: 16px; text-align: center; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.9); }

/* ---------- Wash sections ---------- */
.section { padding-block: clamp(64px, 10vw, 128px); }
h2 { font: 400 clamp(2.8rem, 7vw, 5rem)/0.98 var(--display); text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; max-width: 15ch; }
.intro { margin-top: 22px; max-width: 58ch; color: var(--ink-2); font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); }
.head { display: grid; gap: 4px; }
@media (min-width: 960px) { .head { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; } .head .intro { margin-top: 0; padding-bottom: 6px; } }

/* Trend chart */
.panel { margin-top: clamp(36px, 6vw, 64px); padding: clamp(18px, 3vw, 32px); border-radius: 24px; background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 40px color-mix(in srgb, var(--ink) 8%, transparent); }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font: 500 12px var(--text); fill: var(--ink-2); }
.chart .grid { stroke: var(--rule); stroke-width: 1; }
.chart .band { fill: var(--accent); opacity: 0.16; }
.chart .dot { fill: var(--ink); opacity: 0.4; }
.chart .dot.spike { fill: var(--ink); opacity: 0.85; }
.chart .trend { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.chart .leader { stroke: var(--ink-2); stroke-width: 1; }
.chart .note { font: 600 13px var(--text); fill: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 14px; padding-inline: 4px; font-size: 0.875rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; }
.legend .l-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); opacity: 0.45; }
.legend .l-trend { width: 22px; height: 4px; border-radius: 9999px; background: var(--accent); }
.legend .l-band { width: 22px; height: 12px; border-radius: 3px; background: var(--accent); opacity: 0.2; }
.legend .l-ex { margin-left: auto; }

.points { margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.points li { display: grid; gap: 8px; padding-block: 30px; border-bottom: 1px solid var(--rule); }
@media (min-width: 820px) { .points li { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }
.points h3 { font: 400 clamp(1.9rem, 3.4vw, 2.4rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.points p { color: var(--ink-2); max-width: 58ch; padding-top: 4px; }

/* A week in Season */
.week { margin-top: clamp(36px, 6vw, 64px); }
.week-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week-day { display: grid; gap: 14px; justify-items: center; align-content: start; padding: 18px 4px 16px; border-radius: 16px; text-align: center; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.week-day b { font: 400 1.35rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.week-day .pip { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); opacity: 0.5; }
.week-day small { font-size: 0.75rem; font-weight: 400; line-height: 1.3; }
.week-day--end { background: var(--s-field); color: #fff; }
.week-day--end b { color: #fff; }
.week-day--end .pip { width: 20px; height: 6px; border-radius: 9999px; background: #fff; opacity: 1; }
.week-day--end small { color: rgba(255, 255, 255, 0.94); }
@media (max-width: 719px) {
  .week-days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
  .week-day small { display: none; }
}
.week-caption { margin-top: 14px; font-size: 0.9375rem; color: var(--ink-2); max-width: 62ch; }

.strip { margin-top: clamp(40px, 6vw, 72px); }
.strip-row { display: flex; gap: 6px; }
.strip-row i { flex: 1; height: 20px; border-radius: 9999px; background: var(--accent); transform-origin: left; }
.strip-row i.half { background: linear-gradient(90deg, var(--accent) 50%, transparent 50%); box-shadow: inset 0 0 0 2px var(--accent); }
.strip-row i.out { background: transparent; box-shadow: inset 0 0 0 2px var(--accent); }
.strip-row i.ahead { background: var(--accent); opacity: 0.18; }
.strip figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--ink-2); }

.private { display: grid; gap: 14px; margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(32px, 5vw, 48px); border-top: 1px solid var(--rule); }
@media (min-width: 820px) { .private { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }
.private h3 { font: 400 clamp(1.9rem, 3.4vw, 2.4rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.private p { color: var(--ink-2); max-width: 58ch; padding-top: 4px; }

/* ---------- Close ---------- */
.close { padding-block: clamp(72px, 11vw, 144px); }
.close h2 { font-size: clamp(3.4rem, 10vw, 6rem); max-width: 12ch; }
.close .lede { margin-top: 20px; }

footer { padding-block: 32px 48px; font-size: 0.875rem; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
footer p { max-width: 60ch; }

/* ---------- Motion: stage on load, reveal on scroll (content is visible without JS) ---------- */
.js .rise { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.js .strip-row i { transform: scaleX(0); transition: transform 0.6s var(--ease); transition-delay: calc(var(--k, 0) * 70ms + 200ms); }
.js .strip.in .strip-row i { transform: none; }
.js .chart .trend { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); }
.js .chart.in .trend { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease) 0.5s; }
.js .chart .dot { opacity: 0; }
.js .chart.in .dot { opacity: 0.4; transition: opacity 0.4s ease; transition-delay: calc(var(--k) * 28ms); }
.js .chart.in .dot.spike { opacity: 0.85; }
.js .chart .band, .js .chart .callout { opacity: 0; }
.js .chart.in .band { opacity: 0.16; transition: opacity 1s ease 0.2s; }
.js .chart.in .callout { opacity: 1; transition: opacity 0.8s ease 1.8s; }

/* ---------- Privacy page ---------- */
.doc { max-width: 720px; padding-block: 40px 96px; }
.doc h1 { font-size: clamp(3rem, 9vw, 4.5rem); max-width: none; margin-bottom: 8px; }
.doc h2 { font: 700 1.3rem/1.3 var(--text); text-transform: none; letter-spacing: 0; max-width: none; margin-top: 44px; }
.doc p, .doc li { margin-top: 12px; color: var(--ink-2); }
.doc ul { padding-left: 1.2em; }
.doc .updated { color: var(--ink-2); font-size: 0.9375rem; }
.docbar { background: var(--s-field); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .hand, .badge-dot::after { animation: none; }
  .js .reveal, .js .reveal.in { opacity: 1; animation: none; }
  .js .strip-row i { transform: none; transition: none; }
  .js .chart .trend { stroke-dashoffset: 0; transition: none; }
  .js .chart .dot { opacity: 0.4; transition: none; }
  .js .chart .dot.spike { opacity: 0.85; }
  .js .chart .band { opacity: 0.16; transition: none; }
  .js .chart .callout { opacity: 1; transition: none; }
  .btn, .verdict-down, body, .field { transition: none; }
  .btn::after { display: none; }
  .verdict.is-holding .verdict-down { transform: none; }
  .verdict.is-holding .verdict-fill { transition: none; }
  .verdict[data-state="up"] .verdict-up, .verdict[data-state="up"] .verdict-up > * { animation: none; }
}
