/* ==========================================================================
   ISL Championship Archive — "Modern Clubhouse" theme (candidate 3)
   Clean neutral ground · one electric aqua accent · hairline borders
   Sticky compact nav · designed dark mode · spring micro-interactions
   Drop-in replacement for assets/style.css — same selectors, same HTML.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Instrument+Sans:ital,wght@0,400..700;1,400..600&display=swap');

/* ---------------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* type */
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* ground + surfaces */
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-2: #eef3f7;          /* subtle wells: table stripes, hovers */
  --surface-3: #e4ecf2;

  /* ink */
  --ink: #10202f;
  --ink-soft: #52667a;
  --ink-faint: #5d7183;

  /* hairlines + elevation */
  --line: #d3dfe9;
  --line-strong: #c4d2dd;
  --bg-wash: rgba(8, 166, 201, 0.06);
  --shadow-1: 0 1px 2px rgba(13, 32, 48, 0.05);
  --shadow-2: 0 8px 24px -12px rgba(13, 32, 48, 0.18);

  /* the one electric accent */
  --accent: #08a6c9;             /* electric aqua */
  --accent-strong: #06718b;      /* readable-on-light aqua for text */
  --accent-soft: rgba(8, 166, 201, 0.10);
  --accent-ring: rgba(8, 166, 201, 0.35);
  --link: #06718b;
  --link-hover: #045a70;

  /* medal gold, used sparingly */
  --gold: #b8860b;
  --gold-bright: #e2ae2a;
  --champ-bg: #fdf7e6;
  --champ-bar: #d9a521;

  /* deep-water panel (hero, footer) — navy in both themes */
  --pool-deep: #0a1c30;
  --pool-mid: #0f3050;
  --pool-text: #cfe4f2;
  --pool-glow: rgba(64, 210, 240, 0.35);

  /* header chrome */
  --header-bg: rgba(246, 248, 250, 0.86);
  --header-ink: #10202f;
  --nav-ink: #405266;

  /* motion */
  --spring: cubic-bezier(0.3, 1.4, 0.5, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.3, 1);

  /* shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a111e;               /* deep navy-black, not gray */
    --surface: #101a2b;
    --surface-2: #162236;
    --surface-3: #1c2a41;

    --ink: #e6eef6;
    --ink-soft: #94a7bc;
    --ink-faint: #8296ab;

    --line: #1e2c43;
    --line-strong: #2a3b57;
    --bg-wash: rgba(53, 214, 240, 0.05);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-2: 0 10px 28px -12px rgba(0, 0, 0, 0.55);

    --accent: #35d6f0;           /* glowing aqua */
    --accent-strong: #35d6f0;
    --accent-soft: rgba(53, 214, 240, 0.10);
    --accent-ring: rgba(53, 214, 240, 0.40);
    --link: #4fd8f2;
    --link-hover: #8ce6f7;

    --gold: #e2b93c;
    --gold-bright: #f0ca55;
    --champ-bg: rgba(226, 185, 60, 0.10);
    --champ-bar: #e2b93c;

    --pool-deep: #0b1f38;
    --pool-mid: #123a5e;
    --pool-text: #c2dcee;
    --pool-glow: rgba(53, 214, 240, 0.30);

    --header-bg: rgba(10, 17, 30, 0.82);
    --header-ink: #e6eef6;
    --nav-ink: #94a7bc;
  }
}

/* ---------------------------------------------------------------------------
   2. Base
   --------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  font-size: clamp(0.96rem, 0.9rem + 0.25vw, 1.04rem);
  color: var(--ink);
  /* a quiet aqua wash at the top keeps the "pool" identity on the neutral ground */
  background:
    radial-gradient(110% 42rem at 50% -10rem, var(--bg-wash), transparent 70%) no-repeat,
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s var(--ease-out);
}
a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------------------------------------------------------------------------
   3. Header / sticky nav
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--header-ink);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--bg); }
}

.site-header .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--pool-mid), var(--pool-deep) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #7fe3f7;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(127, 227, 247, 0.35), var(--shadow-1);
}

.site-title { flex: 1 1 auto; min-width: 200px; }
.site-title h1 {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.22rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--header-ink);
}
.site-title .tagline {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--accent-strong);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  width: 100%;
}
.site-nav a {
  color: var(--nav-ink);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out);
}
.site-nav a:hover {
  background: var(--surface-2);
  color: var(--ink);
  text-decoration: none;
}
.site-nav a.active {
  background: var(--accent-soft);
  color: var(--accent-strong);
  box-shadow: inset 0 0 0 1px var(--accent-ring);
}

/* ---------------------------------------------------------------------------
   4. Layout
   --------------------------------------------------------------------------- */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(24px, 2.5vw, 40px) 20px 56px;
}

