/* ==========================================================================
   TAD'S CONSTRUCTION INC. - Site Design System
   Brand: black + metallic blue + brushed steel (taken from the company logo)
   Everything is fluid. No fixed-width layouts, no unconstrained hero.
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand - sampled from the Tad's logo (steel bar + azure bar) */
  --blue:        #1b8fd6;
  --blue-bright: #45b4f0;
  --blue-deep:   #0a4e7a;
  --blue-glow:   rgba(27, 143, 214, .28);
  --steel:       #aebccb;

  /* Dark surfaces */
  --ink:    #05080c;
  --ink-2:  #0a1017;
  --ink-3:  #101823;
  --line:   #1c2836;
  --line-2: #2a3b4e;

  /* Dark-surface text */
  --white: #ffffff;
  --text:  #d8e2ec;
  --muted: #93a3b4;
  --dim:   #6b7d90;

  /* Light surfaces (capability statement / procurement pages) */
  --paper:       #ffffff;
  --paper-2:     #f4f7fa;
  --paper-3:     #eaf0f6;
  --paper-line:  #dbe4ed;
  --paper-text:  #131c26;
  --paper-muted: #4d5f72;

  /* Fluid layout */
  --wrap:        1280px;
  --wrap-narrow: 1000px;
  --gutter:      clamp(18px, 4vw, 48px);
  --section-y:   clamp(60px, 7.5vw, 118px);
  --gap:         clamp(18px, 2.4vw, 34px);

  --radius:    10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  --shadow:    0 18px 44px rgba(0, 0, 0, .42);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .28);
  --ease:      cubic-bezier(.4, 0, .2, 1);

  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --header-h: 74px;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* keeps #anchor targets from hiding under the sticky header */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  /* The closed mobile nav drawer sits just off the right edge. It is
     position: fixed, so body's overflow-x cannot contain it - the clip has to
     happen on the root.
     Must be `hidden`, NOT `clip`: when one axis is `clip`, the other axis
     computes to `clip` as well and the page loses vertical scrolling
     entirely. With `hidden`, the other axis resolves to `auto` and the
     document still scrolls normally. */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: clamp(15px, .42vw + 14px, 17px);
  line-height: 1.68;
  color: var(--text);
  background: var(--ink);
  overflow-x: clip;            /* stops sideways scroll from full-bleed blocks */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--blue); color: #fff; }

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .005em;
  color: var(--white);
  text-wrap: balance;
}

.h-xl { font-size: clamp(2.5rem, 5.6vw, 5.1rem); font-weight: 800; text-transform: uppercase; letter-spacing: .012em; }
.h-lg { font-size: clamp(1.95rem, 3.5vw, 3.15rem); text-transform: uppercase; }
.h-md { font-size: clamp(1.45rem, 2.1vw, 2rem); }
.h-sm { font-size: clamp(1.15rem, 1.4vw, 1.4rem); }

p { text-wrap: pretty; }
.lead { font-size: clamp(1.02rem, .55vw + .9rem, 1.22rem); color: var(--muted); max-width: 68ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: clamp(.82rem, .9vw, .95rem);
  font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: clamp(22px, 3vw, 40px); height: 2px;
  background: var(--blue); flex: none;
}

/* ---------- 4. LAYOUT PRIMITIVES ---------- */
/* The container is the core liquid-layout fix: it grows with the viewport but
   stops at --wrap, so copy never stretches across an ultrawide monitor. */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 4.5vw, 72px); }

