@font-face { font-family: "DM Sans"; src: url("assets/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #0b3454;
  --hero-ink: #0b203a;
  --muted: #3e596e;
  --mist: #e9f5fd;
  --hero-surface: #e7f2f7;
  --hero-split: 46.4%;
  --blue: #0e6397;
  --border: #cfe4f2;
  --gutter: clamp(20px, 4vw, 58px);
  --hero-gutter: clamp(24px, 3.45vw, 70px);
  --control-font: "Instrument Sans", "DM Sans", Arial, sans-serif;
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: white;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #1377ac; outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--control-font); font-weight: 600; letter-spacing: -.055em; line-height: 1.045; text-wrap: balance; }
h2 { font-size: clamp(2.35rem, 4.1vw, 3.6rem); }
h3 { font-size: clamp(1.8rem, 3.25vw, 3.05rem); }
.wrap { width: min(1320px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: absolute; z-index: 4; inset: 8px auto auto 8px; padding: 10px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { position: absolute; z-index: 2; inset: 27px 0 auto; }
.header-inner { margin-inline: var(--hero-gutter); }
.nav-pill { display: inline-flex; align-items: center; gap: clamp(14px, 2.4vw, 35px); min-height: 62px; padding: 8px clamp(15px, 2vw, 24px) 8px 12px; border: 1px solid white; border-radius: 999px; background: #ffffffed; }
.nav-pill a { font: 600 .95rem/1.2 var(--control-font); white-space: nowrap; text-decoration: none; }
.nav-pill a:not(.brand):hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.brand, .nav-pill .brand { display: inline-flex; align-items: center; gap: 7px; font: 650 clamp(1.2rem, 1.65vw, 1.55rem)/1 var(--control-font); letter-spacing: -.065em; text-decoration: none; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: white; background: var(--navy); font: 700 1.66rem/1 "DM Sans", sans-serif; letter-spacing: 0; padding-bottom: 4px; }
.hero { position: relative; isolation: isolate; min-height: clamp(630px, 88svh, 880px); color: var(--hero-ink); background: var(--hero-surface); }
.hero-inner { display: flex; flex-direction: column; justify-content: space-between; min-height: inherit; width: var(--hero-split); padding: 0 clamp(18px, 2vw, 36px) clamp(28px, 3.2vw, 58px) var(--hero-gutter); }
.hero-copy { padding-block: clamp(132px, 19vh, 190px) 42px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--control-font); font-size: .9rem; font-weight: 650; }
.eyebrow span { color: var(--blue); font-size: 1.5rem; font-weight: 700; line-height: .75; }
.hero h1 { margin-top: 20px; font-size: clamp(2.55rem, 4.35vw, 4.85rem); font-weight: 550; }
.hero-description { max-width: 26ch; margin-top: 22px; color: #314a60; font: 450 clamp(1.2rem, 1.62vw, 1.65rem)/1.28 var(--control-font); text-wrap: pretty; }
.actions { display: flex; gap: 14px 20px; align-items: center; flex-wrap: wrap; }
.hero .actions { margin-top: clamp(24px, 2.4vw, 38px); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; max-width: 100%; padding: 11px 22px; border-radius: 999px; font: 600 1rem/1.2 var(--control-font); text-align: center; text-decoration: none; }
.button-blue { background: var(--blue); color: white; }
.button-blue:hover { background: #0b527e; }
.button-navy { background: var(--navy); color: white; }
.button-navy:hover { background: #204666; }
.hero-secondary, .text-link, .phone { font-weight: 650; text-underline-offset: 4px; }
.hero-secondary:hover, .text-link:hover, .phone:hover { color: var(--blue); }
.review-proof { align-self: flex-start; display: flex; gap: 10px; align-items: baseline; color: var(--muted); font-size: .9rem; text-decoration: none; }
.review-proof:hover { text-decoration: underline; text-underline-offset: 3px; }
.review-proof strong { color: var(--navy); }
.review-stars { color: #825708; font-size: .9rem; white-space: nowrap; letter-spacing: .09em; }
.hero-visual { position: absolute; inset: 0 0 0 auto; width: calc(100% - var(--hero-split)); background: var(--navy); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 59%; }
.hero-location { position: absolute; right: clamp(18px, 2.2vw, 42px); bottom: clamp(18px, 2.2vw, 42px); display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 36px); padding: 8px 16px 8px 8px; border: 1px solid #e2ebf2; border-radius: 18px; background: white; box-shadow: 0 12px 36px #071b2e32; font: 500 .875rem/1.3 var(--control-font); text-decoration: none; }
.hero-location img { width: 78px; height: 68px; border-radius: 11px; object-fit: cover; object-position: center 58%; }
.hero-location span { display: block; color: var(--muted); }
.hero-location strong { display: block; margin-bottom: 5px; color: var(--hero-ink); font-size: 1.1rem; }
.hero-location:hover strong { color: var(--blue); }

.section { padding-block: clamp(64px, 7.5vw, 112px); }
.section h2 { margin-top: 18px; }
.comparison-panel {
  display: grid;
  justify-items: center;
  gap: clamp(25px, 4vw, 45px);
  padding: clamp(24px, 6vw, 85px) clamp(12px, 6vw, 100px);
  border-radius: clamp(22px, 4vw, 50px);
  background: #eeece5;
}
.section-intro { text-align: center; }
.section-intro .eyebrow { justify-content: center; }
.comparison-figure { width: min(100%, 980px); margin: 0; }
.comparison-frame {
  --split: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  border: 1px solid #ffffffb8;
  border-radius: 12px;
  background: #254253;
  box-shadow: 0 8px 22px #222a282b;
}
.comparison-frame:focus-within { outline: 3px solid #1377ac; outline-offset: 5px; }
.comparison-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 64%; }
.comparison-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
/* Match the near and far pool rims across the two camera angles. */
.comparison-before .comparison-photo { transform: translateX(1.5%) scale(1.05, 1.12); transform-origin: 50% 143%; }
.comparison-label {
  position: absolute;
  top: clamp(10px, 2vw, 20px);
  padding: 5px 9px;
  border-radius: 5px;
  color: #17232b;
  background: #ffffffed;
  font: 650 .75rem/1.15 var(--control-font);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.comparison-label-before { left: clamp(10px, 2vw, 20px); }
.comparison-label-after { right: clamp(10px, 2vw, 20px); }
.comparison-divider { position: absolute; inset: 0; pointer-events: none; }
.comparison-divider::before { content: ""; position: absolute; inset: 0 auto 0 var(--split); width: 1px; background: white; }
.comparison-handle {
  position: absolute;
  top: 50%;
  left: clamp(22px, var(--split), calc(100% - 22px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 43px;
  aspect-ratio: 1;
  border-radius: 9px;
  transform: translate(-50%, -50%);
  background: white;
  color: #132c3a;
  box-shadow: 0 3px 13px #0a26313b;
}
.comparison-handle span { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(135deg); }
.comparison-handle span + span { transform: rotate(-45deg); }
.comparison-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.comparison-range::-webkit-slider-thumb { appearance: none; width: 1px; height: 44px; }
.comparison-range::-moz-range-thumb { width: 1px; height: 44px; border: 0; }
.comparison-figure figcaption { margin-top: 14px; color: #45545b; text-align: center; font-size: .875rem; }
.services { background: var(--mist); }
.service-carousel { max-width: 1110px; margin: clamp(28px, 4vw, 52px) auto 0; }
.carousel-track { position: relative; display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 17px; }
.carousel-track::-webkit-scrollbar { display: none; }
.service-card {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  flex: 0 0 calc((100% - 8px) / 3);
  min-width: 0;
  min-height: clamp(325px, 38vw, 450px);
  overflow: hidden;
  color: white;
  background: var(--navy);
  scroll-snap-align: start;
}
.service-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, #0719234d 50%, #071923ed 100%); }
.service-copy { padding: clamp(17px, 2.7vw, 34px); }
.service-copy h3 { font-size: clamp(1.65rem, 2.8vw, 2.55rem); text-wrap: balance; }
.service-copy p { max-width: 28ch; margin-top: 9px; font-size: 1rem; line-height: 1.4; }
.service-copy .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: #fff; }
.service-copy .text-link:hover { color: #c0eaff; }
.service-copy a:focus-visible { outline-color: #bfe9ff; }
.carousel-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 17px; }
.carousel-button { justify-self: start; min-height: 44px; padding: 6px 15px; border: 1px solid #a9c6d9; border-radius: 999px; background: transparent; color: var(--navy); font: 650 .9rem/1 var(--control-font); cursor: pointer; }
.carousel-button:last-child { justify-self: end; }
.carousel-button:hover:not([aria-disabled="true"]) { background: white; }
.carousel-button[aria-disabled="true"] { opacity: .52; cursor: default; }
.carousel-dots { display: flex; }
.carousel-dots button { display: grid; place-items: center; width: 34px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.carousel-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #82a5bb; }
.carousel-dots button[aria-current="true"]::before { background: var(--navy); box-shadow: 0 0 0 3px #c5dfed; }
.contact-panel { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 560px; padding: clamp(15px, 3.65vw, 50px); overflow: hidden; border-radius: 15px; background: #29688d; }
.contact-image { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.contact-card { max-width: 570px; padding: clamp(24px, 4.45vw, 60px); border-radius: 13px; background: white; }
.contact-card .actions { margin-top: 22px; }
.contact-card > p:not(.eyebrow) { margin-top: 21px; color: var(--muted); font-size: 1.0625rem; line-height: 1.62; }
.contact-form { display: grid; gap: 8px; margin-top: 23px; }
.contact-form label { font: 650 .925rem/1.4 var(--control-font); }
.contact-form-row { display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 8px; }
.contact-form-row input { width: 100%; min-width: 0; min-height: 52px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; font: inherit; color: var(--navy); }
.contact-form-row input::placeholder { color: var(--muted); opacity: 1; }
.contact-submit { width: 52px; aspect-ratio: 1; padding: 0; border: 0; font-size: 1.35rem; cursor: pointer; }
#contact-hint { color: var(--muted); font-size: .875rem; }
.phone { white-space: nowrap; }
.footer { padding: clamp(28px, 4vw, 52px) 0 22px; color: white; background: var(--navy); }
.footer-inner, .footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.footer-inner p { margin-top: 8px; color: #c5d4e0; font-size: .875rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; }
.footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { padding-top: 15px; margin-top: 23px; border-top: 1px solid #54748c; color: #c5d4e0; }
.footer :focus-visible { outline-color: #94d5ff; }

@media (max-width: 760px) {
  .site-header { position: relative; inset: auto; padding-top: 14px; background: var(--hero-surface); }
  .nav-pill { min-height: 50px; }
  .brand-mark { width: 30px; height: 30px; font-size: 1.48rem; }
  .hero { min-height: 0; }
  .hero-inner { width: 100%; padding: 0 var(--hero-gutter) 26px; }
  .hero-copy { padding-block: 34px 24px; }
  .hero h1 { max-width: 16ch; margin-top: 14px; font-size: clamp(2.6rem, 8.2vw, 4.45rem); }
  .hero-break { display: none; }
  .hero-description { margin-top: 16px; }
  .hero-visual { position: relative; width: 100%; height: clamp(320px, 74vw, 530px); }
  .hero-location { grid-template-columns: 58px 1fr; gap: 10px; border-radius: 14px; }
  .hero-location img { width: 58px; height: 49px; border-radius: 8px; }
  .comparison-frame { aspect-ratio: 6 / 5; }
  .comparison-before .comparison-photo { transform-origin: 50% 118%; }
  .service-card { flex-basis: 82%; min-height: clamp(320px, 105vw, 450px); }
  .contact-panel { align-items: end; padding-top: 122px; min-height: 0; }
}
@media (max-width: 400px) {
  .nav-pill { gap: 12px; }
  .nav-pill a { font-size: .875rem; }
  .nav-pill .brand { font-size: 1.16rem; }
  .contact-card { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
