:root {
  --carbon: #0a233c;     /* deep navy — grounds */
  --carbon-soft: #10304f;
  --paper: #ffffff;      /* signal white — open space */
  --alloy: #9db0bf;      /* steel slate tint — muted text */
  --track: #4b5e6e;      /* steel slate */
  --heritage: #006bb6;   /* transload blue — leads */
  --heritage-bright: #2e9be6; /* transload blue tint for small text on navy */
  --signal: #d32d2f;     /* controlled red — divider / activation only */
  --petrol: #4b5e6e;
  --concrete: #e6e7e8;   /* concrete grey — background surface */
  --display: "Oswald", "Arial Narrow", system-ui, sans-serif;   /* Norwester stand-in — headings */
  --body: "Jost", "Century Gothic", system-ui, sans-serif;      /* Kollektif stand-in — body copy */
  --data: "Archivo", "Helvetica Neue", system-ui, sans-serif;   /* Akzidenz Grotesk stand-in — descriptor/labels */
  --mono: "IBM Plex Mono", ui-monospace, monospace;             /* tabular counters only */
  --gutter: clamp(20px, 4.2vw, 72px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --line: rgba(255, 255, 255, .17);
  --frame-progress: 0;
  --title-wdth: 82;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--carbon);
  color: var(--paper);
  font-family: var(--body);
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--carbon);
  color: var(--paper);
  overflow-x: clip;
}

body.is-loading { overflow: hidden; }

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--heritage); outline-offset: 5px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: max(24px, env(safe-area-inset-top)) var(--gutter) max(24px, env(safe-area-inset-bottom));
  background: var(--carbon);
  transition: clip-path 900ms var(--ease-out), visibility 900ms;
  clip-path: inset(0 0 0 0);
}

.loader.is-done {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}

.loader__mark {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.loader__number {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(92px, 22vw, 340px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: .8;
}

.loader__meta,
.micro {
  font-family: var(--data);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.loader__meta { text-align: right; color: var(--alloy); }

.loader__foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}

.loader__track,
.telemetry__track {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .24);
}

.loader__fill,
.telemetry__fill {
  position: absolute;
  inset: 0;
  background: var(--heritage);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 70px;
  padding: max(16px, env(safe-area-inset-top)) var(--gutter) 12px;
  pointer-events: none;
  text-shadow: 0 1px 10px rgba(8, 10, 12, .6);
}

.site-header__brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-lockup {
  width: auto;
  height: clamp(30px, 3.4vw, 42px);
  flex: none;
  filter: drop-shadow(0 1px 6px rgba(8, 10, 12, .45));
}

.site-header__center { color: rgba(255, 255, 255, .78); }
.site-header__end { justify-self: end; text-align: right; color: rgba(255, 255, 255, .78); }

.sequence {
  position: relative;
  height: 650vh;
  background: var(--carbon);
}

.stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--carbon);
  isolation: isolate;
}

#film-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.stage__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 35, 60, .66) 0%, rgba(10, 35, 60, .14) 35%, transparent 61%),
    linear-gradient(0deg, rgba(10, 35, 60, .72) 0%, transparent 36%);
  opacity: var(--scrim-opacity, .78);
  transition: opacity 500ms ease;
  pointer-events: none;
}

.stage__grid {
  position: absolute;
  inset: 0 var(--gutter);
  z-index: 2;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(8.333% - 1px),
    rgba(255, 255, 255, .07) calc(8.333% - 1px),
    rgba(255, 255, 255, .07) 8.333%
  );
  mask-image: linear-gradient(180deg, transparent, black 14%, black 82%, transparent);
  opacity: .5;
  pointer-events: none;
}

.mobile-aperture { display: none; }

.chapters {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.chapter {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: center;
  column-gap: clamp(10px, 1.2vw, 20px);
  padding: 96px var(--gutter) 104px;
  visibility: hidden;
}

.chapter.is-visible { visibility: visible; }

.chapter__copy {
  position: relative;
  align-self: center;
}

.chapter__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--paper);
}

.chapter__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 650ms 100ms var(--ease-out);
}

.chapter.is-visible .chapter__eyebrow::before { transform: scaleX(1); }

.reveal {
  overflow: hidden;
  padding-bottom: .08em;
}

.reveal > span {
  display: block;
  transform: translateY(112%);
  transition: transform 760ms var(--ease-out);
}

.reveal:nth-child(3) > span { transition-delay: 90ms; }
.reveal:nth-child(4) > span { transition-delay: 160ms; }
.chapter.is-visible .reveal > span { transform: translateY(0); }

.chapter__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 8.2vw, 132px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: .92;
  text-transform: uppercase;
  text-wrap: balance;
}

.chapter__deck {
  max-width: 32rem;
  margin: 26px 0 0;
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: balance;
}

.chapter__fact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  margin-top: 32px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--alloy);
  max-width: 30rem;
}

