:root {
  color-scheme: light;
  --navy: #10253d;
  --deep: #0b1d32;
  --ink: #132843;
  --body: #40556c;
  --blue: #075ba8;
  --bright: #1375ce;
  --sky: #aedcff;
  --pale: #f1f6fa;
  --line: #d8e3ed;
  --white: #fff;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #1381e3; outline-offset: 4px; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: 1.22rem; letter-spacing: -.02em; }
p { color: var(--body); }
p + p { margin-top: .9rem; }
.wrap { width: min(100% - 4rem, 76rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 6.6vw, 6rem); }
.light-section { background: var(--pale); }
.eyebrow {
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow + h2 { margin-top: .8rem; }
.lede { font-size: clamp(1.08rem, 1.75vw, 1.26rem); line-height: 1.55; }
.skip { position: fixed; z-index: 10; inset: .7rem auto auto .7rem; transform: translateY(-160%); background: white; padding: .6rem 1rem; }
.skip:focus { transform: none; }

.utility { background: var(--deep); color: #d9e9f8; font-size: .875rem; }
.utility-inner, .utility-inner div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.utility-inner { min-height: 2.25rem; }
.utility-inner div { gap: 1.45rem; }
.utility a { color: white; font-weight: 600; text-decoration: none; white-space: nowrap; }
.utility a:hover { text-decoration: underline; }
.utility-divider { margin-inline: .3rem; color: #8bbbe3; }
.site-header { position: relative; z-index: 2; background: white; border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.35rem; min-height: 5rem; }
.brand { flex: 0 0 auto; width: clamp(8rem, 15vw, 11.5rem); display: block; }
#primary { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem clamp(.8rem, 2vw, 1.8rem); }
#primary a { color: var(--ink); text-decoration: none; font-size: .91rem; font-weight: 650; white-space: nowrap; }
#primary a:is(:hover, .section-current) { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
#primary .mobile-client, .menu-toggle { display: none; }

.buttons { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.15rem; margin-top: 1.6rem; }
.button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .3rem;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: .96rem;
  text-align: center;
  text-decoration: none;
  line-height: 1.33;
}
.button:hover { background: #044882; }
.button-small { min-height: 2.65rem; padding: .52rem 1rem; white-space: nowrap; }
.button-ghost { border-color: #97b6d2; background: transparent; }
.button-ghost:hover { background: #203b56; }
.button-outline { color: var(--blue); border-color: #98b5cf; background: white; }
.button-outline:hover { background: #e9f3fb; }
.text-link { color: var(--blue); font-weight: 670; text-decoration: underline; text-underline-offset: .23em; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: white; }
.hero-image { position: absolute; inset: 0 0 0 clamp(40%, 45vw, 48%); z-index: -1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 64%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, #0b1d32 0%, #102842 43%, #122c46 46%, #102842aa 54%, #10284223 74%, transparent); }
.hero-inner { position: relative; min-height: clamp(28rem, 40vw, 35rem); display: flex; align-items: center; padding-block: 4rem; }
.hero-content { max-width: 45rem; }
.hero .eyebrow { color: #b2dbff; margin-bottom: 1.05rem; }
.hero h1 { font-size: clamp(2.75rem, 5.55vw, 5.45rem); line-height: 1.01; max-width: 16ch; }
.hero h1 span { color: var(--sky); }
.hero .lede { color: #e1edf8; max-width: 29rem; margin-top: 1.35rem; }
.hero .button:not(.button-ghost) { background: #0b66b6; }
.hero .button:not(.button-ghost):hover { background: #08508f; }
.hero .buttons { margin-top: 1.9rem; }
.proof { border-bottom: 1px solid var(--line); background: #f2f7fc; }
.proof-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-inner > div { display: grid; gap: .25rem; padding: 1.2rem clamp(.8rem, 2.2vw, 2rem); border-left: 1px solid var(--line); }
.proof-inner > div:first-child { border-left: 0; padding-left: 0; }
.proof-inner > div > span { color: var(--body); font-size: .94rem; }
.proof-inner a { color: #234c70; }
.proof-dot { margin-inline: .15rem; }

.section-heading { margin-bottom: 1.85rem; max-width: 50rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: .5rem; }
.service-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.service-card a:focus-visible { outline-offset: -4px; }
.service-card img { width: 100%; object-fit: cover; object-position: center top; aspect-ratio: 4 / 3; }
.service-card a > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 1.35rem 1.35rem 1.5rem; }
.service-card h3 { font-size: 1.42rem; }
.service-card p { margin: .65rem 0 1rem; }
.service-card .text-link { margin-top: auto; font-size: .95rem; }
.service-card:hover { border-color: #8eafcc; background: #f7fbff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5.5vw, 5.6rem); align-items: center; }
.split p:not(.eyebrow) { max-width: 41rem; }
.split h2 + p { margin-top: 1rem; }
.feature-image { border-radius: .5rem; overflow: hidden; background: #d8e6f2; }
.feature-image img { width: 100%; height: auto; }
.about-home { grid-template-columns: .95fr 1.05fr; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
.support-grid > div { padding: 1.5rem; border: 1px solid var(--line); border-radius: .45rem; }
.support-grid h2 { font-size: 1.7rem; }
.support-grid p { margin: .6rem 0 .8rem; }
.action-band { background: var(--navy); color: white; }
.action-inner { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; padding-block: 2.5rem; }
.action-inner h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.action-inner p { color: #d2e4f5; margin-top: .55rem; }
.action-inner .button { background: white; color: var(--navy); }
.action-inner .button:hover { background: #dceffa; }

.inner-hero { background: var(--pale); border-bottom: 1px solid var(--line); padding-block: 1.2rem clamp(2.9rem, 6vw, 5rem); }
.inner-hero h1 { margin-top: clamp(1.6rem, 4vw, 3.3rem); font-size: clamp(2.45rem, 5.4vw, 4.5rem); max-width: 58rem; }
.inner-hero .lede { margin-top: .9rem; max-width: 47rem; }
.inner-hero .button { margin-top: 1.35rem; }
.breadcrumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .55rem; font-size: .88rem; }
.breadcrumbs li:not(:first-child)::before { content: "/"; margin-right: .55rem; color: #53708a; }
.breadcrumbs li[aria-current] { color: var(--body); }
.editorial { grid-template-columns: 1.22fr .78fr; }
.tiles, .detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.05rem; margin-top: 1.6rem; }
.tile, .detail-grid > section { color: inherit; border: 1px solid var(--line); background: white; text-decoration: none; border-radius: .4rem; padding: 1.3rem; }
.tile:hover { border-color: #85a9c9; background: #f6fbff; }
.tile h3 { color: var(--blue); }
.tile:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.tile p, .detail-grid p { margin-top: .55rem; }
.detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose > * { max-width: 48rem; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); margin-bottom: .75rem; }
.prose h2:not(:first-child) { margin-top: 1.8rem; }
.prose > .text-link { display: inline-block; margin-top: 1rem; }
.note { padding: .9rem 1rem; background: var(--pale); border-left: 3px solid var(--blue); margin-top: 1.35rem; }
.faq { margin-top: 1.2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: .95rem .2rem; }
.faq summary { color: var(--ink); cursor: pointer; font-weight: 670; }
.faq details p { margin-top: .6rem; }

.team-grid { margin-top: 1.3rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.team-card { border-radius: .45rem; border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 1rem; }
.team-card img { width: 100%; aspect-ratio: 179 / 205; object-fit: contain; object-position: center top; }
.team-card > div { padding: 1rem; }
.team-card .role { color: var(--ink); font-weight: 600; margin-top: .35rem; }
.team-card .text-link { display: inline-block; margin-top: .7rem; }

.contact-grid, .quote-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr); gap: clamp(1.5rem, 4vw, 3.6rem); align-items: start; }
.quote-grid h2, .contact-grid h2 { font-size: clamp(1.5rem, 2.9vw, 2.2rem); }
.panel { min-width: 0; padding: clamp(1.15rem, 3vw, 1.8rem); background: var(--pale); border: 1px solid var(--line); border-radius: .5rem; }
.panel h2 + p, .panel h3 + p { margin-top: .65rem; }
.panel h3 { margin-top: 1.3rem; }
.panel .text-link { display: inline-block; margin-top: .65rem; }
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.15rem; margin-block: 1.25rem; }
.contact-list dt { font-weight: 650; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.office { margin-block: .9rem 1.2rem; }
.office h3 { margin: 0 0 .25rem; }
.office address { color: var(--body); font-style: normal; }
.phone-link { font-size: 1.37rem; font-weight: 760; }
.quote-form { padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: .55rem; }
.form-heading { margin-bottom: 1.25rem; }
.form-heading p { margin-top: .4rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 1rem; }
.field { display: grid; align-content: start; gap: .35rem; font-size: .93rem; font-weight: 650; }
.fields .full { grid-column: 1 / -1; }
.field :is(input, select, textarea) {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid #9bb1c5;
  border-radius: .28rem;
  padding: .5rem .65rem;
  background: white;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 450;
}
.field select {
  appearance: none;
  padding-right: 2.15rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23284f71' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: right .65rem center;
  background-repeat: no-repeat;
}
.field textarea { resize: vertical; }
.field span, .form-note, .quote-context { font-size: .875rem; font-weight: 450; color: var(--body); }
.conditional { min-width: 0; margin: 0; padding: .65rem .8rem .85rem; border: 1px solid var(--line); border-radius: .3rem; }
.conditional legend { font-weight: 650; padding-inline: .3rem; }
.form-note { margin-block: 1rem; }

.form-error { margin-top: .9rem; color: #932626; font-weight: 650; }
.quote-form button:disabled { cursor: wait; opacity: .75; }
.request-card { margin-block: 1rem; overflow-wrap: anywhere; }
.request-card pre { font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 0; }

.footer { background: #eff5fa; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .9fr 1fr; gap: 1.25rem; padding-block: 2.5rem 2rem; }
.footer h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: .7rem; }
.footer section > a:not(.brand) { display: block; width: fit-content; margin-top: .28rem; }
.footer .brand { width: min(100%, 10rem); }
.footer-brand p { margin-top: .75rem; }
.footer a { color: #264c6d; }
.footer-bottom { padding-block: .9rem 1.1rem; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .7rem 1.3rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--body); }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }

@media (max-width: 70rem) {
  .site-header-inner { flex-wrap: wrap; min-height: 4.5rem; padding-block: .85rem; gap: .7rem; }
  .site-header-inner .brand { margin-right: auto; }
  #primary { order: 3; width: 100%; justify-content: flex-start; padding-block: .35rem .15rem; }
  #primary a { padding: .4rem .25rem; }
  #primary .mobile-client { display: inline-block; }
  .menu-enhanced #primary:not(.is-open) { display: none; }
  .menu-enhanced .menu-toggle {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 2.7rem;
    padding: .4rem .65rem; border: 1px solid var(--line); border-radius: .3rem;
    background: white; color: var(--ink); font-size: .9rem; font-weight: 650;
  }
  .menu-icon { width: .9rem; height: .65rem; border-block: 2px solid currentColor; position: relative; }
  .menu-icon::before { content: ""; position: absolute; left: 0; top: calc(50% - 1px); width: 100%; border-top: 2px solid currentColor; }
  .hero::before { background: linear-gradient(90deg, #0b1d32 2%, #102842 40%, #102842be 58%, #10284225 86%); }
}

@media (max-width: 46rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .utility-inner { justify-content: flex-end; }
  .utility-inner > span { display: none; }
  .site-header-inner { gap: .45rem; }
  #primary { display: grid; gap: .2rem; }
  #primary a { min-height: 2.65rem; }
  .hero-image { position: absolute; inset: auto 0 0; height: 12.75rem; }
  .hero-image img { object-position: center 64%; }
  .hero::before { inset: auto 0 0; height: 13rem; background: linear-gradient(180deg, var(--navy), #10253d20 38%, transparent 62%); }
  .hero-inner { display: block; min-height: 0; padding-block: 3.2rem 13.5rem; }
  .hero h1 { max-width: 17ch; }
  .hero-break { display: none; }
  .proof-inner { grid-template-columns: 1fr; padding-block: .5rem; }
  .proof-inner > div { padding: .65rem 0; border-left: none; }
  .proof-inner > div + div { border-top: 1px solid var(--line); }
  .service-grid, .split, .support-grid, .contact-grid, .quote-grid { grid-template-columns: 1fr; }
  .about-home .feature-image { order: 2; }
  .tiles, .team-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-aside { order: 2; }
}

@media (max-width: 26rem) {
  .utility { font-size: .8rem; }
  .button-small { padding-inline: .55rem; font-size: .85rem; }
  .site-header-inner .brand { width: 7rem; }
  .tiles, .detail-grid, .fields { grid-template-columns: 1fr; }
  .contact-list { gap: .55rem .65rem; }
}
.office-photo { width: 100%; height: auto; border-radius: .35rem; margin-top: 1rem; }
.prose blockquote { margin: 1rem 0 .35rem; border-left: .2rem solid var(--blue); padding-left: 1rem; }


#primary { gap: .4rem clamp(.55rem, 1.1vw, 1.1rem); }
#primary .nav-group { position: relative; }
#primary .nav-group summary {
  display: flex; align-items: center; gap: .42rem; list-style: none;
  padding: .65rem .15rem; white-space: nowrap; cursor: pointer;
  color: var(--ink); font-size: .88rem; font-weight: 650;
}
#primary summary::-webkit-details-marker { display: none; }
#primary .nav-group summary::after {
  content: ""; width: .38rem; height: .38rem; flex: 0 0 auto;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
#primary .nav-group[open] summary::after { transform: translateY(1px) rotate(225deg); }
#primary .nav-group summary:hover, #primary .nav-group[open] summary { color: var(--blue); }
#primary .nav-submenu {
  display: none; position: absolute; z-index: 3; top: 100%; left: 0;
  min-width: 14rem; padding: .35rem; background: #fff;
  border: 1px solid var(--line); border-radius: .55rem;
  box-shadow: 0 12px 28px #102d4829;
}
#primary .nav-group[open] > .nav-submenu { display: grid; gap: .12rem; }
#primary .nav-group:last-child > .nav-submenu { left: auto; right: 0; }
#primary .nav-submenu a { padding: .56rem .7rem; border-radius: .3rem; white-space: normal; }
#primary .nav-submenu a:is(:hover, :focus-visible) { background: #edf5fc; }
@media (min-width: 70.001rem) {
  #primary { flex-wrap: nowrap; }
  .header-quote { flex-shrink: 0; }
}
@media (max-width: 70rem) {
  #primary .nav-group summary { padding: .55rem .25rem; }
  #primary .nav-submenu { position: static; min-width: 0; box-shadow: none; }
}
