/* ============================================================================
   Apex United Federal Solutions, LLC  --  styles.css  (the ONLY stylesheet)

   HOW TO USE THIS FILE
   - Colors and type sizes live in the ":root" block right below. Change a value
     there and every page updates.
   - Each later block is labeled: HEADER, HERO, BANDS, CARDS, FORM, FOOTER, etc.
   - Nothing here is generated. Edit, save, redeploy.
   ============================================================================ */

:root {
  /* Brand palette (from the design spec) */
  --navy:        #0A1A2F;   /* body text, dark hero fill */
  --royal:       #003E7E;   /* header bar, royal cards and bands */
  --gold:        #C9A227;   /* brand gold: button fills, large headings on dark fills, accents */
  --gold-text:   #D4AE33;   /* small gold text on royal/navy (nav links, "Learn More"): 4.98:1 on royal, meets WCAG AA */
  --gold-light:  #E0BF4A;   /* small gold text on the dark slate band (card eyebrows): 4.6:1 on #4A4F57, meets WCAG AA */
  --red:         #D62828;   /* home / about main button, red CTA strip */
  --white:       #FFFFFF;
  --slate-dark:  #4A4F57;   /* dark section bands and slate cards */
  --slate-mid:   #60758F;   /* muted text, hairlines, mid band */
  --slate-light: #C7CCD4;   /* footer, light band, card borders, body text on dark */
  --link:        #007BFF;   /* blue eyebrow labels on white */
  --text:        var(--navy);
  --muted:       var(--slate-mid);
  --border:      var(--slate-light);

  /* Type */
  --font-head: 'Archivo', Arial, Helvetica, sans-serif;
  --font-body: 'IBM Plex Sans', Arial, Helvetica, sans-serif;
  --font-wordmark: 'Open Sans', Arial, Helvetica, sans-serif;

  --h1: clamp(2.5rem, 6vw, 5.75rem);
  --h2: clamp(2rem, 4.4vw, 4rem);
  --h3: clamp(1.75rem, 3.6vw, 3.25rem);
  --h4: clamp(1.5rem, 3vw, 2.6rem);
  --h5: clamp(1.25rem, 2.2vw, 2rem);
  --h6: clamp(1.1rem, 1.7vw, 1.5rem);
  --p1: clamp(1.05rem, 1.5625vw, 1.4rem);
  --p2: clamp(0.95rem, 1.25vw, 1.125rem);
  --p3: clamp(0.85rem, 1.09vw, 1rem);

  /* Layout rhythm */
  --gutter: 6.32%;
  --max: 1920px;
  --section-y: clamp(48px, 6.3vw, 100px);
  --hero-y: clamp(64px, 8.5vw, 130px);
  --gap: clamp(20px, 3.9vw, 56px);
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding keeps #anchors (e.g. /capabilities#naics) clear of the sticky header */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(clamp(72px, 8.9vw, 128px) + 24px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--p2);
  line-height: 1.45;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; margin: 0 0 0.5em; letter-spacing: 0; }