.chapter--hero { align-content: end; }
.chapter--hero .chapter__copy { grid-column: 1 / 11; padding-bottom: 4vh; }
.chapter--hero .chapter__title { font-size: clamp(64px, 11.4vw, 190px); line-height: .9; }
.chapter--hero .chapter__deck { margin-left: .52vw; max-width: 25rem; }

.chapter--right .chapter__copy { grid-column: 8 / 13; }
.chapter--left .chapter__copy { grid-column: 1 / 6; }

.chapter--split { align-content: start; padding-top: 15vh; }
.chapter--split .chapter__copy {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.chapter--split .split-end { text-align: right; }
.chapter--split .chapter__title { font-size: clamp(70px, 11vw, 176px); }
.chapter--split .chapter__deck { grid-column: 2; justify-self: end; text-align: right; }

.chapter--final {
  align-content: end;
  background: linear-gradient(0deg, rgba(10, 35, 60, .88), rgba(10, 35, 60, 0) 64%);
}

.chapter--final .chapter__copy {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding-bottom: 3vh;
}

.chapter--final .chapter__title { max-width: 10ch; }

.cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: min(100%, 280px);
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .56);
  background: rgba(10, 35, 60, .18);
  color: var(--paper);
  font-family: var(--data);
  font-size: 11px;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 250ms ease, background 250ms ease, border-color 250ms ease;
}

.cta::after { content: "↗"; font-size: 16px; }
.cta:hover { background: var(--heritage); border-color: var(--heritage); color: #ffffff; }

.telemetry {
  position: absolute;
  inset: auto var(--gutter) max(18px, env(safe-area-inset-bottom));
  z-index: 8;
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  pointer-events: none;
}

.telemetry__fill {
  transform: scaleX(var(--frame-progress));
  will-change: transform;
}

.telemetry__chapter { min-width: 13ch; }
.telemetry__frame { color: var(--alloy); }
.telemetry__frame,
#loader-count { font-family: var(--mono); }

.scroll-cue {
  display: inline-grid;
  grid-template-columns: auto 18px;
  align-items: center;
  gap: 9px;
  color: var(--paper);
}

.scroll-cue::after {
  content: "";
  width: 18px;
  height: 18px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-3px, 3px);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: rotate(45deg) translate(-3px, 3px); opacity: .35; }
  50% { transform: rotate(45deg) translate(1px, 7px); opacity: 1; }
}

.editorial {
  position: relative;
  z-index: 10;
  padding: clamp(100px, 13vw, 190px) var(--gutter);
  background: var(--concrete);
  color: var(--carbon);
}

.editorial__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 20px;
  background: var(--signal);
}

.editorial__head {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: end;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(10, 35, 60, .26);
}

.editorial__title {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 9.8vw, 156px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: .92;
  text-transform: uppercase;
}

.editorial__aside {
  justify-self: end;
  max-width: 30rem;
  margin: 0;
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.4;
  letter-spacing: 0;
}

.contact-sheet {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.2vw, 20px);
  margin-top: clamp(48px, 7vw, 104px);
}

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--carbon-soft);
}

.shot--lead { grid-column: 1 / 9; }
.shot--top { grid-column: 9 / 13; align-self: start; margin-top: 10vw; }
.shot--low { grid-column: 3 / 7; margin-top: 2vw; }
.shot--end { grid-column: 7 / 13; margin-top: 8vw; }

.shot img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.82) contrast(1.03);
  transition: transform 900ms var(--ease-out), filter 500ms ease;
}

.shot:hover img { transform: scale(1.018); filter: saturate(1); }

.shot figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(10, 35, 60, .78);
  color: var(--paper);
}

.editorial__note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: clamp(80px, 12vw, 170px);
  padding-top: 24px;
  border-top: 1px solid rgba(10, 35, 60, .26);
}

.editorial__note strong {
  max-width: 12ch;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: .96;
  text-transform: uppercase;
}

.editorial__note p {
  justify-self: end;
  max-width: 34rem;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 44px var(--gutter) max(44px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: var(--carbon);
  color: var(--alloy);
}

.site-footer p { margin: 0; max-width: 50rem; }
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
}

