/* STAGING ONLY — website-copy-cohesion. Shared dark-theme chrome (nav, buttons, footer). */

:root {
  --primary: #0f2744;
  --secondary: #1a4a6e;
  --accent: #4a8ca0;
  --accent-muted: rgba(123, 163, 196, 0.88);
  --dark: #0e2045;
  --dark2: #1a3461;
  --white: #ffffff;
  --off: #f4f4f2;
  --ink: #0e2045;
  --ink2: #6b6158;
  --ink3: #a8a098;
  --ghost: rgba(246, 242, 236, 0.1);
  --ghost2: rgba(246, 242, 236, 0.2);
  --ghost3: rgba(246, 242, 236, 0.45);
  --font: 'Plus Jakarta Sans', sans-serif;
  --band-after-navy-bg: var(--off);
  --band-after-navy-border: 1px solid #e8e8e6;
  --band-after-light-bg: var(--dark);
  --band-after-light-border: 1px solid var(--ghost);
}

html {
  scroll-behavior: smooth;
}

body.theme-dark {
  font-family: var(--font);
  background: var(--dark);
  color: #f0ede8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (scripting: none) {
  .rv {
    opacity: 1;
    transform: none;
  }
}
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* NAV */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 56px;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: rgba(11, 21, 44, 0.97);
  border-bottom: 1px solid rgba(246, 242, 236, 0.08);
  box-shadow: none;
  transition: background 0.2s, border-color 0.2s;
}
#mainNav.nav-scrolled {
  background: rgba(8, 16, 34, 0.985);
  border-bottom-color: rgba(246, 242, 236, 0.1);
}
.nav-shell {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  box-sizing: border-box;
}
@media (min-width: 769px) {
  .nav-shell {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: clamp(16px, 2vw, 28px);
  }
  .nav-logo { justify-self: start; }
  .nav-links { justify-self: center; grid-column: 2; }
  .nav-cta { justify-self: end; grid-column: 3; }
  .menu-toggle { display: none !important; }
}
.nav-logo { text-decoration: none; flex-shrink: 0; }
.nav-logo img { display: block; height: 28px; width: auto; }
.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(18px, 2.2vw, 28px);
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(240, 237, 232, 0.55);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: #f0ede8; }
.nav-links a.active {
  color: #f0ede8;
}
.nav-cta {
  height: 36px;
  padding: 0 20px;
  background: #f0ede8;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f0ede8;
  border-radius: 2px;
  transition: all 0.25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) {
  .nav-shell { padding: 0 clamp(18px, 4vw, 24px); }
  .menu-toggle { display: flex !important; }
  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 32, 69, 0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px clamp(20px, 4vw, 52px) 32px;
    border-top: 1px solid rgba(100, 160, 255, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 17px;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid rgba(246, 242, 236, 0.1);
    width: 100%;
    color: rgba(240, 237, 232, 0.78);
  }
  .nav-links a.active {
    border-bottom-color: rgba(126, 205, 224, 0.35);
    color: #f0ede8;
  }
  .nav-cta { display: none; }
}

/* Buttons */
.btn-fill {
  height: 48px;
  padding: 0 28px;
  background: #f0ede8;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.015em;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.btn-line {
  height: 48px;
  padding: 0 26px;
  border: 1px solid var(--ghost2);
  color: var(--ghost3);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.015em;
}
.btn-ink {
  height: 48px;
  padding: 0 28px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.015em;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

/* Shared utilities */
.wrap { max-width: 1160px; margin: 0 auto; }
.kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: block;
}
.kicker--dark { color: var(--ghost3); }
.kicker--light { color: var(--ink3); }

/* Footer */
footer {
  background: var(--dark2);
  padding: 52px 52px 36px;
  border-top: 1px solid var(--ghost);
}
.foot-top {
  max-width: 1160px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.foot-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f0ede8;
}
.foot-nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav-links a {
  font-size: 13px;
  color: var(--ghost3);
  text-decoration: none;
  transition: color 0.2s;
}
.foot-nav-links a:hover { color: rgba(240, 237, 232, 0.6); }
.foot-access {
  max-width: 1160px;
  margin: 0 auto 20px;
  font-size: 12px;
  color: rgba(240, 237, 232, 0.2);
}
.foot-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--ghost);
  font-size: 12px;
  color: rgba(240, 237, 232, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .foot-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
