@font-face {
  font-family: Sora;
  src: url("../assets/fonts/sora-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: only light;
  --slate: #142B40;
  --cobalt: #275DCE;
  --yellow: #F4C542;
  --white: #FFFFFF;
  --mist: #F0F3F6;
  --graphite: #17212B;
  --rule: color-mix(in srgb, var(--slate) 16%, var(--white));
  --deep-slate: color-mix(in srgb, var(--slate) 78%, #000);
  --font-body: Montserrat, system-ui, sans-serif;
  --font-title: Sora, system-ui, sans-serif;
  --gutter: clamp(1.25rem, 3.6vw, 4.5rem);
  --header-inset: clamp(0.75rem, 3.4vw, 1.25rem);
  --header-top: clamp(0.7rem, 3vw, 1.2rem);
  --header-height: 4.25rem;
  --header-radius: 0.85rem;
  --mobile-header-space: calc(var(--header-top) + var(--header-height) + 0.75rem);
  --motion: 150ms ease-out;
  --quick-expanded-width: 7.5rem;
  --quick-clearance: calc(var(--quick-expanded-width) + 0.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font: 400 1rem/1.5 var(--font-body);
}

h1, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
a[aria-disabled="true"] { cursor: default; }

:where([data-demo-phone]) {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: inherit;
}

.phone-status {
  position: fixed;
  z-index: 4;
  inset: auto 1rem calc(1rem + env(safe-area-inset-bottom));
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin-inline: auto;
  padding: 0.7rem 1rem;
  border-radius: 0.55rem;
  background: var(--deep-slate);
  color: var(--white);
  box-shadow: 0 4px 16px rgb(10 28 43 / 20%);
  font-size: 0.875rem;
  text-align: center;
  pointer-events: none;
}

.phone-status:empty { opacity: 0; }

:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 5;
  inset: 0.5rem auto auto 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--slate);
}

.icon { display: inline-block; flex: none; vertical-align: middle; }

.nearby-photo__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 0.75rem;
  background: var(--mist);
  color: var(--slate);
  font-size: 0.8rem;
  text-align: center;
  text-decoration: underline;
}

noscript:has(img) + .nearby-photo__fallback { display: none; }


