/* ==========================================================================
   Brand tokens
   ========================================================================== */
:root {
  --navy: #142c3e;
  --navy-900: #0c1d2a;
  --navy-700: #1f3d54;
  --navy-100: #e7edf2;
  --gold: #d09500;
  --gold-600: #b37f00;
  --gold-text: #8a6400;      /* accent text on white — passes AA */
  --gold-100: #fbf3df;
  --white: #ffffff;
  --paper: #f7f6f2;          /* warm off-white section background */
  --ink: #16232e;
  --muted: #56636e;
  --line: #e3e6ea;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px rgba(20, 44, 62, .12);
  --shadow-sm: 0 6px 18px rgba(20, 44, 62, .08);
  --container: 1200px;
  --header-h: 76px;
  /* Brand font: Helvetica Neue. Not self-hosted (no web license), so it comes from the
     visitor's device: built into every Mac/iPhone/iPad; Windows/Android fall back to the
     near-identical Helvetica/Arial. With a licensed .woff2, add an @font-face here. */
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-head: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(38px, 5.4vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: clamp(19px, 1.8vw, 22px); letter-spacing: -.01em; }

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy-900); padding: 10px 16px;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font: 700 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 24px rgba(208, 149, 0, .28); }
.btn-gold:hover { background: #e0a206; }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }

.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--navy); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s; color: var(--gold); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px; background: var(--navy);
  display: grid; place-items: center; flex: none;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-logo { display: block; height: 46px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; }
