@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Inter:wght@400;500;600&display=swap');

:root {
  --paper: #fafaf8;
  --paper-deep: #f3f2ee;
  --ink: #2f3437;
  --muted: #687073;
  --navy: #1f365c;
  --navy-soft: #294772;
  --line: #d9dcd7;
  --white: #ffffff;
  --max: 1120px;
  --reading: 730px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--navy-soft); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
}
.skip-link:focus { left: 12px; top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(217,220,215,.88);
  background: rgba(250,250,248,.97);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.05;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .01em;
}

.brand-role {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--navy);
}

.desktop-nav .nav-email {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 17px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
}

.desktop-nav .nav-email::after { content: " →"; margin-left: 4px; }
.desktop-nav .nav-email:hover { color: var(--white); background: var(--navy-soft); }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.mobile-nav {
  display: none;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 0 0 18px;
}
.mobile-nav.open { display: grid; }
.mobile-nav a {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav .nav-email { color: var(--navy); font-weight: 600; }
.mobile-nav .nav-email::after { content: " →"; }

main { min-height: 60vh; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.reading {
  width: min(calc(100% - 40px), var(--reading));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  padding: 50px 0 74px;
}

.hero-inner {
  max-width: 900px;
  transform: translateY(-24px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--ink);
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(48px, 6.2vw, 74px);
  font-weight: 500;
  letter-spacing: -.022em;
}

.hero .eyebrow {
  order: 2;
  margin: 0 0 20px;
}

.hero h1 { order: 1; }
.hero .lead { order: 3; }
.hero .hero-copy { order: 4; }
.hero .button-row { order: 5; }
.hero .location-line { order: 6; }

.hero-inner {
  display: flex;
  flex-direction: column;
}

.page-title {
  font-size: clamp(48px, 6vw, 70px);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(31px, 3.5vw, 42px);
  font-weight: 500;
  letter-spacing: -.016em;
}

h3 {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 600;
}

.lead {
  max-width: 800px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.43;
}

.hero-copy {
  max-width: 760px;
  margin: 0 0 16px;
  color: #454d50;
  font-size: clamp(17px, 1.3vw, 19px);
}

.location-line {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.button::after { content: " →"; margin-left: 5px; }
.button:hover { background: var(--navy-soft); color: var(--white); }

.button-secondary {
  background: transparent;
  color: var(--navy);
}
.button-secondary::after { content: ""; }
.button-secondary:hover { background: transparent; color: var(--navy-soft); }

.section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section-soft { background: var(--paper-deep); }

.section::before,
.page-header::before {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin: 0 0 26px;
  background: var(--navy);
}

.section > .container,
.page-header > .container { position: relative; }

.section::before,
.page-header::before {
  margin-left: max(20px, calc((100vw - min(calc(100% - 40px), var(--max))) / 2));
}

.section-intro {
  max-width: 730px;
  margin-bottom: 48px;
  font-size: 19px;
  color: #495154;
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-block {
  padding-top: 18px;
  border-top: 1px solid var(--navy);
}
.service-block p { margin: 0; color: var(--muted); font-size: 16px; }

.text-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  text-decoration: none;
}
.text-link::after { content: " →"; }

.quote-line {
  max-width: 760px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.18;
}

.page-header {
  padding: 92px 0 58px;
}
.page-header .lead { max-width: 780px; }

.prose {
  padding: 20px 0 104px;
}
.prose p { margin: 0 0 24px; }
.prose h2 { margin-top: 58px; font-size: 40px; }
.prose h3 { margin-top: 36px; font-size: 27px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 8px 0; }

.expertise-group {
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
}
.expertise-group:first-child { border-top: 0; }
.expertise-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 42px;
  padding-left: 20px;
}

.scope-note {
  margin-top: 54px;
  padding: 26px 28px;
  border-left: 3px solid var(--navy);
  background: var(--paper-deep);
  font-weight: 600;
}

.insights-empty {
  margin-top: 44px;
  padding: 38px 0 0;
  border-top: 1px solid var(--line);
}
.insights-empty p:last-child { margin-bottom: 0; }

.contact-panel {
  margin: 24px 0 96px;
  padding: 0;
  background: transparent;
}
.contact-panel p { max-width: 760px; }
.contact-email {
  display: inline-block;
  margin-top: 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  background: var(--paper-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
}

.footer-role { color: var(--muted); font-size: 13px; }

.footer-tagline {
  max-width: 340px;
  margin: 22px 0 0;
  color: #4d5659;
}

.footer-heading {
  margin: 0 0 14px;
  font-family: "Inter", Arial, sans-serif;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--navy); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; padding: 78px 0 92px; }
  .hero-inner { transform: none; }
  .grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-inner { width: min(calc(100% - 28px), var(--max)); min-height: 64px; }
  .mobile-nav { width: min(calc(100% - 28px), var(--max)); }
  .brand-name { font-size: 24px; }
  .brand-role { font-size: 9px; letter-spacing: .08em; }
  .container, .reading { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 62px 0 76px; }
  h1 { font-size: clamp(46px, 14vw, 62px); }
  .page-title { font-size: 48px; }
  .lead { font-size: 21px; }
  .section { padding: 78px 0; }
  .section::before,
  .page-header::before {
    margin-left: 14px;
  }
  .grid-four { grid-template-columns: 1fr; }
  .expertise-group ul { grid-template-columns: 1fr; }
  .page-header { padding: 70px 0 44px; }
  .prose { padding-bottom: 78px; }
  .contact-panel { margin-bottom: 76px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* Final editorial refinement */
.hero .eyebrow { display: none; }

.home-about-copy {
  max-width: 740px;
  margin: 0 0 22px;
  color: #454d50;
  font-size: 19px;
  line-height: 1.72;
}

.home-section-title {
  margin-bottom: 18px;
  font-size: clamp(31px, 3.5vw, 42px);
}

.home-insights-note {
  max-width: 720px;
  color: #4d5659;
}

@media (max-width: 620px) {
  .home-about-copy { font-size: 17px; }
}