.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: clamp(3.15rem, 3.82vw, 4.1rem);
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 1.15vw, 1.1rem);
  padding: 0.68rem clamp(1.65rem, 2.15vw, 2.35rem);
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(0.69rem, 0.94vw, 1rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.button__arrow { width: 1.25em; height: 1.25em; }

.button__shape {
  position: absolute;
  z-index: -1;
  inset: 0 0.9rem;
  overflow: hidden;
  border-radius: 0.52rem;
  transform: skewX(-24deg);
  transition: background-color var(--motion);
  pointer-events: none;
}

.button--primary {
  --button-fill: var(--yellow);
  color: var(--slate);
}
.button--primary .button__shape { background-color: var(--button-fill); }
.button--secondary { color: var(--white); }
.button--secondary .button__shape { border: 1.5px solid var(--white); }

.button--compact {
  min-height: 2.95rem;
  max-inline-size: 100%;
  padding-inline: clamp(1.65rem, 2.15vw, 2.35rem);
  font-size: clamp(0.67rem, 0.78vw, 0.83rem);
}

.button--animated {
  --sweep-fill: color-mix(in srgb, var(--yellow) 81%, var(--white));
  --arrow-rise: -3px;
  --sweep-x: -103%;
  --arrow-shift: none;
}

.button--animated.button--secondary {
  --sweep-fill: rgb(255 255 255 / 12%);
  --arrow-rise: 0px;
}

.button--animated .button__shape::before {
  position: absolute;
  inset: 0;
  background: var(--sweep-fill);
  content: "";
  transform: translateX(var(--sweep-x));
  transition: transform 260ms cubic-bezier(0.25, 0.65, 0.35, 1);
}

.button--animated .button__arrow {
  transform: var(--arrow-shift);
  transition: transform 260ms cubic-bezier(0.25, 0.65, 0.35, 1);
}

.button--animated:focus-visible {
  --sweep-x: 0%;
  --arrow-shift: translate(4px, var(--arrow-rise));
}

.button--primary:not(.button--animated):focus-visible {
  --button-fill: color-mix(in srgb, var(--yellow) 88%, var(--white));
}

@media (hover: hover) and (pointer: fine) {
  .button--animated:hover {
    --sweep-x: 0%;
    --arrow-shift: translate(4px, var(--arrow-rise));
  }

  .button--primary:not(.button--animated):hover {
    --button-fill: color-mix(in srgb, var(--yellow) 88%, var(--white));
  }
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.25vw, 1.15rem);
  font-size: clamp(0.73rem, 1.15vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  width: clamp(1.55rem, 4.25vw, 4.2rem);
  height: 3px;
  flex: none;
  background: var(--yellow);
  content: "";
}

.site-shell { display: grid; isolation: isolate; }
.site-header, .site-shell > main { grid-area: 1 / 1; min-width: 0; }
.site-header {
  --yellow: #FDC312;
  --quick-width: 3rem;
  --quick-height: 3.125rem;
  --quick-gap: 0.5rem;
  --quick-icon-size: 1.5rem;
  position: relative;
  z-index: 3;
  align-self: start;
  margin: var(--header-top) var(--header-inset) 0;
  border-radius: var(--header-radius);
  background: var(--white);
  box-shadow: 0 6px 24px rgb(10 28 43 / 18%);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding-inline: clamp(0.9rem, 4vw, 1.45rem);
}

.header-inner::before,
.mobile-panel::after {
  position: absolute;
  inset: auto auto 0 0;
  width: 2.15rem;
  height: 0.43rem;
  border-radius: 0 0 0 var(--header-radius);
  background: var(--cobalt);
  clip-path: polygon(0 0, 62% 0, 100% 100%, 0 100%);
  content: "";
  pointer-events: none;
}

.brand { display: block; flex-shrink: 0; }
.brand img { width: clamp(8.4rem, 43vw, 11.7rem); height: auto; }
.header-actions { display: flex; align-items: center; gap: 0.45rem; }
.desktop-nav, .desktop-quote { display: none; }

.header-phone, .mobile-toggle {
  display: inline-grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border: 0;
  border-radius: 0.55rem;
}

.header-phone { background: var(--yellow); }
.header-phone__copy { display: none; }
.mobile-toggle { background: transparent; }
.mobile-toggle .icon { width: 1.65rem; height: 1.65rem; }
.mobile-toggle__close, .mobile-toggle[aria-expanded="true"] .mobile-toggle__open { display: none; }
.mobile-toggle[aria-expanded="true"] .mobile-toggle__close { display: block; }

.quick-actions {
  position: fixed;
  z-index: 1;
  inset: 50% 0 auto auto;
  display: flex;
  width: var(--quick-width);
  flex-direction: column;
  align-items: flex-end;
  gap: var(--quick-gap);
  translate: 0 -50%;
  pointer-events: none;
  filter: drop-shadow(-1px 1px 2px rgb(10 28 43 / 14%));
}

.quick-actions > :is(button, a) {
  position: relative;
  width: var(--quick-width);
  height: var(--quick-height);
  padding: 0;
  border: 0;
  border-radius: 0.48rem 0 0 0.48rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0.42rem 100%, 0 calc(100% - 0.37rem));
  pointer-events: auto;
  transition: width 250ms var(--reveal-ease, ease-out);
}

.quick-actions .icon {
  position: absolute;
  inset-block-start: calc((var(--quick-height) - var(--quick-icon-size)) / 2);
  inset-inline-end: calc((var(--quick-width) - var(--quick-icon-size)) / 2);
  width: var(--quick-icon-size);
  height: var(--quick-icon-size);
}

.quick-actions__label {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: calc((var(--quick-width) + var(--quick-expanded-width)) / 2);
  translate: 50% -50%;
  opacity: 0;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 170ms ease-out;
}

.quick-actions__menu {
  background: var(--slate);
  color: var(--white);
}

.quick-actions__phone {
  background: var(--yellow);
  color: var(--slate);
}

.quick-actions > :focus-visible { outline-color: currentColor; outline-offset: -4px; }

.site-header:not([data-mobile-open]) .quick-actions > :focus-visible {
  width: var(--quick-expanded-width);
}

.site-header:not([data-mobile-open]) .quick-actions > :focus-visible .quick-actions__label {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .site-header:not([data-mobile-open]) .quick-actions > :hover {
    width: var(--quick-expanded-width);
  }

  .site-header:not([data-mobile-open]) .quick-actions > :hover .quick-actions__label {
    opacity: 1;
  }
}

