/* =============================================
   WHALER AC — STYLESHEET
   Design tokens → components → layout
   ============================================= */

/* ── Tokens ── */
/* Brand palette: Ink Navy #0F1F3D · Whalers Navy #1C3A6B · Harbor Blue #3866AD
   · Fog Blue #8FB3E0 · Mist #EEF2F8 · White #FFFFFF */
:root {
  --navy:        #1C3A6B; /* Whalers Navy */
  --navy-dark:   #0F1F3D; /* Ink Navy */
  --navy-mid:    #2A508C; /* Whalers Navy ↔ Harbor Blue, for subtle hover states */
  --blue:        #3866AD; /* Harbor Blue */
  --blue-light:  #8FB3E0; /* Fog Blue */
  --text:        #1C3A6B;
  --text-muted:  #51688E;
  --text-light:  #B5CCEA;
  --border:      #D9E0EA;
  --bg:          #EEF2F8; /* Mist */
  --bg-card:     #ffffff;
  --white:       #ffffff;

  /* Reserved for the primary CTA / single area of focus only — do not use for
     general accents, icons, or decoration. */
  --accent:      #c9502f;
  --accent-dark: #a8402f;

  --font-display: 'Manrope', sans-serif;
  --font-body:    'Work Sans', sans-serif;

  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ── Section typography ── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1.05;
  margin: 3rem 0 0.5rem;
}

.section-title:first-child {
  margin-top: 0;
}
.section-eyebrow + .section-title {
  margin-top: 0;
}
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.section-header-row .section-title { margin-bottom: 0; }
.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--navy);
  transition: opacity 0.15s;
}
.section-link:hover { opacity: 0.65; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 85px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  height: 64px;
  width: auto;
  display: block;
  border-radius: 6px;
}

/* Nav */
.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex;
  gap: 4px;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }

.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: '▾';
  margin-left: 4px;
  font-size: 11px;
  opacity: 0.7;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 12px 6px 6px;
  background: var(--navy-dark);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 2px;
  z-index: 20;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  display: flex;
}
.dropdown-menu a { display: block; white-space: nowrap; }

/* Cart */
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  transition: color 0.15s;
}
.cart-link[hidden] { display: none; }
.cart-link:hover { color: var(--white); }
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.cart-count[hidden] { display: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  background: linear-gradient(160deg, #c3d6f2 0%, #dbe6f6 30%, var(--bg) 70%, var(--bg) 100%);
  padding: 72px 0 48px;
}
.hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  max-width: 600px;
  height: 55%;
  background-image: url('/images/background.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 48px;
  align-items: start;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 54px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.0;
  color: var(--navy);
  margin-bottom: 18px;
}
.hero-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 340px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats */
.hero-stats-section {
  padding: 64px 0 64px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  border-radius: var(--radius);
  padding: 20px 24px;
}
.stat--plain {
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.stat--dark { background: var(--navy); }
.stat--blue { background: var(--blue); }
.stat--tag { background: transparent; border: 1.5px solid var(--navy); }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 3px;
}
.stat--plain .stat-value { color: var(--navy); }
.stat--dark .stat-value,
.stat--blue .stat-value { color: var(--white); }
.stat-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}
.stat--plain .stat-label { color: var(--text-muted); }
.stat--dark .stat-label,
.stat--blue .stat-label { color: rgba(255,255,255,0.75); }

/* Hero image */
.hero-image { width: 100%; aspect-ratio: 4/3; }
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 13px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* =============================================
   WHY SECTION
   ============================================= */
