/* ALTBSA — Avon Lake Travel Baseball & Softball Association */

:root {
  /* Avon Lake City Schools brand palette */
  --maroon: #862633;
  --maroon-dark: #6b1e29;
  --maroon-light: #a03040;
  --gold: #ffbf3f;
  --gold-light: #ecce8b;
  --rose-light: #e1c9cc;
  --white: #ffffff;
  --off-white: #f4f6f8;
  --gray-100: #dee2e6;
  --gray-300: #979797;
  --gray-600: #4c5257;
  --gray-800: #292929;
  --shadow: 0 4px 24px rgba(134, 38, 51, 0.12);
  --shadow-lg: 0 12px 48px rgba(134, 38, 51, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --font-body: "Mulish", system-ui, sans-serif;
  --font-display: "Mulish", system-ui, sans-serif;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--maroon);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--maroon-dark);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--maroon);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(134, 38, 51, 0.98);
  backdrop-filter: blur(8px);
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--header-height);
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.logo:hover {
  color: var(--white);
}

.logo-img {
  display: block;
  width: 52px;
  height: auto;
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 3px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-group-label {
  display: none;
}

.nav-group + .nav-group::before {
  content: "";
  width: 1px;
  height: 1.25rem;
  background: rgba(255, 191, 63, 0.35);
  margin: 0 0.15rem;
}

.nav-group-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.site-nav a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: rgba(255, 191, 63, 0.15);
  color: var(--white);
}

.site-nav a[aria-current="page"] {
  background: rgba(255, 191, 63, 0.22);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: clamp(420px, 70vh, 620px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 55%, #5a1822 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 191, 63, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.02) 40px,
      rgba(255, 255, 255, 0.02) 41px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 4rem 0;
  color: var(--white);
}

.hero-logo {
  display: block;
  width: min(280px, 70vw);
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.5rem 0.75rem;
  box-shadow: var(--shadow-lg);
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 16ch;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--maroon);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--maroon-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

/* Sections */

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: var(--off-white);
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon-light);
}

.section-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.2;
}

.section-intro {
  margin: 1rem 0 0;
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--gray-600);
}

.about-more-link {
  margin: 1rem 0 0;
}

.about-more-link a {
  font-weight: 600;
  text-decoration: none;
}

.about-more-link a:hover {
  text-decoration: underline;
}

.nonprofit-badge {
  display: inline-block;
  margin: 0.25rem 0 0;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
  background: var(--rose-light);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--gold);
  border-left: 4px solid var(--maroon);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.section-alt .info-card {
  background: var(--white);
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--maroon);
}

.info-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* Split sections */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split-content h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--maroon);
}

.split-content p {
  margin: 0 0 1rem;
  color: var(--gray-600);
}

.feature-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--gray-800);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.note {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-style: italic;
  border-left: 3px solid var(--gray-300);
  padding-left: 1rem;
  margin: 0;
}

.split-visual {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.baseball-visual {
  background:
    linear-gradient(160deg, rgba(134, 38, 51, 0.9) 0%, rgba(107, 30, 41, 0.85) 100%),
    linear-gradient(45deg, rgba(255, 191, 63, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 191, 63, 0.15) 50%, rgba(255, 191, 63, 0.15) 75%, transparent 75%);
  background-size: 100% 100%, 24px 24px;
}

.softball-visual {
  background:
    linear-gradient(160deg, rgba(134, 38, 51, 0.95) 0%, rgba(90, 24, 34, 0.9) 100%),
    radial-gradient(circle at 30% 70%, rgba(255, 191, 63, 0.35) 0%, transparent 55%);
}

.visual-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--gold);
  color: var(--maroon);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

/* Tryouts */

.tryout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tryout-card {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.tryout-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--maroon);
}

.tryout-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.highlight-card {
  border-color: var(--maroon);
  background: linear-gradient(135deg, var(--white) 0%, var(--rose-light) 100%);
}

.highlight-card .btn {
  margin-top: 1.25rem;
}

.highlight-card .doc-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.highlight-card .doc-actions-inline .btn {
  margin-top: 0;
}

/* Tryouts page */

.tryouts-hero {
  min-height: clamp(380px, 55vh, 520px);
}

.tryouts-hero h1 {
  max-width: none;
}

.tryouts-hero-sub {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.92);
}

.tryouts-hero-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 0 2rem;
}

.tryouts-date-card {
  flex: 1 1 220px;
  max-width: 320px;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 191, 63, 0.45);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.tryouts-date-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.tryouts-date-card span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.tryouts-date-card .tryouts-date-tbd {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.tryouts-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.tryouts-skill-card {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--maroon);
  box-shadow: var(--shadow);
}

.tryouts-skill-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
}

