/* ============================================================
   D.J. Conley Associates: preview site
   Design: "Trusted Steel Pro" v3, photographic, containerised.
   Brand: red #D5201F, ink #141414. Est. 1974.

   LAYOUT RULE (root-cause fix for the v2 gutter bug):
   every piece of page content lives inside a .wrap container.
   Full-bleed bands (heroes, marquee, footer) are plain block
   wrappers whose *content* is a .wrap. Nothing is laid out
   as a bare grid directly under <body>.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --accent: #D5201F;
  --accent-dark: #a91816;
  --accent-light: #ff8a80;
  --ink: #141414;
  --ink-2: #0f1316;
  --navy: #1b3a5c;
  --bg: #f4f6f8;
  --surface: #fff;
  --mut: #56606b;
  --line: #e1e6ea;
  --footbg: #111417;
  --footfg: #c3cad1;
  --fd: Georgia, 'Times New Roman', serif;
  --fb: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --rad: 6px;
  --rad-lg: 12px;
  --maxw: 1160px;
  --gutter: 24px;
  --sec: 80px;
  --shadow: 0 1px 2px rgba(16,24,32,.05), 0 8px 24px rgba(16,24,32,.07);
  --shadow-lg: 0 2px 4px rgba(16,24,32,.06), 0 18px 40px rgba(16,24,32,.14);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
button { font-family: inherit; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.link { color: var(--navy); font-weight: 700; }
.link:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== icons (one consistent line set) ===== */
.ico { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; display: block; }
.ico-sm { width: 18px; height: 18px; }

/* ===== emergency banner (site-wide) ===== */
.emergency-banner { background: var(--ink); color: #fff; font-size: 13px; padding: 8px 0; letter-spacing: .01em; }
.emergency-banner .wrap { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; text-align: center; }
.emergency-banner b { color: #ff6b62; font-weight: 800; }
.emergency-banner a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.emergency-banner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; flex: 0 0 auto; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(213,32,31,.6); } 70% { box-shadow: 0 0 0 8px rgba(213,32,31,0); } 100% { box-shadow: 0 0 0 0 rgba(213,32,31,0); } }

/* ===== header / nav ===== */
header.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 500; }
.nav { display: flex; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; }
.links { margin-left: auto; display: flex; gap: 24px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.links a { padding: 8px 0; border-bottom: 2px solid transparent; }
.links a:hover, .links a.active { color: var(--accent); border-color: var(--accent); }
.call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; padding: 8px 16px; font-weight: 800; font-size: 14px;
  border-radius: var(--rad); font-variant-numeric: tabular-nums; flex: 0 0 auto; white-space: nowrap;
}
.call svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.call:hover { background: var(--accent-dark); }
.social-inline { display: flex; gap: 8px; flex: 0 0 auto; }
.social-inline a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); color: var(--navy); border: 1px solid var(--line); }
.social-inline a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.social-inline svg { width: 15px; height: 15px; fill: currentColor; }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 42px; height: 42px; cursor: pointer; flex: 0 0 auto; background: none; border: 1px solid var(--line); border-radius: var(--rad); padding: 0 8px; }
.hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 1px; }
.mobile-nav { display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--line); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 16px var(--gutter); border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.mobile-nav a.btn1 { margin: 16px var(--gutter); text-align: center; border-bottom: 0; }

