/* Pack 578 — design tokens (Scouting America / Cub Scouts brand) */
:root {
  --blue: #003F87;
  --blue-dark: #002C5F;
  --gold: #FDC116;
  --gold-dark: #E5AC0D;
  --tan: #D6C9A8;
  --tan-dark: #C9B994;
  --tint-blue: #E7EDF6;
  --tint-gold: #FDF3D9;
  --red: #BF0000;
  --gray: #4A4A4A;
  --white: #FFFFFF;
  --rule-18: rgba(0, 63, 135, 0.18);
  --rule-20: rgba(0, 63, 135, 0.20);
  --rule-22: rgba(0, 63, 135, 0.22);
  --rule-25: rgba(0, 63, 135, 0.25);
  --font-display: Montserrat, Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--gray);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p { margin: 0; }

img { display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
}

/* Sticky header */
.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--gold);
  padding: 14px clamp(16px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header__logo {
  width: clamp(58px, 9vw, 78px);
  height: auto;
}

.site-header__pack {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.15;
}

.site-header__council {
  font-size: clamp(12px, 1.6vw, 13px);
  line-height: 1.4;
  margin-top: 3px;
}

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(11px, 1.5vw, 13px);
}

/* Badge pill */
.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.5vw, 13px);
  padding: 7px 12px;
  border-radius: 3px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: none;
  border-radius: 4px;
  min-height: 44px;
  line-height: 1.25;
}

.btn--gold-lg {
  background: var(--gold);
  color: var(--blue);
  font-size: clamp(16px, 2vw, 19px);
  padding: 18px 30px;
}
.btn--gold-lg:hover { background: var(--white); color: var(--blue); }

.btn--blue {
  background: var(--blue);
  color: var(--gold);
  font-size: clamp(14px, 1.8vw, 16px);
  padding: 14px 20px;
}
.btn--blue:hover { background: var(--blue-dark); color: var(--gold); }

.btn--blue-lg {
  background: var(--blue);
  color: var(--gold);
  font-size: clamp(14px, 1.8vw, 16px);
  padding: 16px 20px;
}
.btn--blue-lg:hover { background: var(--blue-dark); color: var(--gold); }

.btn--outline-blue {
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: clamp(14px, 1.8vw, 16px);
  padding: 14px 20px;
  background: transparent;
}
.btn--outline-blue:hover { background: var(--gold); border-color: var(--gold); color: var(--blue); }

.link-underline {
  display: inline-block;
  color: var(--white);
  font-size: clamp(15px, 1.9vw, 17px);
  text-decoration: underline;
  padding: 12px 0;
  line-height: 1.4;
}
.link-underline:hover { color: var(--gold); }

/* A — Info Night hero (recruiting) */
.hero-recruiting {
  background: var(--blue);
  padding: clamp(36px, 7vw, 84px) clamp(20px, 5vw, 56px);
}

.hero-recruiting .container {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: start;
}

.hero-recruiting h1 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(34px, 7vw, 62px);
  line-height: 1.03;
  margin-top: 18px;
  text-wrap: balance;
}

.hero-recruiting__lead {
  color: var(--white);
  font-size: clamp(17px, 2.3vw, 22px);
  line-height: 1.5;
  margin-top: 18px;
  max-width: 30em;
  text-wrap: pretty;
}

.hero-recruiting__lead strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
}

.hero-recruiting__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.hero-recruiting__cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-info-night {
  background: var(--white);
  border-top: 8px solid var(--gold);
  padding: clamp(22px, 3.5vw, 32px);
}

.card-info-night__label {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.card-info-night__datetime {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.12;
  margin-top: 12px;
}

.card-info-night__place {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.55;
  margin-top: 12px;
}

.card-cost {
  background: var(--tan);
  padding: clamp(20px, 3.2vw, 28px);
}

.card-cost__headline {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.15;
}

.card-cost__body {
  font-size: clamp(15px, 1.9vw, 16px);
  line-height: 1.6;
  margin-top: 10px;
}

/* B-hero — Family hub header */
.hero-hub {
  background: var(--blue);
  padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px);
}

