﻿:root {
  color-scheme: light;
  --ink: #192a23;
  --muted: #526358;
  --paper: #f3f3ec;
  --surface: #fffefa;
  --line: #d8dfd4;
  --bevel: #b9c7b9;
  --turf-edge: #709967;
  --turf-base: #38603d;
  --deep: #12231c;
  --forest: #1a3427;
  --moss: #315c45;
  --gold: #f0ca88;
  --wine: #8d303b;
  --gutter: clamp(16px, 4vw, 66px);
  --radius: 15px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 85px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 system-ui, sans-serif; }
a { color: var(--moss); text-underline-offset: .2em; }
a:hover { color: var(--wine); }
button, input { font: inherit; }
button, summary { cursor: pointer; }
img, video { max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.043em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.06rem, 1.8vw, 1.35rem); }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
.site-width { width: min(100% - 2 * var(--gutter), 1300px); margin-inline: auto; }
.home-skip { position: fixed; inset: .5rem auto auto .5rem; z-index: 10; padding: .7rem 1rem; background: white; transform: translateY(-160%); }
.home-skip:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--deep); color: #f2f4ed; border-bottom: 1px solid #f2f4ed22; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 15px; width: min(100% - 2 * var(--gutter), 1300px); margin-inline: auto; }
.club-brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; line-height: 1.1; }
.club-brand:hover { color: var(--gold); }
.club-brand img { width: 43px; height: 43px; object-fit: contain; }
.club-brand strong { display: block; white-space: nowrap; font-size: 1rem; }
.club-brand small { display: block; margin-top: 4px; color: #c6d7ca; font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); }
.site-header nav a { color: #e1ebe3; font-size: .89rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover { color: var(--gold); }
.site-header nav .admin-menu-link {
  justify-self: start;
  min-height: 38px;
  padding: .45em .8em;
  border-color: #e6f4e547;
  white-space: nowrap;
}
.site-header nav .admin-menu-link:hover { background: #ffffff13; }
.header-actions, .actions, .home-awards-actions, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.menu-toggle { display: none !important; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  min-height: 43px;
  padding: .53em .95em;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: .88rem;
  font-weight: 740;
  line-height: 1.25;
  text-decoration: none;
}
.button.primary { color: white; background: var(--wine); border-color: #a45059; }
.button.primary:hover { color: white; background: #732631; }
.button.secondary { color: var(--ink); background: var(--surface); border-color: var(--bevel); }
.button.secondary:hover { background: #e9efe6; }
.button:disabled { cursor: default; opacity: .53; }
.site-header :focus-visible, .hero-band :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.hero-band {
  color: #f6f5ee;
  background: linear-gradient(112deg, #142820 32%, #1b3829);
  padding-block: clamp(25px, 6svh, 66px) clamp(28px, 7svh, 74px);
  border-bottom: 4px solid #9bac95;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.3fr);
  grid-template-areas: "heading photo" "intro photo";
  column-gap: clamp(23px, 4vw, 66px);
  align-items: center;
}
.hero-heading { grid-area: heading; align-self: end; min-width: 0; container-type: inline-size; }
.eyebrow { display: flex; align-items: center; gap: .65em; margin-bottom: .75em; color: #f0ca88; font-size: .72rem; font-weight: 760; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 20px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(2.25rem, 15.8cqi, 5.25rem); font-weight: 760; letter-spacing: -.055em; line-height: 1.02; }
.hero h1 em { color: var(--gold); font-style: normal; }
.intro { color: var(--muted); }
.hero-intro { grid-area: intro; align-self: start; max-width: 38ch; margin-top: .9em; color: #d3e1d6; font-size: clamp(.98rem, 1.55vw, 1.21rem); }
.menu-toggle { color: #f5f7ee; border-color: #e6f4e547; background: #ffffff08; }
.menu-toggle:hover { color: white; background: #ffffff18; }

.team-photo {
  --pitch-line: #e9eed2a6;
  grid-area: photo;
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: clamp(17px, 3.1vw, 47px) clamp(27px, 4.4vw, 72px) clamp(13px, 2.2vw, 28px);
  border: 2px solid #7e9a78;
  border-bottom: 8px solid var(--turf-base);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(103deg, #d8d9a714 0 1px, transparent 1px 4px),
    repeating-linear-gradient(77deg, #102c1d28 0 1px, transparent 1px 3px, #bbcc830d 3px 4px, transparent 4px 7px),
    radial-gradient(ellipse at 48% 15%, #edeb903b, transparent 78%),
    repeating-linear-gradient(90deg, #31543a 0 12.5%, #426447 12.5% 25%);
  box-shadow: inset 0 1px #ffffff3a, 0 5px 13px #0003;
}
.pitch-lines { position: absolute; inset: 10px; z-index: -1; border: 1px solid var(--pitch-line); border-radius: 2px; }
.pitch-lines::before, .pitch-lines::after, .pitch-lines i, .pitch-lines i::after { position: absolute; content: ''; }
.pitch-lines::before { left: 50%; inset-block: 0; border-left: 1px solid var(--pitch-line); }
.pitch-lines::after { width: 24%; aspect-ratio: 1; top: 50%; left: 50%; border: 1px solid var(--pitch-line); border-radius: 50%; transform: translate(-50%, -50%); }
.pitch-lines i { top: 24%; bottom: 24%; width: 13%; border: 1px solid var(--pitch-line); }
.pitch-lines i:first-child { left: -1px; }
.pitch-lines i:last-child { right: -1px; }
.pitch-lines i::after { inset-block: 25%; width: 45%; border: 1px solid var(--pitch-line); }
.pitch-lines i:first-child::after { left: -1px; }
.pitch-lines i:last-child::after { right: -1px; }
.photo-frame { overflow: hidden; border: 2px solid #f6f0d9; border-bottom-width: 4px; border-radius: 7px; box-shadow: 0 4px 0 #172e2377; }
.team-photo img { display: block; width: 100%; height: auto; }
.team-photo figcaption {
  width: fit-content;
  margin: clamp(10px, 1.5vw, 22px) auto 0;
  padding: .35em .8em;
  border: 1px solid #f0ca885d;
  border-radius: 5px;
  background: #152a21;
  color: #ffd892;
  font-size: clamp(.78rem, 1.35vw, 1.13rem);
  font-weight: 810;
  letter-spacing: .13em;
  white-space: nowrap;
  text-transform: uppercase;
}
.chant-word { display: inline-block; }
@keyframes chant-bounce {
  0%, 39%, 58%, 100% { transform: translateY(0); }
  47% { transform: translateY(-5px); }
  63% { transform: translateY(-2px); }
  70% { transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .ball-reveal.is-in-view .chant-word { animation: chant-bounce 3s ease-in-out infinite; }
  .ball-reveal.is-in-view .chant-word:nth-child(2) { animation-delay: .11s; }
  .ball-reveal.is-in-view .chant-word:nth-child(3) { animation-delay: .22s; }
}

.kickoff-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.content-grid {
  position: relative;
  max-width: 820px;
  padding-bottom: clamp(24px, 5vw, 62px);
}
.kickoff-links { max-width: 820px; }
.club-section { min-width: 0; padding-block: clamp(20px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.view-inner > h2, .join-layout h2 { margin-bottom: .35em; }
.view-inner > .intro { max-width: 57ch; margin-bottom: 12px; }
.view-inner > .actions, .card .actions { margin-top: 12px; }
.card-grid { display: grid; gap: 10px; }
.status, .card p, .card address { color: var(--muted); }
.surface {
  border: 2px solid var(--turf-edge);
  border-right-color: #5e875b;
  border-bottom: 7px solid var(--turf-base);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 1px #ffffffb0, 0 3px 6px #263c2e14;
}
.card { padding: clamp(12px, 1.55vw, 22px); min-width: 0; overflow-wrap: anywhere; }
.card p, .card address { margin-top: .45em; }
.session-grid .card { border-top-width: 3px; }
.session-grid .time-label { color: var(--ink); font-weight: 800; font-size: clamp(.91rem, 1.45vw, 1.19rem); }
.event-card time { display: block; margin-bottom: .45em; color: var(--moss); font-size: .82rem; font-weight: 760; }
.faq-card details + details { margin-top: .65em; padding-top: .65em; border-top: 1px solid var(--line); }
summary { font-weight: 680; }
.club-disclosure > summary {
  display: block;
  padding: clamp(14px, 2.6vw, 23px);
  list-style: none;
}
.club-disclosure > summary::-webkit-details-marker { display: none; }
.club-disclosure > summary:hover { color: var(--wine); }
.fold-label { display: block; margin-top: 5px; color: var(--muted); font-size: .9rem; }
.close-label, .club-disclosure[open] .view-label { display: none; }
.club-disclosure[open] .close-label { display: inline; }
.soccer-ball {
  position: relative;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid #37473e;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 18% 19%, #25342d 14%, transparent 16%),
    radial-gradient(ellipse at 87% 28%, #25342d 13%, transparent 15%),
    radial-gradient(ellipse at 87% 75%, #25342d 14%, transparent 16%),
    radial-gradient(ellipse at 33% 94%, #25342d 16%, transparent 18%),
    radial-gradient(circle at 38% 34%, #fff 35%, #d6ddd5 75%);
  box-shadow: 0 2px 2px #22352b29;
}
.soccer-ball::before {
  content: '';
  position: absolute;
  inset: 28%;
  background: #25342d;
  clip-path: polygon(50% 0, 100% 35%, 82% 100%, 18% 100%, 0 35%);
}
.ball-reveal { display: inline-block; position: relative; }
.reveal-text { display: block; }
.title-ball {
  opacity: 0;
  position: absolute;
  inset: 50% auto auto 0;
  width: clamp(18px, .8em, 27px);
  pointer-events: none;
}
@keyframes reveal-title {
  0%, 4% { clip-path: inset(0 100% 0 0); }
  34%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes roll-across-title {
  0% { left: 0; opacity: 0; transform: translate(-45%, -50%) rotate(0); }
  4% { left: 0; opacity: 1; transform: translate(-45%, -50%) rotate(0); }
  34% { left: 100%; opacity: 1; transform: translate(-45%, -50%) rotate(540deg); }
  39%, 100% { left: 100%; opacity: 0; transform: translate(-45%, -50%) rotate(565deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .ball-reveal.is-in-view .reveal-text { animation: reveal-title 3s ease-in-out infinite; }
  .ball-reveal.is-in-view .title-ball { animation: roll-across-title 3s ease-in-out infinite; }
}
.disclosure-body { border-top: 1px solid var(--line); padding: clamp(12px, 2.5vw, 22px); }
@keyframes open-fold {
  from { opacity: .25; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}
.club-story {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  padding: clamp(18px, 4vw, 36px);
  border-color: #719866 #4e794c var(--turf-base) #719866;
  border-bottom-width: 9px;
  box-shadow: inset 0 1px #b2d0ad45, 0 4px 8px #263c2e20;
  background: linear-gradient(126deg, #254637, #1a3026 76%);
  color: #f6f5ee;
}
.club-story::after {
  content: '';
  position: absolute;
  right: -66px;
  top: -72px;
  width: clamp(165px, 32vw, 290px);
  aspect-ratio: 1;
  border: 1px solid #b9d7bf35;
  border-radius: 50%;
  background: radial-gradient(circle, #b9d7bf35 2px, transparent 3px),
    linear-gradient(#b9d7bf35, #b9d7bf35) center / 100% 1px no-repeat;
  z-index: -1;
  pointer-events: none;
}
.club-story h2 { margin-bottom: .45em; }
.club-story .intro, .club-values p { color: #dbe7dd; }
.club-values { margin-block: 18px; border-block: 1px solid #b9d7bf40; }
.club-values > div { padding-block: 12px; }
.club-values > div + div { border-top: 1px solid #b9d7bf40; }
.club-values h3 { color: var(--gold); }
.club-values p { margin-top: 5px; }
.club-story :focus-visible { outline-color: var(--gold); }
@keyframes story-rise {
  from { transform: translateY(10px); opacity: .75; }
  to { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .club-disclosure[open] .disclosure-body { animation: open-fold .27s ease-out both; }
  .club-story.is-in-view { animation: story-rise .45s ease-out both; }
}
.event-card h4 { margin: 0; font-size: 1.05rem; }
.pitch-map { width: 100%; height: clamp(175px, 23vw, 255px); border: 1px solid var(--bevel); border-radius: var(--radius); }
#leadership-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
.leader-card { display: grid; align-content: start; gap: 11px; padding: 8px; }
.leader-card > div { padding: 1px 4px 7px; }
.leader-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  max-height: 250px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 8px;
  background: #e5ede3;
  color: var(--moss);
  font-size: 2rem;
  font-weight: 750;
}
@media (max-width: 540px) {
  #leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.gallery-frame { overflow: hidden; }
.media-stage { display: grid; place-items: center; min-width: 0; background: #1a3227; }
.media-stage img, .media-stage video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 330px; object-fit: contain; }
.media-error { padding: 16px; color: white; }
.gallery-frame figcaption { padding: 9px 14px; font-size: .86rem; color: var(--muted); overflow-wrap: anywhere; }
.business-card { display: grid; gap: 14px; }
.business-photos { min-width: 0; }
.business-photos .media-stage { overflow: hidden; border-radius: 8px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.pager span { min-width: 3ch; color: var(--muted); font-size: .85rem; font-weight: 650; text-align: center; }
.join-layout .intro { margin-bottom: .65em; }
.join-form { display: grid; gap: 6px; }
.join-form label { font-weight: 680; font-size: .88rem; }
.join-form input { width: 100%; min-height: 42px; border: 1px solid var(--bevel); border-radius: 7px; background: #fbfcf9; color: var(--ink); padding: .45em .65em; }
.join-form label:not(:first-of-type) { margin-top: 3px; }
.join-form button { justify-self: start; margin-top: 5px; }
#join-status[data-state="error"] { color: var(--wine); }

.site-footer { padding-block: 17px max(17px, env(safe-area-inset-bottom)); background: var(--deep); color: #dae5dc; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.footer-links { gap: 15px; }
.footer-links a { color: #dae5dc; font-size: .83rem; }
.home-awards-actions {
  position: fixed;
  z-index: 4;
  inset: auto max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) auto;
  gap: 7px;
}
.home-awards-actions:has(.vote-ball.is-positioned) { z-index: 6; }
.home-awards-actions .nomination-link {
  background: var(--deep);
  color: #ffe8b2;
  border: 1px solid #b6a178;
  border-radius: 7px;
  padding: 6px 9px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
}
.home-awards-actions .nomination-link:hover { background: #604b32; }
.vote-ball-slot, .vote-ball {
  width: clamp(74px, 8vw, 88px);
  aspect-ratio: 1;
}
.vote-ball {
  display: grid;
  border-radius: 50%;
  touch-action: none;
  user-select: none;
  cursor: grab;
  text-decoration: none;
  text-align: center;
}
.vote-ball.is-positioned { position: fixed; }
.vote-ball.is-dragging { cursor: grabbing; }
.vote-ball-face {
  display: grid;
  place-items: center;
  width: 100%;
  box-shadow: 0 3px 7px #17251e45;
}
.vote-ball-label {
  position: relative;
  max-width: 86%;
  padding: 4px 6px;
  border-radius: 6px;
  background: var(--deep);
  color: #ffe8b2;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.14;
}
.vote-ball:hover .vote-ball-label { background: var(--moss); color: white; }
.vote-ball-help {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
@keyframes vote-ball-bounce {
  0%, 14%, 27%, 100% { transform: translateY(0); }
  7% { transform: translateY(-14px); }
  21% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: no-preference) {
  .vote-ball-face { animation: vote-ball-bounce 3s ease-in-out infinite; }
  .vote-ball:active .vote-ball-face, .vote-ball.is-dragging .vote-ball-face { animation-play-state: paused; }
}
.site-footer:has(.home-awards-actions) { padding-bottom: max(65px, calc(52px + env(safe-area-inset-bottom))); }
.site-footer:has(.vote-ball) { padding-bottom: max(111px, calc(99px + env(safe-area-inset-bottom))); }

.sideline { display: none; }
@keyframes sideline-bounce {
  0%, 55%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-27px) rotate(var(--ball-spin)); }
  72% { transform: translateY(-8px) rotate(calc(var(--ball-spin) / 2)); }
}
@media (min-width: 1120px) {
  .sideline {
    display: grid;
    place-items: center;
    position: absolute;
    top: 70px;
    width: clamp(65px, 9vw, 124px);
    aspect-ratio: 1;
    pointer-events: none;
  }
  .sideline::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid currentColor;
    color: #a5baa7;
    opacity: .5;
  }
  .sideline-left {
    right: calc(100% + 24px);
    --ball-spin: -26deg;
  }
  .sideline-left::before {
    border-radius: 50%;
    background: radial-gradient(circle, currentColor 2px, transparent 3px), linear-gradient(90deg, transparent calc(50% - .5px), currentColor 50%, transparent calc(50% + .5px));
  }
  .sideline-right {
    left: calc(100% + 24px);
    --ball-spin: 26deg;
  }
  .sideline-right::before {
    background: linear-gradient(currentColor, currentColor) center top / 46% 1px no-repeat,
      linear-gradient(currentColor, currentColor) 27% top / 1px 43% no-repeat,
      linear-gradient(currentColor, currentColor) 73% top / 1px 43% no-repeat,
      linear-gradient(currentColor, currentColor) center 43% / 46% 1px no-repeat;
  }
  .sideline .soccer-ball { width: clamp(37px, 4.4vw, 61px); }
}
@media (min-width: 1120px) and (prefers-reduced-motion: no-preference) {
  .sideline.is-in-view .soccer-ball { animation: sideline-bounce 1.4s ease-in-out 3; }
  .sideline-right.is-in-view .soccer-ball { animation-delay: .22s; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 62px; flex-wrap: wrap; }
  .club-brand img { width: 35px; height: 35px; }
  .site-header nav { flex-wrap: wrap; padding-bottom: 10px; }
  .has-club-menu .header-inner { flex-wrap: nowrap; }
  .has-club-menu .menu-toggle { display: inline-flex !important; }
  .has-club-menu .site-header nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--deep); padding: 10px var(--gutter); border-bottom: 1px solid #647d6c; }
  .has-club-menu .site-header nav.menu-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 8px; }
  .site-header nav a { padding: 8px 2px; }
  .header-actions { flex-wrap: nowrap; }
  .header-actions .button { white-space: nowrap; }
  .hero { column-gap: clamp(14px, 3vw, 26px); }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 74px; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "heading" "photo" "intro"; gap: 13px; }
  .hero h1 { font-size: clamp(2.55rem, 11.4cqi, 4.75rem); }
  .hero-band { padding-block: clamp(18px, 4svh, 32px); }
  .hero-intro { margin-top: 0; }
  .team-photo { padding-block: 16px 12px; padding-inline: clamp(27px, 8vw, 52px); }
  .pitch-lines { inset: 7px; }
  .view-inner > h2 { margin-bottom: .32em; }
  .club-section { padding-block: 20px; }
  .business-card { gap: 10px; }
}
@media (max-width: 390px) {
  .header-inner { gap: 6px; }
  .header-actions { gap: 4px; }
  .header-actions .button { font-size: .77rem; padding-inline: .56em; min-height: 37px; }
  .club-brand { gap: 5px; }
  .club-brand strong { font-size: .85rem; }
  .club-brand img { width: 29px; height: 29px; }
}
@media (max-height: 490px) and (min-width: 500px) {
  .hero { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "heading photo" "intro photo"; row-gap: 0; }
  .hero-band { padding-block: 12px 15px; }
  .hero h1 { font-size: clamp(2.05rem, 13cqi, 3rem); }
  .hero-intro { margin-top: 8px; }
  .team-photo { padding: 13px 26px 10px; }
  .team-photo img { max-height: 41svh; object-fit: contain; }
}
