/* LPA Contracting — layout concept: "the closeout sequence". Full-bleed jobsite photo bands
   alternate with white and baby-blue wash sections; a three-bar phase mark (rough · final ·
   powder-puff) labels every section. Navy carries authority, mustard marks every action. */
:root {
  --navy: #000140;
  --navy-2: #0b1a72;
  --steel: #275282;          /* the logo's blue */
  --baby: #d7eafc;
  --wash: #f2f8fe;
  --mustard: #e3a92f;
  --mustard-2: #c98f17;
  --ink: #0b1033;
  --muted: #56617f;
  --line: #dbe5f2;
  --white: #ffffff;
  --on-navy: #c9d8ee;

  --f-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow: 0 18px 50px -18px rgba(0, 1, 64, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(0, 1, 64, 0.25);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--navy); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------------------------------------------------------------- icons */
.ic { width: 24px; height: 24px; flex: none; stroke-width: 1.75; }
.ic--xs { width: 14px; height: 14px; stroke-width: 2.5; }
.ic--sm { width: 17px; height: 17px; }
.ic--lg { width: 32px; height: 32px; }
.ic--btn { width: 18px; height: 18px; stroke-width: 2.25; transition: transform 0.35s var(--ease); }

/* ---------------------------------------------------------------- eyebrow + phase bars */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 18px;
}
.eyebrow--light { color: var(--baby); }
.bars { display: inline-flex; gap: 4px; align-items: center; }
.bars i { display: block; height: 4px; border-radius: 4px; }
.bars i:nth-child(1) { width: 20px; background: var(--mustard); }
.bars i:nth-child(2) { width: 12px; background: var(--steel); }
.bars i:nth-child(3) { width: 6px; background: var(--baby); }
.eyebrow--light .bars i:nth-child(2) { background: var(--white); }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: var(--r-sm); border: 2px solid transparent;
  font: 700 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic--btn { transform: translateX(4px); }
