/* ============================================================
   Control Logic of Michigan — site.css (ACES-matched architecture)
   Brand tokens sampled from the Aug 2026 clomi-logo.png (blue #2E74A6,
   charcoal #221F1F). The vector logo (Oct 19 2026) uses #1034B8; the site
   palette was kept as approved (lock sheet item 10). Token
   names retain the template's --teal-/--orange- prefixes; values are
   CLOMI blue/charcoal. One edit, sitewide.
   ============================================================ */

/* ---------- Fonts (self-hosted, latin subsets) ---------- */
/* Inter and Inter Tight are variable fonts (wght 100-900). The former per-weight files
   (inter-500/600, inter-tight-600) are byte-identical copies and are no longer referenced
   (Oct 2026, F6) — saves ~142 KB of duplicate downloads per first visit. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-tight-700.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  /* interim brand tokens — swap when official logo/brand assets land */
  --teal-950: #142A3B;
  --teal-900: #1B3B54;
  --teal-700: #205B85;
  --teal-100: #D9E6F0;
  --teal-050: #EFF5FA;
  --orange-500: #2E74A6;
  --orange-600: #26618B;
  --orange-cta: #1F5379;
  --orange-cta-hover: #1A4665;
  --ink: #221F1F;
  --paper: #FAFAF7;
  --stone: #EEF0EE;

  /* derived neutrals */
  --body-c: #3B4249;
  --muted: #5C6873;
  --line: #DDE3E8;
  --ph-line: #C4CDD5;
  --white: #FFFFFF;

  /* on-dark */
  --paper-90: rgba(244, 247, 245, 0.9);
  --paper-75: rgba(244, 247, 245, 0.75);
  --teal-glow: #9DBAD3;

  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --sp-section: clamp(4.5rem, 9vw, 7.25rem);
  --sp-section-sm: clamp(3.25rem, 6vw, 5rem);
  --container: 74rem;
  --shadow-card: 0 1px 2px rgba(27, 59, 84, 0.05), 0 8px 28px rgba(27, 59, 84, 0.07);
  --shadow-float: 0 10px 40px rgba(20, 42, 59, 0.16);
  --dots: radial-gradient(rgba(244, 247, 245, 0.1) 1.2px, transparent 1.2px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; } /* anchors + focused fields land below the 5rem sticky header (Oct 2026) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body-c);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
[hidden] { display: none !important; }
::selection { background: var(--teal-100); color: var(--teal-950); }
:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0.5rem; z-index: 100; background: var(--white); color: var(--teal-900); font-weight: 600; padding: 0.625rem 1rem; border-radius: 6px; box-shadow: var(--shadow-float); }
.skip-link:focus { left: 1rem; }
a[href^="tel:"] { white-space: nowrap; } /* phone numbers never split across lines (V5) */

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 1rem;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 4.2vw, 3.25rem); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.375rem); line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 600; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.1875rem; line-height: 1.55; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.prose { max-width: 46rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.875rem 1.625rem; border-radius: var(--radius-sm);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange-cta); color: #fff; }
.btn--primary:hover { background: var(--orange-cta-hover); color: #fff; }
.btn--secondary { background: transparent; color: var(--teal-900); border-color: var(--teal-900); }
.btn--secondary:hover { background: var(--teal-900); color: var(--paper); }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: rgba(244, 247, 245, 0.55); }
.btn--ghost-light:hover { background: rgba(244, 247, 245, 0.12); color: #fff; border-color: var(--paper); }
.btn--util { padding: 0.5rem 1.125rem; font-size: 0.8125rem; border-radius: 7px; }
.btn--util-alt { background: var(--teal-700); color: var(--paper); }
.btn--util-alt:hover { background: var(--teal-glow); color: var(--teal-950); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; align-items: center; }
@media (max-width: 29.99em) { .btn { max-width: 100%; white-space: normal; text-align: center; } }

/* ---------- Utility bar (tier 1) ---------- */
.util-bar { background: var(--teal-950); }
.util-bar .container { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; padding-block: 0.5rem; }
.util-login {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-right: 0.5rem;
  font-size: 0.8125rem; font-weight: 500; color: var(--paper-75); text-decoration: none; white-space: nowrap;
}
.util-login:hover { color: #fff; text-decoration: underline; }
.util-login svg { width: 12px; height: 12px; }
@media (max-width: 74em) { .util-bar { display: none; } }

/* ---------- Main header (tier 2) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(14, 59, 60, 0.08); }
.header-bar { display: flex; align-items: center; gap: 1rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 2.125rem; height: 2.125rem; border-radius: 8px; flex-shrink: 0; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1rem; white-space: nowrap; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.brand-word em { font-style: normal; font-weight: 600; color: var(--teal-700); }

.site-nav { display: flex; align-items: center; gap: clamp(0.75rem, 1.6vw, 1.75rem); margin-inline: auto; }
.nav-item { position: relative; }
.nav-link, .nav-parent {
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 0.375rem 0; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-parent:hover { color: var(--teal-700); }
.nav-parent { line-height: inherit; }
.nav-link[aria-current="page"], .nav-link.is-active, .nav-parent.is-active { color: var(--teal-700); border-bottom-color: var(--orange-500); }
.nav-caret { width: 0.7rem; height: 0.7rem; transition: transform 160ms ease; }
.nav-item.is-open .nav-caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: calc(100% + 0.625rem); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-float); padding: 0.5rem; min-width: 15.5rem; display: none; z-index: 70;
}
.nav-sub::before { content: ""; position: absolute; top: -0.7rem; left: 0; right: 0; height: 0.7rem; }
.nav-sub a {
  display: block; padding: 0.625rem 0.875rem; border-radius: 7px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-sub a:hover { background: var(--teal-050); color: var(--teal-700); }
.nav-sub a[aria-current="page"] { color: var(--teal-700); background: var(--teal-050); }
.nav-item.is-open > .nav-sub { display: block; }
@media (hover: hover) and (min-width: 74.01em) {
  .nav-item:hover > .nav-sub, .nav-item:focus-within > .nav-sub { display: block; }
}

.dealer-mark { flex-shrink: 0; display: inline-flex; align-items: center; text-decoration: none; }
.dealer-logo { height: 3rem; width: auto; display: block; transition: opacity 160ms ease; }
.dealer-mark:hover .dealer-logo { opacity: 0.75; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

@media (max-width: 74em) {
  .site-nav {
    display: none;
    position: fixed; inset: 5rem 0 0 0; z-index: 55;
    background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
    overflow-y: auto; border-top: 1px solid var(--line); margin: 0;
  }
  .site-nav.is-open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link, .nav-parent {
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
    padding: 0.75rem 0; width: 100%; justify-content: space-between; border-bottom: 0;
  }
  .nav-link[aria-current="page"], .nav-parent.is-active { border-bottom: 0; }
  .nav-sub {
    position: static; transform: none; border: 0; box-shadow: none; background: none;
    padding: 0 0 0.5rem 0.875rem; min-width: 0;
  }
  .nav-sub a { font-size: 1.0625rem; padding: 0.5rem 0.625rem; }
  .mobile-actions { display: grid; gap: 0.75rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
  .mobile-actions .btn { justify-content: center; }
  .mobile-actions .util-login { color: var(--teal-700); justify-content: center; font-size: 1rem; margin: 0; }
  .nav-toggle { display: inline-flex; flex-shrink: 0; order: 3; margin-left: 0; }
  .dealer-mark { margin-left: auto; order: 2; }
  .dealer-logo { height: 2.125rem; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter makes .site-header the containing block for fixed
     descendants — the open nav panel would anchor to the 5rem header and
     clip to a sliver. Drop the filter while the menu is open (bg is ~opaque
     white anyway) so the panel fixes to the viewport. */
  body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (min-width: 74.01em) { .mobile-actions { display: none; } }
@media (max-width: 26em) {
  .header-bar { gap: 0.75rem; }
  .brand-word { font-size: 0.875rem; }
}

/* ---------- Sections & bands ---------- */
.section { padding-block: var(--sp-section); }
.section--sm { padding-block: var(--sp-section-sm); }
.section--white { background: var(--white); }
.section--stone { background: var(--stone); }
.section--tint { background: var(--teal-050); }
.section--dark { background: var(--teal-900); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark { color: var(--paper-75); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Video hero ---------- */
.hero-video { position: relative; overflow: hidden; background: var(--teal-950); color: var(--paper); }
.hero-video video, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fallback { background: linear-gradient(160deg, var(--teal-900), var(--teal-950)); background-image: var(--dots); background-size: 26px 26px; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 44, 45, 0.88) 0%, rgba(9, 44, 45, 0.62) 55%, rgba(9, 44, 45, 0.42) 100%); }
.hero-video .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center; gap: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(4.5rem, 9vw, 7rem);
  padding-bottom: clamp(9rem, 14vw, 11.5rem);
}
.hero-video h1 {
  color: #fff; font-size: clamp(2.75rem, 5.4vw, 4.125rem);
  line-height: 1.03; letter-spacing: -0.035em; margin-bottom: 1.375rem;
}
.hero-video .lead { color: var(--paper-90); font-size: clamp(1.125rem, 1.6vw, 1.3125rem); max-width: 34rem; margin-bottom: 2rem; }
.hero-copy { animation: heroRise 700ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.play-cta {
  justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 1.125rem;
  background: none; border: 0; cursor: pointer; color: var(--paper); text-align: center;
  animation: heroRise 700ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}
.play-ring {
  width: 5.75rem; height: 5.75rem; border-radius: 50%;
  background: rgba(242, 106, 33, 0.18); border: 2px solid var(--orange-500);
  display: grid; place-items: center;
  transition: background-color 180ms ease, transform 180ms ease;
}
.play-ring svg { width: 1.5rem; height: 1.5rem; color: var(--orange-500); margin-left: 0.2rem; transition: color 180ms ease; }
.play-cta:hover .play-ring { background: var(--orange-500); transform: scale(1.05); }
.play-cta:hover .play-ring svg { color: #fff; }
.play-line1 { font-weight: 600; font-size: 0.9375rem; display: block; }
.play-line2 { font-size: 0.8125rem; color: var(--paper-75); display: block; margin-top: 0.2rem; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .hero-video video { display: none; } }
@media (max-width: 61.99em) {
  .hero-video .container { grid-template-columns: 1fr; padding-bottom: clamp(8rem, 18vw, 10rem); }
  .play-cta { justify-self: start; flex-direction: row; text-align: left; gap: 1rem; }
  .play-ring { width: 4.25rem; height: 4.25rem; flex-shrink: 0; }
}

/* ---------- Overlap card ---------- */
.overlap-wrap { position: relative; z-index: 5; margin-top: clamp(-8.5rem, -10vw, -5.5rem); }
.overlap-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-float);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.slogan {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.12; letter-spacing: -0.025em;
  margin: 0; text-wrap: balance;
}
.slogan .t1 { color: var(--teal-900); }
.slogan .t2 { color: var(--orange-500); }
.overlap-copy { border-left: 1px solid var(--line); padding-left: clamp(1.75rem, 4vw, 3.5rem); }
.overlap-copy p { font-size: 1rem; }
.overlap-copy strong { color: var(--ink); }
@media (max-width: 61.99em) {
  .overlap-card { grid-template-columns: 1fr; }
  .overlap-copy { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.5rem; }
}

/* ---------- Credibility strip ---------- */
.cred-strip ul {
  list-style: none; margin: 0; padding: 1.5rem 0 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  column-gap: 1.375rem; row-gap: 0.5rem;
}
.cred-strip li {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-700); display: inline-flex; align-items: center; gap: 1.375rem;
}
.cred-strip li + li::before { content: "·"; color: var(--orange-500); font-size: 1.125rem; line-height: 1; }
@media (max-width: 35.99em) {
  .cred-strip ul { flex-direction: column; row-gap: 0.375rem; }
  .cred-strip li + li::before { content: none; }
}
/* Tablets: the four items wrap, so a dotted line would start with a stray "·" — show a 2×2
   grid without dots until all four fit on one line (about 1090 px; Oct 2026 fix round) */
@media (min-width: 36em) and (max-width: 71.24em) {
  .cred-strip ul { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; column-gap: 2.75rem; row-gap: 0.5rem; }
  .cred-strip li + li::before { content: none; }
}

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev > .split-media { order: 2; }
.split h2 { margin-bottom: 0.875rem; }
.split .btn-row { margin-top: 1.75rem; }
@media (max-width: 61.99em) {
  .split { grid-template-columns: 1fr; gap: 1.75rem; }
  .split--rev > .split-media { order: 0; }
}
.split--top { align-items: start; } /* columns align at the top (About: Safety | Credentials, V2) */

/* ---------- Checkmark band ---------- */
.check-band { position: relative; background: linear-gradient(150deg, var(--teal-900) 15%, var(--teal-950)); overflow: hidden; }
.check-band::before { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 26px 26px; opacity: 0.6; }
.check-band .container { position: relative; }
.check-band h2 { text-align: center; color: #fff; }
.check-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.375rem 3rem;
  max-width: 62rem; margin: clamp(2rem, 4vw, 3rem) auto 0;
}
.check-item { display: flex; gap: 0.875rem; align-items: flex-start; color: var(--paper-75); font-size: 0.9875rem; line-height: 1.55; }
.check-item svg { width: 1.375rem; height: 1.375rem; flex-shrink: 0; color: var(--orange-500); margin-top: 0.1em; }
.check-item strong { color: #fff; }
.band-action { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 47.99em) { .check-grid { grid-template-columns: 1fr; } }

/* ---------- Dark photo band ---------- */
.photo-band { position: relative; background: linear-gradient(120deg, var(--teal-950) 20%, var(--teal-900)); color: var(--paper-75); }
.photo-band::before { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 26px 26px; opacity: 0.5; }
.photo-band .container { position: relative; }
.photo-band h2 { color: #fff; }
.photo-band strong { color: #fff; }
.photo-band a { color: var(--teal-glow); }
.photo-band a:hover { color: #fff; }

/* ---------- Global CTA band ---------- */
.cta-global {
  position: relative; color: var(--paper-75); text-align: center;
  background: linear-gradient(rgba(20, 42, 59, 0.88), rgba(27, 59, 84, 0.9)), url('../img/cta-band-floorplan.webp') center / auto 100% no-repeat #000; /* interim photo-band image: floor-plan crop of the ALC demo thermographic (no arrows, labels or building title — V10, Oct 2026); swap with a CLOMI photo when supplied. Sized to the band's height so the plan is never sliced top and bottom on wide screens; its edges are pure black, so the #000 fill beside it is seamless (Oct 2026 fix round) */
}
.cta-global .container { position: relative; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-global h2 { color: #fff; max-width: 42rem; margin-inline: auto; }
.cta-global .btn-row { justify-content: center; margin-top: 1.875rem; }

/* ---------- Inner-page banner ---------- */
.banner { position: relative; background: linear-gradient(160deg, var(--teal-900), var(--teal-950)); color: var(--paper); overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 26px 26px; opacity: 0.55; }
.banner .container { position: relative; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.banner-label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-glow); margin-bottom: 0.875rem; }
.banner h1 { color: #fff; max-width: 52rem; margin-bottom: 0.875rem; }
.banner .lead { color: var(--paper-90); max-width: 42rem; margin: 0; }

/* ---------- Accordion ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.accordion details + details { border-top: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.375rem 1.625rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem;
  letter-spacing: -0.01em; color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--teal-700); }
.acc-icon { flex-shrink: 0; width: 1.375rem; height: 1.375rem; color: var(--orange-500); transition: transform 180ms ease; }
.accordion details[open] > summary { color: var(--teal-700); }
.accordion details[open] > summary .acc-icon { transform: rotate(45deg); }
.acc-body { padding: 0.25rem 1.625rem 1.75rem; }
.acc-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: center; }
@media (max-width: 47.99em) { .acc-split { grid-template-columns: 1fr; } }

/* ---------- Ring stats ---------- */
.ring-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; text-align: center; }
.ring {
  width: 10rem; height: 10rem; border-radius: 50%; margin-inline: auto;
  background: conic-gradient(var(--orange-500) 0 268deg, var(--teal-100) 268deg 360deg);
  display: grid; place-items: center; position: relative;
}
.ring::before { content: ""; position: absolute; inset: 0.625rem; border-radius: 50%; background: var(--white); }
.ring-value { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 2.125rem; letter-spacing: -0.03em; color: var(--teal-900); }
.ring-label { margin-top: 1.125rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 35.99em) { .ring-stats { grid-template-columns: 1fr; } }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.875rem; }
.feature-list li { position: relative; padding-left: 1.75rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.875rem; height: 3px; border-radius: 2px; background: var(--orange-500);
}
.feature-list strong { color: var(--ink); }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.375rem; }
@media (max-width: 61.99em) { .cards-3 { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }
.project-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.project-card:hover { border-color: var(--teal-700); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.project-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.chip {
  align-self: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-050); border-radius: 999px; padding: 0.25rem 0.75rem;
}
.project-card h3 { margin: 0.25rem 0 0; font-size: 1.25rem; }
.project-card p { font-size: 0.9375rem; line-height: 1.55; margin: 0; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.375rem; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.625rem 1.5rem;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.service-card:hover { border-color: var(--teal-700); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.service-card h3 { margin-bottom: 0.375rem; }
.service-card h3::before { content: ""; display: block; width: 1.375rem; height: 3px; border-radius: 2px; background: var(--orange-500); margin-bottom: 1rem; }
.service-card p { font-size: 0.9375rem; line-height: 1.55; margin: 0; color: var(--body-c); }
@media (max-width: 61.99em) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 35.99em) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Duo grid ---------- */
.duo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.375rem; }
@media (max-width: 47.99em) { .duo-grid { grid-template-columns: 1fr; } }

/* ---------- Sector grid ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.125rem; }
.sector-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.375rem 1.5rem; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
  letter-spacing: -0.01em; color: var(--ink); text-decoration: none; display: block;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
a.sector-tile:hover { border-color: var(--teal-700); color: var(--teal-700); transform: translateY(-2px); box-shadow: var(--shadow-card); }
@media (max-width: 61.99em) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 35.99em) { .sector-grid { grid-template-columns: 1fr; } }

/* ---------- Placeholder tile (client-facing, intentional) ---------- */
.ph-tile {
  border: 2px dashed var(--ph-line); border-radius: var(--radius); background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.625rem;
  text-align: center; padding: 2rem 1.5rem; aspect-ratio: 16 / 10; width: 100%;
}
.ph-tile svg { width: 1.75rem; height: 1.75rem; color: var(--ph-line); }
.ph-kind { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.ph-desc { font-size: 0.9375rem; font-weight: 500; color: var(--body-c); max-width: 24rem; line-height: 1.45; }
.ph-tile--wide { aspect-ratio: 21 / 9; max-height: 24rem; }
.ph-tile--card { border-radius: 0; border-width: 0 0 2px 0; aspect-ratio: 16 / 9.5; padding: 1.5rem 1.25rem; }
.ph-tile--person { aspect-ratio: auto; min-height: 11rem; }
.section--stone .ph-tile, .section--tint .ph-tile { background: var(--paper); }

/* ---------- Media images (interim + final imagery slots) ---------- */
.media-img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.media-img--card { width: 100%; height: 15rem; object-fit: cover; display: block; border-bottom: 2px solid var(--line); }
.anon-panel {
  height: 15rem; width: 100%;
  background: linear-gradient(150deg, var(--teal-900), var(--teal-950));
  border-bottom: 2px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  color: var(--teal-glow); text-align: center; padding: 1.5rem;
}
.anon-panel svg { width: 1.875rem; height: 1.875rem; }
.anon-panel span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.credit-line { font-size: 0.75rem; color: var(--muted); margin-top: 1.25rem; }

/* ---------- Team cards (role-led; names land at content lock) ---------- */
.team-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.625rem; display: grid; gap: 0.375rem; justify-items: start;
}
.team-avatar {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--teal-050); color: var(--teal-700);
  display: grid; place-items: center; margin-bottom: 0.625rem;
}
.team-avatar svg { width: 1.625rem; height: 1.625rem; }
.team-card h3 { margin: 0; }
.team-role { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-700); }
.team-card p { font-size: 0.9375rem; line-height: 1.55; margin: 0; }

/* ---------- Testimonial (built, ships hidden until content lands) ---------- */
.testimonial { max-width: 50rem; margin-inline: auto; text-align: center; }
.testimonial blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.4; letter-spacing: -0.015em; color: var(--ink);
}
.testimonial blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: 0.6; color: var(--orange-500); margin-bottom: 1rem; }
.testimonial figcaption { margin-top: 1.25rem; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }

/* ---------- Values band ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.375rem; }
.value-tile { border-top: 3px solid var(--orange-500); padding-top: 1.25rem; }
.value-tile h3 { font-size: 1.1875rem; margin-bottom: 0.375rem; }
.value-tile p { font-size: 0.9375rem; line-height: 1.55; margin: 0; }
@media (max-width: 47.99em) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.125rem; }
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.75rem 0.875rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--teal-700); outline-offset: 0; border-color: var(--teal-700);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; margin-top: 0.375rem; }
.form-note { grid-column: 1 / -1; font-size: 0.875rem; color: var(--muted); margin: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-success {
  background: var(--teal-050); border: 1px solid var(--teal-100); border-radius: var(--radius);
  padding: 2rem 1.75rem; font-size: 1.125rem; font-weight: 500; color: var(--teal-950);
}
.form-error { grid-column: 1 / -1; color: #A63A11; font-size: 0.9375rem; font-weight: 500; margin: 0; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-card); }
@media (max-width: 35.99em) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 61.99em) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.375rem; }
.contact-item { display: grid; gap: 0.25rem; }
.contact-item .label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.contact-item .value { font-size: 1.0625rem; font-weight: 500; color: var(--ink); }
.contact-item .value a { color: var(--teal-700); text-decoration: none; }
.contact-item .value a:hover { text-decoration: underline; }
.contact-sub { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { width: 100%; height: 18rem; border: 0; }

/* ---------- Emergency band ---------- */
.emergency-band { background: var(--teal-050); border: 1px solid var(--teal-100); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.emergency-band p { margin: 0; font-size: 1.0625rem; color: var(--teal-950); }
.emergency-band strong { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.emergency-band a { color: var(--teal-700); text-decoration: none; font-weight: 600; }
.emergency-band a:hover { text-decoration: underline; }

/* ---------- Customer access (gate pages) ---------- */
.gate-wrap { max-width: 34rem; margin-inline: auto; }
.gate-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem 2rem; box-shadow: var(--shadow-card); }
.link-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem; text-decoration: none; font-weight: 600; color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.link-list a:hover { border-color: var(--teal-700); color: var(--teal-700); box-shadow: var(--shadow-card); transform: translateY(-1px); }
.link-list a::after { content: "→"; color: var(--orange-500); font-weight: 600; }
.gate-note { font-size: 0.875rem; color: var(--muted); margin-top: 1.5rem; }

/* ---------- Video lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 68rem); width: 100%; }
.lightbox::backdrop { background: rgba(9, 44, 45, 0.88); }
.lightbox-inner { position: relative; }
.lightbox video { width: 100%; border-radius: 12px; background: #000; }
.lightbox-close {
  position: absolute; top: -2.75rem; right: 0; background: none; border: 0; cursor: pointer;
  color: var(--paper); font-size: 1rem; font-weight: 600; font-family: var(--font-body);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.lightbox-close:hover { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-950); border-top: 1px solid rgba(244, 247, 245, 0.14); color: var(--paper-75); font-size: 0.9375rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
.site-footer .brand-word { color: var(--paper); }
.site-footer .brand-word em { color: var(--teal-glow); }
.footer-blurb { margin-top: 1.125rem; font-size: 0.9375rem; line-height: 1.6; max-width: 24rem; }
.footer-col h3 { color: var(--paper); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.125rem; }
.f-rows { display: grid; gap: 0.75rem; }
.f-row { display: flex; gap: 0.7rem; align-items: flex-start; }
.f-row svg { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--teal-glow); margin-top: 0.25rem; }
.f-row a { color: var(--paper-90); text-decoration: none; font-weight: 500; }
.f-row a:hover { color: #fff; text-decoration: underline; }
.footer-dealer a { display: inline-block; }
.footer-dealer img { width: 12.5rem; height: auto; }
.footer-bottom {
  border-top: 1px solid rgba(244, 247, 245, 0.14); padding-block: 1.5rem;
  font-size: 0.8125rem; color: rgba(244, 247, 245, 0.6);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
}
.footer-bottom a { color: rgba(244, 247, 245, 0.7); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 61.99em) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.page-404 h1 { margin-bottom: 1rem; }
.page-404 .btn-row { justify-content: center; margin-top: 2rem; }
.page-404 nav ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; }
.page-404 nav a { font-weight: 500; }

/* ---------- Privacy / longform ---------- */
.longform h2 { font-size: 1.375rem; margin-top: 2.5rem; }
.longform h2:first-of-type { margin-top: 0; }
.longform ul { padding-left: 1.25rem; }
.longform li { margin-bottom: 0.375rem; }

/* ---------- CLOMI additions (build 2026-08) ---------- */
.util-note { color: var(--paper-75); font-size: 0.8125rem; margin-right: auto; }
@media (max-width: 47.99em) { .util-note { display: none; } }
.brand-logo { height: 2.5rem; width: auto; display: block; } /* vector logo (clomi-logo-v2.svg, Oct 19 2026) at the same 40px height the old 288×90 PNG had */
.footer-logo { width: 11rem; height: auto; display: block; } /* all-white one-colour logo (clomi-logo-v2-white.svg) */
@media (max-width: 61.99em) { .brand-logo { height: 2rem; } }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1.375rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 61.99em) { .card-grid, .card-grid--3 { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }
a.service-card--link { text-decoration: none; color: inherit; display: block; transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
a.service-card--link:hover { border-color: var(--teal-700); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.card-more { display: inline-block; margin-top: 0.75rem; color: var(--teal-700); font-weight: 600; font-size: 0.9375rem; }
.section-lead { max-width: 44rem; color: var(--muted); margin-bottom: 2rem; }
.muted-note { color: var(--muted); font-size: 0.9375rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 61.99em) { .form-cols { grid-template-columns: 1fr; } }
.urgent-note { background: var(--teal-050); border-left: 4px solid var(--orange-cta); padding: 0.875rem 1.125rem; border-radius: var(--radius-sm); }
.cta-global .cta-sub { color: var(--paper-90); max-width: 38rem; margin: 0.75rem auto 1.75rem; }
.split--reverse > .split-copy { order: 2; }
.split--reverse > .split-media { order: 1; }
@media (max-width: 61.99em) { .split--reverse > .split-copy, .split--reverse > .split-media { order: initial; } }
.feature-stack { margin-top: 2.5rem; }

/* ---------- Mobile menu mechanics v2 (animated icon + panel) ---------- */
.nav-toggle { flex-direction: column; justify-content: center; align-items: center; min-width: 2.75rem; min-height: 2.75rem; }
.nav-toggle .nt-bar {
  display: block; width: 1.375rem; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform 280ms ease, opacity 200ms ease;
}
.nav-toggle .nt-bar + .nt-bar { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .nt-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nt-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nt-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 74em) {
  /* animate the panel: keep it in the layout (flex) and fade/slide it in,
     instead of display:none toggling */
  .site-nav {
    display: flex;
    visibility: hidden; opacity: 0; transform: translateY(-0.625rem);
    transition: opacity 280ms ease, transform 280ms ease, visibility 0s linear 280ms;
  }
  .site-nav.is-open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity 280ms ease, transform 280ms ease;
  }
  .site-nav .nav-item, .site-nav .mobile-actions {
    opacity: 0; transform: translateY(-0.375rem);
    transition: opacity 300ms ease, transform 300ms ease;
  }
  .site-nav.is-open .nav-item, .site-nav.is-open .mobile-actions { opacity: 1; transform: none; }
  .site-nav.is-open .nav-item:nth-child(1) { transition-delay: 40ms; }
  .site-nav.is-open .nav-item:nth-child(2) { transition-delay: 80ms; }
  .site-nav.is-open .nav-item:nth-child(3) { transition-delay: 120ms; }
  .site-nav.is-open .nav-item:nth-child(4) { transition-delay: 160ms; }
  .site-nav.is-open .nav-item:nth-child(5) { transition-delay: 200ms; }
  .site-nav.is-open .nav-item:nth-child(n+6) { transition-delay: 240ms; }
  .site-nav.is-open .mobile-actions { transition-delay: 280ms; }
}

/* ---------- Motion polish v3 (MyPaybuddy-style micro-interactions + reveals) ---------- */
:root { --ease-std: cubic-bezier(.4, 0, .2, 1); --ease-out: cubic-bezier(.22, .61, .36, 1); }

/* Buttons: lift on hover, settle on press */
.btn {
  transition: background-color 180ms var(--ease-std), border-color 180ms var(--ease-std),
              color 180ms var(--ease-std), transform 180ms var(--ease-std), box-shadow 180ms var(--ease-std);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(20, 42, 59, 0.16); }
.btn:active { transform: translateY(0) scale(0.985); box-shadow: none; }
.btn--ghost-light:hover, .btn--util:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22); }

/* Nav links: smooth color shifts */
.nav-link, .nav-parent, .site-footer a, .util-bar a { transition: color 160ms var(--ease-std), background-color 160ms var(--ease-std), opacity 160ms var(--ease-std); }

/* Desktop dropdowns: fade + rise instead of snapping */
@media (min-width: 74.01em) {
  .nav-sub {
    display: block;
    visibility: hidden; opacity: 0; transform: translateX(-50%) translateY(8px);
    transition: opacity 200ms var(--ease-std), transform 200ms var(--ease-std), visibility 0s linear 200ms;
  }
  .nav-item.is-open > .nav-sub,
  .nav-item:hover > .nav-sub,
  .nav-item:focus-within > .nav-sub {
    visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0);
    transition: opacity 200ms var(--ease-std), transform 200ms var(--ease-std);
  }
  .nav-sub a { transition: background-color 150ms var(--ease-std), color 150ms var(--ease-std); }
}
/* Dropdown dismissed by a click on one of its links or by Esc (site.js): hidden until the
   pointer leaves the item or keyboard focus comes back into it (Oct 2026, WCAG 1.4.13) */
