/* =========================================================
   CADLIONS Design System
   Navy + Steel Gray + Amber. Blueprint-meets-fabrication.
   Section-based, portable to WordPress later.
   ========================================================= */

:root {
  /* Brand */
  --navy-900: #0a1526;
  --navy-800: #0e1e34;
  --navy-700: #142a46;
  --navy-600: #1c3a5e;
  --steel-500: #5b6b80;
  --steel-400: #8695a8;
  --steel-300: #b7c2d0;
  --steel-100: #e9edf2;
  --paper: #f5f7fa;
  --white: #ffffff;
  --amber: #1f5fa6;
  --amber-600: #17497f;
  --amber-glow: rgba(31, 95, 166, 0.12);
  --teal: #7dc9d6;
  --teal-ink: #0e7c8c;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--paper);
  --ink: #0d1b2e;
  --ink-soft: #47566b;
  --line: #dde3ec;

  /* Type */
  --font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 10px;
  --shadow: 0 18px 50px -20px rgba(10, 21, 38, 0.45);
  --shadow-sm: 0 6px 20px -12px rgba(10, 21, 38, 0.4);
  --shadow-card: 0 1px 2px rgba(10, 21, 38, 0.06), 0 14px 30px -14px rgba(10, 21, 38, 0.30);
  --shadow-card-hover: 0 2px 8px rgba(10, 21, 38, 0.08), 0 28px 54px -18px rgba(10, 21, 38, 0.44);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.02em; line-height: 1.1; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h3, h4 { font-weight: 700; letter-spacing: -0.005em; }

p { margin: 0 0 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: #eef3fa; color: var(--ink); }
.section--navy h2, .section--navy h3 { color: var(--ink); }

/* Eyebrow / kicker */
.kicker {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--steel-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--teal-ink);
}
.section--navy .kicker { color: var(--amber); }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section--navy .section-head p { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s;
  font-size: 0.98rem;
}
.btn--primary { background: #08355f; color: #fff; }
.btn--primary:hover { background: var(--amber-600); transform: translateY(-2px); box-shadow: 0 12px 30px -10px var(--amber-glow); }
.nav__links .nav__byt > a { border: 1.5px solid var(--amber); color: var(--navy-900); border-radius: 999px; padding: 9px 14px; font-weight: 700; }
.nav__links .nav__byt > a:hover { background: var(--amber-glow); color: var(--navy-900); }
.nav__m-designer { display: none; }
.btn--ghost { border-color: var(--steel-400); color: var(--white); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
/* on light sections the ghost button needs dark ink (white is invisible) */
#projects .btn--ghost { border-color: #cbd6e6; color: #08355f; }
#projects .btn--ghost:hover { border-color: var(--amber); color: var(--amber-600); }
.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =================== NAV =================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  padding: 14px 0; background: transparent; box-shadow: none;
}
.nav.nav--opaque { background: #fff; box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.nav nav { margin-left: auto; }
.nav__links { flex-wrap: nowrap; }
.nav .container { max-width: 1300px; }
.nav.is-solid { background: #fff; padding: 17px 0; box-shadow: var(--shadow-sm); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--navy-900); letter-spacing: 0.02em; }
.brand__logo { height: 64px; width: auto; display: block; transition: height 0.3s; }
.nav.is-solid .brand__logo { height: 54px; }
/* Emblem + live-text wordmark lockup */
.brand__emblem-nav { height: 54px; width: 54px; display: block; transition: height 0.3s, width 0.3s; }
.nav.is-solid .brand__emblem-nav { height: 46px; width: 46px; }
.brand__full { height: 66px; width: auto; display: block; transition: height 0.3s; }
.nav.is-solid .brand__full { height: 56px; }
@media (max-width: 720px) { .brand__full { height: 50px; } }
.brand__lockup { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
/* Turner-style wordmark: ultra-heavy grotesque, mixed case, tight tracking; pure wordmark, no emblem in nav.
   Brand navy from the CADLIONS logo, white while the nav floats over the hero video. */
.nav .brand__emblem-nav { display: none; }
.brand .brand__name { font-family: var(--font-head); font-weight: 900; font-size: 2.3rem; letter-spacing: -0.035em; color: #08355f; transition: color 0.3s; }
.nav:not(.is-solid):not(.nav--opaque) .brand__name { color: #fff; }
.nav:not(.is-solid):not(.nav--opaque) .nav__toggle { color: #fff; }
@media (min-width: 721px) {
  .nav:not(.is-solid):not(.nav--opaque) .nav__links > li:not(.nav__cta) > a { color: rgba(255, 255, 255, 0.94); }
  .nav:not(.is-solid):not(.nav--opaque) .nav__links > li:not(.nav__cta):not(.nav__byt) > a:hover,
  .nav:not(.is-solid):not(.nav--opaque) .nav__links > li:not(.nav__cta):not(.nav__byt) > a[aria-current="page"] { color: #fff; }
  /* over the video the blue accent disappears — active underline and outline pill go white */
  .nav:not(.is-solid):not(.nav--opaque) .nav__links > li:not(.nav__cta):not(.nav__byt):not(.nav__m-designer) > a::after { background: #fff; }
  .nav:not(.is-solid):not(.nav--opaque) .nav__links .nav__byt > a { border-color: rgba(255, 255, 255, 0.65); }
  .nav:not(.is-solid):not(.nav--opaque) .nav__links .nav__byt > a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
}
/* white hamburger disappears against the white drawer once it slides open */
.nav__inner:has(.nav__links.is-open) .nav__toggle { color: var(--navy-900); }
/* anchored sections land under the fixed nav without this */
section[id], .svc-cat[id] { scroll-margin-top: 92px; }
/* "An AEC Company" tagline sits under the wordmark, split off by a hairline divider.
   Solid colors (not gradient) so it stays legible; flips white while the nav floats over the hero. */
.brand .brand__tag { font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.42em; white-space: nowrap; color: rgba(8, 53, 95, 0.74); margin-top: 2px; padding-top: 5px; border-top: 1px solid rgba(8, 53, 95, 0.2); transition: color 0.3s, border-color 0.3s; }
.nav:not(.is-solid):not(.nav--opaque) .brand__tag { color: rgba(255, 255, 255, 0.82); border-top-color: rgba(255, 255, 255, 0.32); }
.footer .brand__emblem { height: 82px; width: 82px; display: block; background: #fff; border-radius: 50%; padding: 4px; box-shadow: 0 10px 24px -12px rgba(10,21,38,0.5); }
/* legacy text mark (kept for safety if referenced) */
.brand__mark {
  width: 34px; height: 34px; border-radius: 7px;
  background: linear-gradient(135deg, var(--amber), var(--amber-600));
  color: var(--navy-900); display: grid; place-items: center; font-size: 1.05rem;
  box-shadow: 0 6px 16px -6px var(--amber-glow);
}
.brand span { color: var(--amber); }

.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink-soft); font-weight: 500; padding: 10px 10px; border-radius: 6px; font-size: 0.95rem; letter-spacing: 0.015em; white-space: nowrap; position: relative; transition: color 0.22s; }
.nav__links > li:not(.nav__cta):not(.nav__byt):not(.nav__m-designer) > a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; background: var(--amber); border-radius: 2px; transform: scaleX(0); transform-origin: center; transition: transform 0.3s var(--ease); }
.nav__links > li:not(.nav__cta):not(.nav__byt):not(.nav__m-designer) > a:hover, .nav__links > li:not(.nav__cta):not(.nav__byt):not(.nav__m-designer) > a[aria-current="page"] { color: var(--navy-900); }
.nav__links > li:not(.nav__cta):not(.nav__byt):not(.nav__m-designer) > a:hover::after, .nav__links > li:not(.nav__cta):not(.nav__byt):not(.nav__m-designer) > a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links .nav__cta > a { display: inline-flex; align-items: center; gap: 8px; background: #08355f; color: #fff; border: 2px solid var(--amber); border-radius: 999px; font-family: var(--font-head); font-weight: 800; padding: 10px 16px; animation: fabPulse 2s ease-in-out infinite; }
.nav__links .nav__cta > a:hover { background: #0c4576; color: #fff; animation: none; }
.nav__links .nav__cta > a svg { width: 17px; height: 17px; }
.nav__cta { margin-left: 10px; }
@media (prefers-reduced-motion: reduce) { .nav__links .nav__cta > a { animation: none; } }

/* Dropdown */
.has-dropdown { position: relative; }
/* Scrim: dims + softly blurs the hero behind an open menu so the white panel
   reads as a separate layer instead of colliding with the headline. */
.has-dropdown::before {
  content: ""; position: fixed; left: 0; right: 0; top: 80px; bottom: 0;
  background: rgba(9, 18, 33, 0.32);
  -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px);
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 1;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
/* Invisible hover bridge across the gap between the link and the panel, so
   moving the mouse into the menu never loses :hover (no flicker). */
.has-dropdown::after {
  content: ""; position: absolute; left: 0; top: 100%; width: 150px; height: 14px;
}
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 2;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--amber);
  border-radius: 12px; padding: 10px; width: 560px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.99); transform-origin: top left;
  transition: opacity 0.22s var(--ease), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover::before, .has-dropdown:focus-within::before { opacity: 1; visibility: visible; }
.dropdown a { display: block; padding: 10px 14px; font-size: 0.9rem; color: var(--ink-soft); border-radius: 7px; }
.dropdown a:hover { color: var(--navy-900); background: var(--steel-100); }

.nav__toggle { display: none; background: none; border: 0; color: var(--navy-900); cursor: pointer; padding: 6px; }
.nav__toggle svg { width: 28px; height: 28px; }

/* =================== HERO =================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
/* dark backdrop so the between-scene dip lands on navy, never white */
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #0a1526; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media video { position: absolute; inset: 0; }
.hero__media img { animation: heroDrift 26s ease-in-out infinite alternate; transform-origin: 60% 45%; will-change: transform; }
.hero__video { opacity: 0; animation: heroVideoIn 1.4s ease-out 0.15s forwards; }
@keyframes heroVideoIn { to { opacity: 1; } }
@keyframes heroDrift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1.5%); } }
@keyframes gridDrift { from { background-position: 0 0; } to { background-position: 46px 46px; } }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(10,21,38,0.5), transparent 20%),
    linear-gradient(100deg, rgba(10,21,38,0.6) 0%, rgba(10,21,38,0.32) 42%, rgba(10,21,38,0.06) 100%),
    linear-gradient(to top, rgba(10,21,38,0.45), transparent 34%);
}
/* Turner-style handwritten accent under the hero headline */
.hero__script {
  position: relative; display: inline-block;
  font-family: "Caveat", "Segoe Script", cursive;
  font-weight: 700; font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1;
  color: #fff; transform: rotate(-2deg);
  margin: 10px 0 20px 4px; padding-bottom: 10px;
}
.hero__script svg { position: absolute; left: -2px; bottom: -4px; width: 103%; height: 14px; }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(139,149,168,0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(139,149,168,0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 75%);
  animation: gridDrift 8s linear infinite;
}
.hero__inner { padding-top: 90px; max-width: 820px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .amber { color: var(--amber); }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--steel-300); max-width: 620px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 28px; right: var(--gutter); color: var(--steel-400); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
@media (max-height: 760px), (max-width: 860px) { .hero__scroll { display: none; } }
.hero__scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--amber), transparent); }