@media (max-width: 780px) {
  :root { --gutter: 20px; }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 58px;
  }

  .site-header__center { display: none; }
  .sequence { height: 580vh; }

  .stage__scrim {
    background:
      linear-gradient(180deg, rgba(10, 35, 60, .52), transparent 21%),
      linear-gradient(0deg, rgba(10, 35, 60, .88), transparent 29%);
  }

  .stage__grid { opacity: .32; }

  .mobile-aperture {
    position: absolute;
    z-index: 3;
    top: calc(45% - 28.125vw);
    left: 0;
    display: block;
    width: 100%;
    height: 56.25vw;
    border-top: 1px solid rgba(255, 255, 255, .22);
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    pointer-events: none;
  }

  .chapter {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-content: end;
    padding: 76px var(--gutter) 100px;
  }

  .chapter__copy,
  .chapter--hero .chapter__copy,
  .chapter--right .chapter__copy,
  .chapter--left .chapter__copy,
  .chapter--final .chapter__copy {
    grid-column: 1 / 7;
  }

  .chapter__eyebrow { margin-bottom: 14px; }
  .chapter__title { font-size: clamp(52px, 16vw, 82px); line-height: .84; }
  .chapter__deck { max-width: 24rem; margin-top: 14px; font-size: 17px; }
  .chapter__fact { margin-top: 16px; }

  .chapter--hero { align-content: start; padding-top: 15vh; }
  .chapter--hero .chapter__copy { padding-bottom: 0; }
  .chapter--hero .chapter__title { font-size: clamp(64px, 19.5vw, 110px); }
  .chapter--hero .chapter__deck { margin-left: 0; max-width: 17rem; }

  .chapter--split { align-content: end; padding-top: 76px; }
  .chapter--split .chapter__copy { display: block; }
  .chapter--split .split-end { text-align: left; }
  .chapter--split .chapter__deck { grid-column: auto; text-align: left; }

  .chapter--final { align-content: end; }
  .chapter--final .chapter__copy { display: block; }
  .chapter--final .chapter__title { max-width: 8ch; }
  .chapter--final .cta { margin-top: 22px; }

  .telemetry {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .telemetry__chapter { min-width: 9ch; }
  .scroll-cue { display: none; }

  .loader__mark { display: block; }
  .loader__number { font-size: 40vw; }
  .loader__meta { margin-top: 22px; text-align: left; }

  .editorial { padding-top: 100px; padding-bottom: 100px; }
  .editorial__head { grid-template-columns: 1fr; }
  .editorial__title { font-size: 18vw; }
  .editorial__aside { justify-self: start; }
  .contact-sheet { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .shot--lead { grid-column: 1 / 7; }
  .shot--top { grid-column: 3 / 7; margin-top: 12vw; }
  .shot--low { grid-column: 1 / 5; margin-top: 0; }
  .shot--end { grid-column: 1 / 7; margin-top: 12vw; }
  .editorial__note { grid-template-columns: 1fr; gap: 32px; }
  .editorial__note p { justify-self: start; }
  .site-footer { grid-template-columns: 1fr; }
}

/* ---------- page sections ---------- */

.section {
  position: relative;
  z-index: 10;
  padding: clamp(90px, 11vw, 170px) var(--gutter);
}

.section--navy { background: var(--carbon); color: var(--paper); }
.section--deep { background: #071a2d; color: var(--paper); }
.section--concrete { background: var(--concrete); color: var(--carbon); }
.section--paper { background: #f4f5f6; color: var(--carbon); }
.section--paper .section__aside { color: rgba(10, 35, 60, .8); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--signal);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(44px, 6vw, 84px);
}

.section__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(46px, 7.4vw, 118px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: .92;
  text-transform: uppercase;
}

.section__aside {
  justify-self: end;
  align-self: end;
  max-width: 26rem;
  margin: 0;
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.45;
}

.section--concrete .section__aside { color: rgba(10, 35, 60, .8); }

/* services */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .16);
}

.svc {
  background: var(--carbon);
  padding: 30px 26px 44px;
  transition: background 300ms ease;
}

.svc:hover { background: var(--carbon-soft); }

.svc__num {
  display: block;
  margin-bottom: 34px;
  color: var(--heritage-bright);
}

.svc h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}

.svc p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--alloy);
}

/* load board — split-flap departures */

.board-note { color: var(--alloy); }

.board {
  font-family: var(--mono);
  letter-spacing: .04em;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.board__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .55fr) minmax(0, 1.1fr);
  gap: clamp(10px, 2vw, 28px);
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.board__row--head {
  padding: 12px 0;
  color: var(--alloy);
}

.board__cell { white-space: nowrap; overflow: hidden; }

.flap {
  display: inline-block;
  min-width: .78em;
  margin-right: 2px;
  padding: .14em 0 .12em;
  border-radius: 2px;
  background: #0e2c4c;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .45);
  font-size: clamp(13px, 1.5vw, 21px);
  line-height: 1.15;
  text-align: center;
  position: relative;
  transform-style: preserve-3d;
}

.flap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, .5);
}

.flap--space { background: transparent; box-shadow: none; }
.flap--space::after { display: none; }

.flap.is-flipping { animation: flap-flip 340ms ease; }

@keyframes flap-flip {
  0% { transform: rotateX(0); }
  49% { transform: rotateX(88deg); }
  51% { transform: rotateX(-88deg); }
  100% { transform: rotateX(0); }
}

.board__cell--status .flap { color: var(--heritage-bright); }
.board__row[data-status="DELAYED"] .board__cell--status .flap { color: #ff6f61; }
.board__row[data-status="DEPARTED"] .board__cell--status .flap { color: var(--paper); }
.board__row[data-status="LOADING"] .board__cell--status .flap,
.board__row[data-status="AT DOCK"] .board__cell--status .flap { color: var(--alloy); }

.board-foot {
  margin-top: 26px;
  color: var(--alloy);
}

/* network corridor */

.corridor-wrap { overflow-x: auto; padding-bottom: 8px; }

.corridor {
  position: relative;
  display: flex;
  justify-content: space-between;
  min-width: 640px;
  margin-top: clamp(30px, 4vw, 60px);
  padding-top: 26px;
}

.corridor::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--track) 0 14px, transparent 14px 22px);
}