.surface-ink     { background: var(--ink); }
.surface-ink-2   { background: var(--ink-2); }
.surface-grad    { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.surface-paper   { background: var(--paper); color: var(--paper-text); }
.surface-paper-2 { background: var(--paper-2); color: var(--paper-text); }

.section-head { max-width: 74ch; margin-bottom: clamp(30px, 3.6vw, 54px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin-top: 14px; color: var(--muted); }

/* Auto-fit grids: column count comes from available width, not media queries.
   Same rule behaves correctly on a phone and on a 4K display. */
.grid { display: grid; gap: var(--gap); }
.grid--auto   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--auto-l { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--2      { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head);
  font-size: clamp(.94rem, .5vw + .82rem, 1.06rem);
  font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  padding: 14px clamp(20px, 2.4vw, 32px);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .18s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 26px var(--blue-glow); }
.btn--primary:hover { background: var(--blue-bright); box-shadow: 0 12px 32px var(--blue-glow); }

.btn--ghost { border-color: rgba(255,255,255,.32); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--blue-bright); background: rgba(27,143,214,.14); }

.btn--solid-light { background: #fff; color: var(--ink); }
.btn--solid-light:hover { background: var(--steel); }

.btn--dark { background: var(--paper-text); color: #fff; }
.btn--dark:hover { background: var(--blue-deep); }

.btn--outline-dark { border-color: var(--paper-line); color: var(--paper-text); background: #fff; }
.btn--outline-dark:hover { border-color: var(--blue); color: var(--blue-deep); }

.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- 6. TOP UTILITY BAR ---------- */
.topbar { background: var(--ink); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.topbar__in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 22px; min-height: 40px; padding-block: 7px;
}
.topbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.topbar a { transition: color .2s var(--ease); }
.topbar a:hover { color: var(--blue-bright); }
.topbar strong { color: var(--steel); font-weight: 600; }
.topbar__sep { color: var(--line-2); }
@media (max-width: 860px) { .topbar__group--secondary { display: none; } }

/* ---------- 7. HEADER + NAV ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 8, 12, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 10px 30px rgba(0,0,0,.5); background: rgba(5,8,12,.98); }
.header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(14px, 2vw, 34px); min-height: var(--header-h);
}

/* Wordmark rebuilt in type + the logo's two parallelogram bars, so it stays
   sharp at any size and never depends on a raster file. */
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { display: flex; gap: 3px; flex: none; }
.brand__mark i { display: block; width: 11px; height: 30px; transform: skewX(-20deg); border-radius: 1px; }
.brand__mark i:first-child { background: linear-gradient(160deg, #eef3f8, #8fa1b3 55%, #dde6ef); }
.brand__mark i:last-child  { background: linear-gradient(160deg, var(--blue-bright), var(--blue-deep) 55%, var(--blue)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.15rem, 1.5vw, 1.42rem);
  letter-spacing: .045em; text-transform: uppercase; color: #fff;
}
.brand__sub {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue-bright); font-weight: 600; margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: clamp(4px, 1vw, 8px); }
.nav__link {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(.92rem, .9vw, 1.02rem);
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text);
  padding: 10px clamp(8px, .9vw, 13px);
  border-radius: var(--radius-sm);
  transition: color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav__link[aria-current="page"] { color: var(--blue-bright); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px;
  height: 2px; background: var(--blue); border-radius: 2px;
}

.nav__item { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav__caret { width: 9px; height: 9px; transition: transform .25s var(--ease); flex: none; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 268px;
  background: var(--ink-3); border: 1px solid var(--line-2);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a {
  display: block; padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: .93rem; color: var(--text);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__menu a:hover { background: rgba(27,143,214,.15); color: #fff; }
.nav__menu a span { display: block; font-size: .76rem; color: var(--dim); margin-top: 2px; }

.header__cta { flex: none; }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); flex: none;
}
.burger span {
  display: block; width: 20px; height: 2px; margin-inline: auto;
  background: #fff; border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(360px, 86vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px;
    background: var(--ink-2); border-left: 1px solid var(--line);
    padding: calc(var(--header-h) + 22px) 20px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    /* visibility keeps the closed drawer out of the keyboard tab order */
    visibility: hidden;
    transition: transform .32s var(--ease), visibility .32s;
    box-shadow: -20px 0 50px rgba(0,0,0,.55);
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__link { padding: 14px 12px; font-size: 1.06rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: rgba(255,255,255,.03);
    display: none; margin: 4px 0 8px; min-width: 0;
  }
  .nav__item.is-open .nav__menu { display: block; }
  .nav__mobile-cta { margin-top: 20px; }
}
@media (min-width: 1041px) { .nav__mobile-cta { display: none; } }

.nav-scrim {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(0,0,0,.62); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

.skip-link {
  position: absolute; left: 50%; translate: -50% -140%;
  z-index: 200; background: var(--blue); color: #fff;
  padding: 12px 22px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; transition: translate .2s var(--ease);
}
.skip-link:focus { translate: -50% 0; }

/* ==========================================================================
   8. HERO SLIDER
   Full-bleed photo, copy locked to .wrap. On a 3440px monitor the image keeps
   filling edge to edge while the text stays at a readable measure - this is
   the fix for the current slider stretching on wide displays.
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(540px, 82vh, 860px);
  display: grid;
  isolation: isolate;
  background: var(--ink);
  overflow: hidden;
}

.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;              /* never letterboxed, never distorted */
  object-position: center 45%;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.hero__slide.is-active img { transform: scale(1); }

/* Scrim is dark where the copy sits, clear over the photo, and it resolves
   into the page background at the bottom - so there is no white seam under
   the slider the way there is on the current site. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,8,12,.94) 0%, rgba(5,8,12,.82) 42%, rgba(5,8,12,.34) 72%, rgba(5,8,12,.55) 100%),
    linear-gradient(180deg, rgba(5,8,12,.72) 0%, rgba(5,8,12,0) 26%, rgba(5,8,12,0) 62%, var(--ink) 100%);
}
@media (max-width: 860px) {
  .hero__scrim { background: linear-gradient(180deg, rgba(5,8,12,.84) 0%, rgba(5,8,12,.74) 45%, var(--ink) 100%); }
}

.hero__body { align-self: center; width: 100%; padding-block: clamp(72px, 11vh, 130px); }
.hero__content { max-width: 62ch; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(27,143,214,.16);
  border: 1px solid rgba(69,180,240,.42);
  color: var(--blue-bright);
  font-size: .8rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 22px;
}
.hero__badge b { color: #fff; font-weight: 700; }

.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue-bright); display: block; }
.hero__text { font-size: clamp(1rem, .6vw + .88rem, 1.2rem); color: #c3d0dd; max-width: 58ch; margin-bottom: 30px; }
.hero .btn-row { margin-bottom: clamp(26px, 4vh, 44px); }

/* Credential chips - what a buyer scans for first */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-sm);
  padding: 8px 14px; font-size: .82rem; color: var(--steel);
  backdrop-filter: blur(6px);
}
.chip b { color: #fff; font-weight: 700; letter-spacing: .03em; }
.chip--blue { border-color: rgba(69,180,240,.5); background: rgba(27,143,214,.15); }

.hero__nav {
  position: absolute; z-index: 3;
  bottom: clamp(18px, 3vh, 34px); right: var(--gutter);
  display: flex; align-items: center; gap: 10px;
}
.hero__arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(5,8,12,.5); backdrop-filter: blur(6px);
  display: grid; place-items: center; color: #fff;
  transition: background .22s var(--ease), border-color .22s var(--ease);
}
.hero__arrow:hover { background: var(--blue); border-color: var(--blue); }
.hero__arrow svg { width: 16px; height: 16px; }

.hero__dots { display: flex; gap: 8px; margin-right: 6px; }
.hero__dot { width: 30px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.28);
  transition: background .25s var(--ease), width .25s var(--ease); }
.hero__dot.is-active { background: var(--blue-bright); width: 46px; }

@media (max-width: 620px) {
  .hero__nav { left: var(--gutter); right: var(--gutter); justify-content: space-between; }
}

/* ---------- 9. CREDENTIAL BAR (seamless - replaces the white separator) ---------- */
.credbar {
  background: linear-gradient(90deg, var(--ink-2) 0%, #0d1a26 50%, var(--ink-2) 100%);
  border-block: 1px solid var(--line);
  padding-block: clamp(18px, 2.2vw, 26px);
}
.credbar__grid {
  display: grid; gap: clamp(14px, 2vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 172px), 1fr));
  text-align: center;
}
.credbar__item { position: relative; padding-inline: 10px; }
.credbar__item + .credbar__item::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 1px; background: var(--line-2);
}
@media (max-width: 700px) { .credbar__item + .credbar__item::before { display: none; } }
.credbar__k { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 6px; }
.credbar__v { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 1.5vw, 1.42rem); color: #fff; letter-spacing: .04em; }
.credbar__v small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: 3px; }

/* ---------- 10. CARDS ---------- */
.card {
  background: var(--ink-3); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  transition: border-color .28s var(--ease), transform .28s var(--ease), background .28s var(--ease);
  height: 100%;
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); background: #131d29; }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(27,143,214,.14); border: 1px solid rgba(69,180,240,.3);
  color: var(--blue-bright);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; font-size: clamp(1.1rem, 1.25vw, 1.28rem); }
.card p { color: var(--muted); font-size: .95rem; }
.card ul.checks { margin-top: 16px; }

.card--step { position: relative; padding-top: 34px; }
.card__num {
  position: absolute; top: -1px; left: clamp(22px, 2.4vw, 32px);
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-2);
  translate: 0 -14px;
}

