/* ==========================================================================
   DiBlasi Associates — Homepage Design · Version 01
   --------------------------------------------------------------------------
   1. Variables (brand palette)
   2. Base / reset
   3. Layout
   4. Shared components (eyebrow, labels, buttons, links, tags, media)
   5. Header / nav (desktop nav, hamburger, mobile menu)
   6. Home — hero
   7. Home — about
   8. Home — services
   9. Home — testimonials
  10. (removed — Markets section)
  11. Home — projects (full-bleed Brand Blue)
  12. Inner page header (About / Work / Contact)
  13. About — intro card, services, team, affiliations
  14. Work — filters, project grid
  15. Contact — details and form
  16. Contact CTA band
  17. Footer
  18. Project modal
  19. Utilities
  20. Responsive (desktop-first: 1200 → 992 → 768 → 480, then touch)

   Palette rules
   - Only four colors: Brand Blue, White, Graphite, Light Gray.
   - Headlines are Graphite; 1–3 key words use .hl (Brand Blue).
   - Primary buttons: Blue → hover Graphite. Links: Blue → hover Graphite.
   - Text on Blue is always White. Never Light Gray text on White, never
     Graphite text on Blue.
   - Photos (<image-slot>) are rendered black & white.
   - Shadows and photo scrims use Graphite at reduced alpha only.

   Notes
   - The page is rendered by js/support.js (dc-runtime, React). Text bindings
     ({{ … }}) render inside <span class="sc-interp">, so never style bare
     `span` selectors here; always target a class.
   - State classes set from the page logic: .is-solid, .is-open, .is-active,
     .is-on.
   ========================================================================== */


/* 1. Variables
   ========================================================================== */
:root {
  /* Brand palette — the only colors used on this page */
  --blue: #1C479E;       /* Brand Blue  · RGB 28, 71, 158  */
  --white: #FFFFFF;      /* White                          */
  --graphite: #1E2228;   /* Graphite    · RGB 30, 34, 40   */
  --gray: #C9CDD4;       /* Light Gray  · RGB 201, 205, 212 */
  --lime: #DCEF6A;       /* Lime — blue buttons' hover */

  /* Highlight colour (hero "since 1984", .title-hl). The Design panel's
     "Highlight color" swaps these per html[data-highlight-color] below.
       --highlight       box / underline fill
       --highlight-ink   text on the box
       --highlight-text  "Text color" style on light sections
       --highlight-dark  text / underline on dark or Brand Blue sections */
  --highlight: var(--lime);
  --highlight-ink: var(--graphite);
  --highlight-text: var(--lime);          /* lime text on light sections too */
  --highlight-dark: var(--lime);

  /* Graphite at reduced alpha — shadows and photo scrims only */
  --shadow-sm: 0 12px 24px -16px rgba(30, 34, 40, .4);
  --shadow-card: 0 30px 60px -30px rgba(30, 34, 40, .35);
  --shadow-hover: 0 20px 44px -24px rgba(30, 34, 40, .45);
  --shadow-header: 0 10px 30px -12px rgba(30, 34, 40, .35);
  --ring: 0 0 0 1px var(--gray);   /* hairline card border, no layout shift */

  /* Type */
  --font-display: 'Archivo', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Layout */
  --container: 1280px;
  --container-wide: 1360px;
  --gutter: clamp(20px, 5vw, 64px);
  --gutter-wide: clamp(20px, 4vw, 48px);
  --section-pad: 80px;

  /* Home split grid: shared by the About + Services heads and the About photos,
     so their columns (and the right column's start) always line up. */
  --split-cols: minmax(0, 3fr) minmax(0, 2fr);
  --split-gap: clamp(24px, 4vw, 56px);   /* top/bottom padding of every content section */

  /* Space reserved by the shared floating home button (assets/shared). */
  --fab-space: var(--home-fab-clearance, 0px);
}

/* Highlight colour options (Design panel → "Highlight color"). Lime is the
   default above and uses lime for the "Text color" style everywhere. Orange
   is exactly #F74335 everywhere, with White text on its box. Yellow is
   exactly #F2E004 everywhere, with Graphite text on its box. Navy gets
   White text on the box and a light navy tint on dark / blue sections. */
html[data-highlight-color="navy"] {
  --highlight: #142A5C;
  --highlight-ink: var(--white);
  --highlight-text: #142A5C;
  --highlight-dark: #A9BEF0;
}
html[data-highlight-color="orange"] {   /* exactly #F74335 everywhere */
  --highlight: #F74335;
  --highlight-ink: var(--white);          /* White text on the orange box */
  --highlight-text: #F74335;
  --highlight-dark: #F74335;
}
html[data-highlight-color="yellow"] {   /* exactly #F2E004 everywhere */
  --highlight: #F2E004;
  --highlight-ink: var(--graphite);
  --highlight-text: #F2E004;
  --highlight-dark: #F2E004;
}
html[data-highlight-color="green"] {    /* exactly #70D146 everywhere */
  --highlight: #70D146;
  --highlight-ink: var(--graphite);
  --highlight-text: #70D146;
  --highlight-dark: #70D146;
}


/* 2. Base / reset
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body { margin: 0; padding: 0; }

html { overflow-x: clip; }

body {
  background: var(--white);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* :where() keeps these at zero specificity so component classes always win. */
a { color: var(--blue); text-decoration: none; }
a:where(:hover) { color: var(--graphite); }

button { font: inherit; color: inherit; }
input,
textarea { font: inherit; }

img,
svg { max-width: 100%; }
img { height: auto; }

ul[class] { margin: 0; padding: 0; list-style: none; }

/* Photography: black & white so Brand Blue stays the only accent. */
image-slot { filter: grayscale(1); }

::selection { background: var(--blue); color: var(--white); }


/* 3. Layout
   ========================================================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter-wide);
}

.section { padding: var(--section-pad) 0; background: var(--white); }

/* Title + intro row used at the top of About sections. */
.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head__intro {
  margin: 0;
  max-width: 520px;
  font-size: 18px;
  color: var(--graphite);
  text-wrap: pretty;
}

/* Home split grid (title left, intro right). Columns come from --split-cols. */
.split-grid {
  display: grid;
  grid-template-columns: var(--split-cols);
  column-gap: var(--split-gap);
  row-gap: 24px;
  align-items: end;
}

/* Split head (title left, actions/tag right). */
.split-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}


/* 4. Shared components
   ========================================================================== */

/* Headline key-word highlight */
.hl { color: var(--blue); }

/* Eyebrow: blue bar + small uppercase label */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow__bar { width: 32px; height: 4px; background: var(--blue); }
.eyebrow__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--on-dark { margin-bottom: 22px; }
.eyebrow--on-dark .eyebrow__bar { background: var(--white); }
.eyebrow--on-dark .eyebrow__label { color: var(--white); }
.eyebrow--blue-bar .eyebrow__bar { background: var(--blue); }

