/* ==========================================================================
   Usource Construction — single stylesheet. ALL styling lives here.
   Design system from the client-approved round-2 static site, preserved in
   _copy/round2-site/. Bright brand values are for bars, rules and small
   marks; the -dp (darkened) values carry white text, because the bright
   ones fail WCAG AA.

   Differences from the round-2 source, all deliberate:
   - fonts are self-hosted (the source linked Google Fonts)
   - the nav keeps this repo's .site-nav / .nav-toggle / .has-sub hooks,
     which static/js/main.js binds to, and gains a real mobile menu (the
     round-2 source just hid the links below 1080px with no replacement)
   - every inline style= from the source is a class here
   ========================================================================== */

/* ---- self-hosted fonts (never Google Fonts — render-blocking) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-var-latin.woff2") format("woff2");
  font-weight: 100 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500 600; font-style: normal; font-display: swap;
}

/* ---- tokens ------------------------------------------------------------ */
:root {
  --ink: #0C1420; --navy: #192949; --deep: #0B3954;
  --blue: #2C89C8; --blue-dp: #1B6296;
  --green: #77A944; --green-dp: #4A7527;
  --rust: #E34431; --rust-dp: #B93520;
  --sky: #80C2D3; --sky-pale: #E6F1F5;
  --paper: #F4F6F8; --paper-2: #E7EBEF;
  --line: #CBD3DB; --line-dk: rgba(255, 255, 255, .16);
  --body: #3A4757; --body-dk: rgba(233, 239, 245, .76);
  --dsp: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --txt: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 5vw, 88px);
  --gut: clamp(44px, 7vw, 116px);
  --container: 1440px;
}

