/*!
 * Copyright (c) 2026 Elite Connect LLC. All rights reserved.
 * Proprietary — not licensed for reuse. See LICENSE.
 * eliteconnectva.com | Virginia Beach, VA
 */
/* ==========================================================================
   Elite Connect LLC — site.css
   Direction: light & premium. White ground, generous air, photography leads.
   Palette taken from the client's own artwork:
     navy  #10273B (logo wordmark) / #001A49 (service graphics)
     steel #79ADD3 (logo shield)
     blue  #0077FE (service graphics accent)
   ========================================================================== */

:root {
  /* grounds */
  --paper:      #ffffff;
  --mist:       #f2f7fb;   /* cool gray, biased toward the accent */
  --mist-2:     #e7eff7;
  --ink:        #0b1d33;   /* dark bands + footer */
  --ink-2:      #12294a;

  /* brand */
  --navy:       #0e2440;   /* headings */
  --navy-soft:  #1b3a63;
  --blue:       #0062d6;   /* accent — AA on white */
  --blue-hi:    #0077fe;   /* from the service graphics */
  --blue-deep:  #0a4ba3;
  --steel:      #79add3;
  --steel-soft: #cfe2f2;

  /* text */
  --on-paper:     #0b1d33;
  --on-paper-mut: #4d6b87;
  --on-paper-dim: #6b8499;
  --on-ink:       #eef4fa;
  --on-ink-mut:   #a9c1d6;
  --on-ink-dim:   #7e9bb4;

  /* semantic */
  --ok:      #12996b;
  --edge:    #dce6f0;
  --edge-2:  #eaf1f7;
  --edge-ink: rgba(169,193,214,.2);

  /* type */
  /* Three families, three jobs. Zilla Slab carries the voice, Libre Franklin
     does the reading, Roboto Mono is reserved for things a buyer can verify.
     None of them echo the squared ELITE wordmark, so the logo stays the only
     wide geometric mark on the page.
     The heading face is a SLAB on purpose: every neutral geometric sans on
     the free shelf (Inter, Work Sans, Plex, Poppins) reads as generated,
     because that is what generated sites are built from. A slab reads as
     trade -- equipment plates, tool catalogs, signage.
     Libre Franklin descends from Franklin Gothic, the face of American
     newspaper and signage work for a century, so the body has grit rather
     than the neutrality of a corporate screen sans. */
  --f-display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --f-body:    "Libre Franklin", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono:    "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* scale */
  --step-0:  clamp(1rem, .97rem + .16vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.08rem + .34vw, 1.34rem);
  --step-2:  clamp(1.4rem, 1.25rem + .72vw, 1.85rem);
  --step-3:  clamp(1.75rem, 1.45rem + 1.35vw, 2.6rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.3vw, 3.5rem);
  --step-5:  clamp(2.35rem, 1.7rem + 2.9vw, 3.95rem);

  /* space */
  --gap:   1.4rem;
  --pad-x: clamp(1.15rem, 4vw, 3rem);
  --band:  clamp(3.75rem, 7vw, 7rem);
  --wrap:  1220px;
  --prose: 66ch;
  /* Square. Rounded corners on every surface are the loudest tell of a
     generated site; drawings, submittals and test reports have square edges. */
  --r:     0;
  --r-lg:  0;
  --r-sm:  0;

  /* Structure comes from hairline rules, not from floating things on shadows.
     What is left is only enough to lift a menu off the page beneath it. */
  --shadow-sm: none;
  --shadow:    none;
  --shadow-lg: 0 12px 32px rgba(11,29,51,.13);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--on-paper);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.68;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; }
