/* =========================================================
   Value Engineering Construction Management — Design System
   THEME: VECM Navy / Steel (light).  Conversion-focused.
   Palette drawn directly from the VECM logo artwork:
   deep navy #0D1D3A · mid navy #25466C · steel blue #356D9E
   silver #ACB0B7 / #D9DEE7.
   ---------------------------------------------------------
   All components read from the semantic tokens in :root —
   re-skinning the site is a single-block swap.
   ========================================================= */

:root {
  /* ---- Semantic theme tokens (VECM NAVY / LIGHT) ---- */
  --bg:            #FFFFFF;   /* page background */
  --bg-2:          #F2F5F9;   /* alternating section */
  --surface:       #FFFFFF;   /* cards */
  --surface-2:     #F7FAFD;   /* raised / hover cards */
  --surface-line:  #C7D2DF;   /* hairlines */
  --line:          #D9DEE7;

  --emphasis-bg:   #0D1D3A;   /* logo deep navy (header / CTA / footer / perf) */
  --emphasis-surface: #16305A;

  --heading:       #101D30;   /* headings on light */
  --text:          #2C3A4A;   /* body */
  --text-muted:    #5A6B7B;   /* secondary */
  --text-faint:    #8A99A8;

  --accent:        #356D9E;   /* logo steel blue */
  --accent-strong: #2B5885;
  --accent-soft:   rgba(53,109,158,.10);
  --accent-line:   rgba(53,109,158,.32);
  --accent-2:      #7FA9CE;   /* lighter steel for highlights */
  --on-accent:     #FFFFFF;   /* text on steel buttons */

  --gold:          #9FB3C8;   /* structural marker (logo silver-steel) */
  --good:          #1E9E6A;   /* solution / check green */
  --good-soft:     rgba(30,158,106,.12);
  --bad:           #D14343;   /* problem red */
  --bad-soft:      rgba(209,67,67,.10);

  --hero-overlay-1: rgba(8,17,33,.55);
  --hero-overlay-2: rgba(8,17,33,.92);

  --header-bg:          rgba(233,237,242,.92);   /* light gray nav bar */
  --header-bg-scrolled: rgba(233,237,242,.98);

  --glow-1: rgba(78,127,178,.32);  /* hero glow */
  --glow-2: rgba(78,127,178,.45);  /* cta primary glow */
  --glow-3: rgba(78,127,178,.20);  /* soft secondary glow */

  --shadow-1: 0 1px 2px rgba(13,27,42,.06), 0 2px 8px rgba(13,27,42,.06);
  --shadow-2: 0 12px 30px rgba(13,27,42,.12);
  --shadow-accent: 0 12px 28px rgba(53,109,158,.35);
  --shadow-accent-hover: 0 18px 40px rgba(53,109,158,.45);

  --success-text: #0E5C3F;             /* form success text (on white card) */
  --success-line: rgba(30,158,106,.45);

  /* ---- Type ---- */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Public Sans", "Helvetica Neue", Arial, sans-serif;

  /* ---- Geometry ---- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 100px;
  --maxw: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.62;
  font-size: 18.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 800;
}
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--on-accent); }

/* ===================== LAYOUT HELPERS ===================== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 68px 0; }
.section--alt { background: var(--bg-2); }
.section--emphasis { background: linear-gradient(150deg, var(--emphasis-bg) 0%, #12294E 55%, var(--emphasis-surface) 100%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 14.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}

.h-xl { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.h-md { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
.lead { font-size: clamp(1.154rem, 1.5vw, 1.374rem); color: var(--text); }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.measure { max-width: 760px; }
.measure-sm { max-width: 560px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.accent-text { color: var(--accent); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; letter-spacing: .01em;
  padding: 15px 28px; border-radius: var(--r-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%); color: var(--on-accent); box-shadow: var(--shadow-accent); }
.btn--primary:hover { background: linear-gradient(135deg, var(--accent-strong) 0%, #234A70 100%); transform: translateY(-2px); box-shadow: var(--shadow-accent-hover); }
.btn--ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent-line); }
.btn--outline:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; color: var(--accent);
  font-size: 15px;
}
.arrow-link span { transition: transform .25s var(--ease); }
.arrow-link:hover span { transform: translateX(5px); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(16,29,48,.06);
  box-shadow: 0 6px 22px rgba(13,27,42,.07);
  transition: box-shadow .3s var(--ease), background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-1); background: var(--header-bg-scrolled); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 61px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: rgba(16,29,48,.72); letter-spacing: .01em; position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--heading); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--heading); }

/* dropdown (Services) */
.nav-links .has-sub { position: relative; display: flex; align-items: center; }
.nav-links .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-links .has-sub > a .caret { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-links .has-sub:hover > a .caret, .nav-links .has-sub:focus-within > a .caret { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: -18px; min-width: 250px;
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px; box-shadow: 0 18px 40px rgba(13,27,42,.18);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 120;
}
.sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-links .has-sub:hover .sub-menu, .nav-links .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text); }
.sub-menu a::after { display: none; }
.sub-menu a:hover { background: var(--accent-soft); color: var(--accent-strong); }
.sub-menu .sub-divider { height: 1px; background: var(--line); margin: 8px 10px; }
.nav-links .has-sub > a:not([href]) { cursor: default; }
.mobile-menu .mobile-label {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; color: #fff; padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-phone { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: #fff; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--heading); position: relative; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { position: relative; color: #fff; background: var(--emphasis-bg); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,17,33,.32) 0%, rgba(7,9,13,.45) 55%, rgba(8,17,33,.72) 100%),
    linear-gradient(90deg, rgba(8,17,33,.68) 0%, rgba(7,9,13,.3) 60%, rgba(7,9,13,.12) 100%);
}
.hero__glow {
  position: absolute; z-index: 1; width: 620px; height: 620px; right: -160px; top: -180px;
  background: radial-gradient(circle, var(--glow-1), transparent 66%); pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding: 128px 0 116px; }
