/* W.R. Newman. Shape language: pill clickables, 14px containers, square full bleed sections.
   One display face (Archivo, wide and heavy for headlines), one body face (Inter).
   Paper body, navy ink, one accent used as blocks. Tokens first so a revision is a token change. */

:root {
  --ink: #101a26;
  --ink-2: #2a3644;
  --muted: #5c6977;
  --paper: #f3f0e8;
  --paper-2: #e9e4d8;
  --white: #ffffff;
  --navy: #13202f;
  --navy-2: #1b2b3d;
  --accent: #d01038;
  --accent-ink: #ffffff;
  --line: rgba(16, 26, 38, .08);

  --r-lg: 14px;
  --r-md: 10px;
  --pill: 999px;

  --sh-card: 0 1px 2px rgba(16, 26, 38, .04), 0 24px 48px -28px rgba(16, 26, 38, .28);
  --sh-float: 0 2px 6px rgba(16, 26, 38, .08), 0 32px 64px -24px rgba(16, 26, 38, .45);

  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --gap: clamp(20px, 2.4vw, 32px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 72px;
  --inset: 20px;
  --duration: 6000ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-weight: 800; font-variation-settings: "wdth" 110; font-size: clamp(42px, 6.2vw, 84px); }
h2 { font-weight: 800; font-variation-settings: "wdth" 108; font-size: clamp(32px, 4.2vw, 56px); max-width: 18ch; }
h3 { font-weight: 700; font-variation-settings: "wdth" 104; font-size: clamp(20px, 1.8vw, 26px); }
h4 { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8em; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: var(--pill); background: var(--accent); color: var(--white); font-weight: 600; text-decoration: none; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { max-width: 720px; }
.section { padding-block: var(--section); }
.section--pad-top { padding-top: calc(var(--header-h) + var(--inset) + var(--section)); }
.section--dark { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.section--dark::before {
  content: "\201C""; position: absolute; inset: auto -20% -40% auto; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(208, 16, 56, .26), transparent 70%); pointer-events: none;
}
.section--dark .eyebrow { color: var(--accent); }
.section--dark h4 { color: rgba(255, 255, 255, .6); }
.section--accent { background: var(--accent); color: var(--white); }
.section__head { max-width: 760px; margin-bottom: calc(var(--gap) * 1.6); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gap); flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: 0; }
.eyebrow {
  font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}

/* Reveal */
.section, .proof { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.section.is-in, .proof.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .section, .proof { opacity: 1; transform: none; transition: none; } }

/* Buttons: the roundest thing on the page */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: var(--pill);
  font: 600 15px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-card); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn--ghost.btn--ink { color: var(--ink); border-color: rgba(16, 26, 38, .25); background: transparent; }
.btn--ink { background: var(--ink); color: var(--white); }
.chip {
  display: inline-block; padding: 7px 14px; border-radius: var(--pill); font: 600 12px/1 var(--body);
  letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .92); color: var(--ink);
}
.corner {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: var(--white);
  font-size: 18px; transition: background .18s ease, transform .18s ease;
}