.site-footer .brand-logo { height: 52px; }
.site-footer .brand-logo.on-dark { filter: brightness(0) invert(1); }
.site-footer .brand-logo.on-tile { background: var(--white); padding: 8px 12px; border-radius: 8px; box-sizing: content-box; }
.brand-name { display: block; font: 700 23px/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.brand-tag { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; letter-spacing: .02em; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.main-nav a {
  display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px;
  padding: 8px 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s; transform-origin: left;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Services dropdown (desktop) */
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > a { display: inline-flex; align-items: center; gap: 4px; }
.main-nav .has-sub > a svg { width: 16px; height: 16px; transition: transform .2s; }
.main-nav .has-sub:hover > a svg, .main-nav .has-sub:focus-within > a svg { transform: rotate(180deg); }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: -18px; z-index: 110; margin-top: 14px;
  display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 2px 8px;
  min-width: 480px; padding: 14px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.main-nav .has-sub:hover .sub-menu, .main-nav .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 500; font-size: 14.5px; }
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a:focus-visible { background: var(--gold-100); color: var(--navy); }

.header-phone {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; color: var(--navy); font-size: 15px;
}
.header-phone svg { width: 18px; height: 18px; color: var(--gold); }
.header-cta { min-height: 46px; padding: 0 20px; font-size: 15px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); cursor: pointer; place-items: center; color: var(--navy);
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.mobile-menu { display: none; }

@media (max-width: 1240px) {
  .header-phone { display: none; }
  .main-nav > ul { gap: 24px; }
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative; color: var(--white); isolation: isolate;
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex; align-items: center;
  padding: 90px 0 110px;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(12,29,42,.94) 0%, rgba(12,29,42,.78) 45%, rgba(12,29,42,.25) 100%);
}
.hero-content { max-width: 680px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold); display: block; }
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: rgba(255,255,255,.85);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* Inner page hero */
.page-hero {
  position: relative; color: var(--white); isolation: isolate;
  padding: 92px 0 84px; background: var(--navy);
}
.page-hero.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12,29,42,.93), rgba(12,29,42,.7));
}
.page-hero .hero-media { z-index: -2; }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 14px; }
.page-hero p { font-size: 19px; color: rgba(255,255,255,.86); max-width: 640px; margin: 0; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 14px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.bg-navy .eyebrow { color: var(--gold); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { max-width: 520px; color: var(--muted); margin: 12px 0 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { margin-inline: auto; }

.lead { font-size: 19px; color: var(--muted); }

/* Intro split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow); }
.split-media .media-badge {
  position: absolute; left: -22px; bottom: 28px;
  background: var(--gold); color: var(--navy-900); border-radius: var(--radius-sm);
  padding: 18px 22px; box-shadow: var(--shadow); max-width: 230px;
}
.media-badge strong { display: block; font: 700 30px/1 var(--font-head); }
.media-badge span { font-size: 14px; font-weight: 600; line-height: 1.35; display: block; margin-top: 4px; }

.checklist { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist .tick {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gold-100); color: var(--gold-text);
  display: grid; place-items: center;
}
.checklist .tick svg { width: 16px; height: 16px; }
.checklist strong { display: block; color: var(--navy); }
.checklist span { color: var(--muted); font-size: 16px; }

/* Service tiles */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-tile {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-tile h3 { margin-bottom: 8px; }
.service-tile p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.service-tile .link-arrow { margin-top: auto; font-size: 15px; }
.service-tile.is-cta { background: var(--navy); border-color: var(--navy); color: var(--white); grid-column: span 2; }
.service-tile.is-cta h3 { color: var(--white); }
.service-tile.is-cta p { color: rgba(255,255,255,.78); }
.service-tile.is-cta .link-arrow { color: var(--gold); }

/* Impact tiles (home): photo cards with icon + title, one per service */
.impact .section-head p { color: rgba(255,255,255,.78); }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.impact-tile {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: 320px; padding: 24px; color: var(--white); text-decoration: none; background: var(--navy-900);
}
.impact-tile img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.impact-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,29,42,.15) 0%, rgba(12,29,42,.55) 45%, rgba(12,29,42,.94) 100%);
  transition: background-color .3s;
}
.impact-tile:hover img, .impact-tile:focus-visible img { transform: scale(1.06); }
.impact-tile:hover::before, .impact-tile:focus-visible::before { background-color: rgba(12,29,42,.35); }
.impact-icon {
  position: absolute; top: 20px; left: 20px; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; color: var(--gold);
  background: rgba(12,29,42,.7); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px);
}
.impact-icon svg { width: 26px; height: 26px; }
.impact-tile h3 { color: var(--white); margin: 0; font-size: 22px; line-height: 1.15; }
.impact-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; font-size: 14.5px; }
.impact-link svg { width: 16px; height: 16px; transition: transform .2s; }
.impact-tile:hover .impact-link svg { transform: translateX(4px); }
@media (hover: hover) {
  .impact-link { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
  .impact-tile:hover .impact-link, .impact-tile:focus-visible .impact-link { opacity: 1; transform: none; }
}
.impact-tile.is-cta { grid-column: 1 / -1; min-height: 220px; justify-content: center; padding: 32px 36px; }
.impact-tile.is-cta img { filter: grayscale(1); }
.impact-tile.is-cta::before { background: linear-gradient(90deg, rgba(12,29,42,.95) 0%, rgba(12,29,42,.75) 60%, rgba(12,29,42,.45) 100%); }
.impact-tile.is-cta h3 { font-size: clamp(24px, 2.4vw, 32px); max-width: 520px; }
.impact-tile.is-cta .impact-link { opacity: 1; transform: none; }
@media (max-width: 900px)  { .impact-grid { grid-template-columns: repeat(2, 1fr); } .impact-tile { min-height: 240px; } }
@media (max-width: 520px)  {
  .impact-grid { grid-template-columns: 1fr; gap: 12px; }
  .impact-tile { min-height: 190px; padding: 20px; }
  .impact-tile h3 { font-size: 20px; }
  .impact-tile.is-cta { padding: 28px 20px; }
}

/* Project cards */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .22s, box-shadow .22s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-100); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-thumb img { transform: scale(1.05); }
.project-badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); color: var(--navy); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 700; line-height: 1;
}
.chip-video { background: var(--gold); color: var(--navy-900); }
.chip-video svg { width: 12px; height: 12px; }
.project-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.project-meta { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.project-body h3 { margin-bottom: 8px; }
.project-body p { color: var(--muted); font-size: 15.5px; margin: 0 0 16px; }
.project-body .link-arrow { margin-top: auto; font-size: 15px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.step-num { font: 700 46px/1 var(--font-head); letter-spacing: -.03em; color: var(--gold); margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.78); margin: 0; font-size: 16px; }

/* CTA band */
.cta-band { background: var(--gold); color: var(--navy-900); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--navy-900); margin: 0 0 6px; font-size: clamp(26px, 3vw, 36px); }
.cta-band p { margin: 0; font-size: 18px; font-weight: 500; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.cta-band .btn-outline:hover { background: var(--navy-900); color: var(--white); }

/* ==========================================================================
   Services page
   ========================================================================== */
.one-stop {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.trade-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.trade-pills a {
  text-decoration: none; padding: 10px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 15px;
  transition: border-color .18s, background .18s;
}
.trade-pills a:hover { border-color: var(--gold); background: var(--gold-100); }

.service-rows { display: grid; gap: 96px; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-sm); }
.service-row .service-icon { margin-bottom: 18px; }
.service-row p { color: var(--muted); }
.service-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.service-list li { display: flex; gap: 10px; align-items: start; font-size: 16px; }
.service-list svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 4px; }