.hero-hub .container {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  align-items: center;
}

.hero-hub__eyebrow { color: var(--gold); }

.hero-hub h1 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(30px, 5.6vw, 52px);
  line-height: 1.05;
  margin-top: 14px;
  text-wrap: balance;
}

.hero-hub__lead {
  color: var(--white);
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.55;
  margin-top: 16px;
  max-width: 28em;
  text-wrap: pretty;
}

.card-next-event {
  background: var(--gold);
  padding: clamp(22px, 3.5vw, 32px);
}

.card-next-event__eyebrow {
  color: var(--blue);
}

.card-next-event__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.1;
  margin-top: 10px;
}

.card-next-event__when {
  color: var(--blue);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.5;
  margin-top: 10px;
}

.card-next-event .btn { margin-top: 18px; }

/* E — Recruiting micro-link (hub only) */
.micro-link {
  background: var(--tan);
  padding: clamp(20px, 3.5vw, 30px) clamp(20px, 5vw, 56px);
}

.micro-link .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
}

.micro-link__lead {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.35;
}

.micro-link__body {
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.5;
}

.micro-link__body a { font-weight: bold; }

/* B — Forms grid */
.forms {
  background: var(--white);
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 56px);
}

.forms h2 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.1;
  text-wrap: balance;
}

.forms__subhead {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  margin-top: 12px;
  text-wrap: pretty;
}

.tile-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  margin-top: clamp(24px, 3.5vw, 36px);
}

.tile {
  display: block;
  text-decoration: none;
  padding: 22px 22px 24px;
  border-radius: 5px;
  min-height: 44px;
}

.tile__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.2;
}

.tile__body {
  font-size: clamp(14px, 1.8vw, 15px);
  line-height: 1.55;
  margin-top: 9px;
}

.tile--blue { background: var(--blue); }
.tile--blue:hover { background: var(--blue-dark); }
.tile--blue .tile__title { color: var(--gold); }
.tile--blue .tile__body { color: var(--white); }

.tile--gold { background: var(--gold); }
.tile--gold:hover { background: var(--gold-dark); }
.tile--gold .tile__title,
.tile--gold .tile__body { color: var(--blue); }

.tile--tan { background: var(--tan); }
.tile--tan:hover { background: var(--tan-dark); }
.tile--tan .tile__title { color: var(--blue); }
.tile--tan .tile__body { color: var(--gray); }

.forms__footnote {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.6;
  margin-top: 20px;
}

.forms__footnote a { color: var(--blue); font-weight: bold; }

/* C — Quick facts strip */
.quick-facts {
  background: var(--blue);
  padding: clamp(26px, 4vw, 40px) clamp(20px, 5vw, 56px);
}

.quick-facts .container {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.quick-fact {
  border-left: 5px solid var(--gold);
  padding-left: 16px;
}

.quick-fact__stat {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1;
}

.quick-fact__caption {
  color: var(--white);
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.45;
  margin-top: 6px;
}

/* D — Three panels */
.panels {
  background: var(--white);
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 56px);
}

.panels .container {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.panel {
  border-top: 6px solid var(--blue);
  padding-top: 20px;
}
.panel--gold { border-top-color: var(--gold); }
.panel--red { border-top-color: var(--red); }

.panel h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(20px, 2.6vw, 25px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.panel p {
  font-size: clamp(15px, 1.95vw, 17px);
  line-height: 1.65;
  text-wrap: pretty;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(12px, 1.55vw, 14px);
  padding: 7px 11px;
  border-radius: 3px;
  line-height: 1.3;
}

.chip--tint-blue { background: var(--tint-blue); }
.chip--tint-gold { background: var(--tint-gold); }
.chip--tan { background: var(--tan); }

/* D2 — What a year looks like */
.year {
  background: var(--white);
  padding: 0 clamp(20px, 5vw, 56px) clamp(40px, 7vw, 80px);
}

.year .container {
  border-top: 2px solid var(--rule-20);
  padding-top: clamp(32px, 5vw, 52px);
}

.year h2 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.1;
  text-wrap: balance;
}

.year__intro {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  margin-top: 12px;
  text-wrap: pretty;
}

.year-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  margin-top: clamp(24px, 3.5vw, 34px);
  align-items: stretch;
}

