/* Fonts loaded via preload in HTML for performance */

:root {
  --navy:       #0d1526;
  --navy-mid:   #14203a;
  --navy-light: #1c2e50;
  --blue:       #2d3996;
  --blue-light: #3d4fc4;
  --gold:       #b89a5a;
  --gold-light: #d4b87a;
  --white:      #f4f6fb;
  --off-white:  #e8ecf4;
  --gray:       #8898b8;
  --gray-light: #bbc6db;
  --text:       #2a3550;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'EB Garamond', Georgia, serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,21,38,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,154,90,0.2);
  padding: 0 60px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-weight: 300; font-size: 12px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gray-light); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-cta {
  font-family: 'Oswald', sans-serif;
  font-weight: 400; font-size: 11.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(184,154,90,0.5);
  padding: 9px 22px; text-decoration: none; transition: all 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 1.5px; background: var(--gray-light);
  transition: all 0.3s; display: block;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--navy);
  padding: 140px 60px 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -55deg, transparent, transparent 80px,
    rgba(45,57,150,0.04) 80px, rgba(45,57,150,0.04) 81px
  );
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero-label {
  font-family: 'Oswald', sans-serif; font-weight: 300;
  font-size: 11px; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.page-hero-label::before { content:''; width:28px; height:1px; background:var(--gold); opacity:0.7; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: 58px; line-height: 1.08;
  color: var(--white); max-width: 700px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero-sub {
  font-family: 'EB Garamond', serif;
  font-size: 18px; line-height: 1.7;
  color: var(--gray-light); max-width: 580px;
  margin-top: 20px;
}
.page-hero-rule {
  width: 48px; height: 1px;
  background: var(--gold); opacity: 0.5;
  margin-top: 40px;
}

/* ─── SECTION SHARED ─── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.section-label {
  font-family: 'Oswald', sans-serif; font-weight: 300;
  font-size: 11px; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::before { content:''; width:28px; height:1px; background:var(--blue); opacity:0.6; }
.section-label.gold { color: var(--gold); }
.section-label.gold::before { background: var(--gold); }
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: 48px; line-height: 1.1;
  color: var(--navy); margin-bottom: 20px;
}
.section-heading em { font-style: italic; color: var(--blue); }
.section-heading.light { color: var(--white); }
.section-heading.light em { color: var(--gold-light); }
.section-body {
  font-size: 18px; line-height: 1.75;
  color: #4a5a78; max-width: 640px; margin-bottom: 56px;
}
.section-body.light { color: var(--gray); }

/* ─── BUTTONS ─── */
.btn-primary {
  font-family: 'Oswald', sans-serif; font-weight: 400;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  background: var(--gold); color: var(--navy);
  padding: 15px 32px; text-decoration: none;
  transition: all 0.2s; display: inline-block; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-secondary {
  font-family: 'Oswald', sans-serif; font-weight: 300;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gray-light); text-decoration: none;
  border-bottom: 1px solid rgba(136,152,184,0.4);
  padding-bottom: 2px; transition: all 0.2s; display: inline-block;
}
.btn-secondary:hover { color: var(--white); border-color: var(--white); }
.btn-outline-gold {
  font-family: 'Oswald', sans-serif; font-weight: 400;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(184,154,90,0.5);
  padding: 14px 30px; text-decoration: none; transition: all 0.2s; display: inline-block;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn-outline-navy {
  font-family: 'Oswald', sans-serif; font-weight: 400;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--navy); border: 1px solid rgba(13,21,38,0.4);
  padding: 14px 30px; text-decoration: none; transition: all 0.2s; display: inline-block;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--gold); }

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--gold); padding: 80px 60px; text-align: center;
}
.cta-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: 44px;
  color: var(--navy); margin-bottom: 12px;
}
.cta-band p {
  font-family: 'EB Garamond', serif;
  font-size: 18px; color: rgba(13,21,38,0.65);
  margin-bottom: 32px;
}
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btn-dark {
  font-family: 'Oswald', sans-serif; font-weight: 400;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  background: var(--navy); color: var(--gold);
  padding: 15px 36px; text-decoration: none; transition: all 0.2s; display: inline-block;
}
.cta-btn-dark:hover { background: var(--navy-mid); }
.cta-btn-outline {
  font-family: 'Oswald', sans-serif; font-weight: 300;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--navy); border: 1px solid rgba(13,21,38,0.5);
  padding: 15px 36px; text-decoration: none; transition: all 0.2s; display: inline-block;
}
.cta-btn-outline:hover { background: rgba(13,21,38,0.08); }

/* ─── FOOTER ─── */
footer {
  background: #080d1a; padding: 64px 60px 32px;
  border-top: 1px solid rgba(184,154,90,0.15);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); margin-bottom: 14px;
}
.footer-brand-name span { color: var(--gold); }
.footer-tagline {
  font-family: 'EB Garamond', serif; font-style: italic;
  font-size: 16px; color: var(--gray);
  line-height: 1.6; margin-bottom: 20px;
}
.footer-license {
  font-family: 'Oswald', sans-serif; font-weight: 300;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(136,152,184,0.4);
}
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px;
}
.footer-contact-item a {
  font-family: 'EB Garamond', serif;
  font-size: 15.5px; color: var(--gray);
  text-decoration: none; transition: color 0.2s;
}
.footer-contact-item a:hover { color: var(--white); }
.footer-col-title {
  font-family: 'Oswald', sans-serif; font-weight: 400;
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-family: 'EB Garamond', serif;
  font-size: 15.5px; color: var(--gray);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-family: 'Oswald', sans-serif; font-weight: 300;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(136,152,184,0.35);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { opacity: 0; }
.animate.visible { animation: fadeUp 0.6s ease forwards; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); padding: 24px;
    border-bottom: 1px solid rgba(184,154,90,0.2);
    gap: 20px;
  }
  nav.open .nav-cta {
    display: block; margin: 0 24px 24px;
    text-align: center;
    position: absolute; top: 72px; left: 0; right: 0;
    /* handled by flex above */
  }
  .page-hero { padding: 120px 24px 60px; }
  .page-hero h1 { font-size: 38px; }
  .section-inner { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section-heading { font-size: 36px; }
}