html:has(:fullscreen, .project-gallery__dialog[open]) .quick-actions { visibility: hidden; }

.quick-actions .menu-icon--close,
.quick-actions__menu[aria-expanded="true"] .menu-icon--open { display: none; }
.quick-actions__menu[aria-expanded="true"] .menu-icon--close { display: block; }

.mobile-backdrop {
  position: fixed;
  z-index: 2;
  inset: 0;
  background: color-mix(in srgb, var(--deep-slate) 34%, transparent);
}

html:has(.site-header[data-mobile-open]) { overflow: hidden; }
.site-header[data-mobile-open] { border-radius: var(--header-radius) var(--header-radius) 0 0; }
.site-header[data-mobile-open] .header-inner::before { display: none; }

.mobile-panel {
  position: absolute;
  inset: calc(100% - 1px) 0 auto;
  display: flex;
  max-height: calc(100dvh - var(--mobile-header-space));
  flex-direction: column;
  border-bottom: 0.42rem solid var(--white);
  border-radius: 0 0 var(--header-radius) var(--header-radius);
  color: var(--white);
  background: linear-gradient(140deg, var(--slate), var(--deep-slate));
  box-shadow: 0 16px 30px rgb(10 28 43 / 24%);
}

.site-header[data-quick-panel] .mobile-panel {
  --quick-panel-edge: calc(var(--quick-width) + 0.65rem);
  position: fixed;
  inset: 50% var(--quick-panel-edge) auto auto;
  display: flex;
  width: min(23rem, calc(100% - var(--quick-panel-edge) - max(0.75rem, env(safe-area-inset-left))));
  max-height: calc(100dvh - 2 * max(0.75rem, env(safe-area-inset-top), env(safe-area-inset-bottom)));
  border-radius: var(--header-radius);
  translate: 0 -50%;
}

html:has(.site-header[data-quick-panel]) .mobile-backdrop { display: block; }

:is(.mobile-panel, .mobile-backdrop) {
  transition-property: opacity, transform, display;
  transition-duration: 230ms;
  transition-timing-function: var(--reveal-ease, ease-out);
  transition-behavior: allow-discrete;
}

:is(.mobile-panel, .mobile-backdrop)[hidden] {
  opacity: 0;
  pointer-events: none;
}

.mobile-panel[hidden] { transform: translateY(-0.35rem); }

@starting-style {
  .mobile-backdrop:not([hidden]) { opacity: 0; }
  .mobile-panel:not([hidden]) { opacity: 0.35; transform: translateY(-0.35rem); }
}

.mobile-panel::after { bottom: -0.42rem; height: 0.42rem; }
.mobile-panel__body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.55rem clamp(0.95rem, 5vw, 1.55rem) 1rem;
  border-radius: inherit;
}

.mobile-panel__home {
  min-height: 2.9rem;
  margin-block-end: 0.35rem;
  padding-inline: 2rem;
}

.mobile-panel__home .icon { width: 1.45rem; height: 1.45rem; }

.mobile-panel :focus-visible,
.hero__content :focus-visible,
.services-feature :focus-visible { outline-color: var(--yellow); }

.mobile-services-trigger,
.mobile-panel__link {
  display: flex;
  width: 100%;
  min-height: 3.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 24%);
  background: transparent;
  text-align: start;
  font-weight: 600;
}

.mobile-services-trigger {
  position: relative;
  font-weight: 700;
  transition: padding-inline-start var(--motion);
}

.mobile-services-trigger[aria-expanded="true"] { padding-inline-start: 1.1rem; }

.mobile-services-trigger::before {
  position: absolute;
  inset: 0.66rem auto 0.66rem 0.18rem;
  width: 0.47rem;
  border-radius: 0.08rem;
  background: var(--yellow);
  transform: skewX(-25deg);
  opacity: 0;
  transition: opacity var(--motion);
  content: "";
}

.mobile-services-trigger[aria-expanded="true"]::before { opacity: 1; }

.mobile-services-trigger .icon, .services-trigger .icon {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform var(--motion);
}

.mobile-services-trigger .icon { transform: rotate(-90deg); }
.mobile-services-trigger[aria-expanded="true"] .icon { transform: rotate(0deg); }
.services-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-panel__link .icon { width: 1rem; height: 1rem; }

.mobile-services-panel { padding-block: 0.25rem 0.5rem; }
.mobile-panel__all {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 700;
}
.mobile-quote { width: 100%; margin-top: 1.05rem; }