.btn--primary { background: var(--mustard); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(227, 169, 47, 0.8); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transition: transform 0.7s var(--ease);
}
.btn--primary:hover { background: #ecb53d; box-shadow: 0 16px 30px -12px rgba(227, 169, 47, 0.9); }
.btn--primary:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--outline { color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: 10px 16px; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn > span { position: relative; z-index: 1; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-weight: 700; color: var(--navy); text-decoration: none;
  background: linear-gradient(var(--mustard), var(--mustard)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.link-arrow .ic { transition: transform 0.35s var(--ease); }
.link-arrow:hover, a:hover .link-arrow { background-size: 100% 2px; }
.link-arrow:hover .ic, a:hover .link-arrow .ic { transform: translateX(5px); }

/* ---------------------------------------------------------------- top bar + header */
.topbar { background: var(--navy); color: var(--on-navy); font-size: 0.84rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar__right { gap: 22px !important; }

.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow 0.3s, border-color 0.3s;
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 1, 64, 0.35); border-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.logo img { height: 108px; width: auto; transition: height 0.3s var(--ease); }
.header.is-scrolled .logo img { height: 72px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn) {
  position: relative; padding: 10px 14px; font: 700 1.06rem/1.2 'Oswald', var(--f-body); letter-spacing: 0.01em;
  color: var(--navy); text-decoration: none; transition: color 0.3s var(--ease);
}
.nav > a:not(.btn):hover, .nav > a:not(.btn):focus-visible { color: var(--mustard-2); }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--mustard-2); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav > a:not(.btn):hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; }
.menu-btn { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.menu-btn .ic { width: 28px; height: 28px; }
.menu-btn .ic:last-child { display: none; }
.menu-btn[aria-expanded="true"] .ic:first-child { display: none; }
.menu-btn[aria-expanded="true"] .ic:last-child { display: block; }

/* ---------------------------------------------------------------- home hero slider */
.hero { position: relative; min-height: clamp(493px, 71vh, 714px); display: flex; flex-direction: column; justify-content: center; color: var(--white); overflow: hidden; background: var(--navy); }
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
/* Slides sit side by side on a track that moves left; site.js appends a clone of the
   first slide so the loop always travels in the same direction. */
.hero__track { display: flex; height: 100%; will-change: transform; transition: transform 1.15s cubic-bezier(0.65, 0, 0.35, 1); }
.hero__track.no-anim { transition: none; }
.slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.is-active img { transform: scale(1); }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__shade {
  /* One even blue tint over the whole photo (no fade), strong enough for white text.
     Colour: Brand & CSS → "Hero photo tint". Strength: override --hero-tint-strength in custom CSS. */
  position: absolute; inset: 0;
  background: rgba(31, 95, 160, 0.7);
  background: color-mix(in srgb, var(--hero-tint, #1f5fa0) var(--hero-tint-strength, 70%), transparent);
}
.hero__in, .hero__nav { text-shadow: 0 1px 2px rgba(0, 1, 64, 0.45), 0 2px 14px rgba(0, 1, 64, 0.35); }
.hero .btn, .hero .round-btn { text-shadow: none; }
.hero__in { position: relative; z-index: 2; padding-block: 72px 150px; }
.hero__title { color: var(--white); font-size: clamp(2.5rem, 5.2vw, 4.5rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.03em; max-width: 18ch; }
.mark {
  background: linear-gradient(var(--mustard), var(--mustard)) 0 92% / 0 0.12em no-repeat;
  animation: mark-in 1.1s 0.5s var(--ease) forwards;
}
@keyframes mark-in { to { background-size: 100% 0.12em; } }
.hero__sub { margin-top: 24px; max-width: 46ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--white); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__in > * { animation: rise 0.9s var(--ease) both; }
.hero__in > :nth-child(2) { animation-delay: 0.1s; }
.hero__in > :nth-child(3) { animation-delay: 0.2s; }
.hero__in > :nth-child(4) { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.hero__nav { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; flex: 1; max-width: 880px; }
.htab {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; text-align: left;
  padding: 14px 0 0; background: none; border: 0; color: rgba(255, 255, 255, 0.62); cursor: pointer;
  font: 600 0.9rem/1.25 var(--f-body); transition: color 0.3s;
}
.htab:hover, .htab.is-active { color: var(--white); }
.htab__bar { grid-column: 1 / -1; grid-row: 1; align-self: start; margin-top: -14px; height: 3px; background: rgba(255, 255, 255, 0.25); border-radius: 3px; overflow: hidden; }
.htab__bar b { display: block; height: 100%; width: 0; background: var(--mustard); }
.htab.is-active .htab__bar b { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .htab.is-active .htab__bar b { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.hero__arrows { display: flex; gap: 10px; }
.round-btn {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.35); color: var(--white); cursor: pointer;
  backdrop-filter: blur(6px); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.round-btn:hover { background: var(--mustard); color: var(--navy); border-color: var(--mustard); transform: scale(1.06); }

/* ---------------------------------------------------------------- stats strip */
.stats-wrap { position: relative; z-index: 4; margin-top: -64px; }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); overflow: hidden;
}
.stat { display: flex; flex-direction: column; gap: 4px; padding: 26px 28px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.stat__num { font: 800 clamp(2.2rem, 3.6vw, 3rem)/1 var(--f-display); color: var(--navy); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: 0.45em; color: var(--mustard-2); margin-left: 4px; letter-spacing: 0; }
.stat__label { font-size: 0.95rem; color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(72px, 9vw, 124px); }
.section--wash { background: var(--wash); }
.home #method { background: #d7ebff; }
.home #method .eyebrow .bars i:nth-child(3) { background: #7fa6cf; }
/* Home page: every section uses the same tighter spacing, and section labels are the larger size. */
.home .section { padding-block: clamp(36px, 4.5vw, 62px); }
.home .section .eyebrow { font-size: 1.56rem; gap: 16px; }
.home .section .eyebrow .bars i { height: 6px; }
.home .section .eyebrow .bars i:nth-child(1) { width: 30px; }
.home .section .eyebrow .bars i:nth-child(2) { width: 18px; }
.home .section .eyebrow .bars i:nth-child(3) { width: 9px; }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2 { color: var(--white); }
.shead { max-width: 760px; margin-bottom: 52px; }
.shead h2 + .lede { margin-top: 16px; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--muted); }
.intro { max-width: 70ch; margin: -24px 0 48px; color: var(--muted); }

/* ---------------------------------------------------------------- method stepper */
.stage-tabs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.stage-tabs__line { position: absolute; left: 8%; right: 8%; top: 50%; height: 2px; background: var(--line); z-index: 0; }
.stage-tabs__line b { display: block; height: 100%; width: var(--p, 0%); background: var(--mustard); transition: width 0.6s var(--ease); }
.stage-tab {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); color: var(--navy);
  font: 700 1.12rem/1.2 var(--f-display); cursor: pointer;
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.stage-tab:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.stage-tab small { display: block; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.stage-tab__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--baby); color: var(--navy); flex: none; transition: background 0.35s, color 0.35s; }
.stage-tab.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: var(--shadow); }
.stage-tab.is-active small { color: var(--baby); }
.stage-tab.is-active .stage-tab__icon { background: var(--mustard); color: var(--navy); }
.stage-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: stretch; background: var(--white); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.stage-panel:not([hidden]) { animation: panel-in 0.55s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
.stage-panel__text h3 { display: flex; align-items: center; gap: 14px; font-size: 1.8rem; margin-bottom: 26px; }
.stage-panel__text h3 .ic { color: var(--mustard-2); }
.point { display: flex; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.point h4 { margin-bottom: 6px; color: var(--navy); }
.point p { color: var(--muted); }
.ic--point { width: 26px; height: 26px; color: var(--mustard-2); margin-top: 2px; }
.stage-panel__img { border-radius: var(--r-md); overflow: hidden; min-height: 280px; }
.stage-panel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.stage-panel:hover .stage-panel__img img { transform: scale(1.05); }

/* ---------------------------------------------------------------- why LPA */
.why { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.why__intro { position: sticky; top: 120px; display: grid; gap: 18px; justify-items: start; }
.why__intro .eyebrow { margin-bottom: 0; }
.why__intro p:not(.lede):not(.eyebrow) { color: var(--muted); }
.why { align-items: center; grid-template-columns: minmax(0, 486px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.why .why-visual { aspect-ratio: 486 / 370; }
.why .why-visual::after { content: none; }
.why .why-visual img { object-position: 45% 50%; }
.why__intro .lede { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.4; color: var(--navy); }
/* Scope First: the crew photo is a hexagon cut-out, shown whole on the white panel. */
.stage-panel__img--cutout { border-radius: 0; overflow: visible; min-height: 370px; display: grid; place-items: center; }
.stage-panel__img--cutout img { width: auto; height: 100%; max-height: 420px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 1, 64, 0.18)); }
.stage-panel:hover .stage-panel__img--cutout img { transform: scale(1.03); }
.stage-panel:has(.stage-panel__img--cutout) .stage-panel__text { align-self: center; }
.why__intro { position: static; }
.why-visual { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; box-shadow: var(--shadow); isolation: isolate; }
.why-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.why-visual::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 1, 64, 0) 40%, rgba(0, 1, 64, 0.82) 100%); transition: background 0.5s var(--ease);
}
.why-visual__label {
  position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}
.why-visual__label small { flex-basis: 100%; font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mustard); }
.why-visual__label .ic { width: 1.3em; height: 1.3em; padding: 6px; border-radius: 50%; background: var(--mustard); color: var(--navy); transition: transform 0.45s var(--ease); box-sizing: content-box; }
.why-visual:hover img, .why-visual:focus-visible img { transform: scale(1.06); }
.why-visual:hover::after, .why-visual:focus-visible::after { background: linear-gradient(180deg, rgba(0, 1, 64, 0.25) 0%, rgba(0, 1, 64, 0.88) 100%); }
.why-visual:hover .why-visual__label .ic, .why-visual:focus-visible .why-visual__label .ic { transform: translateX(8px); }
.intro--wide { max-width: 70ch; margin: 0 0 40px; font-size: 1.1rem; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature {
  position: relative; padding: 30px 28px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.feature::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 3px; background: var(--mustard); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--baby); }
.feature:hover::before { transform: scaleX(1); }
.feature h3 { margin: 20px 0 10px; }
.feature p { color: var(--muted); font-size: 1rem; }
.feature__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--baby); color: var(--navy); transition: background 0.4s, color 0.4s, transform 0.4s var(--ease); }
.feature:hover .feature__icon, .spec:hover .feature__icon { background: var(--navy); color: var(--mustard); transform: rotate(-6deg) scale(1.05); }

/* ---------------------------------------------------------------- background videos */
.ytbg { position: absolute; inset: 0; overflow: hidden; container-type: size; background: var(--navy); }
.ytbg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s var(--ease); }
/* Cover the box at 16:9 whatever its shape, and crop YouTube's edges (title bar, logo). */
.ytbg__frame {
  position: absolute; top: 50%; left: 50%; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease);
  width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%) scale(1.2);
}
.ytbg__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.ytbg.is-playing .ytbg__frame { opacity: 1; }
.ytbg.is-playing > img { opacity: 0; }
.slide .ytbg > img { transition: transform 7s ease-out, opacity 1s var(--ease); }
/* Parallax: the moving layer is taller than its section so its edges never show. */
[data-parallax] { inset: -16% 0; will-change: transform; }
@media (prefers-reduced-motion: reduce) { [data-parallax] { inset: 0; } }