/* Bracketed kicker used on the v3 home sections, e.g. "[Services]" */
.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--graphite);
}
.kicker--light { color: var(--white); }

/* Small uppercase label (forms, contact details, modal) */
.label-caps {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Display headings */
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 82%;
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--graphite);
}
.section-title--sm { font-size: clamp(32px, 3.6vw, 48px); }

/* Pill tag */
.pill {
  display: inline-flex;
  background: var(--gray);
  color: var(--graphite);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

/* Dashed "placeholder — content needed" tag */
.ph-tag {
  display: inline-flex;
  padding: 5px 10px;
  border: 1.5px dashed var(--blue);
  background: var(--white);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ph-tag--white { background: var(--white); }
.ph-tag--sm { padding: 4px 8px; font-size: 11px; }
.ph-tag--xs { padding: 3px 8px; font-size: 11px; }

/* Primary button: Brand Blue → Graphite */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 28px;
  border: 0;
  border-radius: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--lime); color: var(--graphite); }   /* blue buttons → lime on hover */
.btn-primary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Button arrow: the same ↗ used in the hero Services box; it turns 45° on
   hover/focus so it points inline (→). Inherits the button's text colour. */
.btn-arrow {
  display: inline-block;
  line-height: 1;
  transition: transform .2s ease;
}
:hover > .btn-arrow,
:focus-visible > .btn-arrow { transform: rotate(45deg); }

/* Underlined text link with arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
}
.text-link--hover:hover { color: var(--graphite); border-bottom-color: var(--graphite); }
.text-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Corner arrow square (decorative) */
.corner-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  pointer-events: none;
}
.corner-arrow--md { width: 48px; height: 48px; font-size: 18px; }

/* Positioned box that an <image-slot> fills */
.media { position: relative; background: var(--gray); }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--4x5 { aspect-ratio: 4 / 5; }


/* 5. Header / nav
   Transparent over dark heroes (white text + white logo);
   solid White with Graphite text + color logo once scrolled or menu open.
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: transparent;
  box-shadow: none;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.is-solid {
  background: var(--white);
  box-shadow: var(--shadow-header);
}

/* No side padding: the inner box is exactly as wide as the page container's
   content, so the logo and CTA line up with the content edges.
   Inner pages use .container; Home uses .container-wide (.site-header--wide). */
.site-header__inner {
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  padding: 16px 0;                      /* compact header */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding .35s ease;
}
.site-header--wide .site-header__inner {
  width: calc(100% - 2 * var(--gutter-wide));
  max-width: calc(var(--container-wide) - 2 * var(--gutter-wide));
}
.site-header.is-solid .site-header__inner { padding-top: 10px; padding-bottom: 10px; }

.site-header__logo { display: block; line-height: 0; }
.site-header__logo:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
.site-header.is-solid .site-header__logo:focus-visible { outline-color: var(--blue); }
.site-header__logo-img {
  display: block;
  width: auto;
  height: 44px;
  transition: height .35s ease;
}
.site-header__logo-img--color { display: none; }
.site-header.is-solid .site-header__logo-img--white { display: none; }
.site-header.is-solid .site-header__logo-img--color { display: block; }
.site-header.is-solid .site-header__logo-img { height: 38px; }

/* Desktop nav */
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav__link {
  position: relative;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 8px 0;
}
.site-nav__link:hover { color: var(--white); }
.site-nav__link:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

.site-header.is-solid .site-nav__link { color: var(--graphite); }
.site-header.is-solid .site-nav__link:hover { color: var(--blue); }
.site-header.is-solid .site-nav__link:focus-visible { outline-color: var(--blue); }

/* Header CTA: Brand Blue → Graphite */
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 0;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}
.site-nav__cta:hover { background: var(--lime); color: var(--graphite); transform: translateY(-1px); }
.site-nav__cta:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.site-header.is-solid .site-nav__cta:focus-visible { outline-color: var(--blue); }

/* Mobile header controls (shown ≤ 992px) */
.site-header__mobile { display: none; align-items: center; gap: 12px; }
.site-header__mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 14px;
  border-radius: 0;
  transition: background .2s;
}
.site-header__mobile-cta:hover { background: var(--lime); color: var(--graphite); }
.site-header__mobile-cta:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.site-header.is-solid .site-header__mobile-cta:focus-visible { outline-color: var(--blue); }

.burger {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gray);
  background: transparent;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.burger:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.burger__line {
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform .25s, opacity .25s;
}
.site-header.is-solid .burger:focus-visible { outline-color: var(--blue); }
.site-header.is-solid .burger__line { background: var(--graphite); }
.burger.is-open .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open .burger__line:nth-child(2) { opacity: 0; }
.burger.is-open .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Menu open: the header stays transparent over the blue menu (white logo and
   close button); its Contact button steps aside, the menu has Contact. */
.site-header.is-menu-open .site-header__mobile-cta { visibility: hidden; }
.site-header.is-menu-open .burger { border-color: rgba(255, 255, 255, .45); }
html.is-menu-open { overflow: hidden; }   /* scroll lock while the menu is open */