.service-list li + li { border-top: 1px solid var(--rule); }
.service-link {
  display: grid;
  min-height: 3.75rem;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.4rem 0.2rem;
  border-radius: 0.25rem;
  line-height: 1.3;
}

.service-link strong { display: block; font-size: 0.88rem; font-weight: 700; text-wrap: balance; }
.service-link small { display: block; margin-top: 0.15rem; font-size: 0.75rem; font-weight: 400; }
.service-link__chevron { width: 1.125rem; height: 1.125rem; stroke-width: 2.55; }
.service-link__icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.6rem;
  background: color-mix(in srgb, var(--mist) 92%, var(--slate));
  color: var(--slate);
}
.service-link__icon .icon { width: 68%; height: auto; stroke-width: 1.65; }
.service-link__icon .icon-accent { stroke: var(--yellow); }
.service-link__icon .icon-fill { fill: var(--yellow); }
.mobile-panel .service-list li + li { border-color: rgb(255 255 255 / 18%); }
.mobile-panel .service-link small { color: var(--mist); }

.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: radial-gradient(ellipse at 32% 45%, var(--slate) 18%, var(--deep-slate) 100%);
}
.hero__content {
  padding: calc(var(--header-top) + var(--header-height) + clamp(1.9rem, 8vw, 3.5rem))
    var(--gutter) clamp(5.3rem, 23vw, 8rem);
}

.hero__eyebrow,
.services-feature__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.hero__eyebrow { margin-bottom: clamp(1.1rem, 2vw, 2rem); font-size: clamp(0.65rem, 1.5vw, 0.83rem); }
.hero__eyebrow::before,
.services-feature__eyebrow::before {
  width: clamp(1.2rem, 2.9vw, 3rem);
  height: 0.19rem;
  flex: none;
  border-radius: 1rem;
  background: var(--yellow);
  content: "";
}

.hero h1 {
  font: 700 clamp(1.3rem, 6.05vw, 3.15rem)/1.08 var(--font-title);
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 span { display: block; }
.hero h1 span + span { color: var(--yellow); }
.hero__description {
  max-width: 43ch;
  margin-top: clamp(1rem, 1.7vw, 1.45rem);
  font-size: clamp(0.9rem, 1.55vw, 1.12rem);
  line-height: 1.58;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: clamp(1.4rem, 2.45vw, 2.65rem);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgb(12 31 49 / 88%) 0%,
    rgb(12 32 50 / 63%) 30%,
    rgb(12 32 50 / 80%) 52%,
    rgb(12 32 50 / 76%) 72%,
    rgb(12 32 50 / 53%) 84%,
    rgb(12 32 50 / 76%) 100%
  );
  content: "";
  pointer-events: none;
}

.hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--slate);
  color: var(--white);
}

.hero__media img, .services-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero__media img { object-position: 78% center; }

.media-placeholder {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__domains {
  display: none;
  padding-inline: var(--gutter);
  background: linear-gradient(
    to bottom,
    rgb(9 29 47 / 0%) 0,
    rgb(9 29 47 / 62%) clamp(0.9rem, 1.5vw, 1.8rem),
    rgb(8 28 46 / 87%) 75%,
    rgb(8 26 43 / 95%)
  );
}

.hero__domains li {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.1vw, 1.1rem);
  font-size: clamp(0.7rem, 1vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
}

.domain-icon { width: clamp(1.65rem, 5vw, 2.1rem); height: auto; }
.domain-number { display: inline-flex; align-items: center; gap: 0.55rem; }
.domain-number::after { width: 0.8rem; height: 2px; background: var(--yellow); content: ""; }

@media (max-width: 479px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .button { width: 100%; }
}

@media (width < 1024px) {
  .quick-actions { display: none; }

  .site-header[data-mobile-fixed] {
    position: fixed;
    inset: var(--header-top) var(--header-inset) auto;
    margin: 0;
    transition: translate 230ms var(--reveal-ease, ease-out), opacity 230ms var(--reveal-ease, ease-out);
  }

  .site-header[data-mobile-fixed]:is([data-mobile-away], [data-gallery-overlap]):not([data-mobile-open], :has(:focus-visible)) {
    translate: 0 calc(-100% - var(--header-top) - 0.75rem);
    opacity: 0;
    pointer-events: none;
  }

  .site-header[data-mobile-fixed]:is([data-gallery-overlap], :has(:focus-visible)) {
    transition: none;
  }

  .hero__stage {
    display: flex;
    min-height: calc(var(--hero-svh, 1svh) * 100);
  }

  .hero__content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding-block: calc(var(--header-top) + var(--header-height) + 1rem) clamp(1.4rem, calc(var(--hero-svh, 1svh) * 4.2), 2.6rem);
  }

  .hero__eyebrow { margin-block-end: clamp(1.1rem, calc(var(--hero-svh, 1svh) * 3), 1.75rem); }
  .hero__description { margin-block-start: clamp(1.4rem, calc(var(--hero-svh, 1svh) * 3.65), 2.2rem); }

  .hero__actions {
    margin-block-start: auto;
    padding-block-start: clamp(1.75rem, calc(var(--hero-svh, 1svh) * 5), 3rem);
  }
}