.hero h1 { color: #fff; font-size: clamp(2.43rem, 5.58vw, 4.68rem); font-weight: 900; letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { color: #D6DEE8; max-width: 620px; margin: 26px 0 18px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(53,109,158,.175); border: 1px solid var(--accent-line);
  color: rgba(255,255,255,.92); font-family: var(--font-display); font-weight: 600;
  font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 20px; border-radius: var(--r-pill); margin-bottom: 26px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* pain pills floating above hero headline */
.pain-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.pain-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-family: var(--font-display); font-weight: 600;
  color: #F4B9C4; background: var(--bad-soft); border: 1px solid rgba(244,116,139,.3);
  padding: 7px 14px; border-radius: var(--r-pill); text-decoration: line-through;
  text-decoration-color: rgba(244,116,139,.7);
}

/* hero reassurance row */
/* hero division link-outs (replaces the old assurance checklist) */
.hero__divisions { margin-top: 42px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.hero__divisions-label {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 8px;
  paint-order: stroke fill;
  -webkit-text-stroke: .5px #000;
}
.hero__divisions-title {
  color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.15; margin-bottom: 18px;
}
.hero__divisions-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.hero-division {
  display: inline-flex; align-items: center; gap: 16px;
  width: 372px; max-width: 100%; box-sizing: border-box;
  padding: 16px 28px 16px 18px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.hero-division:hover { background: rgba(255,255,255,.4); border-color: #fff; transform: translateY(-2px); }
.hero-division img {
  width: 48px; height: 48px; object-fit: contain; flex-shrink: 0;
  /* soft white bloom radiating from behind the emblem */
  filter:
    drop-shadow(0 0 1.8px rgba(255,255,255,.29))
    drop-shadow(0 0 4.8px rgba(255,255,255,.21))
    drop-shadow(0 0 9px rgba(255,255,255,.12));
}
.hero-division__text { display: flex; flex-direction: column; line-height: 1.3; }
.hero-division__text strong { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff; }
.hero-division__text small { font-size: 14.5px; color: rgba(255,255,255,.8); }
.hero-division__arrow { font-size: 20px; color: var(--accent-2); margin-left: auto; transition: transform .25s var(--ease); }
.hero-division:hover .hero-division__arrow { transform: translateX(4px); }
@media (max-width: 560px) {
  .hero__divisions-row { flex-direction: column; align-items: stretch; }
  .hero-division { justify-content: flex-start; }
}

.hero__assure { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero__assure li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #DCE4EE; font-weight: 600; font-family: var(--font-display); }
.hero__assure .tick { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero__assure .tick svg { width: 12px; height: 12px; }

/* page hero (inner pages) */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--emphasis-bg) 0%, var(--emphasis-surface) 100%);
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.page-hero__media img.hero-contain { object-fit: contain; object-position: 100% center; }
.page-hero__media img.hero-contain--nudge-left { object-position: 92.5% center; }
.page-hero__media img.hero-contain--zoom { transform: scale(1.65); transform-origin: 100% center; }
.page-hero__media img.hero-photo--zoom-out { transform: scale(0.6); transform-origin: center; }
.page-hero__media img.hero-cover--bottom { object-position: center bottom; }
.page-hero__media::after { content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, var(--hero-overlay-2), rgba(7,9,13,.5) 70%, rgba(7,9,13,.3)); }
.page-hero__glow { position: absolute; z-index: 1; width: 460px; height: 460px; right: -140px; top: -160px; background: radial-gradient(circle, var(--glow-3), transparent 68%); pointer-events: none; }
.page-hero__inner { position: relative; z-index: 2; padding: 92px 0 80px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero p { color: #CBD5E1; max-width: 640px; margin-top: 18px; font-size: 1.244rem; }
.crumbs { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-family: var(--font-display); font-weight: 600; margin-bottom: 18px; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--accent); }

/* ===================== TRUST / DISCIPLINE STRIP ===================== */
.trust-strip { background: var(--emphasis-bg); }
.trust-strip .label { text-align: center; font-family: var(--font-display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px; color: rgba(255,255,255,.6); margin-bottom: 32px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 56px; }
.logos img { height: 84px; width: auto; opacity: .72; filter: grayscale(100%) brightness(0) invert(1); transition: opacity .3s, filter .3s; }
.logos img:hover { opacity: 1; filter: grayscale(0) brightness(1) invert(0); }
@media (max-width: 560px){ .logos { gap: 36px; } .logos img { height: 56px; } }

/* discipline strip: headline + compact chip grid */
.trust-strip.section--tight { padding: 34px 0; }
#what-we-do.section { padding: 52px 0; }
/* Industrial capabilities: fixed jobsite photo behind the cards */
#ind-capabilities.section {
  background:
    linear-gradient(rgba(13,29,58,.55), rgba(13,29,58,.55)),
    url("../assets/images/stock-construction.webp") center / cover no-repeat fixed;
}
#ind-capabilities .sec-head h2 { color: #fff; }
#ind-capabilities .sec-head .eyebrow { color: var(--accent-2); }
/* thin black outline so headings hold up over the photo */
#ind-capabilities .sec-head h2,
#ind-capabilities .sec-head .eyebrow {
  paint-order: stroke fill;
  -webkit-text-stroke: .5px #000;
}
#ind-capabilities .sec-head .eyebrow {
  text-shadow:
    0 0 6px rgba(0,0,0,.8),
    0 0 16px rgba(0,0,0,.6),
    0 0 30px rgba(0,0,0,.4);
}

/* Residential capabilities: fixed framing photo behind the cards */
#res-capabilities.section {
  background:
    linear-gradient(rgba(13,29,58,.55), rgba(13,29,58,.55)),
    url("../assets/images/house-stock.webp") center / cover no-repeat fixed;
}
#res-capabilities .sec-head h2 { color: #fff; }
#res-capabilities .sec-head .eyebrow { color: var(--accent-2); }
#res-capabilities .sec-head h2,
#res-capabilities .sec-head .eyebrow {
  paint-order: stroke fill;
  -webkit-text-stroke: .5px #000;
}
#res-capabilities .sec-head .eyebrow {
  text-shadow:
    0 0 6px rgba(0,0,0,.8),
    0 0 16px rgba(0,0,0,.6),
    0 0 30px rgba(0,0,0,.4);
}
@media (max-width: 820px) {
  #res-capabilities.section { background-attachment: scroll; }
}