.hub {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 84px;
}

.hub__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--carbon);
  border: 2px solid var(--carbon);
  box-shadow: 0 0 0 3px var(--concrete);
  z-index: 1;
}

.hub--hq .hub__dot { background: var(--signal); border-color: var(--signal); }

.hub__code {
  font-family: var(--data);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--carbon);
}

.hub__city { color: rgba(10, 35, 60, .66); }

.hub__hq-tag {
  position: absolute;
  top: -6px;
  color: var(--signal);
  font-weight: 700;
}

.net-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: clamp(50px, 6vw, 90px);
  padding-top: 28px;
  border-top: 1px solid rgba(10, 35, 60, .24);
}

.net-facts h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.net-facts p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(10, 35, 60, .78);
}

/* metrics */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.stat {
  border-top: 2px solid rgba(10, 35, 60, .24);
  padding-top: 22px;
  transition: border-color 300ms ease;
}

.stat:hover { border-top-color: var(--signal); }

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(52px, 5.8vw, 96px);
  font-weight: 600;
  line-height: 1;
  color: var(--heritage);
}

.stat__num {
  font-size: clamp(52px, 5.8vw, 96px);
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}

.stat__suffix {
  font-size: clamp(26px, 2.6vw, 44px);
  color: var(--signal);
}

.stat__label {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--carbon);
}

.stat__sub {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(10, 35, 60, .68);
}

.stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: clamp(44px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid rgba(10, 35, 60, .24);
  color: rgba(10, 35, 60, .72);
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* industries */

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
}

.ind {
  background: #071a2d;
  padding: 28px 24px 36px;
  transition: background 300ms ease;
}

.ind:hover { background: #0e2c4c; }

.ind__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  stroke: var(--heritage-bright);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ind h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.ind p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--alloy); }

/* how it works */

.flow-scroll { overflow-x: auto; padding-bottom: 8px; }

.flow {
  --flow-gap: clamp(16px, 2.4vw, 34px);
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: var(--flow-gap);
  min-width: 780px;
  margin: 0;
  padding: 34px 0 0;
  list-style: none;
}

.step { position: relative; }

/* connector runs dot-to-dot, so nothing trails past the last step */
.step::after {
  content: "";
  position: absolute;
  top: -22px;
  left: 32px;
  right: calc(-1 * var(--flow-gap) - 6px);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(10, 35, 60, .5) 0 14px, transparent 14px 22px);
}

.step:last-child::after { display: none; }

.step__dot {
  position: absolute;
  top: -34px;
  left: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--heritage);
  color: #fff;
  font-family: var(--data);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 0 0 5px var(--concrete);
}

.step:last-child .step__dot { background: var(--signal); }

.step h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--carbon);
}

.step p { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(10, 35, 60, .7); }

/* faq */

.faq-list {
  display: grid;
  gap: 1px;
  background: rgba(10, 35, 60, .2);
  border-top: 1px solid rgba(10, 35, 60, .2);
  border-bottom: 1px solid rgba(10, 35, 60, .2);
}

.faq {
  background: var(--concrete);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--carbon);
  transition: color 200ms ease;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--heritage); }

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--data);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--heritage);
  transition: transform 260ms ease;
}

.faq[open] summary::after { content: "–"; }

.faq__body {
  padding: 0 4px 24px;
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(10, 35, 60, .78);
}

.faq__body p { margin: 0; }

.faq-foot {
  margin-top: 34px;
  color: rgba(10, 35, 60, .7);
}

.faq-foot button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--heritage);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 1080px) {
}

@media (max-width: 900px) {
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .ind-grid { grid-template-columns: 1fr; }
}

/* world map */

.world-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.chip {
  pointer-events: auto;
  cursor: pointer;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: var(--paper);
  font-family: var(--data);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.chip:hover { border-color: var(--heritage-bright); color: var(--heritage-bright); }

.chip[aria-pressed="true"] {
  background: var(--heritage);
  border-color: var(--heritage);
  color: #ffffff;
}

.world-scroll { overflow-x: auto; padding-bottom: 6px; }

.world-wrap {
  position: relative;
  min-width: 680px;
}

.world-wrap svg { display: block; width: 100%; height: auto; }

.world-dot { fill: rgba(157, 176, 191, .30); transition: fill 400ms ease; }
.world-dot--home { fill: rgba(46, 155, 230, .55); }

.world-arc {
  fill: none;
  stroke: rgba(46, 155, 230, .38);
  stroke-width: 1.6;
  stroke-dasharray: 6 7;
  transition: stroke 300ms ease, opacity 300ms ease;
}

.world-arc.is-active { stroke: var(--heritage-bright); stroke-width: 2.2; }
.world-arc.is-dim { opacity: .1; }

@keyframes arc-flow { to { stroke-dashoffset: -260; } }
.world-arc { animation: arc-flow 14s linear infinite; }

.hub-pin {
  pointer-events: auto;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity 300ms ease;
}

.hub-pin.is-dim { opacity: .18; }

.hub-pin::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--heritage-bright);
  box-shadow: 0 0 0 3px rgba(46, 155, 230, .25);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.hub-pin--hq::before {
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(211, 45, 47, .3);
}