.page-intro { margin-bottom: clamp(20px, 3vw, 30px); }
.page-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 8px;
}
.page-intro p { color: var(--ink-soft); max-width: 70ch; }

section { margin-bottom: clamp(30px, 4vw, 46px); }

section > h3 {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
section > h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
/* archive page puts year links inside section headings — keep them heading-colored */
section > h3 a { color: inherit; }

/* ---------------------------------------------------------------------------
   5. Hero (home) — one deliberate deep-water panel
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 130% at 85% -20%, var(--pool-mid) 0%, transparent 60%),
    var(--pool-deep);
  color: #f2f8fc;
  border: 1px solid rgba(127, 227, 247, 0.14);
  border-radius: var(--r-xl);
  padding: clamp(30px, 5vw, 52px) clamp(22px, 4vw, 48px);
  margin-bottom: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-2);
}
/* quiet water-line glow along the bottom edge */
.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -60px;
  height: 120px;
  background: radial-gradient(60% 100% at 50% 100%, var(--pool-glow), transparent 70%);
  pointer-events: none;
}
.hero h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 2.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 12px;
  text-wrap: balance;
}
.hero p {
  max-width: 62ch;
  color: var(--pool-text);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
}

.hero .champ-badge {
  display: inline-block;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(127, 227, 247, 0.35);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  color: var(--pool-text);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero .champ-badge strong { color: var(--gold-bright); font-weight: 700; }

.hero .cta-btn {
  display: inline-block;
  margin-top: 20px;
  margin-left: 10px;
  background: var(--gold-bright);
  color: #241a02;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: 0 4px 14px -4px rgba(226, 174, 42, 0.5);
  transition: transform 0.25s var(--spring), box-shadow 0.25s var(--ease-out), background 0.15s var(--ease-out);
}
.hero .cta-btn:hover {
  text-decoration: none;
  background: #f4cf60;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(226, 174, 42, 0.55);
}

/* ---------------------------------------------------------------------------
   6. Stat cards
   --------------------------------------------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 16px 16px;
  text-align: center;
  box-shadow: var(--shadow-1);
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}
.stat-card .lbl {
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ---------------------------------------------------------------------------
   7. Link cards
   --------------------------------------------------------------------------- */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.link-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 20px 18px;
  color: inherit;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--spring), border-color 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.link-card:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-3px);
  border-color: var(--accent-ring);
  box-shadow: var(--shadow-2);
}
.link-card h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.link-card p { font-size: 0.87rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------------------------------------------------------------------------
   8. Tables
   --------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.93rem;
}
thead th {
  background: var(--surface-2);
  color: var(--ink-soft);
  text-align: left;
  padding: 10px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-strong);
}
tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  tbody tr:nth-child(even) { background: var(--surface-2); }
}

td.num, th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

tr.champ-row td {
  background: var(--champ-bg);
  font-weight: 700;
}
tr.champ-row td:first-child {
  border-left: 3px solid var(--champ-bar);
}

.medal { font-size: 0.9em; margin-right: 4px; }
.note-cell { color: var(--ink-soft); font-style: italic; }

.sub { color: var(--ink-soft); font-size: 0.8rem; }
td .sub { display: block; font-weight: 400; }

/* ---------------------------------------------------------------------------
   9. Season grid
   --------------------------------------------------------------------------- */
.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
}
.year-tile {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
  padding: 14px 6px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--spring), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.year-tile:hover {
  text-decoration: none;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: var(--accent-ring);
  transform: translateY(-2px);
}
.year-tile .champ {
  display: block;
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
  margin-top: 3px;
  line-height: 1.3;
}
.year-tile.gap {
  opacity: 0.5;
  cursor: default;
  border-style: dashed;
  box-shadow: none;
  background: transparent;
}
.year-tile.gap:hover { transform: none; background: transparent; border-color: var(--line); color: var(--ink); }

/* ---------------------------------------------------------------------------
   10. Docs list
   --------------------------------------------------------------------------- */
.doc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.doc-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  transition: border-color 0.2s var(--ease-out);
}
.doc-list li:hover { border-color: var(--accent-ring); }
.doc-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink);
  border-radius: var(--r-md);
}
.doc-list a:hover {
  text-decoration: none;
  color: var(--ink);
  background: var(--surface-2);
}
.doc-ico {
  flex: none;
  width: 34px;
  height: 42px;
  border-radius: 6px 10px 6px 6px;   /* dog-eared corner */
  background: var(--pool-deep);
  color: #7fe3f7;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(127, 227, 247, 0.25);
}
.doc-label { font-size: 0.88rem; font-weight: 600; line-height: 1.35; }
.doc-label .sub { display: block; font-weight: 400; font-size: 0.74rem; color: var(--ink-faint); }

