:root {
  --red: #b30d12;
  --red-dark: #8c0a0e;
  --red-bright: #e8393e;
  --cream: #fdf1da;
  --bg: #0b0b0c;
  --bg-alt: #121214;
  --panel: #161618;
  --line: #2b2b2f;
  --ink: #f3e9d2;
  --muted: #a99f8c;
  --radius: 8px;
  --heading: "Rockwell", "Roboto Slab", "Georgia", "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  background-image: var(--grain); opacity: .06; mix-blend-mode: screen;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-bright); }
h1, h2, h3 { font-family: var(--heading); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; color: var(--cream); }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); text-transform: uppercase; letter-spacing: .06em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1100px, 92%); margin-inline: auto; }
.narrow { width: min(760px, 92%); }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 0; background: var(--cream); color: #000; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Header */
.site-header { background: rgba(11, 11, 12, .94); backdrop-filter: blur(6px); border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.brand img { height: 50px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav ul { display: flex; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav a[aria-current="page"] { color: var(--red-bright); border-bottom-color: var(--red); }
.nav-toggle { display: none; background: var(--red); color: var(--cream); border: 0; border-radius: 6px; padding: .55rem .9rem; font-weight: 700; font-size: 1rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: .8rem 1.6rem; border-radius: 4px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .12s ease, background .12s ease, box-shadow .12s ease; cursor: pointer; font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--body); }
.btn:hover { transform: translateY(-2px); }
.btn-primary, .btn-shop { background: var(--red); color: var(--cream); box-shadow: 0 0 0 0 rgba(232, 57, 62, 0); }
.btn-primary:hover, .btn-shop:hover { background: var(--red-dark); box-shadow: 0 6px 24px rgba(179, 13, 18, .5); }
.site-nav .btn-shop { color: var(--cream); padding: .5rem 1.2rem; font-size: .8rem; border-bottom: 2px solid transparent; }
.btn-ghost { border-color: var(--cream); color: var(--cream); background: rgba(0, 0, 0, .25); }
.btn-ghost:hover { background: var(--cream); color: #000; }
.btn-light { background: var(--cream); color: #000; }
.btn-light:hover { background: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: min(62vh, 520px);
  display: grid; place-items: center;
  text-align: center;
  padding: clamp(3rem, 9vw, 6rem) 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .35) 40%, rgba(11, 11, 12, .92) 100%),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .75) 100%),
    url("images/hero-field.jpg") center 70% / cover no-repeat,
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner { position: relative; z-index: 1; }
.hero-logo { width: min(720px, 92%); margin: 0 auto; filter: drop-shadow(0 0 28px rgba(179, 13, 18, .55)) drop-shadow(0 6px 18px rgba(0, 0, 0, .8)); }
.hero-kicker { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--red-bright); border: 1px solid var(--red); padding: .3rem .8rem; margin-bottom: 1.2rem; background: rgba(0, 0, 0, .5); }
.hero-tag { font-family: var(--heading); font-size: clamp(1.05rem, 2.4vw, 1.4rem); color: var(--ink); margin-bottom: 1.8rem; text-shadow: 0 2px 10px #000; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* Shop banner */
.shop-banner { background: var(--red); color: var(--cream); padding: 1.8rem 0; position: relative; overflow: hidden; }
.shop-banner::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .12; mix-blend-mode: multiply; pointer-events: none; }
.shop-banner-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.shop-banner h2 { margin-bottom: .2rem; color: var(--cream); text-transform: uppercase; letter-spacing: .05em; }
.shop-banner p { margin: 0; opacity: .95; }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { text-align: center; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: .08em; }
.section-title.left { text-align: left; }
.text-link { font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.logo-panel img { width: min(320px, 80%); margin: 0 auto; filter: drop-shadow(0 0 24px rgba(179, 13, 18, .35)); }

.page-hero { background: linear-gradient(180deg, #1a0405 0%, var(--bg) 100%); border-bottom: 1px solid var(--red-dark); color: var(--cream); padding: clamp(2rem, 5vw, 3.2rem) 0; text-align: center; }
.page-hero h1 { margin-bottom: .3rem; }
.page-hero p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .75rem; font-weight: 800; margin-bottom: .5rem !important; color: var(--red-bright) !important; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-bottom: 1.5rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 1.3rem; transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: var(--red); transform: translateY(-2px); }
.card-date { color: var(--red-bright); font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .14em; margin-bottom: .3rem; }

.placeholder-note { background: rgba(201, 162, 39, .12); border: 1px dashed #8a7320; color: #e4cb6a; padding: .55rem .8rem; border-radius: 6px; font-size: .88rem; margin-bottom: 1.2rem; }

/* Table */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th { background: #000; color: var(--red-bright); text-align: left; padding: .8rem 1rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; border-bottom: 2px solid var(--red); }
.table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.table tbody tr:nth-child(even) { background: #1b1b1e; }
.table tbody tr:hover { background: #231113; }

/* Roster */
.player-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.2rem; }
.player { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; text-align: center; position: relative; transition: border-color .15s ease, transform .15s ease; }
.player:hover { border-color: var(--red); transform: translateY(-2px); }
.player-number { position: absolute; top: .6rem; left: .8rem; font-family: var(--heading); font-weight: 800; color: var(--red-bright); }
.player-photo { width: 110px; height: 110px; border-radius: 50%; margin: .4rem auto .8rem; background: #0b0b0c; border: 3px solid var(--red); display: grid; place-items: center; box-shadow: 0 0 20px rgba(179, 13, 18, .35); }
.player-photo span { font-family: var(--heading); font-weight: 800; color: var(--cream); font-size: 1.6rem; }
.player h3 { margin-bottom: .1rem; }
.player p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.tile { margin: 0; }
.tile-ph { aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, #121214, #121214 12px, #18181b 12px, #18181b 24px); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Sponsors */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.sponsor { background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); min-height: 120px; display: grid; place-items: center; color: var(--muted); font-weight: 700; }

.sponsor-card { background: #f3ebdc; border: 1px solid #d9cdb3; border-style: solid; padding: 1.2rem 1rem 1rem; color: #2a1512; align-content: start; text-align: center; place-items: initial; }
.sponsor-card a { display: block; }
.sponsor-card img { height: 150px; width: auto; max-width: 100%; margin: 0 auto .8rem; object-fit: contain; transition: transform .15s ease; }
.sponsor-card a:hover img { transform: scale(1.04); }
.sponsor-note { margin: 0; font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: #2a1512; }
.sponsor-note strong { color: var(--red-dark); letter-spacing: .08em; }

/* Form */
.form { display: grid; gap: 1rem; background: var(--panel); padding: 1.5rem; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); }
.form label { display: grid; gap: .3rem; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.form input, .form textarea { font: inherit; text-transform: none; letter-spacing: normal; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 6px; background: #0b0b0c; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red-bright); }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: #050506; color: var(--ink); padding-top: 2.5rem; border-top: 3px solid var(--red); }
.footer-inner { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 2rem; align-items: start; }
.footer-logo { width: 110px; }
.footer-title { font-family: var(--heading); font-weight: 800; font-size: 1.05rem; margin-bottom: .4rem; color: var(--cream); text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--red-bright); }
.site-footer p { margin-bottom: .3rem; color: var(--muted); }
.copyright { text-align: center; font-size: .82rem; color: var(--muted); padding: 1.5rem 1rem; margin: 1.5rem 0 0; border-top: 1px solid var(--line); }

:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 2px; }

/* Mobile */
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #0b0b0c; border-bottom: 3px solid var(--red); flex-direction: column; align-items: stretch; padding: 1rem 4%; gap: 1rem; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: .2rem; }
  .site-nav ul a { display: block; padding: .6rem 0; }
  .site-nav .btn-shop { text-align: center; }
  .two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { margin: 0 auto; }
  .brand img { height: 42px; }
  .hero { min-height: 0; }
}
@media (max-width: 600px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { margin-bottom: .8rem; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); overflow: hidden; }
  .table td { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
  .table td::before { content: attr(data-label); font-weight: 700; color: var(--red-bright); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
