:root {
  --red: #9f1d20;
  --red-dark: #691519;
  --gold: #d5a642;
  --green: #2d6a4f;
  --ink: #1e2228;
  --muted-ink: #59616c;
  --paper: #fffaf2;
  --soft: #f5efe4;
  --line: #e3d6c4;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(30, 34, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--red-dark);
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid rgba(227, 214, 196, 0.72);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: 2px solid var(--gold);
  border-radius: 6px;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  max-width: 280px;
  color: var(--muted-ink);
  font-size: 0.74rem;
  line-height: 1.25;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: #31363d;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--red);
}

.nav-cta {
  padding: 0 0.9rem;
  color: var(--white) !important;
  background: var(--green);
  border-radius: 6px;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  gap: 4px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(640px, 92vh, 820px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(18, 20, 25, 0.92) 0%, rgba(31, 30, 26, 0.76) 38%, rgba(31, 30, 26, 0.28) 73%, rgba(31, 30, 26, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 20, 25, 0.56), transparent 42%);
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 70px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-subtitle {
  max-width: 700px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.65rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.13);
}

.button-outline {
  color: var(--red-dark);
  border-color: var(--red);
  background: var(--white);
}

.motto-band {
  color: var(--white);
  background: linear-gradient(90deg, var(--red-dark), var(--red) 55%, #7a4d12);
}

.motto-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-block: 2rem;
}

.motto-grid .section-kicker {
  margin: 0;
  color: #ffe2a1;
}

blockquote {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 750;
  line-height: 1.4;
}

.section {
  padding-block: clamp(4.2rem, 8vw, 7rem);
}

.muted {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.lead,
.section-heading p,
.contact p {
  color: var(--muted-ink);
  font-size: 1.06rem;
}

.meaning-list {
  display: grid;
  gap: 1rem;
}

.meaning-list article,
.program-card,
.vision-box,
.quote-grid p,
.salute-lines {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(30, 34, 40, 0.06);
}

.meaning-list article {
  padding: 1.15rem;
}

.meaning-list h3,
.program-card h3,
.vision-box h3 {
  margin-bottom: 0.5rem;
  color: var(--red-dark);
}

.meaning-list p,
.program-card p,
.vision-box p {
  margin: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading p {
  margin: 0.85rem 0 0;
}

.vision-box {
  padding: clamp(1.3rem, 3vw, 2rem);
  border-left: 6px solid var(--green);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.program-card {
  padding: 1.1rem;
  min-height: 100%;
}

.program-card .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
  font-weight: 900;
}

.program-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted-ink);
}

.program-card li + li {
  margin-top: 0.45rem;
}

.values {
  background: #1f2623;
  color: var(--white);
}

.values .section-heading p,
.values .section-kicker {
  color: #ffe2a1;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.quote-grid p {
  margin: 0;
  padding: 1.2rem;
  color: #252a30;
  font-weight: 750;
}

.goal-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.35rem;
}

.goal-list li {
  padding-left: 0.35rem;
}

.salute {
  background: var(--paper);
}

.salute-layout,
.contact-layout,
.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.salute-lines {
  padding: 1.4rem;
}

.salute-lines p {
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.salute-lines p:last-child {
  border-bottom: 0;
}

.salute-lines strong {
  color: var(--red-dark);
}

.contact {
  color: var(--white);
  background: linear-gradient(135deg, #68151a, #9f1d20 48%, #24543f);
}

.contact .section-kicker,
.contact p {
  color: #ffe4a8;
}

.contact h2 {
  max-width: 760px;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.footer {
  padding-block: 1.7rem;
  color: #f8efe2;
  background: #171a1f;
}

.footer p {
  margin: 0;
}

.footer p:last-child {
  color: #c9c0b4;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 0.6rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
    gap: 0.15rem;
  }

  .nav-links a {
    padding-inline: 0.85rem;
  }

  .brand small {
    max-width: 220px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 20, 25, 0.92), rgba(31, 30, 26, 0.68)),
      linear-gradient(0deg, rgba(18, 20, 25, 0.62), transparent 46%);
  }

  .motto-grid,
  .two-column,
  .salute-layout,
  .contact-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .program-grid,
  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .nav,
  .hero-content {
    width: min(100% - 24px, 1120px);
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    margin-bottom: 42px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .program-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 3.6rem;
  }
}