/* Header: floating glass */
.site-header { position: fixed; top: var(--inset); left: var(--inset); right: var(--inset); z-index: 50; }
.site-header__bar {
  display: flex; align-items: center; gap: 28px; height: var(--header-h); padding: 0 12px 0 22px;
  border-radius: 18px; background: rgba(19, 32, 47, .58); color: var(--white);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--sh-float);
  transition: background .25s ease;
}
.site-header.is-scrolled .site-header__bar { background: rgba(19, 32, 47, .86); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark { color: var(--accent); display: inline-flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--display); font-weight: 800; font-size: 18px; font-variation-settings: "wdth" 108; letter-spacing: .01em; }
.brand__text small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { padding: 10px 14px; border-radius: var(--pill); font-size: 14px; font-weight: 500; text-decoration: none; opacity: .88; transition: background .18s ease, opacity .18s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); opacity: 1; }
.site-header__cta { padding: 12px 20px; font-size: 14px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: var(--pill); flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav { margin-top: 10px; padding: 14px; border-radius: 18px; background: rgba(19, 32, 47, .94); color: var(--white); display: flex; flex-direction: column; gap: 4px; box-shadow: var(--sh-float); }
.mobile-nav a { padding: 14px 16px; border-radius: var(--r-md); text-decoration: none; font-weight: 500; }
.mobile-nav .btn { margin-top: 8px; justify-content: center; }

/* Hero: a sequence, one slide per market */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--navy); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; background: linear-gradient(160deg, var(--tone) 0%, var(--navy) 100%); }
.hero__slide.is-active { opacity: 1; }
.hero__slide .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 26, 38, .92) 0%, rgba(16, 26, 38, .45) 45%, rgba(16, 26, 38, .15) 100%),
              linear-gradient(90deg, color-mix(in srgb, var(--tone) 55%, transparent), transparent 70%);
}
.hero__caption { position: absolute; right: var(--gutter); bottom: 140px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; z-index: 1; }
.hero__content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + var(--inset) + 80px); padding-bottom: 48px; max-width: 980px; }
.hero .eyebrow { color: rgba(255, 255, 255, .82); }
.hero__content h1 { max-width: 15ch; margin-bottom: 20px; text-wrap: balance; }
.hero__sub { font-size: clamp(17px, 1.4vw, 21px); max-width: 56ch; opacity: .9; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__tabs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 32px; }
.hero__tab { background: none; border: 0; color: var(--white); text-align: left; padding: 0; cursor: pointer; font: 600 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; opacity: .55; transition: opacity .2s ease; }
.hero__tab.is-active { opacity: 1; }
.hero__tab-bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); margin-bottom: 12px; overflow: hidden; }
.hero__tab-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; }
.hero__tab.is-active .hero__tab-bar i { animation: fill var(--duration) linear forwards; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero__tab.is-active .hero__tab-bar i { animation: none; width: 100%; } }

/* Proof strip: numbers over paper, sits tight under the hero */
.proof { background: var(--paper-2); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding-block: 40px; }
.proof__item { display: flex; flex-direction: column; gap: 4px; position: relative; padding-left: 18px; }
.proof__item::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: var(--accent); }
.proof__value { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 112; font-size: clamp(36px, 3.6vw, 52px); line-height: 1; letter-spacing: -.02em; }
.proof__label { font-weight: 600; font-size: 15px; }
.proof__detail { font-size: 13px; color: var(--muted); }
.proof__item.is-unverified .proof__value::after { content: "*"; color: var(--accent); font-size: .5em; vertical-align: top; }

/* Why: four cards with lift, no borders */
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.why__card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); box-shadow: var(--sh-card); transition: transform .2s ease, box-shadow .2s ease; }
.why__card:hover { transform: translateY(-4px); box-shadow: var(--sh-float); }
.why__card h3 { margin-bottom: 10px; }
.why__card p { margin: 0; color: var(--ink-2); }

/* Markets: four tall panels with a duotone wash */
.markets__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.market { position: relative; display: block; min-height: 520px; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--white); background: linear-gradient(170deg, color-mix(in srgb, var(--tone) 70%, #7a8ba0), var(--navy-2)); box-shadow: var(--sh-card); transition: transform .25s ease, box-shadow .25s ease; }
.market img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.market::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 26, 38, .94) 0%, rgba(16, 26, 38, .55) 45%, rgba(16, 26, 38, .08) 100%); }
.market:hover { transform: translateY(-6px); box-shadow: var(--sh-float); }
.market:hover img { transform: scale(1.04); }
.market:hover .corner { background: var(--accent); color: var(--white); transform: rotate(45deg); }
.market__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 1; }
.market__body h3 { font-size: 28px; margin-bottom: 8px; }
.market__body p { font-size: 15px; opacity: .88; margin-bottom: 12px; }
.market__proof { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

/* Featured: two wide case cards per row */
.featured__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.case { display: grid; grid-template-rows: 300px auto; background: var(--white); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--sh-card); transition: transform .25s ease, box-shadow .25s ease; }
.case:hover { transform: translateY(-5px); box-shadow: var(--sh-float); }
.case__media { position: relative; background: linear-gradient(160deg, var(--tone), var(--navy-2)); }
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__media .chip { position: absolute; top: 18px; left: 18px; }
.case__body { padding: 26px 28px 30px; }
.case__body h3 { margin-bottom: 4px; }
.case__meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.case__body > p:not(.case__meta) { color: var(--ink-2); }
.case__link { font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.case__link i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); transition: background .18s ease, transform .18s ease; }
.case:hover .case__link i { background: var(--accent); color: var(--white); transform: rotate(45deg); }