button { font: inherit; }
h1,h2,h3,h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.06; margin: 0;
              text-wrap: balance; letter-spacing: -.015em; color: var(--navy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
::selection { background: var(--steel-soft); color: var(--navy); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.wrap--narrow { max-width: 880px; }
.band { padding-block: var(--band); position: relative; }
.band--tight { padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.band--mist { background: var(--mist); }
.band--ink { background: var(--ink); color: var(--on-ink); }
.band--ink h1,.band--ink h2,.band--ink h3,.band--ink h4 { color: #fff; }
.band--ink .lede, .band--ink .muted { color: var(--on-ink-mut); }

/* the one structural motif kept from the trade: T568B pair colors */
.pairline { height: 3px; display: flex; width: 100%; }
.pairline i { flex: 1; display: block; }
.pairline i:nth-child(1){ background: #1f5fd0; }
.pairline i:nth-child(2){ background: #ff8a3d; }
.pairline i:nth-child(3){ background: #23a06a; }
.pairline i:nth-child(4){ background: #8a5a3c; }

/* ---------- type helpers ---------- */
/* Section labels pick up the squared, wide-tracked character of the ELITE
   wordmark. This is the one place the page echoes the logo — the headings
   deliberately do not, so the mark stays the only wide geometric thing. */
.eyebrow {
  font-family: var(--f-mono); font-weight: 500; font-size: .68rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--blue);
  margin: 0 0 1.15rem; display: block;
  padding-bottom: .55rem; border-bottom: 1px solid var(--edge);
}
.band--ink .eyebrow { color: var(--steel); border-bottom-color: var(--edge-ink); }

.h-hero { font-size: var(--step-5); letter-spacing: -.028em; }
.h-sect { font-size: var(--step-4); }
.h-sub  { font-size: var(--step-2); }
.h-card { font-size: var(--step-1); letter-spacing: -.012em; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--on-paper-mut); max-width: 60ch; }
.muted { color: var(--on-paper-mut); }
.prose { max-width: var(--prose); }
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: var(--step-2); margin-top: 1.9em; margin-bottom: .55em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 2em; margin-bottom: .45em; }
.prose ul, ul.prose { margin: 1.1em 0; padding-left: 0; list-style: none; }
ul.prose { margin: 0; }
.prose ul > li, ul.prose > li { position: relative; padding-left: 1.7rem; margin-bottom: .55em; }
.prose ul > li::before, ul.prose > li::before {
  content: ""; position: absolute; left: 0; top: .58em; width: 9px; height: 9px;
  border-radius: 50%; border: 2px solid var(--blue);
}
.prose a { color: var(--blue); text-underline-offset: .18em; }
.band--ink .prose a { color: var(--steel); }

/* mono spec strip — the trade detail, now a quiet supporting note */
.spec {
  font-family: var(--f-mono); font-size: .715rem; letter-spacing: .01em;
  color: var(--on-paper-dim); display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: center;
}
.spec span { white-space: nowrap; }
.spec span:not(:last-child)::after { content: " ·"; color: var(--steel); }
.band--ink .spec { color: var(--on-ink-dim); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 700; font-size: .95rem; letter-spacing: -.005em;
  padding: .95rem 1.7rem; border-radius: 0; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--navy); border-color: var(--navy); }
.btn--ghost { border-color: var(--edge); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--mist); }
.band--ink .btn--ghost { border-color: rgba(169,193,214,.35); color: #fff; background: transparent; }
.band--ink .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--sm { padding: .62rem 1.1rem; font-size: .84rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* ---------- header ---------- */
.topbar {
  background: var(--ink); color: var(--on-ink-mut);
  font-family: var(--f-mono); font-size: .715rem; letter-spacing: .03em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { text-decoration: none; color: #fff; }
.topbar a:hover { color: var(--steel); }
.topbar-creds { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.topbar-creds span { display: inline-flex; align-items: center; gap: .45rem; }
.dot-ok { width: 7px; height: 7px; border-radius: 0; background: var(--ok); flex: none; }

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
}
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 82px; }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.brand-mark { height: 46px; width: auto; flex: none; }
.brand-txt { display: flex; flex-direction: column; gap: 4px; }
.brand-word { height: 23px; width: auto; }
.brand-sub {
  font-family: var(--f-mono); font-size: .58rem; font-weight: 500; letter-spacing: .38em;
  text-transform: uppercase; color: var(--steel); line-height: 1; text-indent: .19em;
}
.band--ink .brand-sub, .site-foot .brand-sub { color: var(--steel); }
.brand-stack { height: 108px; width: auto; }
.brand--stack { flex-direction: column; align-items: flex-start; gap: .6rem; }
.brand-tag {
  font-family: var(--f-mono); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--on-paper-dim); padding-left: .9rem; border-left: 1px solid var(--edge);
  line-height: 1.5; max-width: 7.5rem;
}
.brand--stack .brand-tag { padding-left: 0; border-left: 0; max-width: none; color: var(--on-ink-mut); }

.nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.nav > a, .submenu a {
  /* nowrap: Work Sans is wider than the condensed face this replaced, and
     "Who we serve" / "Service areas" broke onto two lines without it. */
  text-decoration: none; font-family: var(--f-display); font-size: .88rem; font-weight: 600;
  white-space: nowrap;
  padding: .55rem .62rem; border-radius: var(--r-sm); color: var(--navy-soft);
  transition: color .15s ease, background-color .15s ease;
}
.nav > a:hover, .nav > a[aria-current="page"], .submenu a:hover { color: var(--blue); background: var(--mist); }
.nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
.nav-cta { margin-left: .6rem; }

.has-menu { position: relative; }
.has-menu > button {
  background: none; border: 0; color: var(--navy-soft); font-family: var(--f-display);
  font-size: .88rem; font-weight: 600; white-space: nowrap;
  padding: .55rem .62rem; border-radius: var(--r-sm);
  cursor: pointer; display: inline-flex; align-items: center; gap: .35rem;
}
.has-menu > button:hover, .has-menu[data-open="true"] > button { color: var(--blue); background: var(--mist); }
.has-menu > button svg { transition: transform .18s ease; }
.has-menu[data-open="true"] > button svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 320px; list-style: none;
  background: #fff; border: 1px solid var(--edge); border-radius: var(--r);
  padding: .5rem; display: none; box-shadow: var(--shadow-lg);
}
.has-menu[data-open="true"] .submenu { display: block; }
.submenu a { display: block; font-weight: 600; }
.submenu .sm-desc {
  display: block; font-family: var(--f-body); font-size: .78rem; color: var(--on-paper-dim);
  font-weight: 400; margin-top: .05rem; letter-spacing: 0;
}
.burger { display: none; margin-left: auto; background: #fff; border: 1px solid var(--edge);
          color: var(--navy); width: 48px; height: 46px; border-radius: var(--r-sm);
          cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1120px) {
  .nav { position: fixed; inset: 82px 0 auto; background: #fff; border-bottom: 1px solid var(--edge);
         flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--pad-x) 2rem;
         display: none; max-height: calc(100dvh - 82px); overflow-y: auto; box-shadow: var(--shadow); }
  .nav[data-open="true"] { display: flex; }
  .nav > a, .has-menu > button { width: 100%; text-align: left; padding: .9rem .4rem; font-size: 1.02rem; justify-content: space-between; }
  .submenu { position: static; display: none; box-shadow: none; background: var(--mist); margin: 0 0 .5rem; border-color: transparent; }
  .submenu a { padding: .7rem .8rem; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; }
  .burger { display: inline-flex; }
  .topbar-creds { display: none; }
}
@media (max-width: 520px) {
  .brand-tag { display: none; }
  .brand-mark { height: 40px; }
  .brand-word { height: 20px; }
  .brand-sub { font-size: .5rem; letter-spacing: .32em; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); position: relative;
        overflow: hidden; border-bottom: 1px solid var(--edge); }
/* No gradient wash. The hero is separated from what follows by a rule,
   the way a titleblock is separated from a drawing. */
.hero .wrap { position: relative; z-index: 2; }
.hero-layout { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
               gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 960px) { .hero-layout { grid-template-columns: 1fr; } }

.hero h1 { font-size: var(--step-5); }
.hero h1 .hl { color: var(--blue); }
.hero .lede { margin-top: 1.35rem; }
.hero .btn-row { margin-top: 2.1rem; }

.hero-figure { position: relative; }
.hero-figure picture { display: block; }
.hero-figure img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
@media (max-width: 960px) { .hero-figure img { aspect-ratio: 16 / 10; } }
/* Credentials sit under the photograph as a captioned data block — the way a
   figure is captioned in a submittal — rather than floating over it on a card. */
.hero-badge {
  background: var(--paper); padding: .95rem 0 0; display: flex; flex-direction: column;
  gap: .5rem; border-top: 2px solid var(--navy); margin-top: .9rem;
}
.hero-badge .hb-row { display: block; position: relative; padding-left: 1.15rem; font-size: .84rem; line-height: 1.45; color: var(--on-paper-mut); }
.hero-badge .hb-row .dot-ok { position: absolute; left: 0; top: .52em; }
.hero-badge .hb-row b { color: var(--navy); font-family: var(--f-mono); font-size: .78rem; font-weight: 500; }
@media (max-width: 960px) { .hero-badge { margin-top: 1.1rem; } }

.hero-proof { margin-top: 2.4rem; display: grid; grid-template-columns: repeat(4, auto);
              justify-content: start; gap: 0;
              border-top: 2px solid var(--navy); border-bottom: 1px solid var(--edge); }
@media (max-width: 560px) { .hero-proof { grid-template-columns: repeat(2, auto); } }
.proof-item { display: flex; flex-direction: column; gap: .15rem;
              padding: .95rem 1.7rem .95rem 0; border-right: 1px solid var(--edge); }
.proof-item:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 560px) { .proof-item:nth-child(2) { border-right: 0; } }
.band--ink .proof-item { border-right-color: var(--edge-ink); }
.proof-num { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: var(--navy);
             letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.proof-num small { font-size: .78rem; color: var(--blue); font-weight: 700; }
.proof-lab { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em;
             text-transform: uppercase; color: var(--on-paper-dim); }
.band--ink .proof-num { color: #fff; }
.band--ink .proof-num small { color: var(--steel); }
.band--ink .proof-lab { color: var(--on-ink-dim); }
.band--ink .hero-proof { border-top-color: var(--edge-ink); }

/* ---------- cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(292px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(228px, 100%), 1fr)); }
.grid--tiles { grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--edge); border-radius: var(--r);
  padding: 1.7rem; display: flex; flex-direction: column; gap: .8rem;
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
a.card { position: relative; }
a.card::after { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px;
                background: var(--blue); opacity: 0; transition: opacity .15s ease; }
a.card:hover { border-color: var(--navy); }
a.card:hover::after { opacity: 1; }
.band--ink .card { background: var(--ink-2); border-color: var(--edge-ink); box-shadow: none; }
.band--ink .card h3 { color: #fff; }
.band--ink .card p { color: var(--on-ink-mut); }
.card-ico { width: 32px; height: 32px; color: var(--blue); }
.band--ink .card-ico { color: var(--steel); }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--on-paper-mut); font-size: .97rem; }
.card .spec { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--edge-2); }
.band--ink .card .spec { border-top-color: var(--edge-ink); }
.card-more { font-family: var(--f-display); font-weight: 700; font-size: .86rem; color: var(--blue);
             display: inline-flex; align-items: center; gap: .4rem; }
.card > .card-more:last-child { margin-top: auto; padding-top: .3rem; }
a.card:hover .card-more { gap: .65rem; }
.band--ink .card-more { color: var(--steel); }


/* photo-topped service card */
.pcard { padding: 0; overflow: hidden; }
.pcard-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.pcard-img picture { width: 100%; height: 100%; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.6,.2,1); }
a.pcard:hover .pcard-img img { transform: scale(1.02); }
.pcard-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,29,51,0) 45%, rgba(11,29,51,.55) 100%);
}
.pcard-body { padding: 1.35rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
@media (prefers-reduced-motion: reduce) { a.pcard:hover .pcard-img img { transform: none; } }

/* full designed banner tile (the client's own service graphics) */
.tile { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.tile img { width: 100%; display: block; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 74px 1fr; gap: 1.7rem; padding: 2rem 0;
        border-top: 1px solid var(--edge); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--edge); }
.band--ink .step, .band--ink .step:last-child { border-color: var(--edge-ink); }
.step-n { counter-increment: step; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em;
          color: var(--on-paper-dim); padding-top: .35rem; text-transform: uppercase; }
.step-n::before { content: "0" counter(step); display: block; font-family: var(--f-display);
                  font-size: 1.7rem; font-weight: 700; color: var(--blue); letter-spacing: -.03em; margin-bottom: .1rem; }
.band--ink .step-n { color: var(--on-ink-dim); }
.band--ink .step-n::before { color: var(--steel); }
.step h3 { font-size: var(--step-1); margin-bottom: .45rem; }
.step p { color: var(--on-paper-mut); max-width: 60ch; }
.band--ink .step p { color: var(--on-ink-mut); }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: .5rem; } }