/* ===== type ===== */
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin-bottom: 16px; }
h1 { font-family: var(--fd); font-weight: 400; font-size: 48px; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 16px; }
h1 em { font-style: italic; color: var(--navy); }
.lede { font-size: 18px; line-height: 1.6; color: var(--mut); max-width: 52ch; margin: 0 0 32px; }
.h2 { font-family: var(--fd); font-weight: 400; font-size: 32px; line-height: 1.15; color: var(--ink); margin: 0 0 16px; letter-spacing: -.005em; }
.h2 b { font-weight: 400; font-style: italic; color: var(--navy); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.sec-head .h2 { margin: 0; }
.sec-head .more { font-size: 14px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.sec-head .more:hover { color: var(--accent); }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin: 0 0 8px; }
.section-lede { color: var(--mut); font-size: 16px; max-width: 64ch; margin: 0 0 32px; line-height: 1.65; }
.prose p { max-width: 68ch; font-size: 16.5px; line-height: 1.75; margin: 0 0 16px; color: #2b3138; }
.fine { font-size: 13px; color: var(--mut); line-height: 1.6; margin: 16px 0 0; }

/* ===== buttons ===== */
.btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn1, .btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 24px; font-weight: 800; font-size: 14.5px; border-radius: var(--rad); cursor: pointer; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn1 { background: var(--accent); color: #fff; }
.btn1:hover { background: var(--accent-dark); }
.btn2 { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn2:hover { background: var(--navy); color: #fff; }
.btn2.on-dark { border-color: rgba(255,255,255,.7); color: #fff; }
.btn2.on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ===== home hero (photographic) ===== */
.home-hero { position: relative; background: var(--ink-2); color: #fff; overflow: hidden; }
.home-hero .bg { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; }
.home-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
.home-hero .bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink-2) 0%, rgba(15,19,22,.86) 22%, rgba(15,19,22,.35) 55%, rgba(15,19,22,.12) 100%),
              linear-gradient(0deg, rgba(15,19,22,.75) 0%, rgba(15,19,22,0) 42%); }
.home-hero .wrap { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 136px; }
.home-hero .copy { max-width: 720px; }
.home-hero .eyebrow { color: var(--accent-light); }
.home-hero h1 { color: #fff; font-size: 50px; margin-bottom: 16px; }
.home-hero h1 em { color: var(--accent-light); }
.home-hero .lede { color: #d6dce1; max-width: 60ch; margin-bottom: 24px; }
.hero-stats { display: flex; gap: 0; margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); max-width: 640px; }
.hero-stats .st { flex: 1 1 0; padding-right: 16px; }
.hero-stats .st + .st { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-stats b { display: block; font-family: var(--fd); font-weight: 400; font-size: 30px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats span { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #bfc7ce; }

/* ===== interior page hero (photographic band) ===== */
.page-hero { position: relative; background: var(--ink-2); color: #fff; overflow: hidden; }
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,19,22,.93) 0%, rgba(15,19,22,.8) 45%, rgba(15,19,22,.45) 100%); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 48px; }
.page-hero .eyebrow { color: var(--accent-light); margin-bottom: 8px; }
.page-hero h1 { font-size: 44px; margin-bottom: 16px; color: #fff; }
.page-hero h1 em { color: var(--accent-light); }
.page-hero p { color: #d6dce1; font-size: 17px; max-width: 62ch; line-height: 1.6; margin: 0; }
.page-hero p a { color: #fff; text-decoration: underline; }
.breadcrumb { font-size: 12.5px; color: #b9c2ca; margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; }

/* ===== sections ===== */
.block { padding: var(--sec) 0; }
.block.tight { padding: 32px 0; }
.block.alt { background: #fff; }
.block.flush-top { padding-top: 0; }

/* ===== top-4 home tiles ===== */
.tiles-overlap { position: relative; z-index: 2; margin-top: -104px; }
.tiles4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden; box-shadow: var(--shadow-lg); transition: transform .18s, box-shadow .18s, border-color .18s; }
.tile:hover { transform: translateY(-3px); border-color: var(--accent); }
.tile-photo { aspect-ratio: 2 / 1; overflow: hidden; background: #dfe4e8; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover .tile-photo img { transform: scale(1.04); }
.tile-body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 16px; }
.tile .no { font-size: 11.5px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.tile h3 { font-size: 19px; line-height: 1.25; margin: 4px 0 8px; }
.tile p { font-size: 14px; color: var(--mut); margin: 0 0 16px; line-height: 1.5; flex: 1; }
.tile .go { font-size: 13.5px; font-weight: 800; color: var(--navy); }
.tile:hover .go { color: var(--accent); }
.tiles2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.tile-row { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden; transition: border-color .18s; }
.tile-row:hover { border-color: var(--accent); }
.tile-row .tr-photo { width: 34%; flex: 0 0 34%; min-height: 128px; }
.tile-row .tr-photo img { width: 100%; height: 100%; object-fit: cover; }
.tile-row .tr-body { padding: 16px 24px; display: flex; flex-direction: column; justify-content: center; }
.tile-row h3 { font-size: 17.5px; margin: 0 0 8px; }
.tile-row p { font-size: 14px; color: var(--mut); margin: 0 0 8px; line-height: 1.5; }
.tile-row .go { font-size: 13.5px; font-weight: 800; color: var(--navy); }

/* ===== split (photo + text) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.photo-right > .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rad-lg); box-shadow: var(--shadow); }
.split-media.tall img { aspect-ratio: 4 / 5; }
.split-media.contain img { object-fit: contain; background: #fff; border: 1px solid var(--line); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; }
.checklist li .num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: #fdeceb; color: var(--accent); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.checklist li b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.checklist li span { font-size: 14.5px; color: var(--mut); line-height: 1.55; }

/* ===== card grids ===== */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); padding: 24px; border-radius: var(--rad-lg); }
.block.alt .card { background: var(--bg); border-color: transparent; }
.card .ico { margin-bottom: 16px; }
.card h3 { font-size: 18px; margin: 0 0 8px; line-height: 1.3; }
.card p { font-size: 14.5px; line-height: 1.6; color: var(--mut); margin: 0; }
.card .no { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .08em; margin-bottom: 8px; }
.card ul { margin: 8px 0 0; padding-left: 16px; font-size: 14px; color: var(--mut); line-height: 1.6; }
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li { font-size: 14px; line-height: 1.55; color: var(--mut); padding: 8px 0; border-top: 1px solid var(--line); }
.spec-list li:first-child { border-top: 0; padding-top: 0; }
.spec-list li b { color: var(--ink); }
.badge-row { display: flex; gap: 16px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 16px; font-weight: 800; font-size: 15px; }
.block.alt .badge { background: var(--bg); }

/* ===== product grid ===== */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs .t { border: 1px solid #d3d8de; background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.tabs .t:hover { border-color: var(--accent); }
.tabs .t.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.prodgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden; transition: border-color .15s; }
.pcard:hover { border-color: var(--accent); }
.pcard .thumb { aspect-ratio: 4/3; background-color: #fff; background-size: contain; background-repeat: no-repeat; background-position: center; border-bottom: 1px solid var(--line); }
.pcard .thumb.photo { background-size: cover; }
.pcard .pb { padding: 16px 16px 16px; }
.pcard h3 { font-size: 16.5px; margin: 0 0 8px; }
.pcard p { font-size: 13.5px; color: var(--mut); margin: 0; line-height: 1.5; }
.pcard .cat { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin-bottom: 8px; display: block; }

/* ===== industries ===== */
.indus { display: grid; grid-template-columns: repeat(9, 1fr); gap: 16px; }
.indus .i { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 16px 8px 16px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.3; border-radius: var(--rad-lg); background: #fff; }
.block.alt .indus .i { background: var(--bg); border-color: transparent; }
.indus .i .ico { width: 30px; height: 30px; }
.chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip-grid.five { grid-template-columns: repeat(5, 1fr); }
.chip-grid .c { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.block.alt .chip-grid .c { background: var(--bg); border-color: transparent; }
.chip-grid .c .ico { width: 20px; height: 20px; }
a.c:hover { border-color: var(--accent) !important; color: var(--accent); }

/* ===== vendor marquee ===== */
.marquee-wrap { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0 48px; }
.marquee-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.marquee-head .h2 { margin: 0; }
.marquee-head .more { font-size: 14px; font-weight: 800; color: var(--navy); }
.marquee-head .more:hover { color: var(--accent); }
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scrollx 55s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
.vendor-tile {
  flex: 0 0 auto; width: 200px; height: 96px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px; padding: 16px 24px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.vendor-tile img { max-width: 100%; height: var(--h, 36px); width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .25s, opacity .25s; }
.vendor-tile:hover, .vendor-tile:focus-visible { border-color: var(--accent); box-shadow: var(--shadow); }
.vendor-tile:hover img, .vendor-tile:focus-visible img { filter: none; opacity: 1; }
.vendor-tile.dark-logo { background: #1b1f23; border-color: #1b1f23; }
.vendor-tile.dark-logo img { filter: grayscale(1) brightness(1.6); }
.vendor-tile.dark-logo:hover img { filter: none; }
.vendor-tile .wordmark { font-weight: 800; font-size: 16px; letter-spacing: .02em; color: #6b737c; text-align: center; line-height: 1.2; transition: color .25s; }
.vendor-tile:hover .wordmark { color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .emergency-banner .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== line card (equipment page) ===== */
.linecard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.linecard-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 16px; scroll-margin-top: 96px; transition: border-color .2s, box-shadow .2s; }
.linecard-tile:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(213,32,31,.18); }
.linecard-tile .lc-logo { height: 70px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.linecard-tile .lc-logo img { height: var(--h, 36px); max-width: 100%; width: auto; object-fit: contain; object-position: left center; }
.linecard-tile .lc-logo.dark { background: #1b1f23; border-radius: 8px; padding: 8px 16px; border-bottom: 0; }
.linecard-tile b { display: block; font-size: 16px; margin-bottom: 8px; }
.linecard-tile .desc { font-size: 13.5px; color: var(--mut); line-height: 1.55; display: block; flex: 1; }
.linecard-tile .site { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--accent); }
.linecard-tile .terr { align-self: flex-start; display: inline-block; margin-top: 16px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; }
.terr.se { background: #fdeceb; color: var(--accent-dark); }
.terr.all { background: #eef2f6; color: var(--navy); }

/* ===== quotes ===== */
.quote { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 24px 24px; border-radius: 8px; }
.quote p { font-family: var(--fd); font-size: 19px; line-height: 1.5; color: var(--ink); margin: 0 0 16px; }
.quote .by { font-size: 13px; color: var(--mut); }

/* ===== timeline ===== */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 0; }
.tl .e { padding: 0 16px 0 16px; border-left: 2px solid var(--accent); }
.tl .e b { display: block; font-family: var(--fd); font-weight: 400; font-size: 26px; color: var(--accent); margin-bottom: 8px; font-variant-numeric: tabular-nums; line-height: 1; }
.tl .e span { font-size: 14px; color: var(--mut); line-height: 1.55; display: block; }

/* ===== coverage map ===== */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.map-toggle { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: #fff; margin-bottom: 16px; }
.map-toggle button { border: none; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 800; cursor: pointer; color: var(--mut); }
.map-toggle button.on { background: var(--accent); color: #fff; }
.map-box { background: linear-gradient(180deg, #eef3f7, #e4ebf1); border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 24px; max-width: 440px; margin: 0 auto; width: 100%; }
.map-box svg { width: 100%; height: auto; display: block; }
.map-state { fill: #c9d3dc; stroke: #fff; stroke-width: 1.2; transition: fill .25s; }
.map-state.on-all { fill: var(--navy); }
.map-se { fill: url(#se-grad); opacity: 0; transition: opacity .25s; }
.map-se.on { opacity: .9; }
.map-pin circle.core { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.map-pin text { font: 700 11px var(--fb); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.map-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--mut); }
.map-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.coverage-note { font-size: 15px; color: var(--mut); margin: 0; line-height: 1.65; max-width: 52ch; }

/* ===== recent projects strip + projects page ===== */
.proj-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proj-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden; scroll-margin-top: 96px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.proj-card:hover { border-color: #cfd6dc; box-shadow: var(--shadow); }
a.proj-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.proj-card:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(213,32,31,.18); }
.proj-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e4e9ed; margin: 0; }
.proj-photo[data-photos] { cursor: zoom-in; }
.proj-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.proj-card:hover .proj-photo img { transform: scale(1.04); }
.proj-photo .count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; background: rgba(20,20,20,.75); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 999px; }
.proj-ph { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: #fff;
  background-color: var(--accent);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 2px, transparent 2px 16px), linear-gradient(135deg, #d5201f 0%, #9e1513 100%); }
.proj-ph .ico { width: 54px; height: 54px; stroke: #fff; stroke-width: 1.4; }
.proj-ph span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: rgba(255,255,255,.85); }
.proj-body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 16px; }
.proj-card .tag { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin-bottom: 8px; display: block; }
.proj-card h3 { font-size: 17px; margin: 0 0 8px; line-height: 1.3; }
.proj-card .sum { font-size: 14px; color: var(--mut); margin: 0 0 16px; line-height: 1.5; }
.proj-card .proj-meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mut); line-height: 1.6; }
.proj-card .proj-meta b { color: var(--ink); }
.proj-card .soon { margin-top: auto; align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; color: var(--navy); background: #eef2f6; padding: 4px 8px; border-radius: 999px; }
.proj-strip .proj-card h3 { font-size: 16px; }
.proj-strip .proj-card .year { margin-top: auto; font-size: 12.5px; color: var(--mut); }

/* ===== lightbox ===== */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(10,12,14,.94); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px 16px; }
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 100%; max-height: 80vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-size: 13px; opacity: .85; padding: 0 16px; }
.lightbox-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 8px 8px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 26px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(255,255,255,.22); }

/* ===== cta band ===== */
.cta { position: relative; background: var(--accent); color: #fff; border-radius: var(--rad-lg); overflow: hidden;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 18px), linear-gradient(120deg, #d5201f 0%, #a91816 100%); }
.cta .in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 32px 32px; }
.cta h3 { font-size: 28px; margin: 0; font-weight: 400; font-family: var(--fd); line-height: 1.2; }
.cta .sub { display: block; font-family: var(--fb); font-size: 14px; color: rgba(255,255,255,.85); margin-top: 8px; }
.cta .big { margin-left: auto; background: #fff; color: var(--accent); padding: 16px 24px; font-size: 22px; font-weight: 800; border-radius: var(--rad); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cta .big:hover { background: var(--ink); color: #fff; }

/* ===== forms ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 32px; box-shadow: var(--shadow); }
.form-card.narrow { max-width: 680px; }
.form-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--mut); margin-bottom: 4px; display: block; }
.form input, .form select, .form textarea { background: #fff; border: 1px solid #d3d9de; color: var(--ink); padding: 16px 16px; font-size: 15px; font-family: inherit; border-radius: var(--rad); width: 100%; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .btn1 { justify-self: start; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 13.5px; padding: 8px 16px; border-radius: 6px; display: none; margin-top: 4px; }
.form-msg.show { display: block; }
.form-msg.ok { background: #eaf7ee; color: #1c6b34; border: 1px solid #bfe6c8; }
.form-msg.err { background: #fdeceb; color: var(--accent-dark); border: 1px solid #f3c9c9; }
.info-list { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden; }
.info-list .r { display: flex; gap: 16px; align-items: center; padding: 16px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.info-list .r:first-child { border-top: 0; }
.info-list .r .k { flex: 0 0 96px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.info-list .r a { color: var(--navy); font-weight: 700; overflow-wrap: anywhere; }
.info-list .r a:hover { color: var(--accent); }

/* ===== crew (generic, no names/photos) ===== */
.crew-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.crew-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 24px; }
.crew-card .ic { width: 52px; height: 52px; border-radius: 50%; background: #fdeceb; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.crew-card h4 { margin: 0 0 8px; font-size: 16.5px; }
.crew-card p { font-size: 14.5px; color: var(--mut); margin: 0; line-height: 1.55; }

/* ===== news ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 24px; }
.news-card .meta { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.news-card h3 { font-family: var(--fd); font-weight: 400; font-size: 21px; line-height: 1.25; margin: 0 0 8px; }
.news-card .sum { font-size: 14.5px; color: var(--mut); line-height: 1.6; margin: 0 0 16px; }
.news-card details summary { cursor: pointer; font-size: 14px; font-weight: 800; color: var(--navy); list-style: none; }
.news-card details summary::-webkit-details-marker { display: none; }
.news-card details summary::after { content: " \2192"; }
.news-card details[open] summary::after { content: " \2191"; }
.news-card details[open] summary { margin-bottom: 16px; }
.news-card details p { font-size: 14.5px; line-height: 1.7; color: #2b3138; margin: 0 0 16px; }
.news-card.feature { grid-column: 1 / -1; }
.linkedin-follow { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 24px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.linkedin-follow .ic { width: 46px; height: 46px; border-radius: 8px; background: #0a66c2; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.linkedin-follow .ic svg { width: 24px; height: 24px; fill: #fff; }
.linkedin-follow .tx { flex: 1 1 240px; }
.linkedin-follow .tx b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.linkedin-follow .tx span { font-size: 14px; color: var(--mut); }

/* ===== footer ===== */
footer.site-foot { background: var(--footbg); color: var(--footfg); font-size: 14px; padding: 64px 0 0; }
.foot-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr 1fr; gap: 32px; margin-bottom: 40px; }
.foot-cols h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 800; margin: 0 0 16px; }
.foot-cols a, .foot-cols .ln { display: block; font-size: 14px; margin-bottom: 8px; color: var(--footfg); line-height: 1.45; }
.foot-cols a:hover { color: #fff; }
.foot-cols .ln.sep { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.foot-cols .ln a { display: inline; margin: 0; overflow-wrap: anywhere; }
.foot-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.foot-brand p { margin: 0 0 16px; line-height: 1.6; color: var(--footfg); max-width: 38ch; }
.social-foot { display: flex; gap: 8px; }
.social-foot a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--footbg); margin: 0; transition: background .15s, color .15s; }
.social-foot a:hover { background: var(--accent); color: #fff; }
.social-foot svg { width: 18px; height: 18px; fill: currentColor; }
.mobile-nav .social-foot { padding: 4px var(--gutter) 16px; }
.mobile-nav .social-foot a { padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--navy); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--footfg); }

/* ===== mobile sticky cta ===== */
.mobile-cta-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 600; box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
.mobile-cta-bar a { flex: 1; text-align: center; padding: 16px 0; font-weight: 800; font-size: 15px; }
.mobile-cta-bar .call-a { background: var(--ink); color: #fff; }
.mobile-cta-bar .quote-a { background: var(--accent); color: #fff; }

/* ===== responsive ===== */
@media (max-width: 1100px) {
  .links { gap: 16px; }
  .social-inline { display: none; }
  .indus { grid-template-columns: repeat(5, 1fr); }
  .prodgrid { grid-template-columns: repeat(3, 1fr); }
  .foot-cols { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  :root { --gutter: 20px; --sec: 56px; }
  .links { display: none; }
  .hamburger { display: flex; }
  .nav { gap: 16px; }
  .nav .call { margin-left: auto; }
  h1, .home-hero h1 { font-size: 40px; }
  .page-hero h1 { font-size: 36px; }
  .home-hero .bg { width: 100%; }
  .home-hero .bg::after { background: linear-gradient(90deg, rgba(15,19,22,.92) 0%, rgba(15,19,22,.7) 60%, rgba(15,19,22,.45) 100%); }
  .tiles4, .proj-strip { grid-template-columns: 1fr 1fr; }
  .tiles2, .grid3, .quotes, .crew-grid, .proj-list, .news-grid, .grid2 { grid-template-columns: 1fr 1fr; }
  .linecard-grid { grid-template-columns: repeat(3, 1fr); }
  .split, .coverage, .contact-grid, .form-split { grid-template-columns: 1fr; gap: 32px; }
  .split.photo-right > .split-media { order: 0; }
  .tl { grid-template-columns: repeat(3, 1fr); }
  .chip-grid, .chip-grid.five { grid-template-columns: repeat(3, 1fr); }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 48px; }
}
@media (max-width: 620px) {
  :root { --gutter: 16px; --sec: 48px; }
  body { font-size: 15.5px; }
  .emergency-banner { font-size: 12px; padding: 8px 0; }
  .emergency-banner .eb-extra { display: none; }
  .emergency-banner .wrap { gap: 8px; }
  .nav { padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  .brand img { height: 28px; }
  .nav .call { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; }
  .nav .call svg { width: 19px; height: 19px; }
  .nav .call .call-num { display: none; }
  h1, .home-hero h1 { font-size: 30px; }
  .home-hero .eyebrow { letter-spacing: .1em; font-size: 11.5px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero .wrap { padding-top: 32px; padding-bottom: 32px; }
  .page-hero p { font-size: 15.5px; }
  .h2 { font-size: 26px; }
  .lede { font-size: 16px; }
  .home-hero .wrap { padding-top: 40px; padding-bottom: 104px; }
  .home-hero .bg::after { background: linear-gradient(180deg, rgba(15,19,22,.72) 0%, rgba(15,19,22,.88) 100%); }
  .hero-stats b { font-size: 24px; }
  .hero-stats .st { padding-right: 8px; }
  .hero-stats .st + .st { padding-left: 8px; }
  .hero-stats span { font-size: 10px; letter-spacing: .06em; }
  .btn1, .btn2 { padding: 16px 16px; font-size: 14px; }
  .tiles-overlap { margin-top: -72px; }
  .tiles4 { gap: 16px; }
  .tile-photo { aspect-ratio: 4 / 3; }
  .tile-body { padding: 16px 16px 16px; }
  .tile h3 { font-size: 15.5px; margin: 4px 0 0; }
  .tile p, .tile .go { display: none; }
  .tiles2, .grid3, .crew-grid, .proj-list, .news-grid, .grid2, .proj-strip { grid-template-columns: 1fr; }
  .tiles2 { gap: 16px; margin-top: 16px; }
  .tile-row .tr-photo { width: 110px; flex-basis: 110px; min-height: 110px; }
  .tile-row .tr-body { padding: 16px 16px; }
  .tile-row p { display: none; }
  .indus { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .indus .i { padding: 16px 8px; font-size: 12px; }
  .prodgrid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pcard .pb { padding: 16px 16px 16px; }
  .pcard h3 { font-size: 14.5px; }
  .pcard p { font-size: 12.5px; }
  .linecard-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .linecard-tile { padding: 16px; }
  .linecard-tile .lc-logo { height: 52px; }
  .linecard-tile .lc-logo img { height: calc(var(--h, 36px) * .78); }
  .tl { grid-template-columns: 1fr 1fr; }
  .chip-grid, .chip-grid.five { grid-template-columns: 1fr 1fr; }
  .chip-grid .c { font-size: 13px; padding: 16px; }
  .cta .in { flex-direction: column; align-items: flex-start; padding: 24px 24px; }
  .cta h3 { font-size: 23px; }
  .cta .big { margin-left: 0; font-size: 20px; }
  .form-card { padding: 24px 16px; }
  .form .row { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .vendor-tile { width: 160px; height: 80px; padding: 16px 16px; }
  .vendor-tile img { height: calc(var(--h, 36px) * .8); }
  .marquee-wrap { padding: 32px 0 32px; }
  .card { padding: 24px; }
  .info-list .r { flex-wrap: wrap; gap: 4px 16px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 20px; }
}
@media (max-width: 380px) {
  .foot-cols { grid-template-columns: 1fr; }
  .brand img { height: 26px; }
}

/* ===== v3.1: media, video, reveal ===== */
picture { display: contents; }
.home-hero .bg .hero-still, .home-hero .bg .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
.home-hero .bg .hero-video { opacity: 0; transition: opacity 1.2s ease; }
.home-hero .bg .hero-video.on { opacity: 1; }
.home-hero .bg::after { z-index: 1; }
.pcard .thumb { display: block; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.pcard .thumb.photo img { object-fit: cover; padding: 0; }
.video-card { position: relative; border-radius: var(--rad-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16 / 9; }
.video-card video { width: 100%; height: 100%; display: block; }
.video-poster { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s; opacity: .92; }
.video-poster:hover img { transform: scale(1.03); opacity: 1; }
.video-poster .play { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; background: rgba(15,19,22,.78); color: #fff; font-weight: 800; font-size: 14px; transition: background .2s, transform .2s; }
.video-poster .play i { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(213,32,31,.25); }
.video-poster:hover .play { background: rgba(15,19,22,.92); transform: translateY(-1px); }
.video-poster .play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.video-poster .dur { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 999px; }
.btn1, .btn2 { transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn1:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(213,32,31,.28); }
.card, .crew-card, .news-card, .linecard-tile, .pcard, .indus .i, .chip-grid .c { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover, .crew-card:hover, .linecard-tile:hover, .pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rd, 0ms); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .home-hero .bg .hero-video { display: none; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .tile, .card, .btn1, .proj-card, .video-poster img { transition: none; }
}
@media (max-width: 620px) {
  .video-poster .play { left: 12px; bottom: 12px; font-size: 13px; }
  .video-poster .play i { width: 36px; height: 36px; }
}
/* line card: featured primary line + wordmark tiles */
.linecard-tile .wordmark { font-weight: 800; font-size: 18px; color: #3b434b; line-height: 1.2; }
.linecard-tile { position: relative; }
.linecard-tile.featured { grid-column: span 2; grid-row: span 2; border-color: #f0c9c8; background: linear-gradient(180deg, #fff 0%, #fff7f7 100%); }
.linecard-tile.featured .lc-photo { margin: -16px -16px 16px; aspect-ratio: 16 / 7; overflow: hidden; border-radius: var(--rad-lg) var(--rad-lg) 0 0; }
.linecard-tile.featured .lc-photo img { width: 100%; height: 100%; object-fit: cover; }
.linecard-tile.featured .lc-logo img { height: calc(var(--h, 36px) * 1.35); }
.linecard-tile.featured > b { font-size: 19px; }
.linecard-tile.featured .desc { font-size: 15px; }
.lc-badge { position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
@media (max-width: 980px) { .linecard-tile.featured { grid-row: span 1; } }
@media (max-width: 620px) {
  .linecard-tile.featured .lc-photo { margin: -16px -16px 16px; }
  .linecard-tile.featured .lc-logo img { height: calc(var(--h, 36px) * 1.05); }
}
/* softer branded placeholder for projects without photos */
.proj-ph { color: var(--accent); background-color: #fbeeed;
  background-image: repeating-linear-gradient(135deg, rgba(213,32,31,.07) 0 2px, transparent 2px 16px), radial-gradient(circle at 50% 45%, #fff 0, rgba(255,255,255,0) 60%); }
.proj-ph .ico { stroke: var(--accent); }
.proj-ph span { color: var(--accent-dark); }
@media (max-width: 620px) {
  .proj-strip { grid-template-columns: 1fr 1fr; gap: 16px; }
  .proj-strip .proj-body { padding: 12px 12px 14px; }
  .proj-strip .proj-card h3 { font-size: 14px; }
  .proj-strip .proj-card .tag { font-size: 9.5px; letter-spacing: .06em; }
  .foot-cols > div:nth-child(4) { grid-column: 1 / -1; }
}

/* ===== about: team & facility gallery ===== */
.fac-h { margin: 28px 0 14px; font-size: 18px; }
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proj-photo.fac { border-radius: var(--rad-lg); }
.proj-photo.fac figcaption, .proj-photo.fac .fc { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; color: #fff; font-size: 13px; line-height: 1.3; background: linear-gradient(transparent, rgba(10,12,14,.72)); }
@media (max-width: 980px) { .fac-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fac-grid { grid-template-columns: 1fr; } }
/* ===== first-draft additions (build.py) ===== */
/* lift the AI chat bubble above the fixed Call / Get a Quote bar on phones and tablets */
@media (max-width: 980px) { :root { --dwa-chat-lift: 56px; } }

.links { align-items: center; }
.links .dd { position: relative; display: flex; align-items: center; }
.links .dd > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.dd-m { position: absolute; top: 100%; left: -16px; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--rad); box-shadow: var(--shadow); padding: 8px 0; display: none; flex-direction: column; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; z-index: 600; }
.links .dd:hover .dd-m, .links .dd:focus-within .dd-m { display: flex; }
.links .dd-m a { padding: 10px 16px; border: 0; color: var(--ink); }
.links .dd-m a:hover, .links .dd-m a.active { background: var(--bg); color: var(--accent); }
.mobile-nav details.mgrp { border-bottom: 1px solid var(--line); }
.mobile-nav details.mgrp summary { padding: 16px var(--gutter); font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.mobile-nav details.mgrp summary::-webkit-details-marker { display: none; }
.mobile-nav details.mgrp summary::after { content: "+"; color: var(--accent); font-size: 18px; line-height: 1; }
.mobile-nav details.mgrp[open] summary::after { content: "\2212"; }
.mobile-nav a.sub { display: block; width: 100%; box-sizing: border-box; padding: 12px var(--gutter) 12px calc(var(--gutter) + 16px); font-weight: 600; font-size: 14.5px; color: #3a434c; border-bottom: 0; }
.mobile-nav details.mgrp[open] { padding-bottom: 8px; }
.subnav-bar { background: #fff; border-bottom: 1px solid var(--line); }
.subnav { display: flex; gap: 8px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; background: #fff; white-space: nowrap; }
.subnav a:hover { border-color: var(--accent); color: var(--accent); }
.subnav a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 8px; }
.pitem { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 24px; }
.block.alt .pitem { border-color: transparent; }
.pitem .cat { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin-bottom: 8px; display: block; }
.pitem h3 { font-size: 18px; margin: 0 0 8px; line-height: 1.3; }
.pitem p { font-size: 14.5px; line-height: 1.6; color: var(--mut); margin: 0 0 12px; }
.pitem p:last-child { margin-bottom: 0; }
.pitem .spec-list li { padding: 6px 0; font-size: 13.5px; }
.pcard { display: block; color: inherit; }
.pcard .go { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 800; color: var(--accent); }
.card h3 a:hover { color: var(--accent); }
.linecard-grid > * { min-width: 0; overflow-wrap: anywhere; }
.linecard-tile .lc-photo img { max-width: 100%; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.people-grid .proj-photo { aspect-ratio: 4 / 3; }
.people-grid .proj-photo img { object-position: 50% 22%; }
.gal-tabs { margin-bottom: 20px; }
.gal-grid { columns: 3 280px; column-gap: 16px; }
.gal-grid .proj-photo.g { aspect-ratio: auto; break-inside: avoid; margin: 0 0 16px; display: block; }
.gal-grid .proj-photo.g img { height: auto; }
.link-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.ltile { position: relative; display: block; border-radius: var(--rad-lg); overflow: hidden; aspect-ratio: 4 / 3; background: #e4e9ed; color: #fff; }
.ltile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ltile:hover img { transform: scale(1.04); }
.ltile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(10,12,14,.82)); font-size: 13.5px; line-height: 1.4; }
.ltile b { display: block; font-size: 18px; font-family: var(--fd); font-weight: 400; margin-bottom: 2px; }
.emerg-call { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: #fff; border: 2px solid var(--accent); border-radius: var(--rad-lg); padding: 28px; }
.emerg-call > div { flex: 1 1 360px; }
.emerg-call .section-lede { margin-bottom: 0; }
.big-call { font-size: 20px; padding: 18px 26px; }
.big-call svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 980px) { .people-grid, .link-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .people-grid, .link-tiles { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .emerg-call { padding: 20px; }
  .big-call { width: 100%; font-size: 18px; }
}
/* ===== end first-draft additions ===== */

/* 11-03 Gail edit: footer items never wrap; single column on small screens so nowrap cannot overflow */
.foot-cols a, .foot-cols .ln { white-space: nowrap; }
.foot-cols .ln a { overflow-wrap: normal; }
.foot-brand p { white-space: normal; }
@media (max-width: 640px) {
  .foot-cols { grid-template-columns: 1fr; }
  .foot-cols > div:nth-child(4) { grid-column: auto; }
}

/* news.html: reserve the height of the articles block that news.json fills in (prevents layout shift) */
#news-list { min-height: 1040px; }
@media (max-width: 1100px) { #news-list { min-height: 1090px; } }
@media (max-width: 980px) { #news-list { min-height: calc(1730px - (100vw - 621px) * 0.87); } }
@media (max-width: 620px) { #news-list { min-height: calc(3190px - (100vw - 360px) * 2.41); } }