/* Equipment installation capabilities: fixed mechanical photo behind the cards */
#eq-capabilities.section {
  background:
    linear-gradient(rgba(13,29,58,.55), rgba(13,29,58,.55)),
    url("../assets/images/mechanical-install.webp") center / cover no-repeat fixed;
}
#eq-capabilities .sec-head h2 { color: #fff; }
#eq-capabilities .sec-head .eyebrow { color: var(--accent-2); }
#eq-capabilities .sec-head h2,
#eq-capabilities .sec-head .eyebrow {
  paint-order: stroke fill;
  -webkit-text-stroke: .5px #000;
}
#eq-capabilities .sec-head .eyebrow {
  text-shadow:
    0 0 6px rgba(0,0,0,.8),
    0 0 16px rgba(0,0,0,.6),
    0 0 30px rgba(0,0,0,.4);
}
@media (max-width: 820px) {
  #eq-capabilities.section { background-attachment: scroll; }
}

/* In-house design capabilities: fixed CAD wireframe behind the cards */
#ihd-capabilities.section {
  background:
    linear-gradient(rgba(24,58,110,.45), rgba(24,58,110,.45)),
    url("../assets/images/cad.webp") center / contain no-repeat fixed,
    linear-gradient(#12305c, #12305c);
}
#ihd-capabilities .sec-head h2 { color: #fff; }
#ihd-capabilities .sec-head .eyebrow { color: var(--accent-2); }
#ihd-capabilities .sec-head h2,
#ihd-capabilities .sec-head .eyebrow {
  paint-order: stroke fill;
  -webkit-text-stroke: .5px #000;
}
#ihd-capabilities .sec-head .eyebrow {
  text-shadow:
    0 0 6px rgba(0,0,0,.8),
    0 0 16px rgba(0,0,0,.6),
    0 0 30px rgba(0,0,0,.4);
}
@media (max-width: 820px) {
  #ihd-capabilities.section { background-attachment: scroll; }
}
@media (max-width: 820px) {
  /* fixed attachment stutters on mobile */
  #ind-capabilities.section { background-attachment: scroll; }
}

#our-foundation.section { padding: 56px 0; }
@media (max-width: 820px) { #our-foundation.section { padding: 34px 0; } }

/* service pages: tighter vertical rhythm on every band below the hero */
body.page-service .section { padding: 56px 0; }
body.page-service .section--tight { padding: 38px 0; }
@media (max-width: 820px) {
  body.page-service .section { padding: 34px 0; }
  body.page-service .section--tight { padding: 26px 0; }
}
.strip-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.strip-title {
  color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.25; letter-spacing: -.01em; font-weight: 800;
  text-align: center;
}
/* disciplines as a sheet index (blueprint style): two quiet
   columns of hairline-ruled rows, no boxes */
.strip-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.strip-grid li {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  letter-spacing: .01em; color: rgba(255,255,255,.9);
}
.strip-grid li img { height: 34px; width: 34px; object-fit: contain; flex-shrink: 0; }
.strip-grid li:nth-last-child(-n+2) { border-bottom: 0; }

/* ===================== SOFT BAND EDGES =====================
   Dark bands cast a soft navy haze onto the sections above and below,
   feathering the hard color boundary between light and dark areas. */
.hero, .page-hero, .perf, .section--emphasis, .cta-band, .trust-strip, .site-footer {
  position: relative; z-index: 1;
  box-shadow:
    0 -34px 54px -28px rgba(13,29,58,.34),
    0  34px 54px -28px rgba(13,29,58,.34);
}
@media (max-width: 820px) {
  .hero, .page-hero, .perf, .section--emphasis, .cta-band, .trust-strip, .site-footer {
    box-shadow:
      0 -18px 30px -16px rgba(13,29,58,.26),
      0  18px 30px -16px rgba(13,29,58,.26);
  }
}

/* ===================== LINED SECTION (What We Do) =====================
   A subtle gray gradient rising from the bottom edge (~20% height).
   Drawn on a pseudo-element so it layers cleanly over the translucent
   blueprint-mode background. */
.section--lined { position: relative; }
.section--lined::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(172,184,199,.6) 0%, rgba(172,184,199,0) 20%);
}

/* ===================== SECTION HEADERS ===================== */
.sec-head { max-width: 740px; margin-bottom: 54px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head p { margin-top: 16px; font-size: 1.214rem; color: var(--text-muted); }

/* ===================== GRIDS ===================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ===================== SERVICE CARDS ===================== */
.svc-card {
  background: linear-gradient(170deg, #FFFFFF 0%, #F5F9FD 100%);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background .3s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--accent-line); background: linear-gradient(170deg, #FFFFFF 0%, #EEF5FC 100%); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 56px; height: 56px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(53,109,158,.18) 100%);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-icon-img { width: 58px; height: 58px; object-fit: contain; margin-bottom: 18px; }
.svc-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--heading); }
.svc-card p { color: var(--text-muted); font-size: 1.074rem; }
.svc-card .arrow-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }

