:root {
  --navy: #0b2e59;
  --navy-dark: #061a33;
  --red: #b22234;
  --red-dark: #861928;
  --white: #ffffff;
  --silver: #eef2f6;
  --paper: #ffffff;
  --ink: #16202d;
  --muted: #5c6875;
  --line: #d7dee7;
  --gold: #c9a227;
  --shadow: 0 18px 45px rgba(6, 26, 51, .14);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0 0 .65rem;
  color: var(--navy-dark);
  line-height: 1.12;
}
h1, h2 { font-family: "Roboto Slab", Georgia, serif; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: white;
  color: black;
  padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(11,49,93,.12);
  backdrop-filter: blur(12px);
}
.nav-shell {
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
}
.primary-nav { display: flex; align-items: center; gap: 1.2rem; }
.primary-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: .94rem;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--red); }
.nav-button {
  padding: .65rem 1rem;
  border-radius: 999px;
  color: white !important;
  background: var(--red);
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4,19,37,.94) 0%, rgba(4,19,37,.78) 45%, rgba(4,19,37,.2) 100%),
    url("assets/community-event-photo.jpeg") center/cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0;
  max-width: 760px;
  margin-left: max(1rem, calc((100vw - 1180px)/2));
}
.hero h1, .hero p { color: white; }
.hero-copy { max-width: 700px; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.eyebrow {
  margin-bottom: .5rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #ffffff; }

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.button-stack { display: grid; gap: .8rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .8rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.16); }
.button-primary { color: white; background: var(--red); }
.button-secondary { color: white; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); }
.button-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.button-light { color: var(--navy); background: white; }
.button-secondary-light { color: white; border-color: rgba(255,255,255,.8); }
.full { width: 100%; }

.section { padding: 6rem max(1rem, calc((100vw - 1180px)/2)); }
.section-heading { max-width: 780px; margin-bottom: 2.5rem; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }

.mission { background: var(--silver); }
.mission-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.mission-copy { font-size: 1.09rem; }
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.impact-grid article {
  min-height: 170px;
  padding: 1.5rem;
  background: white;
  border-left: 6px solid var(--red);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(7,31,59,.08);
}
.impact-grid strong { display: block; color: var(--navy); font-size: 1.08rem; margin-bottom: .4rem; }
.impact-grid span { color: var(--muted); }

.partnership-section { background: white; }
.partnership-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.feature-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-image { margin: 0; }
.partnership-copy > p:not(.eyebrow) { font-size: 1.05rem; }
.privacy-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  background: #eef2f6;
  border-left: 5px solid var(--navy);
  border-radius: 12px;
}
.privacy-note strong { color: var(--navy); }
.privacy-note p { margin: .4rem 0 0; }

