:root {
  --ink: #0f263a;
  --forest: #1a5d9a;
  --forest-2: #052c50;
  --lake: #578fbf;
  --cream: #eff5fa;
  --paper: #fbfcfe;
  --sand: #d8ebfa;
  --line: rgba(5, 44, 80, 0.16);
  --muted: #52687b;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(5, 44, 80, 0.16);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: white;
  text-decoration: none;
}
.brand img { width: 54px; height: 44px; object-fit: contain; filter: invert(1); }
.brand span { display: grid; line-height: 1.15; }
.brand b { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; }
.brand small { margin-top: 4px; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.62rem; opacity: 0.76; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 42px); }
.site-header nav a { text-decoration: none; font-size: 0.84rem; font-weight: 600; }
.site-header nav a:not(.nav-cta) { opacity: 0.84; }
.site-header nav a:not(.nav-cta):hover { opacity: 1; }
.nav-cta { border: 1px solid rgba(255,255,255,.72); border-radius: 999px; padding: 10px 17px; }
.nav-cta:hover { background: white; color: var(--forest); }
.menu-toggle { display: none; }

.hero {
  min-height: min(880px, 100svh);
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  background: var(--forest) url("assets/hero.webp") center 34% / cover no-repeat;
  overflow: hidden;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 34, 62, .91) 0%, rgba(7, 58, 103, .64) 45%, rgba(10, 65, 114, .16) 76%), linear-gradient(0deg, rgba(2, 27, 50, .58) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 48px));
  margin-left: clamp(24px, 9vw, 148px);
  padding: 142px 0 130px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--lake);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #b8d8f1; }
.hero h1, .section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 { font-size: clamp(4.1rem, 9vw, 8.6rem); }
.hero-copy {
  max-width: 620px;
  margin: 28px 0 34px;
  color: rgba(255,255,255,.84);
  font-size: clamp(1.05rem, 1.55vw, 1.34rem);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--sand); color: var(--forest-2); }
.button-primary:hover { background: #f2f8fd; }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.58); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button-ghost:hover { background: white; color: var(--forest); }
.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 25px;
  text-underline-offset: 5px;
  font-size: 0.86rem;
  color: rgba(255,255,255,.8);
}
.hero-proof {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 clamp(24px, 5vw, 80px);
  border-top: 1px solid rgba(255,255,255,.28);
}
.hero-proof span { padding: 20px 26px 24px; color: rgba(255,255,255,.68); font-size: 0.72rem; letter-spacing: .04em; }
.hero-proof span + span { border-left: 1px solid rgba(255,255,255,.28); }
.hero-proof b { color: white; display: block; margin-bottom: 2px; font-size: 0.86rem; }

.section { padding: clamp(86px, 10vw, 160px) clamp(24px, 7vw, 112px); }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 80px; align-items: end; max-width: 1240px; margin: 0 auto 58px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -2px; }
.section h2 { font-size: clamp(3rem, 5.4vw, 5.5rem); color: var(--forest); }
.section-heading > p:last-child { margin: 0 0 6px; color: var(--muted); font-size: 1.1rem; max-width: 480px; }