.tryouts-skill-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.tryouts-baseball-dates {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  color: var(--gray-800);
  background: linear-gradient(135deg, var(--white) 0%, var(--rose-light) 100%);
  border: 1px solid var(--maroon);
  border-left: 4px solid var(--maroon);
  border-radius: var(--radius-sm);
}

.tryouts-baseball-dates strong {
  color: var(--maroon);
}

.tryouts-time-note {
  display: block;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gray-600);
}

.tryouts-date-card .tryouts-time-note {
  display: block;
  margin-top: 0.35rem;
}

.tryouts-hero-deadline {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}

.tryouts-makeup-note--subtle {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: var(--gray-600);
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gray-300);
}

.tryouts-date-card .tryouts-time-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.tryouts-age-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 0;
}

.tryouts-age-block {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  background: var(--white);
  box-shadow: var(--shadow);
}

.tryouts-age-block--welcome {
  border-top: 4px solid var(--gold);
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.tryouts-age-block--competitive {
  border-top: 4px solid var(--maroon);
}

.tryouts-age-block h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maroon);
}

.tryouts-age-block .tryouts-age-tone {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--gray-600);
  font-style: italic;
}

.tryouts-age-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.tryouts-age-tag {
  padding: 0.4rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon);
  background: var(--rose-light);
  border-radius: 999px;
}

.tryouts-age-block--competitive .tryouts-age-tag {
  background: var(--maroon);
  color: var(--white);
}

.tryouts-age-block p:last-child {
  margin: 0;
  color: var(--gray-600);
}

.tryouts-steps {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tryouts-step {
  padding: 1.25rem;
  text-align: center;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}

.tryouts-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--maroon);
  background: var(--gold);
  border-radius: 50%;
}

.tryouts-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
}

.tryouts-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.tryouts-cta-band {
  text-align: center;
}

.tryouts-cta-band .section-intro {
  margin-inline: auto;
}

.tryouts-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.75rem 0 1.25rem;
}

.tryouts-cta-note {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.tryouts-cta-note a {
  font-weight: 600;
}

.tryouts-age-footnote {
  margin-top: 2rem;
}

.tryouts-roster-copy {
  max-width: 65ch;
}

.tryouts-bring-list {
  max-width: 28rem;
  margin: 0 auto;
}

.tryouts-night-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.tryouts-night-card {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-top: 4px solid var(--maroon);
  box-shadow: var(--shadow);
}

.tryouts-night-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--maroon);
}

.tryouts-night-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--gray-800);
}

.tryouts-night-card li + li {
  margin-top: 0.35rem;
}

.tryouts-schedule-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.75rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.tryouts-schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}

.tryouts-schedule-table th,
.tryouts-schedule-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.tryouts-schedule-table thead th {
  background: var(--maroon);
  color: var(--gold);
  font-weight: 700;
  border-bottom: none;
}

.tryouts-schedule-table tbody tr:nth-child(even) {
  background: var(--off-white);
}

.tryouts-callout {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--maroon);
  background: var(--white);
  box-shadow: var(--shadow);
}

.tryouts-callout h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--maroon);
}

.tryouts-callout p {
  margin: 0 0 0.5rem;
}

.tryouts-callout ul {
  margin: 0;
  padding-left: 1.2rem;
}

.tryouts-callout--parents {
  border-left-color: var(--gold);
  background: var(--off-white);
}

.tryouts-volunteer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.tryouts-volunteer-card {
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.tryouts-volunteer-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--maroon);
}

.tryouts-volunteer-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.tryouts-volunteer-count {
  margin-top: 0.75rem !important;
  font-size: 0.85rem !important;
  color: var(--gray-800) !important;
}

.tryouts-volunteer-note {
  margin-top: 0.5rem;
}

.tryouts-volunteer-actions {
  margin: 1.5rem 0 1rem;
  text-align: center;
}

.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;
}

@media (max-width: 768px) {
  .tryouts-steps {
    grid-template-columns: 1fr;
  }
}

/* Fields */

.fields-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fields-actions {
  margin: 2rem 0 0;
  text-align: center;
}

.tryouts-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.field-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--maroon);
}

.field-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--maroon);
}

.field-address {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--maroon-light);
}

.field-card p:last-child {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* Locations page */

.locations-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.location-site {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-top: 4px solid var(--maroon);
}

.location-site-header {
  padding: 1.5rem 1.75rem 0;
}

.location-site-header h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--maroon);
}

.location-address {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--maroon-light);
}

.location-photo {
  margin: 1.25rem 0 0;
  line-height: 0;
}

.location-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.location-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.location-body h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
}

.location-fields-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.location-fields-list li {
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: 999px;
  border: 1px solid var(--gray-200);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius-sm);
}

.location-map-title {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.locations-credit {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* FAQ page */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--gold);
}

.faq-item summary {
  padding: 1.15rem 1.5rem;
  padding-right: 2.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--maroon-dark);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-800);
}