/* ---------------------------------------------------------------- callout */
.callout { position: relative; overflow: hidden; color: var(--white); }
.callout__media { position: absolute; inset: 0; }
.callout__media img { width: 100%; height: 100%; object-fit: cover; }
.callout__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 1, 64, 0.95) 30%, rgba(11, 26, 114, 0.82)); }
/* Video sections use exactly the hero's even blue tint (same colour and strength). */
.callout--video .callout__media::after, .ctaband--video .ctaband__media::after {
  background: rgba(31, 95, 160, 0.7);
  background: color-mix(in srgb, var(--hero-tint, #1f5fa0) var(--hero-tint-strength, 70%), transparent);
}
.callout--video .callout__in, .ctaband--video .ctaband__in { text-shadow: 0 1px 2px rgba(0, 1, 64, 0.45), 0 2px 14px rgba(0, 1, 64, 0.35); }
.ctaband--video .btn { text-shadow: none; }
.callout--video blockquote footer, .ctaband--video p, .ctaband--video .ctaband__phone small { color: var(--white); }
/* Video sections: content centred inside a white rounded frame. */
.callout--video .callout__in, .ctaband--video .ctaband__in { display: block; }
.vframe {
  max-width: 920px; margin-inline: auto; padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 72px);
  border: 2px solid var(--white); border-radius: var(--r-lg);
  display: grid; justify-items: center; gap: 28px; text-align: center;
}
.callout--video .callout__q { width: 56px; height: 56px; }
.callout--video blockquote p { max-width: 24ch; margin-inline: auto; }
.ctaband--video p { margin-inline: auto; }
.ctaband--video .ctaband__actions { justify-content: center; }
.ctaband--video .ctaband__phone { text-align: left; }
.callout__in { position: relative; padding-block: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
.callout__q { width: 64px; height: 64px; color: var(--mustard); stroke-width: 1.5; }
.callout blockquote { margin: 0; }
.callout blockquote p { font: 700 clamp(1.9rem, 3.8vw, 3.2rem)/1.12 var(--f-display); letter-spacing: -0.02em; max-width: 22ch; text-wrap: balance; }
.callout blockquote footer { margin-top: 22px; font: 500 0.8rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--baby); }

/* ---------------------------------------------------------------- sectors (image hover cards) */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sector { position: relative; aspect-ratio: 3 / 4.7; max-width: 100%; border-radius: 0; overflow: hidden; color: var(--white); isolation: isolate; outline-offset: 4px; }
.sector__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.sector__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 1, 64, 0.95) 8%, rgba(0, 1, 64, 0.45) 50%, rgba(0, 1, 64, 0.05) 80%); transition: background 0.5s; }
.sector__body { position: absolute; inset: auto 0 0 0; padding: 26px; display: grid; gap: 8px; }
.sector__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--mustard); color: var(--navy); margin-bottom: 6px; transition: transform 0.5s var(--ease); }
.sector h3 { color: var(--white); font-size: 1.28rem; }
.sector__short { color: var(--baby); font-size: 0.95rem; }
.sector__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9rem; line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.6s var(--ease), opacity 0.4s, margin 0.4s; }
.sector__list li { display: flex; gap: 8px; }
.sector__list .ic { color: var(--mustard); margin-top: 4px; }
.sector:hover .sector__img, .sector:focus-within .sector__img, .sector:focus .sector__img { transform: scale(1.09); }
.sector:hover .sector__shade, .sector:focus .sector__shade { background: linear-gradient(0deg, rgba(0, 1, 64, 0.97) 30%, rgba(0, 1, 64, 0.75) 100%); }
.sector:hover .sector__list, .sector:focus .sector__list { max-height: 360px; opacity: 1; margin-top: 8px; }
.sector:hover .sector__icon, .sector:focus .sector__icon { transform: rotate(-8deg); }
/* Square cards with an even, solid-edged tint behind the text (no fade). The band starts a little
   above the icon and grows upward with the list on hover. */
