:root {
  --bg: #f5f5f3;
  --surface: #ffffff;
  --text: #1a1d20;
  --muted: #606a73;
  --line: #dddeda;
  --blue: #1d5ea7;
  --blue-deep: #153f6d;
  --gold: #f0cb1f;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  --header-bg: rgba(245, 245, 243, 0.96);
  --subheader-bg: #e2e2df;
  --button-secondary-border: rgba(255, 255, 255, 0.4);
  --button-secondary-bg: rgba(255, 255, 255, 0.12);
  --button-secondary-text: #ffffff;
  --hero-overlay-top: rgba(14, 16, 19, 0.22);
  --hero-overlay-bottom: rgba(14, 16, 19, 0.48);
  --hero-subtext: rgba(255, 255, 255, 0.9);
  --announcement-link: var(--blue-deep);
  --quote-top: rgba(21, 63, 109, 0.98);
  --quote-bottom: rgba(29, 94, 167, 0.92);
  --quote-accent: rgba(240, 203, 31, 0.18);
}

:root[data-theme="dark"] {
  --bg: #0e131a;
  --surface: #151c25;
  --text: #edf2f7;
  --muted: #b4bfca;
  --line: #2c3742;
  --blue: #5b9ff0;
  --blue-deep: #8dbdff;
  --gold: #f0cb1f;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(11, 15, 21, 0.94);
  --subheader-bg: #121922;
  --button-secondary-border: rgba(255, 255, 255, 0.22);
  --button-secondary-bg: rgba(11, 15, 21, 0.28);
  --button-secondary-text: #f3f7fb;
  --hero-overlay-top: rgba(4, 6, 10, 0.42);
  --hero-overlay-bottom: rgba(4, 6, 10, 0.72);
  --hero-subtext: rgba(237, 242, 247, 0.86);
  --announcement-link: var(--gold);
  --quote-top: rgba(9, 35, 63, 0.98);
  --quote-bottom: rgba(24, 67, 114, 0.94);
  --quote-accent: rgba(240, 203, 31, 0.12);
}

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

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", sans-serif;
  background: var(--bg);
  transition: background 180ms ease, color 180ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.subheader-bar {
  background: var(--subheader-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.subheader-inner,
.site-nav {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.subheader-inner {
  display: none;
}

.site-nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
  min-height: 3rem;
}

.site-nav a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a.is-active {
  position: relative;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: var(--gold);
}

.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  font-size: 0.78rem;
  line-height: 1;
}

.theme-toggle-track {
  position: relative;
  width: 2.35rem;
  height: 1.3rem;
  border-radius: 999px;
  background: #b9c0c8;
  transition: background 180ms ease;
}

.theme-toggle-thumb {
  position: absolute;
  top: 0.14rem;
  left: 0.14rem;
  width: 1.02rem;
  height: 1.02rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease;
}

.theme-toggle.is-dark .theme-toggle-track {
  background: var(--blue);
}

.theme-toggle.is-dark .theme-toggle-thumb {
  transform: translateX(1.05rem);
}

.theme-toggle-label {
  min-width: 2.45rem;
  text-align: right;
}

.menu-toggle {
  display: none;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  font-size: 1.55rem;
  line-height: 1;
}

.hero {
  min-height: 78vh;
  background:
    linear-gradient(180deg, var(--hero-overlay-top), var(--hero-overlay-bottom)),
    url("./assets/background-emblem.jpg") center center / cover no-repeat,
    linear-gradient(135deg, #dce1e7, #f4f4f2);
}

.hero-overlay {
  min-height: 78vh;
  display: grid;
  align-items: center;
}

.hero-content {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0 5rem;
  color: #fff;
  text-align: center;
}

.page-hero {
  min-height: 24rem;
}

.page-hero .hero-overlay {
  min-height: 24rem;
}

.page-hero .hero-content {
  padding: 5rem 0 4rem;
}

.page-hero h1 {
  max-width: none;
}

.page-hero .hero-subtext {
  max-width: 46rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.5rem, 9vw, 6.8rem);
  max-width: 11ch;
  margin: 0 auto;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 14ch;
}

h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

p {
  margin: 0;
  line-height: 1.7;
}

.hero-tagline {
  margin: 1rem auto 0;
  max-width: 38rem;
  font-size: 1.35rem;
}

.hero-subtext {
  margin: 1rem auto 0;
  max-width: 44rem;
  font-size: 1.04rem;
  color: var(--hero-subtext);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #1e1800;
}

.button-secondary {
  border: 1px solid var(--button-secondary-border);
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
}

.announcement-strip {
  width: min(1180px, calc(100% - 2rem));
  margin: -28px auto 0;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.announcement-strip a {
  font-weight: 700;
  color: var(--announcement-link);
}

.content-section,
.card-grid-section,
.newsletter-section,
.site-footer,
.footer-bottom,
.page-content {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-content {
  padding: 4rem 0 0;
}

.content-section {
  padding: 5rem 0 0;
}

.intro-section,
.involved-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.section-copy {
  display: grid;
  gap: 1rem;
}

.section-copy.narrow {
  max-width: 52rem;
}

.eyebrow,
.footer-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.text-link {
  font-weight: 700;
  color: var(--blue-deep);
}

.section-media img {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  object-fit: contain;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-panel,
.quote-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-panel {
  padding: 1.5rem;
}

.detail-line {
  font-weight: 600;
  color: var(--muted);
}

.card-grid-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 5rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.info-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(100%) contrast(0.85);
}

.info-card-body {
  padding: 1.35rem;
  display: grid;
  gap: 0.7rem;
}

.beliefs-section {
  display: block;
}

.content-stack {
  display: grid;
  gap: 1.25rem;
}

.content-stack.narrow {
  max-width: 52rem;
  margin: 0 auto;
}

.content-panel {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.content-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.7;
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.75rem;
  background:
    linear-gradient(135deg, var(--quote-top), var(--quote-bottom)),
    linear-gradient(90deg, var(--quote-accent), transparent);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-item {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quote-panel {
  padding: 2rem;
  background:
    linear-gradient(135deg, var(--quote-top), var(--quote-bottom)),
    linear-gradient(90deg, var(--quote-accent), transparent);
  color: #fff;
}

.quote-panel p {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.newsletter-section {
  padding: 5rem 0 0;
}

.newsletter-inner {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}

.newsletter-inner h2 {
  max-width: 16ch;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 1.5rem;
  padding: 3rem 0 1.25rem;
}

.footer-column {
  display: grid;
  gap: 0.35rem;
}

.footer-column h3 {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  padding: 0 0 2rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .intro-section,
  .involved-section,
  .split-section,
  .card-grid-section,
  .site-footer,
  .three-up,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .section-media img {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 1rem, 1180px);
    padding: 0.75rem 0;
    gap: 0.75rem;
  }

  .brand {
    width: auto;
    max-width: calc(100% - 8rem);
    min-width: 0;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .header-controls {
    margin-left: 0;
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  .theme-toggle {
    padding: 0;
    font-size: 0.74rem;
  }

  .theme-toggle-track {
    width: 2.1rem;
    height: 1.18rem;
  }

  .theme-toggle-thumb {
    width: 0.9rem;
    height: 0.9rem;
  }

  .theme-toggle.is-dark .theme-toggle-thumb {
    transform: translateX(0.9rem);
  }

  .theme-toggle-label {
    min-width: 2.2rem;
  }

  .subheader-inner {
    display: flex;
    align-items: center;
    width: min(100% - 1rem, 1180px);
    min-height: 3.15rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    margin: 0;
  }

  .site-nav {
    display: none;
    width: min(100% - 1rem, 1180px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0 0 0.85rem;
    border-top: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .hero-overlay {
    min-height: 70vh;
  }

  .page-hero,
  .page-hero .hero-overlay {
    min-height: 20rem;
  }

  .hero-content {
    width: min(100% - 1rem, 1180px);
    padding: 5rem 0 4rem;
  }

  .announcement-strip {
    width: min(100% - 1rem, 1180px);
    margin-top: -20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .content-section,
  .card-grid-section,
  .newsletter-section,
  .site-footer,
  .footer-bottom,
  .page-content {
    width: min(100% - 1rem, 1180px);
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }
}