/* ---------- 11. SPLIT (fluid two-column) ---------- */
.split {
  display: grid; gap: clamp(28px, 4.5vw, 68px); align-items: center;
  /* minmax(0,..) is what stops a long word or wide image blowing the column out */
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}
.split--reverse .split__media { order: -1; }
@media (max-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
}
.split__body > * + * { margin-top: 16px; }
.split__body p { color: var(--muted); }
.split__body strong { color: var(--white); font-weight: 600; }

.split__media { position: relative; }
.split__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.media-plate {
  position: absolute; right: -6px; bottom: -22px;
  background: var(--blue); color: #fff;
  border-radius: var(--radius-sm); padding: 16px 22px;
  box-shadow: var(--shadow-sm);
}
.media-plate b { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; line-height: 1; display: block; }
.media-plate span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; opacity: .92; }
@media (max-width: 560px) { .media-plate { position: static; margin-top: 14px; display: inline-block; } }

.stats {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
}
.stats__item { background: var(--ink-3); padding: clamp(18px, 2.2vw, 26px); text-align: center; }
.stats__n { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.7rem); color: var(--blue-bright); line-height: 1; }
.stats__l { font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--muted); font-size: .95rem; }
.checks svg { width: 20px; height: 20px; color: var(--blue-bright); margin-top: 3px; }
.checks strong { color: var(--white); font-weight: 600; }

