@font-face {
  font-family: Nunito;
  src: url("assets/nunito-750.woff2") format("woff2");
  font-style: normal;
  font-weight: 750;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/inter-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0b2739;
  --deep: #0b3445;
  --teal: #007981;
  --teal-dark: #00626a;
  --aqua: #20d5d1;
  --muted: #405260;
  --line: #d8e2e7;
  --pale: #eaf7f7;
  --white: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.6 Inter, Arial, sans-serif; color: var(--navy); background: var(--white); }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Nunito, Inter, Arial, sans-serif; font-weight: 750; line-height: 1.09; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 3.35vw, 3.15rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.65rem); }
.wrap { width: min(100% - clamp(2rem, 8vw, 10rem), 88rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 3; padding: .7rem 1rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { position: relative; z-index: 2; background: var(--white); border-bottom: 1px solid #e4eaee; }
.header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .55rem 1.35rem; min-height: 5.45rem; padding-block: .65rem; }
.brand { display: block; flex: none; text-decoration: none; }
.brand-logo { width: clamp(8.6rem, 14vw, 12.65rem); height: auto; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem clamp(.9rem, 2.05vw, 2rem); }
nav a { font-size: .94rem; font-weight: 570; text-decoration: none; }
nav a[aria-current], nav a:hover { color: var(--teal-dark); text-decoration: underline; }
.header-actions, .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.header-phone, .button, .button-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.8rem;
  padding: .55rem 1rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  font-weight: 690;
  text-decoration: none;
}
.header-phone { border-color: var(--teal); color: var(--navy); white-space: nowrap; }
.header-phone .icon { color: var(--teal); }
.button { background: var(--teal); color: var(--white); }
.button:hover { background: var(--teal-dark); }
.button-quiet { border-color: currentColor; color: inherit; }
.button-quiet:hover, .header-phone:hover { background: #e9f7f7; color: var(--navy); }
.icon { width: 1.22em; height: 1.22em; flex: none; }

.hero { isolation: isolate; position: relative; background: linear-gradient(115deg, #092d40, #105165); color: var(--white); }
.hero-inner { position: relative; padding-block: clamp(2.6rem, 6vw, 5.2rem); }
.hero:not(.hero-home) h1 { max-width: 23ch; }
.hero-copy { max-width: 61ch; margin-top: .9rem; color: #e8f5f7; font-size: clamp(1rem, 1.55vw, 1.25rem); line-height: 1.48; }
.eyebrow { margin-bottom: .7rem; color: var(--teal-dark); font-size: .88rem; font-weight: 760; letter-spacing: .11em; text-transform: uppercase; }
.hero .eyebrow { color: #c9f9f5; }
.hero .eyebrow::after { display: inline-block; width: 3rem; height: .14rem; margin-left: .8rem; border-radius: 1rem; background: var(--aqua); vertical-align: middle; content: ""; }
.hero-actions, .hero-inner > .button { margin-top: 1.35rem; }
.hero .button, .contact-band .button { background: #007681; }
.hero .button:hover, .contact-band .button:hover { background: #00515d; }
.hero-home { display: grid; grid-template-columns: 1fr; }
.hero-home h1 { max-width: 18ch; }
.hero-home .hero-copy { max-width: 53ch; }
.hero-photo { width: 100%; height: clamp(13rem, 49vw, 22rem); object-fit: cover; object-position: center 54%; }
.hero-points { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin: 1.45rem 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: .45rem; font-size: .89rem; }
.hero-points .icon { color: #b4f5f1; }

.section { padding-block: clamp(2.7rem, 5.3vw, 5rem); }

.area-layout { display: grid; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr); }
.area-map { width: 100%; height: auto; }
.profile {
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.25rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--pale);
}
.profile-photo { width: 100%; max-width: 20rem; height: auto; border-radius: 1rem; }
.profile-role { margin-top: .5rem; color: var(--teal-dark); font-weight: 690; }
@media (min-width: 45rem) {
  .profile { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
}

@media (min-width: 53rem) {
  .area-layout { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); }
}

.services { text-align: center; }
.services > .eyebrow { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.services > .eyebrow::before, .services > .eyebrow::after { width: 2.5rem; height: 1px; background: var(--teal); content: ""; }
.cards, .steps { display: grid; gap: 1.15rem; margin-top: 1.8rem; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
.card { display: flex; border: 1px solid var(--line); border-radius: 1.05rem; background: var(--white); box-shadow: 0 8px 24px #14364409; }
.card-image { width: 100%; aspect-ratio: 2 / 1; border-radius: 1rem 1rem 0 0; object-fit: cover; }
.card-copy { position: relative; display: grid; grid-template-columns: 2.7rem minmax(0, 1fr); align-items: start; gap: .78rem; margin-top: -.75rem; padding: 1rem 1.05rem 1.25rem; border-radius: 1.15rem 1.15rem 0 0; background: var(--white); }
.card-icon { display: grid; place-items: center; width: 2.7rem; aspect-ratio: 1; border-radius: 50%; background: var(--teal-dark); color: var(--white); }
.card-icon .icon { width: 1.5rem; height: 1.5rem; }
.card h3 { text-wrap: initial; }
.card a { text-decoration: none; }
.card:hover h3, .card:focus-within h3 { color: var(--teal-dark); text-decoration: underline; text-underline-offset: .15em; }
.card p, .steps p { margin-top: .55rem; color: var(--muted); }
.feature { padding: clamp(1.6rem, 5vw, 3.75rem); border-radius: 1.1rem; background: linear-gradient(110deg, #e6f5f5, #f2f8fb); }
.feature p:not(.eyebrow), .copy { max-width: 65ch; margin-top: 1rem; color: var(--muted); }
.text-link { display: inline-block; margin-top: 1rem; color: var(--teal-dark); font-weight: 690; }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: 1.35rem; }
.steps li { padding-inline: .2rem .65rem; }
.steps li::marker { color: var(--teal-dark); font-weight: 760; }
.detail-list { max-width: 63ch; margin-top: 1.2rem; padding-left: 1.25rem; }
.detail-list li { margin-top: .5rem; }
.contact-band { padding-block: 2.2rem; background: var(--deep); color: var(--white); }
.contact-band .wrap, .footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.number { display: inline-block; margin-top: .6rem; font-size: 1.15rem; }
.footer { padding-block: 1.3rem; color: var(--muted); }

@media (min-width: 58rem) {
  .hero-home { overflow: hidden; min-height: clamp(26rem, 31vw, 32rem); }
  .hero-home .hero-inner { align-self: center; z-index: 1; padding-block: clamp(2.45rem, 3.5vw, 3.5rem); pointer-events: none; }
  .hero-home .hero-inner > * { max-width: 49%; pointer-events: auto; }
  .hero-home h1 { max-width: min(49%, 22ch); font-size: clamp(2.2rem, 3.52vw, 3.65rem); }
  .hero-photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: 55%;
    height: 100%;
    min-height: 0;
    object-position: right center;
    clip-path: shape(from 18% 0, hline to 100%, vline to 100%, hline to 0, curve to 18% 0 with 10% 88% / 9% 43%, close);
  }
  @supports not (clip-path: shape(from 0 0, line to 100% 100%, close)) {
    .hero-photo { clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 4% 91%, 7% 75%, 10% 53%, 14% 25%); }
  }
}

@media (max-width: 69rem) {
  .header-actions > .button { display: none; }
}

@media (max-width: 53rem) {
  .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 44rem) {
  .header-inner nav { order: 1; flex-basis: 100%; }
  .header-inner { padding-block: .7rem; }
  .hero .eyebrow::after { width: 1.5rem; margin-left: .45rem; }
}

@media (max-width: 34rem) {
  .cards, .steps { grid-template-columns: 1fr; }
  .hero-copy { font-size: 1rem; }
  .header-phone { font-size: .86rem; padding-inline: .55rem; }
}

.service-menu { position: relative; }
.service-menu summary { display: flex; align-items: center; gap: .45rem; color: var(--navy); font-size: .94rem; font-weight: 570; cursor: pointer; list-style: none; }
.service-menu summary::-webkit-details-marker { display: none; }
.service-menu summary::after { width: .4rem; height: .4rem; margin: -.2rem .1rem 0 0; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); content: ""; }
.service-menu[open] summary::after { margin-top: .2rem; transform: rotate(225deg); }
.service-menu summary:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 4px; }
.service-menu-links { position: absolute; z-index: 2; top: calc(100% + .55rem); left: -.65rem; display: grid; gap: .4rem; width: max-content; max-width: calc(100vw - 2rem); padding: .65rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--white); box-shadow: 0 10px 24px #14364420; }
.service-menu-links a { padding: .3rem .4rem; }

.card-link { display: block; width: 100%; border-radius: inherit; }
.card-link:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 2px; }

@media (max-width: 44rem) {
  .service-menu-links { left: 0; }
}