@media (min-width: 1024px) {
  :root {
    --header-top: clamp(1rem, 1.52vw, 1.9rem);
    --header-inset: clamp(1rem, 1.58vw, 2rem);
    --header-height: clamp(4.65rem, 6.16vw, 7.4rem);
    --band-height: clamp(5.5rem, 8.85vw, 10.6rem);
  }

  .header-inner {
    --actions-start: clamp(0.65rem, 1.55vw, 1.65rem);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0;
    padding-inline: clamp(1.15rem, min(3.7vw, 10vw - 6rem), 4rem) clamp(0.75rem, 1.35vw, 1.6rem);
  }

  .header-inner::before, .mobile-toggle, .mobile-panel, .mobile-backdrop { display: none; }
  .brand img { width: clamp(10rem, 17.4vw, 20rem); }
  .desktop-quote { display: inline-flex; min-width: clamp(10rem, 15.75vw, 17.5rem); }

  .desktop-nav {
    --nav-gap: clamp(0.25rem, 0.42vw, 0.7rem);
    --nav-margin: clamp(0.55rem, 0.95vw, 1.55rem);
    --nav-link-padding: clamp(0.8rem, 1.1vw, 1.35rem);
    --nav-bevel: clamp(0.6rem, 0.92vw, 1.15rem);
    display: flex;
    min-width: 0;
    min-height: var(--header-height);
    align-items: stretch;
    gap: var(--nav-gap);
    margin-inline: var(--nav-margin);
    font-size: clamp(0.74rem, 1.04vw, 1.07rem);
    font-weight: 700;
    white-space: nowrap;
  }

  .desktop-nav::after {
    /* Span the space from the final label to the start of the phone block. */
    flex: 1 0 0;
    align-self: center;
    height: calc(clamp(3.15rem, 3.82vw, 4.1rem) - 0.1rem);
    margin-inline: calc(-1 * (var(--nav-gap) + var(--nav-link-padding)))
      calc(-1 * (var(--nav-margin) + var(--actions-start)));
    background: linear-gradient(var(--rule), var(--rule)) center / 1px 100% no-repeat;
    pointer-events: none;
    content: "";
  }

  .desktop-nav__link,
  .services-trigger {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-height: clamp(2.85rem, 3.65vw, 4rem);
    align-items: center;
    justify-content: center;
    padding: 0.35rem var(--nav-link-padding);
    color: var(--nav-color, var(--slate));
    transition: color 200ms ease;
  }

  .desktop-nav__link { align-self: center; }

  .desktop-services { position: relative; display: flex; align-items: center; }

  .services-trigger {
    gap: 0.5rem;
    border: 0;
    background: transparent;
    font-weight: inherit;
  }

  :is(.desktop-nav__link, .services-trigger)::before,
  :is(.desktop-nav__link, .services-trigger)::after {
    position: absolute;
    z-index: -1;
    border-radius: 0.52rem;
    opacity: var(--nav-shape-opacity, 0);
    transition: opacity 200ms ease;
    pointer-events: none;
    content: "";
  }

  :is(.desktop-nav__link, .services-trigger)::before {
    inset: 0;
    clip-path: polygon(var(--nav-bevel) 0, 100% 0, calc(100% - var(--nav-bevel)) 100%, 0 100%);
    background: var(--deep-slate);
  }

  :is(.desktop-nav__link, .services-trigger)::after {
    z-index: -2;
    inset: auto auto -0.28rem 0.46rem;
    width: 43%;
    height: 0.65rem;
    transform: skewX(-24deg);
    background: var(--yellow);
  }

  :is(.desktop-nav__link, .services-trigger):focus-visible {
    --nav-color: var(--white);
    --nav-shape-opacity: 1;
  }

  @media (hover: hover) and (pointer: fine) {
    :is(.desktop-nav__link, .services-trigger):hover {
      --nav-color: var(--white);
      --nav-shape-opacity: 1;
    }
  }

  .header-actions {
    gap: clamp(0.45rem, 0.85vw, 1.25rem);
    padding-inline-start: var(--actions-start);
  }
  .brand { position: relative; padding-inline-end: clamp(0.8rem, 2.3vw, 2.8rem); }
  .brand::after {
    position: absolute;
    inset: -0.1rem 0 -0.1rem auto;
    width: 1px;
    background: var(--rule);
    content: "";
  }
  .header-phone { display: inline-flex; justify-content: center; gap: 0.5rem; background: transparent; }
  .header-phone .icon { width: clamp(1.35rem, 2vw, 2rem); height: auto; stroke-width: 1.75; }
  .header-phone__copy { display: grid; white-space: nowrap; }
  .header-phone__copy strong {
    font-size: clamp(0.75rem, 1vw, 1.15rem);
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
  }
  .header-phone__copy small { color: var(--slate); font-size: clamp(0.58rem, 0.73vw, 0.8rem); font-weight: 500; }

  .desktop-panel {
    position: absolute;
    top: calc(100% + 0.3rem);
    inset-inline-start: -0.25rem;
    display: grid;
    width: min(53.5vw, 63rem);
    max-block-size: calc(100dvh - var(--header-top) - var(--header-height) - 0.9rem);
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(0.65rem, 1.22vw, 1.4rem);
    padding: clamp(0.65rem, 1.16vw, 1.35rem);
    border: 1px solid var(--rule);
    border-radius: 1rem;
    background: var(--white);
    box-shadow: 0 22px 55px rgb(10 28 43 / 32%);
    white-space: normal;
    animation: panel-in var(--motion) both;
  }

  .desktop-panel::before {
    position: absolute;
    inset: -0.85rem 0 auto;
    height: 0.9rem;
    content: "";
  }

  .desktop-panel::after {
    position: absolute;
    bottom: calc(100% - 1px);
    left: clamp(2.45rem, 5.1vw, 5.7rem);
    width: 1.35rem;
    height: 0.85rem;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: var(--white);
    content: "";
  }

  .desktop-panel .service-list {
    display: grid;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding-inline-end: clamp(0.55rem, 1.16vw, 1.35rem);
    border-inline-end: 1px solid var(--rule);
  }
  .desktop-panel .service-link {
    min-height: clamp(3.4rem, 3.55vw, 4.15rem);
    grid-template-columns: clamp(2.25rem, 3.25vw, 3.6rem) minmax(0, 1fr) auto;
    gap: clamp(0.5rem, 1.02vw, 1.1rem);
  }
  .desktop-panel .service-link:hover { background: var(--mist); }
  .desktop-panel .service-link:focus-visible { outline-offset: -2px; }
  .desktop-panel .service-link strong { font-size: clamp(0.81rem, 1.06vw, 1.17rem); }
  .desktop-panel .service-link small { color: var(--graphite); font-size: clamp(0.68rem, 0.8vw, 0.9rem); }
  .desktop-panel .service-link__icon {
    width: clamp(2.25rem, 3.15vw, 3.5rem);
    height: clamp(2.25rem, 3.15vw, 3.5rem);
  }

  .services-feature {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: safe center;
    border-radius: 0.8rem;
    overflow: hidden auto;
    overscroll-behavior-y: contain;
    background: var(--slate);
    color: var(--white);
  }

  .services-feature::after {
    position: absolute;
    inset: auto 0 0 auto;
    width: 1.8rem;
    aspect-ratio: 1;
    background: var(--yellow);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    content: "";
  }

  .services-feature__media {
    position: absolute;
    z-index: -1;
    inset: 0;
    display: grid;
    align-items: end;
    justify-items: end;
    padding: 0.9rem;
    background: var(--slate);
  }
  .services-feature__media:has(img)::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgb(12 30 46 / 98%), rgb(12 30 46 / 82%) 58%, rgb(12 30 46 / 28%));
    content: "";
  }

  .services-feature__content { padding: clamp(0.85rem, 1.5vw, 1.65rem); }
  .services-feature__eyebrow { margin-bottom: 0.75rem; font-size: clamp(0.55rem, 0.7vw, 0.73rem); }
  .services-feature__eyebrow::before { width: 1.25rem; height: 2px; }
  .services-feature__title {
    margin-bottom: clamp(0.8rem, 1.3vw, 1.35rem);
    font: 700 clamp(1.27rem, 2.25vw, 2.6rem)/1.12 var(--font-title);
    letter-spacing: -0.045em;
  }
  .services-feature__title span { color: var(--yellow); }
  .services-feature__content .button:focus-visible { outline-color: var(--white); }

  .hero__stage {
    display: flex;
    min-height: clamp(30.5rem, min(47.4vw, calc(100svh - var(--band-height))), 57.5rem);
    align-items: center;
    padding-top: calc(var(--header-top) + var(--header-height) + 0.9rem);
  }

  .hero::before { content: none; }

  .hero__media {
    --edge-top: 30.7%;
    --edge-slope: 0.305;
    z-index: -1;
    inset: 0 0 0 44%;
    container-type: size;
    background: transparent;
  }

  .hero__media img {
    /* Measure the run from the media height to keep a constant angle. */
    --edge-bottom: calc(var(--edge-top) - 100cqh * var(--edge-slope));
    clip-path: polygon(var(--edge-top) 0, 100% 0, 100% 100%, var(--edge-bottom) 100%);
    object-position: 58% center;
  }

  .hero__media::before {
    --stripe-width: clamp(0.43rem, 0.69vw, 0.86rem);
    --band-top: calc(100% - var(--band-height));
    --edge-at-band: calc(var(--edge-top) - (100cqh - var(--band-height)) * var(--edge-slope));
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      var(--yellow) calc(var(--band-top) * 0.56),
      transparent calc(var(--band-top) * 0.86)
    );
    clip-path: polygon(
      calc(var(--edge-top) - var(--stripe-width)) 0,
      calc(var(--edge-top) + 1px) 0,
      calc(var(--edge-at-band) + 1px) var(--band-top)
    );
    content: "";
    pointer-events: none;
  }
  .hero__media .media-placeholder { margin-inline-start: 12%; }
  .hero__content {
    width: 53.6%;
    padding: clamp(2.25rem, min(4vw, 6.25svh), 4.2rem) 0 clamp(2.65rem, min(4.65vw, 7.1svh), 5rem) var(--gutter);
  }
  .hero__eyebrow { font-size: clamp(0.72rem, 1.01vw, 1.08rem); gap: clamp(0.7rem, 1.15vw, 1.3rem); }
  .hero h1 { font-size: clamp(2.05rem, 3.63vw, 4.65rem); line-height: 1.14; text-wrap: initial; }
  .hero__description { max-width: min(41ch, 37vw); font-size: clamp(0.98rem, 1.42vw, 1.55rem); line-height: 1.43; }
  .hero__actions {
    display: grid;
    width: min(100%, 43.9vw, 50rem);
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: clamp(0.25rem, 0.65vw, 0.7rem);
  }

  .hero__domains {
    display: grid;
    min-height: var(--band-height);
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr) minmax(0, 1.06fr);
    padding-bottom: clamp(0.45rem, 1.3vw, 1.4rem);
    align-items: center;
  }

  .hero__domains li { min-height: clamp(3.3rem, 3.7vw, 4.2rem); padding-inline: clamp(1rem, 3.05vw, 3.6rem); }
  .hero__domains li:first-child { padding-inline-start: 0; }
  .hero__domains li:last-child { padding-inline-end: 0; }
  .hero__domains li + li { border-inline-start: 1px solid var(--yellow); }
  .domain-icon { width: clamp(1.8rem, 2.85vw, 3rem); height: auto; }
}

