:root {
  --navy: #07152f;
  --navy-soft: #0d2144;
  --navy-card: rgba(9, 28, 59, 0.88);
  --blue: #17457e;
  --red: #8f1d2d;
  --red-bright: #b9293c;
  --gold: #d9b15f;
  --gold-soft: #f4d58e;
  --cream: #f6efe2;
  --muted: #c9d2e2;
  --text: #fffaf0;
  --line: rgba(244, 213, 142, 0.34);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: var(--navy);
}

a { color: var(--gold-soft); }
a:hover { color: #fff; }

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(217, 177, 95, 0.18), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(185, 41, 60, 0.20), transparent 25%),
    linear-gradient(135deg, #061126 0%, #0b1a36 44%, #071225 100%);
}

.flag-wash {
  position: absolute;
  inset: -15%;
  opacity: 0.22;
  background:
    repeating-linear-gradient(118deg, transparent 0 36px, rgba(255,255,255,0.13) 36px 50px, transparent 50px 88px),
    repeating-linear-gradient(154deg, rgba(143,29,45,0.28) 0 22px, transparent 22px 80px);
  transform: rotate(-4deg);
}

.star-field {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.50) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(217,177,95,0.42) 1px, transparent 1.5px);
  background-size: 74px 74px, 118px 118px;
  background-position: 0 0, 35px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.75), transparent 72%);
}

.gold-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.28;
  background: var(--gold);
}

.glow-left { left: -160px; top: 220px; }
.glow-right { right: -140px; bottom: 80px; background: var(--red); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217,177,95,0.28);
  background: rgba(5, 16, 35, 0.86);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 0 0 2px rgba(217,177,95,0.70);
}

.brand strong {
  display: block;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 1.02rem;
}

.brand small {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
}

.brand-badge,
.footer-badge {
  border: 1px solid var(--line);
  color: var(--gold-soft);
  border-radius: 999px;
  padding: 7px 11px;
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.nav-toggle { display: none; }
.mobile-toggle { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, sans-serif;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.91rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 18px;
  min-height: 46px;
  font-family: Arial, sans-serif;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  color: #08142b !important;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 28px rgba(217,177,95,0.20);
}

.btn-secondary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  border-color: rgba(255,255,255,0.12);
}

.btn-outline {
  color: var(--gold-soft) !important;
  border-color: var(--line);
  background: rgba(255,255,255,0.04);
}

.hero {
  position: relative;
  padding: 92px 0 56px;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--cream), var(--gold), var(--cream), var(--red));
  opacity: 0.82;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.panel-kicker {
  display: inline-flex;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.6rem, 5.4vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  max-width: 880px;
}

.hero-text {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
  font-family: Arial, sans-serif;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-mark {
  display: flex;
  justify-content: center;
}

.hero-emblem-frame {
  width: min(100%, 380px);
  aspect-ratio: 0.88;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)),
    radial-gradient(circle at 50% 0%, rgba(217,177,95,0.26), transparent 58%);
  box-shadow: var(--shadow);
}

.hero-emblem-frame::before,
.hero-emblem-frame::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 28px;
  pointer-events: none;
}

.hero-emblem-frame::after {
  inset: auto 50%;
  top: -22px;
  width: 96px;
  height: 44px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg, var(--red), var(--cream), var(--blue));
  border-color: rgba(217,177,95,0.55);
}

.medal-ribbon {
  position: absolute;
  top: 32px;
  color: var(--gold-soft);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-logo-wrap {
  width: 245px;
  height: 245px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 12px;
  background: #fff;
  box-shadow:
    0 0 0 8px rgba(217,177,95,0.20),
    0 22px 45px rgba(0,0,0,0.34);
}

.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.section { padding: 56px 0; }

.section-heading {
  margin: 0 0 24px;
  max-width: 760px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-pill {
  border: 1px solid rgba(217,177,95,0.32);
  border-radius: 20px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.05);
  text-align: center;
}

.stat-pill strong,
.stat-pill span {
  display: block;
}

.stat-pill strong {
  color: var(--gold-soft);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1;
}

.stat-pill span {
  color: var(--cream);
  margin-top: 6px;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.home-explore {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(0,0,0,0.10));
  border-top: 1px solid rgba(255,255,255,0.08);
}

.placeholder-panel {
  opacity: 0.72;
}


.service-band {
  padding: 24px 0;
  background: rgba(0,0,0,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.branch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.branch-row span {
  border: 1px solid rgba(217,177,95,0.32);
  color: var(--cream);
  background: rgba(255,255,255,0.05);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.section-grid,
.content-grid {
  display: grid;
  gap: 22px;
}

.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-grid { grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-card);
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), transparent);
  opacity: 0.88;
}

.panel h2,
.panel h3,
.legal-panel h1 {
  margin: 10px 0 12px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.panel h2 { font-size: clamp(1.55rem, 2.4vw, 2.25rem); }
.panel h3 { font-size: 1.25rem; }

.panel p,
.panel li,
.legal-panel p,
.legal-panel li {
  color: var(--muted);
  line-height: 1.72;
  font-family: Arial, sans-serif;
}

.feature-panel {
  min-height: 242px;
}

.feature-panel::after {
  content: '★';
  position: absolute;
  right: 24px;
  bottom: 18px;
  color: rgba(217,177,95,0.18);
  font-size: 5rem;
  line-height: 1;
}

.section-highlight {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.12)),
    linear-gradient(90deg, rgba(143,29,45,0.14), transparent 34%, rgba(217,177,95,0.10));
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.memorial-panel {
  background:
    linear-gradient(135deg, rgba(9,28,59,0.94), rgba(12,37,78,0.86)),
    radial-gradient(circle at 100% 0%, rgba(217,177,95,0.2), transparent 48%);
}

.panel-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.facebook-card,
.info-card {
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 20px;
  padding: 20px;
  background: rgba(255,255,255,0.055);
}

.facebook-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.facebook-brand img,
.footer-brand-row img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
}