.services { background: var(--cream); }
.path-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path-card { position: relative; min-height: 540px; padding: clamp(32px, 4vw, 58px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.54); overflow: hidden; }
.path-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -110px; border: 1px solid rgba(26,93,154,.2); border-radius: 50%; box-shadow: 0 0 0 34px rgba(26,93,154,.04), 0 0 0 68px rgba(26,93,154,.025); }
.path-card-dark { background: var(--forest); color: white; border-color: transparent; box-shadow: var(--shadow); }
.path-card-dark::after { border-color: rgba(255,255,255,.18); box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 68px rgba(255,255,255,.02); }
.path-number { position: absolute; right: 38px; top: 29px; font-family: var(--font-serif); font-size: 2.2rem; color: rgba(26,93,154,.19); }
.path-card-dark .path-number { color: rgba(255,255,255,.2); }
.path-card h3 { max-width: 480px; margin: 0 0 18px; font-family: var(--font-serif); font-size: clamp(2.5rem, 4vw, 4.2rem); font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.path-card > p:not(.eyebrow) { max-width: 510px; color: var(--muted); }
.path-card-dark > p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.path-card ul { list-style: none; padding: 15px 0 0; margin: 0; display: grid; gap: 10px; }
.path-card li { position: relative; padding-left: 22px; font-size: .94rem; }
.path-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border: 1px solid var(--lake); border-radius: 50%; }
.card-actions { position: absolute; z-index: 2; left: clamp(32px, 4vw, 58px); right: clamp(32px, 4vw, 58px); bottom: 46px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.button-dark { background: var(--forest); color: white; }
.button-dark:hover { background: var(--forest-2); }
.button-light { background: var(--sand); color: var(--forest-2); }
.text-button { border: 0; padding: 8px 0; background: none; color: inherit; cursor: pointer; font-weight: 700; font-size: .88rem; text-decoration: none; }
.text-button span { margin-left: 6px; }

.testimonial { max-width: 1160px; margin: 90px auto 0; display: grid; grid-template-columns: auto 1fr auto; gap: 24px 34px; align-items: start; }
.quote-mark { font-family: var(--font-serif); font-size: 9rem; line-height: .65; color: var(--lake); opacity: .85; }
.testimonial blockquote { margin: 0; max-width: 850px; font-family: var(--font-serif); font-size: clamp(1.65rem, 2.7vw, 2.55rem); line-height: 1.23; letter-spacing: -.02em; }
.testimonial p { margin: 18px 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quote-controls { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.quote-controls button { border: 1px solid var(--line); background: transparent; border-radius: 50%; width: 42px; height: 42px; cursor: pointer; }
.quote-controls button:hover { background: white; }
.quote-controls span { font-size: .74rem; color: var(--muted); min-width: 30px; text-align: center; }

.story { background: var(--paper); padding-bottom: 0; }
.story-intro { max-width: 960px; margin: 0 auto 74px; text-align: center; }
.story-intro > p:not(.eyebrow) { max-width: 760px; margin: 26px auto 30px; font-size: 1.1rem; color: var(--muted); }
.area-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.area-list span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; color: var(--forest); font-size: .75rem; font-weight: 600; }
.team-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.person-card { display: grid; grid-template-columns: minmax(150px, 43%) 1fr; min-height: 450px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.portrait { min-height: 100%; overflow: hidden; background: #d8d5ca; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.84); }
.person-copy { padding: 38px 32px; align-self: center; }
.person-copy h3 { margin: 0; font-family: var(--font-serif); font-size: 2rem; font-weight: 500; line-height: 1.1; }
.person-copy .role { margin: 8px 0 22px; color: var(--forest); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.person-copy > p:not(.role) { color: var(--muted); font-size: .88rem; }
.person-copy a { display: block; width: fit-content; margin-top: 6px; font-size: .82rem; font-weight: 700; text-underline-offset: 4px; }

.contact-panel { position: relative; top: 90px; max-width: 1240px; margin: 0 auto; padding: clamp(34px, 5vw, 70px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 8vw, 110px); border-radius: 28px; color: white; background: var(--forest); box-shadow: var(--shadow); }
.contact-panel h2 { color: white; font-size: clamp(2.8rem, 4.5vw, 4.5rem); }
.contact-panel > div > p:not(.eyebrow) { color: rgba(255,255,255,.68); max-width: 500px; }
.direct-contact { margin-top: 32px; display: grid; gap: 8px; }
.direct-contact a { display: flex; justify-content: space-between; max-width: 360px; color: white; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 8px; font-size: .82rem; }
.direct-contact span { color: rgba(255,255,255,.58); }
form { display: grid; gap: 17px; }
form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
form legend, .field { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); }
form legend { width: 100%; margin-bottom: 7px; }
form fieldset label { cursor: pointer; }
form fieldset input { position: absolute; opacity: 0; pointer-events: none; }
form fieldset span { display: block; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 14px; font-size: .76rem; }
form fieldset input:checked + span { background: var(--sand); color: var(--forest); border-color: var(--sand); }
.field { display: grid; gap: 6px; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); background: transparent; color: white; padding: 8px 0 10px; outline: none; text-transform: none; letter-spacing: 0; border-radius: 0; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--sand); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.36); }
form .button { justify-self: start; }
.form-note { margin: -6px 0 0; font-size: .72rem; color: rgba(255,255,255,.5); }

footer { padding: 150px clamp(24px, 7vw, 112px) 48px; display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; background: #042a4a; color: rgba(255,255,255,.6); font-size: .75rem; }
.footer-brand { color: white; font-family: var(--font-serif); font-size: 1.25rem; text-decoration: none; }
footer p { margin: 0; }
footer > div { display: flex; gap: 18px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.path-card.is-focused { animation: focusPulse 1.2s ease; }
@keyframes focusPulse { 0%,100% { box-shadow: none; } 42% { box-shadow: 0 0 0 6px rgba(121,180,180,.32); } }

@media (max-width: 980px) {
  .site-header { height: 80px; }
  .site-header nav { position: fixed; inset: 0; z-index: -1; padding: 120px 30px 40px; background: var(--forest-2); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 24px; transform: translateY(-100%); transition: transform .35s ease; }
  .site-header nav a { font-family: var(--font-serif); font-size: 2.3rem; font-weight: 500; }
  .site-header nav .nav-cta { font-family: var(--font-sans); font-size: .9rem; margin-top: 10px; }
  .site-header nav.is-open { transform: translateY(0); }
  .menu-toggle { position: relative; z-index: 2; display: grid; width: 46px; height: 46px; place-content: center; gap: 6px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(0,0,0,.08); }
  .menu-toggle span { width: 19px; height: 1px; background: white; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: 820px; background-position: 62% center; }
  .hero-proof { grid-template-columns: 1fr; bottom: 12px; }
  .hero-proof span { display: none; }
  .hero-proof span:first-child { display: block; border: 0; padding-left: 0; }
  .section-heading, .path-grid, .team-grid, .contact-panel { grid-template-columns: 1fr; }
  .section-heading { gap: 22px; }
  .path-card { min-height: 520px; }
  .testimonial { grid-template-columns: auto 1fr; }
  .quote-controls { grid-column: 2; }
  .person-card { min-height: 400px; }
  footer { grid-template-columns: 1fr; gap: 9px; }
}

@media (max-width: 640px) {
  .brand b { font-size: 1.05rem; }
  .brand small { font-size: .54rem; }
  .brand img { width: 42px; height: 34px; }
  .hero { min-height: 790px; background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,34,62,.89), rgba(7,58,103,.44)), linear-gradient(0deg, rgba(2,27,50,.74), transparent 55%); }
  .hero-content { width: calc(100% - 42px); margin-left: 21px; padding-top: 120px; }
  .hero h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .hero-copy { margin-top: 22px; font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-proof { margin: 0 21px; }
  .section { padding-left: 20px; padding-right: 20px; }
  .section-heading { margin-bottom: 36px; }
  .section h2 { font-size: 3.25rem; }
  .path-card { min-height: 570px; padding: 34px 28px; }
  .path-card h3 { font-size: 3rem; }
  .card-actions { left: 28px; right: 28px; bottom: 30px; display: grid; }
  .card-actions .button { width: 100%; }
  .testimonial { margin-top: 72px; grid-template-columns: 1fr; gap: 8px; }
  .quote-mark { font-size: 6rem; }
  .quote-controls { grid-column: 1; }
  .person-card { grid-template-columns: 1fr; }
  .portrait { height: 390px; }
  .person-copy { padding: 30px 26px 34px; }
  .contact-panel { top: 72px; margin-inline: -1px; border-radius: 22px; padding: 34px 24px; }
  .direct-contact a { display: grid; }
  form .button { width: 100%; }
  footer { padding-top: 126px; }
  footer > div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