.why-section {
  background: var(--white);
  padding: 80px 0;
  text-align: center;
}
.why-section .why-split-content .section-title { text-align: left; }
.membership-section {
  background: linear-gradient(90deg, var(--bg) 0%, #7d9bc7 100%);
}
.cta-split-content .section-title,
.why-split-content .section-title { padding-bottom: 1rem; }

/* =============================================
   TRAINING SECTION
   ============================================= */
.training-section {
  background: linear-gradient(180deg, var(--bg) 0%, #e4ecf8 100%);
  padding: 80px 0;
}
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.training-card {
  background: var(--bg-card);
  border: 1px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.training-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.training-day {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.training-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.training-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   RESULTS SECTION
   ============================================= */
.results-section {
  background: var(--white);
  padding: 64px 0;
}
.results-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.results-table thead tr {
  background: var(--bg);
}
.results-table th {
  padding: 12px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.results-table td {
  padding: 14px 20px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.results-table tbody tr:last-child td { border-bottom: none; }
.results-table tbody tr:hover { background: var(--bg); }

.results-archive-section { background: var(--bg); padding-top: 48px; }
.results-archive-intro {
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.results-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.results-tab {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.results-tab:hover { color: var(--navy); border-color: var(--blue-light); }
.results-tab.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.results-tabs--months { margin-bottom: 24px; }
.results-tabs--months .results-tab { background: var(--bg); }
.results-tabs--months .results-tab.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* =============================================
   SPONSORS SECTION
   ============================================= */
.sponsors-section {
  background: var(--white);
  padding: 56px 0;
  text-align: center;
}
.sponsors-section .section-title { text-align: center; }
.sponsors-logos {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px 32px;
}
.sponsors-logos li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  .sponsors-logos { flex-wrap: wrap; }
  .sponsors-logos li { flex: 0 0 calc(50% - 16px); }
}
.sponsors-logos img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.sponsors-logos img:hover {
  filter: none;
  opacity: 1;
}
.sponsors-coming-soon {
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 14px;
}
.sponsors-coming-soon a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-newsletter {
  background: var(--navy-dark);
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-newsletter .newsletter-copy p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.newsletter-form input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--white);
  min-width: 220px;
  outline: none;
  transition: border-color 0.15s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.4); }

.footer-main {
  background: var(--navy-dark);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 220px;
  margin-bottom: 12px;
}
.footer-contact-details {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: background 0.15s;
}
.footer-social a:hover { background: rgba(255,255,255,0.2); }
.footer-nav-group h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-nav-group ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-group a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-nav-group a:hover { color: var(--white); }
.footer-schedule {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  /* Header */
  .main-nav, .site-header > .container > .btn { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 16px 24px;
  }
  .main-nav.is-open ul { flex-direction: column; gap: 4px; }
  .main-nav.is-open .dropdown-menu {
    display: flex;
    position: static;
    margin-top: 2px;
    margin-left: 12px;
    box-shadow: none;
    background: rgba(255,255,255,0.06);
  }

  /* Hero */
  .hero { padding: 48px 0 32px; }
  .hero::after { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-content { text-align: center; }
  .hero-body { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats-section { padding: 0 0 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }

  /* Grids */
  .training-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-newsletter-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  /* Section header row */
  .section-header-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px 16px; }
  .stat-value { font-size: 17px; }
}

/* ── Page Hero Section ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
  background-size: cover;
  background-position: center;
  min-height: 300px;
  max-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 3rem 1rem;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.page-hero--photo::before {
  background: rgba(4, 20, 40, 0.55);
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  max-width: 480px;
  background-image: url('/images/background.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-hero-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}

.page-hero-description {
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.6;
  font-weight: 300;
}

/* Content sections */
.content-section {
  padding: 3rem 1rem;
  background: var(--white);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.content-main {
  min-width: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.content-main > h2,
.content-main > h3 {
  margin: 3rem 0 0.5rem;
  color: var(--navy);
}

.content-main > h2:first-child,
.content-main > h3:first-child {
  margin-top: 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 2rem;
  align-items: stretch;
}

.about-intro-who p {
  margin-bottom: 1rem;
}

.about-intro-who p:last-child {
  margin-bottom: 0;
}

.about-intro-mission {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.about-intro-who h2,
.about-intro-mission h2 {
  margin: 0 0 0.5rem;
}

.about-intro-mission {
  border: 2px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.content-main ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.content-main ul li {
  margin-bottom: 0.75rem;
}

.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.info-box h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.info-box dl {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-box dt {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.info-box dd {
  margin: 0;
  color: var(--text);
}

.info-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.call-to-action {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
}

.call-to-action h3 {
  margin-bottom: 0.5rem;
}

.call-to-action p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.program-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.program-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.program-day {
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.program-location {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.program-meta {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.program-meta strong { color: var(--navy); }

.program-card .schedule-seasons {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.program-card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
}
.program-card-link:hover { opacity: 0.7; }

.program-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.program-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-align: center;
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* =============================================
   WEEKLY SCHEDULE
   ============================================= */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.schedule-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.schedule-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
}

.schedule-icon {
  font-size: 2rem;
  line-height: 1;
}

.schedule-card-header h3 {
  font-size: 1.25rem;
  margin: 0 0 0.2rem;
  color: var(--white);
}

.schedule-day {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

.schedule-location {
  margin: 1.25rem 1.5rem 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.schedule-seasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1rem;
}

.season-block {
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  position: relative;
}

.season-block + .season-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 1px;
  background: var(--border);
}

.season-block h4 {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.season-block h4 span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.season-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.season-block ul li strong {
  color: var(--navy);
}

@media (max-width: 480px) {
  .schedule-seasons {
    grid-template-columns: 1fr;
  }

  .season-block + .season-block::before {
    display: none;
  }
}

/* =============================================
   DARK INTRO SECTION (numbered steps on navy gradient)
   ============================================= */
.intro-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--blue) 100%);
  padding: 4rem 1rem;
}

.intro-section .section-eyebrow { color: var(--blue-light); }
.intro-section .section-title { color: var(--white); }
.intro-section-intro {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.step-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* =============================================
   TRAINING TOGETHER (photo + copy split)
   ============================================= */
.training-split-section {
  background: var(--white);
  padding: 5rem 1rem;
}

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

.training-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.training-split-content .section-title { margin-bottom: 1.25rem; }

.training-split-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.training-split-tagline {
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 768px) {
  .training-split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .training-split-photo { order: -1; }
}

/* =============================================
   GET STARTED CTA
   ============================================= */
.cta-section {
  background: var(--white);
  padding: 6rem 1rem;
  text-align: center;
}

.cta-section-inner {
  max-width: 600px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-section-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section--split { text-align: left; }
.cta-split-inner {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 48px;
  align-items: center;
}
.cta-split-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}
.cta-split-content .cta-section-buttons,
.why-split-content .cta-section-buttons { justify-content: flex-start; }

.cta-split-content ul,
.why-split-content ul {
  margin-bottom: 2rem;
}
.cta-split-content ul li,
.why-split-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.cta-split-content ul li + li,
.why-split-content ul li + li { margin-top: 12px; }
.cta-split-content ul li::before,
.why-split-content ul li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why-split-content ul li strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.why-split-content ul li p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.why-split-inner {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.why-split-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 860px) {
  .cta-split-inner,
  .why-split-inner { grid-template-columns: 1fr; }
  .cta-section--split { text-align: center; }
  .cta-split-content ul li,
  .why-split-content ul li { text-align: left; }
}

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

.feature-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

.committee-names {
  font-size: 1.05rem;
  color: var(--text);
}

.coming-soon {
  text-align: center;
  padding: 3rem 1rem;
}

.coming-soon h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.coming-soon p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.coming-soon .feature-list {
  max-width: 500px;
  margin: 2rem auto;
}

/* =============================================
   STORE / PRODUCTS
   ============================================= */
.store-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg);
  padding: 0;
  border: 0;
  cursor: zoom-in;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.product-price {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.product-info .btn {
  align-self: flex-start;
  margin-top: 10px;
}

/* ── Quantity stepper ── */
.quantity-box {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: fit-content;
  overflow: hidden;
}
.quantity-btn {
  width: 32px;
  background: var(--bg);
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.quantity-btn:hover {
  background: var(--blue-light);
  color: var(--white);
}
.quantity-input {
  width: 44px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  -moz-appearance: textfield;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 31, 61, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  max-width: min(600px, 100%);
  max-height: 100%;
}
.lightbox-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ── Cart toast ── */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  background: var(--navy-dark);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}
.cart-toast[hidden] { display: none; }

/* =============================================
   CART PAGE
   ============================================= */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.cart-item-price {
  font-size: 13px;
  color: var(--text-muted);
}
.cart-item-line-total {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  min-width: 70px;
  text-align: right;
}
.cart-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.cart-item-remove:hover {
  background: var(--bg);
  color: var(--accent);
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
}
.cart-empty h2 {
  color: var(--navy);
  margin-bottom: 8px;
}
.cart-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 84px;
}
.cart-summary h2 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 16px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-checkout-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.cart-continue-btn {
  width: 100%;
  justify-content: center;
}

/* =============================================
   FORMS
   ============================================= */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28, 58, 107, 0.1);
}
.form-group textarea {
  resize: vertical;
}

/* =============================================
   CHECKOUT PAGE
   ============================================= */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.checkout-layout[hidden] { display: none; }
.checkout-form-panel h2,
.checkout-summary-panel h2,
.confirmation-panel h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 16px;
}
.checkout-summary-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 84px;
}
.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.checkout-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text);
}
.checkout-line-qty {
  color: var(--text-muted);
}
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.checkout-empty {
  text-align: center;
  padding: 60px 20px;
}
.checkout-empty h2 {
  color: var(--navy);
  margin-bottom: 8px;
}
.checkout-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* =============================================
   ORDER CONFIRMATION PAGE
   ============================================= */
.confirmation-layout {
  max-width: 640px;
  margin: 0 auto;
}
.confirmation-banner {
  margin-bottom: 28px;
}
.confirmation-banner h2 {
  color: var(--navy);
  margin-bottom: 6px;
}
.confirmation-banner p {
  color: var(--text-muted);
}
.confirmation-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.banking-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}
.banking-details dt {
  color: var(--text-muted);
}
.banking-details dd {
  color: var(--navy);
  font-weight: 600;
}
.banking-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.confirmation-not-found {
  text-align: center;
  padding: 60px 20px;
}
.confirmation-not-found h2 {
  color: var(--navy);
  margin-bottom: 8px;
}
.confirmation-not-found p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* =============================================
   ADMIN
   ============================================= */
.admin-body {
  background: var(--bg);
  min-height: 100vh;
}

/* ── Login ── */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.admin-login[hidden] { display: none; }
.admin-login-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px 32px;
  text-align: center;
}
.admin-login-logo img {
  height: 48px;
  margin: 0 auto 20px;
}
.admin-login-card h1 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px;
}
.admin-login-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.admin-login-card form {
  text-align: left;
}
.admin-login-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.admin-login-error {
  color: var(--accent-dark);
  font-size: 13px;
  margin-bottom: 12px;
}
.admin-login-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ── Dashboard shell ── */
.admin-topbar {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.admin-topbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.admin-topbar-logo img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.admin-topbar-actions {
  display: flex;
  gap: 10px;
}
.admin-topbar-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.admin-topbar-actions .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.admin-body-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* ── Tabs ── */
.admin-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.admin-tab {
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.admin-tab:hover { color: var(--navy); }
.admin-tab:disabled { color: var(--text-muted); opacity: 0.55; cursor: not-allowed; }
.admin-tabs-label {
  align-self: center;
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.admin-signed-in { align-self: center; font-size: 13px; color: var(--white); }
.admin-session-error { margin-bottom: 16px; font-weight: 600; color: #b3261e; }
.admin-tab.is-active {
  color: var(--navy);
  border-bottom-color: var(--accent);
}

.admin-panel { display: none; }
.admin-panel.is-active { display: block; }

.admin-panel-header { margin-bottom: 24px; }
.admin-panel-header h2 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px;
}
.admin-note {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  line-height: 1.6;
}

/* ── Orders table ── */
.admin-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 14px 18px;
  white-space: nowrap;
}
.admin-table thead th {
  background: var(--bg);
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.admin-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.status-paid {
  background: #DEF2E4;
  color: #1E7A44;
}
.status-pending {
  background: #FCEBDD;
  color: var(--accent-dark);
}

/* ── Products ── */
.admin-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.admin-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.admin-product-image {
  aspect-ratio: 1 / 1;
  background: var(--bg);
}
.admin-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-product-info {
  padding: 16px;
}
.admin-product-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.admin-product-price {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.admin-upload-btn {
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

.admin-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.admin-photo-image {
  aspect-ratio: 16 / 9;
}

.admin-timesheet-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.admin-timesheet-status {
  font-size: 13px;
  color: var(--text-muted);
}
.admin-timesheet-issues {
  margin-bottom: 20px;
  padding: 14px 18px;
  font-size: 14px;
  color: #b3261e;
  background: var(--bg-card);
  border: 1px solid #b3261e;
  border-radius: var(--radius-sm);
}
.admin-timesheet-issues h3 {
  margin-bottom: 8px;
  font-size: 14px;
  color: inherit;
}
.admin-timesheet-issues ul {
  padding-left: 18px;
  list-style: disc;
}
.admin-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.admin-filter select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text);
  background: var(--bg-card);
}
.admin-messages {
  display: grid;
  gap: 16px;
}
.admin-message {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.admin-message.is-new { border-left-color: var(--accent); }
.admin-message-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 8px;
}
.admin-message-header h3 {
  font-size: 1rem;
  margin: 0;
}
.admin-message-date,
.admin-message-contact {
  font-size: 13px;
  color: var(--text-muted);
}
.admin-message-contact a { text-decoration: underline; }
.admin-message-subject {
  margin: 12px 0 6px;
  font-weight: 600;
}
.admin-message-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
}
.admin-message-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.admin-message-delete {
  margin-left: auto;
  background: none;
  border: none;
  color: #b3261e;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}
.admin-empty-panel {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Responsive for medium screens */
@media (max-width: 768px) {
  .page-hero {
    min-height: 250px;
    max-height: 320px;
    padding: 2rem 1rem;
  }

  .page-hero::after {
    width: 55%;
    opacity: 0.14;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .page-hero-description {
    font-size: 1rem;
  }

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

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    order: -1;
  }

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

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-summary-panel {
    position: static;
  }

  .cart-item {
    grid-template-columns: 56px 1fr auto;
    grid-template-areas:
      "image info remove"
      "qty qty total";
    row-gap: 10px;
  }
  .cart-item-image { grid-area: image; width: 56px; height: 56px; }
  .cart-item-info { grid-area: info; }
  .cart-item-remove { grid-area: remove; }
  .cart-item .quantity-box { grid-area: qty; }
  .cart-item-line-total { grid-area: total; text-align: right; }

  .admin-topbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .admin-tabs {
    overflow-x: auto;
    white-space: nowrap;
  }
  .admin-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-photos-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive for small mobile screens */
@media (max-width: 480px) {
  .page-hero {
    min-height: 200px;
    max-height: 280px;
    padding: 1.5rem 1rem;
  }

  .page-hero-title {
    font-size: 1.5rem;
  }

  .page-hero-subtitle {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .page-hero-description {
    font-size: 0.95rem;
  }

  .content-section {
    padding: 2rem 1rem;
  }

  .content-main > h2,
  .content-main > h3 {
    margin: 2rem 0 0.5rem;
  }

  .programs-grid {
    gap: 1rem;
  }

  .program-card {
    padding: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefit-card {
    padding: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .coming-soon h2 {
    font-size: 1.75rem;
  }
}

/* ── Gallery Marquee ── */
.gallery-section {
  overflow: hidden;
  background: var(--white);
  padding: 64px 0 0;
  margin-bottom: -30px;
}

.gallery-track {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.gallery-track-inner {
  display: flex;
  width: max-content;
  animation: gallery-scroll 36s linear infinite;
}

.gallery-track:hover .gallery-track-inner {
  animation-play-state: paused;
}

.gallery-item {
  flex: 0 0 auto;
  width: 260px;
  height: 180px;
  margin-right: 20px;
}

.gallery-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
}

.gallery-item-placeholder p {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   VALUES GRID
   ============================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.value-card {
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 0;
}

.value-card p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.value-card--community {
  background: var(--accent);
  color: var(--white);
}

.value-card--community h3 { color: var(--white); }

.value-card--inclusion {
  background: var(--navy);
  color: var(--white);
}

.value-card--inclusion h3 { color: var(--white); }

.value-card--growth {
  background: var(--blue);
  color: var(--white);
}

.value-card--growth h3 { color: var(--white); }

.value-card--camaraderie {
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--navy);
}

.value-card--camaraderie h3 { color: var(--navy); }

.value-card--pride {
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--blue);
}

.value-card--pride h3 { color: var(--blue); }

/* =============================================
   TIMELINE (30 Years)
   ============================================= */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
  margin: 32px 0 8px;
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
  margin-bottom: 16px;
}

/* Story path: arrow to the next card in the same row, and a drop-down arrow at the row break */
.timeline-item:not(:nth-child(4n)):not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 0;
  left: 100%;
  width: 24px;
  height: 14px;
  line-height: 14px;
  text-align: center;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  z-index: 1;
}

.timeline-item:nth-child(4n):not(:last-child)::before {
  content: "\2193";
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

.timeline-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  width: 100%;
}

.timeline-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.timeline-photo-placeholder {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  opacity: 0.85;
}

.timeline-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.timeline-card p {
  margin: 0;
  color: var(--text-light);
}

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

  .timeline-item:not(:nth-child(4n)):not(:last-child)::after {
    content: none;
  }

  .timeline-item:nth-child(4n):not(:last-child)::before {
    content: none;
  }

  .timeline-item:not(:nth-child(2n)):not(:last-child)::after {
    content: "\2192";
    position: absolute;
    top: 0;
    left: 100%;
    width: 24px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
  }

  .timeline-item:nth-child(2n):not(:last-child)::before {
    content: "\2193";
    position: absolute;
    left: 50%;
    bottom: -36px;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
  }
}

@media (max-width: 640px) {
  .timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
  }

  .timeline-item::after,
  .timeline-item::before {
    content: none !important;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6px;
    width: 0;
    border-left: 2px dashed var(--border);
  }

  .timeline-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    padding-bottom: 32px;
  }

  .timeline-item:last-child {
    padding-bottom: 0;
  }

  .timeline-marker {
    flex-shrink: 0;
    margin-bottom: 0;
    margin-top: 6px;
  }

  .timeline-photo {
    max-width: 160px;
  }
}

@media (max-width: 768px) {
  .gallery-item { width: 200px; height: 140px; margin-right: 14px; }
  .gallery-track-inner { animation-duration: 28s; }
}

@media (max-width: 480px) {
  .gallery-item { width: 160px; height: 110px; margin-right: 10px; }
  .gallery-section { padding: 28px 0 0; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