.facebook-brand strong,
.facebook-brand span {
  display: block;
  font-family: Arial, sans-serif;
}

.facebook-brand span { color: var(--muted); font-size: 0.9rem; margin-top: 3px; }

.salute-card {
  border-color: rgba(185, 41, 60, 0.45);
}

.location-line {
  font-size: 1.08rem;
  color: var(--gold-soft) !important;
  font-weight: 800;
}

.map-frame {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
  background: rgba(0,0,0,0.25);
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.legal-page { padding-top: 52px; }
.legal-shell { width: min(calc(100% - 32px), 920px); }
.legal-panel h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.legal-panel h2 { margin-top: 30px; color: var(--cream); }
.legal-panel ul { padding-left: 1.2rem; }
.muted { color: var(--muted) !important; }

.site-footer {
  padding: 54px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(5, 15, 32, 0.92);
}

.footer-shell { display: grid; gap: 30px; }

.footer-intro {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.045);
  padding: 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand-copy h3 { margin: 6px 0 4px; }
.footer-copy { max-width: 660px; }
.footer-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-block {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 16px;
}

.footer-block h4 {
  margin: 0 0 9px;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
}

.footer-block p,
.footer-block a,
.footer-bottom {
  color: var(--muted);
  font-family: Arial, sans-serif;
  line-height: 1.55;
}

.footer-nav { display: grid; gap: 6px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 20px;
}
.footer-links-inline { display: flex; gap: 10px; align-items: center; }

@media (max-width: 920px) {
  .hero-inner,
  .content-grid,
  .three-up,
  .footer-columns { grid-template-columns: 1fr; }
  .hero { padding-top: 62px; }
  .hero-mark { order: -1; }
  .footer-intro { align-items: flex-start; flex-direction: column; }
  .footer-actions { justify-content: flex-start; }
  .brand-badge { display: none; }
}

@media (max-width: 760px) {
  .stats-row { grid-template-columns: 1fr; }
  .nav-shell { min-height: 78px; }
  .brand img { width: 52px; height: 52px; }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    color: var(--gold-soft);
    font-size: 1.4rem;
  }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(5, 16, 35, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { border-radius: 12px; }
  .hero h1 { font-size: clamp(2.2rem, 13vw, 4.2rem); }
  .hero-emblem-frame { width: min(100%, 330px); }
  .hero-logo-wrap { width: 210px; height: 210px; }
  .panel { padding: 22px; }
  .footer-brand-row { align-items: flex-start; }
}

.page-hero {
  padding: 68px 0 34px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(0,0,0,0));
}
.page-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 960px;
}
.page-lead {
  max-width: 830px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.65;
}
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-card img,
.program-card img,
.side-image {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  object-fit: contain;
  max-height: 260px;
  padding: 12px;
}
.profile-card .empty-mark,
.program-card .empty-mark {
  min-height: 150px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px dashed var(--line);
  color: var(--gold-soft);
  font-family: Arial, sans-serif;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-list { display: grid; gap: 12px; margin-top: 18px; }
.contact-row { border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 14px 16px; background: rgba(255,255,255,.045); font-family: Arial, sans-serif; color: var(--muted); }
.contact-row strong { color: var(--gold-soft); display: block; margin-bottom: 4px; text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; }
.small-note { font-size: .92rem; color: var(--muted); font-family: Arial, sans-serif; }
@media (max-width: 920px) { .card-grid, .card-grid.two { grid-template-columns: 1fr; } }

/* Site image lightbox */
.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: inherit;
}
.lightbox-trigger img { display: block; }
.lightbox-trigger:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 5px;
  border-radius: 20px;
}
.lightbox-modal[hidden] { display: none; }
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 10, 24, 0.84);
  cursor: zoom-out;
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 94vw);
  max-height: 88vh;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 22px;
  border: 1px solid rgba(240, 206, 131, 0.34);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 30, 58, 0.98), rgba(5, 16, 35, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}
.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
}
.lightbox-caption {
  margin: 0;
  color: var(--gold-soft);
  font-family: Arial, sans-serif;
  font-weight: 800;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(240, 206, 131, 0.34);
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
body.lightbox-open { overflow: hidden; }