/* ---- base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font-family: var(--txt); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--dsp); color: var(--ink); margin: 0; text-wrap: balance;
  letter-spacing: -.025em; line-height: 1.05; font-weight: 700;
}
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 12px; top: 12px; z-index: 200; background: #fff; padding: 10px 16px;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
}
.tag-ns { display: none; visibility: hidden; }

.wrap, .container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow, .container--narrow { max-width: 960px; }
.mono { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.sec, .section { padding-block: var(--gut); }
.dark { background: var(--ink); color: var(--body-dk); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.flow > * + * { margin-top: 1.1em; }

/* ---- NEED MORE INFORMATION marker — delete these blocks before launch --- */
.need-info {
  background: #FFF3CD; border: 2px dashed #C9A227; color: #6B5306;
  padding: 18px 20px; margin: 20px 0; font-family: var(--mono);
  font-size: 12px; letter-spacing: .06em; line-height: 1.85;
}
.need-info b { display: block; font-size: 12px; letter-spacing: .18em; margin-bottom: 8px; color: #8A6A08; }
.dark .need-info, .need-info { color: #6B5306; }

/* ---- spacing / type utilities (these replace the round-2 inline styles) - */
.sec--flush-top { padding-top: 0; }
.sec--flush-bottom { padding-bottom: 0; }
.sec--flush { padding-block: 0; }
.sec--tight { padding-block: 44px; }
.sec--tighter { padding-block: 34px; }
.sec--paper { background: var(--paper); }
.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }
.mt-32 { margin-top: 32px; }
.mt-34 { margin-top: 34px; }
.mt-40 { margin-top: 40px; }
.mt-44 { margin-top: 44px; }
.pt-34 { padding-top: 34px; }
.mb-4 { margin-bottom: 4px; }
.gut-top { padding-top: var(--gut); }
.block-48 { margin-block: 48px 0; }
.kicker { margin-bottom: 22px; }
.kicker--20 { margin-bottom: 20px; }
.kicker--24 { margin-bottom: 24px; }
.h2-lg { font-size: clamp(28px, 4vw, 52px); letter-spacing: -.032em; }
.h2-md { font-size: clamp(28px, 4vw, 50px); letter-spacing: -.032em; }
.lede { margin-top: 20px; font-size: 17.5px; font-weight: 300; max-width: 56ch; }
.lede--52 { max-width: 52ch; }
.lede--22 { margin-top: 22px; }
.body-16 { font-size: 16px; font-weight: 300; }
.body-16--56 { max-width: 56ch; }
.note-13 { font-size: 13px; font-weight: 300; color: var(--body); }
.fw-500 { font-weight: 500; }
.h-21 { font-size: 21px; font-weight: 600; }
.h-19 { font-size: 19px; font-weight: 600; }
.max-62 { max-width: 62ch; }
.center-row { display: flex; justify-content: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 18px; }
@media (max-width: 620px) { .two-col { grid-template-columns: 1fr; } }
.eyebrow-sm {
  font-family: var(--mono); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; display: block; margin-bottom: 8px;
}
.addr-plain { font-style: normal; font-size: 16px; line-height: 1.75; font-weight: 300; }

/* color utilities — bars, rules and small marks use the bright values */
.bar-rust { background: var(--rust); }
.bar-sky { background: var(--sky); }
.bar-green { background: var(--green); }
.bar-blue { background: var(--blue); }
.t-rust { color: var(--rust); }
.t-sky { color: var(--sky); }
.t-green { color: var(--green); }
.t-blue { color: var(--blue); }
.t-rust-dp { color: var(--rust-dp); }
.t-blue-dp { color: var(--blue-dp); }
.t-green-dp { color: var(--green-dp); }
.top-rust { border-top: 5px solid var(--rust); }
.top-sky { border-top: 5px solid var(--sky); }
.top-green { border-top: 5px solid var(--green); }
/* --ac drives .aud and .pf accents; --cc drives .cc panels */
.a-rust { --ac: var(--rust); } .a-sky { --ac: var(--sky); }
.a-green { --ac: var(--green); } .a-blue { --ac: var(--blue); }
.a-rust-dp { --ac: var(--rust-dp); } .a-blue-dp { --ac: var(--blue-dp); }
.a-green-dp { --ac: var(--green-dp); } .a-deep { --ac: var(--deep); }
.cc-rust { --cc: var(--rust-dp); } .cc-blue { --cc: var(--blue-dp); }
.cc-green { --cc: var(--green-dp); } .cc-deep { --cc: var(--deep); }

/* ---- logo -------------------------------------------------------------- */
.logo { display: block; line-height: 0; text-decoration: none; flex: none; }
/* The header logo is the full lockup including the tagline, so it is wider
   and taller than a wordmark-only mark would be; the header grows to suit. */
.logo img { width: 200px; height: auto; }
.site-footer .logo { display: block; margin-bottom: 22px; }
.site-footer .logo img { width: 208px; }
@media (max-width: 420px) { .logo img { width: 164px; } }

/* ---- header / nav ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(244, 246, 248, .95);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 88px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.nav-item { display: flex; }
.nav-top {
  font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none;
  padding-block: 6px; border-bottom: 2px solid transparent;
  transition: border-color .18s, color .18s;
}
.nav-top:hover, .nav-top.is-active, .nav-top[aria-current="page"] {
  border-bottom-color: var(--rust); color: var(--rust-dp);
}
.caret { font-size: .7em; }
.subnav {
  display: none; position: absolute; margin: 0; padding: 10px 0; list-style: none;
  background: #fff; border: 1px solid var(--line); min-width: 210px;
  box-shadow: 0 12px 30px rgba(12, 20, 32, .12);
}
.has-sub { position: relative; }
.has-sub:hover .subnav, .has-sub.is-open .subnav { display: block; }
.subnav a { display: block; padding: 8px 18px; font-size: 14.5px; text-decoration: none; color: var(--ink); }
.subnav a:hover { background: var(--paper); color: var(--rust-dp); }
.nav-tel {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  text-decoration: none; white-space: nowrap; color: var(--body);
}
.nav-tel:hover { color: var(--blue-dp); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1.5px solid var(--line);
  color: var(--ink); font-size: 18px; line-height: 1; padding: 10px 13px; cursor: pointer;
}
.nav-stripe { display: flex; height: 4px; }
.nav-stripe i { flex: 1; }

/* Real mobile menu. The round-2 source hid the links below 1080px with
   nothing to replace them. The 900px breakpoint is duplicated in
   static/js/main.js — change both together. */
@media (max-width: 1080px) { .nav-tel { display: none; } }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-header__inner { gap: 12px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(12, 20, 32, .12);
  }
  .site-nav.is-open { display: flex; }
  .nav-item { display: block; }
  .nav-top { display: block; padding: 14px var(--pad); border-bottom: 1px solid var(--line); }
  .nav-top:hover, .nav-top.is-active, .nav-top[aria-current="page"] { border-bottom-color: var(--line); }
  .subnav { position: static; border: 0; box-shadow: none; background: var(--paper-2); }
  /* The Book a Call CTA deliberately stays visible — it is the primary
     conversion action and still fits beside the toggle. */
}

/* ---- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px;
  font-weight: 600; padding: 13px 22px; text-decoration: none;
  border: 1.5px solid transparent; white-space: nowrap; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
/* The ::btn markdown directive emits a bare class="btn" with no modifier,
   so give an unmodified button the primary (rust fill) treatment. */
