/* SRFC U10 Girls — base styles */

:root {
  --navy: #002A89;
  --navy-dark: #001a57;
  --navy-tint: #eef1fb;
  --teal: #00a99d;
  --teal-dark: #007e75;
  --gold: #ffc629;
  --ink: #1c2438;
  --ink-soft: #4a5170;
  --bg: #f5f7fb;
  --card: #ffffff;
  --border: #e2e6f0;
  --radius: 14px;
  --shadow: 0 4px 16px rgba(0, 42, 137, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 42, 137, 0.14);
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy); padding: 10px 16px;
  z-index: 999; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.crest { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: 'Poppins', sans-serif; font-size: 1.05rem; }
.brand-text small { color: #cfd8f5; font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 3px; background: #fff; border-radius: 2px; }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: #dbe2f7; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
}
.site-nav a:hover, .site-nav a:focus { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }
.site-nav a.active { background: var(--teal); color: #fff; }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; width: 100%; flex-direction: column; gap: 2px;
    padding: 10px 0 16px;
  }
  .site-nav.open { display: flex; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #123099 55%, var(--teal-dark) 130%);
  color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,198,41,0.25), transparent 70%);
}
.hero h1 { color: #fff; margin-bottom: 0.3em; }
.hero p.lead { font-size: 1.15rem; color: #dbe2f7; max-width: 620px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px;
}
.fact-pill {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 16px; border-radius: 999px; font-size: 0.92rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700;
  font-size: 0.95rem; cursor: pointer; border: 2px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: #ffd657; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }

/* Sections */
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-alt { background: #fff; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700;
  color: var(--teal-dark); margin-bottom: 8px; display: block;
}

/* Values strip */
.values-strip {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 14px;
}
.values-strip span {
  background: rgba(255,255,255,0.1); padding: 6px 14px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: #dbe2f7;
}

/* Cards */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--navy-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.4rem;
}

/* Block roadmap cards */
.block-card {
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  border: 1px solid var(--border); background: #fff; position: relative;
}
.block-card.live { border: 2px solid var(--teal); }
.block-card .status {
  display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.status-live { background: #dff7f0; color: var(--teal-dark); }
.status-soon { background: #eef1fb; color: var(--ink-soft); }

/* Week accordion (details/summary) */
.week-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 16px; box-shadow: var(--shadow); overflow: hidden;
}
.week-card summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex;
  align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap;
}
.week-card summary::-webkit-details-marker { display: none; }
.week-badge {
  background: var(--navy); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 800;
  border-radius: 10px; padding: 8px 12px; font-size: 0.85rem; white-space: nowrap;
}
.week-summary-text { flex: 1; min-width: 200px; }
.week-summary-text .date { color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; }
.week-summary-text h3 { margin: 2px 0 0; }
.chevron { transition: transform 0.2s; color: var(--teal-dark); font-size: 1.3rem; }
.week-card[open] .chevron { transform: rotate(180deg); }
.week-body { padding: 0 24px 28px; border-top: 1px solid var(--border); }
.week-body p:first-child { margin-top: 20px; }

.activity {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 20px; margin: 16px 0;
}
.activity h4 { margin: 0 0 8px; color: var(--navy); }
.activity .tag {
  display: inline-block; background: var(--teal); color: #fff; font-size: 0.72rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; border-radius: 999px;
  padding: 3px 10px; margin-bottom: 10px;
}
.activity .tag.warmup { background: var(--gold); color: var(--navy-dark); }
.activity .tag.game { background: var(--navy); }
.activity .tag.cooldown { background: var(--ink-soft); }

.diagram-wrap { background: #fff; border-radius: 10px; padding: 10px; margin: 12px 0; text-align: center; }
.diagram-wrap img { margin: 0 auto; max-height: 260px; }

.equip-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 10px 0; }
.equip-list li {
  display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}

.coach-roles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 14px 0; }
.coach-role {
  background: var(--navy-tint); border-radius: 12px; padding: 14px 16px; border-left: 4px solid var(--teal);
}
.coach-role strong { color: var(--navy); display: block; margin-bottom: 4px; }

.safety-note {
  background: #fff6e0; border: 1px solid #f3d98a; border-radius: 12px; padding: 16px 18px; margin: 18px 0;
}
.safety-note strong { color: #8a6100; }

.week-checklist {
  background: var(--navy); color: #fff; border-radius: 12px; padding: 18px 20px; margin-top: 20px;
}
.week-checklist h4 { color: #fff; margin-top: 0; }
.week-checklist ul { columns: 2; margin: 0; padding-left: 1.1em; }
@media (max-width: 480px) { .week-checklist ul { columns: 1; } }

/* Pathway cards */
.pathway-card { border-top: 6px solid var(--teal); }
.pathway-card.u11 { border-top-color: var(--gold); }
.pathway-card.u12 { border-top-color: var(--navy); }
.pathway-card dl { margin: 0; }
.pathway-card dt { font-weight: 700; color: var(--navy); margin-top: 10px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
.pathway-card dd { margin: 2px 0 0; }

/* Video embed */
.video-embed { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 16px 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Table */
table.glance { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.glance th, table.glance td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.glance th { background: var(--navy); color: #fff; font-family: 'Poppins', sans-serif; }
table.glance tr:last-child td { border-bottom: none; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #cfd8f5; padding: 36px 0 28px; margin-top: 40px; }
.footer-inner { text-align: center; }
.footer-inner p { margin: 4px 0; font-size: 0.9rem; }
.footer-links a { color: #ffd657; }

/* Skill label badges */
.skill-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.skill-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.skill-tag.primary { background: var(--navy); color: #fff; }
.skill-tag.secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.activity-goal { font-size: 0.92rem; margin: 0 0 10px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.85rem; color: var(--ink-soft); }

@media print {
  .site-header, .site-footer, .nav-toggle, .hero-actions { display: none !important; }
  .week-card { break-inside: avoid; box-shadow: none; }
  .week-card summary { display: none; }
  body { background: #fff; }
}