@media (min-width: 74.01em) {
  .nav-item.is-dismissed > .nav-sub { visibility: hidden; opacity: 0; }
}

/* Card hovers: unify timing with the system easing */
.service-card, a.service-card--link, .project-card {
  transition: border-color 200ms var(--ease-std), transform 200ms var(--ease-std), box-shadow 200ms var(--ease-std);
}

/* Hero + banner entrance (CSS-only, runs on load) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .banner h1, .banner .lead {
    opacity: 0; transform: translateY(1.25rem);
    animation: rise-in 700ms var(--ease-out) forwards;
  }
  .hero-copy > *:nth-child(2), .banner .lead { animation-delay: 130ms; }
  .hero-copy > *:nth-child(3) { animation-delay: 260ms; }
}
@keyframes rise-in { to { opacity: 1; transform: none; } }

/* Scroll reveals — gated on html.js so content never hides without JS */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0; transform: translateY(1.5rem);
    transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
  }
  html.js [data-reveal].is-visible { opacity: 1; transform: none; }
  html.js [data-reveal-stagger] > * {
    opacity: 0; transform: translateY(1.25rem);
    transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  }
  html.js [data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
  html.js [data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 70ms; }
  html.js [data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 140ms; }
  html.js [data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 210ms; }
  html.js [data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 280ms; }
  html.js [data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 350ms; }
  html.js [data-reveal-stagger].is-visible > *:nth-child(n+7) { transition-delay: 420ms; }
}
/* A section opened by its #id (a direct link, a bookmark) shows at once, without the rise: the
   browser scrolls to it while the reveal still holds it lower, and it would then slide up under
   the sticky header (Oct 2026 fix round) */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal]:is(:target, :has(:target)),
  html.js [data-reveal-stagger] > :is(:target, :has(:target)) { opacity: 1; transform: none; transition: none; }
}