.sector .sector__shade { display: none; }
.sector .sector__body { padding-top: 22px; background: rgba(0, 1, 64, 0.82); min-height: 52%; align-content: start; transition: min-height 0.6s var(--ease); }
@media (hover: hover) { .sector:hover .sector__body, .sector:focus .sector__body { min-height: 100%; } }
@media (hover: hover) { .sector:hover .sector__short, .sector:focus .sector__short { display: none; } .sector__list { font-size: 0.86rem; } }
@media (hover: none) {
  .sector { aspect-ratio: auto; min-height: 460px; }
  .sector__list { max-height: none; opacity: 1; margin-top: 8px; }
  .sector__shade { background: linear-gradient(0deg, rgba(0, 1, 64, 0.97) 45%, rgba(0, 1, 64, 0.35) 100%); }
}

/* ---------------------------------------------------------------- service cards (home) */
.vcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.vcard {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 360px; padding: 40px 28px 32px; border-radius: 0; text-decoration: none;
  background: var(--white); border: 4px solid var(--steel); box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.45s;
}
.vcard__bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s var(--ease); }
.vcard__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 1, 64, 0.6), rgba(0, 1, 64, 0.88)); }
.vcard__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
/* Mustard circle, always; on hover it grows and gets a soft ring. */
.vcard__icon {
  display: grid; place-items: center; width: 112px; height: 112px; margin: 0 auto 28px; border-radius: 50%;
  background: var(--mustard); color: var(--navy); box-shadow: 0 0 0 0 rgba(227, 169, 47, 0.35);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.vcard__icon svg { width: 58px; height: 58px; stroke-width: 1.75; }
.vcard h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: 12px; color: var(--navy); transition: color 0.45s; }
.vcard p { color: var(--muted); margin-bottom: 22px; transition: color 0.45s; }
.vcard .link-arrow { margin-top: auto; transition: color 0.45s; }
.vcard:hover, .vcard:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow); }
.vcard:hover .vcard__bg, .vcard:focus-visible .vcard__bg { opacity: 1; }
.vcard:hover .vcard__bg img, .vcard:focus-visible .vcard__bg img { transform: scale(1); }
.vcard:hover .vcard__icon, .vcard:focus-visible .vcard__icon { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(227, 169, 47, 0.25); }
.vcard:hover h3, .vcard:focus-visible h3, .vcard:hover .link-arrow, .vcard:focus-visible .link-arrow { color: var(--white); }
.vcard:hover p, .vcard:focus-visible p { color: var(--on-navy); }
@media (max-width: 1100px) { .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .vcards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .vcard { min-height: 0; padding: 32px 24px 28px; }
  .vcard__icon { width: 92px; height: 92px; margin-bottom: 20px; }
  .vcard__icon svg { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .vcard, .vcard__bg, .vcard__bg img, .vcard__icon { transition: none; } }

/* ---------------------------------------------------------------- divisions */
.divisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.division { display: grid; text-decoration: none; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.division:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.division__img { aspect-ratio: 16 / 9; overflow: hidden; max-width: 100%; }
.division__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.division:hover .division__img img { transform: scale(1.07); }
.division__body { padding: 30px 32px 34px; }
.division__body h3 { font-size: 1.6rem; margin-bottom: 10px; }
.division__body p { color: var(--muted); }

/* ---------------------------------------------------------------- CTA band */
.ctaband { position: relative; overflow: hidden; color: var(--white); }
.ctaband__media { position: absolute; inset: 0; }
.ctaband__media img { width: 100%; height: 100%; object-fit: cover; }
.ctaband__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 1, 64, 0.96), rgba(39, 82, 130, 0.88)); }
.ctaband__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: clamp(64px, 8vw, 100px); }
.ctaband h2 { color: var(--white); }
.ctaband p { margin-top: 14px; color: var(--baby); max-width: 52ch; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; justify-content: flex-end; }
.ctaband__phone { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.25rem/1.1 var(--f-display); }
.ctaband__phone .ic { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--mustard); transition: background 0.3s, transform 0.3s var(--ease); }
.ctaband__phone:hover .ic { background: var(--mustard); color: var(--navy); transform: rotate(-12deg); }
.ctaband__phone small { display: block; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--baby); margin-bottom: 6px; }

