:root {
  --navy: #0B1D3A;
  --navy-mid: #132B52;
  --navy-light: #1A3A6B;
  --gold: #C9A84C;
  --gold-light: #E4CC7A;
  --gold-muted: rgba(201,168,76,0.15);
  --cream: #F7F5F0;
  --cream-dark: #EDE9E0;
  --white: #FFFFFF;
  --text: #2C2C2C;
  --text-light: #6B6B6B;
  --text-on-dark: #C8C8D0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,29,58,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: var(--transition);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  height: 72px;
}
.nav-logo {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--white);
  text-decoration: none;
  display: flex; align-items: center; gap: 0.15rem;
}
.nav-logo .logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; font-weight: 700; color: var(--navy);
  letter-spacing: 0;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.nav-cta {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: var(--transition); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(201,168,76,0.18);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    flex-direction: column; gap: 0;
    padding: 1rem 0;
    transform: translateY(-120%);
    transition: transform var(--transition);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 1rem 2rem; display: block; }
  .nav-cta { margin: 0.5rem 2rem; display: inline-block; }
}

/* ── PAGE OFFSET (for fixed nav on inner pages) ── */
.page-offset { height: 72px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(26,58,107,0.4) 0%, transparent 60%);
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-tag {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-tag::before {
  content: '';
  width: 40px; height: 1.5px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  color: var(--text-on-dark);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 0.85rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Hero audience-split cards (new) */
.hero-cards { display: flex; flex-direction: column; gap: 1rem; }
.hero-card {
  padding: 1.75rem 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  display: block;
  transition: var(--transition);
}
.hero-card:hover { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.hero-card .hero-card-tag {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.5rem;
}
.hero-card h3 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.5rem;
}
.hero-card p { color: var(--text-on-dark); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.hero-card .hero-card-arrow {
  display: inline-block; margin-top: 0.75rem;
  color: var(--gold); font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600;
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── INNER PAGE HEADER ── */
.page-header {
  background: var(--navy);
  padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
}
.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative; z-index: 1;
}
.page-header .section-tag { color: var(--gold); }
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.page-header h1 em { font-style: italic; color: var(--gold); }
.page-header p {
  color: var(--text-on-dark);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.7;
}

/* ── SECTIONS (shared) ── */
.section {
  padding: 6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  width: 30px; height: 1.5px;
  background: var(--gold);
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section h2 em { font-style: italic; color: var(--gold); }
.section-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 3rem;
}

/* ── SERVICES ── */
.services-wrapper { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 2.5rem 2rem;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.service-card:hover::before { width: 100%; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(11,29,58,0.08); }
.service-icon {
  width: 48px; height: 48px;
  background: var(--gold-muted);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.services-subhead {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}
.services-subhead:first-child { margin-top: 0; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 2rem;
}
.value-item {
  padding: 1.5rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
}
.value-item h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.value-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-values { grid-template-columns: 1fr; }
}

/* ── TEAM ── */
.team-wrapper { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.team-card { text-align: center; }
.team-card a { text-decoration: none; color: inherit; display: block; }
.team-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  margin: 0 auto 1.5rem;
  object-fit: cover;
  display: block;
}
.team-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

/* ── INSIGHTS (placeholder) ── */
.insights-empty {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--cream-dark);
}
.insights-empty h3 {
  font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-bottom: 0.5rem;
}
.insights-empty p { color: var(--text-light); max-width: 480px; margin: 0 auto; }

/* ── CONTACT ── */
.contact-wrapper { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.contact-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--gold-muted);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-detail-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.contact-detail-text span, .contact-detail-text a {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: none;
}
.contact-detail-text a:hover { color: var(--navy); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1rem;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-consent {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.85rem; color: var(--text);
  line-height: 1.55;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.form-consent label { cursor: pointer; }
.form-consent a { color: var(--navy); text-decoration: underline; }
.form-consent a:hover { color: var(--gold); }
.form-submit {
  align-self: flex-start;
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 3rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.form-submit:hover { background: var(--navy-light); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 300px;
}
.footer h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.cta-banner p {
  color: var(--text-on-dark);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  position: relative;
}
.cta-banner .btn-primary { position: relative; }

/* ── PLACEHOLDER NOTICE (visible during build phase) ── */
.placeholder-notice {
  background: #FFF8E1;
  border: 1px dashed var(--gold);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: #6B5500;
  font-family: var(--sans);
}
.placeholder-notice strong {
  display: block; font-weight: 600; color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem;
  margin-bottom: 0.4rem;
}