h1 { font-size: var(--h1); line-height: 1.05; }
h2 { font-size: var(--h2); line-height: 1.05; }
h3 { font-size: var(--h3); line-height: 1.1; }
h4 { font-size: var(--h4); line-height: 1.1; }
h5 { font-size: var(--h5); line-height: 1.1; }
h6 { font-size: var(--h6); line-height: 1.2; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
/* gold is only 2.4:1 against white / light slate, so focus rings switch to navy on light backgrounds */
.band--white :focus-visible, .band--light :focus-visible, .hero--split-white :focus-visible, .site-footer :focus-visible { outline-color: var(--navy); }
/* navy is only 1.66:1 against the royal cards/panels that sit inside white bands, so those switch back to gold (4.36:1 on royal) */
.band--white .card--royal :focus-visible, .band--white .panel--royal :focus-visible { outline-color: var(--gold); }
/* gold is below 3:1 on the mid-slate and red bands, so focus rings there are white (4.73:1 and 5.01:1) */
.band--slate-mid :focus-visible, .band--red :focus-visible { outline-color: var(--white); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.center { text-align: center; }
.measure { max-width: 62ch; }
.center .measure, .measure.center { margin-left: auto; margin-right: auto; }
.lead { font-size: var(--p1); line-height: 1.4; }
.small { font-size: var(--p3); }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--p3);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow--wide { letter-spacing: 0.2em; }
.eyebrow--blue { color: var(--link); }
.hero--photo .eyebrow { display: inline-block; background: var(--navy); padding: 4px 10px; }
.rule { border: 0; border-top: 1px solid var(--slate-mid); margin: 0; }
.rule--short { width: 47%; margin: 32px 0; }
.rule--light { border-top-color: rgba(255,255,255,0.35); }
.rule--spaced { margin: var(--gap) 0; }
.m0 { margin: 0; }
h1.h2 { font-size: var(--h2); }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--royal);
  border-bottom: 1px solid var(--gold);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 2.5vw, 40px);
  min-height: clamp(72px, 8.9vw, 128px);
  padding-top: 8px; padding-bottom: 8px;
}
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: clamp(56px, 7.8vw, 113px); height: auto; background: var(--white); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 1.7vw, 30px); row-gap: 4px; flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.nav a {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.18vw, 17px);
  color: var(--gold-text);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav a.nav-cta {
  background: var(--gold); color: var(--navy); font-weight: 600;
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 22px; border: 0; margin-left: 4px;
}
.nav a.nav-cta:hover, .nav a.nav-cta:focus-visible { background: #DDB63C; }
.nav a.nav-cta[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 4px var(--navy); } /* box-shadow so the global :focus-visible outline still shows */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 48px; height: 48px; padding: 10px; margin: 0;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 28px; background: var(--white); transition: transform 0.2s, opacity 0.2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 18px; line-height: 1.2; font-weight: 500;
  padding: 13px 27px;
  border: 1px solid transparent; border-radius: 0;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover, .btn--red:focus-visible { background: #B51F1F; }
.btn--gold { background: var(--gold); color: var(--navy); font-weight: 600; }
.btn--gold:hover, .btn--gold:focus-visible { background: #DDB63C; }
.btn--white { background: var(--white); color: var(--navy); font-weight: 600; }
.btn--white:hover, .btn--white:focus-visible { background: var(--gold); }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); font-weight: 600; }
.btn--outline-white:hover, .btn--outline-white:focus-visible { background: rgba(255,255,255,0.14); }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); font-weight: 600; }
.btn--outline-navy:hover, .btn--outline-navy:focus-visible { background: var(--navy); color: var(--white); }
.btn--block { display: block; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.cta-row--center { justify-content: center; }
.cta-stack { display: grid; gap: 14px; align-content: start; }
/* tertiary link: padded so the tap target is 44px tall without changing the visual */
.link-more { display: inline-block; color: var(--gold-text); font-size: var(--p3); font-weight: 500; padding: 13px 10px; text-decoration: underline; text-underline-offset: 3px; }
.link-more:hover, .link-more:focus-visible { color: var(--white); }

/* ---------- HERO (four variants) ---------- */
.hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; }
.hero h1 { color: var(--white); margin-bottom: 0.35em; }
.hero .lead { color: var(--slate-light); max-width: 60ch; }
.hero .cta-row { margin-top: 32px; }

/* 1. Full-bleed photo with dark overlay (home, industries, teaming) */
.hero--photo { padding: var(--hero-y) 0; }
.hero--photo .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--photo .hero__overlay { position: absolute; inset: 0; background: rgba(10, 26, 47, 0.74); }
.hero--photo.hero--royal { background: var(--royal); }
.hero--photo.hero--royal .hero__overlay { background: rgba(10, 26, 47, 0.74); } /* 0.64 let the bright windows in hero-teaming.jpg push lead-text contrast below 4.5:1 */
.hero--photo .hero__inner { position: relative; z-index: 1; }
.hero--tall { padding: clamp(96px, 11vw, 170px) 0; }
.hero--center .hero__inner { text-align: center; }
.hero--center .lead, .hero--center .measure { margin-left: auto; margin-right: auto; }
.hero--center .cta-row { justify-content: center; }
.hero__text-col { max-width: 56ch; }
.hero__sub-lg { font-family: var(--font-head); font-weight: 700; font-size: var(--h5); line-height: 1.15; color: var(--white); max-width: 30ch; }