/* ---------------------------------------------------------------------------
   11. Misc blocks
   --------------------------------------------------------------------------- */
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--champ-bar);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-1);
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.callout strong { color: var(--ink); }

.division-block { margin-bottom: 26px; }
.division-block h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin-bottom: 8px;
}

.year-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.92rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.fact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-1);
  font-size: 0.89rem;
}
.fact-card h5 {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.fact-card p { color: var(--ink-soft); line-height: 1.55; }

/* ---------------------------------------------------------------------------
   12. Club strip
   --------------------------------------------------------------------------- */
.division-strip { margin-bottom: 20px; }
.division-strip h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-faint);
  margin-bottom: 9px;
}
.division-strip h4::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 1px;
}

.club-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.club-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 9px 12px;
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--spring), border-color 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.club-chip:hover {
  text-decoration: none;
  color: var(--ink);
  transform: translateY(-2px);
  border-color: var(--accent-ring);
  box-shadow: var(--shadow-2);
}
.club-chip img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: none;
  border-radius: 8px;
  background: #fff;              /* club logos are designed for light ground */
  padding: 2px;
}
.club-chip .cbody {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.club-chip .cname {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
}
.club-chip .cstats {
  font-size: 0.71rem;
  color: var(--ink-faint);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------------
   12.5 Coach's Pass page
   --------------------------------------------------------------------------- */
.soon-tag {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 8px;
  vertical-align: 2px;
  white-space: nowrap;
}
.free-tag {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--champ-bg);
  border: 1px solid var(--champ-bar);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 8px;
  vertical-align: 2px;
  white-space: nowrap;
}
.price-banner {
  background:
    radial-gradient(90% 130% at 85% -20%, var(--pool-mid) 0%, transparent 60%),
    var(--pool-deep);
  color: #f2f8fc;
  border: 1px solid rgba(127, 227, 247, 0.14);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 34px;
}
.price-banner .amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 2rem + 1.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.price-banner .terms { color: var(--pool-text); font-size: 0.92rem; max-width: 46ch; }
.price-banner .terms strong { color: #fff; }

/* ---------------------------------------------------------------------------
   13. Qualifying times
   --------------------------------------------------------------------------- */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 18px;
  align-items: start;
}
.qual-block h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin-bottom: 8px;
}

/* ---------------------------------------------------------------------------
   14. Footer
   --------------------------------------------------------------------------- */
.site-footer {
  background: var(--pool-deep);
  color: rgba(194, 220, 238, 0.75);
  font-size: 0.8rem;
  padding: 26px 20px;
  text-align: center;
  border-top: 1px solid rgba(127, 227, 247, 0.15);
  margin-top: 24px;
}
.site-footer a { color: #7fe3f7; }
.site-footer a:hover { color: #b6f0fa; }

/* ---------------------------------------------------------------------------
   15. Mobile
   --------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .site-header .inner { padding: 8px 14px; }
  /* nav becomes a horizontal scroller instead of wrapping — keeps the
     sticky header compact for parents checking standings poolside */
  .site-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -14px;
    padding: 4px 14px 6px;
  }
  .site-nav::-webkit-scrollbar { display: none; }
}

@media (max-width: 640px) {
  main { padding-left: 14px; padding-right: 14px; }
  .hero { padding: 26px 20px; border-radius: var(--r-lg); }
  .hero .cta-btn { margin-left: 0; display: inline-block; }
  .site-title h1 { font-size: 1rem; }
  .site-title .tagline { font-size: 0.7rem; }
  .logo-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 11px; }
  thead th, tbody td { padding: 9px 12px; }
  .stat-card { padding: 16px 10px 12px; }
  .year-nav { font-size: 0.88rem; }
}

/* ---------------------------------------------------------------------------
   16. Reduced motion
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .link-card:hover,
  .club-chip:hover,
  .year-tile:hover,
  .hero .cta-btn:hover { transform: none; }
}

/* ---------------------------------------------------------------------------
   17. Print — people print the standings
   --------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .year-nav { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  main { max-width: none; padding: 0; }
  .table-wrap { overflow-x: visible; }
  thead th, tr.champ-row td {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .hero {
    background: none;
    color: #000;
    border: 1px solid #999;
    box-shadow: none;
    padding: 16pt;
  }
  .hero::after { display: none; }
  .hero p, .hero .champ-badge { color: #000; }
  .hero .cta-btn { display: none; }
  .table-wrap, .stat-card, .link-card, .fact-card, .callout,
  .doc-list li, .club-chip, .year-tile {
    box-shadow: none;
    border: 1px solid #bbb;
  }
  thead th { background: #eee; color: #000; }
  tbody tr:nth-child(even) { background: #f5f5f5; }
  tr.champ-row td { background: #f3ecd4; }
  a { color: #000; text-decoration: none; }
  section, .division-block { break-inside: avoid; }
}