/* ==========================================================================
   Work page
   ========================================================================== */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
  border-radius: 999px; padding: 10px 18px; font: 600 15px/1 var(--font-body); cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1 / -1; }

/* Project detail */
.project-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.gallery-main {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-100);
  aspect-ratio: 16 / 10; cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; background: var(--navy-100); opacity: .7; transition: opacity .18s, border-color .18s;
}
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.img-caption { font-size: 14px; color: var(--muted); margin-top: 10px; min-height: 1.4em; }

.video-wrap { margin-top: 40px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.project-content { margin-top: 40px; }
.project-content h2 { font-size: clamp(24px, 2.6vw, 30px); }
.project-content ul { padding-left: 1.2em; }
.project-content li { margin-bottom: 6px; }

.facts {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line);
}
.facts h3 { font-size: 24px; margin-bottom: 18px; }
.facts dl { margin: 0 0 24px; display: grid; gap: 14px; }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }
.facts .btn { width: 100%; }
.facts .small { font-size: 14px; color: var(--muted); text-align: center; margin: 12px 0 0; }

.project-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 64px; padding-top: 28px; }
.project-nav a { text-decoration: none; max-width: 48%; }
.project-nav small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.project-nav strong { font-family: var(--font-head); font-size: 19px; color: var(--navy); }
.project-nav .next { text-align: right; margin-left: auto; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(6, 14, 21, .94);
  display: none; align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: var(--white); display: grid; place-items: center;
  transition: background .18s;
}
.lb-btn:hover { background: var(--gold); color: var(--navy-900); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: 14px; }

/* ==========================================================================
   About page
   ========================================================================== */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.value .service-icon { width: 48px; height: 48px; margin-bottom: 16px; }