/* =================== STAT BAR =================== */
.statbar { background: var(--white); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px var(--gutter); text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--amber); line-height: 1; }
.stat__label { color: var(--ink-soft); font-size: 0.9rem; margin-top: 8px; letter-spacing: 0.02em; }

/* =================== FEATURE / INTRO SPLIT =================== */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; padding: 9px 16px; border-radius: 30px; background: var(--navy-900); color: var(--steel-100); }
.section--alt .pill { background: var(--white); color: var(--navy-800); border: 1px solid var(--line); }

/* =================== DIFFERENTIATORS =================== */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.diff {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.diff:hover { transform: translateY(-6px); border-color: var(--amber); box-shadow: var(--shadow); }
.diff__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--amber-glow); color: var(--amber); display: grid; place-items: center; margin-bottom: 20px; }
.diff__icon svg { width: 26px; height: 26px; }
.diff h3 { color: var(--ink); }
.diff p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

/* =================== SERVICES GRID =================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px; text-align: left; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  overflow: hidden; width: 100%; font: inherit; color: inherit;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--amber); transform: scaleY(0); transform-origin: bottom; transition: transform 0.35s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { transform: scaleY(1); }
.svc__no { font-family: var(--font-head); font-weight: 800; color: var(--steel-300); font-size: 0.9rem; letter-spacing: 0.05em; }
.svc__icon { width: 46px; height: 46px; color: var(--navy-700); margin: 6px 0 16px; }
.svc__icon svg { width: 100%; height: 100%; }
.svc h3 { margin-bottom: 10px; font-size: 1.18rem; }
.svc p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 18px; }
.svc__more { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-600); display: inline-flex; align-items: center; gap: 8px; }
.svc__more svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.svc:hover .svc__more svg { transform: translateX(4px); }

/* Category cards (homepage) */
.svc-grid--cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.svc-grid--cats .svc { flex: 1 1 300px; max-width: 362px; }
.svc-cat-card { display: flex; flex-direction: column; text-decoration: none; }
.svc-cat-card .svc__more { margin-top: auto; }
.svc-cat-card__list { list-style: none; margin: 2px 0 20px; padding: 0; display: grid; gap: 8px; }
.svc-cat-card__list li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); }
.svc-cat-card__list li svg { width: 15px; height: 15px; color: var(--amber-600); flex: 0 0 15px; margin-top: 2px; }
.svc-cat-card__more { color: var(--amber-600); font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; }