/* Full-screen mobile menu (≤992px)
   Brand Blue over the whole viewport with the blueprint grid (reuses
   .home-cta__grid, which is unmasked at 60% below 992px). The fixed header
   (z-index 70) stays on top with the logo and close button. Big numbered
   links fill the space; phone + email sit at the bottom. */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--blue);
  color: var(--white);
  overflow: auto;
  overscroll-behavior: contain;
  animation: menu-in .25s ease both;
}
.mobile-menu__inner {
  position: relative;               /* above the grid */
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 104px var(--gutter-wide) calc(32px + env(safe-area-inset-bottom, 0px));   /* header 68px + 36px */
}
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  color: var(--white);
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 800;
  font-size: clamp(24px, 6.4vw, 38px);
  line-height: 1.05;
  text-transform: uppercase;
  animation: menu-link-in .45s cubic-bezier(.2, .7, .2, 1) both;
}
.mobile-menu__link:first-child { border-top: 1px solid rgba(255, 255, 255, .2); }
.mobile-menu__link:nth-child(2) { animation-delay: .05s; }
.mobile-menu__link:nth-child(3) { animation-delay: .1s; }
.mobile-menu__link:nth-child(4) { animation-delay: .15s; }
/* Background grid kept faint behind the links. */
.mobile-menu .mobile-menu__grid { opacity: .22; }
.mobile-menu__arrow {
  margin-left: auto;
  font-size: .5em;
  transition: transform .2s ease;
}
.mobile-menu__link:hover { color: var(--white); }
.mobile-menu__link:hover .mobile-menu__arrow { transform: rotate(45deg); }
.mobile-menu__link:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.mobile-menu__contact {
  margin-top: auto;                 /* pinned to the bottom of the screen */
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  font-size: 16px;
  padding-right: var(--fab-space);  /* clear of the shared floating home button */
  animation: menu-link-in .45s .2s cubic-bezier(.2, .7, .2, 1) both;
}
.mobile-menu__label {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.mobile-menu__value { color: var(--white); }
.mobile-menu__value:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.mobile-menu__value:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
@keyframes menu-in { from { opacity: 0; } }
@keyframes menu-link-in { from { opacity: 0; transform: translateY(16px); } }


/* 6. Home — hero
   Layers, bottom to top:
     1. .hero__bg          full-bleed photo, dimmed with a Graphite scrim
                           (stronger on the left, behind the text)
     2. .hero__block       solid Brand Blue block in the top-left corner
     3. .hero__grid        faint blueprint grid (reuses .home-cta__grid) and a
        .hero::after       hairline under the header, across the full width
     4. .hero__inner       stacked headline ("since 1984" highlighted), lead
                           and two buttons, bottom-left
        .hero__highlights  white strip of three items, bottom-right
   The fixed header (z-index 70) sits above the whole hero. Below 992px the
   highlights strip drops into the flow under the text, full width.
   ========================================================================== */
.hero {
  --hero-pt: 170px;                     /* clears the fixed header */
  --hero-pb: clamp(40px, 5vw, 64px);
  --hero-header-h: 78px;                /* header height: hairline sits here */
  position: relative;
  min-height: clamp(680px, 100vh, 960px);
  background: var(--graphite);
  overflow: hidden;
  display: flex;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Graphite scrim (site rule: scrims are Graphite at reduced alpha): the whole
   photo is dimmed, more so on the left where the text sits and at the top
   behind the nav. */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 34, 40, .45) 0, rgba(30, 34, 40, 0) 220px),
    linear-gradient(90deg, rgba(30, 34, 40, .72) 0%, rgba(30, 34, 40, .5) 45%, rgba(30, 34, 40, .22) 100%);
}
/* Brand Blue block, flush top-left; text may overlap it on narrower screens. */
.hero__block {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: clamp(40px, 12vw, 320px);
  height: 78%;
  background: var(--blue);
}
/* The CTA's grid (72px squares, white lines at 8%), without the CTA's fade,
   kept soft so it reads as a faint texture over the photo. */
.hero .hero__grid {
  z-index: 2;
  -webkit-mask-image: none;
  mask-image: none;
  opacity: .6;
  /* Shift the 72px grid so a horizontal line lands exactly on the header
     hairline (--hero-header-h: 78px desktop, 68px ≤992px). */
  background-position: -1px var(--hero-header-h);
}
/* Hairline under the header, across the full width. */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: var(--hero-header-h);
  z-index: 2;
  height: 1px;
  background: rgba(255, 255, 255, .2);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: flex-end;                /* content sits low, as in the layout */
  padding-top: var(--hero-pt);
  padding-bottom: var(--hero-pb);
}
/* Text column ends 32px before the highlights strip (which starts at 47.5%);
   the max() term is the distance from the viewport edge to the content edge. */
.hero__copy {
  max-width: min(560px, 47.5vw - max(var(--gutter-wide), (100vw - var(--container-wide)) / 2 + var(--gutter-wide)) - 32px);
}
/* Big stacked headline: the narrow measure puts roughly one word per line. */
.hero__title {
  margin: 0;
  max-width: 5.8em;
  font-family: var(--font-display);
  font-stretch: 82%;
  font-weight: 800;
  font-size: clamp(44px, 5.4vw, 104px);
  line-height: .95;
  letter-spacing: -.01em;
  color: var(--white);
}
.hero__hl {
  display: inline-block;
  margin-top: .06em;
  padding: .02em .12em .06em;
  background: var(--highlight);
  color: var(--highlight-ink);
  white-space: nowrap;
}
.hero__lead {
  margin: clamp(28px, 3vw, 40px) 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  text-wrap: pretty;
}
.hero__actions {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__btn { padding: 16px 24px; font-size: 15px; }
.hero__btn:hover { background: var(--lime); color: var(--graphite); }
.hero__btn:focus-visible { outline-color: var(--white); }
/* Outlined secondary button on the photo. */
.hero__btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 24px;                   /* 1px border → same height as .hero__btn */
  border: 1px solid rgba(255, 255, 255, .6);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.hero__btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--graphite); }
.hero__btn-ghost:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* Highlights strip: three white items, flush bottom-right, from 47.5% across. */
ul.hero__highlights {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 52.5%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
}
.hero__highlight {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero__highlight + .hero__highlight { border-left: 1px solid var(--gray); }
.hero__highlight-bar { display: block; height: 3px; background: var(--gray); }
.hero__highlight.is-active .hero__highlight-bar { background: var(--blue); }
.hero__highlight-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.3;
  color: var(--graphite);
  text-wrap: pretty;
}


/* 7. Home — about
   ========================================================================== */
/* position + z-index: own stacking context so the blue band (z-index: -1)
   paints above the section's white but below the photos.
   overflow: clip trims the full-bleed band to the section. */
.home-about {
  position: relative;
  z-index: 0;
  overflow: clip;
  background: var(--white);
  padding: var(--section-pad) 0;
}
.home-about__inner { display: flex; flex-direction: column; gap: clamp(72px, 5.5vw, 140px); }   /* room for the badge */
/* Shared by the About, Services and Projects titles so the home headings match. */
.home-about__title,
.home-services__title,
.featured__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 82%;
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: .98;
  color: var(--graphite);
  text-wrap: balance;
}
/* About head: 50 / 50 columns, top-aligned (overrides .split-grid's 3:2 and
   bottom alignment here only; the ≤768px rule still stacks it). */
.home-about__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }   /* 50% / 50% */
/* Lighter, normal-width title with the closing phrase bold in Brand Blue.
   Scoped to About so the Services / Projects titles keep their style. */
.home-about .home-about__title { font-stretch: 100%; }   /* size + weight: shared h2 rule */
.home-about__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(28px, 3vw, 24px);
  padding-top: clamp(4px, .6vw, 14px);   /* first line sits level with the title's first line */
}
.home-about__lead { margin: 0; font-size: 16px; line-height: 1.9; color: var(--graphite); text-wrap: pretty; }
/* Text link (.text-link: Brand Blue, 2px underline); arrow nudges on hover. */
.home-about__link { font-size: 16px; }
.home-about__link-arrow { display: inline-block; transition: transform .2s ease; }
.home-about__link:hover { color: var(--graphite); border-bottom-color: var(--graphite); }
.home-about__link:hover .home-about__link-arrow { transform: translateX(4px); }

