:root {
  --forest: #0d3b22;
  --forest-2: #14532d;
  --leaf: #1f8a3c;
  --lime: #c8e85a;
  --lime-2: #d9f07a;
  --cream: #f3f6ef;
  --paper: #f8faf5;
  --sand: #dce6d4;
  --ink: #122017;
  --ink-soft: #3d4d42;
  --muted: #66756c;
  --line: #cfd9c8;
  --white: #fcfef9;
  --closed: #9a3d2c;
  --open: #1f8a3c;
  --win: #1f8a3c;
  --draw: #8a7a2c;
  --loss: #9a3d2c;
  --shadow: 0 18px 50px rgba(13, 59, 34, 0.14);
  --radius: 22px;
  --header: 76px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --gutter: max(20px, var(--safe-left));
  --gutter-end: max(20px, var(--safe-right));
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(200, 232, 90, 0.18), transparent 50%),
    var(--cream);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a, button {
  -webkit-tap-highlight-color: rgba(13, 59, 34, 0.12);
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--lime);
  color: var(--forest);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter) var(--gutter-end);
}

.eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf);
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.8rem, 8vw, 6.2rem); margin: 0 0 18px; }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin: 0 0 14px; }
h3 { font-size: 1.45rem; margin: 0 0 8px; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: 1.18rem; max-width: 38rem; }
.lead-ink { color: var(--ink-soft); max-width: 40rem; }

.site-notice {
  background: var(--lime);
  color: var(--forest);
  font-weight: 560;
  padding: 10px 0;
  text-align: center;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: calc(var(--header) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(13, 59, 34, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--lime);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
  color: var(--cream);
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, var(--leaf) 50%, var(--cream) 50%);
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px var(--lime);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  border: 2px solid var(--forest);
  background:
    radial-gradient(circle at 35% 35%, transparent 40%, var(--forest) 41% 44%, transparent 45%);
}
.brand span { min-width: 0; }
.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
  white-space: nowrap;
  text-transform: uppercase;
}
.brand small {
  display: block;
  color: rgba(243, 246, 239, 0.65);
  font-size: 0.75rem;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: rgba(243, 246, 239, 0.82);
}
.nav a:hover,
.nav a.is-active {
  background: var(--lime);
  color: var(--forest);
}
.nav-extra { display: none; }

.header-aside {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(200, 232, 90, 0.28);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
}
.live-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--closed);
  box-shadow: 0 0 0 4px rgba(154, 61, 44, 0.18);
}
.live-pill[data-state="open"] { border-color: rgba(200, 232, 90, 0.55); }
.live-pill[data-state="open"] .dot {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 232, 90, 0.22);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 560;
  background: none;
  color: inherit;
}
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime:hover { background: var(--lime-2); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: var(--forest-2); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(200,232,90,0.35);
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--lime);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: clamp(620px, calc(100svh - var(--header)), 860px);
  color: var(--white);
  isolation: isolate;
  display: grid;
  align-items: end;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,59,34,0.18) 0%, rgba(13,59,34,0.28) 40%, rgba(8,28,16,0.92) 100%);
}
.hero-inner {
  width: min(var(--max), 100%);
  margin: 0 auto 72px;
  padding-inline: var(--gutter) var(--gutter-end);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: end;
}
.hero-copy p { color: rgba(255,253,248,0.86); }
.hero-kicker {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(200, 232, 90, 0.16);
  border: 1px solid rgba(200, 232, 90, 0.4);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.ticket {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 20px 20px 16px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--lime);
}
.ticket .kick { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.ticket .fixture {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  font-weight: 700;
}
.ticket .fixture span { text-align: center; }
.ticket .us { color: var(--forest); }
.ticket .score {
  font-size: 1.8rem;
  color: var(--leaf);
  min-width: 3.2rem;
}
.ticket .meta { margin: 0; font-size: 0.92rem; }

.today-list { list-style: none; margin: 0; padding: 0; }
.today-list li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.today-list span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.today-list strong { font-size: 1.05rem; }
.today-list small { color: var(--muted); }

.ticker {
  background: var(--forest);
  color: var(--lime);
  overflow: hidden;
  border-block: 1px solid rgba(200,232,90,0.2);
}
.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: ticker 32s linear infinite;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 88px 0; }
.section-paper { background: var(--paper); }
.section-green {
  background: var(--forest);
  color: var(--cream);
}
.section-green p, .section-green .lead-ink { color: rgba(243,246,239,0.78); }
.section-green h2 { color: var(--cream); }
.section-green .eyebrow { color: var(--lime); }
.section-head { margin-bottom: 36px; }
.section-head p { max-width: 34rem; margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: stretch;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-copy { order: 2; }
.split-start { align-items: start; }
.frame, .photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  min-height: 420px;
}
.frame img, .photo img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.stamp {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--lime);
  color: var(--forest);
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

blockquote {
  margin: 18px 0 24px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--lime);
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--forest);
  line-height: 1.15;
  text-transform: uppercase;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.facts > div, .fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.facts strong, .fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--forest);
}
.facts span, .fact span { color: var(--muted); font-size: 0.92rem; }