.faq-answer p {
  margin: 0 0 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
}

.faq-answer li {
  margin-bottom: 0.4rem;
}

/* CTA */

.section-cta {
  background: var(--maroon);
  color: var(--white);
  text-align: center;
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}

.cta-inner h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.cta-inner p {
  margin: 0 auto 1.75rem;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.85);
}

.cta-inner .btn + .btn {
  margin-left: 0.75rem;
}

@media (max-width: 600px) {
  .cta-inner .btn {
    display: inline-flex;
    margin: 0.25rem;
  }
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}

.contact-info p {
  margin: 0 0 1.5rem;
  color: var(--gray-600);
}

.contact-details {
  margin: 0 0 1.5rem;
}

.contact-details div {
  margin-bottom: 1rem;
}

.contact-details dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 0.2rem;
}

.contact-details dd {
  margin: 0;
  font-size: 1rem;
  color: var(--maroon);
  font-weight: 500;
}

.contact-links h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--maroon);
}

.contact-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-links li {
  margin-bottom: 0.65rem;
}

.contact-links a {
  font-weight: 500;
}

/* Footer */

.site-footer {
  background: var(--maroon);
  color: var(--gold-light);
  padding: 1.5rem 0;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

/* Document pages */

.doc-page {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
  background: var(--off-white);
}

.doc-header {
  margin-bottom: 2rem;
  max-width: 720px;
}

.doc-header h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.2;
}

.doc-subtitle {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-600);
}

.doc-content {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.doc-content h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--maroon);
}

.doc-content h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon);
}

.doc-intro {
  margin: 0 0 1.5rem;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.bylaws-toc {
  margin: 0 0 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.bylaws-toc h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon);
}

.bylaws-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 2rem;
}

.bylaws-toc li {
  margin: 0 0 0.4rem;
  break-inside: avoid;
}

.bylaws-toc a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
}

.bylaws-toc a:hover {
  text-decoration: underline;
  color: var(--maroon-light);
}

@media (max-width: 600px) {
  .bylaws-toc ol {
    columns: 1;
  }
}

.doc-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--gray-100);
}

.doc-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.doc-section p {
  margin: 0 0 0.75rem;
  color: var(--gray-800);
}

.doc-callout {
  background: linear-gradient(135deg, var(--white) 0%, var(--rose-light) 100%);
  border: 1px solid var(--maroon);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
}

.doc-callout p {
  margin: 0;
  color: var(--gray-800);
}

.conduct-list,
.waiver-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--gray-800);
}

.conduct-list li,
.waiver-list li {
  margin-bottom: 0.6rem;
  padding-left: 0.25rem;
}

.waiver-list li {
  margin-bottom: 1rem;
}

.waiver-list li:last-child {
  margin-bottom: 0;
}

.doc-note {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--gray-600);
  font-style: italic;
}

.signature-fields {
  margin: 0;
}

.signature-row {
  margin-bottom: 1.5rem;
}

.signature-row dt {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--maroon);
}

.signature-row dd {
  margin: 0;
}

.signature-line {
  height: 2rem;
  border-bottom: 1px solid var(--gray-800);
}

.signature-line-short {
  max-width: 10rem;
}

.signature-date-label {
  margin-top: 1rem;
}

.signature-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 0;
}

.doc-btn-outline {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}

.doc-btn-outline:hover {
  background: var(--rose-light);
  border-color: var(--maroon);
  color: var(--maroon-dark);
}

.doc-nav-btn {
  margin-top: 0.75rem;
  background: transparent;
  color: var(--maroon);
  border-color: var(--gold);
}

.doc-nav-btn:hover {
  background: var(--rose-light);
  color: var(--maroon-dark);
}

/* Sponsors page */

.sponsor-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sponsor-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sponsor-logo-placeholder {
  grid-column: 1 / -1;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 2px dashed var(--gold);
  border-radius: var(--radius-sm);
  background: var(--off-white);
}

.sponsor-logo-placeholder p {
  margin: 0;
  color: var(--gray-600);
  font-style: italic;
}

.sponsor-community-heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
}

.sponsor-partner-links {
  margin: 0;
  padding-left: 1.25rem;
}

.sponsor-partner-links li {
  margin-bottom: 0.5rem;
}

.sponsor-cta-block {
  border-color: var(--maroon);
  background: linear-gradient(135deg, var(--white) 0%, var(--rose-light) 100%);
}

.sponsor-contact-details {
  margin: 1.5rem 0;
}

.sponsor-contact-details dd a {
  font-size: 1.1rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .sponsor-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* About page — Board of Directors */

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.board-card {
  background: var(--off-white);
  border: 1px solid var(--gold);
  border-top: 3px solid var(--maroon);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
}

.board-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
}

.board-name {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--gray-800);
}

.placeholder-text {
  color: var(--gray-600);
  font-style: italic;
  font-weight: 500;
}