/* National experience */
.national__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: calc(var(--gap) * 2); align-items: center; }
.national__copy p { max-width: 48ch; opacity: .88; }
.legend { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; background: color-mix(in srgb, var(--tone) 40%, var(--accent)); box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.map-placeholder { aspect-ratio: 16 / 10; border-radius: var(--r-lg); display: grid; place-items: center; text-align: center; padding: 32px; background: radial-gradient(circle at 30% 40%, rgba(208, 16, 56, .3), transparent 40%), radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .08), transparent 45%), var(--navy-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

/* Process */
.process__steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.process__step { counter-increment: step; background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-card); position: relative; }
.process__step { padding-top: 34px; }
.process__step::before { content: ""; position: absolute; top: 0; left: 28px; width: 44px; height: 5px; border-radius: 0 0 5px 5px; background: var(--accent); }
.process__step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* CTA band */
.cta { padding-block: clamp(56px, 7vw, 96px); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); flex-wrap: wrap; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; font-size: 18px; max-width: 52ch; }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding-top: var(--section); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap); padding-bottom: 48px; }
.site-footer nav, .site-footer__markets { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a, .site-footer__markets a { text-decoration: none; opacity: .78; font-size: 15px; }
.site-footer nav a:hover, .site-footer__markets a:hover { opacity: 1; }
.brand--footer { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.brand--footer strong { font-family: var(--display); font-weight: 800; font-size: 20px; }
.brand--footer small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.site-footer address { font-style: normal; opacity: .8; line-height: 1.7; }
.site-footer address a { text-decoration: none; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; font-size: 13px; opacity: .6; border-top: 1px solid rgba(255, 255, 255, .08); }

/* Project page */
.project__hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; color: var(--white); background: linear-gradient(160deg, var(--tone), var(--navy)); }
.project__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.project__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 26, 38, .9), transparent 60%); }
.project__hero-copy { position: relative; z-index: 1; padding-block: 48px; }
.project__hero-copy .chip { margin-bottom: 16px; }
.project__meta { opacity: .8; }
.project__grid { display: grid; grid-template-columns: 300px 1fr; gap: calc(var(--gap) * 2); }
.project__facts { display: flex; flex-direction: column; gap: 22px; }
.project__facts div { background: var(--white); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--sh-card); }
.project__facts p { margin: 0; }
.prose { max-width: 66ch; font-size: 18px; }

