/* ============ TOKENS ============ */
:root {
  --navy-900: #0a1733;
  --navy-800: #0f1f44;
  --navy-700: #14295a;
  --navy-600: #1d3a7a;
  --navy-500: #2e5099;
  --ink: #0a1733;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --line: rgba(10, 23, 51, 0.12);
  --line-light: rgba(246, 244, 239, 0.18);
  --muted: #4a5773;
  --muted-light: rgba(246, 244, 239, 0.72);
  --gold: #c8a96a;
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; text-decoration: none; }

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.logo-mark {
  color: var(--navy-700);
  font-size: 16px;
  transform: translateY(-1px);
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color .2s;
}
.nav-links a:hover { color: var(--navy-600); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--navy-700);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-900);
  border: 1px solid var(--navy-900);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all .2s;
}
.nav-cta:hover {
  background: var(--navy-900);
  color: var(--paper);
}

/* ============ LOGO SPLASH ============ */
.logo-splash {
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.logo-splash img {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

/* ============ HERO ============ */
.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin-bottom: 32px;
  max-width: 1000px;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 44px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 100px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--navy-900);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-light {
  background: var(--paper);
  color: var(--navy-900);
}
.btn-light:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.metric-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric-num small { font-size: 26px; color: var(--navy-600); }
.metric-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ============ PHILOSOPHY ============ */
.philosophy { padding: 120px 0; border-bottom: 1px solid var(--line); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}

.section-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.section-tag.light { color: var(--muted-light); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--navy-900);
}
.section-title.light { color: var(--paper); }

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 600px;
}

.pillars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.pillars li {
  display: flex;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pillars li:first-child { padding-top: 0; border-top: 0; }
.pillar-num {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy-600);
  line-height: 1.4;
}
.pillars h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-900);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.pillars p { font-size: 15.5px; color: var(--muted); }

/* ============ SERVICES ============ */
.services {
  padding: 120px 0;
  background: var(--navy-900);
  color: var(--paper);
}
.services-head {
  max-width: 720px;
  margin-bottom: 72px;
}
.services-intro {
  font-size: 18px;
  color: var(--muted-light);
  margin-top: 24px;
  max-width: 540px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-light);
}
.service {
  padding: 48px 44px 48px 0;
  border-bottom: 1px solid var(--line-light);
  position: relative;
}
.service:nth-child(odd) {
  padding-right: 44px;
}
.service:nth-child(even) {
  padding-left: 44px;
  border-left: 1px solid var(--line-light);
}
.service:nth-last-child(-n+2) { border-bottom: 0; }

.service-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 20px;
}
.service h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.service p {
  font-size: 15.5px;
  color: var(--muted-light);
  margin-bottom: 24px;
  max-width: 420px;
}
.service-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 4px;
  transition: border-color .2s;
}
.service-link:hover { border-color: var(--gold); color: var(--gold); }

/* ============ TESTIMONIAL ============ */
.testimonial {
  padding: 140px 0;
  background: var(--paper-2);
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.3;
  color: var(--navy-900);
  max-width: 920px;
  margin: 28px auto 40px;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.quote-attr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.attr-name {
  font-weight: 500;
  font-size: 15px;
  color: var(--navy-900);
}
.attr-co {
  font-size: 13px;
  color: var(--muted);
}

/* ============ CTA ============ */
.cta {
  padding: 140px 0;
  background: var(--navy-900);
  color: var(--paper);
  text-align: center;
}
.cta .section-title { margin-bottom: 24px; }
.cta-sub {
  font-size: 19px;
  color: var(--muted-light);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.55;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-800);
  color: var(--muted-light);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand .logo { color: var(--paper); margin-bottom: 18px; }
.footer-brand .logo-mark { color: var(--gold); }
.footer-brand p { font-size: 14px; max-width: 280px; line-height: 1.6; }

.footer-col h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 14px;
  color: var(--paper);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted-light);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold); }
.addr {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13px;
  color: var(--muted-light);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 80px 0 60px; }
  .hero-ctas { margin-bottom: 60px; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .philosophy, .services, .testimonial, .cta { padding: 80px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding: 36px 0 !important; border-left: 0 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-base { flex-direction: column; gap: 8px; }
}
@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .nav-cta { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