.hub-pin--hq::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--signal);
  animation: hq-pulse 2.6s ease-out infinite;
}

@keyframes hq-pulse {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(3.4); opacity: 0; }
}

.hub-pin:hover::before,
.hub-pin:focus-visible::before { transform: scale(1.35); }

.hub-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 10px 12px;
  background: #071a2d;
  border: 1px solid rgba(255, 255, 255, .18);
  border-top: 2px solid var(--heritage-bright);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease;
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
}

.hub-pin--hq .hub-tip { border-top-color: var(--signal); }
.hub-pin:hover .hub-tip,
.hub-pin:focus-visible .hub-tip { opacity: 1; visibility: visible; }

.hub-pin--edge-left .hub-tip { left: 0; transform: none; }
.hub-pin--edge-right .hub-tip { left: auto; right: 0; transform: none; }

.hub-tip__city {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--paper);
}

.hub-tip__role { color: var(--alloy); }

.world-foot {
  margin-top: 26px;
  color: var(--alloy);
}

@media (prefers-reduced-motion: reduce) {
  .world-arc { animation: none; }
  .hub-pin--hq::after { animation: none; opacity: 0; }
}

/* cta band */

.cta-band {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
  background: var(--heritage);
  color: #ffffff;
}

.cta-band__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 6.4vw, 100px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: .95;
  text-transform: uppercase;
}

.cta-band__deck { margin: 14px 0 0; max-width: 34rem; font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, .85); }

.cta-band .cta {
  border-color: rgba(255, 255, 255, .8);
  background: transparent;
}