/* Home wordmark (gold "APEX UNITED" over white "FEDERAL SOLUTIONS") */
.wordmark { margin: 0 0 24px; line-height: 1; }
.wordmark span { display: block; text-transform: uppercase; }
.wordmark__top { font-family: var(--font-wordmark); font-weight: 400; font-size: clamp(2.4rem, 7.5vw, 6.75rem); color: var(--gold); letter-spacing: 0.02em; }
.wordmark__bottom { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 3.75vw, 3.4rem); color: var(--white); margin-top: 6px; }
.hero--home h1.wordmark { margin: 0 0 24px; line-height: 1; letter-spacing: 0; }
.hero--home .hero__tagline { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 2.2rem); letter-spacing: 0.02em; line-height: 1.2; color: var(--white); margin: 0 0 0.35em; }

/* 2. Split hero: text one side, edge-to-edge photo the other (about, capabilities, contract vehicles) */
.hero--split { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.hero--split .hero__text { padding: var(--hero-y) 6% var(--hero-y) var(--gutter); align-self: center; }
.hero--split .hero__media { position: relative; min-height: 360px; }
.hero--split .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--split-white { background: var(--white); color: var(--navy); }
.hero--split-white h1 { color: var(--navy); }
.hero--split-white .lead { color: var(--slate-mid); }
.hero__red { font-family: var(--font-head); font-weight: 700; font-size: var(--h4); line-height: 1.1; color: var(--red); margin: 0 0 20px; }
.hero__display, .hero h1.hero__display {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: var(--h1); line-height: 1; letter-spacing: -0.02em; color: var(--gold); margin: 0 0 12px;
}
/* On the white split hero gold type is only 2.4:1, so the display line is navy with a gold accent bar above it */
.hero--split-white h1.hero__display { color: var(--navy); }
.hero--split-white h1.hero__display::before { content: ""; display: block; width: 72px; height: 6px; background: var(--gold); margin-bottom: 22px; }
.hero__subhead { font-family: var(--font-head); font-weight: 700; font-size: var(--h3); line-height: 1.05; color: inherit; margin: 0 0 0.35em; }
.hero--split-white .hero__subhead { color: var(--royal); }

/* 3. Solid navy hero (past performance, contact, 404) */
.hero--solid { padding: clamp(72px, 7vw, 110px) 0 clamp(80px, 8.5vw, 130px); }

/* ---------- BANDS (full-width colored sections) ---------- */
.band { padding: var(--section-y) 0; }
.band--white { background: var(--white); color: var(--navy); }
.band--light { background: var(--slate-light); color: var(--navy); }
.band--slate { background: var(--slate-dark); color: var(--white); }
.band--slate-mid { background: var(--slate-mid); color: var(--white); border-bottom: 1px solid var(--navy); }
.band--royal { background: var(--royal); color: var(--white); }
.band--navy { background: var(--navy); color: var(--white); }
.band--red { background: var(--red); color: var(--white); padding: 40px 0 28px; }
.band--hairline { border-top: 1px solid var(--slate-mid); }
.band--tight { padding-top: clamp(32px, 4vw, 60px); padding-bottom: clamp(32px, 4vw, 60px); }

.band--white h2, .band--light h2 { color: var(--navy); }
.band--slate h2, .band--navy h2 { color: var(--gold); }
.band--royal h2, .band--slate-mid h2, .band--red h2 { color: var(--white); }
.band--slate p, .band--navy p, .band--slate li, .band--navy li { color: var(--slate-light); }
.band--royal p, .band--royal li, .band--slate-mid p, .band--slate-mid li, .band--red p { color: var(--white); }
.band--white .lead, .band--light .lead { color: var(--navy); }
.band--white .muted, .band--light .muted { color: var(--slate-mid); }
.gold { color: var(--gold); }
.white { color: var(--white); }
.band--navy h2.white, .band--slate h2.white { color: var(--white); }
.feature-list--white h3 { color: var(--white); font-size: var(--h5); }
h2.h3 { font-size: var(--h3); }
h2.h4, h3.h4 { font-size: var(--h4); }
h3.h5, h2.h5 { font-size: var(--h5); }
h3.h6, h4.h6 { font-size: var(--h6); }

.section-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head--rules { padding: clamp(20px, 2.5vw, 36px) 0; border-top: 1px solid var(--slate-mid); border-bottom: 1px solid var(--slate-mid); }
.section-head h2 { margin-bottom: 0.3em; }
.section-head p:last-child { margin-bottom: 0; }
.band .cta-row, .band .btn-after { margin-top: clamp(24px, 3vw, 40px); }

/* ---------- GRIDS ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--tight { gap: clamp(16px, 2.4vw, 32px); }
.grid--split { grid-template-columns: 1fr 1.4fr; align-items: start; }

/* ---------- CARDS (three recipes from the design spec) ---------- */
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 7% 36px;
  border: 1px solid var(--border); border-radius: 0;
  background: var(--white); color: var(--navy);
}
.card > * { margin: 0; }
.card h3 { font-size: var(--h5); line-height: 1.1; }
.card p, .card li { font-size: var(--p2); }
.card ul { padding-left: 1.2em; display: grid; gap: 6px; }
/* royal fill, gold title (home services, teaming) */
.card--royal { background: var(--royal); border-color: var(--royal); color: var(--white); }
.card--royal h3 { color: var(--gold); }
.card--royal p, .card--royal li { color: var(--slate-light); }
.card--royal .link-more { margin-top: auto; align-self: center; margin-bottom: -8px; }
.card--royal:has(.link-more) { transition: border-color 0.15s; }
.card--royal:has(.link-more):hover { border-color: var(--gold); }
.card--pad-lg { padding: 48px 9%; }
/* slate fill, gold border (capabilities, NAICS) */
.card--slate { background: var(--slate-dark); border: 1px solid var(--gold); color: var(--white); }
.card--slate h3 { color: var(--white); }
.card--slate p, .card--slate li { color: var(--slate-light); }
.card--slate .eyebrow { color: var(--gold-light); margin: 0; }
/* slate fill, light border with gold top (how to award, certifications) */
.card--slate-top { background: var(--slate-dark); border: 1px solid var(--border); border-top: 3px solid var(--gold); color: var(--white); }
.card--slate-top h3 { color: var(--white); font-size: var(--h6); }
.card--slate-top p { color: var(--slate-light); }
/* white fill, gold / navy / royal border (values, leadership, contact) */
.card--outline { background: var(--white); border-color: var(--gold); }
.card--outline h3 { color: var(--navy); }
.card--outline p { color: var(--slate-mid); }
.card--outline-royal { border-color: var(--royal); }
.card--outline-navy { border-color: var(--navy); }

