/* Self-hosted fonts (latin subsets, Google Fonts origin) */
@font-face { font-family:'Barlow'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/barlow-400.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/barlow-500.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/barlow-600.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/barlow-700.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Barlow Semi Condensed'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/barlow-semi-condensed-500.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Barlow Semi Condensed'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/barlow-semi-condensed-600.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Big Shoulders Display'; font-style:normal; font-weight:500 900; font-display:swap; src:url('../fonts/big-shoulders-display-500-900.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Spline Sans Mono'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/spline-sans-mono-400.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Spline Sans Mono'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/spline-sans-mono-500.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Spline Sans Mono'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/spline-sans-mono-600.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* NFL Flag Tucson — "Live Feed" design system (see DESIGN.md)
   Shared chrome + tokens. Page-specific styles live in each page's <style>. */

:root {
  --bg: #0A0F1E;
  --surface: #141B30;
  --line: #243052;
  --text: #F4F1E8;
  --muted: #8A93AB;
  --red: #E8352B;
  --sunset: #FF8A3D;
  --gold: #FFB454;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { background: var(--bg); color: var(--text); font-family: Barlow, sans-serif; }
img, video { max-width: 100%; }

.mono { font-family: 'Spline Sans Mono', monospace; letter-spacing: 2.5px; text-transform: uppercase; }
.display { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; text-transform: uppercase; line-height: .88; }

.sechead { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 52px; line-height: .9; text-transform: uppercase; margin-bottom: 16px; }
.seclabel { font-size: 10px; color: var(--sunset); margin-bottom: 8px; }
section { padding: 64px 16px 0; }

/* ---------- top bug ---------- */
.topbug { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: rgba(10,15,30,.85); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.topbug .id { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.topbug .id img { height: 46px; width: auto; }
.topbug .id .name { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); }
.topbug .menu { font-size: 14px; color: var(--text); border: 1px solid var(--line); padding: 10px 18px; background: var(--surface); cursor: pointer; }

/* ---------- menu panel ---------- */
.menupanel { position: fixed; inset: 0; z-index: 70; background: var(--bg); overflow-y: auto; padding: 12px 16px 40px; }
.menupanel .mhead { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.menupanel .mhead .id { display: flex; align-items: center; gap: 8px; }
.menupanel .mhead .id img { height: 46px; width: auto; }
.menupanel .mhead .id .name { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: 1.5px; text-transform: uppercase; }
.menupanel .close { font-size: 14px; color: var(--text); border: 1px solid var(--line); padding: 10px 18px; background: var(--surface); cursor: pointer; }
.menupanel .mlabel { font-size: 10px; color: var(--sunset); margin: 28px 0 10px; }
.menupanel .mainlinks a { display: block; font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 44px; line-height: 1.12; text-transform: uppercase; color: var(--text); text-decoration: none; }
.menupanel .mainlinks a[aria-current="page"] { color: var(--sunset); }
.menupanel .sublinks a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-family: 'Spline Sans Mono', monospace; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; }
.menupanel .sublinks a span { color: var(--sunset); }
.menupanel .reg { display: flex; justify-content: space-between; align-items: center; background: var(--red); margin-top: 28px; padding: 16px 18px; text-decoration: none; color: var(--text); }
.menupanel .reg b { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 1px; text-transform: uppercase; }
.menupanel .reg span { font-family: 'Spline Sans Mono', monospace; font-size: 14px; }
.menupanel .inner { max-width: 720px; }
@media (min-width: 900px) {
  .menupanel { padding: 24px 40px 60px; }
  .menupanel .inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; column-gap: 90px; grid-template-rows: auto auto 1fr auto; }
  .menupanel .mhead { grid-area: 1 / 1 / 2 / 3; margin-bottom: 26px; }
  .menupanel .mhead + .mlabel { grid-area: 2 / 1 / 3 / 2; margin: 0 0 14px; }
  .menupanel .mainlinks { grid-area: 3 / 1 / 5 / 2; }
  .menupanel .mainlinks a { font-size: 64px; line-height: 1.18; }
  .menupanel .mainlinks + .mlabel { grid-area: 2 / 2 / 3 / 3; margin: 0 0 14px; align-self: end; }
  .menupanel .sublinks { grid-area: 3 / 2 / 4 / 3; align-self: start; }
  .menupanel .reg { grid-area: 4 / 2 / 5 / 3; align-self: end; margin-top: 40px; }
}

/* ---------- chyron ---------- */
.chyron { position: fixed; left: -6px; right: 18px; bottom: 18px; z-index: 60; background: var(--red); transform: rotate(-1.6deg); padding: 16px 20px 16px 26px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 14px 34px rgba(232,53,43,.32); text-decoration: none; color: var(--text); }
.chyron b { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: 1.5px; text-transform: uppercase; }
.chyron span { font-family: 'Spline Sans Mono', monospace; font-size: 15px; }
@media (min-width: 900px) {
  .chyron { left: auto; right: 40px; bottom: 28px; padding: 16px 26px; min-width: 320px; }
}

/* ---------- page head (interior pages) ---------- */
.pagehead { padding: 110px 16px 0; }
.pagehead .kick { font-size: 10.5px; color: var(--sunset); margin-bottom: 8px; }
.pagehead h1 { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: clamp(56px, 14vw, 92px); line-height: .9; text-transform: uppercase; }
.pagehead .sub { font-size: 15.5px; color: var(--muted); margin-top: 12px; max-width: 44ch; line-height: 1.55; }

/* ---------- footer ---------- */
footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 36px 16px 130px; }
footer .finner { max-width: var(--maxw); margin: 0 auto; }
footer .fshield { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
footer .fshield img { height: 84px; width: auto; }
footer .fname { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 30px; text-transform: uppercase; letter-spacing: 1px; }
footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; margin-bottom: 30px; }
footer .col .mono { font-size: 9.5px; color: var(--sunset); margin-bottom: 12px; }
footer .col a { display: block; color: var(--text); text-decoration: none; font-size: 14px; padding: 5px 0; }
footer .fsponsors { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 16px; }
footer .fsponsors .mono { display: block; font-size: 9px; color: var(--muted); margin-bottom: 8px; }
footer .fsponsors a { color: var(--muted); font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--line); display: inline-block; margin-right: 18px; }
footer .fine { font-size: 11px; color: var(--muted); line-height: 1.7; }
footer .fine a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  footer .cols { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- common bits ---------- */
.underlink { display: inline-block; color: var(--text); font-family: 'Spline Sans Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--sunset); padding-bottom: 2px; }
.underlink.gold { border-bottom-color: var(--gold); }

/* ---------- desktop text measure ---------- */
@media (min-width: 900px) {
  section { padding: 88px 40px 0; }
  .swrap { max-width: var(--maxw); margin: 0 auto; }
  .sechead { font-size: 68px; }
  .pagehead { padding: 140px 40px 0; }
  .pagehead .inner { max-width: var(--maxw); margin: 0 auto; }
  footer { padding: 44px 40px 130px; }
}

/* ---------- between-seasons ("opens soon") mode ----------
   content.js adds body.season-soon when season.mode === "soon" in the admin.
   Register CTAs drop the red (one-red rule: red means a live register action)
   and carry the between-seasons message instead. */
body.season-soon .chyron,
body.season-soon .menupanel .reg { background: var(--surface); border: 1px solid var(--gold); box-shadow: none; }
body.season-soon .chyron b, body.season-soon .chyron span,
body.season-soon .menupanel .reg b, body.season-soon .menupanel .reg span { color: var(--gold); }
body.season-soon .season .regbtn { background: var(--surface); border-top: 1px solid var(--gold); }
body.season-soon .season .regbtn b, body.season-soon .season .regbtn span { color: var(--gold); }
body.season-soon #reg-buttons { opacity: .35; pointer-events: none; }
.regsoon { border: 1px solid var(--gold); color: var(--gold); padding: 14px 16px; margin-top: 18px; font-family: 'Spline Sans Mono', monospace; font-size: 12px; letter-spacing: 1px; line-height: 1.7; }