.btn:not(.btn-fill):not(.btn-blue):not(.btn-line):not(.btn-ghost) { background: var(--rust); color: #fff; }
.btn:not(.btn-fill):not(.btn-blue):not(.btn-line):not(.btn-ghost):hover { background: var(--ink); }
.btn-fill { background: var(--rust); color: #fff; }
.btn-fill:hover { background: var(--ink); }
.btn-blue { background: var(--blue-dp); color: #fff; }
.btn-blue:hover { background: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 13.5px; }
.btn--block { margin-top: 22px; width: 100%; justify-content: center; }
.btn .ar { transition: transform .2s; }
.btn:hover .ar { transform: translateX(3px); }

/* ---- hero -------------------------------------------------------------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; }
/* <picture> is inline by default, which would stop the img resolving height:100%. */
.hero-img picture { display: block; width: 100%; height: 100%; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 42%; }
/* Phones get a portrait crop (see the <picture> in content/index.njk, same
   600px breakpoint). Anchor it to the TOP: the subject is in the upper half
   and a centred crop cuts his head off on short viewports. */
@media (max-width: 600px) { .hero-img img { object-position: center top; } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(9, 16, 27, .94) 0%, rgba(9, 16, 27, .86) 34%,
      rgba(9, 16, 27, .44) 66%, rgba(9, 16, 27, .6) 100%),
    linear-gradient(0deg, rgba(9, 16, 27, .85) 0%, rgba(9, 16, 27, 0) 45%);
}
.hero-in {
  position: relative; padding-top: clamp(60px, 9vw, 120px);
  padding-bottom: clamp(30px, 4vw, 44px); min-height: min(82vh, 760px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-eyebrow { color: var(--sky); display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 24px; }
.hero-eyebrow i { font-style: normal; opacity: .45; }
.hero h1 { color: #fff; font-size: clamp(38px, 6.2vw, 86px); font-weight: 800; letter-spacing: -.036em; max-width: 19ch; }
.hero-rule { display: flex; height: 6px; max-width: 420px; margin-top: 26px; }
.hero-rule i { flex: 1; }
.hero-sub {
  max-width: 60ch; margin-top: 24px; font-size: clamp(16.5px, 1.5vw, 19.5px);
  line-height: 1.62; color: rgba(255, 255, 255, .9); font-weight: 300;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---- interior page hero ------------------------------------------------ */
.phero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.phero .in { position: relative; padding-block: clamp(56px, 8vw, 104px); }
.phero .mono { color: var(--sky); margin-bottom: 18px; }
.phero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 68px); letter-spacing: -.035em; font-weight: 800; max-width: 20ch; }
.phero p { margin-top: 20px; max-width: 62ch; font-size: 18px; font-weight: 300; color: rgba(255, 255, 255, .88); }
.phero .hero-rule { margin-top: 26px; }
.phero .mono a { text-decoration: none; }
.phero .mono a:hover { text-decoration: underline; }
.post-date {
  margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255, 255, 255, .8);
}

/* ---- stat bar ---------------------------------------------------------- */
.statbar { position: relative; background: rgba(255, 255, 255, .06); border-top: 1px solid rgba(255, 255, 255, .16); }
.statbar--flush { border-top: 0; }
/* the community page runs the stat band on solid ink, not over a photo */
.statbar--solid { background: var(--ink); border-top: 0; }
.statbar-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.statbar-in > div { padding: 0 0 22px; border-left: 1px solid rgba(255, 255, 255, .13); }
.statbar-in > div:first-child { border-left: 0; }
.statbar-in > div:not(:first-child) { padding-left: clamp(14px, 2.4vw, 34px); }
.statbar-in > div i { display: block; height: 4px; width: 44px; margin-bottom: 18px; }
.statbar b {
  display: block; font-family: var(--dsp); font-size: clamp(21px, 2.8vw, 36px);
  font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.statbar em {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--sky); font-style: normal; margin-top: 9px;
}
@media (max-width: 760px) {
  .statbar-in { grid-template-columns: 1fr 1fr; }
  .statbar-in > div { padding-top: 20px; }
  .statbar-in > div:nth-child(3), .statbar-in > div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .13); }
  .statbar-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---- certification marquee --------------------------------------------- */
.creds { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .1); overflow: hidden; padding-block: 15px; }
.creds-track { display: flex; width: max-content; animation: slide 52s linear infinite; }
/* main.js adds .is-paused while the marquee is off screen so it stops
   costing compositor time down the whole page. */
.creds-track.is-paused { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .creds-track { animation: none; } .creds { overflow-x: auto; } }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.creds-track span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .19em; text-transform: uppercase;
  color: rgba(233, 239, 245, .68); padding-inline: 22px; white-space: nowrap; position: relative;
}
.creds-track span::after { content: ""; position: absolute; right: 0; top: 50%; width: 4px; height: 4px; transform: translateY(-50%); }
.creds-track span:nth-child(4n+1)::after { background: var(--rust); }
.creds-track span:nth-child(4n+2)::after { background: var(--sky); }
.creds-track span:nth-child(4n+3)::after { background: var(--green); }
.creds-track span:nth-child(4n+4)::after { background: var(--blue); }

/* ---- section head ------------------------------------------------------ */
.shead { display: grid; grid-template-columns: 190px 1fr; gap: clamp(20px, 4vw, 64px); align-items: start; }
.shead .lbl { color: var(--rust-dp); padding-top: 10px; }
.dark .shead .lbl { color: var(--sky); }
.shead h2 { font-size: clamp(29px, 4.1vw, 56px); letter-spacing: -.032em; max-width: 20ch; }
.shead p { margin-top: 20px; max-width: 62ch; font-size: 17.5px; font-weight: 300; }
@media (max-width: 820px) { .shead { grid-template-columns: 1fr; gap: 14px; } .shead .lbl { padding-top: 0; } }

