/* ── CSS Variables ─────────────────────────────────── */
:root {
  --navy:       #1A3263;
  --steel:      #547792;
  --amber:      #FAB95B;
  --cream:      #E8E2DB;
  --white:      #fafaf8;
  --charcoal:   #3d3d3d;
  --gold:       #c9a876;
  --accent-brn: #8b4513;
  --dark-bg:    #1a1a18;
  --muted:      #6b6b6b;
  --border:     #e8e8e8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.75;
  overflow-x: hidden;
  font-optical-sizing: auto;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ── Typography ────────────────────────────────────── */
h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.15; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.2; }
h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.3; }
h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
p  { font-size: 1rem; line-height: 1.8; }

/* ── Utilities ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.section-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem 0 2rem;
}
.section-divider.centered { margin: 1.2rem auto 2rem; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  border-radius: 2px;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250,185,91,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.btn-navy  { background: var(--navy);  color: var(--white); }
.btn-steel { background: var(--steel); color: var(--white); }

/* ── Nav ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s, background 0.3s, height 0.3s;
}
.nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
  background: rgba(26,50,99,0.97);
  height: 64px;
  backdrop-filter: blur(8px);
}

.nav-logo img { height: 40px; transition: height 0.3s; }
.nav.scrolled .nav-logo img { height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links li a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  position: relative;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links li a:hover { color: var(--amber); }
.nav-links li a:hover::after,
.nav-links li a.active::after { transform: scaleX(1); }
.nav-links li a.active { color: var(--amber); }

.nav-cta {
  background: var(--amber);
  color: var(--navy) !important;
  padding: 0.5rem 1.4rem;
  border-radius: 2px;
  font-weight: 500 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.88; color: var(--navy) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: none; }

/* ── Footer ────────────────────────────────────────── */
.footer { background: var(--dark-bg); padding: 5rem 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 32px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p   { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.7; max-width: 260px; }

.footer-col h3 {
  color: var(--amber);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { color: var(--cream); opacity: 0.75; font-size: 0.9rem; transition: color 0.2s, opacity 0.2s; }
.footer-col ul li a:hover { color: var(--amber); opacity: 1; }
.footer-col a.footer-link {
  color: var(--cream);
  opacity: 0.75;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.footer-col a.footer-link:hover { color: var(--amber); opacity: 1; }
.footer-col p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.8; }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.82rem; }

/* ── Reveal / scroll animations ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.65s ease, opacity 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.44s; }
.reveal-delay-5 { transition-delay: 0.60s; }

/* ── Responsive: nav & footer ──────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile {
    display: block;
    background: var(--navy);
    padding: 1rem 2rem 1.5rem;
    position: fixed;
    top: 72px; left: 0; right: 0;
    z-index: 99;
    transform: translateY(-110%);
    transition: transform 0.3s;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-mobile.open { transform: translateY(0); }
  .nav-mobile a {
    display: block;
    padding: 0.75rem 0;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-mobile a:last-child { border: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}