/* Keep the full service band in view on wide, short desktop windows. */
@media (min-width: 1024px) and (min-aspect-ratio: 19 / 10) {
  .hero { --band-height: clamp(5.5rem, min(8.85vw, 32svh - 7.3rem), 10.6rem); }

  .hero__stage {
    padding-top: calc(var(--header-top) + var(--header-height) + 0.45rem);
  }

  .hero__content {
    padding-block: clamp(1.1rem, 3svh, 2.65rem) clamp(1.1rem, 3.2svh, 2.85rem);
  }

  .hero__eyebrow { margin-bottom: clamp(0.9rem, 1.9svh, 1.55rem); }
  .hero h1 { font-size: clamp(2.05rem, min(3.63vw, 7.9svh), 4.65rem); }
  .hero__description {
    font-size: clamp(0.98rem, min(1.42vw, 3.35svh), 1.55rem);
    margin-top: clamp(0.85rem, 1.75svh, 1.3rem);
  }
  .hero__actions { margin-top: clamp(1.05rem, 2.45svh, 1.65rem); }
}

@media (min-width: 1024px) and (max-width: 1239px) {
  .header-inner { --actions-start: 0.7rem; padding-inline: 1rem 0.7rem; }
  .brand { padding-inline-end: 0.7rem; }
  .brand img { width: clamp(8.7rem, 14vw, 10.85rem); }
  .desktop-nav { --nav-margin: 0.58rem; }
  .header-actions { gap: 0.5rem; }
  .header-phone { gap: 0.4rem; }
  .desktop-quote { padding-inline: 1.45rem; }
}