/* ---- statement --------------------------------------------------------- */
.stmt { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 96px); align-items: end; }
.stmt h2 { font-size: clamp(30px, 4.6vw, 64px); letter-spacing: -.038em; }
.stmt .copy { font-size: 18px; font-weight: 300; line-height: 1.68; max-width: 58ch; }
.stmt .copy p + p { margin-top: 20px; }
.stmt .tri { display: flex; margin-top: 28px; height: 10px; max-width: 420px; }
.stmt .tri i { flex: 1; }
@media (max-width: 900px) { .stmt { grid-template-columns: 1fr; gap: 28px; align-items: start; } }

/* ---- services ---------------------------------------------------------- */
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 52px; }
@media (max-width: 940px) { .svcs { grid-template-columns: 1fr; } }
.svc { display: flex; flex-direction: column; color: #fff; background: var(--svc); text-decoration: none; }
.svc--construction { --svc: var(--rust-dp); --svc-lt: var(--rust); }
.svc--advisory { --svc: var(--blue-dp); --svc-lt: var(--blue); }
.svc--design { --svc: var(--green-dp); --svc-lt: var(--green); }
.svc .shot { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #000; }
.svc .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .3, 1); }
.svc:hover .shot img { transform: scale(1.05); }
.svc .tag {
  position: absolute; left: 0; bottom: 0; background: var(--svc-lt); color: #fff;
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; padding: 8px 14px;
}
.svc .body { padding: 30px 28px 34px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { color: #fff; font-size: clamp(23px, 2.5vw, 31px); letter-spacing: -.026em; }
.svc .lede { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .93); font-weight: 300; max-width: none; }
.svc ul { list-style: none; padding: 0; margin: 22px 0 0; }
.svc li {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase;
  color: rgba(255, 255, 255, .92); padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .28);
}

/* ---- triptych ---------------------------------------------------------- */
.tript { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 50px; }
@media (max-width: 880px) { .tript { grid-template-columns: 1fr; } }
.tri-p {
  position: relative; min-height: 560px; display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden; background: #000;
}
.tri-p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .74; }
.tri-p .in {
  position: relative; padding: 32px 28px 34px;
  background: linear-gradient(0deg, rgba(9, 16, 27, .98) 14%, rgba(9, 16, 27, .9) 46%, rgba(9, 16, 27, 0) 100%);
}
.tri-p .step { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .2em; display: block; margin-bottom: 14px; text-transform: uppercase; }
.tri-p h3 { color: #fff; font-size: clamp(25px, 2.9vw, 36px); letter-spacing: -.032em; font-weight: 800; text-transform: uppercase; }
.tri-p p { margin-top: 14px; color: rgba(255, 255, 255, .86); font-size: 15.5px; font-weight: 300; line-height: 1.6; max-width: 34ch; }
.tri-p .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; }

/* ---- project cards ----------------------------------------------------- */
.pgrid { display: grid; gap: 2px; margin-top: 50px; grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .pgrid { grid-template-columns: 1fr; } }
.pgrid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .pgrid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .pgrid.three { grid-template-columns: 1fr; } }
.pcard {
  position: relative; background: var(--ink); overflow: hidden; display: flex;
  flex-direction: column; justify-content: flex-end; min-height: 480px; text-decoration: none;
}
.pgrid.three .pcard { min-height: 400px; }
.pcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .3, 1); }
.pcard:hover > img { transform: scale(1.05); }
.pcard .veil {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9, 16, 27, .97) 8%, rgba(9, 16, 27, .9) 36%, rgba(9, 16, 27, .34) 70%, rgba(9, 16, 27, .08) 100%);
}
.pcard .in { position: relative; padding: 28px 26px 26px; color: #fff; }
.pcard .loc { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); text-shadow: 0 1px 5px rgba(9, 16, 27, .9); }
.pcard h3 { color: #fff; font-size: clamp(21px, 2.3vw, 30px); letter-spacing: -.025em; margin: 11px 0 12px; }
.pcard .desc { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .84); font-weight: 300; max-width: 48ch; }
.pcard .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pcard .meta span {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .34); padding: 5px 9px; color: rgba(255, 255, 255, .9);
}
.pcard .go { margin-top: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); font-weight: 600; }
.pcard:hover .go { text-decoration: underline; }
.pcard .pbar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; }
.award {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink); background: var(--sky); padding: 7px 12px;
}