/* ===================== PROBLEM → SOLUTION CARDS ===================== */
.ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ps-card {
  background: linear-gradient(170deg, #FFFFFF 0%, #F5F9FD 100%);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
}
.ps-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--surface-line); }
.ps-card__tag {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bad); background: var(--bad-soft); padding: 5px 10px; border-radius: var(--r-pill); margin-bottom: 14px;
}
.ps-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.ps-card__problem { color: var(--text-muted); font-size: .82rem; }
.ps-card__divider { height: 1px; background: var(--line); margin: 18px 0; position: relative; }
.ps-card__divider::after {
  content: ""; position: absolute; left: 0; top: -7px; width: 30px; height: 30px;
  border-radius: 50%; background: var(--good-soft); color: var(--good);
  display: grid; place-items: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; border: 1px solid rgba(52,211,153,.3);
}
.ps-card__solution { display: flex; gap: 12px; align-items: flex-start; }
.ps-card__solution .s-label { font-family: var(--font-display); font-weight: 800; color: var(--good); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.ps-card__solution p { color: var(--text); font-size: .84rem; font-weight: 500; }

/* ===================== PERFORMANCE STATS ===================== */
.perf { background: linear-gradient(150deg, #FFFFFF 0%, var(--bg-2) 100%); }
.perf__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); }
.perf__cell { background: #FFFFFF; padding: 40px 28px; text-align: center; }
.perf__cell .k { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.perf__cell .v { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--heading); letter-spacing: -0.02em; }
.perf__cell .v small { font-size: .42em; font-weight: 800; }
.perf__cell .d { font-size: 1.014rem; color: var(--text-muted); margin-top: 12px; }
.perf__note { text-align: center; margin-top: 32px; color: var(--text-muted); font-size: 1.114rem; }
.perf__note strong { color: var(--heading); }

/* compact stat bar (amber band) */
.statbar { background: linear-gradient(90deg, var(--accent-strong), var(--accent)); }
.statbar .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; text-align: center; color: var(--on-accent); border-right: 1px solid rgba(26,14,0,.18); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; }
.stat .label { font-size: 13.5px; letter-spacing: .02em; color: rgba(26,14,0,.78); margin-top: 8px; font-weight: 600; }

/* ===================== FEATURE / SPLIT ===================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
/* VE Method (desktop only): scale the photo and its button up 15% */
@media (min-width: 821px) {
  #ve-method .split { grid-template-columns: 1.12fr .88fr; }
  #ve-method .split__media { transform: scale(1.05); transform-origin: left center; }
  #ve-method .btn { font-size: 17.25px; padding: 17px 32px; }
  /* tighten the copy column's vertical rhythm ~15% */
  #ve-method .split > div:not(.split__media) { line-height: 1.42; }
  #ve-method .split h2 { margin-bottom: 12px; }
  #ve-method .split p { margin-top: 10px; }
  #ve-method .checklist { margin-top: 16px; gap: 9px; }
  #ve-method .btn-row { margin-top: 20px !important; }
}
.split__media img { width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-2); object-fit: cover; border: 1px solid var(--line); }
.split__media .badge-float {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--accent); color: var(--on-accent); padding: 20px 24px; border-radius: var(--r-md);
  box-shadow: var(--shadow-accent); max-width: 240px;
}
.split__media .badge-float .num { font-family: var(--font-display); font-weight: 900; font-size: 2.1rem; line-height: 1; }
.split__media .badge-float .t { font-size: 13.5px; color: var(--on-accent); opacity: .85; margin-top: 6px; font-weight: 600; }
.split__media .seal-float {
  position: absolute; bottom: -26px; left: -26px;
  width: 132px; height: auto;
  background: none; border: 0; border-radius: 0; box-shadow: none;
}
@media (max-width: 820px) {
  .split__media .seal-float { width: 96px; left: 10px; bottom: -18px; }
}
.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.split p { color: var(--text-muted); }

/* checklist */
.checklist { margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 1.094rem; color: var(--text); }
.checklist .ico { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.checklist .ico svg { width: 14px; height: 14px; }

/* ===================== PILLARS (core principles) ===================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.pillar { padding: 44px 36px; border-right: 1px solid var(--line); position: relative; background: var(--surface); transition: background .3s; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--surface-2); }
.pillar .star { color: var(--gold); font-size: 22px; letter-spacing: 4px; margin-bottom: 16px; display: block; }
.pillar-icon { height: 68px; width: auto; margin-bottom: 16px; object-fit: contain; }
.pillar h3 { font-size: 1.4rem; margin-bottom: 10px; }
.pillar p { font-size: 1.074rem; color: var(--text-muted); }

/* ===================== INDUSTRY TILES ===================== */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tile { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; border: 1px solid var(--line); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,9,13,0) 25%, rgba(7,9,13,.92) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile__body { position: relative; z-index: 2; padding: 30px; }
.tile__body h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.tile__body p { color: #CFD8E3; font-size: 1.054rem; max-width: 92%; }

/* ===================== HOW IT WORKS / TIMELINE ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: linear-gradient(170deg, #FFFFFF 0%, #F5F9FD 100%); border: 1px solid var(--line); border-radius: var(--r-md); padding: 34px 26px; position: relative; }
.step__n { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%); color: var(--on-accent); font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 18px; }
.step__when { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { font-size: 1.044rem; color: var(--text-muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 56px; width: 16px; height: 2px; background: var(--accent-line); z-index: 2;
}
@media (max-width: 900px){ .step:not(:last-child)::after { display: none; } }

/* ===================== FAQ ===================== */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); margin-bottom: 14px; overflow: hidden; transition: border-color .25s, background .25s; }
.faq__item.open { border-color: var(--accent-line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--heading); }
.faq__q .chev { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; transition: transform .3s var(--ease); }
.faq__item.open .faq__q .chev { transform: rotate(180deg); }
.faq__q .chev svg { width: 14px; height: 14px; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a-inner { padding: 0 24px 24px; color: var(--text-muted); font-size: 1.094rem; }

/* ===================== CTA BAND ===================== */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background: url("../assets/images/construction-banner.webp") center / cover no-repeat;
}
/* full-width bloom across the top edge, fading down into the band's navy */
.cta-band::before { content: none; }
.cta-band .inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 40px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta-band p { color: #fff; margin-top: 12px; max-width: 560px; font-size: 1.18rem; }
/* black outline so copy stays legible over the photo (buttons excluded) */
.cta-band h2,
.cta-band p {
  paint-order: stroke fill;
  -webkit-text-stroke: 2px rgba(0,0,0,.85);
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.cta-band p { -webkit-text-stroke-width: 1px; }
.cta-band .btn { -webkit-text-stroke: 0; text-shadow: none; }
.cta-band .micro { margin-top: 14px; font-size: 13.5px; color: var(--accent-2); font-family: var(--font-display); font-weight: 600; }

/* ===================== FORMS ===================== */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--heading); }
.field label .req { color: var(--accent); }
.field label .opt { color: var(--text-faint); font-weight: 500; font-size: 12.5px; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--heading);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field select option { background: var(--surface); color: var(--heading); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-note { font-size: 13.5px; color: var(--text-faint); margin-top: 4px; }
.form-success { display: none; background: var(--good-soft); border: 1px solid var(--success-line); color: var(--success-text); padding: 16px 18px; border-radius: var(--r-sm); margin-bottom: 22px; font-weight: 600; }
.form-success.show { display: block; }

/* contact info list */
.contact-list { display: grid; gap: 26px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--text-muted); font-size: 1.094rem; }
.contact-item a:hover { color: var(--accent); }

