/* =========================================================
   CU MAMABIRD — black & gold
   Fonts: Bebas Neue (display) · Graduate (varsity) ·
          Barlow Condensed (labels) · Inter (body) ·
          Permanent Marker (sideline scribbles)
   ========================================================= */
:root {
  --bg: #fff8e5;            /* cream, matched to mamabird.com */
  --black: #111111;
  --ink: #fbf1d6;
  --panel: #f6ebcc;
  --panel-2: #f1e2b6;
  --line: #d9caa0;
  --gold: #d9b826;          /* Golden Yellow #FFD000, desaturated to 70% */
  --gold-hi: #e2c95a;
  --gold-lo: #b39a3c;
  --gold-ink: #7a620e;      /* gold for text on cream */
  --text: #111111;
  --muted: #555149;
  --win: #2e8540;
  --loss: #b8382b;
  --max: 1180px;

  --f-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --f-varsity: "Graduate", "Bebas Neue", serif;
  --f-label: "Barlow Condensed", "Inter", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-marker: "Permanent Marker", "Comic Sans MS", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(143,121,25,0.09) 1px, transparent 0);
  background-size: 22px 22px;
  color: var(--text);
  font-family: var(--f-body);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-ink); }
button { font-family: inherit; }
::selection { background: var(--gold); color: var(--black); }

