/* ─── RESET & VARIABLES ─── */

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

:root {
  --ink: #0a0a0f;
  --chalk: #f8f6f1;
  --cream: #eee9df;
  --red: #c8102e;
  --red-dark: #9b0c23;
  --red-glow: rgba(200, 16, 46, 0.12);
  --slate: #3a3a4a;
  --muted: #6e6e7e;
  --border: rgba(10, 10, 15, 0.08);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--sans);
  background: var(--chalk);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── SKIP NAV ─── */

.skip-nav {
  position: absolute; top: -100%; left: 1rem; z-index: 1001;
  padding: 0.75rem 1.5rem; background: var(--red); color: white;
  font-weight: 600; border-radius: 0 0 8px 8px; text-decoration: none; transition: top 0.2s;
}
.skip-nav:focus { top: 0; }

/* ─── NAVIGATION ─── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0.8rem 3rem; display: flex; align-items: center; justify-content: space-between;
  background: rgba(248, 246, 241, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); box-shadow: 0 1px 30px rgba(0,0,0,0.06);
  transition: all 0.4s var(--ease); width: 100%; max-width: 100vw;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--serif); font-weight: 900; font-size: 1.2rem;
  letter-spacing: -0.02em; color: var(--ink); transition: color 0.4s var(--ease);
}
.nav-star { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.nav-star svg { width: 100%; height: 100%; }

.nav-links {
  display: flex; gap: 2.5rem; align-items: center;
  margin-left: auto; margin-right: 1.5rem;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--red); transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--red) !important; color: white !important;
  padding: 0.6rem 1.4rem; border-radius: 6px;
  font-weight: 600 !important; letter-spacing: 0.04em !important;
  transition: background 0.3s, transform 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; color: white !important; transform: translateY(-1px); }

/* ─── PAGE HEADER ─── */

.page-header {
  padding: 8rem 3rem 3rem; background: var(--ink); color: white; text-align: center;
}
.page-header h1 {
  font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 1rem;
}
.page-header h1 em { font-style: italic; color: var(--red); }
.page-header p {
  font-size: 1.1rem; color: rgba(255,255,255,0.65); max-width: 580px;
  margin: 0 auto; font-weight: 300; line-height: 1.7;
}

/* ─── DC FLAG STRIPE ─── */

.flag-stripe { height: 4px; background: var(--red); }

/* ─── CTA BANNER ─── */

.cta-banner {
  background: var(--red); color: white; text-align: center; padding: 3rem 3rem;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.02em;
}
.cta-banner p {
  font-size: 1.05rem; opacity: 0.85; max-width: 500px;
  margin: 0 auto 1.5rem; font-weight: 300;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 8px; font-family: var(--sans);
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.03em;
  cursor: pointer; border: none; background: white; color: var(--red);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15); transition: all 0.35s var(--ease);
  text-decoration: none;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }

/* ─── FOOTER ─── */

footer { background: var(--ink); color: white; padding: 3rem 3rem 1.5rem; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 0; border-top: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.7);
}

/* ─── HAMBURGER ─── */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(248, 246, 241, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu a.active { color: var(--red); }
.mobile-menu .nav-cta {
  margin-top: 0.5rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: white;
  padding: 0.35rem 1rem;
}

/* ─── SHARED RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  nav > .nav-cta { margin-left: auto; font-size: 0.78rem; padding: 0.5rem 1rem; }
  .menu-toggle { display: none; }
  .page-header { padding: 7rem 1.5rem 2rem; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