/* ---- who we help ------------------------------------------------------- */
.who { background: var(--sky-pale); }
.who .shead .lbl { color: var(--blue-dp); }
.audi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 48px; }
@media (max-width: 1000px) { .audi { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .audi { grid-template-columns: 1fr; } }
.aud { background: #fff; padding: 28px 24px 30px; border-top: 6px solid var(--ac); display: flex; flex-direction: column; }
/* .n is a <p>, so it matches `.aud p` below — including its flex:1. Two
   flex:1 children split the card's leftover space, so the eyebrow stretched
   by a different amount in every card and the headings came out staggered.
   Only the body copy should flex. The min-height reserves a second line:
   three of the four eyebrows wrap and one does not, which otherwise left one
   heading sitting 15px above its neighbors. */
.aud .n { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--ac); line-height: 1.6; flex: none; margin-top: 0; min-height: 30px; }
.aud h3 { font-size: 21px; margin-top: 14px; letter-spacing: -.02em; font-weight: 600; }
.aud p { margin-top: 11px; font-size: 14.5px; line-height: 1.58; font-weight: 300; flex: 1; }

/* ---- markets ----------------------------------------------------------- */
.mkts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 46px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .mkts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .mkts { grid-template-columns: 1fr; } }
/* Cells carry a right-hand rule, so every cell except the first in a row
   needs left padding — otherwise its copy sits hard against the previous
   cell's line. The first in each row stays flush with the section edge. */
.mkt { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 28px 30px 30px 30px; }
/* The header is sticky, so an anchored market cell would otherwise land
   underneath it. The Who we help cards link down into these. */
.mkt[id] { scroll-margin-top: 110px; }
/* The wide cell closes the grid. The row above already draws a line over it,
   so a bottom or right rule here just boxes it in against the section edge.
   It is the 7th child, which no nth-child(3n) rule matches, so its right
   rule has to come off explicitly. */
.mkt.mkt--wide { grid-column: span 3; border-right: 0; border-bottom: 0; }
@media (max-width: 860px) { .mkt--wide { grid-column: span 2; } }
@media (max-width: 540px) { .mkt--wide { grid-column: span 1; } }
.mkt--wide p { max-width: 62ch; }
.mkt:nth-child(3n) { border-right: 0; }
.mkt:nth-child(3n+1) { padding-left: 0; }
@media (max-width: 860px) {
  .mkt:nth-child(3n) { border-right: 1px solid var(--line); }
  .mkt:nth-child(2n) { border-right: 0; }
  .mkt:nth-child(3n+1) { padding-left: 30px; }
  .mkt:nth-child(2n+1) { padding-left: 0; }
}
@media (max-width: 540px) { .mkt { border-right: 0 !important; padding-left: 0 !important; } }
.mkt .n { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; font-weight: 600; margin-bottom: 12px; color: var(--ac); }
.mkt h3 { font-size: 19.5px; letter-spacing: -.015em; font-weight: 600; }
.mkt p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; font-weight: 300; }