/* Category dropdown */
.dropdown--cats { grid-template-columns: 1fr; width: 320px; }
.dd-cat { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: 0.95rem; }
.dd-sub { display: block; font-size: 0.76rem; color: var(--ink-soft); margin-top: 2px; }

/* Services mega-menu (desktop): one premium contained panel, categories + live sub-services */
.dropdown.dropdown--mega {
  width: 700px; max-width: calc(100vw - 40px); padding: 0; display: flex; overflow: hidden;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 28px 64px -28px rgba(10, 21, 38, 0.42), 0 10px 26px -14px rgba(10, 21, 38, 0.18);
}
.mm-cats { flex: 0 0 270px; padding: 12px; background: #fff; }
.mm-cat { display: block; padding: 11px 15px; border-radius: 10px; position: relative; transition: background 0.18s var(--ease); }
.mm-cat .dd-cat { transition: color 0.18s var(--ease); }
.mm-cat .dd-sub { white-space: normal; line-height: 1.3; }
.mm-cat:hover:not(.is-active) { background: var(--steel-100); }
.mm-cat.is-active { background: var(--amber-glow); }
.mm-cat.is-active .dd-cat { color: var(--amber-600); }
.mm-cat::after {
  content: ''; position: absolute; right: 15px; top: 50%; width: 6px; height: 6px;
  border-right: 2px solid var(--amber); border-top: 2px solid var(--amber);
  transform: translateY(-50%) translateX(-4px) rotate(45deg); opacity: 0;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.mm-cat.is-active::after { opacity: 1; transform: translateY(-50%) rotate(45deg); }
.mm-panels { flex: 1; padding: 16px 18px; background: var(--paper); border-left: 1px solid var(--line); min-height: 300px; display: flex; }
.mm-panel { display: none; flex: 1; flex-direction: column; }
.mm-panel.is-active { display: flex; animation: mmSlide 0.26s cubic-bezier(0.16, 1, 0.3, 1); }
.mm-panel__title { font: 800 0.68rem/1 var(--font-head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin: 4px 5px 12px; }
.mm-panel a { position: relative; display: flex; align-items: center; padding: 9px 12px; border-radius: 8px; font-size: 0.9rem; color: var(--ink); font-weight: 500; transition: background 0.16s var(--ease), color 0.16s var(--ease), padding-left 0.16s var(--ease); }
.mm-panel a:not(.mm-all)::after {
  content: '\2192'; margin-left: auto; padding-left: 10px; color: var(--amber-600); font-weight: 700;
  opacity: 0; transform: translateX(-5px); transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
}
.mm-panel a:hover { background: #fff; color: var(--amber-600); padding-left: 15px; box-shadow: var(--shadow-sm); }
.mm-panel a:hover:not(.mm-all)::after { opacity: 1; transform: none; }
.mm-panel .mm-all { margin-top: auto; color: var(--amber-600); font-weight: 700; font-size: 0.84rem; border-top: 1px solid var(--line); border-radius: 0; padding: 13px 12px 3px; }
.mm-panel .mm-all:hover { background: transparent; box-shadow: none; padding-left: 12px; color: var(--navy-900); }
@keyframes mmSlide { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  /* overflow MUST stay hidden here: the drawer collapses submenus with
     max-height:0, and visible overflow makes the panel spill over the links below */
  .dropdown.dropdown--mega { display: block; width: auto; overflow: hidden; }
  /* the desktop scrim dims whatever sits behind the mega panel. In the drawer
     that "behind" is the drawer itself, so expanding Services greyed out and
     blurred the whole menu. No scrim on phones. */
  .has-dropdown::before { display: none; }
  .mm-cats { flex: none; border-right: 0; padding: 0; background: transparent; }
  .mm-panels { display: none; }
}

/* Category sections (services page) */
#svcFull { gap: 72px; }
.svc-cat { scroll-margin-top: 100px; }
.svc-cat__head { display: grid; grid-template-columns: 440px 1fr; gap: 46px; align-items: center; margin-bottom: 34px; }
.svc-cat__head--flip { grid-template-columns: 1fr 440px; }
.svc-cat__head--flip .svc-cat__media { order: 2; }
.svc-cat__media { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: linear-gradient(140deg, var(--navy-800), var(--navy-600)); box-shadow: var(--shadow); }
.svc-cat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-cat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,21,38,0.7), rgba(10,21,38,0.04) 60%); }
.svc-cat__no { position: absolute; top: 16px; left: 18px; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: rgba(255,255,255,0.9); z-index: 2; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.svc-cat__badge { position: absolute; bottom: 16px; right: 16px; z-index: 2; width: 52px; height: 52px; border-radius: 12px; background: #08355f; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(0,0,0,0.5); }
.svc-cat__badge svg { width: 28px; height: 28px; }
.svc-cat__intro h2 { font-size: 2rem; margin-bottom: 12px; }
.svc-cat__intro p { color: var(--ink-soft); font-size: 1.06rem; max-width: 52ch; margin-bottom: 22px; }
.svc-cat__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 16px; }
.svc-item { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--amber); border-radius: 12px; padding: 22px 22px 24px; box-shadow: var(--shadow-sm); transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s; }
.svc-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-item h4 { font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 8px; color: var(--ink); }
.svc-item p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.5; }