/* ==========================================================================
   12. PROJECT STORY - photos arranged as a build sequence, each captioned.
   ========================================================================== */
.phase { display: grid; gap: clamp(24px, 3vw, 40px); }
.phase + .phase { margin-top: clamp(46px, 6vw, 86px); padding-top: clamp(46px, 6vw, 86px); border-top: 1px solid var(--line); }

.phase__head { display: grid; gap: 16px; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: center; }
@media (max-width: 760px) { .phase__head { grid-template-columns: minmax(0, 1fr); } }
.phase__step {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .18em;
  font-size: .8rem; font-weight: 600; color: var(--blue-bright);
}
.phase__step b { font-size: 2.4rem; font-weight: 800; letter-spacing: 0; color: #fff; line-height: 1; }
.phase__title { font-size: clamp(1.5rem, 2.3vw, 2.15rem); text-transform: uppercase; }
.phase__lead { color: var(--muted); max-width: 76ch; }

.shots { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 920px) { .shots--feature > :first-child { grid-column: span 2; } }

.shot {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--ink-3);
  display: flex; flex-direction: column;
  transition: border-color .28s var(--ease), transform .28s var(--ease);
}
.shot:hover { border-color: var(--line-2); transform: translateY(-4px); }
.shot__img { position: relative; overflow: hidden; background: var(--ink-2); }
.shot__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.shots--feature > :first-child .shot__img img { aspect-ratio: 16 / 9; }
.shot:hover .shot__img img { transform: scale(1.05); }
.shot__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(5,8,12,.82); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.16); border-radius: 100px;
  padding: 6px 13px; font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.shot__tag b { color: var(--blue-bright); }
.shot__body { padding: 18px clamp(16px, 1.6vw, 22px) 22px; flex: 1; }
.shot__body h4 { font-size: clamp(1.02rem, 1.15vw, 1.16rem); margin-bottom: 8px; }
.shot__body p { font-size: .89rem; color: var(--muted); }
.shot__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tagx {
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--steel); background: rgba(255,255,255,.05);
  border: 1px solid var(--line); border-radius: 4px; padding: 4px 9px;
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(26px, 3vw, 40px); }
.filter {
  font-family: var(--font-head); font-size: .92rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 100px;
  border: 1px solid var(--line-2); color: var(--muted);
  transition: background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.filter:hover { color: #fff; border-color: var(--blue); }
.filter.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.shot.is-hidden { display: none; }

/* ---------- 13. PAGE BANNER (interior pages) ---------- */
.pagehead {
  position: relative; isolation: isolate;
  padding-block: clamp(58px, 8vw, 104px);
  background: var(--ink-2); border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pagehead__bg { position: absolute; inset: 0; z-index: -2; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5,8,12,.96) 0%, rgba(5,8,12,.84) 55%, rgba(5,8,12,.62) 100%);
}
.pagehead h1 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); text-transform: uppercase; }
.pagehead p { color: var(--muted); max-width: 66ch; margin-top: 14px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8rem; color: var(--dim); margin-bottom: 16px; }
.crumbs a:hover { color: var(--blue-bright); }
.crumbs span { color: var(--line-2); }

