@font-face {
  font-family: Inter;
  src: url("/assets/inter-regular.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: Inter;
  src: url("/assets/inter-bold.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
}

:root {
  --navy: #003c71;
  --blue: #0084d5;
  --action: #006eaf;
  --ink: #062849;
  --muted: #526477;
  --wash: #f5f8fb;
  --soft-blue: #eaf6fe;
  --line: #dbe7ef;
  --radius: 20px;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, select { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a, button, summary, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
p { line-height: 1.6; }
h1, h2, h3 { font-weight: 700; }
h1, h2 { color: var(--navy); line-height: 1.1; letter-spacing: -.052em; }
h1 { font-size: clamp(42px, 5vw, 61px); }
h2 { font-size: clamp(34px, 4vw, 48px); }
h3 { font-size: 24px; line-height: 1.23; letter-spacing: -.035em; }

.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; inset: 12px auto auto 12px; translate: 0 -180%; }
.skip-link:focus { translate: 0; }

.header { position: relative; z-index: 3; background: white; }
.header-row {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
}
.logo { width: 154px; display: block; }
.logo img { width: 100%; height: auto; }
.header-cta { justify-self: end; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3.1vw, 44px); }
.nav-link, .more summary { white-space: nowrap; font-size: 15px; }
.nav-link:hover, .nav-link[aria-current="page"], .more summary:hover { color: var(--action); }
.more { position: relative; }
.more summary { list-style: none; display: flex; align-items: center; gap: 7px; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  rotate: 45deg;
  margin-bottom: 4px;
}
.more[open] .chevron { rotate: 225deg; margin-bottom: 0; }
.dropdown {
  position: absolute;
  top: calc(100% + 22px);
  right: -70px;
  min-width: 266px;
  display: grid;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  box-shadow: 0 18px 42px #003c711a;
}
.dropdown a, .mobile-menu a { padding: 11px 14px; border-radius: 9px; }
.dropdown a:hover, .mobile-menu a:hover { background: var(--soft-blue); }
.mobile-toggle, .mobile-menu { display: none; }

.btn {
  min-height: 54px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  border: 2px solid var(--action);
  border-radius: 999px;
  background: var(--action);
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
  text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn.outline { color: var(--navy); background: transparent; }
.btn.outline:hover { background: var(--action); border-color: var(--action); color: white; }
.btn.light { color: white; border-color: white; background: transparent; }
.btn.light:hover { background: white; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  width: fit-content;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero {
  padding-top: 88px;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.hero h1 { max-width: 780px; margin-inline: auto; }
.hero .lead { max-width: 470px; margin: 24px auto 0; }
.lead { color: var(--muted); font-size: 17px; }
.hero .actions { justify-content: center; margin-top: 46px; }
.hero-art {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: min(27%, 300px);
  animation: float 9s ease-in-out infinite alternate;
}
.hero-art.left { left: 0; top: 194px; --angle: -8deg; }
.hero-art.right { right: 18px; top: 164px; --angle: 9deg; animation-delay: -4s; }
@keyframes float {
  from { transform: translateY(5px) rotate(var(--angle)); }
  to { transform: translateY(-12px) rotate(0); }
}
.hero-copy { animation: arrive .55s both ease-out; }
@keyframes arrive {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-grid {
  margin-top: 96px;
  display: grid;
  grid-template-columns: .82fr 2fr 1.4fr;
  gap: 28px;
}
.hero-card {
  min-height: 277px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
}
.stat-card {
  padding: 28px;
  background: linear-gradient(145deg, var(--action), var(--navy));
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-card p { font-size: 18px; line-height: 1.3; }
.stat-card strong { font-size: 66px; line-height: 1.12; letter-spacing: -.07em; font-weight: 400; margin-block: 6px; }
.stat-card .btn { margin-top: auto; }
.hero-photo { min-height: 0; }
.hero-photo img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.consult-card {
  background: var(--wash);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  isolation: isolate;
}
.consult-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -9px;
  bottom: -12px;
  width: 196px;
  height: 196px;
  background: #d8eaf9;
  opacity: .8;
  clip-path: polygon(38% 0, 73% 0, 73% 34%, 100% 34%, 100% 74%, 73% 74%, 73% 100%, 38% 100%, 38% 74%, 0 74%, 0 34%, 38% 34%);
}
.consult-card p { color: var(--muted); margin-top: 8px; max-width: 31ch; line-height: 1.5; }
.consult-card .btn { margin-top: auto; background: #fff; }
.consult-card .btn:hover { background: var(--action); }

.section { margin-top: 112px; }
.section-head { display: grid; gap: 14px; justify-items: start; margin-bottom: 32px; }
.section-head.center { text-align: center; justify-items: center; }
.section-head p { max-width: 60ch; }
.kicker { color: var(--action); font-size: 15px; font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 78px); align-items: center; }
.story-photo { width: 100%; height: 440px; object-fit: cover; object-position: center 34%; border-radius: var(--radius); }
.story-copy { display: grid; justify-items: start; gap: 22px; }
.metrics { display: flex; gap: clamp(22px, 4vw, 54px); flex-wrap: wrap; }
.metric { display: grid; gap: 5px; }
.metric strong { color: var(--navy); font-size: 40px; letter-spacing: -.06em; }
.metric span { color: var(--muted); font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--wash);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; }
.card h3 { color: var(--navy); }
.service-card { transition: background .22s ease, transform .22s ease; }
.service-card:hover { background: var(--soft-blue); transform: translateY(-3px); }
.service-mark { width: 40px; height: auto; margin-bottom: 8px; }
.center-action { display: flex; justify-content: center; margin-top: 28px; }

.banner {
  min-height: 238px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(28px, 5.5vw, 62px);
}
.banner h2 { color: #fff; max-width: 600px; }
.banner p { max-width: 64ch; margin-top: 13px; color: #d6ebfb; }
.person-feature { background: var(--soft-blue); border-radius: var(--radius); padding: clamp(24px, 4.5vw, 48px); }
.person-feature .story-photo { height: min(440px, 90vw); }
.person-card { min-height: 148px; justify-content: center; }
.person-card h3 { font-size: 21px; }
.person-card p { font-size: 15px; }
.team-grid { margin-top: 20px; }

.page-hero { padding-block: 78px 42px; text-align: center; }
.page-hero h1 { margin-inline: auto; max-width: 820px; }
.page-hero .kicker { margin-bottom: 12px; }
.page-hero .lead { max-width: 620px; margin: 20px auto 0; }
.page-hero .actions { margin-top: 25px; justify-content: center; }
.page-section { margin-top: 28px; }
.detail { display: grid; gap: 24px; max-width: 810px; }
.detail .card { min-height: auto; }
.detail h2 { font-size: 34px; }
.branch-card address { font-style: normal; color: var(--muted); line-height: 1.6; }
.branch-card .hours { border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; }
.branch-card .actions { margin-top: auto; padding-top: 4px; gap: 10px; }
.branch-card .btn { min-height: 44px; padding: 9px 16px; font-size: 14px; }
.branch-card .text-link { margin-top: 0; }
.contact-panel { background: var(--soft-blue); border-radius: var(--radius); padding: clamp(25px, 5vw, 48px); }
.contact-panel h2 { font-size: clamp(30px, 4vw, 40px); }
.contact-panel p { margin-top: 12px; }
.contact-panel .actions { margin-top: 20px; }

.footer { margin-top: 112px; padding-block: 60px 26px; background: var(--navy); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.footer-logo { width: 166px; }
.footer-col { display: grid; align-content: start; gap: 11px; }
.footer-col p, .footer-col a:not(.btn) { color: #e0edfa; font-size: 14px; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col strong { font-size: 15px; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #ffffff30; padding-top: 20px; margin-top: 42px; color: #e0edfa; font-size: 13px; }

@media (max-width: 1020px) {
  .header-row { gap: 18px; }
  .primary-nav { gap: 20px; }
  .logo { width: 128px; }
  .hero-art { width: 25%; }
  .hero-art.left { top: 207px; }
  .hero-art.right { top: 187px; right: 0; }
  .hero-grid { gap: 17px; }
  .hero-card { min-height: 257px; }
  .stat-card { padding: 22px; }
}

@media (max-width: 820px) {
  .wrap { width: calc(100% - 40px); }
  .header-row { grid-template-columns: 1fr auto; min-height: 67px; }
  .primary-nav, .header-cta { display: none; }
  .mobile-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: transparent;
    border: 0;
    color: var(--navy);
  }
  .mobile-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 1px; }
  .mobile-menu:not([hidden]) { display: grid; gap: 4px; padding-bottom: 18px; }
  .mobile-menu .btn { margin-top: 8px; min-height: 44px; }
  .mobile-menu .btn:hover { background: var(--navy); }
  .hero { padding-top: 60px; }
  .hero h1 { max-width: 620px; }
  .hero-art { display: none; }
  .hero-grid { margin-top: 62px; grid-template-columns: 1fr 1.5fr; }
  .consult-card { grid-column: 1 / -1; }
  .section, .footer { margin-top: 76px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}

@media (max-width: 550px) {
  h1 { font-size: clamp(36px, 10vw, 46px); }
  .hero .actions { display: grid; justify-items: center; margin-top: 36px; gap: 14px; }
  .hero-grid, .split, .cards { grid-template-columns: 1fr; }
  .hero-grid { margin-top: 58px; }
  .hero-card { min-height: 245px; }
  .stat-card { padding: 28px; }
  .consult-card { min-height: 220px; }
  .card { min-height: 176px; }
  .person-card { min-height: 115px; }
  .story-photo { height: auto; aspect-ratio: 1; }
  .page-hero { padding-block: 52px 30px; }
  .page-hero .actions { justify-content: center; }
  .footer-grid { gap: 24px 18px; }
  .footer-col:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