/* ---------- Curt round (Oct 2026) ---------- */
/* Click-to-enlarge screenshots (V12): plain links to the full-size file, no JS */
.media-zoom { display: block; position: relative; border-radius: var(--radius); }
.media-zoom::after {
  content: ""; position: absolute; right: 0.5rem; bottom: 0.5rem; width: 1.875rem; height: 1.875rem;
  border-radius: 50%; background: rgba(20, 42, 59, 0.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 1.125rem no-repeat;
  opacity: 0.85; transition: opacity 160ms var(--ease-std), transform 160ms var(--ease-std);
}
.media-zoom:hover::after, .media-zoom:focus-visible::after { opacity: 1; transform: scale(1.06); }
.media-zoom--tr::after { top: 0.5rem; bottom: auto; } /* live-logic diagram: badge in its empty top-right corner, clear of the blocks */
@media (max-width: 35.99em) { .media-zoom--tr::after { top: 0.25rem; right: 0.25rem; width: 1.125rem; height: 1.125rem; background-size: 0.75rem; } }
.media-zoom-note { font-size: 0.8125rem; color: var(--muted); margin: 0.625rem 0 0; }

/* Google maps that load only when scrolled into view (Westin, Oct 8 2026 — plan 9.8).
   The slot keeps its size before and after the map loads, so nothing shifts. */
.map-slot {
  position: relative; height: 26rem; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--teal-050);
}
@media (max-width: 47.99em) { .map-slot { height: 22rem; } }
.map-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.875rem; padding: 1.5rem; text-align: center;
  background-image: radial-gradient(rgba(32, 91, 133, 0.12) 1.2px, transparent 1.2px); background-size: 22px 22px;
}
.map-ph svg { width: 2rem; height: 2rem; color: var(--orange-cta); }
.map-ph-addr { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.5; }
.map-ph-addr strong { font-family: var(--font-display); font-weight: 700; }
.map-ph-actions { margin: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; justify-content: center; }
.map-ph-actions a { font-weight: 600; }
.map-show { padding: 0.625rem 1.25rem; font-size: 0.9375rem; }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; transition: opacity 320ms var(--ease-std); }
.map-frame.is-ready { opacity: 1; pointer-events: auto; }
.map-frame--mymaps { top: -4.25rem; bottom: auto; height: calc(100% + 4.25rem); } /* crop the My Maps title bar (owner name) */
.media-wide { margin-top: clamp(2rem, 4vw, 3rem); }
.split-kicker { margin-top: 0.5rem; }
/* Projects & Industries tiles (V3; Oct 19 2026 every tile is one brochure link): Office +
   Industrial (a.service-card--link.service-card--wide) span two columns (2+4+4 at 1280, rows of
   2 at 1024, one column below 992px); link labels sit on a common baseline at the bottom.
   The grid opens the page, so it gets the same 2rem under its heading as Featured Projects. */