.event-section { background: var(--navy-dark); }
.event-section h2, .event-section .section-heading > p:last-child { color: white; }
.event-grid { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(340px, 1.18fr); gap: 3rem; align-items: start; }
.flyer-card img { width: 100%; border-radius: 16px; box-shadow: 0 22px 55px rgba(0,0,0,.35); }
.event-details { color: white; }
.event-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.event-facts div {
  padding: 1.1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
}
.event-facts span { display: block; color: #d9e5f2; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.event-facts strong { display: block; margin-top: .2rem; color: white; }
.event-section .button-outline { color: white; border-color: white; }
.merch-highlight {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  background: white;
  color: var(--ink);
  border-radius: 14px;
}
.merch-highlight img { border-radius: 10px; max-height: 190px; width: 100%; object-fit: cover; }
.merch-highlight p { margin: 0; color: var(--muted); }

.partners-section { background: var(--silver); }
.partner-name-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.partner-name-grid > div {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  text-align: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(7,31,59,.07);
  font-weight: 800;
  font-size: 1.05rem;
}
.partner-logo-card img { max-height: 110px; object-fit: contain; }

.news-section { background: white; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.news-grid article {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.news-grid p { color: var(--muted); }
.news-grid a { color: var(--red); font-weight: 800; text-decoration: none; }
.news-label {
  display: inline-block;
  margin-bottom: .7rem;
  color: var(--red);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cta-section {
  padding: 4.5rem max(1rem, calc((100vw - 1180px)/2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  color: white;
  background: var(--navy);
}
.cta-section h2, .cta-section p { color: white; }
.cta-section > div:first-child { max-width: 760px; }

.site-footer {
  padding: 2rem max(1rem, calc((100vw - 1180px)/2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  color: #dce4ec;
  background: #041425;
}
.site-footer > div { display: flex; align-items: center; gap: 1rem; }
.site-footer img { width: 70px; height: 70px; object-fit: contain; border-radius: 50%; }
.site-footer p { margin: 0; }

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

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) { width: 24px; height: 2px; background: var(--navy); }
  .primary-nav {
    position: absolute;
    left: 0; right: 0; top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: .6rem .3rem; }
  .mission-grid, .partnership-grid, .event-grid { grid-template-columns: 1fr; }
  .partner-name-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 600px; background-position: 42% center; }
  .hero-content { margin-left: 1rem; }
  .cta-section { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .brand span { display: none; }
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .hero { min-height: 560px; }
  .impact-grid, .event-facts, .partner-name-grid, .news-grid { grid-template-columns: 1fr; }
  .merch-highlight { grid-template-columns: 100px 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* Sponsor and partner hierarchy */
.featured-partner {
  margin: 0 0 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  color: white;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.featured-partner h3 {
  color: white;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.featured-partner p:not(.eyebrow) {
  max-width: 820px;
}
.featured-tagline {
  margin: 1.25rem 0 0;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.featured-partner-actions {
  display: grid;
  place-items: center;
}
.local-store-badge {
  max-width: 220px;
  padding: 1rem 1.2rem;
  color: var(--navy-dark);
  background: white;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.partner-group {
  margin-top: 2.5rem;
}
.partner-group-heading {
  margin-bottom: 1.25rem;
}
.partner-group-heading h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.partner-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.partner-link-grid a {
  min-height: 155px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(7,31,59,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.partner-link-grid a:hover,
.partner-link-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 14px 30px rgba(7,31,59,.14);
}
.partner-link-grid strong {
  font-size: 1.06rem;
}
.partner-link-grid span {
  color: var(--red);
  font-size: .86rem;
  font-weight: 800;
}
.partner-logo-link img {
  max-width: 190px;
  max-height: 95px;
  object-fit: contain;
}
.community-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.community-partner-grid > div {
  padding: 1.4rem;
  background: white;
  border-left: 6px solid var(--red);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(7,31,59,.07);
}
.community-partner-grid strong,
.community-partner-grid span {
  display: block;
}
.community-partner-grid strong {
  color: var(--navy);
}
.community-partner-grid span {
  margin-top: .25rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .featured-partner {
    grid-template-columns: 1fr;
  }
  .featured-partner-actions {
    justify-items: start;
  }
  .partner-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .partner-link-grid,
  .community-partner-grid {
    grid-template-columns: 1fr;
  }
}


/* Patriotic website refinement */
.site-header {
  border-bottom: 3px solid var(--red);
}
.nav-button,
.button-primary {
  background: var(--red);
}
.nav-button:hover,
.button-primary:hover {
  background: var(--red-dark);
}
.hero {
  background:
    linear-gradient(90deg, rgba(6,26,51,.96) 0%, rgba(11,46,89,.82) 48%, rgba(11,46,89,.24) 100%),
    url("assets/community-event-photo.jpeg") center/cover no-repeat;
}
.hero .eyebrow {
  color: white;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--red) 0 33.33%, white 33.33% 66.66%, var(--navy) 66.66%);
}
.mission {
  background: var(--silver);
}
.impact-grid article {
  border-left-color: var(--red);
}
.privacy-note {
  border-left-color: var(--red);
}
.event-section {
  background:
    linear-gradient(rgba(6,26,51,.97), rgba(6,26,51,.97)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 10px);
}
.event-section .eyebrow {
  color: white;
}
.partners-section {
  background: var(--silver);
}
.news-label {
  color: var(--red);
}
.news-grid a {
  color: var(--red);
}
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-top: 5px solid var(--red);
}
.site-footer {
  border-top: 5px solid var(--red);
}

/* Official sponsor logo layout */
.featured-partner {
  margin: 0 0 2.75rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: 2rem;
  align-items: center;
  color: white;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border: 2px solid rgba(255,255,255,.18);
  border-top: 7px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.featured-partner-logo {
  display: grid;
  place-items: center;
  min-height: 290px;
  padding: 1.2rem;
  background: white;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
}
.featured-partner-logo img {
  width: 100%;
  max-height: 310px;
  object-fit: contain;
}
.featured-partner-copy h3 {
  color: white;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.featured-partner-copy .eyebrow {
  color: #d9e5f2;
}
.featured-partner-copy p {
  color: white;
}
.featured-tagline {
  margin: 1.25rem 0 0;
  color: white !important;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.featured-partner-copy .button {
  margin-top: .75rem;
}
.partner-group {
  margin-top: 2.5rem;
}
.partner-group-heading {
  margin-bottom: 1.25rem;
}
.partner-group-heading h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.partner-logo-grid a,
.partner-logo-static {
  min-height: 185px;
  padding: 1.25rem;
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(6,26,51,.08);
}
.partner-logo-grid a {
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.partner-logo-grid a:hover,
.partner-logo-grid a:focus-visible {
  transform: translateY(-3px);
  border-top-color: var(--red);
  box-shadow: 0 14px 30px rgba(6,26,51,.15);
}
.partner-logo-grid img {
  width: 100%;
  max-width: 250px;
  max-height: 135px;
  object-fit: contain;
}
.community-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.community-partner-grid > div {
  min-height: 145px;
  padding: 1.4rem;
  background: white;
  border-left: 6px solid var(--red);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(6,26,51,.08);
}
.community-partner-grid strong,
.community-partner-grid span {
  display: block;
}
.community-partner-grid strong {
  color: var(--navy);
}
.community-partner-grid span {
  margin-top: .25rem;
  color: var(--muted);
}
.community-text-card {
  display: grid;
  align-content: center;
}
.community-logo-card {
  display: grid !important;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
}
.community-logo-card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
}
.community-logo-card span {
  margin: .25rem 0 0;
}

@media (max-width: 900px) {
  .featured-partner {
    grid-template-columns: 1fr;
  }
  .partner-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .partner-logo-grid,
  .community-partner-grid {
    grid-template-columns: 1fr;
  }
  .featured-partner-logo {
    min-height: 220px;
  }
  .community-logo-card {
    grid-template-columns: 72px 1fr;
  }
  .community-logo-card img {
    width: 68px;
    height: 68px;
  }
}

.youth-section{background:#fff}
.youth-story-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:2.5rem;align-items:center}
.youth-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem}
.youth-gallery img{width:100%;height:250px;object-fit:cover;border-radius:14px;box-shadow:0 10px 26px rgba(6,26,51,.12)}
.youth-gallery img:first-child{grid-column:1/-1;height:360px}
.youth-story{padding:clamp(1.4rem,3vw,2.2rem);background:var(--silver);border-top:7px solid var(--red);border-radius:var(--radius);box-shadow:var(--shadow)}
.youth-story h3{font-family:"Roboto Slab",Georgia,serif;font-size:clamp(1.7rem,3vw,2.4rem)}
.story-date{margin-bottom:.5rem;color:var(--red);font-size:.82rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.story-note{margin-top:1.25rem;padding:1rem;background:#fff;border-left:5px solid var(--navy);border-radius:10px;color:var(--muted)}
@media(max-width:900px){.youth-story-grid{grid-template-columns:1fr}}
@media(max-width:620px){.youth-gallery{grid-template-columns:1fr}.youth-gallery img,.youth-gallery img:first-child{grid-column:auto;height:240px}}
