/*
 * Beyond Duty Foundation cinematic redesign
 * Visual layer only: the original HTML and JavaScript structure is preserved.
 */
:root {
  --bg-0: #f4efe6;
  --bg-1: #eee7dc;
  --bg-2: #101d18;
  --bg-3: #1a2b24;
  --bg-card: #f8f4ed;
  --gold: #c98b4a;
  --gold-light: #e0ad72;
  --gold-dim: rgba(201, 139, 74, .12);
  --gold-border: rgba(201, 139, 74, .34);
  --text-primary: #0c1411;
  --text-secondary: #59635f;
  --text-muted: #7b837f;
  --border: rgba(12, 20, 17, .11);
  --border-gold: rgba(201, 139, 74, .28);
  --font-display: "Libre Caslon Display", "Cormorant Garamond", Georgia, serif;
}

body {
  background: var(--bg-0);
  color: var(--text-primary);
}

.tactical-noise,
.scanline {
  opacity: .018;
}

.nav {
  top: 24px;
  left: 2.2vw;
  right: 2.2vw;
  width: auto;
  height: 88px;
  padding: 0 24px 0 28px;
  border: 1px solid rgba(238, 231, 220, .25);
  border-radius: 18px;
  color: #f4efe6;
  background: rgba(12, 20, 17, .27);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav.scrolled {
  top: 12px;
  color: #f4efe6;
  background: rgba(12, 20, 17, .88);
  border-color: rgba(238, 231, 220, .18);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
}

.nav-brand-mark {
  width: 58px;
  height: 58px;
  padding: 6px;
  border-color: rgba(224, 173, 114, .5);
  border-radius: 46% 46% 52% 52% / 34% 34% 66% 66%;
  overflow: hidden;
}

.nav-brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.nav-link {
  color: rgba(244, 239, 230, .82);
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-cta {
  color: var(--gold-light);
  border-color: var(--gold);
  border-radius: 6px;
  padding: 14px 22px;
}

.hero {
  min-height: 900px;
  height: 100svh;
  color: #f4efe6;
  background: #0c1411;
}

.hero-photo {
  background-image: url("assets/hero-cinematic.png") !important;
  background-position: center center !important;
  filter: none !important;
  opacity: 1 !important;
}

.hero-gradient {
  background:
    linear-gradient(90deg, rgba(8, 15, 12, .96) 0%, rgba(8, 15, 12, .74) 39%, rgba(8, 15, 12, .10) 73%),
    linear-gradient(0deg, rgba(8, 15, 12, .9), transparent 48%) !important;
}

.hero-camo,
.hero-grid-overlay,
.hero-radar,
.hero-silhouette {
  opacity: .08;
}

.hero-content {
  top: 24%;
  max-width: 780px;
}

.hero-eyebrow,
.mission-strip {
  color: var(--gold-light);
}

.mission-strip {
  width: fit-content;
  border: 1px solid rgba(224, 173, 114, .28);
  border-radius: 5px;
  background: rgba(6, 12, 10, .28);
  backdrop-filter: blur(10px);
}

.hero-headline {
  font-size: clamp(3.8rem, 6.2vw, 6.6rem);
  line-height: .98;
  letter-spacing: -.045em;
  color: #f4efe6;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .72);
}

.hero-headline em {
  color: var(--gold-light);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .62);
}

.hero-sub {
  max-width: 650px;
  color: rgba(244, 239, 230, .82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.btn-primary {
  border-radius: 5px;
  background: linear-gradient(135deg, #d59a58, #b57535);
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
}

.btn-ghost {
  border-radius: 5px;
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(6, 12, 10, .28);
  backdrop-filter: blur(12px);
}

.hero-stat-bar {
  right: 4vw;
  bottom: 10%;
  width: min(660px, 53vw);
  padding: 26px 22px;
  border: 1px solid rgba(238, 231, 220, .3);
  border-radius: 13px;
  background: rgba(18, 25, 21, .68);
  backdrop-filter: blur(18px);
}

.hero-stat-bar .stat-num {
  color: var(--gold-light);
}

.section {
  padding-top: clamp(84px, 9vw, 130px);
  padding-bottom: clamp(84px, 9vw, 130px);
}

.about,
.board,
.wellness,
.contact {
  background: var(--bg-0);
  color: var(--text-primary);
}

.about {
  background: var(--bg-1);
}

.section-tag,
.pillar-num,
.program-num,
.board-card-copy > span,
.board-modal-role {
  color: #946432;
}

.section-headline,
.pillar-body h3,
.board-card-copy strong {
  color: var(--text-primary);
}

.about-body,
.pillar-body p,
.board-intro,
.programs-sub,
.contact-sub,
.wellness-body,
.board-modal-profile {
  color: var(--text-secondary);
}

.pillar-card {
  border-color: rgba(12, 20, 17, .12);
}

.pillar-card:hover {
  background: rgba(255, 255, 255, .45);
}

.board-grid {
  gap: 24px;
}

.board-photo-wrap {
  border: 0;
  border-radius: 4px;
  background: linear-gradient(145deg, #32473d, #101b16);
}

.board-photo {
  filter: saturate(.8) contrast(1.04);
}

.board-card-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(8, 15, 12, .88));
}

.board-card-copy strong {
  font-size: 1.3rem;
}

.quote-break {
  color: #f4efe6;
  background: var(--bg-2);
}

.quote-break blockquote,
.memorial-band h2 {
  color: #f4efe6;
}

.memorial-band::after {
  background: linear-gradient(90deg, rgba(8, 15, 12, .94), rgba(8, 15, 12, .52));
}

.programs,
.impact,
.crisis {
  color: #f4efe6;
  background: var(--bg-2);
}

.program-card {
  min-height: 380px;
  background: transparent;
  border-color: rgba(244, 239, 230, .15);
}

.program-card:hover {
  background: rgba(255, 255, 255, .045);
  transform: translateY(-5px);
}

.program-card h3,
.impact .section-headline,
.crisis .section-headline {
  color: #f4efe6;
}

.program-card p,
.impact p,
.crisis p {
  color: rgba(244, 239, 230, .64);
}

.wellness-panel {
  padding: clamp(40px, 6vw, 76px);
  color: #f4efe6;
  background: var(--bg-3);
  border: 0;
  box-shadow: 0 28px 70px rgba(12, 20, 17, .14);
}

.wellness-panel .section-headline,
.wellness-panel h3 {
  color: #f4efe6;
}

.contact-form-wrap {
  background: #f8f4ed;
  border: 1px solid rgba(12, 20, 17, .1);
  box-shadow: 0 24px 70px rgba(12, 20, 17, .08);
}

.form-group label {
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  color: var(--text-primary);
  background: transparent;
  border-color: #c9c1b5;
}

.footer {
  color: #f4efe6;
  background: #09100d;
}

.footer-nav a,
.footer-tagline,
.footer-bottom {
  color: rgba(244, 239, 230, .56);
}

.board-modal-backdrop {
  background: rgba(5, 10, 8, .84);
  backdrop-filter: blur(10px);
}

.board-modal-panel {
  background: var(--bg-0);
  color: var(--text-primary);
  box-shadow: 0 28px 100px rgba(0, 0, 0, .45);
}

.board-modal-panel h2 {
  color: var(--text-primary);
}

@media (max-width: 820px) {
  .nav {
    top: 14px;
    left: 14px;
    right: 14px;
    height: 72px;
    padding: 0 17px;
  }

  .nav-brand-mark {
    width: 42px;
    height: 46px;
  }

  .mobile-menu {
    top: 0;
    padding-top: 110px;
    color: #f4efe6;
    background: rgba(12, 20, 17, .98);
  }

  .mobile-link {
    color: #f4efe6;
    border-color: rgba(244, 239, 230, .12);
  }

  .hero-content {
    top: 19%;
  }

  .hero-headline {
    font-size: clamp(3.2rem, 12.5vw, 5rem);
  }

  .hero-stat-bar {
    left: 7vw;
    right: 7vw;
    bottom: 7%;
    width: auto;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 900px;
  }

  .hero-content {
    top: 16%;
  }

  .hero-headline {
    font-size: 3rem;
  }

  .hero-sub {
    font-size: .96rem;
    line-height: 1.58;
  }

  .mission-strip {
    display: none;
  }

  .hero-stat-bar {
    left: 18px;
    right: 18px;
    padding: 18px 6px;
  }

  .hero-stat-bar .stat-num {
    font-size: 2rem;
  }

  .wellness-panel {
    padding: 38px 24px;
  }
}

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