/* "Established 1984" badge: a white disc on the right side of the site photo,
   straddling its top edge (on phones, the gap between the stacked photos).
   The SVG ring of text spins; the '84 stays still. */
.about-badge {
  position: absolute;
  top: 0;
  right: -30px;         /* right side of the site photo */
  z-index: 2;
  width: clamp(132px, 10.5vw, 196px);
  aspect-ratio: 1;
  transform: translateY(-50%);           /* straddles the photo's top edge */
  border-radius: 50%;
  border: 1px solid rgba(201, 205, 212, .9);   /* Light Gray hairline */
  background: var(--white);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.about-badge__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: about-badge-spin 24s linear infinite;
}
.about-badge__text {
  fill: var(--blue);
  font-family: var(--font-body);
  font-size: 12.5px;                     /* in the 200-unit viewBox */
  font-weight: 700;
  text-transform: uppercase;
  white-space: pre;                      /* keep the trailing space: even gap at the seam */
}
.about-badge__year {
  font-family: var(--font-display);
  font-stretch: 100%;
  font-weight: 700;
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--blue);
}
@keyframes about-badge-spin { to { transform: rotate(360deg); } }
/* Photos (team | site) with the counters under the team photo. */
.home-about__media {
  display: grid;
  grid-template-columns: var(--split-cols);
  grid-template-areas:
    "team  site"
    "stats site";
  column-gap: 30px;
  row-gap: clamp(32px, 3.5vw, 48px);
  align-items: start;
}
.home-about__photo--team { grid-area: team; }
.home-about__photo--site { grid-area: site; }

/* Full-bleed Brand Blue band: starts two-thirds down the team photo and runs
   to the bottom of the section (the section's bottom padding is the counters'
   breathing room). */
.home-about__photo--team::before,
.home-about__photo--site::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 66.667%;
  bottom: -200vh;
  left: -100vw;
  right: -100vw;
  background: var(--blue);
  pointer-events: none;
}
.home-about__photo--site::before { display: none; }

/* Counters */
ul.about-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.about-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 4px clamp(12px, 2vw, 28px);
}
.about-stats__item + .about-stats__item { border-left: 1px solid rgba(255, 255, 255, .25); }
.about-stats__num {
  font-family: var(--font-display);
  font-stretch: 82%;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
  white-space: nowrap;
}
/* Same caps treatment as the hero Services list */
.about-stats__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}


/* 8. Home — services
   White section. Head, then a 4-column grid of white cards with hairline
   dividers. Each card is one link: thin Brand Blue arrow top-right, title and
   description at the bottom. The last box is solid Brand Blue ("Explore /
   All Services →").
   ========================================================================== */
.home-services { background: var(--white); padding: var(--section-pad) 0; }
/* 50 / 50 columns (overrides .split-grid's 3:2 here; ≤768px still stacks). */
.home-services__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: clamp(40px, 5vw, 40px); }
.home-services__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.home-services__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite);
  text-wrap: pretty;
}

/* 1px gaps over the hairline colour = dividers; equal-height rows. */
ul.svc-grid {
  --svc-line: #E1E3E7;                   /* Light Gray, lightened for hairlines */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1px;
  background: var(--svc-line);
  border: 1px solid var(--svc-line);
}
.svc-cell { display: flex; background: var(--white); }
.svc-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: clamp(280px, 23vw, 440px);
  padding: clamp(24px, 2.2vw, 40px);
  color: var(--graphite);
}
.svc-card:hover { color: var(--graphite); }
.svc-card:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.svc-card__arrow {
  position: absolute;
  top: clamp(24px, 2.2vw, 40px);
  right: clamp(24px, 2.2vw, 40px);
  width: clamp(22px, 1.6vw, 28px);
  height: auto;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-linecap: square;
  transition: transform .25s ease;
}
.svc-card:hover .svc-card__arrow,
.svc-card:focus-visible .svc-card__arrow { transform: translate(3px, -3px); }
.svc-card__body {
  margin-top: auto;                      /* title + text sit at the bottom */
  display: flex;
  flex-direction: column;
    gap: clamp(10px, 0.2vw, 22px);
  }
/* Title: semi-bold here (scoped, beats the shared heading style). */
.home-services .svc-cell__name {
  margin: 0;
  font-weight: 600;
  font-size: clamp(20px, 1.45vw, 30px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--graphite);
  transition: color .2s;
}
.svc-card:hover .svc-cell__name { color: var(--blue); }
.svc-cell__line {
  display: block;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.75;
  color: rgba(30, 34, 40, .75);          /* Graphite, softened */
  text-wrap: pretty;
}

/* "All Services" box: the whole cell is one Brand Blue link. */
.svc-cell--cta { background: var(--blue); }
.svc-cta {
  position: relative;                    /* anchors the corner arrow */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: clamp(280px, 23vw, 440px);
  padding: clamp(24px, 2.2vw, 40px);
  background: var(--blue);
  color: var(--white);
  transition: background .2s;
}
.svc-cta:hover { background: var(--graphite); color: var(--white); }
.svc-cta:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }
.svc-cta__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.svc-cta__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.svc-cta__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 2.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.025em;
}
/* Diagonal arrow in the top-right corner, matching the service cards. */
.svc-cta__arrow {
  position: absolute;
  top: clamp(24px, 2.2vw, 40px);
  right: clamp(24px, 2.2vw, 40px);
  width: clamp(22px, 1.6vw, 28px);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  transition: transform .25s ease;
}
.svc-cta:hover .svc-cta__arrow,
.svc-cta:focus-visible .svc-cta__arrow { transform: translate(3px, -3px); }


/* 9. Home — testimonials
   Light Gray-tinted section. Title (top-left) and square arrows (bottom-left)
   beside a white quote card: blue quote mark, large quote with one phrase
   highlighted, then client name / role and progress dashes under a hairline.
   Grid areas let the arrows move under the card on small screens.
   ========================================================================== */