/* ---------- 14. GOVERNMENT / PROCUREMENT BAND ---------- */
.govband {
  background: linear-gradient(120deg, var(--blue-deep) 0%, #0a2f4d 48%, var(--ink-2) 100%);
  border-block: 1px solid var(--line-2);
}
.govband__grid {
  display: grid; gap: clamp(26px, 4vw, 54px); align-items: center;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
}
@media (max-width: 940px) { .govband__grid { grid-template-columns: minmax(0, 1fr); } }
.govband p { color: #c6d5e3; }
.govband .chips { margin-top: 22px; }

/* ---------- 15. CONTACT / FORM ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: 7px; }
.field label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field label .req { color: var(--blue-bright); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem;
  background: var(--ink-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--ink-3);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.form__note { font-size: .82rem; color: var(--dim); }

.infocard { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); }
.infolist { display: grid; gap: 4px; }
.infolist a, .infolist div.infolist__row {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 12px 10px; border-radius: var(--radius-sm);
  transition: background .2s var(--ease);
}
.infolist a:hover { background: rgba(27,143,214,.12); }
.infolist .ic {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: rgba(27,143,214,.14); border: 1px solid rgba(69,180,240,.28); color: var(--blue-bright);
}
.infolist .ic svg { width: 18px; height: 18px; }
.infolist .k { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.infolist .v { color: #fff; font-weight: 500; font-size: .97rem; overflow-wrap: anywhere; }

/* ---------- 16. FOOTER ---------- */
.footer { background: #030507; border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); }
.footer__grid {
  display: grid; gap: clamp(28px, 3.4vw, 52px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  padding-bottom: clamp(34px, 4vw, 56px);
}
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer h4 {
  font-size: .84rem; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px; font-family: var(--font-head); font-weight: 600;
}
.footer__links { display: grid; gap: 11px; }
.footer__links a { color: var(--muted); font-size: .93rem; transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--blue-bright); }
.footer__about p { color: var(--muted); font-size: .92rem; margin-top: 16px; max-width: 46ch; }
.footer .brand { margin-bottom: 4px; }
.footer__bar {
  border-top: 1px solid var(--line); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  align-items: center; justify-content: space-between;
  font-size: .82rem; color: var(--dim);
}
.footer__bar a:hover { color: var(--blue-bright); }
.footer__lic { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* ==========================================================================
   17. CAPABILITY STATEMENT - light, quiet, scannable in seconds.
   Deliberately the least decorated page on the site.
   ========================================================================== */
.cs { background: var(--paper); color: var(--paper-text); }
.cs h1, .cs h2, .cs h3, .cs h4 { color: var(--paper-text); }

.cs-hero {
  background: var(--ink);
  color: #fff;
  border-left: 6px solid var(--blue);
  border-radius: var(--radius);
  padding: clamp(26px, 3.6vw, 46px);
}
.cs-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.3rem); text-transform: uppercase; margin-bottom: 6px; }
.cs-hero__tag { font-family: var(--font-head); font-size: .86rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 12px; }
.cs-hero p { color: #c2d0dd; max-width: 88ch; font-size: clamp(.98rem, .5vw + .86rem, 1.08rem); }

/* The identifier strip - CAGE / UEI / CSLB / NAICS in one glance */
.cs-ids {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 176px), 1fr));
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-block: clamp(22px, 2.6vw, 32px);
}
.cs-ids__i { background: #0c141d; padding: 16px 18px; }
.cs-ids__k { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #7b8fa3; font-weight: 700; margin-bottom: 5px; }
.cs-ids__v { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.5rem); letter-spacing: .06em; color: #fff; }

.cs-section { margin-top: clamp(34px, 4vw, 58px); }
.cs-title {
  font-size: clamp(1.15rem, 1.5vw, 1.45rem); text-transform: uppercase; letter-spacing: .05em;
  padding-bottom: 10px; margin-bottom: 20px;
  border-bottom: 2px solid var(--paper-text);
}
.cs-grid { display: grid; gap: clamp(22px, 3vw, 44px); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 940px) { .cs-grid { grid-template-columns: minmax(0, 1fr); } }

.cs-card {
  border: 1px solid var(--paper-line); border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm); background: var(--paper);
  padding: clamp(18px, 2vw, 26px);
}
.cs-card + .cs-card { margin-top: 16px; }
.cs-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.cs-card__head h3 { font-size: clamp(1.05rem, 1.3vw, 1.24rem); text-transform: uppercase; letter-spacing: .03em; }
.cs-pill {
  background: var(--ink); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .84rem;
  letter-spacing: .08em; padding: 5px 12px; border-radius: 4px; flex: none;
}
.cs-list { display: grid; gap: 9px; }
.cs-list li {
  display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 11px;
  font-size: .93rem; color: var(--paper-muted); line-height: 1.6;
}
.cs-list li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; background: var(--blue); border-radius: 1px; }