.match-list { display: grid; gap: 10px; }
.match-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.match-row time, .match-row .when {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.match-row .sides {
  display: grid;
  gap: 2px;
}
.match-row .sides strong { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; }
.match-row .comp { font-size: 0.85rem; color: var(--muted); }
.score-pill {
  font-family: var(--font-display);
  font-size: 1.5rem;
  min-width: 64px;
  text-align: center;
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--forest);
  font-weight: 800;
}
.score-pill.win { background: rgba(31,138,60,.14); color: var(--win); }
.score-pill.loss { background: rgba(154,61,44,.12); color: var(--loss); }
.score-pill.draw { background: rgba(138,122,44,.14); color: var(--draw); }
.score-pill.pending { background: var(--lime); color: var(--forest); }
.score-pill.cancelled { background: var(--sand); color: var(--muted); font-size: 0.85rem; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.news-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.news-card .body { padding: 16px 18px 20px; display: grid; gap: 8px; }
.news-card time { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.news-card h3 { font-size: 1.35rem; margin: 0; }
.news-card p { margin: 0; font-size: 0.95rem; }

.squad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.player-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 4px;
}
.player-card .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--leaf);
  line-height: 1;
}
.player-card h3 { font-size: 1.15rem; margin: 0; text-transform: none; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }
.player-card .pos { font-size: 0.82rem; color: var(--muted); }
.player-card .note { font-size: 0.78rem; color: var(--leaf); font-weight: 600; }

.team-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.team-tabs a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.92rem;
}
.team-tabs a.is-active { background: var(--forest); color: var(--lime); border-color: var(--forest); }

.hours-panel, .contact-panel, .form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
.hours-table thead th { color: var(--muted); font-weight: 500; font-size: 0.8rem; }
.hours-table .is-today { background: rgba(200, 232, 90, 0.28); }
.hours-table .is-today th { font-weight: 700; }
.exceptions { margin-top: 18px; }
.exceptions ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hours-note { margin-top: 16px; font-size: 0.92rem; }

.visit-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}
.map {
  min-height: 420px;
  border: 0;
  border-radius: var(--radius);
  width: 100%;
  filter: saturate(0.9) contrast(1.02);
}
.map-cap { margin-top: 12px; }
.visit-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.page-hero { padding: 56px 0 12px; }
.crumbs {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.crumbs a { color: var(--leaf); text-decoration: none; }

.contact-meta { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.contact-meta span { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-form, .form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.92rem; }
label span, .contact-form label { color: var(--muted); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 16px;
  min-height: 44px;
}
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note[data-state="ok"] { color: var(--open); }
.form-note[data-state="error"] { color: var(--closed); }
.hint { color: var(--muted); font-size: 0.88rem; }

.board-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.board-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.board-list span { color: var(--muted); font-size: 0.88rem; }
.board-list strong { font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; }

.news-article { max-width: 46rem; }
.news-article .hero-shot {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 18px 0 28px;
}
.news-article .hero-shot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.prose { max-width: 42rem; white-space: pre-wrap; }

.legal-page { padding-top: 40px; }
.legal { max-width: 46rem; }
.legal-body { white-space: pre-wrap; }

.site-footer {
  background: var(--forest);
  color: var(--cream);
  padding: 56px 0 28px;
  margin-top: 40px;
  border-top: 6px solid var(--lime);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer a { color: var(--lime); text-decoration: none; }
.site-footer p, .site-footer li { color: rgba(243,246,239,0.78); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.brand-plain {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--cream) !important;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(200,232,90,0.15);
  padding-top: 16px;
  color: rgba(243,246,239,0.62);
  font-size: 0.88rem;
}
.footer-bottom p { color: inherit; margin: 0; }

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(13, 59, 34, 0.96);
  padding: 10px max(16px, var(--safe-right)) calc(10px + var(--safe-bottom)) max(16px, var(--safe-left));
  gap: 10px;
  box-shadow: 0 -10px 30px rgba(8, 28, 16, 0.28);
}
.mobile-cta .btn { flex: 1; min-height: 48px; }

@media (max-width: 900px) {
  :root { --header: 64px; --gutter: max(16px, var(--safe-left)); --gutter-end: max(16px, var(--safe-right)); }
  h1 { font-size: clamp(2.3rem, 12vw, 3.6rem); }
  h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .nav, .header-aside .btn, .live-pill { display: none; }
  .header-aside { margin-left: auto; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: fixed;
    inset: calc(var(--header) + var(--safe-top)) 0 0 0;
    background: var(--forest);
    flex-direction: column;
    padding: 20px max(20px, var(--safe-right)) calc(28px + var(--safe-bottom)) max(20px, var(--safe-left));
    gap: 4px;
    overflow-y: auto;
    margin: 0;
  }
  .nav.is-open { display: flex; }
  .nav a {
    font-size: 1.45rem;
    padding: 14px 10px;
    min-height: 52px;
    display: flex;
    align-items: center;
  }
  .nav-extra {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(200,232,90,0.2);
  }
  .nav-extra .live-pill { display: inline-flex; width: fit-content; }
  .nav-extra .btn { min-height: 48px; width: 100%; }
  .hero-inner, .split, .visit-grid, .form-row, .facts, .footer-grid, .news-grid, .squad-grid {
    grid-template-columns: 1fr;
  }
  .squad-grid { grid-template-columns: 1fr 1fr; }
  .match-row { grid-template-columns: 1fr auto; }
  .match-row .when { grid-column: 1 / -1; }
  .split.reverse .split-copy { order: 0; }
  .hero { min-height: 72svh; }
  .hero-inner { margin-bottom: 36px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
  .section { padding: 56px 0; }
}