.testimonials {
  background: #EEF0F3;                   /* Light Gray at ~35% on White */
  padding: clamp(56px, 6vw, 88px) 0;
}
.testimonials__inner {
  display: grid;
  grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "title card"
    "nav   card";
}
.testimonials__title {
  grid-area: title;
  margin: 0;
  max-width: 8.6em;                      /* breaks as: Trusted by / owners, / architects / & builders */
  padding-right: 32px;
  font-family: var(--font-display);
  color: var(--graphite);                /* size + weight: shared h2 rule */
}
.testimonials__nav { grid-area: nav; align-self: end; display: flex; gap: clamp(14px, 1.2vw, 20px); }
.testimonials__btn {
  width: clamp(48px, 3.2vw, 60px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--graphite);
  border-radius: 0;
  background: transparent;
  color: var(--graphite);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.testimonials__btn:hover { background: var(--graphite); color: var(--white); }
.testimonials__btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.testimonials__arrow { width: 22px; height: auto; fill: none; stroke: currentColor; stroke-width: 1.25; }

/* Quote card: compact, max 660px wide, on the right. */
.testimonial {
  grid-area: card;
  justify-self: end;
  width: 100%;
  max-width: 660px;
  margin: 0;
  padding: clamp(24px, 2.4vw, 40px);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.testimonial__mark {
  display: block;
  height: .55em;                         /* trims the glyph's empty line box */
  margin-bottom: clamp(16px, 1.6vw, 28px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 3.2vw, 60px);
  line-height: 1;
  color: var(--blue);
}
.testimonial__live { display: flex; flex-direction: column; flex: 1; }
.testimonial__quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.45;
  letter-spacing: -.02em;
  color: var(--graphite);
  text-wrap: pretty;
}
.testimonial__hl {
  padding: 0 .04em;
  background: rgba(201, 205, 212, .55);  /* Light Gray highlight */
  color: inherit;
}
.testimonial__foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #E1E3E7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.testimonial__live .testimonial__quote { margin-bottom: clamp(20px, 2vw, 32px); }
.testimonial__who { display: flex; flex-direction: column; gap: 4px; }
.testimonial__name { font-size: 16px; font-weight: 700; color: var(--graphite); }
.testimonial__role { font-size: 14px; color: rgba(30, 34, 40, .7); }
.testimonial__dots { display: flex; align-items: center; gap: 8px; }
.testimonial__dot { width: 16px; height: 4px; background: #D9DCE1; transition: width .3s ease, background .3s ease; }
.testimonial__dot.is-active { width: 36px; background: var(--blue); }


/* 11. Home — projects
   Full-width Brand Blue. Head shares .split-grid with About + Services.
   Bottom spacing comes from .featured__foot; the closing CTA follows.
   ========================================================================== */
.featured { background: var(--blue); color: var(--white); padding: var(--section-pad) 0 0; }
.featured__head { margin-bottom: clamp(40px, 5vw, 40px); }
.featured__label { display: block; margin-bottom: 16px; }
.featured .featured__title { color: var(--white); }

/* Carousel track: same container edges as the head. A native horizontal
   scroller with snap points, so touch, trackpad and arrow keys all work;
   --per-view sets how many cards fit (fractional values show a peek). */
ul.featured__track {
  --per-view: 3;
  --gap: 24px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
ul.featured__track::-webkit-scrollbar { display: none; }
ul.featured__track:focus-visible { outline: 3px solid var(--white); outline-offset: 6px; }
.feat-item { display: flex; scroll-snap-align: start; }
/* The whole box is the link. */
/* White card: the photo runs edge to edge; only the text below is padded. */
.feat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--graphite);
  transition: background .2s;
}
.feat-card:hover { color: var(--graphite); }
/* Inset, since the scroller clips anything drawn outside the card. */
.feat-card:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.feat-card__photo { display: block; width: 100%; }
/* No dashed placeholder outline on project photos. */
.feat-card__photo image-slot::part(ring) { display: none; }
.feat-card__body {
  padding: 20px 24px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
}
.feat-card__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--graphite); }
.feat-card__arrow { color: var(--blue); font-size: 18px; font-weight: 700; }
.feat-card__meta { grid-column: 1 / -1; font-size: 14px; color: var(--graphite); }
/* Hover: the arrow turns inline and nudges right. */
.feat-card:hover .feat-card__arrow,
.feat-card:focus-visible .feat-card__arrow { transform: translateX(5px) rotate(45deg); }

/* Carousel controls (left) + portfolio button (right). */
.featured__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(32px, 4vw, 48px) 0 var(--section-pad);
}
.featured__controls { display: flex; align-items: center; gap: 12px; }
.featured__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.featured__nav:hover { background: var(--white); border-color: var(--white); color: var(--blue); }
.featured__nav:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.featured__nav:disabled { opacity: .35; cursor: default; background: transparent; border-color: rgba(255, 255, 255, .45); color: var(--white); }
/* Shows which part of the row is in view; synced from the page logic. */
.featured__progress {
  position: relative;
  width: clamp(120px, 16vw, 220px);
  height: 2px;
  margin-left: 12px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
}
.featured__progress-bar { position: absolute; top: 0; left: 0; height: 100%; width: 50%; background: var(--white); }
/* All cards fit (e.g. fewer projects): no controls, button centred. */
.featured.is-static .featured__controls { display: none; }
.featured.is-static .featured__foot { justify-content: center; }
/* On the blue section the primary button inverts to White. */
.featured__btn { background: var(--white); color: var(--blue); }
.featured__btn:hover { background: var(--graphite); color: var(--white); }
.featured__btn:focus-visible { outline-color: var(--white); }

/* Home — closing CTA
   A square Brand Blue card on White that hangs half over the Graphite footer.
   The section has top padding only, so the card's vertical centre sits at
   50% + padding / 2 — the gradient switches to Graphite exactly there and
   runs seamlessly into the footer below. */
