/* Eurogridiron – original design. No league/team branding or imagery. */
:root {
  --bg: #0b0f14;
  --bg-2: #111821;
  --card: #151e29;
  --line: #233142;
  --text: #e9eef4;
  --muted: #9fb0c2;
  --accent: #c8f13c;      /* electric lime */
  --accent-2: #3fd8c7;    /* teal */
  --accent-ink: #0b0f14;
  --radius: 14px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.small { font-size: .9rem; color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; z-index: 10; font-weight: 700; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header + wordmark */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(11,15,20,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .8rem 0; }
.wordmark { font-family: var(--display); font-size: 1.45rem; text-decoration: none; letter-spacing: .04em; display: inline-flex; align-items: center; line-height: 1; }
.wm-euro { color: var(--accent-ink); background: var(--accent); padding: .28em .35em .22em; border-radius: 6px 0 0 6px; transform: skewX(-10deg); }
.wm-grid { color: var(--text); padding: .28em .45em .22em; border: 2px solid var(--accent); border-left: 0; border-radius: 0 6px 6px 0;
  background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(200,241,60,.13) 18px 20px); transform: skewX(-10deg); }
.wordmark-sm { font-size: .95rem; }
.nav { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: block; padding: .45rem .75rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { background: var(--bg-2); color: var(--accent); }
.nav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(63,216,199,.18), transparent 60%),
    radial-gradient(900px 400px at 0% 110%, rgba(200,241,60,.14), transparent 60%),
    var(--bg); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(255,255,255,.05) calc(10% - 1px) 10%); }
.hero .wrap { position: relative; }
.hero h1 span { color: var(--accent); }
.hero .lede { max-width: 640px; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #cdd8e3; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent-2); margin-bottom: .8rem; }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn { display: inline-block; padding: .75rem 1.2rem; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid var(--accent); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #fff; border-color: #fff; color: var(--accent-ink); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { color: var(--accent); }

/* Sections + cards */
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; }
.card h3 { margin-bottom: .35rem; }
.card p:last-child { margin-bottom: 0; }
.league-card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.league-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 14px solid rgba(200,241,60,.08); }
.league-card .big { font-family: var(--display); font-size: 2rem; color: var(--accent); line-height: 1; margin-bottom: .4rem; }
.league-card .more { margin-top: auto; padding-top: .8rem; font-weight: 700; }
.chip { display: inline-block; background: rgba(63,216,199,.12); color: var(--accent-2); border: 1px solid rgba(63,216,199,.35); border-radius: 999px; padding: .1rem .6rem; font-size: .72rem; letter-spacing: .08em; }
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.stat-strip li { background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: .9rem 1rem; }
.stat-strip strong { display: block; font-family: var(--display); font-size: 1.5rem; color: #fff; line-height: 1.1; }
.stat-strip span { color: var(--muted); font-size: .88rem; }

/* Champion banner */
.result-banner { background: linear-gradient(120deg, rgba(200,241,60,.16), rgba(63,216,199,.10)); border: 1px solid rgba(200,241,60,.4); border-radius: var(--radius); padding: 1.5rem; }
.scoreline { font-family: var(--display); font-size: clamp(1.4rem, 4vw, 2.2rem); line-height: 1.2; margin: .2rem 0 .6rem; text-transform: uppercase; }
.scoreline .score { color: var(--accent); white-space: nowrap; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: .9rem 1rem; color: var(--muted); font-size: .88rem; caption-side: bottom; border-top: 1px solid var(--line); }
th, td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-2); background: var(--bg-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.02); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.champ td:first-child { box-shadow: inset 4px 0 0 var(--accent); }
.tbc { color: var(--muted); font-style: italic; }