.year-card {
  padding: clamp(20px, 3vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.year-card--tint-blue { background: var(--tint-blue); }
.year-card--tint-gold { background: var(--tint-gold); }

.year-card__season {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(12px, 1.5vw, 13px);
}

.year-card__months {
  font-size: clamp(12px, 1.5vw, 13px);
  line-height: 1.4;
  color: var(--gray);
  margin-top: 3px;
}

.year-card__highlight {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.25;
}

.year-card__highlight-sub {
  font-size: clamp(13px, 1.65vw, 15px);
  line-height: 1.4;
  color: var(--gray);
  margin-top: 4px;
}

/* margin-top: auto pins the Camp block to the bottom so all four cards
   align their camp row regardless of how many highlights precede it */
.year-card__camp {
  margin-top: auto;
  border-top: 2px solid var(--rule-18);
  padding-top: 14px;
}

.year-card__camp-label {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(10px, 1.3vw, 11px);
  margin-bottom: 5px;
}

.year-card__camp-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(15px, 1.95vw, 17px);
  line-height: 1.25;
}

.year-card__camp-sub {
  font-size: clamp(13px, 1.65vw, 15px);
  line-height: 1.4;
  color: var(--gray);
  margin-top: 4px;
}

/* F — Meetings */
.meetings {
  background: var(--tan);
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 56px);
}

.meetings h2 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.1;
  text-wrap: balance;
}

.meetings-hero {
  margin-top: clamp(20px, 3vw, 28px);
  background: var(--blue);
  padding: clamp(24px, 4vw, 38px) clamp(22px, 3.5vw, 40px);
  display: grid;
  gap: clamp(18px, 3vw, 36px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  align-items: start;
}

.meetings-hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(11px, 1.4vw, 13px);
}

.meetings-hero__time {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1;
  margin-top: 10px;
}

.meetings-hero__place {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.15;
  margin-top: 10px;
}

.meetings-hero__detail {
  color: var(--white);
  font-size: clamp(14px, 1.85vw, 17px);
  line-height: 1.55;
  margin-top: 8px;
}

.meeting-cards {
  margin-top: clamp(16px, 2.5vw, 22px);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.meeting-card {
  background: var(--white);
  padding: 20px 22px;
}

.meeting-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(15px, 1.9vw, 17px);
}

.meeting-card__body {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.55;
  margin-top: 6px;
}

.calendar-buttons {
  margin-top: clamp(16px, 2.5vw, 22px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.calendar-buttons .btn {
  flex: 1 1 260px;
  text-align: center;
}

.parent-note {
  margin-top: clamp(24px, 3.5vw, 34px);
  border-top: 2px solid var(--rule-25);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
}

.parent-note__label {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.4;
  flex: 0 0 auto;
}

.parent-note__body {
  font-size: clamp(13px, 1.7vw, 15px);
  line-height: 1.6;
  flex: 1 1 320px;
  text-wrap: pretty;
}

/* Footer */
.site-footer {
  background: var(--blue);
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 56px);
}

.site-footer .container {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  align-items: start;
}

.site-footer__logo {
  width: clamp(120px, 20vw, 170px);
  height: auto;
}

.site-footer__tagline {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.25;
  margin-top: 20px;
}

.site-footer__col {
  color: var(--white);
  font-size: clamp(14px, 1.85vw, 16px);
  line-height: 1.7;
}

.site-footer__heading {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  margin-bottom: 10px;
}

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

/* Known adjustment from the design handoff: the sticky header costs ~70px
   of viewport on small phones; unstick it below ~600px. */
@media (max-width: 600px) {
  .site-header { position: static; }
}