.board-card p:last-child {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .board-grid {
    grid-template-columns: 1fr;
  }
}

/* Leagues page */

.league-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.league-grid-single {
  grid-template-columns: 1fr;
  max-width: 520px;
}

.league-card {
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  border: 1px solid var(--gold);
  border-top: 3px solid var(--maroon);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.league-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.3;
}

.league-abbr {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.league-card p:not(.league-abbr) {
  flex: 1;
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.55;
}

.league-card .btn {
  align-self: flex-start;
}

.league-card .doc-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.league-card .doc-actions-inline .btn {
  margin-top: 0;
}

.tryouts-steps-list {
  list-style: decimal;
  padding-left: 1.35rem;
}

.tryouts-steps-list li {
  margin-bottom: 0.6rem;
}

@media (max-width: 900px) {
  .league-grid {
    grid-template-columns: 1fr;
  }

  .league-grid-single {
    max-width: none;
  }
}

/* Eligibility page */

.age-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.age-group-card {
  background: var(--off-white);
  border: 1px solid var(--gold);
  border-top: 3px solid var(--maroon);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
}

.age-group-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon);
}

.age-group-list {
  margin: 0;
  font-size: 1.05rem;
  color: var(--gray-800);
  letter-spacing: 0.02em;
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.eligibility-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.eligibility-table th,
.eligibility-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--gray-100);
  vertical-align: top;
}

.eligibility-table thead th {
  background: var(--maroon);
  color: var(--gold);
  font-weight: 700;
}

.eligibility-table tbody tr:nth-child(even) {
  background: var(--off-white);
}

.eligibility-table tbody tr:hover {
  background: var(--rose-light);
}

.example-box {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.example-box h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
}

.example-box .conduct-list {
  margin-bottom: 0;
}

.eligibility-tagline {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--maroon);
}

@media (max-width: 600px) {
  .age-group-grid {
    grid-template-columns: 1fr;
  }

  .eligibility-table {
    font-size: 0.85rem;
  }

  .eligibility-table th,
  .eligibility-table td {
    padding: 0.6rem 0.75rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .doc-actions,
  .doc-note {
    display: none;
  }

  body {
    font-size: 11pt;
    line-height: 1.45;
    color: #000;
  }

  .doc-page {
    padding: 0;
    background: var(--white);
  }

  .container {
    width: 100%;
  }

  .doc-header {
    margin-bottom: 1rem;
  }

  .doc-header h1 {
    font-size: 18pt;
    color: #000;
  }

  .doc-subtitle,
  .doc-intro,
  .section-eyebrow {
    color: #000;
  }

  .doc-intro {
    margin-bottom: 0.75rem;
    font-size: 11pt;
  }

  .doc-content {
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 1rem;
  }

  .doc-content h2 {
    font-size: 14pt;
    color: #000;
    margin-bottom: 0.5rem;
  }

  .doc-section {
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    page-break-inside: avoid;
  }

  .doc-section h3 {
    font-size: 12pt;
    color: #000;
    margin-bottom: 0.35rem;
  }

  .doc-callout {
    background: none;
    border: 1px solid #000;
    page-break-inside: avoid;
  }

  .conduct-list li,
  .waiver-list li {
    margin-bottom: 0.3rem;
    color: #000;
  }

  .waiver-list li {
    page-break-inside: avoid;
  }

  .signature-block {
    page-break-inside: avoid;
  }

  .signature-block h2 {
    font-size: 14pt;
    color: #000;
  }

  .signature-row {
    margin-bottom: 1.1rem;
    page-break-inside: avoid;
  }

  .signature-row dt {
    color: #000;
  }

  .signature-line {
    height: 1.6rem;
    border-bottom-color: #000;
  }
}

@media (max-width: 600px) {
  .signature-row-split {
    grid-template-columns: 1fr;
  }
}

/* Responsive */

@media (max-width: 900px) {
  .about-grid,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-reverse {
    direction: ltr;
  }

  .fields-grid {
    grid-template-columns: 1fr;
  }

  .tryout-grid {
    grid-template-columns: 1fr;
  }

  .split-visual {
    min-height: 200px;
    order: -1;
  }
}

@media (min-width: 769px) {
  .site-nav {
    position: static;
    margin-left: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border-bottom: none;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .site-nav a {
    padding: 0.45rem 0.6rem;
    font-size: 0.82rem;
  }

  .header-cta {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  .header-cta {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 0.75rem;
  }

  .header-cta {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--maroon);
    border-bottom: 4px solid var(--gold);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-group + .nav-group {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 191, 63, 0.2);
  }

  .nav-group + .nav-group::before {
    display: none;
  }

  .nav-group-label {
    display: block;
    padding: 0.35rem 1rem 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
  }

  .nav-group-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
  }

  .logo-sub {
    display: none;
  }
}