.cta-band .cta:hover { background: #ffffff; border-color: #ffffff; color: var(--heritage); }

/* quote form */

#quote { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; }
.cta-band__intro { align-self: start; }
.cta-band__reassure {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 20px;
}
.cta-band__reassure li {
  position: relative; padding-left: 22px;
  font-family: var(--data); font-size: 12.5px; letter-spacing: .05em;
  text-transform: uppercase; color: rgba(255, 255, 255, .82);
}
.cta-band__reassure li::before {
  content: "\2713"; position: absolute; left: 0; top: -1px; font-weight: 700; color: #ffffff;
}

/* contact cards */
.cta-band__eyebrow { margin: 0 0 18px; color: rgba(255, 255, 255, .78); }
.cta-band__eyebrow::before { background: #ffffff; }

.contact-cards {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
  max-width: 38rem;
}
.contact-card { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.contact-card__icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #ffffff;
}
.contact-card__icon svg {
  width: 21px; height: 21px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.contact-card__label {
  margin: 0 0 4px;
  font-family: var(--data);
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  color: #ffffff;
}
.contact-card__value {
  margin: 0;
  font-size: 14.5px; line-height: 1.5;
  color: rgba(255, 255, 255, .76);
  overflow-wrap: anywhere;
}
.contact-card__value a,
.contact-card__value button {
  color: inherit; background: none; border: 0; padding: 0;
  font: inherit; text-align: left; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .35);
}
.contact-card__value a:hover,
.contact-card__value button:hover { color: #ffffff; text-decoration-color: #ffffff; }

@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; gap: 20px; } }

.quote-form {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  padding: clamp(20px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 16px;
}
.quote-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.quote-field__label {
  font-family: var(--data); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255, 255, 255, .82);
}
.quote-field .req { margin-left: 3px; color: rgba(255, 255, 255, .95); }
.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%; box-sizing: border-box;
  font-family: var(--body); font-size: 15px; color: #ffffff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 9px; padding: 12px 13px;
  transition: border-color .18s var(--ease-out), background .18s var(--ease-out);
}
.quote-field textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.quote-field input::placeholder,
.quote-field textarea::placeholder { color: rgba(255, 255, 255, .5); }
.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  outline: none; border-color: #ffffff; background: rgba(255, 255, 255, .14);
}
.quote-field input:user-invalid,
.quote-field textarea:user-invalid { border-color: rgba(255, 180, 180, .9); }
.quote-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.quote-field select option { color: #10304f; }
.quote-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.quote-form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.quote-submit {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .05em;
  font-size: 15px; font-weight: 600; line-height: 1;
  background: #ffffff; color: var(--heritage);
  border: 1px solid #ffffff; border-radius: 9px; padding: 14px 28px; cursor: pointer;
  transition: background .18s var(--ease-out), color .18s var(--ease-out);
}
.quote-submit:hover { background: transparent; color: #ffffff; }
.quote-submit:disabled { opacity: .55; cursor: default; }
.quote-form__status { margin: 0; font-family: var(--data); font-size: 13.5px; line-height: 1.4; }
.quote-form__status.is-ok { color: #8ee6b0; }
.quote-form__status.is-err { color: #ffb4b4; }
.quote-form__alt { margin: 2px 0 0; color: rgba(255, 255, 255, .62); }
.quote-form__alt a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  #quote { grid-template-columns: 1fr; }
  .quote-form__row { grid-template-columns: 1fr; }
}

/* footer */

.footer {
  position: relative;
  z-index: 10;
  background: #071a2d;
  color: var(--paper);
  padding: clamp(70px, 9vw, 130px) var(--gutter) 0;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: clamp(40px, 6vw, 90px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer__lockup { display: flex; align-items: flex-start; }

.footer__logo {
  width: auto;
  height: clamp(52px, 6vw, 74px);
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer__motto {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--paper);
  max-width: 14ch;
}

.footer__canada {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--alloy);
  font-size: 14px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer__col h4 {
  margin: 0 0 16px;
  font-family: var(--data);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--alloy);
}

.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.footer__col a,
.footer__col li {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}

.footer__col a:hover { color: var(--heritage-bright); text-decoration: underline; text-underline-offset: 4px; }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 24px var(--gutter) max(26px, env(safe-area-inset-bottom));
  border-top: 2px solid var(--signal);
  color: var(--alloy);
}

.footer__bar a { color: var(--paper); text-underline-offset: 4px; }

/* chatbot */

.chat-launch {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 620;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(148deg, #0a84d6 0%, var(--heritage) 55%, #045a94 100%);
  background-color: var(--heritage);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(4, 16, 30, .55), 0 0 0 1px rgba(255, 255, 255, .1) inset;
  transition: transform 320ms cubic-bezier(.34, 1.56, .64, 1), box-shadow 260ms ease;
}

.chat-launch:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 38px rgba(4, 16, 30, .62), 0 0 0 1px rgba(255, 255, 255, .16) inset;
}

.chat-launch:active { transform: translateY(-1px) scale(.98); }

.chat-launch:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

/* slow beacon ring — reads as "live desk", not a nag */
.chat-launch::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--heritage-bright);
  animation: fab-beacon 3.4s cubic-bezier(.22, .61, .36, 1) infinite;
  pointer-events: none;
}

@keyframes fab-beacon {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.chat-launch.is-open::before { animation: none; opacity: 0; }

/* the two icons crossfade/rotate as the panel toggles */
.chat-launch__icon {
  grid-area: 1 / 1;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 240ms ease, transform 340ms cubic-bezier(.34, 1.56, .64, 1);
}

.chat-launch__icon--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat-launch.is-open .chat-launch__icon--chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat-launch.is-open .chat-launch__icon--close { opacity: 1; transform: rotate(0) scale(1); }

/* unread pip until the desk is opened once */
.chat-launch__pip {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--signal);
  border: 2px solid #071a2d;
  transform: scale(0);
  animation: pip-in 400ms cubic-bezier(.34, 1.56, .64, 1) 1.6s forwards;
}

@keyframes pip-in { to { transform: scale(1); } }
.chat-launch.is-seen .chat-launch__pip { display: none; }

/* hover label */
.chat-launch__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 8px 12px;
  border-radius: 4px;
  background: #071a2d;
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--paper);
  font-family: var(--data);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.chat-launch:hover .chat-launch__tip,
.chat-launch:focus-visible .chat-launch__tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.chat-launch.is-open .chat-launch__tip { display: none; }

.chat {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(max(20px, env(safe-area-inset-bottom)) + 72px);
  z-index: 610;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: min(384px, calc(100vw - 32px));
  height: min(548px, calc(100dvh - 132px));
  background: #071a2d;
  border: 1px solid rgba(255, 255, 255, .16);
  border-top: 3px solid var(--signal);
  box-shadow: 0 24px 70px rgba(2, 10, 20, .7);
  color: var(--paper);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.94);
  transition: opacity 260ms ease, transform 380ms cubic-bezier(.22, 1.2, .36, 1), visibility 0s linear 380ms;
}

.chat.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 220ms ease, transform 420ms cubic-bezier(.22, 1.2, .36, 1), visibility 0s;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--carbon);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.chat__head img { width: 28px; height: auto; flex: none; }

.chat__title {
  display: grid;
  gap: 2px;
  margin-right: auto;
}

.chat__title strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}

.chat__status { display: flex; align-items: center; gap: 6px; color: var(--alloy); }

.chat__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35c26a;
  box-shadow: 0 0 0 0 rgba(53, 194, 106, .6);
  animation: status-pulse 2.4s ease-out infinite;
}

@keyframes status-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(53, 194, 106, .55); }
  70%  { box-shadow: 0 0 0 6px rgba(53, 194, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 194, 106, 0); }
}