/* Feature list (home mission block): small gold headings + copy */
.feature-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 22px; }
/* min 19.2px bold keeps these gold-on-slate headings in the WCAG "large text" band (3.4:1 >= 3:1) */
.feature-list h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); color: var(--gold); margin-bottom: 6px; }
.feature-list p { margin: 0; }

/* Certification items on the mid-slate band */
.cert-item h3 { font-size: var(--h6); color: var(--white); margin-bottom: 8px; }
.cert-item p { margin: 0; color: var(--white); }

/* Points (About "How We Work") */
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; }
.points li { border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; font-size: var(--p2); }
.points strong { color: var(--navy); }

/* Wide royal panel (teaming) */
.panel { padding: clamp(32px, 4vw, 49px) 4%; border-radius: 2px; }
.panel--royal { background: var(--royal); color: var(--white); }
.panel--royal h3 { color: var(--gold); font-size: var(--h4); }
.panel--royal li, .panel--royal p { color: var(--white); }
.panel ul { margin: 0; display: grid; gap: 10px; }
.panel + .panel, .grid + .panel, .panel + .grid { margin-top: var(--gap); }

/* Numbered process steps (teaming) and numbered list (past performance) */
.step { border-top: 1px solid var(--slate-mid); border-radius: 2px; padding: 24px 9% 8px; }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: var(--h5); line-height: 1; color: var(--gold); margin: 0 0 12px; }
.step h3 { font-size: var(--h5); color: var(--white); margin-bottom: 10px; }
.step p { margin: 0; }
.numbered { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: n; display: grid; gap: 14px; }
.numbered li { counter-increment: n; display: flex; gap: 16px; align-items: baseline; font-size: var(--p1); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; color: var(--royal); font-size: var(--h5); line-height: 1; flex: none; }
.band--slate .numbered li::before, .band--navy .numbered li::before, .band--royal .numbered li::before { color: var(--gold); }