/* ---- capability split -------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.split-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
/* height:auto or the width/height attributes would defeat aspect-ratio */
.split-imgs img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.tick { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
@media (max-width: 520px) { .tick { grid-template-columns: 1fr; } }
.tick li { font-size: 15px; padding: 11px 0; border-bottom: 1px solid var(--line-dk); display: flex; gap: 11px; color: rgba(233, 239, 245, .9); }
.tick li::before { content: ""; width: 7px; height: 7px; flex: none; margin-top: 8px; }
.tick li:nth-child(4n+1)::before { background: var(--rust); }
.tick li:nth-child(4n+2)::before { background: var(--sky); }
.tick li:nth-child(4n+3)::before { background: var(--green); }
.tick li:nth-child(4n+4)::before { background: var(--blue); }
/* on a light ground the tick list needs the dark body color */
.sec:not(.dark) .tick li { color: var(--body); border-bottom-color: var(--line); }

/* ---- community --------------------------------------------------------- */
.comm-hero { position: relative; margin-top: 48px; overflow: hidden; background: #000; }
.comm-hero img { width: 100%; height: clamp(320px, 46vw, 560px); object-fit: cover; object-position: center 42%; }
.comm-cap {
  position: absolute; left: 0; bottom: 0; right: 0; padding: clamp(22px, 4vw, 44px);
  background: linear-gradient(0deg, rgba(9, 16, 27, .95) 10%, rgba(9, 16, 27, 0) 100%); color: #fff;
}
.comm-cap .loc { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); text-shadow: 0 1px 5px rgba(9, 16, 27, .9); }
.comm-cap h3 { color: #fff; font-size: clamp(23px, 3.2vw, 40px); letter-spacing: -.03em; margin-top: 12px; max-width: 24ch; }
.ccgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 2px; }
@media (max-width: 1000px) { .ccgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ccgrid { grid-template-columns: 1fr; } }
.cc { padding: 30px 26px 34px; color: #fff; background: var(--cc); }
.cc .n { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.cc h3 { color: #fff; font-size: 19px; margin-top: 14px; letter-spacing: -.018em; font-weight: 600; }
.cc p { margin-top: 11px; font-size: 14.5px; line-height: 1.58; font-weight: 300; color: rgba(255, 255, 255, .95); }

/* ---- proof ------------------------------------------------------------- */
.proof { background: var(--navy); color: rgba(255, 255, 255, .84); }
.proof h2 { color: #fff; }
.proof .shead .lbl { color: var(--sky); }
.pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 44px; }
@media (max-width: 1000px) { .pf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pf-grid { grid-template-columns: 1fr; } }
.pf { background: rgba(255, 255, 255, .06); padding: 26px 22px 28px; border-top: 5px solid var(--ac); }
.pf .n { font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ac); font-weight: 600; line-height: 1.6; }
.pf h3 { color: #fff; font-size: 19px; margin-top: 12px; font-weight: 600; letter-spacing: -.015em; }
.pf p { margin-top: 10px; font-size: 14.5px; line-height: 1.58; font-weight: 300; }
.pf-note { margin-top: 32px; font-family: var(--mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--sky); border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 20px; }

/* ---- team band --------------------------------------------------------- */
/* Full-body group shot, 2:1. Below 900px the band keeps the photo's own
   aspect ratio so nobody is cropped off the sides; above it, a taller band
   anchored to the TOP of the frame, which is what keeps heads and hard hats
   in view (a crop centred at 40% cut every one of them off). */
.crewband img { width: 100%; height: auto; object-fit: cover; object-position: center top; }
@media (min-width: 900px) { .crewband img { height: clamp(360px, 34vw, 520px); } }
.teamcap {
  font-family: var(--mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--body); margin-top: 16px; line-height: 1.8; border-top: 4px solid var(--rust);
  padding-top: 14px; max-width: 70ch;
}

/* ---- booking / forms --------------------------------------------------- */
/* Homepage booking band: intro text beside a single booking card. */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .book { grid-template-columns: 1fr; } }

/* Contact: a centred intro over two equal card columns. The booking embed is
   760px and the form 1080px, so as a single right-hand column they left ~1800px
   of dead space beside the intro text. Side by side the columns simply end at
   different heights, which is fine. */
.book-intro { max-width: 640px; margin: 0 auto; text-align: center; }
.book-intro .lede { margin-left: auto; margin-right: auto; }
.book-meta {
  margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px clamp(28px, 5vw, 64px); text-align: center;
}
.book-meta address, .book-meta p { margin: 0; }
.book-meta .eyebrow-sm { display: block; }
.book-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 920px) { .book-cols { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 26px 0 0; }
.steps li { display: flex; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 16px; font-weight: 300; }
.steps li b { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; font-weight: 600; padding-top: 5px; flex: none; width: 26px; }
.steps li:nth-child(1) b { color: var(--rust-dp); }
.steps li:nth-child(2) b { color: var(--blue-dp); }
.steps li:nth-child(3) b { color: var(--green-dp); }
.card { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--blue); padding: 30px 28px 32px; }
.card--rust { border-top-color: var(--rust); }
.card .k { font-family: var(--mono); font-size: 10px; letter-spacing: .17em; text-transform: uppercase; color: var(--blue-dp); font-weight: 600; }
.card h3 { font-size: 25px; margin-top: 12px; letter-spacing: -.022em; }
.card p { margin-top: 12px; font-size: 15px; font-weight: 300; }
.embed-slot {
  margin-top: 22px; border: 2px dashed var(--line); background: var(--paper);
  padding: 34px 20px; text-align: center; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--body); line-height: 2;
}
.embed-live { margin-top: 22px; }
.embed-live iframe { width: 100%; min-height: 700px; border: 0; display: block; }
/* GoHighLevel's form_embed.js sizes each form's iframe to its own content,
   which is what we want -- the forms are taller than the height they
   advertise and each is different. But it also parks the iframe at opacity 0
   off-screen until a postMessage handshake completes, and that race is lost
   often enough to leave a form invisible. These declarations undo only the
   hiding; the inline height the script sets still applies. Without them a
   visitor sees an empty card where the form should be. */
.embed-live iframe {
  opacity: 1 !important; visibility: visible !important;
  position: static !important; left: auto !important; pointer-events: auto !important;
}
/* Floor for the moment before the script answers, and the whole fallback if it
   never loads at all. Measured from the rendered forms. */
.embed-live--form iframe { min-height: 1080px; }
.embed-live--subscribe iframe { min-height: 980px; }
.embed-live--unsubscribe iframe { min-height: 780px; }
.embed-live--booking iframe { min-height: 760px; }

/* ---- prose (about / project detail / markdown pages) ------------------- */
.prose { max-width: 68ch; }
.prose h1 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.034em; }
.prose h2 { font-size: clamp(25px, 3.2vw, 38px); margin-top: 44px; letter-spacing: -.03em; }
.prose h3 { font-size: 21px; margin-top: 32px; font-weight: 600; letter-spacing: -.018em; }
.prose p { margin-top: 16px; font-size: 17.5px; line-height: 1.7; font-weight: 300; }
.prose ul { margin-top: 16px; padding-left: 0; list-style: none; }
/* Ordered lists keep their numbers — in these posts the sequence is the
   content (stages of a project, ranked tips), not decoration. */
.prose ol { margin-top: 16px; padding-left: 1.5em; list-style: decimal; }
.prose ol li { padding-left: 6px; }
.prose ol li::before { content: none; }
.prose ol::marker, .prose ol li::marker { color: var(--blue-dp); font-weight: 600; }
.prose li { font-size: 16.5px; line-height: 1.6; font-weight: 300; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; background: var(--blue); }
.prose a { color: var(--blue-dp); text-underline-offset: 3px; }
.prose a:hover { color: var(--rust-dp); }
.prose strong { font-weight: 600; color: var(--ink); }
.lead { font-size: 20px; line-height: 1.6; font-weight: 300; color: var(--ink); }
blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--rust); font-size: 19px; font-weight: 300; }