/* Interactive coverage map */
.coverage-hint { color: var(--ink-soft); font-size: 0.85rem; margin: -6px 0 22px; }
.map-tip { position: absolute; pointer-events: none; left: 0; top: 0; transform: translate(-50%, calc(-100% - 14px)); background: var(--navy-900); color: #fff; border: 1px solid var(--amber); border-radius: 10px; padding: 8px 12px; font-size: 0.82rem; opacity: 0; transition: opacity 0.15s var(--ease); z-index: 6; white-space: nowrap; box-shadow: 0 12px 28px rgba(0,0,0,0.45); }
.map-tip.is-on { opacity: 1; }
.map-tip strong { display: block; font-family: var(--font-head); font-size: 0.92rem; }
.map-tip span { color: var(--steel-300); font-size: 0.74rem; }
.map-tip--cov span { color: #86b4e8; }

/* =================== PROJECTS =================== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em;
  padding: 10px 20px; border-radius: 30px; border: 1.5px solid var(--line);
  background: transparent; color: var(--ink-soft); cursor: pointer; transition: all 0.22s;
}
.filter:hover { border-color: var(--steel-400); color: var(--ink); }
.filter.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.section--navy .filter { border-color: var(--line); color: var(--ink-soft); }
.section--navy .filter:hover { color: var(--ink); border-color: var(--steel-400); }
.section--navy .filter.is-active { background: #08355f; border-color: #08355f; color: #fff; }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-marquee { overflow: hidden; padding: 6px 0; cursor: grab; -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.proj-marquee.is-dragging { cursor: grabbing; }
.proj-marquee__track { display: flex; width: max-content; will-change: transform; }
.proj-marquee .proj { flex: 0 0 clamp(260px, 26vw, 330px); margin-right: 22px; }
.proj-marquee .proj img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.proj {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  text-align: left; padding: 0; width: 100%; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.proj:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(31,95,166,0.55); }
.proj__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--navy-700); }
.proj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.proj:hover .proj__media img { transform: scale(1.06); }
.proj__tag { position: absolute; top: 14px; left: 14px; font-family: var(--font-head); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: #08355f; padding: 6px 12px; border-radius: 6px; box-shadow: 0 6px 16px -6px rgba(10,21,38,0.5); }
.proj__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 5px; }
.proj__body h3 { color: var(--ink); margin: 0; font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.15; }
.proj__loc { color: var(--ink-soft); font-size: 0.92rem; display: flex; align-items: center; gap: 7px; }
.proj__loc svg { width: 15px; height: 15px; color: var(--amber-600); flex-shrink: 0; }
.proj__view { margin-top: 12px; font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-600); display: inline-flex; align-items: center; gap: 8px; opacity: 0.6; transition: opacity 0.3s var(--ease), gap 0.3s var(--ease); }
.proj__view svg { width: 15px; height: 15px; }
.proj:hover .proj__view { opacity: 1; gap: 13px; }
.proj.is-hidden { display: none; }

/* =================== CTA BAND =================== */
.ctaband { position: relative; background: linear-gradient(150deg, var(--navy-900), var(--navy-600)); color: #fff; overflow: hidden; text-align: center; }
.ctaband__grid { position: absolute; inset: 0; opacity: 0.5; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%); }
.ctaband .container { position: relative; }
.ctaband h2 { max-width: 760px; margin: 0 auto 18px; color: #fff; }
.ctaband p { max-width: 560px; margin: 0 auto 34px; color: var(--steel-300); font-size: 1.08rem; }
.ctaband .kicker { color: #86b4e8; }
.ctaband .kicker::before { background: var(--teal); }
.ctaband .btn--primary { background: var(--teal); color: var(--navy-900); }
.ctaband .btn--primary:hover { background: #fff; color: var(--navy-900); box-shadow: 0 14px 34px -12px rgba(125,201,214,0.5); }
.ctaband .btn--ghost-light { border-color: rgba(255,255,255,0.5); color: #fff; }
.ctaband .btn--ghost-light:hover { border-color: var(--teal); color: var(--teal); }

/* =================== FOOTER =================== */
.footer { background: #fff; color: var(--ink-soft); padding: 72px 0 0; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 48px; padding-bottom: 48px; }
.footer__brand-lockup { display: flex; align-items: flex-start; gap: 18px; }
.footer__brand-lockup .brand { margin: 0; flex: none; }
.footer__brand-copy { display: flex; flex-direction: column; gap: 18px; }
.footer__brand-copy p { margin: 0; max-width: 320px; font-size: 0.98rem; color: var(--ink-soft); line-height: 1.5; }
.footer h4 { color: var(--ink); font-family: var(--font-head); font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__links a { font-size: 0.95rem; transition: color 0.2s, padding 0.2s; }
.footer__links a:hover { color: var(--amber-600); padding-left: 5px; }
.footer__contact { display: grid; gap: 14px; font-size: 0.95rem; }
.footer__contact div { display: flex; gap: 12px; align-items: center; }
.footer__contact .fc-ico { flex: none; width: 36px; height: 36px; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.footer__contact .fc-ico svg { width: 17px; height: 17px; color: var(--ink-soft); }
.footer__contact a { transition: color 0.2s; }
.footer__contact a:hover { color: var(--amber-600); }
.footer__bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-direction: row; justify-content: center; align-items: center; text-align: center; font-size: 0.85rem; color: var(--steel-500); flex-wrap: wrap; gap: 8px 14px; }
.footer__sep { opacity: 0.55; }
.footer__social { display: flex; gap: 10px; }
.footer__brand-copy .footer__social { margin-top: 0; }
.footer__social a { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink-soft); display: grid; place-items: center; transition: all 0.2s; }
.footer__social a:hover { background: rgba(14,30,52,0.07); border-color: var(--navy-700); color: var(--navy-800); }
.footer__social svg { width: 18px; height: 18px; }

/* =================== MODAL =================== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 13, 24, 0.78); backdrop-filter: blur(4px); animation: fade 0.3s var(--ease); }
.modal__panel {
  position: relative; max-width: 860px; margin: 6vh auto; background: var(--white);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); max-height: 88vh; overflow-y: auto;
  animation: pop 0.35s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(10,21,38,0.5); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.2s; }
.modal__close:hover { background: #08355f; color: #fff; }
.modal__hero { position: relative; aspect-ratio: 16/7; background: var(--navy-800); }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__hero-tag { position: absolute; left: 24px; bottom: 20px; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: #08355f; padding: 6px 14px; border-radius: 5px; }
.modal__body { padding: 34px clamp(24px, 4vw, 44px) 44px; }
.modal__body h2 { margin-bottom: 6px; }
.modal__body .modal__loc { color: var(--amber-600); font-family: var(--font-head); font-weight: 600; margin-bottom: 20px; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 24px 0; }
.spec { background: var(--bg-alt); padding: 18px 20px; }
.spec__k { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-500); font-weight: 600; }
.spec__v { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy-900); margin-top: 4px; }
.modal__scope { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.modal__scope li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.modal__scope svg { width: 20px; height: 20px; color: var(--amber-600); flex-shrink: 0; margin-top: 2px; }

/* =================== FORMS =================== */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em; color: var(--navy-800); }
.field label .req { color: var(--amber-600); }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; box-sizing: border-box;
  font-family: var(--font-body); font-size: 0.98rem; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg-alt); color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }

/* =================== ENGAGEMENT MODELS =================== */
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.engage { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s; position: relative; overflow: hidden; }
.engage:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.engage::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.engage:hover::before { transform: scaleX(1); }
.engage__tag { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-600); }
.engage h3 { font-size: 1.3rem; margin: 10px 0 12px; }
.engage p { color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 16px; }
.engage__best { font-size: 0.85rem; color: var(--navy-800); font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line); }
.engage__best span { color: var(--steel-500); font-weight: 500; }
.assure-marquee { margin-top: 44px; overflow: hidden; cursor: grab; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.assure-marquee.is-dragging { cursor: grabbing; }
.assure-track { list-style: none; margin: 0; padding: 8px 2px; display: flex; width: max-content; user-select: none; -webkit-user-select: none; will-change: transform; }
.assure-track li { flex: none; margin-right: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--navy-800); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.assure-track li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }

/* =================== FAQ =================== */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.faq__item.is-open { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 24px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy-900); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__q:hover { color: var(--amber-600); }
.faq__icon { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 2.5px; background: var(--amber); border-radius: 2px; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a-inner { padding: 0 24px 24px; color: var(--ink-soft); font-size: 0.98rem; }
.faq__a-inner p { margin: 0; }

/* =================== FILE UPLOAD / FORM EXTRAS =================== */
.file-drop { position: relative; }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop__label { display: flex; align-items: center; gap: 14px; padding: 18px 18px; border: 1.5px dashed var(--steel-400); border-radius: 8px; background: var(--bg-alt); color: var(--ink-soft); font-size: 0.95rem; transition: border-color 0.2s, background 0.2s; }
.file-drop:hover .file-drop__label { border-color: var(--amber); background: #fff; }
.file-drop__label svg { width: 24px; height: 24px; color: var(--amber-600); flex-shrink: 0; }
.file-drop__hint { font-size: 0.8rem; color: var(--steel-500); }
.next-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; padding: 22px 24px; background: var(--bg-alt); border-radius: 12px; border: 1px solid var(--line); }
.next-step { display: flex; gap: 12px; align-items: flex-start; }
.next-step__n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #08355f; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; display: grid; place-items: center; }
.next-step p { margin: 0; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }
.next-step strong { color: var(--navy-900); display: block; font-family: var(--font-head); font-size: 0.9rem; }

/* =================== COVERAGE / MAP =================== */
.coverage-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(32px, 4vw, 60px); align-items: center; }
.coverage-map { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(10px, 1.6vw, 18px); box-shadow: var(--shadow-sm); }
.coverage-map img, .coverage-map svg { width: 100%; height: auto; }
.coverage-tier { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.coverage-tier:last-of-type { border-bottom: 0; }
.coverage-tier__dot { flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; }
.coverage-tier__dot--wide { background: var(--steel-400); }
.coverage-tier__dot--amber { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-glow); }
.coverage-tier h3 { color: var(--ink); font-size: 1.1rem; margin: 0 0 4px; }
.coverage-tier p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
.state-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.state-badge { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; padding: 8px 16px; border-radius: 30px; background: rgba(31,95,166,0.12); border: 1px solid var(--amber); color: var(--amber); }

/* anchored homepage sections clear the fixed header */
#build-your-team, #coverage, #compare-section, #designer-cta, #projects, #services { scroll-margin-top: 96px; }

/* =================== SCROLL PROGRESS =================== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--amber), var(--amber-600)); z-index: 200; transition: width 0.1s linear; box-shadow: 0 0 10px var(--amber-glow); }

/* =================== STICKY MOBILE CTA =================== */
.mobile-cta { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: none; }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px; border-radius: 10px; background: #08355f; color: #fff; font-family: var(--font-head); font-weight: 800; letter-spacing: 0.02em; box-shadow: 0 12px 30px -8px rgba(10,21,38,0.55); transform: translateY(120%); transition: transform 0.35s var(--ease); }
.mobile-cta.is-shown a { transform: translateY(0); }
@media (max-width: 720px) { .mobile-cta { display: block; } }

/* =================== FLOATING DESIGNER LAUNCHER =================== */
.design-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: #08355f; color: #fff; border: 2px solid var(--amber);
  font-family: var(--font-head); font-weight: 800; font-size: 0.98rem; letter-spacing: 0.01em;
  box-shadow: 0 12px 30px -12px rgba(8,53,95,0.5);
  animation: fabPulse 2s ease-in-out infinite;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.design-fab:hover { animation: none; }
.design-fab svg { width: 22px; height: 22px; }
.design-fab:hover { transform: translateY(-3px) scale(1.02); animation: none; background: #0c4576; box-shadow: 0 16px 34px -12px rgba(8,53,95,0.5); color: #fff; }
@keyframes fabPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 30px -12px rgba(8,53,95,0.5), 0 0 0 0 rgba(31,95,166,0.5); }
  50% { transform: scale(1.05); box-shadow: 0 16px 34px -12px rgba(8,53,95,0.6), 0 0 0 12px rgba(31,95,166,0); }
}
@media (prefers-reduced-motion: reduce) { .design-fab { animation: none; } }
@media (max-width: 720px) { .design-fab { display: none; } }

/* Chatbot widget: match brand navy (overrides chatbot.js near-black navy-900) */
.clb-launcher { background: #08355f !important; box-shadow: 0 12px 30px -12px rgba(8,53,95,0.55); }
.clb-head { background: #08355f !important; }

/* =================== TILT CARDS =================== */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* =================== BEFORE/AFTER SLIDER =================== */
.compare { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; background: var(--navy-800); }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 50%); }
.compare__label { position: absolute; bottom: 16px; z-index: 3; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 5px; color: #fff; background: rgba(10,21,38,0.7); backdrop-filter: blur(4px); }
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; background: #08355f; color: #fff; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--amber); z-index: 4; transform: translateX(-50%); cursor: ew-resize; }
.compare__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #08355f; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px -4px rgba(0,0,0,0.5); }
.compare__grip svg { width: 24px; height: 24px; }
.compare__range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

@media (prefers-reduced-motion: reduce) {
  .hero__media img, .hero__grid, .ctaband__grid { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* =================== REVEAL ANIM =================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =================== SUBPAGE HERO =================== */
.subhero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 160px 0 80px; color: #fff; overflow: hidden; background: var(--navy-900); }
.subhero__media { position: absolute; inset: 0; z-index: 0; }
.subhero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
/* Full-bleed video like the home hero: full opacity, darkened by the overlay gradient, gentle fade-in */
.subhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroVideoIn 1.4s ease-out 0.15s forwards; }
.subhero__grid { position: absolute; inset: 0; z-index: 0; opacity: 0.5; background-image: linear-gradient(rgba(139,149,168,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(139,149,168,0.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 75% 30%, black, transparent 78%); }
.subhero__overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom, rgba(10,21,38,0.5), transparent 20%), linear-gradient(100deg, rgba(10,21,38,0.6) 0%, rgba(10,21,38,0.32) 42%, rgba(10,21,38,0.06) 100%), linear-gradient(to top, rgba(10,21,38,0.45), transparent 34%); }
.subhero .container { position: relative; z-index: 1; }
.subhero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 14px; }
.subhero p { color: var(--steel-300); max-width: 620px; font-size: 1.1rem; margin: 0; }
.crumbs { font-size: 0.85rem; color: rgba(255,255,255,0.68); margin-bottom: 18px; letter-spacing: 0.04em; }
.crumbs a { color: rgba(255,255,255,0.85); }
.crumbs a:hover { color: #fff; }
.crumbs a:hover { color: var(--amber); }

/* =================== SERVICE ROWS =================== */
.svc-rows { display: grid; gap: 28px; }
.svc-row { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 36px; box-shadow: var(--shadow-sm); scroll-margin-top: 100px; }
.svc-row--flip { grid-template-columns: 1fr 340px; }
.svc-row__media { grid-column: 1; grid-row: 1; position: relative; aspect-ratio: 1; border-radius: 12px; background: linear-gradient(140deg, var(--navy-800), var(--navy-600)); overflow: hidden; }
.svc-row__body { grid-column: 2; grid-row: 1; }
.svc-row--flip .svc-row__media { grid-column: 2; }
.svc-row--flip .svc-row__body { grid-column: 1; }
.svc-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-row__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,21,38,0.75), rgba(10,21,38,0.05) 55%); }
.svc-row__no { position: absolute; top: 14px; left: 16px; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: rgba(255,255,255,0.85); z-index: 2; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.svc-row__badge { position: absolute; bottom: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 10px; background: #08355f; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(0,0,0,0.5); }
.svc-row__badge svg { width: 26px; height: 26px; }
.svc-row__body h2 { font-size: 1.6rem; }
.svc-row__blurb { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 18px; }

/* =================== VALUES / PROCESS =================== */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value { display: flex; gap: 18px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.section--navy .value { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.value__num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--amber); line-height: 1; flex-shrink: 0; }
.value h3 { font-size: 1.15rem; margin-bottom: 6px; }
.value p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }
.section--navy .value p { color: var(--ink-soft); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process--3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; }
.step { position: relative; padding-top: 50px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--amber); opacity: 0.35; line-height: 1; }
.step__bar { height: 3px; background: var(--line); border-radius: 3px; margin-bottom: 18px; position: relative; overflow: hidden; }
.step__bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--amber); }
.section--navy .step__bar { background: rgba(255,255,255,0.12); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.section--navy .step p { color: var(--steel-300); }

/* =================== SOFTWARE STRIP =================== */
.software-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; max-width: 1040px; margin: 0 auto; }
.software-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 26px; height: 92px; min-width: 156px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.software-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.software-card img { max-height: 42px; max-width: 140px; width: auto; height: auto; display: block; }
@media (max-width: 600px) { .software-card { min-width: 0; flex: 1 1 40%; padding: 16px; height: 78px; } .software-card img { max-height: 34px; max-width: 110px; } }