/* ---------- credentials ---------- */
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(206px, 100%), 1fr)); gap: 1px;
         background: var(--edge); border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; }
.cred { background: #fff; padding: 1.4rem 1.45rem; display: flex; flex-direction: column; gap: .3rem; }
.band--mist .cred { background: #fff; }
.band--ink .creds { background: var(--edge-ink); border-color: var(--edge-ink); }
.band--ink .cred { background: var(--ink-2); }
.cred-k { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-paper-dim); }
.cred-v { font-family: var(--f-display); font-weight: 700; font-size: 1.14rem; letter-spacing: -.015em; color: var(--navy); }
.cred-v.mono { font-family: var(--f-mono); font-size: .98rem; font-weight: 500; }
.cred-n { font-size: .83rem; color: var(--on-paper-mut); }
.band--ink .cred-k { color: var(--on-ink-dim); }
.band--ink .cred-v { color: #fff; }
.band--ink .cred-n { color: var(--on-ink-mut); }

/* ---------- reviews ---------- */
.rating-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.rating-card { flex: 1 1 208px; background: #fff; border: 1px solid var(--edge); border-radius: var(--r);
               padding: 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .22rem;
               text-decoration: none; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; }
.rating-card:hover { border-color: var(--navy); }
.rating-src { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-paper-dim); }
.rating-score { font-family: var(--f-display); font-weight: 700; font-size: 2.05rem; letter-spacing: -.035em;
                color: var(--navy); font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: .28rem; }
.rating-score span { font-size: .84rem; color: var(--on-paper-dim); font-weight: 700; }
.stars { color: #f5a524; font-size: .95rem; letter-spacing: .12em; }

.quote { background: #fff; border: 1px solid var(--edge); border-radius: var(--r);
         padding: 1.7rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-sm); }
.quote::before { content: ""; width: 30px; height: 2px; background: var(--blue); }
.quote blockquote { margin: 0; font-size: 1.06rem; line-height: 1.58; color: var(--navy); }
.quote figcaption { font-family: var(--f-mono); font-size: .71rem; letter-spacing: .04em; color: var(--on-paper-dim); margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--edge); }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary { cursor: pointer; list-style: none; padding: 1.4rem 2.8rem 1.4rem 0; position: relative;
               font-family: var(--f-display); font-weight: 700; font-size: 1.07rem; line-height: 1.4; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 13px; height: 13px;
  transform: translateY(-60%) rotate(45deg); border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details[open] summary { color: var(--blue); }
.faq-a { padding: 0 2.8rem 1.6rem 0; color: var(--on-paper-mut); max-width: var(--prose); }
.faq-a p + p { margin-top: .8em; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--edge); border-radius: var(--r); background: #fff; }
table.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.spec-table th, .spec-table td { text-align: left; padding: .95rem 1.15rem; border-bottom: 1px solid var(--edge-2); vertical-align: top; }
.spec-table th { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .11em; text-transform: uppercase;
                 color: var(--on-paper-dim); font-weight: 500; background: var(--mist); width: 33%; }
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: 0; }
.spec-table td.mono { font-family: var(--f-body); font-size: .88rem; color: var(--navy-soft);
                      font-variant-numeric: tabular-nums; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; padding: .38rem .7rem;
        border: 1px solid var(--edge); border-radius: 0; color: var(--on-paper-mut);
        text-decoration: none; white-space: nowrap; background: #fff; }
a.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip--ok { border-color: rgba(18,153,107,.35); color: var(--ok); background: rgba(18,153,107,.06); }
.band--ink .chip { background: transparent; border-color: var(--edge-ink); color: var(--on-ink-mut); }
.band--ink a.chip:hover { border-color: var(--steel); color: var(--steel); }
.band--ink .chip--ok { color: #4fd8a2; border-color: rgba(79,216,162,.35); }

/* ---------- forms ---------- */
.form-shell { background: #fff; border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.form-body { padding: clamp(1.4rem, 3vw, 2.3rem); }
.fset { display: grid; gap: 1.2rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 620px) { .frow { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field > label { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-paper-dim); }
.field > label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; background: var(--mist); border: 1px solid var(--edge);
  color: var(--on-paper); border-radius: var(--r-sm); padding: .82rem .95rem; width: 100%;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(0,98,214,.15); }
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; padding-right: 2.3rem; background-repeat: no-repeat; background-position: right 1rem center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230062d6' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.field .hint { font-size: .82rem; color: var(--on-paper-dim); }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(168px, 100%), 1fr)); gap: .6rem; }
.opt { position: relative; display: flex; align-items: center; gap: .6rem; border: 1px solid var(--edge);
       border-radius: var(--r-sm); padding: .82rem .95rem; cursor: pointer; font-size: .93rem; background: #fff;
       transition: border-color .15s ease, background-color .15s ease; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box { width: 18px; height: 18px; border: 2px solid var(--steel); border-radius: 0; flex: none;
           display: grid; place-items: center; transition: .15s; }
.opt input[type="radio"] ~ .opt-box { border-radius: 50%; }
.opt:hover { border-color: var(--steel); background: var(--mist); }
.opt:has(input:checked) { border-color: var(--blue); background: rgba(0,98,214,.06); }
.opt:has(input:checked) .opt-box { border-color: var(--blue); background: var(--blue); }
.opt:has(input:checked) .opt-box::after { content: ""; width: 7px; height: 7px; background: #fff; border-radius: 1px; }
.opt input[type="radio"]:checked ~ .opt-box::after { border-radius: 50%; }
.opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

.form-steps { display: flex; border-bottom: 1px solid var(--edge); background: var(--mist); }
.fstep { flex: 1; padding: 1rem .6rem; text-align: center; font-family: var(--f-mono); font-size: .64rem;
         letter-spacing: .1em; text-transform: uppercase; color: var(--on-paper-dim);
         border-bottom: 3px solid transparent; }
.fstep[data-state="active"] { color: var(--blue); border-bottom-color: var(--blue); background: #fff; }
.fstep[data-state="done"] { color: var(--ok); border-bottom-color: rgba(18,153,107,.45); }
.form-panel[hidden] { display: none; }
.form-nav { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.7rem; padding-top: 1.5rem; border-top: 1px solid var(--edge-2); }

/* ---------- CTA band with photo ---------- */
.cta-band { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.cta-band .cta-bg { position: absolute; inset: 0; opacity: .3; }
.cta-band .cta-bg picture, .cta-band .cta-bg img { width: 100%; height: 100%; }
.cta-band .cta-bg img { object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 12%, rgba(11,29,51,.82) 55%, rgba(11,29,51,.5) 100%); }
.cta-inner { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0,1fr) auto;
             gap: 2.5rem; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: var(--on-ink-mut); }
@media (max-width: 880px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- page hero (interior) ---------- */
.phero { background: var(--mist); border-bottom: 1px solid var(--edge); padding-block: 0 clamp(2.75rem,5vw,4.25rem); }
.phero h1 { font-size: var(--step-4); margin-bottom: 1.1rem; }
.phero-split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
               gap: clamp(2rem,4vw,3.5rem); align-items: center; }
@media (max-width: 900px) { .phero-split { grid-template-columns: 1fr; } }
/* A service page with no photo yet must not leave a hole where the image
   would be. One column, prose held to a readable measure. */
.phero-split--solo { grid-template-columns: 1fr; }
.phero-split--solo > div { max-width: 62ch; }
.phero-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.phero-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.crumbs { font-family: var(--f-mono); font-size: .69rem; letter-spacing: .1em; color: var(--on-paper-dim);
          padding-block: 1.15rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.crumbs a { text-decoration: none; color: var(--blue); }
.crumbs a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--on-ink-mut); padding-block: clamp(3.25rem,6vw,4.75rem) 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-h { font-family: var(--f-display); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
          color: var(--steel); margin-bottom: 1.1rem; font-weight: 700; }
.foot-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.foot-list a { text-decoration: none; color: var(--on-ink-mut); font-size: .94rem; }
.foot-list a:hover { color: #fff; }
.foot-bottom { margin-top: 3rem; border-top: 1px solid var(--edge-ink); padding-block: 1.6rem;
               display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
               font-size: .8rem; color: var(--on-ink-dim); font-family: var(--f-mono); }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: #fff; }
.foot-contact { display: flex; flex-direction: column; gap: .75rem; font-size: .95rem; }
.foot-contact a { text-decoration: none; color: #fff; font-weight: 600; }
.foot-contact a:hover { color: var(--steel); }

/* ---------- mobile call bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; background: #fff;
           border-top: 1px solid var(--edge); padding: .65rem var(--pad-x) calc(.65rem + env(safe-area-inset-bottom));
           gap: .6rem; border-top-width: 2px; border-top-color: var(--navy); }
.callbar .btn { flex: 1; padding: .82rem 1rem; font-size: .88rem; }
@media (max-width: 720px) { .callbar { display: flex; } body { padding-bottom: 76px; } }

/* ---------- misc ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: .5rem; top: -60px; background: var(--blue); color: #fff; padding: .7rem 1.1rem;
        border-radius: var(--r-sm); z-index: 200; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: .5rem; }
.note { border-left: 3px solid var(--steel); background: var(--mist); padding: 1.05rem 1.25rem;
        border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .93rem; color: var(--on-paper-mut); }
.band--ink .note { background: var(--ink-2); color: var(--on-ink-mut); }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,5vw,4rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--sticky > :first-child { position: sticky; top: 106px; }
@media (max-width: 900px) { .split--sticky > :first-child { position: static; } }

.area-list { columns: 3; column-gap: 2rem; list-style: none; }
@media (max-width: 760px) { .area-list { columns: 2; } }
.area-list li { break-inside: avoid; padding: .4rem 0; font-size: .96rem; }
.area-list a { text-decoration: none; color: var(--on-paper-mut); }
.area-list a:hover { color: var(--blue); }
.band--ink .area-list a { color: var(--on-ink-mut); }
.band--ink .area-list a:hover { color: #fff; }

/* full-bleed image band — the <picture> wrapper is the positioned layer */
.imgband { position: relative; overflow: hidden; background: var(--ink); }
.imgband > picture { position: absolute; inset: 0; opacity: .34; }
.imgband > picture img { width: 100%; height: 100%; object-fit: cover; }
.imgband::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--ink) 20%, rgba(11,29,51,.72) 70%, rgba(11,29,51,.45) 100%); }
.imgband .wrap { position: relative; z-index: 3; }

/* ---------- materials / brand wall ---------- */
.brandwall {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: clamp(2.25rem, 4vw, 3rem);
  border-top: 1px solid var(--edge);
}
.bgroup { display: grid; grid-template-columns: 190px 1fr; gap: 1rem 1.4rem; align-items: start;
          padding: .95rem 0; border-bottom: 1px solid var(--edge-2); }
.bgroup:last-of-type { border-bottom: 0; }
.bgroup-k { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em;
            text-transform: uppercase; color: var(--on-paper-dim); padding-top: .42rem; }
.brandwall .chip { font-family: var(--f-display); font-weight: 600; font-size: .84rem;
                   letter-spacing: 0; color: var(--navy); border-color: var(--edge);
                   padding: .42rem .85rem; }
.bgroup .chip { font-family: var(--f-display); font-weight: 600; font-size: .84rem;
                letter-spacing: 0; color: var(--navy); border-color: var(--edge); padding: .42rem .85rem; }
@media (max-width: 620px) { .bgroup { grid-template-columns: 1fr; gap: .5rem; } .bgroup-k { padding-top: 0; } }

.dist { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: baseline;
        margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--edge); }
.dist-k { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em;
          text-transform: uppercase; color: var(--on-paper-dim); }
.dist-v { font-family: var(--f-display); font-weight: 600; font-size: .92rem; color: var(--navy); }

/* ---------- dealer / distribution tiles ---------- */
.dealers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1px;
           background: var(--edge); border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; }
.dealer { background: #fff; padding: 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .3rem;
          position: relative; padding-left: 2.6rem; }
.dealer::before {
  content: ""; position: absolute; left: 1.25rem; top: 1.55rem; width: 15px; height: 9px;
  border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok);
  transform: rotate(-45deg);
}
.dealer-n { font-family: var(--f-display); font-weight: 700; font-size: 1.06rem;
            letter-spacing: -.015em; color: var(--navy); }
.dealer-d { font-size: .85rem; line-height: 1.45; color: var(--on-paper-mut); }
.band--ink .dealers { background: var(--edge-ink); border-color: var(--edge-ink); }
.band--ink .dealer { background: var(--ink-2); }
.band--ink .dealer-n { color: #fff; }
.band--ink .dealer-d { color: var(--on-ink-mut); }

/* ---------- /answers/ — the AEO/GEO passage page ------------------------- */
.chip-n{opacity:.55;font-variant-numeric:tabular-nums;margin-left:.35em}
.qalist{display:grid;gap:1.1rem}
/* Passages are ruled rows, not cards — same treatment as the service list, and
   it reads as a document rather than a feed. */
.qa{background:transparent;border:0;border-top:1px solid var(--edge);
    padding:1.5rem 0 1.6rem}
.qalist > .qa:first-child{border-top:2px solid var(--navy)}
.qalist > .qa:last-child{border-bottom:1px solid var(--edge)}
.qa-q{font-family:var(--f-display);font-size:1.06rem;line-height:1.35;font-weight:700;
      color:var(--ink);margin:0 0 .7rem}
.qa-q::before{content:"Q";display:inline-grid;place-items:center;width:1.6em;height:1.6em;
      margin-right:.65em;background:var(--navy);color:#fff;font-family:var(--f-mono);
      font-size:.68em;font-weight:500;vertical-align:2px}
.qa-a p{margin:0;color:var(--ink-2);line-height:1.65}
.qa:target{border-top-color:var(--blue);box-shadow:inset 3px 0 0 var(--blue);padding-left:1.1rem}
@media (max-width:640px){.qa{padding:1.2rem 0 1.3rem}}

.cta-alt{grid-column:1/-1;margin-top:1.2rem;font-family:var(--f-mono);font-size:.76rem;
         letter-spacing:.04em}
.cta-alt a{color:var(--steel);text-decoration:none;border-bottom:1px solid rgba(121,173,211,.35);
           padding-bottom:2px}
.cta-alt a:hover{color:#fff;border-bottom-color:#fff}
/* Netlify honeypot — must exist in the DOM, must never be seen or focusable. */
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- overflow containment --------------------------------------------
   Grid and flex children default to min-width:auto, which means they refuse to
   shrink below their content's intrinsic width. A wide table or a fixed-width
   iframe then pushes the whole page sideways instead of scrolling inside its
   own box. This was breaking every page with a spec table, and /book/, at
   390px. min-width:0 lets the track actually do its job. */
.split > *,
.hero-layout > *,
.phero-split > *,
.grid > *,
.foot-grid > *,
.cta-inner > * { min-width: 0; }

.table-scroll { max-width: 100%; }

/* Long unbroken strings — part numbers, license numbers, URLs — must wrap
   rather than widen their container. */
.prose, .lede, .card p, .qa-a, .faq-a { overflow-wrap: anywhere; }
.spec span, .chip { overflow-wrap: anywhere; }

/* The designed banner tiles and the multi-step form nav were the last two
   things pushing the page sideways on a phone. */
.tile { max-width: 100%; }
.tile img { width: 100%; height: auto; }
.form-nav { flex-wrap: wrap; gap: .7rem; }
.form-nav > span { display: flex; gap: .7rem; flex-wrap: wrap; }
@media (max-width: 460px) {
  .form-nav { flex-direction: column-reverse; align-items: stretch; }
  .form-nav > span { flex-direction: column; }
  .form-nav .btn { width: 100%; }
}

/* ---------- touch targets ----------------------------------------------------
   WCAG 2.2 SC 2.5.8 exempts links inline in a sentence, so breadcrumbs and
   in-prose links are fine as they are. These are not inline — they are primary
   actions that happen to be set small, and on a phone they are hard to hit. */
@media (max-width: 700px) {
  .topbar a { display: inline-flex; align-items: center; min-height: 32px; padding-inline: .2rem; }
  .foot-list a { display: inline-flex; align-items: center; min-height: 30px; }
  .foot-contact a { min-height: 32px; display: inline-flex; align-items: center; }
  .cta-alt a { display: inline-flex; align-items: center; min-height: 32px; }
  .area-list a { display: inline-flex; align-items: center; min-height: 32px; }
  .foot-bottom a { display: inline-flex; align-items: center; min-height: 30px; padding-inline: .1rem; }
}
/* Breadcrumbs are a standalone nav row, not links inside a sentence, so they
   get real touch targets on phones. */
@media (max-width: 700px) { .crumbs a { display: inline-flex; align-items: center; min-height: 30px; } }

/* ---------- working partners ------------------------------------------------
   Written as relationships, not a logo wall. Ruled rows, same treatment as the
   service list, because a buyer discounts a grid of logos on sight. */
.partner { border-top: 1px solid var(--edge); padding: 1.2rem 0 1.3rem; }
.partner:first-of-type { border-top: 2px solid var(--navy); }
.partner:last-of-type { border-bottom: 1px solid var(--edge); }
.partner-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-bottom: .5rem; }
.partner-n { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem;
             letter-spacing: -.01em; color: var(--navy); text-decoration: none; }
.partner-n:hover { color: var(--blue); }
.partner-w { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em;
             text-transform: uppercase; color: var(--on-paper-dim); }
.partner-d { color: var(--on-paper-mut); margin: 0; }

/* ---------- jobsite photography (CompanyCam import) -------------------------- */
.jobgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
           gap: 1px; background: var(--edge); border: 1px solid var(--edge); }
.jobshot { margin: 0; background: var(--paper); display: flex; flex-direction: column; }
.jobshot picture { display: block; }
.jobshot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.jf-cap { font-size: .82rem; color: var(--on-paper-mut); padding: .7rem .85rem .9rem; }

/* ═══════════════ MOBILE DENSITY ══════════════════════════════════════════════
   The homepage measured 29.7 phone screens and the site averaged 13.2. Most of
   that was whitespace scaled for a desktop viewport and then inherited by a
   390px one: the same 60px band padding that reads as composure on a monitor
   reads as an endless scroll on a phone.

   Nothing is hidden. The content is identical — it is set at a density that
   suits a hand instead of a desk. */
@media (max-width: 760px) {
  :root {
    --band: 2.4rem;            /* was clamp(3.75rem, 7vw, 7rem) — 60px minimum */
    --gap: .85rem;
    --pad-x: 1.15rem;
    --step-0: 1rem;
    --step-1: 1.08rem;
    --step-2: 1.32rem;
    --step-4: 1.72rem;
    --step-5: 2.05rem;
  }
  body { line-height: 1.58; }

  .band--tight { padding-block: 1.9rem; }
  .hero { padding-block: 1.6rem 2.1rem; }
  .hero .lede { margin-top: .9rem; }
  .hero .btn-row { margin-top: 1.4rem; }
  .hero-proof { margin-top: 1.6rem; }
  .proof-item { padding: .7rem 1.1rem .7rem 0; }
  .phero { padding-block: 0 2rem; }
  .phero h1 { margin-bottom: .8rem; }

  .lede { font-size: 1.03rem; line-height: 1.5; }
  .prose p + p { margin-top: .8em; }
  .prose h2 { margin-top: 1.5em; margin-bottom: .4em; }
  .prose h3 { margin-top: 1.4em; }

  /* Photo cards were ~400px each and there are nine of them. */
  .pcard-img { aspect-ratio: 16 / 9; }
  .pcard-body { padding: 1rem 1.1rem 1.2rem; gap: .45rem; }
  .card { padding: 1.15rem; gap: .55rem; }
  .hero-figure img { aspect-ratio: 16 / 11; }
  .phero-img img { aspect-ratio: 16 / 10; }

  .step { padding: 1.2rem 0; }
  .cred { padding: 1rem 1.1rem; }
  .quote { padding: 1.2rem; }
  .qa { padding: 1.1rem 0 1.2rem; }
  .partner { padding: 1rem 0 1.1rem; }
  .faq summary { padding: 1.05rem 2.4rem 1.05rem 0; }
  .faq-a { padding-bottom: 1.2rem; }
  .imgband { padding-block: 2.2rem; }
}

/* The brand wall is fourteen categories. On a phone that is one long column of
   chips nobody reads on the way past, so it folds — open on desktop, a tap on
   mobile. Everything stays in the DOM and in the structured data either way. */
.brandwall-fold > summary { display: none; }
@media (max-width: 760px) {
  .brandwall-fold > summary {
    display: block; cursor: pointer; list-style: none;
    font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--blue);
    padding: .9rem 0; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
  }
  .brandwall-fold > summary::-webkit-details-marker { display: none; }
  .brandwall-fold > summary::after { content: " +"; }
  .brandwall-fold[open] > summary::after { content: " −"; }
  .bgroup { grid-template-columns: 1fr; gap: .4rem; padding: .7rem 0; }
  .bgroup-k { padding-top: 0; }
}
/* Folded Q&A rows keep the same ruled look; the summary is the question. */
.qa > summary { cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after { content: ""; position: absolute; right: .3rem; top: .45em; width: 10px; height: 10px;
  transform: rotate(45deg); border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); }