.cs-box {
  background: var(--paper-2); border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm); padding: clamp(18px, 2vw, 26px);
}
.cs-box + .cs-box { margin-top: 18px; }
.cs-box h3 { font-size: .88rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--paper-line); }
.cs-table { width: 100%; border-collapse: collapse; }
.cs-table tr + tr td { border-top: 1px solid var(--paper-line); }
.cs-table td { padding: 9px 0; font-size: .89rem; vertical-align: top; }
.cs-table .k { color: var(--paper-muted); white-space: nowrap; padding-right: 14px; }
.cs-table .v { font-weight: 600; color: var(--paper-text); text-align: right; overflow-wrap: anywhere; }

.cs-diff { display: grid; gap: 14px; }
.cs-diff__i { border-top: 1px solid var(--paper-line); padding-top: 14px; }
.cs-diff__i:first-child { border-top: 0; padding-top: 0; }
.cs-diff__i h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
.cs-diff__i p { font-size: .91rem; color: var(--paper-muted); }

.cs-poc { background: var(--ink); color: #fff; border-radius: var(--radius-sm); padding: clamp(18px, 2vw, 26px); }
.cs-poc h3 { color: #fff; border-bottom-color: rgba(255,255,255,.16); }
.cs-poc__name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cs-poc__role { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 16px; }
.cs-poc a, .cs-poc .cs-poc__row {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 9px 0; font-size: .93rem; color: #d8e2ec; overflow-wrap: anywhere;
}
.cs-poc a:hover { color: var(--blue-bright); }
.cs-poc svg { width: 17px; height: 17px; color: var(--blue-bright); }

/* The download button gets its own quiet band so it cannot be missed */
.cs-download {
  margin-top: clamp(30px, 3.4vw, 46px);
  border: 2px solid var(--paper-text);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  display: grid; gap: clamp(18px, 2.4vw, 34px);
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  align-items: center;
}
@media (max-width: 760px) { .cs-download { grid-template-columns: minmax(0, 1fr); } }
.cs-download h2 { font-size: clamp(1.4rem, 2vw, 1.9rem); text-transform: uppercase; margin-bottom: 8px; }
.cs-download p { color: var(--paper-muted); font-size: .95rem; max-width: 62ch; }

/* NAICS / PSC code tables */
.codes { width: 100%; border-collapse: collapse; font-size: .92rem; }
.codes caption {
  text-align: left; font-family: var(--font-head); font-weight: 700;
  font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em;
  padding-bottom: 12px; color: var(--white);
}
.codes th, .codes td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.codes th {
  font-family: var(--font-head); font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue-bright); font-weight: 600;
  border-bottom: 1px solid var(--line-2);
}
.codes td:first-child { font-weight: 700; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.codes td { color: var(--muted); }
.codes tbody tr:hover td { background: rgba(27,143,214,.07); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 18. SCROLL REVEAL ----------
   Content is VISIBLE by default and only hidden once the inline head script
   has confirmed JavaScript is running (html.js). If the script is blocked -
   which happens inside some Wix / WordPress embeds - the page still renders
   fully instead of going blank below the fold. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 19. PLACEHOLDER MARKER ----------
   Every value the owner still has to supply is wrapped in .ph so it is
   impossible to publish by accident. Replace the whole tag with the value. */
.ph {
  background: rgba(240, 178, 60, .16);
  border: 1px dashed #e0a83c;
  color: #f0c477;
  border-radius: 4px;
  padding: 1px 7px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: .92em;
  letter-spacing: .02em;
  white-space: nowrap;
}
.cs .ph, .surface-paper .ph, .surface-paper-2 .ph { color: #8a5a00; background: rgba(240,178,60,.22); border-color: #c88f28; }

/* ---------- 20. MOTION / PRINT ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__slide img { transform: none; }
}

@media print {
  .topbar, .header, .footer, .hero__nav, .no-print, .nav-scrim, .skip-link { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 10.5pt; }
  .section { padding-block: 12pt !important; }
  a { color: #000 !important; }
  .cs-hero, .cs-poc, .cs-ids__i, .cs-pill { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cs-card, .cs-box, .cs-download { break-inside: avoid; }
  .ph { border: 1px dashed #999; color: #000; background: none; }
}