@keyframes reveal-in {
  from { opacity: var(--reveal-opacity, 0.28); translate: 0 var(--reveal-distance); }
}

@keyframes reveal-fade {
  from { opacity: var(--reveal-opacity, 0.45); }
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    --reveal-duration: 560ms;
    --reveal-gap: 88ms;
    --reveal-scroll-gap: 68ms;
    --reveal-distance: 1rem;
    --reveal-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  [data-reveal-entry="eyebrow"] { --reveal-order: 1; }
  [data-reveal-entry="heading"] { --reveal-order: 2; }
  [data-reveal-entry="visual"] { --reveal-order: 2.5; }
  [data-reveal-entry="copy"] { --reveal-order: 3; }
  [data-reveal-entry="action"] { --reveal-order: 4; }

  [data-reveal-entry="header"] {
    --reveal-name: reveal-fade;
    --reveal-opacity: 0.76;
  }

  :is([data-reveal-on-scroll="copy"], [data-reveal-on-scroll="visual"], [data-reveal-on-scroll="media"]) {
    --reveal-scroll-order: 1;
  }

  [data-reveal-on-scroll="action"] { --reveal-scroll-order: 2; }
  [data-reveal-on-scroll="media"] { --reveal-name: reveal-fade; }

  [data-page-entry] [data-reveal-entry]:not(.reveal-complete, :focus-within) {
    animation: var(--reveal-name, reveal-in) var(--reveal-duration) var(--reveal-ease) backwards;
    animation-delay: calc(var(--reveal-order, 0) * var(--reveal-gap) + var(--reveal-cascade, 0ms));
  }

  :is([data-reveal-on-scroll], [data-reveal-entry]).is-revealed:not(:focus-within, :target, :has(:target)) {
    animation: var(--reveal-name, reveal-in) var(--reveal-duration) var(--reveal-ease) backwards;
    animation-delay: calc(var(--reveal-scroll-order, 0) * var(--reveal-scroll-gap) + var(--reveal-cascade, 0ms));
  }

  /* Prepared offscreen: never reset a fully visible block to low opacity. */
  :is([data-reveal-on-scroll], [data-reveal-entry]).reveal-pending:not(:focus-within, :target, :has(:target)) {
    opacity: var(--reveal-opacity, 0.28);
    translate: 0 var(--reveal-distance);
  }
  [data-reveal-on-scroll="media"].reveal-pending {
    --reveal-opacity: 0.45;
    translate: none;
  }

  :target .is-revealed { animation: none !important; }

  [data-step-entering] > :is(.quote__summary, .quote__actions):not(:focus-within) {
    --reveal-opacity: 0.62;
    animation: reveal-fade 450ms var(--reveal-ease) backwards;
  }

  @media (width < 1024px) {
    :root {
      --reveal-duration: 480ms;
      --reveal-gap: 72ms;
      --reveal-scroll-gap: 42ms;
      --reveal-distance: 0.5rem;
    }
  }

  @media (min-width: 768px) {
    [data-reveal-list] > :nth-child(4n + 2) { --reveal-cascade: var(--reveal-scroll-gap); }
    [data-reveal-list] > :nth-child(4n + 3) { --reveal-cascade: calc(2 * var(--reveal-scroll-gap)); }
    [data-reveal-list] > :nth-child(4n + 4) { --reveal-cascade: calc(2.5 * var(--reveal-scroll-gap)); }
  }
}

@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button--animated .button__arrow { transform: none; }
}