h1, h2, h3, h4 { margin: 0 0 0.4em; font-weight: 400; line-height: 0.95; }
h1 { font-family: var(--f-display); font-size: clamp(3.4rem, 10vw, 7.5rem); letter-spacing: 0.01em; }
h2 { font-family: var(--f-display); font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: 0.02em; }
h3 { font-family: var(--f-label); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-ink); line-height: 1.1; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
section { padding: 88px 0; position: relative; }
section.alt {
  background: linear-gradient(180deg, var(--ink), #f9eecd);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.marker { font-family: var(--f-marker); color: var(--gold-ink); }
.varsity { font-family: var(--f-varsity); }
.gold { color: var(--gold-ink); }
.outline-text { color: var(--gold); -webkit-text-stroke: 1.5px var(--black); }

/* ---------- Section heading: "01 —— TITLE" ---------- */
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.25em; font-size: 0.85rem; color: var(--gold-ink); margin-bottom: 14px;
}
.kicker .n { font-family: var(--f-varsity); letter-spacing: 0; font-size: 1rem; }
.kicker::after { content: ""; flex: 0 0 64px; height: 2px; background: var(--gold); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head h2 { margin: 0; }

/* ---------- Borders & frames ---------- */
.frame {
  position: relative;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--gold-lo);
  border-radius: 4px;
}
.stitch { position: relative; }
.stitch::before {
  content: ""; position: absolute; inset: 8px; pointer-events: none;
  border: 2px dashed rgba(143,121,25,0.45); border-radius: inherit;
}
.corners { position: relative; }
.corners::before, .corners::after {
  content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none;
  border: 3px solid var(--gold);
}
.corners::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.corners::after { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }

/* ---------- Scroll progress + header ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 100;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  box-shadow: 0 0 8px rgba(217,184,38,0.5);
}
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,248,229,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 0 var(--bg), 0 5px 0 var(--gold-lo);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand > img { width: 50px; height: 50px; object-fit: contain; transition: transform 0.6s cubic-bezier(.2,.9,.3,1.4); }
.brand:hover .ring { animation-duration: 4s; }
.brand .bt { display: flex; flex-direction: column; line-height: 1; }
.brand .bt small { font-family: var(--f-varsity); font-size: 0.7rem; color: var(--gold-ink); letter-spacing: 0.08em; }
.brand .bt span { font-family: var(--f-display); font-size: 1.9rem; letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  position: relative; display: block; padding: 10px 14px;
  color: var(--text); text-decoration: none;
  font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 1rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-ink); }
.nav-links a.donate-link {
  margin-left: 8px; background: var(--gold); color: var(--black); border-radius: 3px;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--gold);
}
.nav-links a.donate-link::after { display: none; }
.nav-links a.donate-link:hover { background: var(--gold-hi); }
.menu-btn {
  display: none; background: none; border: 2px solid var(--gold); color: var(--gold-ink);
  padding: 6px 12px; font-family: var(--f-label); font-weight: 700; letter-spacing: 0.1em; font-size: 1rem; cursor: pointer;
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--bg); padding: 8px 16px 20px;
    border-bottom: 2px solid var(--gold);
  }
  .nav-links.open { display: flex; }
  .nav-links a.donate-link { margin: 8px 0 0; text-align: center; }
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden; background: var(--gold); color: var(--black);
  border-top: 3px solid var(--black); border-bottom: 3px solid var(--black);
  box-shadow: 0 -2px 0 var(--gold), 0 2px 0 var(--gold);
}
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  font-family: var(--f-display); font-size: 1.6rem; letter-spacing: 0.06em; padding: 8px 0; white-space: nowrap;
}
.ticker span::after { content: "★"; margin: 0 28px; font-size: 1rem; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 70px 0 90px; cursor: crosshair;
  background:
    radial-gradient(ellipse at 78% 35%, rgba(217,184,38,0.22), transparent 55%),
    linear-gradient(180deg, #fbf1d6 0%, var(--bg) 100%);
  border-bottom: 2px solid var(--gold);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, transparent 0 40px, rgba(143,121,25,0.04) 40px 80px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin: 6px 0 10px; line-height: 0.85; }
.hero h1 .l2 { display: block; color: var(--gold); text-shadow: 4px 4px 0 var(--black); }
.hero h1 .l1 { display: block; color: transparent; -webkit-text-stroke: 2px var(--text); font-size: 0.55em; letter-spacing: 0.08em; }
.hero .varsity-tag {
  display: inline-block; font-family: var(--f-varsity); color: var(--black); background: var(--gold);
  padding: 6px 14px; font-size: 0.85rem; letter-spacing: 0.06em;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--gold);
}
.hero .scribble { font-family: var(--f-marker); color: var(--gold-ink); font-size: 1.15rem; transform: rotate(-3deg); display: inline-block; margin-top: 18px; }
.patch-wrap { position: relative; width: min(400px, 85%); margin: 0 auto; aspect-ratio: 1; }
.patch-wrap .ring {
  position: absolute; inset: -18px; border-radius: 50%;
  border: 3px dashed var(--gold); opacity: 0.5; animation: spin 40s linear infinite;
}
.patch-wrap .ring.r2 { inset: -36px; border: 1px solid var(--gold-lo); border-style: dotted; animation-duration: 70s; animation-direction: reverse; }
.patch-wrap img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(60,45,0,0.28)); transition: transform 0.3s; }
.patch-wrap:hover img { transform: scale(1.04) rotate(-4deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.disc {
  position: absolute; width: 54px; height: 54px; border-radius: 50%; pointer-events: none; z-index: 5;
  background: radial-gradient(circle at 50% 50%, #fff7d6 0 18%, var(--gold-hi) 19% 60%, var(--gold) 61% 74%, var(--gold-lo) 75%);
  box-shadow: 0 10px 22px rgba(60,45,0,0.3), inset 0 0 0 3px rgba(0,0,0,0.25);
}
.catch-count { position: absolute; right: 16px; bottom: 14px; font-family: var(--f-label); font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); font-size: 0.85rem; z-index: 2; }
.catch-count b { color: var(--gold-ink); font-family: var(--f-varsity); font-size: 1.1rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .patch-wrap { width: 230px; order: -1; }
  .hero .btn-row { justify-content: center; }
  .hero .lead { margin-inline: auto; }
}

.page-hero {
  padding: 72px 0 56px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fdf1cf, var(--bg)); border-bottom: 2px solid var(--black);
  border-bottom: 2px solid var(--gold);
}
.page-hero::after {
  content: attr(data-bg); position: absolute; right: -10px; bottom: -40px;
  font-family: var(--f-display); font-size: clamp(8rem, 22vw, 18rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(143,121,25,0.22); pointer-events: none; white-space: nowrap;
}
.page-hero .wrap { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 24px; text-decoration: none; cursor: pointer;
  font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 1.02rem;
  border: 2px solid var(--gold); border-radius: 3px; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:active { transform: translate(2px, 2px); }
.btn-gold { background: var(--gold); color: var(--black); box-shadow: 5px 5px 0 var(--black); }
.btn-gold:hover { background: var(--gold-hi); box-shadow: 7px 7px 0 var(--gold-lo); transform: translate(-2px, -2px); }
.btn-ghost { background: transparent; color: var(--gold-ink); box-shadow: 5px 5px 0 rgba(143,121,25,0.25); border: 2px solid var(--gold-lo); }
.btn-ghost:hover { background: rgba(217,184,38,0.14); transform: translate(-2px, -2px); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Stat tiles ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: var(--panel); padding: 26px 22px 22px; position: relative; overflow: hidden;
  border: 2px solid var(--line); border-top: 6px solid var(--gold); transition: transform 0.2s, border-color 0.2s;
}
.stat:hover { transform: translateY(-4px); border-color: var(--gold-ink); }
.stat .num { font-family: var(--f-display); font-size: 4rem; color: var(--gold-ink); line-height: 0.9; }
.stat .lbl { font-family: var(--f-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-top: 8px; }
.stat .sub { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.stat::after {
  content: "★"; position: absolute; right: 12px; top: 8px; color: var(--gold-ink); opacity: 0.25; font-size: 1.4rem;
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat .num { font-size: 3rem; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--panel); border: 2px solid var(--line); padding: 30px 26px; position: relative;
  transition: border-color 0.2s, transform 0.2s, background 0.2s; text-decoration: none; color: var(--text); display: block;
}
.card:hover { border-color: var(--gold-ink); transform: translateY(-4px); background: var(--panel-2); }
.card p { color: var(--muted); margin: 0; }
.card .icon { font-family: var(--f-varsity); color: var(--black); background: var(--gold); width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; font-size: 1.1rem; box-shadow: 4px 4px 0 var(--gold-lo); }
.card .go { font-family: var(--f-label); font-weight: 700; color: var(--gold-ink); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 16px; display: inline-block; transition: transform 0.2s; }
.card:hover .go { transform: translateX(6px); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Photo slots ---------- */
.photo {
  position: relative; overflow: hidden; margin: 0; cursor: zoom-in;
  background: repeating-linear-gradient(45deg, #f6ecd0 0 14px, #efe3c2 14px 28px);
  border: 2px solid var(--gold); box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--gold-lo);
  aspect-ratio: 4 / 3;
}
.photo img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.photo:hover img { transform: scale(1.06); }
.photo .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--muted); font-size: 0.8rem; }
.photo .ph strong { display: block; font-family: var(--f-display); color: var(--gold-ink); font-size: 1.8rem; font-weight: 400; letter-spacing: 0.04em; }
.photo .ph code { color: var(--gold-lo); }
.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; z-index: 1;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  transform: translateY(100%); transition: transform 0.3s;
}
.photo:hover figcaption, .photo:focus-visible figcaption { transform: none; }
.photo .tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--gold); color: var(--black); font-family: var(--f-label); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery .photo.wide { grid-column: span 2; aspect-ratio: auto; min-height: 280px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .gallery .photo.wide { grid-column: auto; aspect-ratio: 16/10; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.92); display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox .lb-inner { max-width: 1000px; width: 100%; }
.lightbox .lb-stage {
  aspect-ratio: 3/2; background: repeating-linear-gradient(45deg, #f6ecd0 0 14px, #efe3c2 14px 28px);
  border: 2px solid var(--gold); box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--gold-lo);
  display: grid; place-items: center; overflow: hidden;
}
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox .lb-cap { font-family: var(--f-display); font-size: 2rem; letter-spacing: 0.04em; margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; }
.lightbox .lb-cap span { color: var(--muted); font-family: var(--f-label); font-size: 1rem; letter-spacing: 0.1em; }
.lb-btn {
  position: absolute; background: var(--gold); color: var(--black); border: 0; width: 52px; height: 52px; cursor: pointer;
  font-size: 1.6rem; display: grid; place-items: center; box-shadow: 4px 4px 0 var(--gold-lo);
}
.lb-btn:hover { background: var(--gold-hi); }
.lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; } .lb-close { right: 16px; top: 16px; }