/* =================== LEGAL PAGES =================== */
.legal { padding-top: clamp(120px, 15vw, 160px); }
.legal .container { max-width: 840px; }
.legal .crumbs { font-size: 0.85rem; color: var(--steel-500); margin-bottom: 14px; }
.legal .crumbs a { color: var(--steel-500); text-decoration: none; }
.legal .crumbs a:hover { color: var(--amber-600); }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 8px 0 4px; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 10px; }
.legal p { color: var(--ink-soft); margin: 0 0 14px; line-height: 1.75; }
.legal p a { color: var(--amber-600); text-decoration: underline; }
.legal__updated { font-size: 0.9rem; color: var(--steel-500); margin-bottom: 30px !important; }
.footer__legal { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__legal a { color: inherit; text-decoration: none; opacity: 0.85; }
.footer__legal a:hover { color: var(--amber); opacity: 1; }

/* =================== CONTACT =================== */
.contact-grid { display: grid; grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); gap: clamp(30px, 5vw, 60px); align-items: start; }
/* Below 1080px two columns get too tight (form fields overflow), so go single-column */
@media (max-width: 1080px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 18px; align-content: start; }
.contact-card { display: flex; gap: 16px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; align-items: flex-start; }
/* let the text fill the remaining width so lines don't wrap into a cramped column */
.contact-card > div:last-child { flex: 1 1 auto; min-width: 0; }
.contact-card p { line-height: 1.5; }
.contact-card__icon { width: 46px; height: 46px; border-radius: 10px; background: var(--amber-glow); color: var(--amber-600); display: grid; place-items: center; flex-shrink: 0; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h4 { font-family: var(--font-head); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel-500); margin: 0 0 4px; }
.contact-card p, .contact-card a { margin: 0; font-weight: 600; color: var(--navy-800); font-size: 1.02rem; }
.contact-card a:hover { color: var(--amber-600); }
.form-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 6px; }
.form-success { display: none; padding: 16px 18px; background: rgba(31,95,166,0.12); border: 1px solid var(--amber); border-radius: 10px; color: var(--navy-800); font-weight: 600; margin-bottom: 22px; }
.form-success.is-shown { display: block; }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: 14px; margin-top: 40px; filter: grayscale(0.2); }

