:root {
  --ink: #071b36;
  --muted: #475b76;
  --paper: #ffffff;
  --surface: #f2f7fc;
  --surface-strong: #dceaf8;
  --line: #bed0e4;
  --blue: #006ddf;
  --blue-2: #2f8ff0;
  --blue-dark: #003982;
  --gold: #ffe627;
  --gold-deep: #d5b800;
  --red: #ed3f23;
  --teal: #00b8a3;
  --focus: #006ddf;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-200%);
  background: var(--ink);
  color: white;
  padding: 0.65rem 0.9rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-wrap,
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--gold);
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 650;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-strong);
}

.button,
button {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 7px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1rem;
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  background: white;
  color: var(--blue);
  border-color: var(--blue);
}

.button:hover,
button:hover {
  background: var(--red);
  color: white;
}

.button.secondary:hover {
  border-color: var(--red);
}

.hero .button.secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.hero {
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(0, 31, 78, 0.92) 0%, rgba(0, 57, 130, 0.8) 44%, rgba(0, 109, 223, 0.18) 100%),
    url("/assets/scouting-field.svg") center / cover no-repeat;
  color: white;
}

.home-hero {
  min-height: min(720px, calc(100vh - 76px));
}

.hero .container {
  padding: 7rem 0 4.5rem;
}

.kicker {
  color: var(--gold);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 1rem;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 720px;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.section-band {
  padding: 4.5rem 0;
}

.section-band.alt {
  background: var(--surface);
}

.intro-grid,
.split-feature,
.news-events-grid,
.safety-grid {
  display: grid;
  align-items: center;
  gap: 2rem;
}

.intro-grid,
.split-feature,
.safety-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.highlight-panel {
  background: var(--blue);
  color: white;
  border-top: 8px solid var(--gold);
  border-radius: 8px;
  padding: 2rem;
}

.highlight-panel .button {
  background: var(--gold);
  color: var(--blue-dark);
}

.skills-band {
  background: var(--blue-dark);
  color: white;
}

.skills-band .lead,
.skills-band .notice {
  color: #d8e8df;
}

.skills-band .card {
  background: white;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.16);
}

.skills-band .chip {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--blue-dark);
}

.parents-band,
.involvement-band {
  background: var(--surface);
}

.feature-image {
  min-height: 320px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 109, 223, 0.03), rgba(0, 57, 130, 0.36)),
    url("/assets/scouting-field.svg") center / cover no-repeat;
  box-shadow: 0 18px 36px rgba(0, 57, 130, 0.18);
}

.feature-image-alt {
  background-position: 68% center;
}

.news-events-band {
  background: white;
}

.news-events-grid {
  align-items: start;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.section-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading-row a {
  font-weight: 850;
  white-space: nowrap;
}

.stack {
  display: grid;
  gap: 0.85rem;
}

.stack .card {
  padding: 1rem 1.1rem;
}

.event-list {
  display: grid;
  gap: 0.85rem;
}

.event-item {
  border-left: 6px solid var(--gold);
  background: var(--surface);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.1rem;
}

.event-item h3 {
  margin-bottom: 0.45rem;
}

.event-date {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 850;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.impact-band {
  background: var(--surface-strong);
}

.impact-card {
  background: white;
  border-radius: 8px;
  border-top: 8px solid var(--gold);
  padding: 1.4rem;
}

.impact-card:nth-child(2) {
  border-top-color: var(--teal);
}

.impact-card:nth-child(3) {
  border-top-color: var(--red);
}

.safety-strip {
  background: var(--blue);
  color: white;
  padding: 3rem 0;
}

.safety-strip .kicker {
  color: var(--gold);
}

.safety-strip p {
  color: #d8e8df;
}

.safety-strip .button {
  justify-self: end;
  background: var(--gold);
  color: var(--blue-dark);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
}

.card > :last-child {
  margin-bottom: 0;
}

.age {
  display: inline-flex;
  margin-bottom: 0.65rem;
  background: var(--surface-strong);
  color: var(--blue);
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 0.35rem 0.75rem;
  font-weight: 750;
}

.callout {
  border-left: 6px solid var(--red);
  background: #fff3ed;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
}

.cta-panel {
  background: var(--blue);
  color: white;
  padding: 2rem;
  border-radius: 8px;
}

.cta-panel a {
  color: white;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid #b8c9dc;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0.65rem 0.75rem;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.notice {
  color: var(--muted);
  font-size: 0.95rem;
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card a {
  margin-top: auto;
}

.news-date {
  color: var(--red);
  font-size: 0.94rem;
  font-weight: 850;
  margin: 0 0 0.5rem;
}

.page-hero {
  background: var(--blue-dark);
  color: white;
  padding: 4.8rem 0 3.5rem;
}

.page-hero p {
  max-width: 760px;
}

.meta-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  padding-left: 1.1rem;
  position: relative;
}

.meta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.site-footer {
  background: var(--blue-dark);
  color: white;
  padding: 2.5rem 0;
}

.site-footer a {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 860px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .grid.two,
  .grid.three,
  .grid.five,
  .intro-grid,
  .split-feature,
  .news-events-grid,
  .safety-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 660px;
    background:
      linear-gradient(180deg, rgba(0, 31, 78, 0.92) 0%, rgba(0, 57, 130, 0.72) 54%, rgba(0, 109, 223, 0.3) 100%),
      url("/assets/scouting-field.svg") center / cover no-repeat;
  }

  .section-heading-row {
    display: block;
  }

  .safety-strip .button {
    justify-self: start;
  }

  .section-band {
    padding: 3rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