.card-grid--industries { margin-top: 2rem; }
.card-grid--industries > .service-card { display: flex; flex-direction: column; }
.card-grid--industries .card-more { margin-top: auto; padding-top: 0.75rem; }
.service-card .card-links { margin: auto 0 0; padding-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.card-links .card-more { margin-top: 0; padding-top: 0; text-decoration: none; }
.card-links .card-more:hover { text-decoration: underline; color: var(--teal-900); }
@media (min-width: 62em) { .card-grid--industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 71.25em) {
  .card-grid--industries { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-grid--industries > .service-card--wide { grid-column: span 2; }
}
/* Training (T1, V9, F3/F8) — schedule table retired Oct 19 2026 (call to enroll) */
/* Footer "All locations" row, aligned with the address text (S6) */
.f-row--sub { padding-left: 1.7rem; margin-top: -0.25rem; }
.f-row--sub a { font-weight: 600; }
/* Contact: the four offices (K2b, V5) */
.loc-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; line-height: 1.5; }
.loc-list strong { font-family: var(--font-display); color: var(--ink); }
@media (max-width: 35.99em) { .loc-list { grid-template-columns: 1fr; } }
/* Locations page (K2a): cards beside one live map; Locate buttons repoint the map (9.8) */
.loc-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; margin-top: 2rem; }
.loc-cards { display: grid; gap: 1rem; }
.loc-card { padding: 1.375rem 1.5rem; }
.loc-card h3 { margin-bottom: 0.25rem; }
.loc-card h3::before { margin-bottom: 0.75rem; }
.service-card .loc-addr { margin: 0; font-size: 1rem; color: var(--ink); }
.service-card .loc-mailing { margin-top: 0.375rem; font-size: 0.9375rem; color: var(--body-c); }
.service-card .loc-links { margin: 0.75rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.loc-links a { font-weight: 600; text-decoration: none; }
.loc-links a:hover { text-decoration: underline; }
.loc-locate, .loc-all {
  font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; line-height: 1.2; cursor: pointer;
  border: 1.5px solid var(--teal-700); color: var(--teal-700); background: transparent; border-radius: 999px; padding: 0.375rem 0.875rem;
  transition: background-color 160ms var(--ease-std), color 160ms var(--ease-std);
}
.loc-locate:hover, .loc-all:hover { background: var(--teal-050); }
.loc-locate[aria-pressed="true"], .loc-all[aria-pressed="true"] { background: var(--teal-700); color: #fff; }
.loc-all { margin-top: 0.875rem; }
.loc-map { position: sticky; top: 6.5rem; }
.map-slot--tall { height: 34rem; }
.loc-after { margin-top: 2rem; max-width: 46rem; }
@media (min-width: 36em) and (max-width: 61.99em) { .loc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 61.99em) {
  .loc-grid { grid-template-columns: 1fr; }
  .loc-map { position: static; }
  .map-slot--tall { height: 26rem; }
}
@media (max-width: 47.99em) { .map-slot--tall { height: 22rem; } }

/* ---------- Privacy Settings (cookie consent, Oct 20 2026) ----------
   A slim bar on the first visit (Westin: as small as possible); the full box opens only from
   "Settings" or the footer's "Privacy Settings". Below the mobile menu (z 55) so an open menu covers it. */
.prose ul { margin: 0 0 1.15em; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.consent-reopen { background: none; border: 0; padding: 0; font: inherit; color: rgba(244, 247, 245, 0.7); text-decoration: underline; cursor: pointer; }
.consent-reopen:hover { color: #fff; }
.consent-bar, .consent-box { position: fixed; z-index: 50; background: var(--white); color: var(--body-c); font-size: 0.875rem; line-height: 1.45; }
.consent-bar { left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(20, 42, 59, 0.08); }
.consent-bar-in { max-width: var(--container); margin-inline: auto; padding: 0.625rem clamp(1.25rem, 4vw, 2.5rem); display: flex; align-items: center; gap: 1.25rem; }
.consent-bar p { margin: 0; flex: 1; }
.consent-bar a, .consent-box .consent-links a { color: var(--teal-900); text-decoration: underline; font-weight: 500; }
.consent-bar a { white-space: nowrap; }
.consent-bar-btns { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.consent-bar .btn, .consent-box .btn { padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: 8px; }
.consent-bar .btn { min-width: 6.5rem; }
.consent-link { background: none; border: 0; padding: 0.5rem; font: inherit; font-weight: 600; color: var(--teal-900); text-decoration: underline; cursor: pointer; }
.consent-box { left: 1.25rem; bottom: 1.25rem; width: min(28rem, calc(100vw - 2.5rem)); max-height: calc(100vh - 2.5rem); overflow-y: auto;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-float); padding: 1.25rem 1.25rem 1.125rem; }
.consent-box h2 { font-size: 1.25rem; margin: 0 0 0.5rem; outline: none; }
.consent-box p { margin: 0 0 0.75rem; }
.consent-switches { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin: 0 0 0.75rem; }
.consent-switch { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--ink); }
.consent-toggle { position: relative; width: 2.75rem; height: 1.5rem; flex-shrink: 0; border: 0; border-radius: 99px; padding: 0; background: #8A96A1; cursor: pointer; }
.consent-toggle[aria-checked="true"] { background: var(--orange-cta); }
.consent-toggle:disabled { cursor: not-allowed; opacity: 0.55; }
.consent-knob { position: absolute; top: 0.1875rem; left: 0.1875rem; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: #fff; transition: transform 160ms var(--ease-std); }
.consent-toggle[aria-checked="true"] .consent-knob { transform: translateX(1.25rem); }
.consent-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.consent-box-btns { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0.5rem; }
.map-consent-note { margin: 0; max-width: 22rem; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 47.99em) {
  .consent-bar-in { display: block; padding: 0.75rem 1rem; }
  .consent-bar p { margin-bottom: 0.5rem; }
  .consent-bar-btns { justify-content: flex-end; }
  .consent-bar .btn { min-width: 0; }
  .consent-bar .consent-link { margin-right: auto; padding-left: 0; }
  .consent-box { left: 0; right: 0; bottom: 0; width: auto; max-height: 85vh; border-radius: var(--radius) var(--radius) 0 0; border-width: 1px 0 0; padding: 1.125rem 1rem 1rem; }
  .consent-box-btns { grid-template-columns: 1fr 1fr; }
  .consent-box-btns [data-consent="save"] { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .consent-knob { transition: none; } }
@media print { .consent-bar, .consent-box { display: none !important; } }