/* Contact: info column header + refined cards + social */
.contact-head { margin-bottom: 4px; }
.contact-head h2 { font-size: 1.7rem; margin: 8px 0 10px; }
.contact-head p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.contact-card { transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(31,95,166,0.5); }
.contact-social { display: flex; gap: 12px; margin-top: 4px; }
.contact-social a { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--ink-soft); transition: all 0.22s var(--ease); }
.contact-social a svg { width: 20px; height: 20px; }
.contact-social a:hover { border-color: var(--amber); background: var(--amber-glow); color: var(--amber-600); transform: translateY(-2px); }

/* Contact: full-width "find us" map band */
.locate { padding-top: 0; }
.locate__wrap { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.locate__map { display: block; width: 100%; height: clamp(380px, 46vw, 520px); border: 0; filter: grayscale(0.12) contrast(1.04); }
.locate__card { position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); max-width: 360px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; box-shadow: var(--shadow); }
.locate__card h3 { font-size: 1.2rem; margin: 8px 0 8px; }
.locate__card p { color: var(--ink-soft); margin: 0 0 18px; line-height: 1.5; }

/* =================== RESPONSIVE =================== */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .diff-grid, .svc-grid, .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .statbar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(330px, 82vw); flex-direction: column; align-items: stretch; background: #fff; box-shadow: -12px 0 40px -20px rgba(10,21,38,0.4); padding: 92px 22px 32px; transform: translateX(100%); transition: transform 0.35s var(--ease); gap: 8px; overflow-y: auto; }
  .nav__links > li > a { padding: 13px 14px; font-size: 1.04rem; }
  .nav__links .dropdown a { padding: 11px 14px; }
  .nav__links.is-open { transform: translateX(0); }
  .nav__toggle { display: block; z-index: 70; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; width: auto; display: block; max-height: 0; overflow: hidden; transition: max-height 0.32s var(--ease); }
  .has-dropdown.is-expanded .dropdown { max-height: 640px; }
  .has-dropdown > a { display: flex; align-items: center; justify-content: space-between; }
  /* Design a Building CTA shows as a full-width pill in the mobile menu (no pulse there) */
  .nav__cta { display: block; margin-top: 14px; margin-left: 0; }
  .nav__links .nav__cta > a { justify-content: center; padding: 13px; animation: none; }
  .diff-grid, .svc-grid, .proj-grid, .form-grid { grid-template-columns: 1fr; }
  .next-steps { grid-template-columns: 1fr; gap: 16px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .values-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .engage-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-map { max-width: 520px; margin: 0 auto; }
  .svc-row, .svc-row--flip { grid-template-columns: 1fr; }
  .svc-row__media, .svc-row__body, .svc-row--flip .svc-row__media, .svc-row--flip .svc-row__body { grid-column: auto; grid-row: auto; }
  .svc-row__media { max-width: 220px; }
  .svc-cat__head, .svc-cat__head--flip { grid-template-columns: 1fr; gap: 26px; }
  .svc-cat__head--flip .svc-cat__media { order: 0; }
  .svc-cat__media { max-width: 460px; }
}
@media (max-width: 720px) {
  .process { grid-template-columns: 1fr; }
  .subhero { padding: 130px 0 60px; }
}
@media (max-width: 620px) {
  .locate__wrap { border-radius: 14px; }
  .locate__map { height: 320px; }
  .locate__card { position: static; max-width: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
}

/* Light theme: keep kicker legible on the dark photo banners */
.hero .kicker, .subhero .kicker { color: rgba(255, 255, 255, 0.85); }
.hero .kicker::before, .subhero .kicker::before { background: #86b4e8; }

/* =================== FORM EXTRAS =================== */
.field__opt { font-weight: 500; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-400); margin-left: 6px; }

/* =================== METAL BUILDINGS PAGE =================== */
.btn--ghost-light { border: 1.5px solid var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--ghost-light:hover { border-color: var(--amber-600); color: var(--amber-600); transform: translateY(-2px); }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Intro: copy + designer card */
.mb-intro { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: clamp(28px, 4vw, 56px); align-items: center; }
.mb-intro__copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 8px 0 16px; }
.mb-intro__copy p { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 16px; }
.mb-intro__copy p:last-child { margin-bottom: 0; }
.mb-intro__card { background: linear-gradient(150deg, var(--navy-800), var(--navy-600)); color: #fff; border-radius: 16px; padding: 32px 30px; box-shadow: var(--shadow); }
.mb-intro__eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #86b4e8; }
.mb-intro__card h3 { font-size: 1.45rem; margin: 8px 0 12px; color: #fff; }
.mb-intro__card p { color: var(--steel-300); font-size: 0.96rem; line-height: 1.6; margin: 0 0 22px; }
@media (max-width: 860px) { .mb-intro { grid-template-columns: 1fr; } }

.mb-types__note { text-align: center; margin: 34px auto 0; color: var(--ink-soft); font-size: 1rem; }
.mb-types__note a { color: var(--amber-600); font-weight: 600; }

/* 3D designer feature band */
.mb-designer { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.mb-designer__media { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: linear-gradient(140deg, var(--navy-800), var(--navy-600)); box-shadow: var(--shadow); }
.mb-designer__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mb-designer__badge { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: #08355f; padding: 7px 12px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0,0,0,0.5); }
.mb-designer__copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 8px 0 16px; }
.mb-designer__copy > p { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 20px; }
.mb-designer__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.mb-designer__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--navy-800); font-weight: 500; }
.mb-designer__list li svg { width: 20px; height: 20px; color: var(--amber-600); flex: 0 0 20px; margin-top: 1px; }
@media (max-width: 860px) { .mb-designer { grid-template-columns: 1fr; } .mb-designer__media { order: -1; } }

/* Coverage */
.mb-cover { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(28px, 4vw, 56px); align-items: center; }
.mb-cover__copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 8px 0 16px; }
.mb-cover__copy > p { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 20px; }
.mb-cover__states { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.mb-cover__states span { font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--navy-800); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; box-shadow: var(--shadow-sm); }
.mb-cover__note { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }
.mb-cover .coverage-map { background: var(--white); }
@media (max-width: 860px) { .mb-cover { grid-template-columns: 1fr; } }

/* Shared photo art-direction  frames + tones every image into one set */
.mb-tile__media, .mb-phase__media, .mb-designer__media, .mb-built__media { position: relative; }
.mb-tile__media img, .mb-phase__media img, .mb-designer__media img, .mb-built__media img { filter: saturate(0.92) contrast(1.03); }
.mb-tile__media::after, .mb-phase__media::after, .mb-designer__media::after, .mb-built__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 3;
  background: linear-gradient(180deg, rgba(8,53,95,0) 58%, rgba(8,53,95,0.22) 100%);
  box-shadow: inset 0 0 0 1px rgba(13,27,46,0.10);
}