/* Two-column layout */
.split { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.1rem 1.25rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline time { display: block; color: var(--accent-2); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Posts */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.no-stories { color: var(--muted); margin: 0; }
.empty-state { border-style: dashed; text-align: center; padding: 2rem 1.25rem; }
.empty-title { font-family: var(--display); text-transform: uppercase; color: var(--accent); font-size: 1.3rem; margin-bottom: .4rem; }
.post { padding: 3rem 0; }
.prose h2 { margin-top: 1.6em; }
.prose blockquote { margin: 1.2em 0; padding: .4em 1.1em; border-left: 4px solid var(--accent-2); color: #cdd8e3; }
.back { font-weight: 700; }

/* Notes */
.note { border-left: 4px solid var(--accent-2); background: var(--bg-2); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; color: #cdd8e3; }
.note strong { color: #fff; }

/* Sources */
.sources { padding: 2rem 0 3rem; border-top: 1px solid var(--line); }
.sources h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.sources ul { columns: 2 320px; column-gap: 2rem; padding-left: 1.1rem; margin: 0; font-size: .92rem; }
.sources li { margin-bottom: .45rem; break-inside: avoid; }
.post .sources { padding-bottom: 1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 2rem 0; font-size: .92rem; color: var(--muted); }
.disclaimer { color: var(--text); max-width: 760px; }
.footer-meta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: space-between; margin: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { padding: .65rem 0; }
  .wordmark { font-size: 1.2rem; }
  .nav { width: 100%; gap: .3rem .2rem; flex-wrap: wrap; }
  .nav a { padding: .35rem .6rem; font-size: .88rem; white-space: nowrap; }
  th, td { padding: .6rem .7rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
caption.cap-top { caption-side: top; border-top: 0; border-bottom: 1px solid var(--line); color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
/* Post labels: News vs Opinion */
.chip-news { background: rgba(200,241,60,.14); color: var(--accent); border-color: rgba(200,241,60,.45); }
.chip-opinion { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); font-style: italic; }
.chip-topic { background: transparent; color: var(--muted); border-color: var(--line); }
.opinion-note { margin: 0 0 1.5rem; }

/* Home: Broncos mention in Broncos orange (contrast 5.5:1 on --bg) */
.broncos-text { color: #FB4F14; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(251,79,20,.45); text-decoration-thickness: 2px; }
.broncos-text:hover { color: #fff; text-decoration-color: #FB4F14; }

/* Broncos page theme – colours only, no team marks. Scoped to body.page-broncos */
.page-broncos {
  --b-orange: #FB4F14; --b-navy: #002244; --b-navy-2: #0a2d52; --b-line: #1d4570;
  --accent: var(--b-orange); --accent-2: #ff8a5c; --accent-ink: #002244;
  --bg: #001a35; --bg-2: #00284f; --card: #032a52; --line: var(--b-line);
  --muted: #b5c4d6;
  background: var(--bg);
}
.page-broncos .site-header { background: rgba(0,26,53,.94); border-bottom: 3px solid var(--b-orange); }
.page-broncos .wm-euro { background: #c8f13c; color: #0b0f14; }
.page-broncos .wm-grid { border-color: #c8f13c; background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(200,241,60,.13) 18px 20px); }
.page-broncos .hero {
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(251,79,20,.16), transparent 60%),
    linear-gradient(180deg, var(--b-navy) 0%, #001a35 100%);
  border-bottom: 6px solid var(--b-orange);
}
.page-broncos .hero::before { opacity: .25; }
.page-broncos .hero h1 { color: #fff; }
.page-broncos .hero h1 span { color: var(--b-orange); }
.page-broncos .hero .lede { color: #e6edf5; }
.page-broncos .eyebrow { color: var(--accent-2); }
.page-broncos .stat-strip li { background: rgba(0,0,0,.18); border-color: var(--b-line); border-left: 4px solid var(--b-orange); }
.page-broncos h2 { color: #fff; border-left: 5px solid var(--b-orange); padding-left: .6rem; }
.page-broncos .sources h2 { border-left: 0; padding-left: 0; color: var(--muted); }
.page-broncos .result-banner { background: linear-gradient(120deg, rgba(251,79,20,.20), rgba(0,34,68,.6)); border: 2px solid var(--b-orange); }
.page-broncos .result-banner strong { color: #fff; background: rgba(251,79,20,.25); padding: 0 .25em; border-radius: 4px; }
.page-broncos thead th { background: var(--b-navy); color: var(--accent-2); border-bottom: 2px solid var(--b-orange); }
.page-broncos .table-wrap { border-color: var(--b-line); }
.page-broncos .post-card { border-color: var(--b-line); border-top: 3px solid var(--b-orange); }
.page-broncos .chip-news { background: rgba(251,79,20,.16); color: #ffb08f; border-color: rgba(251,79,20,.55); }
.page-broncos .chip-opinion { background: rgba(255,255,255,.10); }
.page-broncos .chip-topic { color: #d5e0ec; border-color: var(--b-line); }
.page-broncos .site-footer { background: var(--b-navy); border-top: 3px solid var(--b-orange); }
.page-broncos .disclaimer { color: #fff; }
@media (max-width: 640px) {
  .page-broncos th, .page-broncos td { padding: .6rem .5rem; font-size: .9rem; }
  .page-broncos td:first-child { white-space: normal; }
}