/* ---- project detail ---------------------------------------------------- */
.pdetail { display: grid; grid-template-columns: 1fr 320px; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 940px) { .pdetail { grid-template-columns: 1fr; } }
.spec { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--rust); padding: 24px 22px 26px; position: sticky; top: 96px; }
@media (max-width: 940px) { .spec { position: static; } }
.spec dl { margin: 0; display: grid; gap: 0; }
.spec dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--body); padding-top: 14px; border-top: 1px solid var(--line); }
.spec dt:first-child { border-top: 0; padding-top: 0; }
.spec dd { margin: 6px 0 14px; font-size: 16px; font-weight: 600; color: var(--ink); font-family: var(--dsp); letter-spacing: -.01em; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 2px; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }
.gallery img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.gallery img.wide { grid-column: 1 / -1; aspect-ratio: 2/1; }
@media (max-width: 700px) { .gallery img.wide { aspect-ratio: 3/2; } }

/* before / after labels inside a gallery grid */
.gallery figure { position: relative; margin: 0; display: block; }
.gallery figure.wide { grid-column: 1 / -1; }
.gallery figure.wide img { aspect-ratio: 2/1; }
@media (max-width: 700px) { .gallery figure.wide img { aspect-ratio: 3/2; } }
.gallery figcaption {
  position: absolute; left: 0; top: 0; color: #fff;
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; padding: 8px 14px;
}
.gallery figcaption.ba-before { background: var(--rust); }
.gallery figcaption.ba-after { background: var(--green-dp); }
.pnav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 46px; }

/* ---- about page grids -------------------------------------------------- */
.leadgrid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(26px, 5vw, 72px); margin-top: 46px; align-items: start; }
@media (max-width: 900px) { .leadgrid { grid-template-columns: 1fr; } }
.leadgrid > div:first-child img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.certgrid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
@media (max-width: 940px) { .certgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .certgrid { grid-template-columns: 1fr; } }
.certgrid > div { background: rgba(255, 255, 255, .06); padding: 26px 24px 28px; }
.certgrid ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; font-size: 15px; font-weight: 300; }