/* Building-type tiles (compact, AWS-style) */
.mb-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1040px) { .mb-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .mb-tiles { grid-template-columns: 1fr; } }
.mb-tile { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s; }
.mb-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(31,95,166,0.4); }
.mb-tile__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-100); }
.mb-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.mb-tile:hover .mb-tile__media img { transform: scale(1.05); }
.mb-tile__cap { padding: 15px 17px 17px; }
.mb-tile__cap h3 { font-size: 1rem; font-weight: 700; margin: 0 0 4px; line-height: 1.25; }
.mb-tile__cap p { color: var(--ink-soft); font-size: 0.85rem; margin: 0; line-height: 1.4; }

/* Build phases — real cards */
.mb-phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 880px) { .mb-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .mb-phases { grid-template-columns: 1fr; } }
.mb-phase { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s; }
.mb-phase:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(31,95,166,0.4); }
.mb-phase__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-100); }
.mb-phase__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.mb-phase:hover .mb-phase__media img { transform: scale(1.05); }
.mb-phase__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(155deg, rgba(10,21,38,0.34), rgba(10,21,38,0) 44%); }
.mb-phase__n { position: absolute; top: 12px; left: 12px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; background: #08355f; border: 2px solid var(--teal); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1rem; display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(0,0,0,0.55); }
.mb-phase__cap { padding: 17px 18px 20px; }
.mb-phase__cap h3 { font-size: 1.08rem; font-weight: 700; margin: 0 0 6px; }
.mb-phase__cap p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; line-height: 1.5; }