/* Statement box (past performance) */
.statement { border: 1px solid var(--royal); padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 44px); margin-top: 8px; }
.statement p { font-size: var(--p1); margin: 0; max-width: 70ch; }

/* Industry tiles */
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 18px; }
.tile h3 { font-size: var(--h5); color: var(--navy); margin-bottom: 8px; }
.tile p { color: var(--slate-mid); margin: 0; }

/* Text pairs (Industries "Why Choose") */
.pair h3 { font-size: var(--h4); color: var(--navy); margin-bottom: 10px; }
.pair p { margin: 0; }

/* Leader block (About) */
.leader { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: var(--gap); align-items: center; }
.leader img { width: 100%; border: 1px solid var(--gold); background: var(--white); }
.leader h3 { color: var(--gold); font-size: var(--h4); margin-bottom: 10px; }
.leader .role { font-weight: 600; color: var(--white); }

/* Contact boxes */
.contact-boxes { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-boxes li { border: 1px solid var(--border); padding: 14px 22px; font-size: var(--p2); }
.contact-boxes a { color: var(--navy); }
.contact-boxes--start { justify-content: flex-start; }
.contact-boxes--dark li { border-color: rgba(255,255,255,0.35); color: var(--white); }
.contact-boxes--dark a { color: var(--white); }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.contact-list li { border: 1px solid var(--border); padding: 14px 18px; }
.contact-list strong { display: block; font-size: var(--p3); text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-mid); margin-bottom: 4px; }
.contact-list a { color: var(--navy); }
/* inline email / phone links: 44px-tall tap target via padding cancelled by negative margin (layout unchanged) */
.contact-boxes a, .contact-list a, .table a { display: inline-block; padding: 12px 0; margin: -12px 0; }

/* ---------- SPLIT SECTIONS (text + edge-to-edge photo) ---------- */
.band--split { padding: 0; }
.split-bleed { display: grid; grid-template-columns: 1.15fr 1fr; }
.split-bleed--media-left { grid-template-columns: 1fr 1.15fr; }
.split-bleed__text { padding: var(--section-y) 5% var(--section-y) var(--gutter); align-self: center; }
.split-bleed--media-left .split-bleed__text { padding: var(--section-y) var(--gutter) var(--section-y) 5%; }
.split-bleed__media { position: relative; min-height: 360px; }
.split-bleed__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Focal points for portrait photos shown in wide boxes: keep faces in frame instead of the
   default center crop. The percentage is the vertical point of the photo to keep aligned. */
img[src$="hero-capabilities.jpg"] { object-position: 50% 20%; }
img[src$="hero-about.jpg"] { object-position: 50% 25%; }
img[src$="hero-contract-vehicles.jpg"] { object-position: 50% 10%; }
img[src$="section-home-mission.jpg"] { object-position: 50% 22%; }
img[src$="section-about-vision.jpg"] { object-position: 50% 18%; }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.split-inner img { width: 100%; border-radius: 8px; }

/* ---------- TABLES ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; background: var(--white); color: var(--navy); font-size: var(--p2); }
.table th { background: var(--royal); color: var(--white); text-align: left; padding: 12px 16px; font-family: var(--font-body); font-weight: 600; font-size: var(--p3); letter-spacing: 0.08em; text-transform: uppercase; }
.table td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table--kv th { background: var(--white); color: var(--navy); font-family: var(--font-body); font-weight: 600; font-size: var(--p2); letter-spacing: 0; text-transform: none; text-align: left; width: 34%; padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table--naics td:first-child { font-weight: 600; width: 140px; white-space: nowrap; }
.table a { color: var(--navy); }

/* NAICS bullet list (contract vehicles) in two columns */
.naics-list { columns: 2; column-gap: 48px; list-style: none; padding: 0; margin: 24px 0 0; }
.naics-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: var(--p2); }
.naics-list strong { color: var(--navy); font-weight: 600; }