/* ---------- Chips / filters / tabs ---------- */
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.chip {
  background: transparent; color: var(--text); border: 2px solid var(--line); cursor: pointer;
  padding: 8px 16px; font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.95rem;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--gold); border-color: var(--gold-ink); color: var(--black); box-shadow: 4px 4px 0 var(--gold-lo); }
.search {
  flex: 1 1 220px; background: var(--panel); border: 2px solid var(--line); color: var(--text);
  padding: 10px 14px 10px 40px; font: inherit; font-size: 1rem; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23ffd000' stroke-width='2.5'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M12.5 12.5L17 17'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 12px center;
}
.search:focus, select.sel:focus { border-color: var(--gold-ink); }
select.sel {
  background: var(--panel); color: var(--text); border: 2px solid var(--line); padding: 10px 12px;
  font-family: var(--f-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.95rem; outline: none; cursor: pointer;
}
.seg { display: inline-flex; border: 2px solid var(--gold); }
.seg button { background: none; border: 0; color: var(--gold-ink); padding: 8px 14px; cursor: pointer; font-family: var(--f-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--black); }

/* ---------- Roster: player cards ---------- */
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.pcard { perspective: 900px; height: 272px; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; text-align: left; outline: none; }
.pcard:focus-visible .face { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--gold-hi); }
.pcard .in { position: relative; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.pcard.flipped .in { transform: rotateY(180deg); }
.pcard .face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold-lo);
  padding: 18px; display: flex; flex-direction: column; overflow: hidden;
}
.pcard .front { background: linear-gradient(160deg, #f1e0ad, #f6ebcc 70%); }
.pcard .front .jn {
  font-family: var(--f-varsity); font-size: 5.6rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 2px var(--gold); margin-top: auto; letter-spacing: -0.02em;
}
.pcard:hover .front .jn { color: var(--gold-ink); }
.pcard .front .nm { font-family: var(--f-display); font-size: 1.9rem; line-height: 0.95; letter-spacing: 0.03em; }
.pcard .front .hint { font-family: var(--f-label); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pcard .front .badges { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.pcard .back { background: var(--gold); color: var(--black); transform: rotateY(180deg); }
.pcard .back .nm { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }
.pcard .back .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.pcard .back .grid div { border: 2px solid var(--black); padding: 6px 8px; }
.pcard .back .grid b { display: block; font-family: var(--f-display); font-size: 2.1rem; line-height: 1; font-weight: 400; }
.pcard .back .grid span { font-family: var(--f-label); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.pill {
  display: inline-block; font-family: var(--f-label); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 3px 8px; background: var(--gold); color: var(--black);
}
.pill.out { background: transparent; color: var(--gold-ink); border: 1px solid var(--gold); }
.empty { color: var(--muted); font-family: var(--f-marker); font-size: 1.3rem; padding: 40px 0; text-align: center; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 2px solid var(--gold); box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--gold-lo); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th {
  background: var(--gold); color: var(--black); font-family: var(--f-label); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.9rem; white-space: nowrap;
}
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { background: var(--gold-hi); }
th .arr { opacity: 0.4; margin-left: 4px; }
th.sorted .arr { opacity: 1; }
td.c, th.c { text-align: center; }
tbody tr { transition: background 0.15s; }
tbody tr:nth-child(even) { background: #f1e5c3; }
tbody tr:hover { background: #ecdba8; }
td.jn { font-family: var(--f-varsity); color: var(--gold-ink); font-size: 1.1rem; width: 70px; }
td.nm { font-weight: 700; }
td .bar-mini { display: inline-block; height: 6px; background: var(--gold); vertical-align: middle; margin-left: 8px; }

/* ---------- Game results strip ---------- */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.game {
  border: 2px solid var(--line); background: var(--panel); padding: 14px 16px; position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.game:hover { transform: translateY(-3px); border-color: var(--gold-ink); }
.game .rd { font-family: var(--f-label); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.game .opp { font-family: var(--f-label); font-weight: 700; font-size: 1.1rem; margin: 2px 0 6px; line-height: 1.15; }
.game .sc { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; }
.game.w { border-left: 6px solid var(--win); } .game.w .sc { color: var(--win); }
.game.l { border-left: 6px solid var(--loss); } .game.l .sc { color: var(--loss); }
.game .wl { position: absolute; top: 10px; right: 12px; font-family: var(--f-varsity); font-size: 1.1rem; }
.game.w .wl { color: var(--win); } .game.l .wl { color: var(--loss); }

/* ---------- Leaders ---------- */
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.leader { padding: 22px; background: var(--panel); }
.leader h3 { margin-bottom: 14px; }
.leader ol { list-style: none; margin: 0; padding: 0; counter-reset: l; }
.leader li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); counter-increment: l; }
.leader li::before { content: counter(l); font-family: var(--f-varsity); color: var(--gold-ink); }
.leader li b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 400; color: var(--gold-ink); line-height: 1; }
.leader li:first-child { font-weight: 700; }
.leader li:first-child b { font-size: 2.2rem; }
@media (max-width: 900px) { .leaders { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--gold), var(--gold-lo) 60%, var(--line)); }
.tl-item { position: relative; margin-bottom: 22px; }
.tl-item::before {
  content: ""; position: absolute; left: -37px; top: 22px; width: 18px; height: 18px; transform: rotate(45deg);
  background: var(--bg); border: 3px solid var(--muted);
}
.tl-item.champ::before { background: var(--gold); border-color: var(--gold-ink); box-shadow: 0 0 0 5px rgba(217,184,38,0.3), 0 0 12px var(--gold); }
.tl-item.final::before, .tl-item.semi::before { border-color: var(--gold-ink); }
.tl-btn {
  width: 100%; text-align: left; background: var(--panel); border: 2px solid var(--line); color: var(--text);
  padding: 18px 22px; cursor: pointer; display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.tl-btn:hover, .tl-item.open .tl-btn { border-color: var(--gold-ink); background: var(--panel-2); }
.tl-item.champ .tl-btn { border-color: var(--gold-ink); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold-lo); }
.tl-year { font-family: var(--f-varsity); font-size: 2rem; color: var(--gold-ink); line-height: 1; }
.tl-result { font-family: var(--f-display); font-size: 1.8rem; letter-spacing: 0.03em; line-height: 1; }
.tl-where { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.tl-plus { font-family: var(--f-display); font-size: 2rem; color: var(--gold-ink); transition: transform 0.25s; }
.tl-item.open .tl-plus { transform: rotate(45deg); }
.tl-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s; }
.tl-item.open .tl-body { grid-template-rows: 1fr; }
.tl-body > div { overflow: hidden; }
.tl-body .inner { border: 2px solid var(--gold); border-top: 0; padding: 20px 22px; background: var(--panel); }
.tl-body p { color: var(--muted); }
@media (max-width: 600px) { .tl-btn { grid-template-columns: 1fr auto; } .tl-year { grid-column: 1 / -1; } }

.finish-chart { display: flex; gap: 6px; align-items: end; height: 200px; padding-top: 28px !important; border-bottom: 2px solid var(--gold); padding: 0 4px; overflow-x: auto; }
.finish-chart .col { flex: 1 0 34px; display: flex; flex-direction: column; align-items: center; justify-content: end; height: 100%; gap: 6px; }
.finish-chart .bar2 { width: 100%; background: var(--gold-lo); transition: height 0.9s cubic-bezier(.2,.8,.2,1), background 0.2s; height: 0; position: relative; }
.finish-chart .col:hover .bar2 { background: var(--gold-hi); }
.finish-chart .champ .bar2 { background: var(--gold); }
.finish-chart .yr { font-family: var(--f-label); font-weight: 700; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.05em; }
.finish-chart .bar2 .lab { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-family: var(--f-label); font-weight: 700; font-size: 0.75rem; color: var(--gold-ink); white-space: nowrap; }

/* ---------- Accordion (details) ---------- */
details.acc { border: 2px solid var(--line); background: var(--panel); margin-bottom: 12px; transition: border-color 0.2s; }
details.acc[open], details.acc:hover { border-color: var(--gold-ink); }
details.acc summary {
  list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-label); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.08em;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--f-display); font-size: 2rem; color: var(--gold-ink); transition: transform 0.25s; line-height: 1; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc-body { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Field diagram ---------- */
.field { width: 100%; height: auto; display: block; }
.field .zone { cursor: pointer; transition: fill 0.2s; }
.field .zone:hover, .field .zone.on { fill: rgba(217,184,38,0.4); }
.field-info { min-height: 92px; padding: 18px 20px; border: 2px dashed var(--gold-lo); margin-top: 18px; }
.field-info h3 { margin-bottom: 6px; }
.field-info p { margin: 0; color: var(--muted); }

/* ---------- Donate ---------- */
.amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 12px; }
.amt-btn {
  background: var(--panel); border: 2px solid var(--line); color: var(--text); padding: 18px 8px; cursor: pointer;
  font-family: var(--f-display); font-size: 2.2rem; letter-spacing: 0.03em; transition: all 0.15s; line-height: 1;
}
.amt-btn:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
.amt-btn[aria-pressed="true"] { background: var(--gold); color: var(--black); border-color: var(--gold-ink); box-shadow: 5px 5px 0 var(--gold-lo); transform: translate(-2px,-2px); }
.custom-amt { display: flex; align-items: center; border: 2px solid var(--line); background: var(--panel); margin-top: 12px; }
.custom-amt:focus-within { border-color: var(--gold-ink); }
.custom-amt span { font-family: var(--f-display); font-size: 2rem; color: var(--gold-ink); padding: 0 14px; }
.custom-amt input { flex: 1; background: none; border: 0; color: var(--text); font-family: var(--f-display); font-size: 2rem; padding: 10px 0; outline: none; min-width: 0; }
.freq { display: flex; gap: 0; margin: 18px 0; }
.freq button { flex: 1; }
.impact {
  margin-top: 18px; padding: 18px 20px; background: var(--panel-2); border-left: 6px solid var(--gold);
  font-size: 1.05rem; min-height: 86px;
}
.impact b { color: var(--gold-ink); }
.impact .marker { font-size: 1.2rem; display: block; margin-bottom: 4px; }
.goal-box { padding: 28px; background: var(--panel); }
.bar { height: 22px; background: #efe5c7; border: 2px solid var(--gold); padding: 3px; margin: 16px 0 10px; }
.bar > div { height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--gold) 0 10px, var(--gold-hi) 10px 20px); transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.goal-nums { display: flex; justify-content: space-between; font-family: var(--f-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.goal-nums b { font-family: var(--f-display); font-size: 2.6rem; color: var(--gold-ink); font-weight: 400; display: block; line-height: 1; }
.copy-btn { background: none; border: 2px dashed var(--gold); color: var(--gold-ink); padding: 8px 14px; cursor: pointer; font-family: var(--f-label); font-weight: 700; letter-spacing: 0.1em; font-size: 1rem; }
.copy-btn:hover { background: rgba(217,184,38,0.14); }
ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { padding: 8px 0 8px 32px; position: relative; color: var(--muted); border-bottom: 1px dashed var(--line); }
ul.check li::before { content: "◆"; position: absolute; left: 4px; color: var(--gold-ink); }
@media (max-width: 560px) { .amounts { grid-template-columns: 1fr 1fr; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 300%); z-index: 300;
  background: var(--gold); color: var(--black); padding: 12px 20px; font-family: var(--f-label); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--gold);
  transition: transform 0.3s, visibility 0.3s; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Back to top ---------- */
#to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 52px; height: 52px;
  background: var(--gold); color: var(--black); border: 0; cursor: pointer; font-size: 1.4rem;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--gold); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
#to-top.show { opacity: 1; pointer-events: auto; }
#to-top:hover { transform: translateY(-3px); }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--gold); box-shadow: 0 -5px 0 var(--bg), 0 -6px 0 var(--gold-lo); padding: 56px 0 28px; margin-top: 6px; background: #111;
  --text: #f4f0e4; --muted: #b9b2a0; --line: #2e2c27; --gold-ink: var(--gold); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer-grid img { width: 76px; }
.footer-grid h4 { font-family: var(--f-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); font-size: 0.95rem; margin-bottom: 12px; }
.footer-grid a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.footer-grid a:hover { color: var(--gold-ink); }
.footer-big { font-family: var(--f-display); font-size: clamp(3rem, 12vw, 9rem); line-height: 0.85; color: transparent; -webkit-text-stroke: 1px var(--gold-lo); margin-top: 36px; letter-spacing: 0.02em; user-select: none; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s, transform 0.7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Spinning bird (3D lettering ring around a red eagle)
   ========================================================= */
.spin { --w: 420px; --fs: 64px; --red: #d7141a; position: relative; width: var(--w); height: calc(var(--w) * 0.62); perspective: 1100px; margin: 0 auto; }
.spin .stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-8deg); }
.spin .ring { position: absolute; left: 50%; top: 56%; transform-style: preserve-3d; animation: ringspin 14s linear infinite; }
.spin .ring span {
  position: absolute; left: 0; top: 0; transform-origin: 0 0;
  font-family: var(--f-display); font-size: var(--fs); line-height: 1; color: var(--text);
  text-shadow: 0 2px 0 rgba(217,184,38,0.55);
}
.spin .ring span.star { color: var(--gold-ink); }
.spin .bird { position: absolute; left: 50%; top: 4%; width: 78%; transform: translateX(-50%) translateZ(1px); filter: drop-shadow(0 10px 14px rgba(60,45,0,0.3)); }
.spin .bird g { fill: var(--red); }
.spin:hover .ring { animation-duration: 5s; }
@keyframes ringspin { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }
.spin { --r: calc(var(--w) * 0.36); }
.spin.sm { --w: 150px; --fs: 17px; height: 66px; }
.spin.sm .bird { top: 2px; width: 66%; }
.spin.sm .ring { top: 60%; }
@media (max-width: 900px) { .spin { --w: 300px; --fs: 46px; } .spin.sm { --w: 120px; --fs: 14px; height: 56px; } }

/* ---------- Captains ---------- */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap {
  position: relative; padding: 22px 18px 18px; background: linear-gradient(160deg, #f0dda6, #f6ebcc 70%);
  border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold-lo); text-decoration: none; color: var(--text);
  transition: transform .2s;
}
.cap:hover { transform: translateY(-4px) rotate(-1deg); }
.cap .jn { font-family: var(--f-varsity); font-size: 4rem; line-height: 1; color: var(--gold-ink); }
.cap .nm { font-family: var(--f-display); font-size: 1.8rem; line-height: 1; letter-spacing: .03em; margin-top: 6px; }
.cap .c { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--black); display: grid; place-items: center; font-family: var(--f-varsity); font-size: 1.1rem; }
@media (max-width: 900px) { .caps { grid-template-columns: 1fr 1fr; } }

/* ---------- Profile links ---------- */
a.plink { color: inherit; text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s, color .2s; }
a.plink:hover { color: var(--gold-ink); background-size: 100% 2px; }
a.plink::after { content: " ↗"; font-size: .75em; opacity: .5; }
.pcard .ur { align-self: flex-start; margin-top: 10px; font-family: var(--f-label); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--black); background: var(--gold); padding: 3px 7px; text-decoration: none; }
.pcard .back .ur { background: var(--black); color: var(--gold); }
.cap-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--black); font-family: var(--f-varsity); font-size: .8rem; vertical-align: 2px; margin-left: 6px; }

/* ---------- Honors posters ---------- */
.honors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.honor { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--panel); border: 2px solid var(--gold); box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--gold-lo); overflow: hidden; }
.honor img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .5s; }
.honor:hover img { transform: scale(1.04); }
.honor .txt { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.honor .yr { font-family: var(--f-varsity); color: var(--gold-ink); font-size: 1.1rem; }
.honor .aw { font-family: var(--f-display); font-size: 2.2rem; line-height: .95; }
.honor .who { font-family: var(--f-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); font-size: 1.15rem; }
.honor p { color: var(--muted); margin: 0; flex: 1; }
@media (max-width: 1000px) { .honors { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .honor { grid-template-columns: 1fr; } .honor img { max-height: 420px; object-position: top; } }

.trophy-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trophy { padding: 24px; background: var(--panel); text-align: center; }
.trophy .big { font-family: var(--f-display); font-size: 4.4rem; color: var(--gold-ink); line-height: .9; }
.trophy .names { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.trophy .names a { color: var(--text); }
@media (max-width: 900px) { .trophy-row { grid-template-columns: 1fr; } }

.aw-list { display: grid; gap: 10px; }
.aw-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; padding: 12px 16px; background: var(--panel); border: 2px solid var(--line); border-left: 6px solid var(--gold-lo); }
.aw-item.top { border-left-color: var(--gold-ink); background: var(--panel-2); }
.aw-item .y { font-family: var(--f-varsity); color: var(--gold-ink); }
.aw-item .a { color: var(--muted); font-size: .92rem; }
.aw-item .by { font-family: var(--f-label); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .aw-item { grid-template-columns: 56px 1fr; } .aw-item .by { display: none; } }

.nt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.nt { padding: 16px 18px; background: var(--panel); border: 2px solid var(--line); transition: border-color .2s; }
.nt:hover { border-color: var(--gold-ink); }
.nt .nm { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }
.nt .sp { color: var(--muted); font-size: .85rem; font-family: var(--f-label); letter-spacing: .08em; }
.nt ul { list-style: none; margin: 10px 0 0; padding: 0; font-size: .88rem; color: var(--muted); }
.nt li { padding: 3px 0; border-top: 1px dashed var(--line); }
.nt li b { color: var(--gold-ink); font-weight: 700; }

/* ---------- Join page ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: st; }
.step { padding: 26px 22px; background: var(--panel); border: 2px solid var(--line); position: relative; counter-increment: st; transition: border-color .2s, transform .2s; }
.step:hover { border-color: var(--gold-ink); transform: translateY(-4px); }
.step::before { content: counter(st, decimal-leading-zero); font-family: var(--f-varsity); font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1.5px var(--gold); display: block; line-height: 1; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.sched { display: grid; gap: 10px; }
.sched-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; background: var(--panel); border: 2px solid var(--line); }
.sched-row.today { border-color: var(--gold-ink); background: var(--panel-2); }
.sched-row .d { font-family: var(--f-display); font-size: 1.6rem; color: var(--gold-ink); line-height: 1; }
.sched-row .t { font-family: var(--f-label); font-weight: 700; letter-spacing: .08em; }
@media (max-width: 560px) { .sched-row { grid-template-columns: 1fr; gap: 2px; } }

.calendar { display: grid; grid-template-columns: repeat(12, 1fr); border: 2px solid var(--gold); }
.calendar .m { padding: 10px 4px; text-align: center; border-right: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.calendar .m:last-child { border-right: 0; }
.calendar .m b { display: block; font-family: var(--f-label); font-weight: 700; letter-spacing: .1em; font-size: .85rem; }
.calendar .m i { display: block; height: 8px; margin-top: 8px; }
.calendar .m.fall i { background: var(--gold-lo); } .calendar .m.spring i { background: var(--gold); } .calendar .m.post i { background: #d7141a; } .calendar .m.off i { background: #d6ccb0; }
.calendar .m:hover, .calendar .m.on { background: var(--panel-2); }
.calendar .m.on b { color: var(--gold-ink); }
@media (max-width: 700px) { .calendar { grid-template-columns: repeat(6, 1fr); } .calendar .m:nth-child(6) { border-right: 0; } .calendar .m:nth-child(-n+6) { border-bottom: 1px solid var(--line); } }

.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-family: var(--f-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; color: var(--gold-ink); }
.form input, .form select, .form textarea {
  background: var(--panel); border: 2px solid var(--line); color: var(--text); padding: 11px 12px; font: inherit; font-size: 1rem; outline: none; text-transform: none; letter-spacing: 0; font-family: var(--f-body);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold-ink); }
.form .opts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.pay { padding: 20px; background: var(--panel); border: 2px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.pay.best { border-color: var(--gold-ink); background: var(--panel-2); }
.pay .h { font-family: var(--f-display); font-size: 1.9rem; line-height: 1; }
.pay .v { font-family: var(--f-label); font-weight: 700; letter-spacing: .04em; color: var(--gold-ink); word-break: break-all; }
.pay p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
@media (max-width: 900px) { .pay-grid { grid-template-columns: 1fr; } }

/* ---------- Upcoming tournaments ---------- */
.tourneys { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.tourney { display: grid; grid-template-columns: 110px 1fr; background: var(--panel); border: 2px solid var(--gold); box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--gold-lo); transition: transform .2s; }
.tourney:hover { transform: translateY(-4px); }
.tourney.past { opacity: .55; border-color: var(--line); }
.tourney .date { background: var(--gold); color: var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 6px; text-align: center; }
.tourney .date .mo { font-family: var(--f-label); font-weight: 700; letter-spacing: .2em; font-size: .9rem; }
.tourney .date .dy { font-family: var(--f-display); font-size: 2.6rem; line-height: .9; }
.tourney .date .yr { font-family: var(--f-varsity); font-size: .8rem; }
.tourney .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.tourney .nm { font-family: var(--f-display); font-size: 2rem; line-height: .95; }
.tourney .wh { color: var(--muted); font-family: var(--f-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tourney .cd { margin-top: auto; padding-top: 10px; font-family: var(--f-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.tourney .cd b { font-family: var(--f-display); font-size: 1.8rem; font-weight: 400; vertical-align: -3px; margin-right: 4px; }

/* Safari: hide the face pointing away so nothing bleeds through mirrored */
.pcard .front { transition: visibility 0s .3s; }
.pcard.flipped .front { visibility: hidden; }
.pcard .back { visibility: hidden; transition: visibility 0s .3s; }
.pcard.flipped .back { visibility: visible; }

/* ---------- Brand logos (by Ryan Shigley) placed around the site ---------- */
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.page-hero .deco { right: 2%; top: 50%; transform: translateY(-50%) rotate(-6deg); max-height: 64%; max-width: 26%; opacity: .85; filter: saturate(.7) drop-shadow(0 10px 18px rgba(60,45,0,.25)); }
.deco.float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(-50%) rotate(-6deg); } 50% { transform: translateY(-56%) rotate(-3deg); } }
.page-hero.has-deco::after { opacity: .35; }
@media (max-width: 760px) { .page-hero .deco { opacity: .18; max-width: 60%; right: -6%; } }
.brand-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.brand-band img { width: 100%; }
@media (max-width: 900px) { .brand-band { grid-template-columns: 1fr; } }
.footer-logo { height: 110px; width: auto !important; opacity: .55; margin-top: 30px; }
.side-logo { width: 100%; max-width: 320px; margin: 0 auto; display: block; }
.credit { color: var(--muted); font-size: .8rem; }

/* ---------- Photo cropping fixes: keep faces in frame ---------- */
.photo img { object-position: center 22%; }
.honor img { object-position: center top; }
/* Photos page: masonry columns, every photo at its natural shape (no cropping) */
.gallery { display: block; columns: 3 300px; column-gap: 26px; }
.gallery .photo, .gallery .photo.wide { aspect-ratio: auto; min-height: 0; break-inside: avoid; margin: 0 0 26px; display: block; width: 100%; }
.gallery .photo img { height: auto; }
.gallery .photo:not(:has(img)) { aspect-ratio: 4 / 3; }
.tourney.tbd { border-style: dashed; box-shadow: none; }
.tourney.tbd .date { background: transparent; color: var(--gold-ink); border-right: 2px dashed var(--gold-lo); }

/* ---------- Season page ---------- */
.countdown { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.countdown div { min-width: 92px; text-align: center; padding: 14px 10px 10px; background: var(--panel); border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold-lo); }
.countdown b { display: block; font-family: var(--f-display); font-size: 3.4rem; line-height: .9; color: var(--gold-ink); font-weight: 400; }
.countdown span { font-family: var(--f-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--muted); }
.season-line { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 0; overflow-x: auto; padding: 8px 0 18px; position: relative; }
.ms { position: relative; padding: 34px 10px 0; text-align: center; }
.ms::before { content: ""; position: absolute; top: 12px; left: 0; right: 0; height: 4px; background: var(--line); }
.ms.done::before { background: var(--gold); }
.ms i { position: absolute; top: 3px; left: 50%; width: 22px; height: 22px; transform: translateX(-50%) rotate(45deg); background: var(--bg); border: 3px solid var(--muted); z-index: 1; }
.ms.done i { background: var(--gold); border-color: var(--gold-ink); }
.ms.next i { border-color: var(--gold-ink); box-shadow: 0 0 0 6px rgba(217,184,38,.3), 0 0 12px var(--gold); animation: pulse 1.6s ease-in-out infinite; }
.ms.post i { border-color: #d7141a; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(217,184,38,.12), 0 0 18px var(--gold); } }
.ms b { display: block; font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .03em; line-height: 1; margin-top: 6px; }
.ms span { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.ms em { font-style: normal; margin-top: 8px; display: inline-block; }
.results { display: grid; gap: 22px; }
.result { padding: 22px 24px; background: var(--panel); border: 2px solid var(--line); border-left: 6px solid var(--gold-lo); }
.result.done { border-left-color: var(--gold-ink); }
.result.live { border-color: var(--gold-ink); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold); }
.result header { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
@media (max-width: 560px) { .countdown div { min-width: 70px; } .countdown b { font-size: 2.6rem; } }

/* ---------- Stay up to date ---------- */
.updates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.upd { padding: 22px 20px; background: var(--panel); display: flex; flex-direction: column; }
.upd h3 { margin-bottom: 12px; }
.upd-list { list-style: none; margin: 0 0 14px; padding: 0; flex: 1; }
.upd-list li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); align-items: start; }
.upd-list li:last-child { border-bottom: 0; }
.upd-list .d { font-family: var(--f-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); font-size: .85rem; line-height: 1.2; }
.upd-list .d.jn { font-family: var(--f-varsity); font-size: 1.4rem; }
.upd-list b { font-family: var(--f-label); font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; }
.upd-list p { margin: 2px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.upd .go { font-family: var(--f-label); font-weight: 700; color: var(--gold-ink); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; font-size: .9rem; }
.upd .go:hover { text-decoration: underline; }
.subscribe { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 26px; padding: 18px 22px; border: 2px dashed var(--gold-lo); }
@media (max-width: 1100px) { .updates { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .updates { grid-template-columns: 1fr; } }

/* ---------- Season fundraising (home) ---------- */
.fund { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: start; }
.fund-meter { padding: 28px; background: var(--panel); }
.fund-meter .big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fund-meter .big b { font-family: var(--f-display); font-size: 4.6rem; line-height: .9; color: var(--gold-ink); font-weight: 400; }
.fund-meter .big span { font-family: var(--f-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fund-meter .bar { height: 30px; }
.fund-costs { list-style: none; padding: 0; margin: 18px 0 0; }
.fund-costs li { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.fund-costs li b { color: var(--text); font-family: var(--f-label); font-weight: 700; letter-spacing: .04em; }
.efforts { display: grid; gap: 12px; }
.effort { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; background: var(--panel); border: 2px solid var(--line); border-left: 6px solid var(--gold); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
a.effort:hover { border-color: var(--gold-ink); transform: translateX(4px); }
.effort b { font-family: var(--f-label); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; }
.effort p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.effort.past { border-left-color: var(--gold-lo); opacity: .8; }
@media (max-width: 900px) { .fund { grid-template-columns: 1fr; } .fund-meter .big b { font-size: 3.4rem; } }

/* projected (expected) fundraising segment */
.bar.split { display: flex; gap: 0; }
.bar.split > div { flex: none; }
.bar.split > .proj { background: repeating-linear-gradient(-45deg, rgba(217,184,38,.5) 0 8px, rgba(217,184,38,.2) 8px 16px); transition: width 1.6s cubic-bezier(.2,.8,.2,1) .4s; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--f-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 14px; height: 10px; margin-right: 6px; vertical-align: 0; }

/* ---------- Fundraising work log ---------- */
.worklog { margin-top: 44px; }
.wl-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.wl { display: grid; gap: 8px; max-height: 520px; overflow-y: auto; padding-right: 6px; }
.wl-row { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px; background: var(--panel); border: 2px solid var(--line); border-left: 6px solid var(--gold); }
.wl-row.up { border-left-color: var(--gold-lo); border-style: dashed solid dashed solid; }
.wl-row .dt { font-family: var(--f-display); font-size: 1.5rem; line-height: .95; color: var(--gold-ink); }
.wl-row .dt small { display: block; font-family: var(--f-label); font-weight: 700; font-size: .7rem; letter-spacing: .14em; color: var(--muted); }
.wl-row b { font-family: var(--f-label); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; }
.wl-row p { margin: 0; color: var(--muted); font-size: .85rem; }
.wl-row .ct { text-align: right; font-family: var(--f-label); font-weight: 700; letter-spacing: .06em; font-size: .85rem; text-transform: uppercase; color: var(--muted); }
.wl-row .ct strong { display: block; font-family: var(--f-display); font-size: 1.6rem; color: var(--text); font-weight: 400; line-height: 1; letter-spacing: .02em; }
.wl-row.done .ct strong { color: var(--gold-ink); }
@media (max-width: 900px) { .wl-grid { grid-template-columns: 1fr; } }


/* ---------- Per-game rows under each tournament (Season page) ---------- */
.gm-list { display: grid; gap: 10px; margin-top: 18px; }
details.gm { border: 2px solid var(--line); background: var(--panel); border-left: 6px solid var(--gold-lo); }
details.gm.w { border-left-color: var(--win); } details.gm.l { border-left-color: var(--loss); }
details.gm[open], details.gm:hover { border-color: var(--gold-ink); }
details.gm summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 90px 1fr auto 28px; gap: 14px; align-items: center; padding: 12px 16px; }
details.gm summary::-webkit-details-marker { display: none; }
details.gm summary::after { content: "+"; font-family: var(--f-display); font-size: 1.8rem; color: var(--gold-ink); line-height: 1; transition: transform .25s; }
details.gm[open] summary::after { transform: rotate(45deg); }
.gm-rd { font-family: var(--f-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--muted); }
.gm-opp { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: .02em; line-height: 1; }
.gm-sc { font-family: var(--f-display); font-size: 1.5rem; color: var(--muted); }
details.gm.w .gm-sc b { color: var(--win); font-weight: 400; } details.gm.l .gm-sc b { color: var(--loss); font-weight: 400; }
.gm-body { padding: 4px 16px 18px; }
.gm-body table { min-width: 420px; }
.gm-h { font-family: var(--f-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-size: .9rem; margin: 18px 0 8px; }
.gm-pts { margin: 0; padding-left: 26px; columns: 2 220px; column-gap: 28px; color: var(--muted); }
.gm-pts li { padding: 3px 0; break-inside: avoid; }
.gm-pts b { color: var(--text); font-weight: 700; }
@media (max-width: 560px) { details.gm summary { grid-template-columns: 1fr auto 24px; } .gm-rd { grid-column: 1 / -1; } }

/* ---- Cream theme (matched to mamabird.com) ---- */
.site-header { border-bottom: 2px solid var(--black); }
.lightbox { --text: #f4f0e4; --muted: #b9b2a0; }
.photo .cap, .photo figcaption { color: #f4f0e4; }

/* Password gate for current-season stats */
.lockbox { max-width: 560px; margin: 0 auto; padding: 32px 28px; background: var(--panel); text-align: center; }
.lockbox .lock-ic { font-size: 2rem; margin-bottom: 6px; }
.lock-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lock-row .search { flex: 1 1 220px; }

/* Roster cards: black, static, one consistent layout */
.pcard { height: auto; min-height: 250px; perspective: none; cursor: default; display: flex; flex-direction: column;
  background: linear-gradient(165deg, #dcc25a, #c9aa35 70%); color: var(--black); border: 2px solid var(--black); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold-lo);
  padding: 16px 18px; transition: transform .2s; }
.pcard:hover { transform: translateY(-3px); }
.pcard .pc-top { display: flex; flex-wrap: wrap; gap: 5px; min-height: 24px; align-items: flex-start; }
.pcard .pc-top .pill { font-size: .62rem; }
.pcard .pc-top .pill.out { color: var(--gold); border-color: var(--gold); }
.pcard .jn { font-family: var(--f-varsity); font-size: 4.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--gold);
  margin-top: auto; letter-spacing: -0.02em; transition: color .2s; }
.pcard:hover .jn { color: var(--gold); }
.pcard .nm { font-family: var(--f-display); font-size: 1.75rem; line-height: 1; letter-spacing: .03em; min-height: 2em; display: flex; align-items: flex-end; margin-top: 6px; }
.pcard .pc-foot { margin-top: 12px; min-height: 24px; display: flex; align-items: center; }
.pcard .pc-foot .ur { margin-top: 0; }
.pcard .pc-none { font-family: var(--f-label); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #bfae86; }

/* Collapsible tournament cards on the Season page */
details.result > summary { list-style: none; cursor: pointer; }
details.result > summary::-webkit-details-marker { display: none; }
.res-toggle { margin-top: 12px; font-family: var(--f-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--gold-ink); }
.res-toggle .hide { display: none; }
details.result[open] .res-toggle .show { display: none; }
details.result[open] .res-toggle .hide { display: inline; }
details.result[open] > summary { margin-bottom: 14px; }
details.result > summary:hover .res-toggle { text-decoration: underline; }

/* Red donate button (red from the Mamabird bird logo) */
.btn-red { background: #c8102e; color: #fff8e5; box-shadow: 5px 5px 0 var(--black); }
.btn-red:hover { background: #a60d26; transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--black); }

/* Gold roster cards: dark details on gold */
.pcard .jn { -webkit-text-stroke-color: var(--black); }
.pcard:hover .jn { color: var(--black); }
.pcard .pc-top .pill { background: var(--black); color: var(--gold); border: 1px solid var(--black); }
.pcard .pc-top .pill.out { background: transparent; color: var(--black); border-color: var(--black); }
.pcard .ur { background: var(--black); color: var(--gold); }
.pcard .pc-none { color: #5a4a12; }
.pcard .jn { color: var(--black); }
.cap .jn { color: var(--black); }

/* Employer matching callout (Donate page) */
.match-box { margin-top: 26px; display: flex; gap: 20px; align-items: center; padding: 22px 24px; background: var(--panel-2);
  border: 2px solid var(--line); border-left: 6px solid var(--gold); }
.match-x { flex: none; font-family: var(--f-display); font-size: 3.6rem; line-height: 1; color: var(--black);
  background: var(--gold); width: 84px; height: 84px; display: grid; place-items: center; box-shadow: 4px 4px 0 var(--black); }
@media (max-width: 560px) { .match-box { flex-direction: column; align-items: flex-start; } }
.goal-note { margin-top: 12px; font-family: var(--f-label); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; color: var(--text); }

/* ===== Phone fixes ===== */
.menu-btn { white-space: nowrap; }
.two-col > * { min-width: 0; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 560px) {
  section { padding: 64px 0; }
  h1 { font-size: clamp(2.8rem, 13vw, 3.6rem); }
  h2 { font-size: clamp(2rem, 9.5vw, 2.6rem); }
  .brand > img { width: 40px; height: 40px; }
  .brand .bt span { font-size: 1.5rem; }
  .brand .bt small { font-size: .6rem; }
  /* tables fit the screen instead of forcing sideways scrolling */
  table, .gm-body table { min-width: 0; }
  th, td { padding: 9px 7px; font-size: .88rem; }
  th { letter-spacing: .04em; }
  td.jn { width: 34px; font-size: .95rem; }
  th .arr { display: none; }
  /* tournament cards on the Season page */
  .result { padding: 18px 16px; }
  .result h3 { font-size: 1.75rem !important; }
  .result header > div:last-child { text-align: left !important; display: flex; align-items: center; gap: 14px; }
  .result header > div:last-child > div { margin-top: 0 !important; }
  /* smaller back-to-top button so it covers less */
  #to-top { width: 42px; height: 42px; font-size: 1.1rem; right: 12px; bottom: 12px; }
  .lockbox { padding: 26px 18px; }
  .goal-box, .fund-meter { padding: 20px; }
  .countdown { gap: 8px; }
}
/* Season timeline: vertical list on phones */
@media (max-width: 560px) {
  #line { display: block !important; overflow: visible !important; }
  #line .ms { text-align: left; padding: 0 0 22px 44px; min-width: 0 !important; width: auto !important; }
  #line .ms::before { top: 0; bottom: 0; left: 10px; right: auto; width: 4px; height: auto; }
  #line .ms i { top: 2px; left: 11px; }
  #line .ms b { margin-top: 0; }
}