/* ---------------------------------------------------------------- inner page hero */
.phero { position: relative; min-height: clamp(380px, 54vh, 540px); display: flex; align-items: flex-end; color: var(--white); background: var(--navy); overflow: hidden; }
.phero__media { position: absolute; inset: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 9s ease-out forwards; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 1, 64, 0.95) 0%, rgba(0, 1, 64, 0.72) 50%, rgba(0, 1, 64, 0.3) 100%), linear-gradient(0deg, rgba(0, 1, 64, 0.6), transparent 50%); }
.phero--plain { min-height: clamp(320px, 40vh, 400px); background:
  repeating-linear-gradient(90deg, rgba(215, 234, 252, 0.06) 0 1px, transparent 1px 80px),
  repeating-linear-gradient(0deg, rgba(215, 234, 252, 0.06) 0 1px, transparent 1px 80px),
  linear-gradient(120deg, var(--navy) 40%, var(--navy-2)); }
.phero__in { position: relative; padding-block: 72px 64px; }
.phero__in > * { animation: rise 0.85s var(--ease) both; }
.phero__in > :nth-child(3) { animation-delay: 0.08s; }
.phero__in > :nth-child(4) { animation-delay: 0.16s; }
.phero__in > :nth-child(5) { animation-delay: 0.24s; }
.crumb { display: flex; align-items: center; gap: 8px; font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.08em; color: var(--baby); margin-bottom: 26px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--white); }
.phero__title { color: var(--white); font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; max-width: 18ch; }
.phero__sub { margin-top: 20px; max-width: 60ch; color: var(--baby); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.phero__cta { margin-top: 30px; }

/* ---------------------------------------------------------------- about */
.brings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bring { display: flex; gap: 22px; padding: 32px; border-radius: var(--r-md); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.bring:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--baby); }
.bring__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--navy); color: var(--mustard); flex: none; transition: transform 0.4s var(--ease); }
.bring:hover .bring__icon { transform: rotate(-8deg) scale(1.06); }
.bring h3 { margin-bottom: 10px; }
.bring p { color: var(--muted); }
.story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.story h2 { margin-bottom: 18px; }
.story__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat--inline { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(215, 234, 252, 0.16); border-radius: var(--r-md); }
.stat--inline + .stat--inline::before { display: none; }
.stat--inline .stat__num { color: var(--white); }
.stat--inline .stat__num small { color: var(--mustard); }
.stat--inline .stat__label { color: var(--on-navy); }
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.leader { text-align: center; padding: 36px 24px; border-radius: var(--r-md); background: var(--wash); transition: transform 0.4s var(--ease), box-shadow 0.4s; display: grid; justify-items: center; gap: 6px; }
.leader:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.leader__avatar { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 12px; background: linear-gradient(140deg, var(--navy), var(--steel)); color: var(--mustard); font: 800 1.6rem/1 var(--f-display); box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--baby); }
.leader__avatar--sm { width: 46px; height: 46px; font-size: 1rem; margin: 0; box-shadow: none; flex: none; }
.leader p { color: var(--muted); font-size: 0.95rem; }
.leader a { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; color: var(--navy); text-decoration: none; }
.leader a:hover { color: var(--steel); }