/* ---------- FORM (contact page) ---------- */
.form { display: grid; gap: 24px; }
.form label { display: block; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.form .req { color: var(--red); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 44px;
  border: 1px solid var(--navy); border-radius: 0;
  background: var(--white); color: var(--navy);
  font: inherit; font-size: 16px; padding: 10px 12px;
}
.form select { appearance: auto; }
.form textarea { min-height: 150px; resize: vertical; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form button { font-size: 16px; padding: 13px 24px; min-height: 44px; }
.form-note { font-size: var(--p3); color: var(--slate-mid); margin-top: 16px; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--slate-light); color: var(--navy); border-bottom: 1px solid var(--navy); padding: 27px 0 16px; }
.footer__wordmark { text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand img { width: 113px; height: auto; background: var(--white); margin-bottom: 14px; }
.footer__name { font-weight: 600; margin-bottom: 6px; }
.footer__cert { font-size: var(--p3); margin-bottom: 10px; }
.footer__tagline { font-size: var(--p3); color: var(--slate-dark); max-width: 36ch; margin: 0; }
.footer__h { font-size: var(--h6); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 12px; color: var(--navy); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer li, .site-footer p { font-size: var(--p3); }
.site-footer a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.site-footer li a { display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--royal); }
.footer__bottom { text-align: center; margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--slate-mid); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  /* hamburger menu + full-screen navy drawer */
  .site-header .wrap { min-height: 76px; }
  .brand img { width: 56px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0; top: 0;
    display: none; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: flex-start;
    gap: 6px; padding: 100px var(--gutter) 40px;
    background: var(--navy); overflow-y: auto; z-index: 90;
  }
  .nav-open .nav { display: flex; }
  .nav-open { overflow: hidden; }
  .nav a { font-size: 22px; padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .nav a.nav-cta { width: auto; margin: 18px 0 0; padding: 12px 28px; }
  .site-header { z-index: 100; }
  .site-header .wrap > .brand, .site-header .wrap > .nav-toggle { position: relative; z-index: 101; }
}
@media (max-width: 1023px) {
  .grid--2, .grid--3, .grid--4, .grid--split { grid-template-columns: 1fr; }
  .hero--split { grid-template-columns: 1fr; }
  .hero--split .hero__media { order: -1; min-height: 0; height: 56vw; max-height: 480px; }
  .hero--split .hero__text { padding: clamp(40px, 7vw, 72px) var(--gutter); }
  .split-bleed, .split-bleed--media-left { grid-template-columns: 1fr; }
  .split-bleed__media { order: -1; min-height: 0; height: 60vw; max-height: 520px; }
  .split-bleed__text, .split-bleed--media-left .split-bleed__text { padding: var(--section-y) var(--gutter); }
  .split-inner { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; }
  .leader img { max-width: 280px; }
  .points { grid-template-columns: 1fr; }
  .naics-list { columns: 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero--tall { padding: clamp(72px, 10vw, 120px) 0; }
  /* touch devices: footer links become 44px-tall rows */
  .site-footer ul { gap: 0; }
  .site-footer li a { padding: 13px 0; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  :root { --gutter: 16px; }
  .form .row-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__brand img { margin-left: auto; margin-right: auto; }
  .footer__tagline { margin-left: auto; margin-right: auto; }
  .cta-row .btn, .cta-stack .btn { width: 100%; }
  .card { padding-left: 20px; padding-right: 20px; }
  .card--pad-lg { padding: 32px 20px; }
  .step { padding-left: 0; padding-right: 0; }
  .contact-boxes li { width: 100%; text-align: center; }
  .wordmark__top { font-size: 2.2rem; }
  /* key/value table (About > Entity Information) stacks label over value on phones */
  .table--kv, .table--kv tbody, .table--kv tr, .table--kv td, .table--kv th { display: block; width: 100%; }
  .table--kv tr { border-bottom: 1px solid var(--border); padding: 8px 0; }
  .table--kv td, .table--kv th { border: 0; padding: 2px 12px; overflow-wrap: anywhere; }
  .table--kv th { font-size: var(--p3); text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-mid); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-toggle span { transition: none; }
}