.value .service-icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 24px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15.5px; margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card img { border-radius: var(--radius); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; margin-bottom: 16px; background: var(--navy-100); }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { color: var(--gold-text); font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.team-card p { color: var(--muted); font-size: 15.5px; }

.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cred {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
  padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.cred .service-icon { width: 52px; height: 52px; margin: 0; background: var(--gold); color: var(--navy-900); }
.cred h3 { font-size: 23px; margin-bottom: 4px; }
.cred p { margin: 0; color: rgba(255,255,255,.8); font-size: 15.5px; }

/* ==========================================================================
   Estimate page
   ========================================================================== */
.estimate-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 30px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: 15px; color: var(--navy); }
.field .opt { font-weight: 500; color: var(--muted); font-size: 14px; }
.req { color: #b4231b; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: 16px/1.4 var(--font-body); color: var(--ink);
  padding: 13px 14px; border: 1.5px solid #cfd5db; border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .18s, box-shadow .18s;
}
textarea { min-height: 150px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23142c3e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(20,44,62,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b4231b; }
.field-error { color: #b4231b; font-size: 14px; display: none; }
.field.invalid .field-error { display: block; }

.hp { position: absolute; left: -9999px; }

.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.form-foot small { color: var(--muted); font-size: 14px; flex: 1; min-width: 220px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 15px; display: none; }
.form-status.error { display: block; background: #fdecea; color: #8a1c14; }

.form-success { text-align: center; padding: 30px 10px; }
.form-success .big-tick {
  width: 76px; height: 76px; border-radius: 50%; background: var(--gold-100); color: var(--gold-text);
  display: grid; place-items: center; margin: 0 auto 20px;
}
.form-success .big-tick svg { width: 38px; height: 38px; }

.contact-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card h3 { color: var(--white); font-size: 28px; margin-bottom: 6px; }
.contact-card > p { color: rgba(255,255,255,.78); font-size: 16px; }
.contact-line {
  display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); color: var(--white); text-decoration: none;
}
.contact-line .ic { width: 46px; height: 46px; border-radius: 10px; background: rgba(208,149,0,.16); color: var(--gold); display: grid; place-items: center; }
.contact-line .ic svg { width: 22px; height: 22px; }
.contact-line small { display: block; font-size: 13px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.contact-line strong { font-size: 18px; word-break: break-word; }
.contact-line strong[data-site="email"] { font-size: 16px; }
a.contact-line:hover strong { color: var(--gold); }
.next-steps { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.next-steps h4 { color: var(--white); font-size: 17px; margin-bottom: 12px; }
.next-steps ol { margin: 0; padding-left: 20px; color: rgba(255,255,255,.82); font-size: 15.5px; }
.next-steps li { margin-bottom: 8px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 72px 0 0; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.site-footer .brand-tag { color: rgba(255,255,255,.6); }
.site-footer .brand-mark { background: rgba(255,255,255,.08); }
.site-footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; align-items: start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 4px; }
.footer-bottom {
  margin-top: 56px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.55);
}

/* Mobile sticky action bar */
.mobile-bar { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav ul { gap: 22px; }
  .header-phone span { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-layout, .estimate-layout { grid-template-columns: 1fr; }
  .facts, .contact-card { position: static; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .main-nav, .header-phone, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .mobile-menu {
    display: block; position: fixed; inset: var(--header-h) 0 0; z-index: 99; overscroll-behavior: contain;
    background: var(--white); padding: 20px 20px 120px; overflow-y: auto;
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
  .menu-open { overflow: hidden; }
  .mobile-menu ul { list-style: none; margin: 0 0 24px; padding: 0; }
  .mobile-menu li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 4px; border-bottom: 1px solid var(--line);
    font: 700 22px/1.1 var(--font-head); letter-spacing: -.01em; color: var(--navy); text-decoration: none;
  }
  .mobile-menu li a[aria-current="page"] { color: var(--gold-text); }
  .mobile-menu .sub-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
  .mobile-menu .sub-row a { flex: 1; border-bottom: 0; }
  .mobile-menu .sub-toggle {
    width: 56px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--navy);
    display: grid; place-items: center; cursor: pointer;
  }
  .mobile-menu .sub-toggle svg { width: 24px; height: 24px; transition: transform .2s; }
  .mobile-menu .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
  .mobile-menu .mobile-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
  .mobile-menu .has-sub.open .mobile-sub { grid-template-rows: 1fr; }
  .mobile-menu .mobile-sub > ul { overflow: hidden; margin: 0; background: var(--paper); }
  .mobile-menu .mobile-sub a {
    display: block; padding: 13px 18px; border-bottom: 1px solid var(--line);
    font: 600 16px/1.3 var(--font-body); text-transform: none; color: var(--navy);
  }
  .mobile-menu .has-sub:not(.open) .mobile-sub a { visibility: hidden; }
  .mobile-menu .btn { width: 100%; margin-bottom: 12px; }

  .section { padding: 72px 0; }
  .split, .one-stop, .service-row { grid-template-columns: 1fr; gap: 40px; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
  .service-rows { gap: 72px; }
  .split-media .media-badge { left: 16px; bottom: 16px; }
  .project-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .creds { grid-template-columns: 1fr; }

  /* Sticky call / estimate bar on phones */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(20,44,62,.08);
  }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; font-size: 15px; }
  body { padding-bottom: 72px; }
  .page-estimate .mobile-bar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: min(var(--container), 100% - 32px); }
  .brand-tag { display: none; }
  .brand-logo { height: 38px; max-width: 200px; }
  .hero { padding: 64px 0 76px; min-height: auto; }
  .hero::before { background: linear-gradient(180deg, rgba(12,29,42,.82), rgba(12,29,42,.9)); }
  .hero-actions .btn { width: 100%; }
  .page-hero { padding: 64px 0 56px; }
  .service-grid, .project-grid, .team-grid, .values { grid-template-columns: 1fr; }
  .service-tile.is-cta { grid-column: auto; }
  .service-list { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: 20px; }
  .lb-next { right: 20px; }
  .project-nav { flex-direction: column; }
  .project-nav a { max-width: 100%; }
}