/* ---- news index / posts ------------------------------------------------ */
.postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 46px; }
@media (max-width: 940px) { .postgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .postgrid { grid-template-columns: 1fr; } }
.postcard { background: #fff; border-top: 5px solid var(--line); padding: 26px 24px 28px; text-decoration: none; display: flex; flex-direction: column; }
.postcard:hover { border-top-color: var(--rust); }
.postcard h3 { font-size: 20px; font-weight: 600; letter-spacing: -.018em; }
.postcard p { margin-top: 10px; font-size: 15px; font-weight: 300; }
.article-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-dp); margin-bottom: 12px; }
.article-hero { width: 100%; height: auto; margin-bottom: 28px; }
.empty-note { border: 2px dashed var(--line); background: #fff; padding: 34px 28px; text-align: center; font-size: 16px; font-weight: 300; }

/* ---- news search + category filter ------------------------------------- */
/* The whole control block ships `hidden` and main.js unhides it, so a visitor
   without JS never meets a search box that cannot search. */
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* `display: flex` beats the browser's own [hidden] { display: none }, so the
   attribute has to be honoured explicitly — otherwise the controls appear for
   a visitor whose JS never ran, which is exactly what `hidden` is preventing. */
.newsfilter[hidden] { display: none; }
.newsfilter {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px 28px; margin-top: 8px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.newsfilter-search { flex: 1 1 260px; max-width: 360px; display: block; }
.newsfilter-search input {
  width: 100%; font: inherit; font-size: 15px; font-weight: 300; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  padding: 11px 14px; -webkit-appearance: none; appearance: none;
}
.newsfilter-search input:focus-visible { outline: 2px solid var(--blue-dp); outline-offset: -1px; }
.newsfilter-search input::placeholder { color: #7b8794; }
.newsfilter-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.newscat {
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink); background: #fff; cursor: pointer;
  border: 1px solid var(--line); padding: 10px 14px; line-height: 1;
}
.newscat:hover { border-color: var(--ink); }
.newscat:focus-visible { outline: 2px solid var(--blue-dp); outline-offset: 2px; }
.newscat.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.news-empty { margin-top: 46px; font-size: 16px; font-weight: 300; }
.postcard[hidden] { display: none; }
.video-wrap, .form-wrap { position: relative; margin: 1.6em 0; }
.video-wrap { aspect-ratio: 16/9; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.form-wrap iframe { width: 100%; min-height: 640px; border: 0; display: block; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; }


/* ---- media features trust bar ------------------------------------------ */
/* Source logos arrive in four different brand colours, two of them with a
   baked-in background. Greyed back to a common weight so the row reads as one
   band rather than four competing marks; full color on hover and on keyboard
   focus. Heights are equalised in CSS, widths follow each logo's own ratio. */
.trustbar { border-block: 1px solid var(--line); padding-block: clamp(26px, 4vw, 38px); }
.trustbar .lbl { text-align: center; color: var(--body); margin-bottom: 22px; }
.trustbar ul {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: clamp(18px, 2.9vw, 36px);
}
/* a column so an optional caption sits under its logo without disturbing the
   row; items without one are unaffected. The caption is inside the link, so it
   joins the logo's alt to form the accessible name ("Intuit Small Business
   Council") rather than needing a separate hidden label. */
.trustbar a { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; }
.trustbar .cap {
  font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--body); opacity: .6; line-height: 1;
  transition: opacity .2s ease;
}
.trustbar a:hover .cap, .trustbar a:focus-visible .cap { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .trustbar .cap { transition: none; } }
.trustbar img {
  /* sized so the full set still fits one row at desktop width; six logos at
     the old 42px needed 1046px against a 922px container and stranded one.
     Retuned again when Intuit made it seven — the height and the gap both came
     down a step. Adding an eighth will need another pass: measure the row's
     content width against the container, do not assume it fits. */
  height: clamp(22px, 2.4vw, 30px); width: auto;
  filter: grayscale(1); opacity: .6; transition: filter .2s ease, opacity .2s ease;
}
.trustbar a:hover img, .trustbar a:focus-visible img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .trustbar img { transition: none; } }

/* ---- closing CTA ------------------------------------------------------- */
.cta { position: relative; background: #000; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(115% 78% at 50% 52%, rgba(9, 16, 27, .88) 0%, rgba(9, 16, 27, .74) 46%, rgba(9, 16, 27, .58) 100%);
}
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.cta .in { position: relative; z-index: 1; padding-block: clamp(60px, 9vw, 120px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(32px, 5.4vw, 72px); letter-spacing: -.04em; font-weight: 800; max-width: 18ch; }
.cta p { margin-top: 20px; color: rgba(255, 255, 255, .9); font-size: 18px; font-weight: 300; max-width: 54ch; }
.cta .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.cta .tri { display: flex; height: 8px; width: min(420px, 70%); margin-top: 38px; }
.cta .tri i { flex: 1; }

/* ---- footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: rgba(233, 239, 245, .7); padding-top: 60px; padding-bottom: 34px; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 42px; }
@media (max-width: 980px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--mono); font-size: 10px; letter-spacing: .19em; text-transform: uppercase; color: var(--sky); margin: 0 0 16px; font-weight: 500; }
.site-footer h2:not(:first-child) { margin-top: 26px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; font-size: 15px; line-height: 1.72; }
.foot-blurb { font-size: 15px; max-width: 34ch; line-height: 1.7; }
.foot-lic { font-size: 15px; }
.certs { display: flex; flex-wrap: wrap; gap: 5px; }
.certs span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; border: 1px solid rgba(255, 255, 255, .22); padding: 4px 7px; color: rgba(233, 239, 245, .78); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .13); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; }
.site-footer__bottom p { font-family: var(--mono); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: rgba(233, 239, 245, .46); }
.naics { font-family: var(--mono); font-size: 10px; letter-spacing: .09em; color: rgba(233, 239, 245, .46); line-height: 2; }
/* needs to outrank `.site-footer ul { display: grid }` above, or the
   profiles stack full-width instead of sitting as inline pills */
.site-footer ul.foot-social { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-social li { list-style: none; }
.foot-social a {
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; border: 1px solid rgba(255, 255, 255, .28);
  padding: 7px 12px; display: block; transition: background .18s, color .18s;
}
.foot-social a:hover { background: #fff; color: var(--ink); }
.site-footer ul.foot-utility { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-utility li { list-style: none; }
.foot-utility a {
  font-family: var(--mono); font-size: 10px; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(233, 239, 245, .7);
}
.foot-utility a:hover { color: #fff; }
.foot-legal {
  font-family: var(--mono); font-size: 10px; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(233, 239, 245, .46);
  margin-top: 14px; padding-top: 0;
}
.foot-credit a { text-decoration: underline; text-underline-offset: 3px; }
.foot-credit a:hover { color: #fff; }

/* ---- legal / email pages (privacy, subscribe, unsubscribe) ------------- */
.card--green { border-top-color: var(--green); }
.card--rust-top { border-top-color: var(--rust); }
.note-13-l { font-size: 13px; line-height: 1.7; font-weight: 300; color: var(--body); }
.h2-sm { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.03em; }
.h1-legal { font-size: clamp(34px, 5vw, 62px); letter-spacing: -.035em; margin-top: 14px; max-width: 17ch; }
.h1-legal--18 { max-width: 18ch; }
.body-15 { font-size: 15px; font-weight: 300; color: var(--body); }
.max-52 { max-width: 52ch; }
.max-58 { max-width: 58ch; }
.max-60 { max-width: 60ch; }
.micro { font-size: 11px; letter-spacing: .14em; color: var(--body); }