/* What's built in */
.mb-built { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .mb-built { grid-template-columns: 1fr; } }
.mb-built__media { aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); background: var(--steel-100); }
.mb-built__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-built__copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 8px 0 14px; }
.mb-built__copy > p { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 22px; }
.mb-built__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mb-built__list li { display: flex; gap: 14px; align-items: flex-start; }
.mb-built__list li svg { width: 20px; height: 20px; color: var(--teal-ink); flex: 0 0 20px; margin-top: 3px; }
.mb-built__list li div { font-size: 0.98rem; color: var(--ink-soft); line-height: 1.5; }
.mb-built__list li strong { color: var(--navy-900); font-family: var(--font-head); font-weight: 700; }

/* Dark feature band (3D designer) + subhero actions */
.section--dark { background: linear-gradient(155deg, var(--navy-900), var(--navy-700)); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .kicker { color: #86b4e8; }
.section--dark .kicker::before { background: var(--teal); }
.section--dark .mb-designer__copy > p { color: var(--steel-300); }
.section--dark .mb-designer__list li { color: #e8edf2; }
.section--dark .mb-designer__list li svg { color: var(--teal); }
.section--dark .btn--primary { background: var(--teal); color: var(--navy-900); }
.section--dark .btn--primary:hover { background: #fff; color: var(--navy-900); box-shadow: 0 14px 34px -12px rgba(125,201,214,0.5); }
.mb-designer__badge { z-index: 4; }
.subhero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Mobile drawer: flatten the desktop mega-menu back to a simple link list */
@media (max-width: 720px) {
  .dropdown.dropdown--mega { display: block; width: auto; max-width: none; border: 0; border-radius: 0; box-shadow: none; }
  .dropdown--mega .mm-cats { flex: none; padding: 0 0 0 6px; background: transparent; }
  .dropdown--mega .mm-cat { padding: 10px 14px; }
  .dropdown--mega .mm-cat.is-active { background: transparent; }
  .dropdown--mega .mm-cat.is-active .dd-cat { color: var(--navy-900); }
  .dropdown--mega .mm-cat::after { display: none; }
  .dropdown--mega .mm-panels { display: none; }
}