.home-cta {
  background: linear-gradient(to bottom, var(--white) calc(50% + var(--section-pad) / 2), var(--graphite) 0);
  padding: var(--section-pad) 0 0;
}
.home-cta__card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 32vw, 440px);
  padding: clamp(32px, 5vw, 64px);
  background: var(--blue);
  color: var(--white);
}
/* Faint blueprint grid, fading in towards the building on the right. */
.home-cta__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to right, transparent 30%, #000 75%);
  mask-image: linear-gradient(to right, transparent 30%, #000 75%);
  pointer-events: none;
}
/* The building from the logo mark, standing on the card's bottom edge. */
.home-cta__art {
  position: absolute;
  right: 3%;
  bottom: 0;
  width: min(40%, 500px);                /* desktop; phones: 60% (≤992px rule) */
  max-width: none;
  height: auto;
  opacity: .12;
  pointer-events: none;
  user-select: none;
}
.home-cta__body { position: relative; max-width: 620px; }
.home-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 82%;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1;
  color: var(--white);
  text-wrap: balance;
}
.home-cta__actions {
  margin-top: clamp(24px, 3vw, 36px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
/* On the blue card the primary button inverts to White. */
/* CTA button in the current highlight colour (Design panel → Highlight color),
   with its matching text colour; turns White on hover. */
.home-cta__btn { background: var(--highlight); color: var(--highlight-ink); }
.home-cta__btn:hover { background: var(--white); color: var(--blue); }
.home-cta__btn:focus-visible { outline-color: var(--white); }
.home-cta__link { color: var(--white); font-weight: 700; font-size: 16px; }
.home-cta__link:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.home-cta__link:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }


/* 12. Inner page header (About / Work / Contact)
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--blue);
  color: var(--white);
  padding: clamp(140px, 16vw, 200px) 0 clamp(120px, 12vw, 170px);
  overflow: hidden;
}
.page-hero--work { padding-bottom: clamp(110px, 11vw, 150px); }
.page-hero__art {
  position: absolute;
  right: -6%;
  top: 6%;
  width: min(52%, 620px);
  max-width: none;
  height: auto;
  opacity: .9;
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 82%;
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: .98;
  text-transform: uppercase;
  text-wrap: balance;
}
.page-hero__title--narrow { max-width: 820px; }
.page-hero__lead {
  margin: 24px 0 0;
  max-width: 560px;
  color: var(--white);
  font-size: 18px;
  text-wrap: pretty;
}
.page-hero .ph-tag {
  margin-top: 22px;
  background: var(--blue);
  border-color: var(--white);
  color: var(--white);
}

/* White card that overlaps the bottom of a page hero */
.overlap { position: relative; z-index: 2; margin-top: -88px; padding: 0 0 var(--section-pad); }

.overlap-card { background: var(--white); box-shadow: var(--shadow-card); }


/* 13. About — intro card, services, team, affiliations
   ========================================================================== */
.about-card {
  padding: clamp(32px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 72px);
}
.about-card__aside { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.about-card__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.about-card__statement {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 82%;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--graphite);
}
.about-card__body { flex: 2 1 460px; min-width: 0; }
.about-card__p { margin: 0; font-size: 19px; line-height: 1.7; color: var(--graphite); text-wrap: pretty; }
.about-card__p + .about-card__p { margin-top: 20px; }
.about-card__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Services list */
.svc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--gray);
  box-shadow: 0 0 0 2px var(--gray);
}
.svc-row {
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 40px);
  align-items: flex-start;
}
.svc-row__title { flex: 1 1 260px; display: flex; gap: 20px; align-items: baseline; }
.svc-row__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--blue);
  letter-spacing: .06em;
  min-width: 28px;
}
.svc-row__name {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 88%;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--graphite);
}
.svc-row__body {
  flex: 2 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.svc-row__desc { margin: 0; font-size: 17px; line-height: 1.65; color: var(--graphite); text-wrap: pretty; }

/* Team */
.team-head { margin-bottom: 48px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 540px), 1fr));
  gap: 24px;
}
.team-card { background: var(--white); box-shadow: var(--ring); display: flex; flex-wrap: wrap; align-items: stretch; }
.team-card__photo { flex: 1 1 190px; position: relative; min-height: 280px; background: var(--gray); }
.team-card__body {
  flex: 2 1 300px;
  min-width: 0;
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.team-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 23px);
  line-height: 1.2;
  color: var(--graphite);
}
.team-card__bio { margin: 8px 0 0; font-size: 15px; line-height: 1.65; color: var(--graphite); text-wrap: pretty; }
.team-card .ph-tag { margin-top: 8px; }
.team-card__resume {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.team-card__resume .ph-tag { margin-top: 0; }

/* Affiliations */
.affiliations { background: var(--white); padding: var(--section-pad) 0; }
.affil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2px;
  background: var(--white);
}
.affil-item { background: var(--gray); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.affil-item__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: var(--graphite);
}
.affil-item__note { font-size: 14px; color: var(--graphite); }


/* 14. Work — filters, project grid
   ========================================================================== */
.work-body {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding: 0 0 var(--section-pad);
  /* hard split: the blue page header continues behind the filter bar */
  background: linear-gradient(var(--blue) 0, var(--blue) 64px, var(--white) 64px);
}
.filters {
  background: var(--white);
  box-shadow: 0 24px 50px -30px rgba(30, 34, 40, .4);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  border: 1.5px solid var(--gray);
  background: var(--white);
  color: var(--graphite);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: background .2s, border-color .2s, color .2s;
}
.filter-btn.is-on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.filter-btn:hover { border-color: var(--blue); }
.filter-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.filter-btn__count { font-weight: 600; color: var(--graphite); font-size: 13px; }
.filter-btn.is-on .filter-btn__count { color: var(--white); }

.work-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 24px;
  align-items: center;
}
.work-meta__count { font-size: 15px; color: var(--graphite); }
.work-meta__count strong { color: var(--blue); }

.work-empty {
  background: var(--white);
  box-shadow: var(--ring);
  padding: 56px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.work-empty__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--graphite);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}
.project-card {
  background: var(--white);
  box-shadow: var(--ring);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.project-card:hover {
  box-shadow: var(--ring), var(--shadow-hover);
  transform: translateY(-3px);
}
.project-card__photo { position: relative; aspect-ratio: 4 / 3; background: var(--gray); overflow: hidden; }
/* Graphite scrim keeps white overlay text legible over photos. */
.project-card__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(30, 34, 40, .25) 0%, rgba(30, 34, 40, .94) 100%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px;
  color: var(--white);
}
.project-card:hover .project-card__overlay,
.project-card:focus-within .project-card__overlay { opacity: 1; }
.project-card__year {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
}
.project-card__market { font-size: 15px; line-height: 1.45; }
.project-card__loc { font-size: 14px; color: var(--gray); }
.project-card__btn {
  position: relative;
  flex: 1;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 22px 80px 24px 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-card__btn:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.project-card__client { font-size: 13px; font-weight: 600; color: var(--blue); }
.project-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: var(--graphite);
  text-wrap: pretty;
}


/* 15. Contact — details and form
   ========================================================================== */
.contact-card { display: flex; flex-wrap: wrap; }
.contact-card__aside {
  flex: 1 1 300px;
  background: var(--gray);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-card__label { color: var(--graphite); letter-spacing: .14em; margin: 0 0 8px; }
.contact-card__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
  color: var(--graphite);
  font-style: normal;
}
a.contact-card__value { line-height: 1.6; word-break: break-word; color: var(--blue); }
a.contact-card__value:hover { color: var(--graphite); }
.contact-card__main { flex: 2 1 460px; min-width: 0; padding: clamp(32px, 4vw, 56px); }

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 22px 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full,
.contact-form__foot { grid-column: 1 / -1; }
.field__label { color: var(--graphite); }
.field__input {
  border: 1.5px solid var(--gray);
  background: var(--white);
  padding: 15px 16px;
  font-size: 16px;
  border-radius: 2px;
  outline: none;
  color: var(--graphite);
}
.field__input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--gray); }
textarea.field__input { resize: vertical; }
/* Errors: Brand Blue with a leading marker (the palette has no red). */
.field__error { font-size: 13px; color: var(--blue); font-weight: 700; }
.field__error::before { content: '! '; }
.contact-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.contact-form__note { font-size: 14px; color: var(--graphite); }
.contact-form__submit { padding: 18px 32px; }
.contact-form__submit:hover { transform: translateY(-2px); }