/* callout box */
.callout { margin-top: 34px; padding: 24px; background: var(--bg-2); border-radius: var(--r-md); border: 1px solid var(--line); }
.callout p:first-child { font-family: var(--font-display); font-weight: 700; color: var(--heading); margin-bottom: 6px; }
.callout p { color: var(--text-muted); margin: 0; }

/* ===================== FOOTER ===================== */
.site-footer {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--emphasis-bg) 0%, #142C54 60%, var(--emphasis-surface) 100%);
  color: var(--text-muted); padding-top: 72px;
}
/* same top-edge bloom the CTA band uses */
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 72%;
  background: radial-gradient(ellipse 140% 100% at 50% 0%, var(--glow-2) 0%, var(--glow-3) 38%, transparent 74%);
  pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 20px; align-items: end; }
.site-footer img.flogo { height: 46px; margin-bottom: 20px; }
.site-footer img.flogo--seal {
  height: 168px; /* square seal, so width = 168px */
  display: block;
  /* footer blurb below is max-width 320px and left-aligned;
     offset centers the seal on that text block: (320 - 168) / 2 */
  margin: 0 0 22px 76px;
  filter: drop-shadow(0 6px 18px rgba(8,17,33,.5));
}
.site-footer p { font-size: 1.044rem; color: var(--text-muted); max-width: 320px; }
.footer-col h5 { font-family: var(--font-display); color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--text-muted); font-size: 1.044rem; }
.footer-col a:hover { color: var(--accent); }
.footer-contact { font-size: 1.044rem; line-height: 1.8; color: var(--text-muted); }
.footer-contact a { color: #fff; }

/* expandable licensed-states list (hover shows tooltip, click expands) */
.states { margin: 2px 0; }
.states summary {
  cursor: pointer; list-style: none;
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-muted); transition: color .2s;
}
.states summary::-webkit-details-marker { display: none; }
.states summary::after {
  content: ""; width: 7px; height: 7px; flex-shrink: 0;
  border-right: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--ease);
}
.states[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.states summary:hover { color: #fff; }
.states-list {
  margin: 8px 0 6px; padding: 12px 14px; max-width: 320px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  font-size: .85rem; line-height: 1.9; color: rgba(255,255,255,.82);
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13.5px; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .legal { display: flex; gap: 22px; }

/* ===================== REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ===================== DARK-BAND TEXT OVERRIDES =====================
   .section--emphasis and .perf are dark in BOTH themes, while default
   headings/body track the theme (dark on the light/blue site). Force
   light text for content sitting directly on these bands. Cards inside
   keep their own colors (white cards on the blue site stay dark-text). */
.section--emphasis .sec-head h2,
.section--emphasis .sec-head h3,
.section--emphasis .split h2,
.perf .sec-head h2 { color: #fff; }

.section--emphasis .sec-head p,
.section--emphasis .sec-head .lead,
.section--emphasis .split p,
.section--emphasis .checklist li { color: rgba(255,255,255,.80); }

.section--emphasis .checklist .ico { background: rgba(255,255,255,.12); color: #fff; }

.section--emphasis .eyebrow, .perf .eyebrow { color: var(--accent-2); }

/* ===================== MOBILE MENU ===================== */
/* NOTE: this block must stay ABOVE the responsive media queries — the
   @media (max-width:820px) rule re-enables display:block and must win. */
.mobile-menu { display: none; position: fixed; inset: 76px 0 0; z-index: 99; background: var(--emphasis-bg); padding: 30px 24px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); }
.mobile-menu.open { transform: none; }
.mobile-menu a { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.mobile-menu a.sub-link { font-size: 1.05rem; font-weight: 600; color: rgba(255,255,255,.78); padding: 12px 0 12px 22px; }
/* CTA sits centered at the bottom of the drawer, compact and softly rounded */
.mobile-menu {
  display: none; /* re-enabled in the breakpoint below */
  flex-direction: column;
}
.mobile-menu .btn {
  display: inline-flex; width: auto; align-self: center; margin: auto auto 0;
  padding: 14px 26px; font-size: 17px;
  border-radius: 10px; border-bottom: 0;
}
body.menu-open { overflow: hidden; }

/* ===================== RESPONSIVE =====================
   Philosophy: smaller screens get DENSER, not just narrower.
   Grids hold two columns down to phone size with compact cards,
   and section/hero padding steps down, so pages keep their shape
   instead of becoming one long stack of oversized boxes. */

/* ---- Tablet (<=980px) ---- */
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .sec-head { margin-bottom: 42px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .ps-grid { gap: 14px; }
  .ps-card { padding: 20px 16px; }
  .perf__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 28px; }
  .pillar:last-child { border-bottom: 0; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--media-right .split__media { order: -1; }
  .split__media img { max-height: 400px; object-fit: cover; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .statbar .grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(26,14,0,.18); }
  .tiles { gap: 16px; }
  .tile { min-height: 250px; }
  .hero__inner { padding: 104px 0 92px; }
}

/* ---- Small tablet / large phone (<=820px) ---- */
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }

  .section { padding: 54px 0; }
  .section--tight { padding: 42px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head p { font-size: 1rem; margin-top: 10px; }

  .hero__inner { padding: 72px 0 60px; }
  .hero h1 { font-size: clamp(2.05rem, 8.5vw, 3.1rem); }
  .hero .lead { margin: 18px 0 14px; font-size: 1.02rem; }
  .hero__assure { gap: 10px 22px; margin-top: 22px; }
  .hero__assure li { font-size: 13.5px; }
  .page-hero__inner { padding: 54px 0 48px; }
  .page-hero h1 { font-size: clamp(1.85rem, 7vw, 2.6rem); }
  .page-hero p { font-size: 1rem; margin-top: 12px; }
  .h-lg { font-size: clamp(1.65rem, 5.6vw, 2.5rem); }
  .h-md { font-size: clamp(1.35rem, 4.6vw, 1.85rem); }
  .lead { font-size: 1.02rem; }

  .grid-2 { gap: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 22px 20px; }
  .svc-icon { width: 46px; height: 46px; margin-bottom: 14px; }
  .svc-icon-img { width: 48px; height: 48px; margin-bottom: 14px; }
  .svc-icon svg { width: 23px; height: 23px; }
  .svc-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
  .svc-card p { font-size: .9rem; }
  .svc-card .arrow-link { padding-top: 12px; font-size: 13.5px; }
  .ps-grid { gap: 10px; }
  .ps-card { padding: 16px 12px; }
  .ps-card__divider { margin: 14px 0; }
  .ps-card h3 { font-size: 1rem; }
  .ps-card__problem, .ps-card__solution p { font-size: .8rem; }
  .step { padding: 20px 18px; }
  .step__n { width: 36px; height: 36px; font-size: 1rem; margin-bottom: 12px; }
  .step h3 { font-size: 1.02rem; margin-bottom: 6px; }
  .step p { font-size: .87rem; }
  .perf__cell { padding: 24px 16px; }
  .perf__note { margin-top: 22px; font-size: .95rem; }
  .tiles { gap: 14px; }
  .tile { min-height: 205px; }
  .tile__body { padding: 18px; }
  .tile__body h3 { font-size: 1.15rem; }
  .tile__body p { font-size: .85rem; }

  .checklist { gap: 10px; margin-top: 18px; }
  .checklist li { font-size: .95rem; }
  .split__media .badge-float { left: 12px; bottom: -16px; padding: 14px 18px; }
  .split__media .badge-float .num { font-size: 1.6rem; }

  .cta-band .inner { padding: 30px 0; gap: 24px; }
  .site-footer { padding-top: 48px; }
  .footer-grid { gap: 26px; padding-bottom: 34px; }
  .team-card { padding: 28px 22px; }
  .headshot, .headshot-img { width: 116px; height: 116px; margin-bottom: 16px; }
  .headshot .initials { font-size: 1.9rem; }
  .contact-list { gap: 18px; }
  .form-card { padding: 26px 22px; }
  .faq__q { padding: 17px 18px; font-size: 1rem; }
  .faq__a-inner { padding: 0 18px 18px; font-size: .95rem; }
  .trust-strip .label { margin-bottom: 20px; }
  .logos { gap: 12px 26px; }
  .strip-inner { align-items: flex-start; gap: 14px; }
  .strip-title { font-size: 1.25rem; text-align: left; }
  .strip-grid { width: 100%; grid-template-columns: 1fr; }
  .strip-grid li { font-size: 13px; padding: 9px 0; }
  .strip-grid li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.10); }
  .strip-grid li:last-child { border-bottom: 0; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .btn--lg { padding: 15px 26px; font-size: 15px; }
  .callout { margin-top: 24px; padding: 18px; }
}

/* ---- Phone (<=560px): two-up compact grids, tight rhythm ---- */
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 46px 0; }
  .section--tight { padding: 36px 0; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .svc-card { padding: 16px 14px; }
  .svc-card h3 { font-size: .95rem; margin-bottom: 6px; }
  .svc-card p { font-size: .8rem; }
  .svc-icon { width: 38px; height: 38px; border-radius: 8px; margin-bottom: 10px; }
  .svc-icon-img { width: 40px; height: 40px; margin-bottom: 10px; }
  .svc-icon svg { width: 19px; height: 19px; }
  .svc-card .arrow-link { font-size: 12.5px; padding-top: 8px; }

  .ps-grid { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .step { padding: 15px 13px; }
  .step__when { font-size: 10px; }
  .step h3 { font-size: .92rem; }
  .step p { font-size: .79rem; }
  .step__n { width: 30px; height: 30px; font-size: .9rem; margin-bottom: 10px; }

  .perf__grid { grid-template-columns: repeat(2, 1fr); }
  .perf__cell { padding: 20px 12px; }
  .perf__cell .v { font-size: 2rem; }
  .perf__cell .k { font-size: 10.5px; margin-bottom: 6px; }
  .perf__cell .d { font-size: .78rem; margin-top: 6px; }

  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { min-height: 172px; }
  .tile__body { padding: 12px; }
  .tile__body h3 { font-size: .95rem; margin-bottom: 4px; }
  .tile__body p { font-size: .74rem; max-width: 100%; }

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

  .hero__inner { padding: 60px 0 52px; }
  .hero__badge { font-size: 10.5px; letter-spacing: .09em; padding: 7px 12px; margin-bottom: 20px; }
  .btn-row { gap: 10px; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; padding: 26px 0; }
  .cta-band h2 { font-size: 1.55rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid .footer-col:first-child,
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .footer-grid .footer-col:first-child { text-align: center; }
  .footer-grid .footer-col:first-child p { margin: 0 auto; }
  .site-footer img.flogo--seal { height: 112px; margin: 0 auto 18px; }
  .footer-col h5 { margin-bottom: 12px; }
  .footer-col ul { gap: 8px; }

  .form-card { padding: 22px 16px; }
  .team-card .bio { font-size: .92rem; }
  .faq { padding: 12px; }
}

/* ===================== BLUEPRINT BACKGROUND MODE =====================
   Applied via <body class="bg-blueprint"> (home page). A fixed blueprint
   render sits behind the page; the dark navy bands become translucent so
   the drawing shows through and appears to move as you scroll. Light
   sections stay opaque for readability. */
body.bg-blueprint::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  /* darkened + vignette shading so the drawing blends behind the content */
  background:
    radial-gradient(ellipse 120% 90% at 50% 20%, rgba(13,29,58,.32) 0%, rgba(13,29,58,.74) 75%, rgba(8,17,33,.88) 100%),
    linear-gradient(180deg, rgba(13,29,58,.55) 0%, rgba(13,29,58,.68) 100%),
    #0D1D3A url("../assets/images/blueprint-bg.webp") center / cover no-repeat;
}
/* The hero stays fully opaque (it carries its own artwork). The bands below
   are translucent with a blur, so the blueprint reads through softly. */
body.bg-blueprint .trust-strip,
body.bg-blueprint .section--emphasis,
body.bg-blueprint .site-footer {
  background: rgba(13,29,58,.90);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
/* Why VECM stats band: transparent so the blueprint image shows through;
   the stat cells stay frosted white so the numbers remain readable */
body.bg-blueprint .perf { background: transparent; box-shadow: none; }
body.bg-blueprint .perf__cell { background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.bg-blueprint .perf .sec-head h2 { color: #fff; }
body.bg-blueprint .perf .sec-head .eyebrow { color: var(--accent-2); }
body.bg-blueprint .perf__note { color: rgba(255,255,255,.8); }
body.bg-blueprint .perf__note strong { color: #fff; }

/* Light sections have no background of their own, so on the blueprint page
   their free-floating text gets frosted "bubble" cards for readability.
   Existing cards (svc/ps/step/faq) are already opaque and stay as they are. */
body.bg-blueprint .section--alt { background: rgba(242,245,249,.92); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
body.bg-blueprint .section:not(.section--alt):not(.section--emphasis):not(.perf):not(.trust-strip) .sec-head,
body.bg-blueprint .section:not(.section--alt):not(.section--emphasis):not(.perf):not(.trust-strip) .split > div:not(.split__media) {
  background: rgba(255,255,255,.90);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-lg);
  padding: 36px 38px;
  box-shadow: 0 10px 34px rgba(13,27,42,.12);
}
body.bg-blueprint .section:not(.section--alt):not(.section--emphasis):not(.perf):not(.trust-strip) .faq {
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--r-lg);
  padding: 18px;
}
@media (max-width: 560px) {
  body.bg-blueprint .section .sec-head,
  body.bg-blueprint .section .split > div:not(.split__media) { padding: 26px 22px; }
}
@media (max-width: 820px) {
  /* fixed backgrounds are janky on mobile; anchor the drawing to the page
     instead and tile it down the full height so it never disappears */
  body.bg-blueprint { position: relative; }
  body.bg-blueprint::before {
    position: absolute; height: 100%;
    background:
      radial-gradient(ellipse 120% 90% at 50% 20%, rgba(13,29,58,.32) 0%, rgba(13,29,58,.74) 75%, rgba(8,17,33,.88) 100%),
      linear-gradient(180deg, rgba(13,29,58,.55) 0%, rgba(13,29,58,.68) 100%),
      #0D1D3A url("../assets/images/blueprint-bg.webp") top center / 100% auto repeat-y;
  }
}

/* ===================== PROJECT CARDS (Selected Works) ===================== */
.proj-tag {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.proj-meta { display: grid; gap: 9px; margin-top: 16px; }
.proj-meta li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-size: .93rem; color: var(--text);
  border-bottom: 1px dashed var(--line); padding-bottom: 9px;
}
.proj-meta li:last-child { border-bottom: 0; padding-bottom: 0; }
.proj-meta li > span {
  font-family: var(--font-display); font-weight: 700; font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); flex-shrink: 0;
}
@media (max-width: 560px) { .proj-meta li { font-size: .85rem; } }

/* embedded 3D tour: 16:9 frame, full width */
.tour-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-2);
  background: var(--emphasis-bg);
}
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.svc-card .tour-frame { margin-top: 18px; }
.svc-photo {
  width: 100%; height: 170px; object-fit: contain;
  margin-bottom: 18px;
}

/* division link cards (home page: other business categories) */
.division-grid { margin-top: 8px; }
a.division-card { display: block; text-align: center; }
a.division-card:hover { transform: translateY(-4px); }
.division-icon { height: 72px; width: auto; margin: 0 auto 14px; display: block; object-fit: contain; }
.division-card .arrow-link { display: inline-block; margin-top: auto; padding-top: 12px; align-self: center; }

/* portfolio lightbox: in-page image viewer with thumbnail selector */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: rgba(8, 10, 14, 0.93);
  padding: 24px 72px;
}
.lightbox[hidden] { display: none; }
body.lightbox-open { overflow: hidden; }
.lightbox__img {
  display: block; max-width: min(1100px, 100%); max-height: 66vh;
  border-radius: var(--r-md); box-shadow: var(--shadow-2);
}
.lightbox__close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: 0; color: #fff;
  font-size: 36px; line-height: 1; cursor: pointer; opacity: 0.8;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__count { color: rgba(255, 255, 255, 0.75); font-size: 13px; letter-spacing: 0.04em; }
.lightbox__thumbs {
  display: flex; gap: 8px; max-width: min(1100px, 100%);
  overflow-x: auto; padding: 4px 2px; scrollbar-width: thin;
}
.lightbox__thumbs img {
  width: 74px; height: 52px; object-fit: cover; flex: 0 0 auto;
  border-radius: 6px; cursor: pointer; opacity: 0.55;
  border: 2px solid transparent;
}
.lightbox__thumbs img.active,
.lightbox__thumbs img:hover { opacity: 1; border-color: #fff; }

/* tour fullscreen pop-out */
.tour-expand {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 10, 14, 0.55); color: #fff;
  font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1;
  letter-spacing: 0.03em; cursor: pointer;
}
.tour-expand:hover { background: rgba(8, 10, 14, 0.8); }
.tour-expand svg { width: 14px; height: 14px; }
.lightbox--tour { padding: 24px; }
.lightbox__tour-stage { width: min(1400px, 100%); height: 100%; max-height: 90vh; }
.lightbox__tour-stage iframe {
  width: 100%; height: 100%; border: 0;
  border-radius: var(--r-md); box-shadow: var(--shadow-2);
}
@media (max-width: 640px) { .lightbox--tour { padding: 12px; } }
@media (max-width: 640px) {
  .lightbox { padding: 16px 52px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
}

/* project photo gallery: horizontally scrollable strip inside the card */
.proj-gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 34%;
  gap: 8px; margin-top: 18px; overflow-x: auto;
  padding-bottom: 6px; scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.proj-gallery a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.proj-gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform .35s var(--ease);
}
.proj-gallery a:hover img { transform: scale(1.06); }
.proj-count {
  display: block; margin-top: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint);
}
@media (max-width: 560px) { .proj-gallery { grid-auto-columns: 46%; } }

/* ===================== LEGAL PAGES ===================== */
.legal-doc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.legal-doc > div:first-child { grid-column: 1 / -1; max-width: 820px; }
@media (max-width: 900px) { .legal-doc { grid-template-columns: 1fr; } }
.legal-doc .updated { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.legal-doc .intro { color: var(--text); font-size: 1.05rem; max-width: 760px; margin-top: 10px; }
.legal-group {
  background: linear-gradient(170deg, #FFFFFF 0%, #F5F9FD 100%);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 36px 30px; box-shadow: var(--shadow-1);
}
.legal-group__label {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px;
}
.legal-group h3 { font-size: 1.08rem; margin: 26px 0 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-group h3:first-of-type { margin-top: 12px; padding-top: 0; border-top: 0; }
.legal-group p { margin-bottom: 12px; color: var(--text); font-size: .98rem; }
.legal-group p:last-child { margin-bottom: 0; }
.legal-group ul { list-style: disc; padding-left: 22px; margin: 0 0 12px; }
.legal-group li { margin-bottom: 7px; color: var(--text); font-size: .98rem; }
.legal-group a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .legal-group { padding: 22px 18px 20px; } }

/* ===================== TEAM / LEADERSHIP ===================== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.team-card {
  background: linear-gradient(170deg, #FFFFFF 0%, #F5F9FD 100%);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 40px 34px; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--accent-line); }
.headshot {
  width: 148px; height: 148px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--accent-soft); color: var(--accent);
  border: 2px dashed var(--accent-line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.headshot .initials { font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; line-height: 1; }
.headshot-img {
  width: 176px; height: 176px; border-radius: 50%; margin: 0 auto 22px;
  object-fit: cover; border: 3px solid var(--accent-line);
  box-shadow: var(--shadow-1);
}
.headshot .note { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); font-family: var(--font-display); font-weight: 600; }
.team-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.team-card .role { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.team-card .bio { color: var(--text-muted); font-size: .97rem; text-align: left; }
.team-card .bio .placeholder { display: block; margin-top: 10px; padding: 12px 14px; background: var(--bg-2); border: 1px dashed var(--surface-line); border-radius: var(--r-sm); color: var(--text-faint); font-size: .9rem; }
.team-card .bio p + p { margin-top: 12px; }
/* selected-project list inside a bio: hairline rows with the value called out */
.bio-list { margin: 16px 0 0; display: grid; gap: 0; }
.bio-list li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: .95rem; color: var(--text);
}
.bio-list li:last-child { border-bottom: 0; }
.bio-list li span {
  flex-shrink: 0; min-width: 72px;
  font-family: var(--font-display); font-weight: 800; font-size: .88rem;
  letter-spacing: .02em; color: var(--accent);
}
.bio-creds {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: .86rem;
  letter-spacing: .01em; color: var(--text-faint);
}
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* stronger black backing behind capability headings over photo backgrounds */
#ind-capabilities .sec-head h2,
#res-capabilities .sec-head h2,
#eq-capabilities .sec-head h2,
#ihd-capabilities .sec-head h2 {
  text-shadow:
    0 0 8px rgba(0,0,0,.75),
    0 0 20px rgba(0,0,0,.55),
    0 0 38px rgba(0,0,0,.35);
}

/* ===================== CONSULTATION MODAL =====================
   Opened from the header "Schedule a Consultation" button. The page
   behind is heavily darkened; the panel itself stays translucent so
   the site reads through it. */
.consult {
  position: fixed; inset: 0; z-index: 2500;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 84px 20px 40px; overflow-y: auto;
  background: rgba(4, 8, 16, .9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.consult[hidden] { display: none; }
body.consult-open { overflow: hidden; }

.consult__panel {
  position: relative; width: 100%; max-width: 760px;
  padding: 40px 40px 34px; border-radius: var(--r-lg);
  background: rgba(13, 29, 58, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
  animation: consultIn .3s var(--ease) both;
}
@keyframes consultIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.consult__close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: 0; color: #fff;
  font-size: 34px; line-height: 1; cursor: pointer; opacity: .75;
}
.consult__close:hover { opacity: 1; }

.consult__panel .eyebrow { color: var(--accent-2); }
.consult__panel h2 { color: #fff; }
.consult__lead { color: rgba(255,255,255,.78); margin: 10px 0 24px; font-size: 1.02rem; }

/* translucent fields on the dark panel */
.consult__form .field label { color: rgba(255,255,255,.9); }
.consult__form .field .opt { color: rgba(255,255,255,.5); }
.consult__form .field input,
.consult__form .field select,
.consult__form .field textarea {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.26);
  color: #fff;
}
.consult__form .field input::placeholder,
.consult__form .field textarea::placeholder { color: rgba(255,255,255,.45); }
.consult__form .field select option { background: var(--emphasis-bg); color: #fff; }
.consult__form .field input:focus,
.consult__form .field select:focus,
.consult__form .field textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(127,169,206,.25);
  background: rgba(255,255,255,.16);
}
.consult__form .field textarea { min-height: 104px; }
.consult__form .form-success {
  color: #fff; background: rgba(30,158,106,.22);
  border: 1px solid rgba(52,211,153,.45);
}
.consult__note { margin-top: 16px; font-size: .88rem; color: rgba(255,255,255,.6); }
.consult__note a { color: var(--accent-2); }

@media (max-width: 640px) {
  .consult { padding: 70px 12px 24px; }
  .consult__panel { padding: 28px 20px 24px; }
  .consult__lead { font-size: .95rem; margin-bottom: 18px; }
}