.qa[open] > summary::after { transform: rotate(-135deg); top: .7em; }

/* Home page service cards: photos are the point on /services/, but on a phone
   nine of them is five screens of scrolling before the visitor reaches anything
   else. On mobile the home grid becomes a ruled list — every card, every link,
   every spec line still there. */
@media (max-width: 760px) {
  .grid--home-svc { gap: 0; }
  .grid--home-svc .pcard { border: 0; border-top: 1px solid var(--edge); }
  .grid--home-svc .pcard:first-child { border-top: 2px solid var(--navy); }
  .grid--home-svc .pcard:last-child { border-bottom: 1px solid var(--edge); }
  .grid--home-svc .pcard-img { display: none; }
  .grid--home-svc .pcard-body { padding: .95rem 0 1rem; }
  .grid--home-svc .card-more { display: none; }
  .grid--home-svc .spec { padding-top: .4rem; border-top: 0; }
  .grid--home-svc a.pcard::after { display: none; }
}
/* The six designed system tiles are the client's own artwork and earn their
   place on a desktop. On a phone the compact service list directly above
   already names all nine services, so the tiles are folded rather than a
   second pass over the same ground. */
.tilefold > summary { display: none; }
@media (max-width: 760px) {
  .tilefold > summary {
    display: block; cursor: pointer; list-style: none;
    font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--blue);
    padding: .9rem 0; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
  }
  .tilefold > summary::-webkit-details-marker { display: none; }
  .tilefold > summary::after { content: " +"; }
  .tilefold[open] > summary::after { content: " −"; }
  .tilefold[open] > .grid { margin-top: 1rem; }
}
/* The folded Q&A summaries measured 23px — one pixel under the WCAG 2.2
   minimum. They are the primary control on that page; give them real height. */
@media (max-width: 760px) {
  .qa > summary { min-height: 32px; display: flex; align-items: center; padding-block: .35rem; }
  .qa > summary::after { top: 50%; margin-top: -7px; }
  .qa[open] > summary::after { top: 50%; margin-top: -3px; }
}