.sent {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 0;
}
.sent__bar { width: 48px; height: 6px; background: var(--blue); }
.sent__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--graphite);
}
.sent__text { margin: 0; font-size: 18px; color: var(--graphite); max-width: 520px; }
.sent__text strong { color: var(--blue); }

/* Graphite outline button (form reset, modal close) */
.btn-outline {
  border: 1.5px solid var(--graphite);
  background: transparent;
  color: var(--graphite);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 0;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--graphite); color: var(--white); }
.btn-outline:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }


/* 16. Contact CTA band
   ========================================================================== */
.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: var(--section-pad) 0;
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.cta-band__text { max-width: 720px; }
.cta-band__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 82%;
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.cta-band__contacts {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 17px;
  color: var(--white);
}
.cta-band__label {
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-right: 10px;
}
.cta-band__link { color: var(--white); }
.cta-band__link:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
/* On the blue band the primary button inverts to White. */
.cta-band__btn { gap: 14px; font-size: 17px; padding: 20px 34px; background: var(--white); color: var(--blue); }
.cta-band__btn:hover { background: var(--graphite); color: var(--white); transform: translateY(-2px); }
.cta-band__btn:focus-visible { outline-color: var(--white); }


/* 17. Footer
   ========================================================================== */
.site-footer {
  background: var(--graphite);
  color: var(--gray);
  padding: clamp(56px, 7vw, 66px) 0 32px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 40px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.site-footer__logo { height: 56px; width: auto; align-self: flex-start; }
/* Footer headings carry the lime title highlight (as .title-hl), sized for
   the small caps label: Graphite text on a lime box. */
.site-footer__heading {
  display: inline-block;
  margin: 0 0 16px;
  /* padding: 3px 8px 2px; */
  /* background: var(--highlight); */
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
}
.site-footer__links { display: flex; flex-direction: column; gap: 8px; }
.site-footer__contact { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.site-footer__link { color: var(--white); font-size: 15px; }
.site-footer__link:hover { color: var(--gray); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__link:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.site-footer__contact .site-footer__link { margin-left: 6px; }
.site-footer__address { font-size: 15px; line-height: 1.7; color: var(--white); font-style: normal; }
.site-footer__bottom {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid rgba(201, 205, 212, .25);   /* Light Gray hairline */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.site-footer__bottom .site-footer__link { font-size: inherit; }


/* 18. Project modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(30, 34, 40, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px);
}
.modal__dialog {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 1040px;
  max-height: 100%;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.modal__photo { position: relative; min-height: 320px; background: var(--gray); }
.modal__body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.modal__close {
  align-self: flex-end;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 9px 14px;
}
.modal__close:focus-visible { outline-offset: 2px; }
.modal .pill { padding: 7px 16px; }
.modal__client { font-size: 15px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 88%;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--graphite);
  text-wrap: balance;
}
.modal__sections { display: flex; flex-direction: column; gap: 18px; }
.modal__sections > .ph-tag { align-self: flex-start; }
.modal__section { display: flex; flex-direction: column; gap: 8px; }
.modal__section-title { margin: 0; color: var(--blue); }
.modal__section-body { margin: 0; font-size: 15px; line-height: 1.65; color: var(--graphite); }
.modal__items { display: flex; flex-direction: column; border-top: 1px solid var(--gray); }
.modal__item { font-size: 14px; color: var(--graphite); padding: 8px 0; border-bottom: 1px solid var(--gray); }
.modal__facts {
  margin: 8px 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--gray);
}
.modal__fact {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray);
  align-items: center;
}
.modal__fact-k { color: var(--graphite); }
.modal__fact-v { margin: 0; font-size: 16px; color: var(--graphite); }


/* 19. Utilities
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* Shared heading style — taken from the Home About title (.home-about__title):
   normal width, regular weight, tight tracking, no uppercase; any .hl phrase
   is bold Brand Blue. Section h2s are a step smaller than the About title,
   card / row h3s smaller again. Colours stay as set per section (e.g. White
   on Brand Blue). Small caps labels (footer, contact card and modal section
   headings) keep their label style.
   ========================================================================== */
.home-services__title,
.featured__title,
.home-cta__title,
.section-title,
.cta-band__title,
.work-empty__title,
.sent__title,
.modal__title,
.svc-cell__name,
.svc-row__name,
.team-card__name,
.affil-item__name {
  font-family: var(--font-display);
  font-stretch: 100%;
  font-weight: 400;
  letter-spacing: -.03em;
  text-transform: none;
}
:is(.home-services__title, .featured__title, .home-cta__title, .section-title, .cta-band__title,
    .work-empty__title, .sent__title, .modal__title, .svc-cell__name, .svc-row__name,
    .team-card__name, .affil-item__name) .hl { font-weight: 700; }

/* Lime highlight on a key phrase in a title — the same treatment as the
   hero's "since 1984": Graphite text on a lime box, same weight as the title. */
.title-hl {
  display: inline-block;
  padding: .02em .12em .06em;
  background: var(--highlight);
  color: var(--highlight-ink);
  font-weight: inherit;
  white-space: nowrap;
}

/* Highlight style — switched from the Design panel (assets/design-panel),
   which sets html[data-highlight-style]. Covers every highlighted phrase:
   hero "since 1984" (.hero__hl) and the section titles (.title-hl).
     behind     (default) Graphite text on a lime box — the rules above
     underline  title-coloured text over a lime bar
     text       no box; the words turn Brand Blue on light sections and lime
                on dark / blue ones, where blue text would not read
     none       no highlight: the phrase reads like the rest of its title */
html[data-highlight-style="underline"] :is(.title-hl, .hero__hl) {
  padding: 0 0 .06em;
  background: linear-gradient(var(--highlight), var(--highlight)) 0 100% / 100% .14em no-repeat;
  color: inherit;
}
html[data-highlight-style="underline"] :is(.hero, .featured, .home-cta__card, .cta-band) :is(.title-hl, .hero__hl) {
  background-image: linear-gradient(var(--highlight-dark), var(--highlight-dark));
}
html[data-highlight-style="text"] :is(.title-hl, .hero__hl) {
  padding: 0;
  background: none;
  color: var(--highlight-text);
}
html[data-highlight-style="text"] :is(.hero, .featured, .home-cta__card, .cta-band) :is(.title-hl, .hero__hl) {
  color: var(--highlight-dark);
}
html[data-highlight-style="none"] :is(.title-hl, .hero__hl) {
  padding: 0;
  background: none;
  color: inherit;
}

/* h2 — every section title shares one size and weight. (The project modal's
   title stays smaller to fit the dialog; small caps label h2s keep their
   label style.) .home-about .home-about__title is listed to match the About
   title's scoped rule. */
.home-about .home-about__title,
.home-services__title,
.featured__title,
.home-cta__title,
.testimonials__title,
.section-title,
.section-title--sm,
.cta-band__title,
.sent__title,
.work-empty__title {
  font-size: clamp(32px, 3.5vw, 50px);   /* 50px on desktop (≥ ~1430px), scales down below */
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.03em;
}
.modal__title { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.12; }

/* h3 — card and row titles (tracking eased a little at small sizes) */
.svc-row__name { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.team-card__name { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -.02em; }
.svc-cell__name,
.affil-item__name { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.2; letter-spacing: -.02em; }


/* 20. Responsive
   ========================================================================== */

/* Keep the footer's "Back to top" clear of the floating home button
   wherever the footer content reaches the right edge of the viewport. */
@media (max-width: 1360px) {
  .site-footer__bottom { padding-right: var(--fab-space); }
}

/* ≤ 992px — tablet: hamburger navigation */
@media (max-width: 992px) {
  ul.svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { display: none; }
  .site-header__mobile { display: flex; }
  .site-header__inner { padding-top: 14px; padding-bottom: 14px; }
  .site-header__logo-img { height: 36px; }
  .site-header.is-solid .site-header__logo-img { height: 32px; }

  ul.featured__track { --per-view: 2; --gap: 20px; }
  .page-hero__art { opacity: .35; }

  /* Hero: text over the photo, the highlights strip below it in the flow. */
  .hero { --hero-pt: 140px; --hero-header-h: 68px; min-height: 0; flex-direction: column; }
  .hero__inner { padding-bottom: clamp(48px, 8vw, 72px); }
  .hero__copy { max-width: 560px; }     /* strip is below the text here */
  .hero__block { height: 62%; }
  ul.hero__highlights { position: relative; width: 100%; }

  /* Testimonials: title, then the card, then the arrows. */
  .testimonials__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "title" "card" "nav";
    row-gap: 32px;
  }
  .testimonials__title { max-width: none; padding-right: 0; }
  .testimonials__nav { align-self: start; }

  /* Footer: a balanced 2 × 2 grid instead of 3 + 1. */
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The menu overlay is a tablet/mobile control only. */
@media (min-width: 993px) {
  .mobile-menu { display: none; }
}

/* ≤ 768px — large phones / small tablets */
@media (max-width: 768px) {
  /* Hero on phones: a full-screen intro. Text, lead and buttons sit at the
     bottom over a scrim that darkens towards them; the blue block becomes a
     slim accent bar on the left edge; the highlights strip is dropped. */
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero__inner { flex: 1; padding-bottom: 40px; }
  ul.hero__highlights { display: none; }
  .hero__block { width: 50px; height: 44%; }
  .hero__bg::after {
    background: linear-gradient(180deg, rgba(30, 34, 40, .5) 0, rgba(30, 34, 40, .3) 30%, rgba(30, 34, 40, .82) 100%);
  }
  .hero__title { font-size: clamp(40px, 11.5vw, 54px); }
  .hero__lead { margin-top: 20px; font-size: 16px; }
  .hero__actions { margin-top: 28px; }

  ul.featured__track { --per-view: 1; }   /* one project per view */

  .split-grid { grid-template-columns: minmax(0, 1fr); }
  .home-about__media {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "team" "site" "stats";
  }
  .home-about__photo--team::before { display: none; }
  .home-about__photo--site::before { display: block; }
  /* Photos stacked: the badge moves to the middle of the gap between them. */
  .about-badge { right: 20px; top: calc(clamp(32px, 3.5vw, 48px) / -2); width: 120px; }
  ul.about-stats { grid-template-columns: minmax(0, 1fr); }
  .about-stats__item { padding: 18px 0; }
  .about-stats__item:first-child { padding-top: 0; }
  .about-stats__item:last-child { padding-bottom: 0; }
  .about-stats__item + .about-stats__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); }

  .modal__fact { grid-template-columns: 120px minmax(0, 1fr); }
  .site-footer__bottom { padding-right: 0; }

  /* CTA: text on top, the building sits lower and fainter behind it. */
  .home-cta__card { min-height: 0; padding-top: 48px; padding-bottom: 40px; }
  .home-cta__art { right: -4%; width: 60%; opacity: .1; }
  .home-cta__grid { -webkit-mask-image: none; mask-image: none; opacity: .6; }
}

/* ≤ 480px — phones */
@media (max-width: 480px) {
  ul.svc-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  /* Stacked service cards: shorter, text still at the bottom. */
  .svc-card,
  .svc-cta { min-height: 220px; }
  /* One card plus a peek of the next; controls span the row, button full width. */
  ul.featured__track { --per-view: 1; --gap: 16px; }   /* one project per view */
  .featured__controls { width: 100%; }
  .featured__progress { flex: 1; }
  .featured__btn { width: 100%; justify-content: center; }

  .btn-primary,
  .site-nav__cta { white-space: normal; }
  .about-card .btn-primary { padding-left: 20px; padding-right: 20px; }

  .hero { --hero-pt: 120px; }
  /* Highlights stack; buttons go full width. */
  ul.hero__highlights { grid-template-columns: minmax(0, 1fr); }
  .hero__highlight + .hero__highlight { border-left: 0; border-top: 1px solid var(--gray); }
  .hero__highlight { padding: 20px 20px 22px; gap: 12px; }
  .hero__actions > a { flex: 1 1 100%; justify-content: center; }
  .modal__fact { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Touch screens — every link and button gets a 44px tall target. */
@media (pointer: coarse) {
  .filter-btn,
  .modal__close,
  .mobile-menu__value {
    min-height: 44px;
    align-items: center;
  }
  .mobile-menu__value { display: inline-flex; }

  /* Inline text links: enlarge the hit area without moving the underline. */
  .site-header__logo,
  .text-link,
  .cta-band__link,
  .home-cta__link,
  .site-footer__link,
  a.contact-card__value { position: relative; }
  .site-header__logo::after,
  .text-link::after,
  .cta-band__link::after,
  .home-cta__link::after,
  .site-footer__link::after,
  a.contact-card__value::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    min-height: 44px;
    height: 100%;
    transform: translateY(-50%);
  }
  .site-footer__links { gap: 0; }
  .site-footer__links .site-footer__link { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition-duration: .01ms !important; }
  .about-badge__ring,
  .mobile-menu,
  .mobile-menu__link,
  .mobile-menu__contact { animation: none; }
}
