/* Premium grassroots soccer — design tokens */
:root {
  --bg: #0a0f0c;
  --bg-elevated: #121a15;
  --surface: #162018;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eee9;
  --text-muted: #9aaa9e;
  --accent: #3dd68c;
  --accent-dim: #2a8f5e;
  --accent-glow: rgba(61, 214, 140, 0.25);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 72px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 15, 12, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.header-phone {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover,
.header-phone:focus-visible {
  color: var(--text);
}

@media (max-width: 768px) {
  .header-phone {
    margin-left: auto;
    margin-right: 0.5rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, var(--accent), var(--accent-dim));
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
}

.logo-mark.logo-mark-initials {
  width: auto;
  min-width: 40px;
  padding: 0 0.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.2vw, 1.3rem);
  letter-spacing: 0.05em;
  line-height: 1.05;
}

.logo-text abbr {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-btn::after {
  content: "";
  border: 4px solid transparent;
  border-top-color: currentColor;
  margin-top: 0.2em;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn:focus-visible,
.nav-dropdown.is-open .nav-dropdown-btn {
  color: var(--text);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0.35rem 0 0;
  padding: 0.35rem 0;
  min-width: 11rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  z-index: 60;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--text);
  background: rgba(61, 214, 140, 0.08);
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg) !important;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  filter: brightness(1.08);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--border);
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav-dropdown {
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown-btn {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0;
  }

  .nav-dropdown-menu {
    position: static;
    margin: 0 0 0.5rem;
    box-shadow: none;
    border: none;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 0;
  }

  .nav-dropdown:not(.is-open) .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 0.65rem 0 0.65rem 1rem;
    border-left: 2px solid var(--accent);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.75rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--accent-glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(42, 143, 94, 0.2), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
  max-width: 22ch;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 32px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.btn-on-dark {
  box-shadow: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

.hero-stats dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.hero-stats dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-stats a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.hero-stats a:hover,
.hero-stats a:focus-visible {
  text-decoration: underline;
}

/* Sections */
.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--bg-elevated);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.container.narrow {
  max-width: 640px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}

.section-intro {
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  font-size: 1.1rem;
}

.section-intro.center {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Split + timeline */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split-text p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--border);
  padding-left: 1.75rem;
}

.timeline li {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 0.25rem;
}

.timeline li:last-child {
  margin-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 5px);
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--accent);
}

.timeline-step {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.timeline strong {
  display: block;
  margin-bottom: 0.25rem;
}

.timeline span:last-child {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--surface);
  font-weight: 600;
  color: var(--text);
}

.data-table td {
  color: var(--text-muted);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background: rgba(61, 214, 140, 0.04);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--accent-dim) 0%, #0d2818 50%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .cta-inner {
    grid-template-columns: 1fr;
  }
}

.cta-band h2 {
  color: var(--text);
}

.cta-band p {
  color: rgba(232, 238, 233, 0.88);
  margin: 0;
}

.cta-dates {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.date-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--text);
}

.date-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.date-list li:last-child {
  border-bottom: none;
}

.date-list time {
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.35rem;
}

/* Form */
.contact-form {
  margin-top: 1rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 540px) {
  .form-row.two {
    grid-template-columns: 1fr;
  }
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

/* Footer */
.site-footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links-primary {
  margin-bottom: 0.75rem;
}

.footer-hours {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Feature image (about) */
.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .split-reverse {
    direction: ltr;
  }
}

.feature-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.feature-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.feature-figure figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.checklist-tight li {
  margin-bottom: 0.5rem;
}

.h3-section {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  text-align: center;
}

.container-after-cards {
  margin-top: 3rem;
}

.section-cta-wrap {
  text-align: center;
  margin: 2rem 0 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  outline: none;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.testimonial {
  margin: 0;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial p {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  flex: 1;
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.testimonial-meta {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-dim), var(--accent));
  color: var(--bg);
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}

/* Contact block */
.contact-direct {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.contact-direct a {
  color: var(--accent);
  text-decoration: none;
}

.contact-direct a:hover,
.contact-direct a:focus-visible {
  text-decoration: underline;
}

.contact-sep {
  margin: 0 0.5rem;
  color: var(--text-muted);
  font-weight: 400;
}

.contact-hours {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .site-nav-list {
    gap: 0.25rem 0.85rem;
  }

  .site-nav a,
  .nav-dropdown-btn {
    font-size: 0.88rem;
  }
}
