@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0E1E2E;
  --navy-mid: #162840;
  --navy-light: #1E3A5C;
  --gold: #F5A623;
  --gold-light: #F8C96A;
  --gold-pale: #FEF3DC;
  --blue: #2563EB;
  --blue-light: #EFF6FF;
  --white: #FAFAF8;
  --off: #F4F1EC;
  --muted: #6B7A8D;
  --text: #1C2B3A;
  --border: rgba(28,43,58,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(250,250,248,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.nav-wordmark span { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--navy-light) !important; color: var(--white) !important; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
  letter-spacing: -0.2px;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(245,166,35,0.35); }

.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: rgba(250,250,248,0.85);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }

/* ── SECTIONS ── */
section { padding: 96px 24px; }

.container { max-width: 1120px; margin: 0 auto; }

.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-pale);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #92400E;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 16px;
}

.section-title em { font-style: italic; color: var(--gold); }

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-mid);
  padding: 48px 48px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 40px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}

.footer-wordmark {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-wordmark span { color: var(--gold); }

.footer-tagline {
  font-size: 0.825rem;
  color: rgba(250,250,248,0.35);
  line-height: 1.6;
  max-width: 240px;
}

.footer-links {
  display: flex; gap: 64px; flex-wrap: wrap;
}

.footer-col-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,250,248,0.35); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: rgba(250,250,248,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 16px; flex-wrap: wrap;
}

.footer-copy { font-size: 0.78rem; color: rgba(250,250,248,0.25); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.78rem; color: rgba(250,250,248,0.25); text-decoration: none; }
.footer-legal a:hover { color: rgba(250,250,248,0.5); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  footer { padding: 40px 24px 28px; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
}

@media (max-width: 600px) {
  section { padding: 64px 20px; }
}