/* Responsive */
@media (max-width: 1100px) {
  .markets__grid { grid-template-columns: repeat(2, 1fr); }
  .market { min-height: 400px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --inset: 12px; --header-h: 64px; }
  .site-nav, .site-header__cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .hero { min-height: 92svh; }
  .hero__caption { display: none; }
  .hero__tabs { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid, .featured__grid, .national__grid, .quotes__grid { grid-template-columns: 1fr; }
  .project__grid { grid-template-columns: 1fr; }
  h2 { max-width: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .markets__grid, .process__steps, .site-footer__grid { grid-template-columns: 1fr; }
  .market { min-height: 320px; }
  .hero__content h1 { max-width: none; }
  /* "Subcontractors" is one long word: scale it to the column so it never runs past the gutter */
  .subs-page h1 { font-size: min(42px, calc((100vw - 2 * var(--gutter)) / 8.8)); }
}

/* ---------- Brand image ---------- */
.brand__logo { height: 40px; width: auto; display: block; }
.brand--footer img { height: 44px; width: auto; margin-bottom: 20px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; color: var(--white); background: linear-gradient(160deg, var(--tone, #1c2b3a), var(--navy)); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 26, 38, .92) 0%, rgba(16, 26, 38, .35) 55%, rgba(16, 26, 38, .2) 100%); }
.page-hero__copy { position: relative; z-index: 1; padding-top: calc(var(--header-h) + var(--inset) + 72px); padding-bottom: 56px; max-width: 900px; }
.page-hero__copy h1 { margin-bottom: 14px; }
.page-hero__copy .eyebrow { color: rgba(255, 255, 255, .82); }
.page-hero__copy p { font-size: clamp(17px, 1.3vw, 20px); max-width: 58ch; opacity: .9; margin: 0; }
.page-hero--short { min-height: 44svh; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--gap) * 2); align-items: center; }
.split--rev > :first-child { order: 2; }
.split img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-card); }
.split .prose { max-width: 56ch; }
.prose h2 { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.section--dark .lede { color: rgba(255, 255, 255, .85); }
.section--paper2 { background: var(--paper-2); }

.market-block { padding-block: var(--section); scroll-margin-top: calc(var(--header-h) + var(--inset) + 12px); }
.market-block:nth-of-type(even) { background: var(--paper-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.chip--ink { background: var(--ink); color: var(--white); }
.chip--line { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(16, 26, 38, .2); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); box-shadow: var(--sh-card); position: relative; }
.card--dark { background: var(--navy-2); color: var(--white); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin: 0; }
.card .mark { width: 44px; height: 5px; border-radius: 5px; background: var(--accent); margin-bottom: 20px; }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.timeline li { background: var(--white); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-card); }
.timeline strong { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.02em; color: var(--accent); margin-bottom: 8px; }
.timeline p { margin: 0; font-size: 15px; color: var(--ink-2); }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.person { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); }
.person__photo { aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--navy-2), var(--navy)); display: grid; place-items: center; color: rgba(255, 255, 255, .35); font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__body { padding: 22px 24px 26px; }
.person__body h3 { margin-bottom: 2px; }
.person__title { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.person__body p:not(.person__title) { font-size: 15px; color: var(--ink-2); margin: 0; }
.person details { margin-top: 10px; }
.person summary { cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper-2); font-weight: 700; }
.person details[open] summary::after { content: "\2013"; }
.person details p { margin-top: 10px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap); }
.step { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; align-items: stretch; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); }
.step:nth-child(even) > img { order: 2; }
.step img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.step__body { padding: clamp(24px, 3vw, 44px); }
.step__body .eyebrow { margin-bottom: 8px; }
.step__body h3 { font-size: clamp(24px, 2.2vw, 32px); }
.step__body ul { padding-left: 1.1em; color: var(--ink-2); margin: 0; }
.step__body li { margin-bottom: .35em; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: calc(var(--gap) * 1.2); }
.filters button { border: 0; background: var(--white); color: var(--ink); padding: 11px 18px; border-radius: var(--pill); font: 600 14px/1 var(--body); cursor: pointer; box-shadow: var(--sh-card); }
.filters button.is-active { background: var(--ink); color: var(--white); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.projects-grid .case { grid-template-rows: 220px auto; }
.projects-grid .case[hidden] { display: none; }

.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--body); padding: 13px 15px; border-radius: var(--r-md); border: 1.5px solid rgba(16, 26, 38, .14); background: var(--white); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { justify-self: start; }
.hp { display: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: calc(var(--gap) * 2); align-items: start; }
.contact-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); box-shadow: var(--sh-card); }
.contact-card address { font-style: normal; line-height: 1.8; }
.contact-card a { text-decoration: none; font-weight: 600; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.doc-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--white); border-radius: var(--r-md); text-decoration: none; font-weight: 600; box-shadow: var(--sh-card); }
.doc-list a::after { content: "\2197"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); }

.map-stage { aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: var(--navy-2); display: grid; place-items: center; color: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); text-align: center; padding: 32px; }

@media (max-width: 1100px) { .timeline { grid-template-columns: repeat(3, 1fr); } .cards-3, .projects-grid { grid-template-columns: repeat(2, 1fr); } .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .brand__logo { height: 32px; }
  .split, .split--rev, .cards-2, .cards-3, .team, .contact-grid, .projects-grid, .step, .form .row { grid-template-columns: 1fr; }
  .split--rev > :first-child, .step:nth-child(even) > img { order: 0; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 52svh; }
}

/* Repeat clients band (home) */
.clients__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.clients__list li { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-card); }
.clients__list strong { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 112; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; letter-spacing: -.02em; color: var(--accent); }
.clients__list span { font-weight: 600; font-size: 15px; }
.clients__note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* Case study extras */
.project__figure { margin: 32px 0; }
.project__figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-card); }
.project__figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.project__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0; }
.project__gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-card); }