.chat__close {
  border: 0;
  background: transparent;
  color: var(--alloy);
  font-size: 22px;
  line-height: 1;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.chat__close:hover { color: var(--paper); }

/* no scroll-behavior:smooth here — it swallows the programmatic
   scrollTop assignment in this page's scroll-driven context */
.chat__log {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg {
  max-width: 86%;
  padding: 10px 13px;
  font-size: 14.5px;
  line-height: 1.45;
  white-space: pre-line;
  animation: msg-in 380ms cubic-bezier(.22, 1.2, .36, 1) both;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.msg--bot {
  align-self: flex-start;
  background: #0e2c4c;
  border-left: 2px solid var(--heritage-bright);
  border-radius: 2px 10px 10px 10px;
}

.msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0a84d6, var(--heritage));
  color: #ffffff;
  border-radius: 10px 2px 10px 10px;
}

.msg--typing { display: flex; align-items: center; gap: 5px; padding: 14px 14px; }

.msg--typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--heritage-bright);
  animation: typing-bounce 1.25s ease-in-out infinite;
}

.msg--typing i:nth-child(2) { animation-delay: .16s; }
.msg--typing i:nth-child(3) { animation-delay: .32s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

.chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 14px 10px;
}

.chat-chip {
  border: 1px solid rgba(46, 155, 230, .5);
  background: transparent;
  color: var(--heritage-bright);
  font-family: var(--data);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 7px 12px;
  border-radius: 15px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
  animation: chip-in 320ms cubic-bezier(.22, 1.2, .36, 1) both;
}

@keyframes chip-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-chip:nth-child(2) { animation-delay: 60ms; }
.chat-chip:nth-child(3) { animation-delay: 120ms; }
.chat-chip:nth-child(4) { animation-delay: 180ms; }

.chat-chip:hover {
  background: var(--heritage);
  border-color: var(--heritage);
  color: #fff;
  transform: translateY(-1px);
}

.chat__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 14px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: var(--carbon);
}

.chat__input {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: #0e2c4c;
  color: var(--paper);
  font-family: var(--body);
  font-size: 14.5px;
}

.chat__input::placeholder { color: rgba(157, 176, 191, .7); }
.chat__input:focus-visible { outline: 2px solid var(--heritage-bright); outline-offset: 0; }