/* ---------------------------------------------------------------- cleaning: phases timeline */
.phases { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.phases::before { content: ""; position: absolute; left: 12%; right: 12%; top: 32px; border-top: 2px dashed var(--steel); opacity: 0.35; }
.phase { position: relative; background: var(--white); border-radius: var(--r-lg); padding: 30px 28px 32px; box-shadow: var(--shadow-sm); transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.phase:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.phase__node { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--mustard); margin: -62px 0 22px; box-shadow: 0 0 0 8px var(--wash); transition: transform 0.45s var(--ease); }
.phase:hover .phase__node { transform: scale(1.08) rotate(-8deg); }
.phases { margin-top: 32px; }
.phase__code { font: 500 0.74rem/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.phase h3 { font-size: 1.55rem; margin-bottom: 14px; }
.phase__when { display: flex; gap: 10px; font-size: 0.95rem; color: var(--muted); padding: 14px 16px; border-radius: var(--r-sm); background: var(--wash); margin-bottom: 18px; }
.phase__when .ic { color: var(--mustard-2); margin-top: 3px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 0.98rem; line-height: 1.5; }
.checks .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--baby); color: var(--navy); margin-top: 1px; }
.closeout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.closeout > div:not(.closeout__img) { display: grid; gap: 18px; justify-items: start; }
.closeout > div:not(.closeout__img) .eyebrow { margin-bottom: 0; }
.closeout p { color: var(--muted); }
.closeout__img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.3; max-width: 100%; }
.closeout__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.closeout__img:hover img { transform: scale(1.06); }
.closeout__badge { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--mustard); color: var(--navy); font-weight: 700; box-shadow: var(--shadow-sm); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.spec { background: var(--white); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm); transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.spec:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.spec h3 { margin: 20px 0 18px; font-size: 1.4rem; }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.qform { display: grid; gap: 22px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--white); }
.qform h2 { font-size: 1.7rem; }
.qform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.qform label { display: grid; gap: 8px; font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.qform input:not([type="checkbox"]), .qform textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--white);
  padding: 13px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); transition: border-color 0.25s, box-shadow 0.25s;
}
.qform input[type="file"] { padding: 10px; }
.qform input:focus, .qform textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--baby); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-weight: 600; font-size: 0.92rem; color: var(--navy); margin-bottom: 10px; padding: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 0.92rem; color: var(--navy); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip .ic { width: 0; transition: width 0.25s; }
.chip:hover span { border-color: var(--steel); }
.chip input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip input:checked + span .ic { width: 14px; color: var(--mustard); }
.chip input:focus-visible + span { outline: 3px solid var(--mustard); outline-offset: 2px; }
.qform__error, .qform__fail { color: #b42318; font-weight: 600; margin: 0; }
.qform__fail a { color: inherit; }
.qform__form { display: grid; gap: 18px; }
.qform__full { grid-column: 1 / -1; }
.qform label small { font-weight: 500; color: var(--muted, #5b6478); }
.qform [aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 4px #fde4e1; }
.qform__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.qform__intro { margin: -10px 0 0; color: var(--muted); }
.btn.is-busy { opacity: 0.7; pointer-events: none; }
.btn.is-busy .ic { animation: qspin 0.9s linear infinite; }
@keyframes qspin { to { transform: rotate(360deg); } }

/* Quote pop-up */
html:has(.qmodal[open]) { overflow: hidden; }
.qmodal { border: 0; padding: 0; width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--r-lg); background: var(--white); color: var(--navy); box-shadow: 0 30px 80px rgba(0, 1, 64, 0.35); overflow: auto; opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.22s ease, transform 0.22s ease; }
.qmodal.is-open { opacity: 1; transform: none; }
.qmodal::backdrop { background: rgba(0, 1, 64, 0.55); backdrop-filter: blur(3px); }
.qmodal__panel { position: relative; }
.qmodal__head { display: flex; justify-content: space-between; gap: 16px; padding: 28px 32px 22px; background: linear-gradient(135deg, var(--navy), var(--steel)); color: var(--white); border-bottom: 4px solid var(--mustard); }
.qmodal__head h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2rem); margin: 4px 0 8px; }
.qmodal__head p { margin: 0; color: var(--baby); }
.qmodal__head .eyebrow { color: var(--mustard); margin: 0; }
.qmodal__close { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.qmodal__close:hover { background: var(--mustard); color: var(--navy); transform: rotate(90deg); }
.qmodal .qform { border: 0; box-shadow: none; border-radius: 0; padding: 24px 32px 8px; }
.qmodal__call { display: flex; align-items: center; gap: 8px; padding: 0 32px 24px; margin: 0; color: var(--muted, #5b6478); font-size: 0.92rem; }
.qmodal__call a { color: var(--navy); font-weight: 700; }
@media (max-width: 560px) {
  .qmodal__head { padding: 22px 20px 18px; }
  .qmodal .qform { padding: 20px 20px 4px; }
  .qmodal__call { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) { .qmodal { transition: none; } }
.qform__thanks { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); background: var(--wash); color: var(--navy); font-weight: 600; }
.qform__thanks .ic { color: var(--mustard-2); }
.contact__side { display: grid; gap: 22px; position: sticky; top: 120px; }
.side-card { padding: 30px; border-radius: var(--r-lg); background: var(--wash); }
.side-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1.25rem; }
.side-card h3 .ic { color: var(--mustard-2); }
.side-card--navy { background: var(--navy); color: var(--on-navy); }
.side-card--navy h3 { color: var(--white); }
.people { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 16px; }
.people li { display: flex; gap: 14px; align-items: center; }
.people b { display: block; color: var(--white); }
.people small { display: block; font-size: 0.84rem; line-height: 1.35; }
.people a { color: var(--mustard); font-weight: 700; text-decoration: none; }
.side-line { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 0.95rem; }
.side-line a { color: var(--white); }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 5px solid #014f96; background: url(img/footer-triangles.webp) center / cover no-repeat, var(--navy); color: var(--on-navy); padding-top: clamp(64px, 8vw, 96px); font-size: 0.96rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1.3fr); gap: 40px; }
.footer__brand { display: grid; gap: 20px; justify-items: start; }
.footer__brand img { height: 74px; width: auto; }
.footer__brand p { max-width: 34ch; }
.footer__social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 4px 0 0; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(215, 234, 252, 0.3); color: var(--white); transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.footer__social a:hover, .footer__social a:focus-visible { background: var(--mustard); border-color: var(--mustard); color: var(--navy); transform: translateY(-2px); }
.footer h3 { font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mustard); margin-bottom: 20px; }
.footer__links, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a { text-decoration: none; transition: color 0.25s; }
.footer a:hover { color: var(--white); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ic { color: var(--mustard); margin-top: 3px; }
.footer__contact b { display: block; color: var(--white); font-weight: 600; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-block: 24px; border-top: 1px solid rgba(215, 234, 252, 0.14); font-size: 0.86rem; }

/* ---------------------------------------------------------------- scroll reveal
   Content is visible by default. site.js adds .pre only to elements that start below the
   fold, then removes it as they scroll in, so the page is complete at rest without JS. */
[data-reveal] { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].pre { opacity: 0; transform: translateY(34px); }
[data-reveal="left"].pre { transform: translateX(-48px); }
[data-reveal="right"].pre { transform: translateX(48px); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Six menu items need about 1160px; below that, switch to the menu button. */
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 10px max(20px, env(safe-area-inset-right, 0px)) 22px max(20px, env(safe-area-inset-left, 0px));
  }
  .nav.is-open { display: flex; animation: panel-in 0.3s var(--ease); }
  .nav > a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { left: 4px; right: auto; width: 40px; }
  .nav__cta { margin: 16px 0 0; }
}
@media (max-width: 1000px) {
  .why, .story, .closeout, .contact, .ctaband__in { grid-template-columns: minmax(0, 1fr); }
  .closeout--flip .closeout__img { order: -1; }
  .why__intro, .contact__side { position: static; }
  .ctaband__actions { justify-content: flex-start; }
  .stage-panel { grid-template-columns: minmax(0, 1fr); padding: 28px; }
  .stage-panel__img { min-height: 0; aspect-ratio: 16 / 9; max-width: 100%; }
  .phases { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .phases::before { display: none; }
  .divisions, .specs, .brings, .leaders { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  .logo img { height: 84px; }
  .header.is-scrolled .logo img { height: 60px; }
  .hero__in { padding-block: 72px 150px; }
  .hero__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .htab { grid-template-columns: 1fr; }
  .htab span, .htab .ic { display: none; }
  .hero__nav { bottom: 84px; align-items: center; }
  .round-btn { width: 44px; height: 44px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat { padding: 20px; }
  .stage-tabs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .stage-tabs__line { display: none; }
  .features, .features--3, .qform__grid, .story__stats { grid-template-columns: minmax(0, 1fr); }
  .sectors { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .callout__in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bring { flex-direction: column; gap: 16px; padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .slide img, .phero__media img { transform: none !important; }
  .hero__track { transition: none !important; }
  [data-reveal].pre { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .stage-panel__img--cutout { min-height: 0; aspect-ratio: auto; }
  .stage-panel__img--cutout img { width: 100%; max-width: 340px; height: auto; max-height: none; }
}

/* ---------------------------------------------------------------- blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--baby); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 28px; flex: 1; border-top: 4px solid var(--mustard); }
.post-card h3 { font-size: 1.24rem; line-height: 1.25; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--steel); }
.post-card__excerpt { color: var(--muted); font-size: 0.98rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; }
.post-card__more .ic { transition: transform 0.3s var(--ease); }
.post-card__more:hover { color: var(--mustard-2); }
.post-card__more:hover .ic { transform: translateX(4px); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 500 0.76rem/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.post-tag { padding: 5px 9px; background: var(--wash); color: var(--steel); }
.post-meta--light { color: var(--baby); }
.post-meta--light .post-tag { background: var(--mustard); color: var(--navy); }
.post-meta--light span + span::before, .post-meta--light time + span::before { content: "·"; margin-right: 14px; }

.post-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.post-hero::before { content: ""; position: absolute; inset: 0; background: url(img/footer-triangles.webp) center / cover no-repeat; opacity: 0.9; }
.post-hero__in { position: relative; padding-block: 56px clamp(150px, 16vw, 210px); }
.post-hero__title { color: var(--white); font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; max-width: 24ch; margin-top: 18px; }
.post-hero__by { margin-top: 16px; color: var(--baby); }
.post__wrap { position: relative; margin-top: clamp(-190px, -14vw, -120px); }
.post__cover { margin: 0 0 clamp(36px, 5vw, 56px); aspect-ratio: 16 / 8; overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.post__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(36px, 6vw, 80px); align-items: start; padding-bottom: clamp(48px, 7vw, 90px); }
.post__aside { position: sticky; top: 120px; display: grid; gap: 24px; }

.prose { max-width: 70ch; font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-top: 1.9em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li, .prose ol li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 10px; height: 10px; background: var(--mustard); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0.1em; font: 700 0.9rem/1.6 var(--f-display); color: var(--steel); }
.prose a { color: var(--steel); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--mustard-2); }
.prose strong { color: var(--navy); }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--mustard); font: 600 1.3rem/1.45 var(--f-display); color: var(--navy); }
.post__lede { font-size: 1.25rem; line-height: 1.6; color: var(--navy); font-weight: 500; padding-bottom: 1.2em; border-bottom: 1px solid var(--line); }

.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share__label { font: 500 0.76rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share__btn { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.share__btn:hover, .share__btn:focus-visible { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.share__btn.is-copied { background: var(--mustard); border-color: var(--mustard); color: var(--navy); }
.post-cta { padding: 28px 26px; background: var(--navy); color: var(--white); border-top: 4px solid var(--mustard); display: grid; gap: 14px; justify-items: start; }
.post-cta h2 { color: var(--white); font-size: 1.35rem; }
.post-cta p { color: var(--baby); font-size: 0.98rem; }
.post-cta__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.post-cta__phone:hover { color: var(--mustard); }

@media (max-width: 1100px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .post__layout { grid-template-columns: minmax(0, 1fr); }
  .post__aside { position: static; }
  .post__cover { aspect-ratio: 16 / 10; }
}
@media (max-width: 700px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 1.04rem; }
}

/* Home page blog slider: four across on desktop, scroll/swipe for more. */
.home-blog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.home-blog__head .shead { margin-bottom: 0; }
.home-blog__nav { display: flex; align-items: center; gap: 10px; }
.home-blog__all { display: inline-flex; align-items: center; gap: 8px; margin-right: 8px; font-weight: 700; color: var(--navy); text-decoration: none; }
.home-blog__all:hover { color: var(--mustard-2); }
.slider-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--navy); background: var(--white); color: var(--navy); cursor: pointer; transition: background 0.25s, color 0.25s, opacity 0.25s; }
.slider-btn:hover:not(:disabled), .slider-btn:focus-visible { background: var(--navy); color: var(--white); }
.slider-btn:disabled { opacity: 0.3; cursor: default; }
.bslider { --gap: 24px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 0 18px; }
.bslider::-webkit-scrollbar { display: none; }
.bslider:focus-visible { outline: 2px solid var(--steel); outline-offset: 4px; }
.bslide { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.bslide:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--baby); }
.bslide__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.bslide__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.bslide:hover .bslide__media img { transform: scale(1.06); }
.bslide__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; flex: 1; border-top: 4px solid var(--mustard); }
.bslide h3 { font-size: 1.06rem; line-height: 1.3; }
.bslide h3 a { text-decoration: none; }
.bslide h3 a:hover { color: var(--steel); }
.bslide .post-meta { font-size: 0.7rem; }
@media (max-width: 1100px) { .bslider { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (max-width: 700px) { .bslider { --gap: 16px; grid-auto-columns: 82%; } .home-blog__all { margin-right: 0; } }
@media (prefers-reduced-motion: reduce) { .bslider { scroll-behavior: auto; } }

/* Every page: page headers and the closing call-to-action band use the home hero's blue tint.
   The About story section has a faint photo behind the navy so the text stays fully legible. */
.phero__media::after,
.ctaband__media::after {
  background: rgba(31, 95, 160, 0.7);
  background: color-mix(in srgb, var(--hero-tint, #1f5fa0) var(--hero-tint-strength, 70%), transparent);
}
.phero__in, .ctaband__in { text-shadow: 0 1px 2px rgba(0, 1, 64, 0.45), 0 2px 14px rgba(0, 1, 64, 0.35); }
.phero__sub, .ctaband p, .ctaband__phone small, .phero .crumb, .phero .crumb a { color: var(--white); }
.phero .btn, .ctaband .btn { text-shadow: none; }
.story-section { position: relative; overflow: hidden; isolation: isolate; }
.story-section__media { position: absolute; inset: 0; z-index: -1; }
.story-section__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; filter: grayscale(0.3); }
.story-section__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 1, 64, 0.55), rgba(0, 1, 64, 0.15)); }
