:root {
  --bg: #EEF4F1;
  --surface: #FFFFFF;
  --ink: #12262B;
  --muted: #46605F;
  --accent: #0B6F6B;
  --pear: #D3E34F;
  --on-pear: #12262B;
  --line: rgba(18, 38, 43, 0.18);
  --band-bg: #0C3B3E;
  --band-ink: #EAF4EF;
  --band-muted: #A9C7C3;

  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1C1F;
    --surface: #14282C;
    --ink: #E8F1ED;
    --muted: #9FB8B7;
    --accent: #5FD0C4;
    --line: rgba(232, 241, 237, 0.2);
    --band-bg: #123539;
    --band-ink: #EAF4EF;
    --band-muted: #A9C7C3;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1C1F;
  --surface: #14282C;
  --ink: #E8F1ED;
  --muted: #9FB8B7;
  --accent: #5FD0C4;
  --line: rgba(232, 241, 237, 0.2);
  --band-bg: #123539;
  --band-ink: #EAF4EF;
  --band-muted: #A9C7C3;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 4.5rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.band :focus-visible { outline-color: var(--pear); }
.pear :focus-visible { outline-color: var(--on-pear); }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.025em; margin: 0; }
h2 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 40rem; color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--band-bg);
  color: #EAF4EF;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap; padding-block: 0.6rem; }
.logo { display: block; line-height: 0; }
.logo img { height: 52px; width: auto; display: block; }
.site-header :focus-visible { outline-color: var(--pear); }
nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; list-style: none; margin: 0; padding: 0; }
nav a { text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
nav a:hover { border-bottom-color: var(--pear); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-pear { background: var(--pear); color: var(--on-pear); }
.btn-pear:hover { background: #E2EE79; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-ink { background: var(--on-pear); color: var(--pear); }
.btn-ink:hover { background: #1E3C43; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #0C3B3E; color: #EAF4EF; padding: clamp(3.5rem, 9vw, 7rem) 0 0.75rem; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 58%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12,59,62,0.95) 0%, rgba(12,59,62,0.8) 40%, rgba(12,59,62,0.28) 100%); }
@media (max-width: 760px) { .hero::before { background: linear-gradient(180deg, rgba(12,59,62,0.9) 0%, rgba(12,59,62,0.72) 100%); } }
.hero .wrap { position: relative; z-index: 2; }
.hero :focus-visible { outline-color: var(--pear); }
.hero h1 { font-size: clamp(3rem, 10.5vw, 8rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.04em; max-width: 12ch; }
.hero .lede { margin-top: 1.5rem; color: #D6E9E3; }
.throw { display: block; width: 100%; height: auto; margin-top: 1rem; overflow: visible; }
.throw .trail { fill: none; stroke: var(--pear); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s cubic-bezier(.3,.1,.3,1) 0.3s forwards; }
.throw .ground { stroke: rgba(234,244,239,0.35); stroke-width: 2; }
.throw .zone { fill: none; stroke: var(--pear); stroke-width: 2; stroke-dasharray: 5 6; }
.throw .disc-body { fill: var(--pear); stroke: #0C3B3E; stroke-width: 2.5; }
.throw .disc-ring { fill: none; stroke: #0C3B3E; stroke-width: 2; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .throw .trail { animation: none; stroke-dashoffset: 0; }
}

/* Sections */
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.split { display: grid; gap: 2.5rem 4rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.split > div > h2 + p { margin-top: 1.25rem; }
.prose p + p { margin-top: 1rem; }
.prose { max-width: 38rem; }
.text-link { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--accent); }

.notice { border-left: 6px solid var(--pear); background: var(--surface); padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; margin-top: 1.5rem; }
.notice strong { font-weight: 600; }

/* League band */
.band { background: var(--band-bg); color: var(--band-ink); }
.band .lede, .band .muted { color: var(--band-muted); }
.facts { margin: 1.75rem 0 0; padding: 0; list-style: none; display: grid; gap: 0; max-width: 34rem; }
.facts li { padding: 0.8rem 0; border-top: 1px solid rgba(234, 244, 239, 0.22); }
.facts li:last-child { border-bottom: 1px solid rgba(234, 244, 239, 0.22); }
.facts b { display: block; font-weight: 600; font-size: 0.9rem; color: var(--band-muted); }
.when { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.05; margin-top: 1rem; }

.league-h { font-size: 1.15rem; margin-top: 2.5rem; }
.league-notes { margin: 0.75rem 0 0; padding-left: 1.1rem; max-width: 34rem; }
.league-notes li + li { margin-top: 0.35rem; }
.sched { list-style: none; margin: 0.75rem 0 0; padding: 0; max-width: 34rem; }
.sched > li { padding: 0.85rem 0; border-top: 1px solid rgba(234, 244, 239, 0.22); }
.sched > li:last-child { border-bottom: 1px solid rgba(234, 244, 239, 0.22); }
.sched > li.past { opacity: 0.55; }
.sched > li.next { border-left: 4px solid var(--pear); padding-left: 0.85rem; }
.sched-when { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; }
.sched-when span { color: var(--band-muted); font-size: 0.9rem; }
.sched > li.next .sched-when span { color: var(--pear); font-weight: 600; }
.games { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.games li { margin-top: 0.2rem; }
.fld { display: inline-block; min-width: 4.5rem; font-size: 0.85rem; color: var(--band-muted); }
.v { color: var(--band-muted); }
.tc { color: var(--band-muted); font-size: 0.9rem; }
.sw { display: inline-block; width: 0.7em; height: 0.7em; border-radius: 50%; margin-right: 0.35em; vertical-align: 0.05em; border: 1px solid rgba(234, 244, 239, 0.6); }
.sw-green { background: #3FA34D; }
.sw-orange { background: #F08A24; }
.sw-white { background: #FFFFFF; }
.sw-black { background: #111111; }
.sched-note { margin-top: 0.35rem; font-size: 0.95rem; color: var(--band-muted); }

/* Cramp Up */
.pear { background: var(--pear); color: var(--on-pear); }
.pear .lede, .pear .muted { color: #2D4A33; }
.cu-grid { display: grid; gap: 2rem; margin-top: 3rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cu-grid { grid-template-columns: repeat(3, 1fr); } }
.cu-grid > div { border-top: 3px solid var(--on-pear); padding-top: 1rem; }
.cu-grid h3 { margin-bottom: 0.6rem; }
.cu-grid ul { margin: 0; padding-left: 1.1rem; }
.cu-grid li + li { margin-top: 0.25rem; }
.cu-status { margin-top: 2rem; max-width: 40rem; }

/* Join list */
.channels { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.channels li { border-bottom: 1px solid var(--line); }
.channels a { display: grid; grid-template-columns: 1fr; gap: 0.15rem 2rem; padding: 1.25rem 0.25rem; text-decoration: none; }
@media (min-width: 700px) { .channels a { grid-template-columns: 14rem 1fr auto; align-items: baseline; } }
.channels .name { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; }
.channels .what { color: var(--muted); }
.channels .go { font-weight: 600; color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.channels a:hover { background: var(--surface); }

footer { border-top: 1px solid var(--line); padding-block: 2rem; color: var(--muted); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