.chat__send {
  min-width: 64px;
  border: 0;
  background: var(--heritage);
  color: #fff;
  font-family: var(--data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease;
}

.chat__send:hover { background: #0a84d6; }

@media (prefers-reduced-motion: reduce) {
  .chat-launch::before,
  .chat-launch__pip,
  .chat__status::before,
  .msg--typing i { animation: none; }
  .chat-launch__pip { transform: scale(1); }
  .msg, .chat-chip { animation: none; }
  .chat { transition: opacity 120ms linear, visibility 0s; transform: none; }
  .chat.is-open { transform: none; }
}

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .section__head { grid-template-columns: 1fr; }
  .section__aside { justify-self: start; }
  .svc-grid { grid-template-columns: 1fr; }
  .net-facts { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .board__row { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1.2fr); }
  .board__cell--door { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .sequence { height: 100svh; }
  .chapter:not(.chapter--hero) { display: none; }
  .chapter--hero { visibility: visible; }
  .chapter--hero .reveal > span { transform: translateY(0); }
  .chapter--hero .chapter__eyebrow::before { transform: scaleX(1); }
  .telemetry { display: none; }
}

/* ============ primary navigation ============ */
.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  grid-template-columns: none;
  pointer-events: none;
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(7, 26, 45, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  text-shadow: none;
}
.site-header__brand { pointer-events: auto; text-decoration: none; }

.topnav { margin-left: auto; }
.topnav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.topnav__list a {
  pointer-events: auto;
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: var(--data);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, .82);
  transition: color 200ms ease;
}
.topnav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.topnav__list a:hover { color: #fff; }
.topnav__list a:hover::after { transform: scaleX(1); }

.topnav__end { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, .85); font-family: var(--data); font-size: 12px; font-weight: 500;
  letter-spacing: .04em; text-decoration: none; white-space: nowrap; transition: color 200ms ease;
}
.nav-phone:hover { color: #fff; }
.nav-phone__icon { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1120px) { .nav-phone__num { display: none; } }
.nav-cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(10, 35, 60, .18);
  color: var(--paper);
  font-family: var(--data);
  font-size: 11px;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}
.nav-cta::after { content: "↗"; font-size: 14px; }
.nav-cta:hover { background: var(--heritage); border-color: var(--heritage); color: #fff; }

.nav-toggle {
  pointer-events: auto;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(10, 35, 60, .2);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  transition: transform 240ms var(--ease-out), opacity 200ms ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-header { gap: 14px; }
  .nav-toggle { display: flex; }
  .topnav {
    position: fixed;
    inset: 64px 0 auto;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(7, 26, 45, .97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: max-height 340ms var(--ease-out), border-color 340ms ease;
  }
  .topnav.is-open { max-height: 60vh; border-bottom-color: var(--line); }
  .topnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
  }
  .topnav__list li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .topnav__list a { display: block; padding: 16px 0; font-size: 14px; }
  .topnav__list a::after { display: none; }
  .topnav__end .nav-cta { padding: 0 14px; }
}
@media (max-width: 560px) {
  .site-header__center { display: none; }
  .nav-cta span, .nav-cta { font-size: 10px; }
}

/* ============ services — capability lists ============ */
.svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc { padding: 34px 30px 40px; display: flex; flex-direction: column; }
.svc__num { margin-bottom: 22px; }
.svc__lead {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--alloy);
}
.svc__caps {
  margin: auto 0 0;
  padding-top: 22px;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .13);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;
}
.svc__caps li {
  position: relative;
  padding-left: 17px;
  font-family: var(--data);
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .8);
}
.svc__caps li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 7px; height: 7px;
  background: var(--heritage-bright);
}
@media (max-width: 620px) {
  .svc__caps { grid-template-columns: 1fr; }
}
.svc__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--data);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--heritage-bright);
  transition: gap 220ms var(--ease-out), color 220ms ease;
}
.svc__more::after { content: "→"; font-size: 14px; }
.svc__more:hover { gap: 14px; color: #fff; }

/* ============ services dropdown ============ */
.has-dropdown { position: relative; }
.topnav__trigger {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
  border: 0; background: none; cursor: pointer;
  font-family: var(--data); font-size: 12px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255, 255, 255, .82); transition: color 200ms ease;
}
.topnav__trigger::after { content: "\25BE"; font-size: 9px; transition: transform 220ms var(--ease-out); }
.topnav__trigger:hover,
.has-dropdown:hover .topnav__trigger,
.has-dropdown.is-open .topnav__trigger { color: #fff; }
.has-dropdown:hover .topnav__trigger::after,
.has-dropdown.is-open .topnav__trigger::after { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 0; transform: translateY(10px);
  min-width: 264px; padding: 10px; margin-top: 0; padding-top: 16px;
  background: rgba(7, 26, 45, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); display: grid; gap: 2px; z-index: 95;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 200ms ease, transform 220ms var(--ease-out), visibility 200ms;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.dropdown a {
  display: block; padding: 11px 14px; border-left: 2px solid transparent;
  font-family: var(--data); font-size: 12px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255, 255, 255, .82); text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.dropdown a:hover { background: rgba(0, 107, 182, .16); color: #fff; border-left-color: var(--signal); }
.dropdown__all { margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--heritage-bright); }
.dropdown__all:hover { color: #fff; }
@media (max-width: 860px) {
  .has-dropdown { width: 100%; }
  .topnav__trigger { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 14px; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; margin: 0; padding: 0; border: 0; background: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    max-height: 0; overflow: hidden; transition: max-height 320ms var(--ease-out);
  }
  .has-dropdown.is-open .dropdown { max-height: 460px; }
  .dropdown a { padding: 13px 0 13px 18px; font-size: 13px; }
}

/* ============ mobile nav refinements ============ */
.nav-quote { display: none; }
@media (max-width: 860px) {
  .topnav__end .nav-cta { display: none; }
  .topnav { background: #071a2d; }
  .topnav__list li.nav-quote { display: block; border-bottom: 0; padding: 10px 0 4px; }
  .nav-quote a {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px; background: var(--heritage); color: #fff;
    font-family: var(--data); font-size: 13px; font-weight: 500; letter-spacing: .1em;
    text-transform: uppercase; text-decoration: none;
  }
  .nav-quote a::after { content: "\2197"; font-size: 15px; }
  .nav-quote a:hover { background: #045a94; }
  .topnav.is-open { max-height: 86vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
}

/* ============ about ============ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}
.about-lead p {
  margin: 0 0 20px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .86);
}
.about-lead p:last-of-type { margin-bottom: 0; }
.about-sub {
  margin: 40px 0 16px;
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}
.about-what {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.about-what li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .82);
}
.about-what li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--signal);
}
.about-why {
  padding: clamp(28px, 3vw, 40px);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}
.about-why h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}
.about-why__note { margin: 0 0 24px; font-size: 14.5px; line-height: 1.5; color: var(--alloy); }
.about-why__note strong { color: #fff; font-weight: 600; }
.why-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.why-list li {
  position: relative;
  padding: 13px 0 13px 30px;
  font-family: var(--data);
  font-size: 13.5px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.why-list li:first-child { border-top: 0; }
.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 12px;
  color: var(--heritage-bright);
  font-size: 15px;
  font-weight: 700;
}
.about-close {
  margin-top: clamp(44px, 5vw, 72px);
  padding-top: clamp(30px, 3vw, 44px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}
.about-close p {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .86);
}
.about-close strong { color: #fff; font-weight: 600; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .about-what { grid-template-columns: 1fr; }
  .about-close { grid-template-columns: 1fr; }
}

/* ============ current page + footer heading links (shared by all pages) ============ */
.topnav__list a[aria-current="page"] { color: #fff; }
.topnav__list a[aria-current="page"]::after { transform: scaleX(1); }
.topnav__trigger.is-current { color: #fff; }
.dropdown a[aria-current="page"] { color: #fff; }
.footer__col h4 a { font: inherit; color: inherit; text-decoration: none; }
.footer__col h4 a:hover { color: var(--heritage-bright); text-decoration: none; }
.footer__col a[aria-current="page"] { color: #fff; }