/* National map */
.legend .dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.dot--multifamily { background: #d01038; } .dot--retail { background: #e9a23b; } .dot--healthcare { background: #3ec6a8; } .dot--automotive { background: #6cb4ee; } .dot--commercial { background: #9aa7b5; }
.legend .swatch { width: 14px; height: 14px; border-radius: 3px; background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.map { display: block; }
.map__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 18px; }
.filters--dark button { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .25); }
.filters--dark button.is-active { background: var(--accent); border-color: var(--accent); color: var(--white); }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.switch input { appearance: none; width: 38px; height: 22px; border-radius: 11px; background: rgba(255, 255, 255, .18); position: relative; transition: background .2s ease; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); transition: transform .2s ease; }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(16px); }
.map__stage { position: relative; border-radius: var(--r-lg); background: var(--navy-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.map__stage svg { display: block; width: 100%; height: auto; }
.map__state { fill: rgba(255, 255, 255, .06); stroke: none; transition: fill .2s ease; }
.map__state.is-licensed { fill: rgba(255, 255, 255, .2); }
.map__state.is-licensed:hover { fill: rgba(255, 255, 255, .32); }
.map__borders { fill: none; stroke: var(--navy); stroke-width: .8; stroke-linejoin: round; pointer-events: none; }
.map__dot { stroke: rgba(19, 32, 47, .55); stroke-width: .6; opacity: .92; transition: opacity .2s ease, r .2s ease; }
.map__dot.is-featured { stroke: var(--white); stroke-width: 2; }
.map__dot.is-hidden { opacity: 0; pointer-events: none; }
.map__tip { position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; min-width: 160px; max-width: 260px; padding: 12px 14px; border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: var(--sh-float); font-size: 13px; line-height: 1.4; }
.map__tip strong { display: block; font-weight: 700; margin-bottom: 2px; }
.map__tip span { display: block; color: var(--muted); }
.map__tip em { display: block; margin-top: 6px; font-style: normal; color: var(--accent); font-weight: 600; }
.map__fallback { padding: 40px; text-align: center; opacity: .8; }
.map__count { margin-top: 12px; font-size: 14px; opacity: .8; }
.map--mini { border-radius: var(--r-lg); background: var(--navy-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; transition: transform .25s ease; }
.map--mini:hover { transform: translateY(-4px); }
.map--mini svg { display: block; width: 100%; height: auto; padding: 4%; }
.map--failed .map__stage::after { content: "Map of completed projects in 47 states. Licensed in all 48 of the lower 48."; display: grid; place-items: center; position: absolute; inset: 0; padding: 32px; text-align: center; opacity: .7; }
@media (max-width: 860px) {
  .clients__list { grid-template-columns: repeat(2, 1fr); }
  .project__gallery { grid-template-columns: 1fr; }
  .map__controls { flex-direction: column; align-items: flex-start; }
}
.map__controls .filters { margin-bottom: 0; }
.form .row--3 { grid-template-columns: 1fr 1fr 1fr; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.form legend { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
@media (max-width: 860px) { .form .row--3 { grid-template-columns: 1fr; } }
.proof__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.clients { padding-bottom: 0; } /* the next section is the same paper colour, so one gap, not two */

/* 2026-11-05. Jonathan Eyres: no sentence may start at the end of a line. A two sentence headline puts
   each sentence on its own line (h-lines), or it is rewritten as one sentence. */
.h-lines { max-width: none; }
.h-lines > span { display: block; text-wrap: balance; }
@media (min-width: 1100px) { .h-lines > span { white-space: nowrap; } }
.h-lines--long { font-size: clamp(30px, 3.4vw, 50px); }
.split .h-lines { font-size: clamp(26px, 2.7vw, 40px); }

/* 2026-11-05. Jonathan Eyres: "AI loves to make these boxes". Numbers set as type on hairlines, no cards. */
.proof__grid { gap: 0; }
.proof__item { padding: 0 clamp(18px, 2.4vw, 36px) 0 0; }
.proof__item::before { display: none; }
.proof__item + .proof__item { border-left: 1px solid rgba(19, 32, 47, .16); padding-left: clamp(18px, 2.4vw, 36px); }
.clients__list { grid-template-columns: repeat(2, 1fr); column-gap: calc(var(--gap) * 3); row-gap: 0; }
.clients__list li { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; background: none; border-radius: 0; box-shadow: none; border-top: 1px solid rgba(19, 32, 47, .16); }
.clients__list li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(19, 32, 47, .16); }
.clients__list span { font-size: 17px; }
.clients__list strong { color: var(--ink); font-size: clamp(26px, 2.4vw, 34px); }
.why__grid { column-gap: calc(var(--gap) * 3); row-gap: 0; }
.why__card, .why__card:hover { background: none; border-radius: 0; box-shadow: none; transform: none; }
.why__card { padding: 28px 0; border-top: 1px solid rgba(19, 32, 47, .16); }
@media (max-width: 860px) {
  .proof__grid { row-gap: 22px; }
  .proof__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .clients__list { grid-template-columns: 1fr; }
  .clients__list li:nth-last-child(2) { border-bottom: 0; }
}

/* Leadership photos */
.person__photo { aspect-ratio: 4 / 5; }
.person__photo img { object-position: 50% 20%; }
.leaders-head { display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: calc(var(--gap) * 2); align-items: end; margin-bottom: calc(var(--gap) * 1.6); }
.leaders-head .section__head { margin-bottom: 0; }
.leaders-head__photo { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 62%; border-radius: var(--r-lg); box-shadow: var(--sh-card); }
@media (max-width: 860px) { .leaders-head { grid-template-columns: 1fr; } }
/* one sentence with a chosen break on desktop; flows as ordinary balanced text below that */
@media (max-width: 1099px) { .h-lines--flow { text-wrap: balance; } .h-lines--flow > span { display: inline; } }
.h-sm { font-size: clamp(26px, 2.7vw, 40px); max-width: 24ch; text-wrap: balance; }
/* Leadership heading: centred and large, no label, less air above (Ryan, 2026-11-05) */
#leadership { padding-top: clamp(48px, 5vw, 76px); }
.leaders-title { text-align: center; max-width: none; font-size: clamp(40px, 5.8vw, 80px); margin: 0 0 clamp(32px, 4vw, 56px); }
.h-wide { max-width: 22ch; text-wrap: balance; }
.card--dark:has(> h3:only-child) h3 { margin-bottom: 0; }
.h-balance { text-wrap: balance; }
/* Legend dots: the older `.legend i` rule outranked the colour classes and left them empty. */
.legend i.dot--multifamily { background: #d01038; } .legend i.dot--retail { background: #e9a23b; } .legend i.dot--healthcare { background: #3ec6a8; }
.legend i.dot--automotive { background: #6cb4ee; } .legend i.dot--commercial { background: #9aa7b5; }
/* A short statement block with no image: centred (Ryan, 2026-11-05) */
.center-block { text-align: center; }
.center-block h2 { max-width: none; text-wrap: balance; }
.center-block p { max-width: 56ch; margin-inline: auto; font-size: 18px; }
.center-block .btn { margin-top: 12px; }

/* FAQ: questions on hairlines, no boxes. Native details, so it works without JavaScript. */
.faq__grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: calc(var(--gap) * 3); align-items: start; }
.faq__grid h2 { max-width: 12ch; margin: 0; }
.faq__item { border-top: 1px solid rgba(19, 32, 47, .16); }
.faq__item:last-child { border-bottom: 1px solid rgba(19, 32, 47, .16); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); font: 600 20px/1 var(--body); transition: transform .2s ease, background .2s ease, color .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq__item summary:hover::after { background: var(--accent); color: var(--white); }
.faq__item p { margin: 0 0 24px; max-width: 62ch; color: var(--ink-2); }
.faq__item a { color: inherit; font-weight: 600; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; gap: var(--gap); } .faq__grid h2 { max-width: none; } }
.hero__sub { text-wrap: balance; }
/* Top menu links 20 percent larger (Ryan, 2026-11-05) */
.site-nav a { font-size: 17px; padding: 12px 17px; }
/* The larger menu needs more room: switch to the menu button below 1150px instead of 860px. */
@media (max-width: 1150px) { .site-nav, .site-header__cta { display: none; } .nav-toggle { display: flex; margin-left: auto; } }
.site-header__cta { font-size: 17px; padding: 14px 24px; }

/* Client testimonials, the client's own words as written (hub: customers/wr-newman/testimonials-2026-11-17.md,
   Wes 2026-11-17). A three card band on Home, the full quote on each of the three case studies. */
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.quote { margin: 0; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); box-shadow: var(--sh-card); }
.quote::before, .project__quote::before { content: "\201C"; display: block; font-family: var(--display); font-weight: 800; font-size: 76px; line-height: .55; color: var(--accent); margin-bottom: 18px; }
.quote p { margin: 0 0 24px; font-size: 17px; line-height: 1.55; }
.quote footer, .project__quote footer { margin-top: auto; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.quote footer strong, .project__quote footer strong { display: block; font-size: 16px; color: var(--ink); }
.quote footer a { display: block; width: max-content; margin-top: 12px; font-weight: 600; color: var(--accent); }
.project__quote { margin: 36px 0; padding: clamp(24px, 3vw, 40px); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-card); }
.project__quote p { font-size: 18px; }
.project__quote p:last-of-type { margin-bottom: 20px; }
@media (max-width: 1100px) { .quotes__grid { grid-template-columns: 1fr; } }
