/* ==========================================================================
   MATP — site.css
   Built from the Claude Design handoff bundle ("Mid-Atlantic Technology
   Website", 2026-08-20). Token architecture is the bundle's; the accent is
   overridden to the locked brand value.

   Accent: #F36C21 (brand guide, CMYK C2 M70 Y100 K0) with --accent-dim
   #B85219. The bundle shipped #f47a20/#b95d18; every orange in this file —
   including the rgba() glows and tints — is re-derived from #F36C21
   (rgb 243 108 33).

   Bands redeclare the SAME token names, so a component re-themes purely by
   which band it sits in. Never hardcode a hex inside a component.
   ========================================================================== */

/* ---------- tokens: colour ---------- */
:root {
  --matp-orange: #f36c21;
  --matp-orange-dim: #b85219;

  --gray-950: #1a1a1a;
  --gray-900: #1f1f1f;
  --gray-880: #242424;
  --gray-850: #2e2e2e;
  --gray-800: #3a3a3a;
  /* Lightened from #6a6a6a 2026-11-23. Only ever used for --fg-dim on the dark
     bands, where #6a6a6a on #1a1a1a measured 3.22:1 -- under AA for the footer
     copyright line and the Terms & conditions link. #848484 is 4.65:1 and stays
     dimmer than --gray-400 (#9a9a9a, --fg-muted), so the dim/muted order holds. */
  --gray-500: #848484;
  --gray-400: #9a9a9a;
  --gray-200: #e8e8e8;
  --warm-100: #f7f5f1;
  --warm-200: #e2ddd3;
  /* Darkened from #8a8a84 2026-11-23. Only ever used for --fg-dim on the light
     band, where it measured 3.19:1 on #f7f5f1 (review attributions) and 3.47:1 on
     a white card (the "Explore managed IT ->" card footers) -- both under AA.
     #70706a is 4.58:1 and 4.98:1, keeps R=G with B six lower so the warm cast is
     unchanged, and stays lighter than --warm-700 (#666660, --fg-muted). */
  --warm-600: #70706a;
  --warm-700: #666660;
  --white: #ffffff;

  /* semantic — DARK is the default theme */
  --bg: var(--gray-950);
  --bg-elev: var(--gray-880);
  --bg-elev-2: var(--gray-850);
  --fg: var(--gray-200);
  --fg-muted: var(--gray-400);
  --fg-dim: var(--gray-500);
  --rule: var(--gray-800);
  --accent: var(--matp-orange);
  --accent-dim: var(--matp-orange-dim);
  --accent-text: var(--accent);
  --on-accent: var(--gray-950);

  /* decorative — re-derived from #F36C21 */
  --hero-glow: rgba(243, 108, 33, .16);
  --accent-tint-hi: rgba(243, 108, 33, .09);
  --accent-tint-lo: rgba(243, 108, 33, .02);
  --accent-tint-xs: rgba(243, 108, 33, .06);
  --accent-edge: rgba(243, 108, 33, .35);
  --accent-wash: rgba(243, 108, 33, .08);

  /* form state colours; redeclared per band */
  --danger: #E5704B;
  --danger-wash: rgba(229, 112, 75, .14);
  --ok: #4FB286;
  --hairline: rgba(255, 255, 255, .14);
}

/* ---------- tokens: typography ---------- */
:root {
  --font: "Poppins", sans-serif;
  --font-display: "Poppins", sans-serif;

  /* body and small UI are ALWAYS 400; display is 300 */
  --weight-body: 400;
  /* House rule (CLAUDE.md): never bold for hierarchy. Both display weights are
     normal; hierarchy comes from size, spacing, position, capitalisation and colour.
     Kept as separate tokens so the two roles stay addressable. */
  --weight-display: 300;
  --weight-display-strong: 300;

  --text-hero: 3rem;
  --text-h1: 2.4rem;
  --text-h2: 1.5rem;
  --text-h3: 1.15rem;
  --text-h4: 1rem;
  --text-body: 1rem;
  --text-sm: .875rem;
  --text-xs: .78rem;
  --text-micro: .68rem;

  --leading-body: 1.6;
  --leading-tight: 1.2;

  --tracking-h1: -0.01em;
  --tracking-h2: .14em;
  --tracking-label: .18em;
  --tracking-btn: .08em;
}

/* ---------- tokens: spacing ---------- */
:root {
  --space-1: .4em;
  --space-2: .7em;
  --space-3: 1em;
  --space-4: 1.2em;
  --space-5: 1.5em;
  --space-6: 2em;
  --space-7: 3em;
  --space-8: 4.5em;

  --container-max: 1040px;
  --container-pad: 1.5em;
  --band-pad-y: 4.5em;
  --grid-gap: 1.2em;
  --card-pad: 1.4em;
  --card-min: 240px;
  --bp-hero: 880px;
}

/* ---------- tokens: shape ---------- */
:root {
  --radius-card: 8px;
  --radius-badge: 6px;
  --radius-pill: 999px;
  --border: 1px solid var(--rule);
  --border-accent: 1px solid var(--accent);

  --shadow-card: 0 2px 14px rgba(0, 0, 0, .05);
  --shadow-card-hover: 0 10px 28px rgba(0, 0, 0, .10);
  --ring-size: 46px;
}

/* ---------- tokens: motion ---------- */
:root {
  --lift-hover: -1px;
  --lift-card: -3px;
  --dur-hover: 160ms;
  --dur-reveal: 520ms;
  --ease: cubic-bezier(.2, .6, .3, 1);
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --lift-hover: 0;
    --lift-card: 0;
    --dur-hover: 0ms;
    --dur-reveal: 0ms;
  }
}

/* ---------- bands ---------- */
.band-dark {
  --bg: var(--gray-950);
  --bg-elev: var(--gray-880);
  --bg-elev-2: var(--gray-850);
  --fg: var(--gray-200);
  --fg-muted: var(--gray-400);
  --fg-dim: var(--gray-500);
  --rule: var(--gray-800);
  --accent-text: var(--accent);
  --on-accent: var(--gray-950);
  background: var(--bg);
  color: var(--fg);
}
.band-light {
  --bg: var(--warm-100);
  --bg-elev: var(--white);
  --bg-elev-2: var(--white);
  --fg: var(--gray-900);
  --fg-muted: var(--warm-700);
  --fg-dim: var(--warm-600);
  --rule: var(--warm-200);
  --accent-text: var(--accent-dim);
  --on-accent: var(--gray-950);
  --danger: #B23B16;
  --danger-wash: rgba(178, 59, 22, .10);
  --ok: #2F7D5B;
  background: var(--bg);
  color: var(--fg);
}
.band {
  font-family: var(--font);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  padding: var(--band-pad-y) 0;
}
.band--flush-top { padding-top: 0; }
.band--flush-bottom { padding-bottom: 0; }

/* ---------- base ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--gray-950);
  color: var(--fg);
  font-family: var(--font);
  font-weight: var(--weight-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent); }
.band-light a:hover { color: var(--accent-dim); }

img { max-width: 100%; height: auto; display: block; }

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ---------- Button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-btn);
  padding: .72em 1.6em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent-text);
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--dur-hover) var(--ease),
    color var(--dur-hover) var(--ease),
    transform var(--dur-hover) var(--ease);
}
.btn:hover,
.btn:focus-visible {
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(var(--lift-hover));
}
.band-light .btn:hover,
.band-light .btn:focus-visible { color: var(--on-accent); }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn--sm {
  font-size: var(--text-xs);
  padding: .5em 1.1em;
}

/* ---------- Card ---------- */
.card {
  background: var(--bg-elev);
  border: var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--card-pad);
  color: var(--fg);
  transition:
    transform var(--dur-hover) var(--ease),
    box-shadow var(--dur-hover) var(--ease);
}
.card__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--accent-text);
  margin-bottom: .6em;
}
.card__title {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-h3);
  color: var(--fg);
  line-height: var(--leading-tight);
}
.card__body {
  color: var(--fg-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}
.card__footer {
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  border-top: var(--border);
  color: var(--fg-dim);
  font-size: var(--text-xs);
}

/* interactive card — the whole card is wrapped in a link */
.card-link {
  display: flex;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.card-link .card { width: 100%; }
.card-link:hover .card,
.card-link:focus-visible .card {
  transform: translateY(var(--lift-card));
  box-shadow: var(--shadow-card-hover);
}
.card-link:hover .card__footer { color: var(--accent-text); }

/* ---------- SectionHeading ---------- */
.section-heading { margin-bottom: var(--space-5); }
.section-heading__title,
.h2-label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-h2);
  text-transform: uppercase;
  letter-spacing: var(--tracking-h2);
  color: var(--accent-text);
  line-height: var(--leading-tight);
}
.section-heading__lead {
  margin: .7em 0 0;
  max-width: 58ch;
  color: var(--fg-muted);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

/* ---------- NumBadge ---------- */
.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-badge);
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: var(--text-sm);
  line-height: 1;
}

/* ---------- Placeholder ---------- */
.placeholder {
  display: inline-block;
  border: 1px dashed var(--accent);
  color: var(--accent-text);
  background: transparent;
  border-radius: var(--radius-badge);
  padding: .15em .5em;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: .04em;
  line-height: 1.5;
}
.placeholder--block {
  display: block;
  padding: .8em 1em;
}

/* photo/asset frame that holds a placeholder until a real image exists */
.media-frame {
  border-radius: var(--radius-card);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: rgba(0, 0, 0, .03);
  text-align: center;
}
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--5x4 { aspect-ratio: 5 / 4; }
/* a frame holding a real photo: the image fills it edge to edge while the
   frame keeps its own aspect ratio, border and corner radius */
.media-frame--photo {
  padding: 0;
  overflow: hidden;
  background: none;
}
.media-frame--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------------------------------------------------------------------------
   Interactive Google Map  (/contact/, added 2026-11-11)

   Replaces the map placeholder with Google's own Share > Embed iframe. It
   reuses .media-frame--4x3 --photo so the frame keeps the same ratio, border
   and corner radius the placeholder had.

   The embed is gated behind a checkbox, the same CSS-only pattern the Pinboard
   book covers use on /resources/ -- no JavaScript. Until the visitor opts in,
   the iframe has pointer-events: none, so a finger drag scrolls the page and a
   scroll wheel scrolls the page, instead of panning and zooming the map and
   trapping the visitor inside it. One tap or click hands control to the map.

   pointer-events does not affect the keyboard, so a keyboard user can tab
   straight into the map whether or not the gate is open; the checkbox itself is
   focusable (.visually-hidden keeps it in the tree) and its label is the cue.
   --------------------------------------------------------------------------- */
.map-frame {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.map-frame__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* Opened by the gate below. See the note above. */
  pointer-events: none;
}
.map-frame__gate:checked ~ .map-frame__embed { pointer-events: auto; }
.map-frame__cue {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: .9em;
  cursor: pointer;
  /* Only the bottom edge is tinted, so the map itself stays readable. */
  background: linear-gradient(to top, rgba(0, 0, 0, .58), rgba(0, 0, 0, 0) 45%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-btn);
  text-align: center;
}
.map-frame__gate:checked ~ .map-frame__cue { display: none; }
.map-frame__gate:focus-visible ~ .map-frame__cue {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* ==========================================================================
   SITE CHROME
   ========================================================================== */

.site-topbar {
  border-bottom: var(--border);
}
.site-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4em;
  align-items: center;
  padding: .55em var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-dim);
}
.site-topbar__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  min-width: 0;
}
.site-topbar__contact {
  display: flex;
  /* wrap between the hours and the phone number when there is no room for
     both on one line (at 320px they need 341px of a 287px content box).
     white-space below still keeps each of them unbroken in itself. */
  flex-wrap: wrap;
  gap: 1.2em;
  margin-left: auto;
  align-items: baseline;
  white-space: nowrap;
}
.site-topbar__hours { color: var(--fg-muted); }
.site-topbar__phone { color: var(--accent); }
.site-topbar__residential {
  color: var(--accent);
  white-space: nowrap;
}
.site-topbar__residential span { margin-left: .25em; font-size: .9em; opacity: .75; }
.site-topbar__residential:hover { color: var(--fg); }

/* The mobile Menu disclosure. Hidden entirely above 880px so the desktop
   header is untouched; revealed in the <=880 block below. */
.nav-menu { display: none; }
.site-header { border-bottom: var(--border); }
.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.1em var(--container-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5em;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: .75em;
  text-decoration: none;
}
.site-brand__name {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--fg);
  max-width: 15ch;
}
.site-brand__name .hyphen { color: inherit; } /* white like the rest of the name (Trevor 2026-11-24) */

/* ---------------------------------------------------------------------------
   Official MATP logo in the header and footer  (A6, 2026-11-19)

   Trevor's renditions of the controlled master, supplied 2026-11-19. Use the
   full mark (puzzle pieces and figures); it carries no lettering, so the
   company name stays as live text beside it, which is also what keeps the link
   readable to a screen reader -- the images are `alt=""` on purpose, so the
   name is not announced twice.

   `.site-brand` was already a flex row with a .75em gap, so the mark drops in
   beside the existing text without touching the header's layout.

   Height is set in CSS and the `width`/`height` attributes on the <img> match
   it, so the space is reserved before the file loads and the header does not
   jump. Serve the 300px rendition: at 44px tall it is roughly 3x the rendered
   size, which covers high-density screens without pulling the 300 KB 600px file
   onto every page.

   Sizing note, measured on the real #1a1a1a header: below about 44px the orange
   figures merge into the puzzle pieces and the mark reads as a pale blob, so 44
   is a floor rather than a preference. 19% of the mark's ink is within 1.5:1 of
   the header background -- the near-black side faces -- which is inherent to the
   artwork, not to these rules.
   --------------------------------------------------------------------------- */
.site-brand__mark {
  flex: 0 0 auto;
  display: block;
  /* 48px, approved 2026-11-23 after an A/B against 44px on the deployed header.
     Costs nothing: the header is 94px at 1440 and 129px at 375 with the mark at
     44, 48 or 52, because the three-line name block sets the height and the mark
     sits inside it. The gain is the mark-to-name ratio, 0.76 -> 0.83, which is
     where the mark and the wordmark start reading as one lockup. */
  height: 48px;
  width: auto;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: .7em;
}
.site-footer__mark {
  flex: 0 0 auto;
  display: block;
  /* 52px, not the header's 48. The footer name is larger text (1.15rem) on two
     lines rather than three, so its block is 66px against the header's 58. At a
     matched 48 the footer mark reads smaller than the header's (ratio 0.72 vs
     0.83); 52 brings it to 0.79 and the two read as the same lockup. */
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.15em;
  margin-left: auto;
  align-items: center;
}
.nav__link {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-btn);
  white-space: nowrap;
  color: var(--fg-muted);
  text-decoration: none;
}
.nav__link:hover { color: var(--accent); }
.nav__link[aria-current="page"] { color: var(--accent); }

.nav__group { position: relative; }
.nav__disclosure { display: none; }
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-btn);
  white-space: nowrap;
  color: var(--fg-muted);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-display);
}
.nav__toggle:hover { color: var(--accent); }
.nav__toggle[aria-current="true"] { color: var(--accent); }
.nav__caret { font-size: .7em; line-height: 1; opacity: .7; }

.nav__submenu {
  position: absolute;
  top: 100%;
  left: -1em;
  min-width: 14em;
  max-width: min(20em, calc(100vw - 3em));
  padding: .5em 0;
  margin-top: .75em;
  background: var(--bg-elev);
  border: var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity var(--dur-hover) var(--ease),
    transform var(--dur-hover) var(--ease),
    visibility var(--dur-hover);
  z-index: 40;
  list-style: none;
}
.nav__group:hover .nav__submenu,
.nav__group:focus-within .nav__submenu,
.nav__toggle[aria-expanded="true"] ~ .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__submenu a {
  display: block;
  padding: .6em 1.2em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-btn);
  color: var(--fg-muted);
  white-space: nowrap;
}
.nav__submenu a:hover,
.nav__submenu a:focus {
  color: var(--accent);
  background: var(--accent-wash);
}

/* Residential entry at the foot of the Services menu (Tech Outlet), 2026-11-11.
   Deliberately not promoted: same colour, size, weight, tracking and hover as the
   business services above it. Only two things mark it out -- a rule separating it
   from them, and the same leaves-the-site arrow the top bar's Residential link
   already uses. No accent colour, no badge, no eyebrow: it is a door, not an ad.
   The rule sits on the <li>, so it spans the menu's full width rather than the
   link's padding box, and it survives the mobile layout below 880px where the
   submenu loses its own background and border. */
.nav__submenu-aside {
  margin-top: .45em;
  padding-top: .45em;
  border-top: var(--border);
}
.nav__submenu-aside a span {
  margin-left: .3em;
  font-size: .9em;
  opacity: .7;
}

.site-footer {
  border-top: var(--border);
  padding: 3em 0 2.2em;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2em;
}
.site-footer__name {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--fg);
  max-width: 16ch;
}
.site-footer__blurb {
  margin: .7em 0 0;
  color: var(--fg-muted);
  font-size: var(--text-sm);
  max-width: 26ch;
}
.site-footer__label {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--accent);
  margin-bottom: .9em;
}
.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: .5em;
  font-size: var(--text-sm);
  color: var(--fg-muted);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__list a { color: var(--fg-muted); }
.site-footer__list a:hover { color: var(--accent); }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  align-items: baseline;
  margin-top: 2.4em;
  padding-top: 1.4em;
  border-top: var(--border);
  color: var(--fg-dim);
  font-size: var(--text-xs);
}
.site-footer__legal a { color: var(--fg-dim); }
.site-footer__legal a:hover { color: var(--accent); }
.site-footer__domain { margin-left: auto; }

/* ==========================================================================
   HOMEPAGE SECTIONS
   ========================================================================== */

/* ---------- hero ----------
   PHOTOGRAPH: matp-building-wide.jpg, 2000x684, supplied by Jennifer 2026-11-24.

   It is a STRAIGHT CROP of the authentic M-ATP photograph -- her crop, copied
   into the repo byte for byte and never re-encoded, enhanced or altered here.
   The building and every parked vehicle are intact.

   DO NOT REGENERATE, UPSCALE, RE-COMPRESS OR AI-TOUCH THIS FILE. The standing
   rule is that nothing AI-generated or AI-altered may be presented as M-ATP
   staff or premises. hero-autumn-canopy.jpg, an AI-assisted treatment that was
   on staging 2026-11-11 to 11-24, stays in the repo for reference ONLY and must
   never come back.

   ---- WHY THE FRAMING IS NOW TRIVIAL ------------------------------------

   The crop solved in the source what CSS had been straining to do. At 2.924 it
   is wider than every hero box -- 2.658 at 1440, 1.475 at 768, 0.764 at 375,
   0.555 at 320 -- so `cover` scales to the WIDTH of the box being the binding
   constraint nowhere: it fits the height and crops horizontally instead. The
   whole of Jennifer's crop is therefore on screen vertically at every width,
   which is the point of having cropped it.

   That let three pieces of machinery go, all of which existed only to fight the
   old 1700x889 original:
     - `max(100%, 1900px) auto`, a width-driven zoom with a floor, needed because
       a plain vertical zoom gapped at 1920 and 2560;
     - `top` anchoring, needed to keep the car park out of frame;
     - a phone-width background-position-x of 72%, needed to land the narrow
       phone slice on the facade rather than a tree trunk.
   `center / cover` replaces all of it. A gap is impossible while the photograph
   is wider than the box, which it is by a wide margin at every supported width.

   IF THE PHOTOGRAPH IS EVER REPLACED, check its ratio first. Anything narrower
   than about 2.7 will start cropping vertically at 1440 and the framing has to
   be re-derived from scratch.

   ---- THE SCRIM ---------------------------------------------------------

   The vertical scrim is a 15-stop curve rather than the old 4-stop one. The old
   stops (.92 / .40 at 26% / .22 at 68% / .56) had a slope reversal at 68% --
   the overlay stopped lightening and began darkening again -- which is a crease,
   not a gradient. It measured 0.047 L*, well under the ~1.0 L* that is normally
   visible, so it was never the line Jennifer reported; that one turned out to be
   in the old photograph. But the brief here is explicitly no seams or abrupt
   overlay transitions, so the curve was rebuilt as a monotone cubic through the
   SAME four control points and resampled. Same look, max slope change down from
   0.0079 to 0.0030.

   Keep it smooth if you touch it: no stop should reverse the direction of the
   one before it, and no two adjacent slopes should differ by much. */
.hero {
  background:
    linear-gradient(100deg, rgba(12, 12, 12, .68) 0%, rgba(12, 12, 12, .6) 34%, rgba(12, 12, 12, .46) 64%, rgba(12, 12, 12, .36) 100%),
    linear-gradient(rgba(12, 12, 12, .92) 0%, rgba(12, 12, 12, .763) 7.1%, rgba(12, 12, 12, .6) 14.3%, rgba(12, 12, 12, .461) 21.4%, rgba(12, 12, 12, .374) 28.6%, rgba(12, 12, 12, .313) 35.7%, rgba(12, 12, 12, .265) 42.9%, rgba(12, 12, 12, .233) 50%, rgba(12, 12, 12, .216) 57.1%, rgba(12, 12, 12, .214) 64.3%, rgba(12, 12, 12, .233) 71.4%, rgba(12, 12, 12, .292) 78.6%, rgba(12, 12, 12, .378) 85.7%, rgba(12, 12, 12, .474) 92.9%, rgba(12, 12, 12, .56) 100%),
    url("../img/matp-building-wide.jpg") center / cover no-repeat,
    var(--bg);
}
.hero__center { text-align: center; }
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--accent);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
}
.hero__title {
  margin: .5em auto 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: var(--text-hero);
  letter-spacing: var(--tracking-h1);
  line-height: 1.06;
  color: var(--fg);
  max-width: 24ch;
}
.hero__sub {
  margin: 1em auto 0;
  max-width: 52ch;
  color: var(--fg);
  font-size: 1.05rem;
  line-height: var(--leading-body);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  gap: .8em;
  margin-top: 1.8em;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__note {
  margin-top: 2.4em;
  padding-top: 1.4em;
  border-top: var(--border);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-muted);
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

/* ---------- generic split layouts ---------- */
.split {
  display: grid;
  gap: 3em;
  align-items: start;
}
.split--intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split--why { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
.split--guardian { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.split--prevent { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.split--reviews { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.split--team { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.split--next { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
.split--where { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }

/* display-weight lede paragraph */
.lede {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: 1.45;
  color: var(--fg);
  text-wrap: pretty;
}
.lede--xl { font-size: 1.35rem; max-width: 30ch; }
.lede--lg { font-size: 1.5rem; line-height: 1.3; max-width: 24ch; }
.lede--md { font-size: 1.6rem; line-height: 1.25; max-width: 22ch; }

.prose {
  color: var(--fg-muted);
  line-height: var(--leading-body);
  text-wrap: pretty;
}
.prose + .prose { margin-top: 1em; }
.prose--wide { max-width: 52ch; }
.prose--narrow { max-width: 48ch; }

/* ---------- services grid + link row ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  align-items: stretch;
}
.link-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 1.2em;
  margin-top: 1.6em;
  border-top: var(--border);
  border-bottom: var(--border);
}
.link-row a {
  display: block;
  padding: 1.1em 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-sm);
  color: var(--accent-text);
}

/* ---------- residential callout ---------- */
.callout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  align-items: center;
  margin-top: 1.6em;
  padding: 1.2em 1.4em;
  border-radius: var(--radius-card);
  background: rgba(0, 0, 0, .035);
}
.callout__body { flex: 1 1 300px; }
.callout__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.05rem;
  color: var(--fg);
}
.callout__note {
  color: var(--fg-muted);
  font-size: var(--text-sm);
  margin-top: .25em;
}
.callout__link {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-sm);
  color: var(--accent-text);
}

/* ---------- forge feature card ---------- */
.forge {
  margin-top: 1.2em;
  border-radius: var(--radius-card);
  border: 1px solid var(--accent-edge);
  background: linear-gradient(120deg, var(--accent-tint-hi), var(--accent-tint-lo));
  padding: 2em;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6em;
  align-items: center;
}
.forge__body { flex: 1 1 340px; }
.forge__eyebrow {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--accent-text);
}
.forge__title {
  margin: .6em 0 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--fg);
  max-width: 34ch;
}

/* ---------- numbered differentiator list ---------- */
.why-sticky { position: sticky; top: 2em; }
.why-list { border-top: var(--border); }
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1em;
  padding: 1.5em 0;
  border-bottom: var(--border);
  align-items: start;
}
.why-item__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.15rem;
  color: var(--fg);
}
.why-item__body {
  margin: .4em 0 0;
  color: var(--fg-muted);
  line-height: var(--leading-body);
  text-wrap: pretty;
}

/* ---------- dark feature band (GuardianOne) ---------- */
.band--glow-left {
  background:
    radial-gradient(70% 90% at 12% 10%, var(--hero-glow), transparent 70%),
    var(--bg);
}
.band--glow-right {
  background:
    radial-gradient(60% 80% at 85% 0%, var(--hero-glow), transparent 70%),
    var(--bg);
}
.band--glow-mid-right {
  background:
    radial-gradient(65% 85% at 78% 20%, var(--hero-glow), transparent 70%),
    var(--bg);
}
.band--glow-top {
  background:
    radial-gradient(70% 100% at 50% 0%, var(--hero-glow), transparent 70%),
    var(--bg);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--accent);
}
.display-h2 {
  margin: .5em 0 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  line-height: 1.1;
  letter-spacing: var(--tracking-h1);
  color: var(--fg);
  text-wrap: pretty;
}
.display-h2--xl { font-size: 2.6rem; max-width: 20ch; }
.display-h2--lg { font-size: 2.4rem; max-width: 20ch; }
.display-h2--md { font-size: 2.3rem; line-height: 1.12; max-width: 22ch; }

.stack-rules {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.stack-rules > * {
  padding: 1.1em 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.1rem;
  color: var(--fg);
}

/* light-band rule list */
.rule-list { border-top: var(--border); }
.rule-list > * {
  padding: 1.05em 0;
  border-bottom: var(--border);
  color: var(--fg);
  font-size: 1.05rem;
}

/* ---------- KPI grid ---------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2.4em;
  margin-top: 2.4em;
  border-top: 1px solid var(--hairline);
}
.kpi {
  padding: 1.6em 0;
  border-bottom: 1px solid var(--hairline);
}
.kpi__value {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
}
.kpi__label {
  margin-top: .5em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-muted);
}
.kpi-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4em;
  align-items: center;
  margin-top: 2em;
}
.kpi-footnote__text {
  color: var(--fg-dim);
  font-size: var(--text-sm);
}

/* ---------- reviews ---------- */
.rating {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 5rem;
  line-height: .9;
  color: var(--accent-text);
}
.rating__label {
  margin-top: .6em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-muted);
}
.rating__note {
  margin: 1em 0 0;
  color: var(--fg-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  max-width: 30ch;
}
.review-list { border-top: var(--border); }
.review {
  padding: 1.6em 0;
  border-bottom: var(--border);
  margin: 0;
}
.review__quote {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--fg);
  text-wrap: pretty;
}
.review__attr {
  margin-top: .9em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-dim);
}

/* ---------- team section mark ---------- */
.mark-row {
  display: flex;
  align-items: center;
  gap: .7em;
}
.mark {
  display: inline-flex;
  flex: none;
  color: var(--accent);
}
.mark svg {
  transform: rotate(-10deg);
  transition: transform 220ms ease-out;
}
.mark-row:hover .mark svg { transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) {
  .mark svg { transition: none; }
}

/* ---------- closing CTA ---------- */
.closer { padding: 5em 0; }
.closer__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: var(--tracking-h1);
  color: var(--fg);
  max-width: 20ch;
  text-wrap: pretty;
}
.closer__body {
  margin: 1.2em 0 0;
  color: var(--fg-muted);
  line-height: var(--leading-body);
  max-width: 56ch;
  text-wrap: pretty;
}
.closer__actions {
  display: flex;
  gap: .8em;
  margin-top: 2em;
  flex-wrap: wrap;
}

/* utility */
.mt-4 { margin-top: 1.2em; }
.mt-5 { margin-top: 1.5em; }
.mt-6 { margin-top: 1.6em; }
.pt-1 { padding-top: .4em; }
.pt-2 { padding-top: .6em; }

/* ==========================================================================
   INTERIOR / SERVICE PAGES
   ========================================================================== */

/* interior page hero — identical to the homepage .hero: same photograph, same
   framing, same scrims (Trevor 2026-11-24: "they should all look like the
   homepage"). The old heavier flat scrim + two orange glows buried the vehicles
   and tinted the photo brown. Keep the two in sync if either changes.

   BOTTOM-ANCHORED so the photo's bottom edge is cut at the same row as the
   homepage's on every page, whatever this hero's height (Trevor's measure: the
   same amount of the nearest van's front wheel shows everywhere). The homepage
   hero is 536px tall at desktop widths and centres a 2000x684 (2.924:1) image
   scaled to the box width, so it hides (W/2.924 - 536)/2 px below its bottom
   edge, and nothing once W/2.924 < 536. This hides the same amount: W is
   100vw less a ~15px scrollbar, so (541px - 34.2vw)/2, clamped to 0. If the
   homepage hero's height changes, change 541px with it. */
.page-hero {
  background:
    linear-gradient(100deg, rgba(12, 12, 12, .68) 0%, rgba(12, 12, 12, .6) 34%, rgba(12, 12, 12, .46) 64%, rgba(12, 12, 12, .36) 100%),
    linear-gradient(rgba(12, 12, 12, .92) 0%, rgba(12, 12, 12, .763) 7.1%, rgba(12, 12, 12, .6) 14.3%, rgba(12, 12, 12, .461) 21.4%, rgba(12, 12, 12, .374) 28.6%, rgba(12, 12, 12, .313) 35.7%, rgba(12, 12, 12, .265) 42.9%, rgba(12, 12, 12, .233) 50%, rgba(12, 12, 12, .216) 57.1%, rgba(12, 12, 12, .214) 64.3%, rgba(12, 12, 12, .233) 71.4%, rgba(12, 12, 12, .292) 78.6%, rgba(12, 12, 12, .378) 85.7%, rgba(12, 12, 12, .474) 92.9%, rgba(12, 12, 12, .56) 100%),
    url("../img/matp-building-wide.jpg") left 50% bottom min(0px, calc((541px - 34.2vw) / 2)) / cover no-repeat,
    var(--bg);
}
.page-hero__title {
  margin: .5em 0 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: var(--text-hero);
  letter-spacing: var(--tracking-h1);
  line-height: 1.06;
  color: var(--fg);
  max-width: 22ch;
}
.page-hero__sub {
  margin: 1em 0 0;
  max-width: 54ch;
  color: var(--fg);
  font-size: 1.05rem;
  line-height: var(--leading-body);
  text-wrap: pretty;
}
.breadcrumb a { color: var(--accent); }

/* extra split ratios used by interior pages */
.split--feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.split--mix { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
.split--panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.split--halves { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--wide { gap: 3.4em; }

.spacer { height: 3.5em; }

/* ---------- plan comparison ---------- */
.includes {
  padding: 1.6em 0;
  border-top: 2px solid var(--accent);
  border-bottom: var(--border);
}
.includes__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 2.4em;
  align-items: baseline;
}
.includes__label {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.15rem;
  color: var(--fg);
}
.includes__items {
  display: flex;
  flex-wrap: wrap;
  gap: .6em 2em;
  color: var(--fg-muted);
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3em;
  margin-top: .4em;
}
.plan {
  padding: 2em 0;
  border-bottom: var(--border);
}
.plan--featured {
  padding: 2em 0 2em 2em;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  background: linear-gradient(100deg, var(--accent-tint-xs), transparent 70%);
}
.plan__label {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-dim);
}
.plan--featured .plan__label { color: var(--accent-text); }
.plan__headline {
  margin-top: .7em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--fg);
  max-width: 20ch;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: .5em;
  margin: 1.1em 0;
  flex-wrap: wrap;
}
.plan__amount {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 3rem;
  line-height: 1;
  color: var(--fg);
}
.plan--featured .plan__amount { color: var(--accent-text); }
.plan__unit {
  color: var(--fg-muted);
  font-size: var(--text-sm);
}
/* Rate rows under the headline price (2026-11-23). GuardianOne is not one flat
   per-device figure: workstations, servers/network and storage are priced
   differently, and showing only one number read as a 5x overstatement for anyone
   pricing workstations. The headline carries the workstation rate and names the
   device class; these rows carry the rest, so no single figure can be mistaken
   for the whole plan. The `dl` uses `div` wrappers to pair each term with its
   price, which is valid HTML and keeps each row a flex line. */
.plan__rates {
  margin: 0 0 1.2em;
  border-top: var(--border);
}
.plan__rate {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .2em 1.2em;
  padding: .6em 0;
  border-bottom: var(--border);
}
.plan__rate dt {
  color: var(--fg-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  max-width: 28ch;
}
.plan__rate dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-sm);
  color: var(--fg);
  white-space: nowrap;
}
.plan--featured .plan__rate dd { color: var(--accent-text); }
/* A rate whose price carries a usage charge as well as a monthly one -- GO Voice's
   toll-free number is "$5 a month plus $0.05 a minute" -- does not fit on one line
   at 320px, and .plan__rate dd is nowrap so it would push the row past the
   viewport. The qualifier drops to its own line under the monthly figure, muted,
   which also stops the two numbers reading as one amount. */
/* Compact variant, added 2026-11-23 for the GO Voice rates. Their labels run
   longer than GuardianOne's, so at 375px a 28ch dt took the full 246px and
   pushed the price onto a second line at x=0 -- a left-aligned price under a
   wrapped label, which is exactly the scan problem this block was built to fix.
   24ch keeps most rows on one line, and margin-left:auto puts the price at the
   right-hand end of whichever line it lands on, so the prices still read as a
   column when a row does wrap. Scoped to this modifier: the GuardianOne table
   uses the plain .plan__rates and is untouched. */
.plan__rates--compact .plan__rate dt { max-width: 24ch; }
.plan__rates--compact .plan__rate dd { margin-left: auto; }

.plan__rate-qual {
  display: block;
  white-space: normal;
  font-family: var(--font);
  font-size: var(--text-micro);
  color: var(--fg-muted);
  margin-top: .15em;
}

.plan__note {
  color: var(--fg-muted);
  line-height: var(--leading-body);
  max-width: 38ch;
}
.plan__subhead {
  margin-top: 1.4em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-dim);
}
.plan--featured .plan__subhead { color: var(--accent-text); }
.plan__list {
  display: flex;
  flex-direction: column;
  gap: .45em;
  margin: .7em 0 0;
  padding: 0;
  list-style: none;
  color: var(--fg);
}

.org-fee {
  display: flex;
  flex-wrap: wrap;
  gap: .8em 1.4em;
  align-items: baseline;
  margin-top: 1.6em;
}
.org-fee__amount {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  color: var(--fg);
}
.org-fee__note {
  color: var(--fg-muted);
  font-size: var(--text-sm);
}

/* ---------- numbered 4-up columns ---------- */
.numbered-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4em;
  border-top: var(--border);
}
.numbered-col { padding: 1.7em 0; }
.numbered-col__num {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent-text);
}
.numbered-col__title {
  margin-top: .7em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.15rem;
  color: var(--fg);
}
.numbered-col__body {
  margin: .5em 0 0;
  color: var(--fg-muted);
  line-height: var(--leading-body);
  text-wrap: pretty;
}

/* ---------- soft panel + chips ---------- */
.panel {
  border-radius: var(--radius-card);
  background: rgba(0, 0, 0, .035);
  padding: 2.6em;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  margin: 1.2em 0 0;
  padding: 0;
  list-style: none;
}
.chip {
  border: var(--border);
  border-radius: var(--radius-pill);
  padding: .35em .95em;
  font-size: var(--text-xs);
  color: var(--fg-muted);
}

/* ---------- FAQ ---------- */
.faq { border-top: var(--border); }
.faq__row {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 2.4em;
  padding: 1.7em 0;
  border-bottom: var(--border);
  align-items: start;
}
.faq__q {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.15rem;
  color: var(--fg);
}
.faq__a {
  margin: 0;
  color: var(--fg-muted);
  line-height: var(--leading-body);
  text-wrap: pretty;
}

/* numbered 4-up sitting on a dark band: hairline top rule instead of --rule */
.numbered-cols--hairline {
  border-top-color: var(--hairline);
  margin-top: 2.4em;
}

/* 3-up column grid, light band */
.cols3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4em;
  border-top: var(--border);
}
/* same, sitting on a dark band */
.cols3--hairline {
  border-top-color: var(--hairline);
  margin-top: 2.2em;
}
/* numbered variant at three columns instead of four */
.numbered-cols--3 { grid-template-columns: repeat(3, 1fr); }

/* small uppercase label + larger title, for horizon-style columns */
.col-label {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--accent-text);
}
.col-title-lg {
  margin-top: .6em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.3rem;
  color: var(--fg);
}
.col-title-md {
  margin-top: .6em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.1rem;
  color: var(--fg);
}

/* headline figure in a pricing column */
.price-amount {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent-text);
}

/* two-column plain item list */
.item-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4em 1.6em;
  margin-top: 1.4em;
  padding: 0;
  list-style: none;
  color: var(--fg);
}

/* smaller padding variant of .panel */
.panel--sm { padding: 2em; }

/* ---------- contact: hero trust row ---------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 2em;
  margin-top: 2.4em;
  border-top: var(--border);
}
.trust-row__item { padding: 1.4em 0; }
.trust-row__value {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--fg);
}
a.trust-row__value { color: var(--accent); }
.trust-row__label {
  margin-top: .45em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-muted);
}

/* three-up variant with larger figures, used on Reviews */
.trust-row--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2.4em;
}
.trust-row--3 .trust-row__value {
  font-size: 2.2rem;
  color: var(--accent);
}

/* ==========================================================================
   WHO WE SERVE
   ========================================================================== */

.vertical-head {
  display: flex;
  align-items: baseline;
  gap: 1em;
  padding-bottom: 1em;
  border-bottom: 2px solid var(--accent);
}
.vertical-head--dark { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.vertical-num {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 1.2rem;
  color: var(--accent-text);
}
.vertical-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.1;
  color: var(--fg);
}

.split--vert { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.4em; align-items: center; }
.split--vert-start { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.4em; }
.split--flip { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3.4em; align-items: center; }

/* Sections that used to pair text with a photograph and are now text only
   (2026-11-11). Eight client-environment placeholders were removed under the
   photography plan approved 2026-11-10; client-site photography is not
   permitted, so nothing was ever going to fill those frames.

   Rather than leave half a row empty, each section keeps the two-column rhythm
   it already had: heading and lede on the left, body on the right. That is the
   arrangement the site already uses for "Someone to ask" on Microsoft 365 and
   for the review attributions, so no new layout language is introduced.

   `align-items: start` (inherited from .split) rather than the centre alignment
   .split--flip used: with no image to centre against, two text columns should
   share a top edge. Below 880px `.split` forces a single column, so this is a
   desktop and large-tablet change only -- phones already stacked. */
.split--textonly {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3.4em;
}
/* The body column's first element kept a top margin that only made sense when
   it followed the lede. Zeroed here so both columns start on the same line,
   which avoids editing the markup of every approved paragraph. */
.split--textonly > div > *:first-child { margin-top: 0; }

/* linked rows on a dark band: link plus a muted trailing description */
.link-list { border-top: 1px solid var(--hairline); }
.link-list__row {
  padding: 1.1em 0;
  border-bottom: 1px solid var(--hairline);
}
.link-list__row a { color: var(--accent); }
.link-list__row span { color: var(--fg-muted); }

/* simple stacked list of plain statements */
.plain-list {
  display: flex;
  flex-direction: column;
  gap: .7em;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--fg);
}
.plain-list--tight { gap: .55em; }
.plain-list--ruled {
  margin-top: 1.2em;
  padding-top: 1.2em;
  border-top: var(--border);
}

.lede--sm { font-size: 1.4rem; line-height: 1.3; max-width: 26ch; }

/* ruled multi-column item lists (light band) */
.ruled-cols {
  display: grid;
  column-gap: 2.4em;
  border-top: var(--border);
}
.ruled-cols--2 { grid-template-columns: repeat(2, 1fr); }
.ruled-cols--3 { grid-template-columns: repeat(3, 1fr); }
.ruled-cols__item {
  padding: .9em 0;
  border-bottom: var(--border);
  color: var(--fg);
}
.ruled-cols__item--md { padding: 1.2em 0; }
.ruled-cols__item--lg { padding: 1.6em 0; }
.ruled-cols__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  color: var(--fg);
}
.ruled-cols__title--lg { font-size: 1.1rem; }
.ruled-cols__body {
  margin: .35em 0 0;
  color: var(--fg-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

/* term + description stack */
.def-list {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 1.4em 0 0;
}
.def-list__term {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  color: var(--fg);
}
.def-list__desc {
  margin: .3em 0 0;
  color: var(--fg-muted);
  line-height: var(--leading-body);
  max-width: 46ch;
}

.link-list--tight .link-list__row { padding: .9em 0; }
.link-list__row--plain { color: var(--fg); }

/* back-to-parent link at the foot of a vertical page */
.back-link {
  margin-top: 2.4em;
  padding-top: 1.4em;
  border-top: var(--border);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
}

/* ==========================================================================
   PERFORMANCE PAGE
   Metric values carry data-metric hooks so the wallboard feed can populate
   them later without restructuring the markup. While unpopulated they render
   bracketed and in --fg-dim so they read as provisional, not as real figures.
   ========================================================================== */

.section-rule-accent {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 1.2em;
  border-bottom: 2px solid var(--accent);
}

.split--lead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.4em; }
.split--story { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 2.4em; }
.split--quote { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: 3.4em; }

.metric-lead__label {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--accent-text);
}
.metric-lead__figure {
  display: flex;
  align-items: flex-end;
  gap: .5em;
  margin-top: .5em;
}
/* a percent sign hugs its number; a word unit like "min" keeps the space */
.metric-lead__figure--pct { gap: 0; }
.metric-lead__figure--pct .metric-lead__unit { padding-bottom: .5em; }
.metric-lead__value {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--fg-dim);
}
.metric-lead__unit {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.4rem;
  color: var(--accent-text);
  padding-bottom: .4em;
}
.metric-lead__body {
  margin: 1em 0 0;
  color: var(--fg);
  line-height: var(--leading-body);
  max-width: 40ch;
  text-wrap: pretty;
}

.rule-accent {
  height: 4px;
  background: var(--accent);
  width: 56px;
  margin-top: 1em;
}
.progress-track {
  height: 4px;
  background: rgba(0, 0, 0, .09);
  width: 100%;
  margin-top: 1em;
  position: relative;
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 56px;
  background: var(--accent);
}

.metrics-secondary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1.4em;
  border-top: var(--border);
}
.metric-sm { padding: 1.8em 1.4em 1.8em 0; }
.metric-sm__value {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--fg-dim);
}
.metric-sm__label {
  margin-top: .7em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--accent-text);
}
.metric-sm__body {
  margin: .5em 0 0;
  color: var(--fg-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  text-wrap: pretty;
}
.metrics-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: .8em 2em;
  padding-top: 1.4em;
  border-top: var(--border);
  color: var(--fg-muted);
  font-size: var(--text-sm);
}

/* chart placeholders — empty frames until the feed exists */
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid var(--hairline);
}
.chart-head--sm { padding-bottom: .8em; }
.chart-title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.3rem;
  color: var(--fg);
}
.chart-title--sm { font-size: 1.05rem; }
.chart-sub {
  margin-top: .3em;
  color: var(--fg-muted);
  font-size: var(--text-sm);
}
.chart-tag {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-dim);
}
.chart-tag--accent { color: var(--accent); }
.chart-frame {
  margin-top: 1.4em;
  border-radius: 6px;
  border: 1px dashed rgba(255, 255, 255, .2);
  padding: 1.4em;
  position: relative;
  height: 280px;
}
.chart-frame--sm {
  height: 104px;
  margin-top: 1em;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chart-gridlines {
  position: absolute;
  left: 1.4em;
  right: 1.4em;
  top: 1.4em;
  bottom: 1.4em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chart-gridlines span {
  height: 1px;
  background: rgba(255, 255, 255, .07);
}
.chart-bars {
  position: absolute;
  left: 1.4em;
  right: 1.4em;
  bottom: 1.4em;
  display: flex;
  align-items: flex-end;
  gap: 2.2%;
}
.chart-bars span {
  flex: 1;
  height: 14%;
  background: rgba(255, 255, 255, .05);
  border-top: 1px dashed rgba(255, 255, 255, .16);
}
.chart-note {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
}
.chart-foot {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  margin-top: .9em;
}

/* ---------- Performance history charts ----------
   Rendered by /assets/js/performance-charts.js from the Scorecard feed's
   monthly series. The frame below keeps its dashed placeholder look until
   a chart actually renders into it, at which point .is-live takes over. */
.chart-frame.is-live {
  border: 1px solid var(--hairline);
  border-radius: 6px;
}
.chart-frame--sm.is-live {
  display: block;
  padding: 1em 1.1em;
  height: auto;
  min-height: 104px;
}

.chartx {
  display: flex;
  align-items: flex-end;
  gap: 2.2%;
  height: 100%;
}
.chart-frame.is-live .chartx { height: calc(280px - 2.8em); }
.chart-frame--sm.is-live .chartx { height: 62px; }

.chartx__col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: .4em;
}
.chartx__track {
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 0;
}
.chartx__bar {
  width: 100%;
  background: var(--accent-dim);
  border-radius: 2px 2px 0 0;
  min-height: 2px;
  position: relative;
}
.chartx__col--latest .chartx__bar { background: var(--accent); }
.chartx__val {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: .35em;
  font-family: var(--font-display);
  font-weight: var(--weight-body);
  font-size: var(--text-micro);
  color: var(--fg-muted);
  white-space: nowrap;
}
.chartx__x {
  font-family: var(--font-display);
  font-weight: var(--weight-body);
  font-size: var(--text-micro);
  text-align: center;
  color: var(--fg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chart-frame--sm .chartx__x { display: none; }

/* caption under a chart: latest figure + the span it covers */
.chartx-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1em;
  flex-wrap: wrap;
  margin-top: .8em;
  font-size: var(--text-xs);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  color: var(--fg-dim);
}
.chartx-cap__now { color: var(--fg); }
.chartx-cap__now b { font-weight: var(--weight-body); color: var(--accent-text); }

/* shown instead of a chart when the series has nothing to draw */
.chartx-empty {
  font-size: var(--text-sm);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  color: var(--fg-muted);
  margin: 0;
  max-width: 46ch;
}

/* ---------------------------------------------------------------------------
   Legal document  (/legal/, added 2026-11-19)

   Styles Trevor's approved Terms and Website Privacy content. The class names
   (`legal-section`, `num`, `toc`, `doc-meta`) come from the existing
   m-atp.net legal page and his note says to restyle them freely, so these rules
   are ours; the markup and every word inside it are his and must not be edited
   here. All 34 sections and their `s1`–`s32` anchors are carried over intact,
   so deep links from elsewhere keep working.

   Measure is capped at 74ch rather than the site's usual ~50ch: this is a
   reference document people scan and search, not prose they read start to
   finish, and a narrow column turns 32 numbered sections into a very long page.
   --------------------------------------------------------------------------- */
.legal-doc {
  max-width: 74ch;
  color: var(--fg);
  font-size: var(--text-sm);
  line-height: 1.65;
}
.legal-doc h2,
.legal-doc h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: var(--leading-tight);
  color: var(--fg);
}
.legal-doc h2 { font-size: 1.15rem; margin: 2.4em 0 .6em; }
.legal-doc h3 { font-size: 1rem; margin: 1.8em 0 .5em; }
.legal-doc > .legal-section:first-of-type h2 { margin-top: 0; }
/* The section number is a locator, not emphasis: same size, held back in
   colour, and given a fixed inline-block so the headings align down the page. */
.legal-doc .num {
  display: inline-block;
  min-width: 2.4em;
  color: var(--accent-text);
}
.legal-doc p { margin: 0 0 1em; }
.legal-doc ol,
.legal-doc ul { margin: 0 0 1em; padding-left: 1.6em; }
.legal-doc li { margin-bottom: .45em; }
.legal-doc a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }

/* Definitions in section 1. Two columns on desktop so the terms read as a
   glossary; stacked below 720px, where a 2-column dl becomes unreadable. */
.legal-doc dl { margin: 0 0 1.2em; }
.legal-doc dt {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  color: var(--fg);
  margin-top: .9em;
}
.legal-doc dd { margin: .2em 0 0; padding-left: 1.2em; border-left: var(--border); }

/* Contents panel */
.legal-doc .toc {
  padding: 1.4em 1.6em;
  margin-bottom: 2.6em;
  border: var(--border);
  border-radius: var(--radius-card);
  background: rgba(0, 0, 0, .03);
}
.legal-doc .toc h3 { margin-top: 0; }
.legal-doc .toc ol { padding-left: 1.4em; }
.legal-doc .toc > ol { columns: 2; column-gap: 2.4em; }
.legal-doc .toc > ol > li { break-inside: avoid; margin-bottom: .8em; }
.legal-doc .toc a { text-decoration: none; }
.legal-doc .toc a:hover { text-decoration: underline; }
.legal-doc .doc-meta { color: var(--fg-muted); margin: 0; }

/* Deep links from the contents land under the sticky-ish header, not behind it */
.legal-doc .legal-section { scroll-margin-top: 1.5em; }

@media (max-width: 720px) {
  .legal-doc .toc > ol { columns: 1; }
  .legal-doc .num { min-width: 0; margin-right: .4em; }
}

@media (max-width: 560px) {
  .chartx__val { display: none; }
  .chart-frame.is-live { padding: 1.1em; }
  .chart-frame.is-live .chartx { height: 200px; }
  .chartx { gap: 3%; }
}
.chip--dark {
  border-color: rgba(255, 255, 255, .18);
  font-size: var(--text-sm);
}

/* auto-fitting card grids */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grid-gap);
  align-items: stretch;
}
.auto-grid--sm { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* compact card whose whole body is a single link label */
.card-link--compact .card {
  display: flex;
  align-items: center;
}
.card__link-label {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-sm);
  color: var(--accent-text);
}

/* sub-list inside a card body */
.card__list {
  margin: .9em 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .35em;
  color: var(--fg-dim);
}

/* ---------- news / archive ---------- */
.chip--active {
  border-color: var(--accent);
  color: var(--accent-text);
}
.chips--filters {
  margin: 0 0 2em;
  gap: .5em;
}
.chips--filters .chip {
  padding: .4em 1em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.6em 2.4em;
}
.media-frame--16x10 { aspect-ratio: 16 / 10; }
.news-card__category {
  margin-top: 1em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--accent-text);
}
.news-card__title {
  margin-top: .5em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--fg);
}
.news-card__meta {
  margin-top: .8em;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: center;
}
.newsletter-form {
  display: flex;
  gap: .7em;
  flex-wrap: wrap;
  align-items: center;
}
.control--pill {
  background: var(--bg-elev);
  border-radius: var(--radius-pill);
  padding: .75em 1.2em;
  min-width: 240px;
  width: auto;
}

/* ---------- reviews ---------- */
.featured-quote {
  margin: 1em 0 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.9rem;
  line-height: 1.4;
  color: var(--fg);
  max-width: 26ch;
  text-wrap: pretty;
}
.split--attrib {
  grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr);
  margin-top: 1.6em;
  padding-top: 1.6em;
  border-top: var(--border);
}

/* masonry-ish quote columns */
.quote-cols {
  column-count: 3;
  column-gap: 2.6em;
}
.quote {
  break-inside: avoid;
  padding-bottom: 2.2em;
  margin: 0;
}
.quote__text {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--fg);
  text-wrap: pretty;
}
.quote__attr {
  margin-top: .8em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-dim);
}
.quote__attr--accent { color: var(--accent-text); }

/* ---------- forms ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: .45em;
}
.field__label {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-dim);
}
.control {
  background: var(--bg);
  border: var(--border);
  border-radius: var(--radius-card);
  padding: .75em .9em;
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--text-sm);
  width: 100%;
}
.control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-wash);
}
textarea.control { resize: vertical; }

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  margin-top: 1.4em;
}

/* submit row; the button is disabled until a real endpoint exists */
.form-actions {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-top: 1.4em;
  flex-wrap: wrap;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}


/* ---------- forms: validation, choices, status (Contact + Request elements) ----------
   The elements bring behaviour only. They set data-*-state / data-*-step on the form and
   flag bad fields with [data-contact-invalid] / [data-request-invalid]; everything below
   is the page's own presentation of those hooks. Style around the elements, never inside. */

.field__hint {
  font-size: var(--text-xs);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  color: var(--fg-dim);
}

/* required marker */
.field__label .req { color: var(--accent-text); }

/* invalid fields */
.control[data-contact-invalid],
.control[data-request-invalid] {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px var(--danger-wash);
}

/* best-way-to-reach-you radios */
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
}
.choice {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .55em .9em;
  border: var(--border);
  border-radius: var(--radius-card);
  background: var(--bg);
  color: var(--fg-muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-body);
  line-height: 1;
  cursor: pointer;
}
.choice input {
  accent-color: var(--accent);
  margin: 0;
}
.choice:hover { color: var(--fg); }
.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-wash);
  color: var(--fg);
}
/* invalid wins over the checked state */
.choice:has(input[data-contact-invalid]),
.choice:has(input[data-request-invalid]) {
  border-color: var(--danger);
  background: var(--danger-wash);
}

.choice:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* status notices: one block per state, revealed by the element */
.form-note {
  margin-top: 1.2em;
  padding: .9em 1.1em;
  border: var(--border);
  border-left: 3px solid var(--fg-dim);
  border-radius: var(--radius-card);
  background: var(--bg);
  color: var(--fg-muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
}
.form-note--ok     { border-left-color: var(--ok);     color: var(--fg); }
.form-note--error  { border-left-color: var(--danger); color: var(--fg); }
.form-note--invalid{ border-left-color: var(--danger); }
.form-note strong { font-weight: var(--weight-body); color: var(--accent-text); }
.form-note a { color: var(--accent-text); }

/* the six-digit code step */
.code-step {
  margin-top: 1.4em;
  padding: 1.2em;
  border: var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-card);
  background: var(--accent-wash);
}
.code-step__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.1rem;
  line-height: 1.25;
  margin: 0 0 .35em;
  color: var(--fg);
}
.code-step__body {
  font-size: var(--text-sm);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  color: var(--fg-muted);
  margin: 0 0 1em;
}
.code-step .control {
  max-width: 11ch;
  font-size: 1.3rem;
  letter-spacing: .28em;
  text-align: center;
  padding: .55em .4em;
}
.code-step__actions {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin-top: 1em;
  flex-wrap: wrap;
}

/* a plain text button, for "send another code" */
.btn-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent-text);
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: var(--weight-body);
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.btn-link[disabled] { opacity: .5; cursor: not-allowed; }

/* busy state on the submit row */
form[data-contact-state="sending"] .form-actions,
form[data-request-state="sending-code"] .form-actions,
form[data-request-state="verifying"] .form-actions,
form[data-request-state="sending"] .form-actions { opacity: .7; }

@media (max-width: 560px) {
  .code-step { padding: 1em; }
  .code-step .control { max-width: 100%; }
}

/* vertical numbered steps, for a narrow column (.flow is a 5-up row) */
.steplist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4em;
}
.steplist > li {
  display: grid;
  grid-template-columns: 1.8em 1fr;
  column-gap: .9em;
  align-items: start;
}
.steplist .flow__num { margin-top: .05em; }
.steplist .flow__title { margin-top: 0; }
/* ---------- about: stat trio ---------- */
.stat-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 1.6em;
  margin-top: 2em;
  border-top: var(--border);
}
.stat-trio__item { padding: 1.2em 0; }
.stat-trio__value {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--accent-text);
}
.stat-trio__label {
  margin-top: .45em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-dim);
}

/* tighter column gap variant of the hairline grid */
.hairline-grid--gap-sm { gap: 0 2.4em; }

/* ---------- about: numbered step timeline (dark band) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.8em 2em;
  margin-top: 2.8em;
}
.step {
  position: relative;
  padding-top: 2.6em;
}
.step__line {
  position: absolute;
  top: 14px;
  left: 0;
  right: -2em;
  height: 1px;
  background: rgba(255, 255, 255, .16);
}
.step__dot {
  position: absolute;
  top: 8px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
}
.step__label {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--accent);
}
.step__body {
  margin: .7em 0 0;
  color: var(--fg-muted);
  line-height: var(--leading-body);
  text-wrap: pretty;
}

/* ---------- about: team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  align-items: stretch;
}
.media-frame--4x5 { aspect-ratio: 4 / 5; }
.team-name {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.05rem;
  color: var(--fg);
}
.team-role {
  color: var(--fg-muted);
  font-size: var(--text-sm);
  margin-top: .2em;
}

/* oversized watermark mark behind a section */
.deco-wrap { position: relative; overflow: hidden; }
.deco-mark {
  position: absolute;
  right: -2.5em;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  opacity: .07;
  color: var(--accent);
  pointer-events: none;
}
.deco-wrap > .split { position: relative; }

/* label / value detail grid, e.g. office hours block */
.detail-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .55em 1.4em;
  margin-top: 1.4em;
  padding-top: 1.4em;
  border-top: var(--border);
  color: var(--fg);
}
.detail-grid dt { color: var(--fg-dim); }
.detail-grid dd { margin: 0; }

/* ---------- five-step process flow, dark band ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2em;
  margin-top: 2.2em;
  border-top: 1px solid var(--hairline);
}
.flow__num {
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
}
.flow__title {
  margin-top: .6em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.05rem;
  color: var(--fg);
}
.flow__body {
  margin: .45em 0 0;
  color: var(--fg-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  text-wrap: pretty;
}

/* ---------- 4-up grid on a dark band, hairline rules ---------- */
.hairline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6em 2.4em;
  margin-top: 2.2em;
  border-top: 1px solid var(--hairline);
}
.hairline-grid__item {
  padding: 1.5em 0;
  border-bottom: 1px solid var(--hairline);
}
.hairline-grid__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.1rem;
  color: var(--fg);
}
.hairline-grid__body {
  margin: .4em 0 0;
  color: var(--fg-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

/* two-column variant: fewer, wider items at full body size */
.hairline-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3.4em;
}
.hairline-grid--2 .hairline-grid__item { padding: 1.6em 0; }
.hairline-grid--2 .hairline-grid__body {
  margin-top: .45em;
  font-size: var(--text-body);
  text-wrap: pretty;
}

/* three-column variant, keeps the compact item padding and small body text */
.hairline-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 0 3.4em;
}

/* same grid on a LIGHT band: swap hairlines for the --rule token */
.hairline-grid--ruled { border-top-color: var(--rule); }
.hairline-grid--ruled .hairline-grid__item { border-bottom-color: var(--rule); }

/* drop the default top margin when the grid follows a section heading */
.hairline-grid--flush { margin-top: 0; }

/* ---------- two-column service list (Services hub) ---------- */
.svc-rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3em;
  border-top: var(--border);
}
.svc-row {
  display: block;
  padding: 1.7em 0;
  border-bottom: var(--border);
  color: inherit;
}
.svc-row__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.2rem;
  color: var(--accent-text);
}
.svc-row__body {
  margin: .5em 0 0;
  color: var(--fg-muted);
  line-height: var(--leading-body);
  text-wrap: pretty;
}
.svc-row:hover .svc-row__title { color: var(--accent); }

/* ---------- closing rule + statement ---------- */
.accent-rule-top {
  border-top: 2px solid var(--accent);
  padding-top: 2.6em;
}
.statement {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display-strong);
  font-size: 2.4rem;
  line-height: 1.15;
  letter-spacing: var(--tracking-h1);
  color: var(--fg);
  max-width: 16ch;
  text-wrap: pretty;
}
.display-h2--tight { font-size: 2.6rem; max-width: 18ch; }
.display-h2--sm { font-size: 2.1rem; line-height: 1.15; max-width: 26ch; }
.closer--ruled { border-top: 1px solid rgba(255, 255, 255, .1); }

/* ==========================================================================
   RESPONSIVE
   Design target is 992px usable (1040px ceiling less 1.5em padding).
   ========================================================================== */

/* --------------------------------------------------------------------------
/* ---------- Ebook cards (Resources) ----------
   Publication-scale covers, not blog thumbnails. 3 across on desktop,
   2 on tablet, 1 on phones (responsive rules live with the other
   breakpoints below). Built so more resource types can reuse the grid. */
.ebook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2em 2.8em;
  margin-top: var(--space-5);
  align-items: start;
}
.media-frame--2x3 { aspect-ratio: 2 / 3; }
.ebook__cover { margin-bottom: 1.5em; }
.ebook__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.25rem;
  line-height: var(--leading-tight);
  color: var(--fg);
}
.ebook__subtitle {
  margin-top: .45em;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: .98rem;
  line-height: var(--leading-tight);
  color: var(--fg-muted);
  text-wrap: pretty;
}
.ebook__author {
  margin-top: .55em;
  font-family: var(--font-display);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--accent-text);
}
.ebook__desc {
  margin-top: .9em;
  color: var(--fg-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}
.ebook__actions { margin-top: 1.5em; }
.ebook__soon {
  display: inline-block;
  padding: .72em 1.6em;
  border: 1px dashed var(--rule);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-btn);
  color: var(--fg-dim);
  line-height: 1;
}

/* ---------- Book cover flip (Resources) ----------
   Reusable front/back cover component. No JavaScript: a visually hidden
   checkbox holds the flipped state, and the whole cover is a <label> for it,
   so click, tap and the Space key all toggle natively. Hover is a preview
   only, gated behind (hover: hover) so touch devices never get stuck in a
   hover state, and it is suppressed once the visitor has pinned the back
   cover - so the two never fight each other. */
.bookflip { display: block; cursor: pointer; }
.bookflip__stage { display: block; perspective: 1400px; }
.bookflip__inner {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transition: transform var(--dur-reveal) var(--ease);
}
.bookflip__face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  text-align: center;
  backface-visibility: hidden;
  border: var(--border);
  border-radius: var(--radius-card);
  background: rgba(0, 0, 0, .03);
  overflow: hidden;
}
.bookflip__face--back { transform: rotateY(180deg); }
.bookflip__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bookflip__face:has(img) { padding: 0; background: none; }

/* pinned open by click / tap / Space */
.bookflip__input:checked ~ .bookflip .bookflip__inner { transform: rotateY(180deg); }

/* hover is a preview, and only on real pointers, and only while not pinned */
@media (hover: hover) and (pointer: fine) {
  .bookflip__input:not(:checked) ~ .bookflip:hover .bookflip__inner { transform: rotateY(180deg); }
}

/* the checkbox is off-screen, so show focus on the cover it controls */
.bookflip__input:focus-visible ~ .bookflip .bookflip__stage {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-card);
}

/* understated cue; its text is the checkbox's accessible name, so the
   name changes with the state without any script */
.bookflip__cue {
  display: block;
  margin-top: .7em;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--fg-dim);
}
.bookflip:hover .bookflip__cue { color: var(--accent-text); }
.bookflip__cue--to-front { display: none; }
.bookflip__input:checked ~ .bookflip .bookflip__cue--to-back { display: none; }
.bookflip__input:checked ~ .bookflip .bookflip__cue--to-front { display: inline; }

/* reduced motion: no rotation at all, a plain crossfade between faces */
@media (prefers-reduced-motion: reduce) {
  .bookflip__inner { transition: none; }
  .bookflip__input:checked ~ .bookflip .bookflip__inner { transform: none; }
  .bookflip__face {
    backface-visibility: visible;
    transition: opacity 120ms linear;
  }
  .bookflip__face--back { transform: none; opacity: 0; }
  .bookflip__input:checked ~ .bookflip .bookflip__face--front { opacity: 0; }
  .bookflip__input:checked ~ .bookflip .bookflip__face--back { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
  .bookflip__input:not(:checked) ~ .bookflip:hover .bookflip__inner { transform: none; }
  .bookflip__input:not(:checked) ~ .bookflip:hover .bookflip__face--front { opacity: 0; }
  .bookflip__input:not(:checked) ~ .bookflip:hover .bookflip__face--back { opacity: 1; }
}

/* ---------- Scorecard presentation states ----------
   Live figures come from the Scorecard element. The markup keeps bracketed
   fallback text so the hooks are readable in source, but a visitor must never
   see it. So: these blocks are hidden until <html> reports data-scorecard="ready".
   If the script fails to load at all the attribute is simply absent, which is
   treated the same as an error - the block stays hidden and, on Performance,
   a short unavailable notice takes its place. */
.scorecard-block { display: none; }
html[data-scorecard="ready"] .scorecard-block { display: block; }

.scorecard-fallback {
  margin-top: var(--space-4);
  color: var(--fg-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  max-width: 54ch;
}
html[data-scorecard="ready"] .scorecard-fallback { display: none; }

   Small-text weight guard

   Display type runs at 300. (300 was chosen because it optically matches the
   Century Gothic brand font, which is used only in supplied image assets, never
   in live text; Poppins 400 carries ~27% more ink.) At small sizes
   300 gets too thin, so everything on the --text-micro (.68rem),
   --text-xs (.78rem) and --text-sm (.875rem) tier stays at 400.
   Placed after the components so it wins on source order, not specificity.
   -------------------------------------------------------------------------- */
.eyebrow,
.hero__eyebrow,
.forge__eyebrow,
.news-card__category,
.back-link,
.chart-tag,
.col-label,
.hero__note,
.kpi__label,
.metric-sm__label,
.metric-lead__label,
.stat-trio__label,
.trust-row__label,
.rating__label,
.plan__label,
.plan__subhead,
.step__label,
.field__label,
.quote__attr,
.review__attr,
.site-footer__label,
.site-topbar__inner,
.nav__link,
.nav__toggle,
.nav__submenu a,
.btn,
.num-badge,
.callout__link,
.card__link-label,
.link-row a,
.chips--filters .chip { font-weight: 400; }

/* ---------------------------------------------------------------------------
   Residential entry strip  (homepage, directly under the hero)

   Most residential customers arrive from a search like "computer repair near
   me" and land here rather than on techoutlet.us, so they need to see the door
   on the first screen. Added 2026-11-10; the lower homepage Tech Outlet callout
   was removed in the same change, so this replaces it rather than joining it.

   Redesigned 2026-11-10. A charcoal shelf, half a step lighter than the hero
   base, with a 2px orange seam at the top and no bottom border - the cream band
   below supplies that edge. The first version used the band-light cream, which
   is the SAME colour as the section beneath it, so the strip had no bottom edge
   and read as a stray piece of the next section pulled up under the hero.

   Simplified 2026-11-10: the monitor mark was removed and the ground moved from
   #242424 to #2e2e2e. The mark carried no meaning the headline did not already
   carry, it added nothing to the height at any width, and it was the element
   behind both rendering defects that day.

   It must not become a second hero: one row, 75px against the hero's 536px, no
   photograph, no display type, and orange only as a 2px rule and a button
   border. The hero keeps the only solid orange button on the screen.
   --------------------------------------------------------------------------- */
.resi {
  /* --bg-elev-2 (#2e2e2e), not --bg-elev (#242424): it separates from the hero
     base 2.3x more (1.282 against 1.121) and is the last step where the division
     line and the orange both still clear AA on it. #3a3a3a would drop them to
     4.04 and 3.78. */
  background: var(--bg-elev-2);
  border-top: 2px solid var(--accent);
  padding: 1.15em 0;
}
.resi__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8em 1.3em;
}
/* Headline and division line share one line while there is room and the
   division line drops beneath when there is not, so the row folds itself
   without a breakpoint. */
.resi__body {
  /* An explicit basis, not auto. With auto the base size is the headline plus
     the division line at their max-content width, which at tablet pushes the
     button onto a second row and the strip from 84px to 110px. A small basis
     keeps the button on row one and lets the text stack inside instead. */
  flex: 1 1 14em;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25em 1.1em;
}
.resi__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--fg);
}
.resi__note {
  color: var(--fg-muted);
  font-size: var(--text-sm);
  line-height: 1.35;
}
.resi__cta {
  flex: 0 0 auto;
  margin-left: auto;
}

/* Text links inside a callout are a real tap target, not just a word:
   24px clears WCAG 2.2 AA (2.5.8) without changing how they look. */
.callout__link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

@media (max-width: 1040px) and (min-width: 881px) {
  .svc-grid,
  .kpi-grid,
  .link-row,
  .numbered-cols,
  .trust-row,
  .flow,
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step__line { display: none; }
  .quote-cols { column-count: 2; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .ebook-grid { grid-template-columns: repeat(2, 1fr); gap: 2.6em 2em; }
  .split { grid-template-columns: 1fr !important; gap: 2em; }
  .why-sticky { position: static; }
  .svc-grid,
  .kpi-grid,
  .link-row,
  .numbered-cols,
  .plans,
  .svc-rows,
  .hairline-grid,
  .cols3,
  .flow,
  .trust-row,
  .field-pair,
  .steps,
  .stat-trio { grid-template-columns: 1fr; }
  /* four portraits in one column made the team section very tall on a tablet;
     two up reads better and keeps the 4:5 frames at a sensible size */
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .step__line { display: none; }
  .deco-mark { display: none; }
  .quote-cols { column-count: 1; }
  /* image leads on mobile so the section opens with the picture */
  .split--flip .media-frame { order: -1; }
  .archive-grid { grid-template-columns: 1fr; }
  .metrics-secondary { grid-template-columns: repeat(2, 1fr); }
  .metric-sm { padding-right: 0; }
  .ruled-cols--3 { grid-template-columns: repeat(2, 1fr); }
  .link-row a { padding-left: 0; padding-right: 0; }

  /* stacked plans: the left accent border reads as a stray vertical rule */
  .plan--featured {
    padding-left: 0;
    border-left: 0;
    background: none;
    border-top: 2px solid var(--accent);
    padding-top: 2em;
  }
  .includes__grid,
  .faq__row { grid-template-columns: 1fr; gap: .6em; }
  .panel { padding: 1.6em; }
  .page-hero__title { font-size: 2.2rem; }
  .statement { font-size: 1.9rem; }
  .display-h2--tight { font-size: 2rem; }

  .hero__title { font-size: 2.2rem; }
  .display-h2--xl { font-size: 2.1rem; }
  .display-h2--lg { font-size: 2rem; }
  .display-h2--md { font-size: 1.9rem; }
  .closer__title { font-size: 2.1rem; }
  .rating { font-size: 4rem; }

  .nav {
    flex-wrap: wrap;
    gap: .9em 1.2em;
    margin-left: 0;
    width: 100%;
  }
  .nav__group { position: static; }
  .nav__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: .4em 0 0;
    padding: 0 0 0 1em;
    background: none;
    border: none;
    border-left: var(--border);
    border-radius: 0;
    box-shadow: none;
  }
  /* Below 880px the submenu is a stacked list in the page flow, not a floating
     dropdown, so there is no reason to keep the desktop's `nowrap`. Without this,
     "Hardware, Networks & Infrastructure" (and, since 2026-11-11, "Computer Repair
     & Home Tech Help") run past their link box at roughly 320-340px and lose their
     last characters. Wrapping is confined to this block: the desktop dropdown above
     880px still sizes itself to the longest label on one line.

     Padding is .45em rather than .35em, with an explicit line-height, so a label
     that takes two lines still reads as one tappable block and keeps clear of its
     neighbours. One line is 31px tall, two are 50px -- both past the 24px AA
     target size. */
  .nav__submenu a {
    padding: .45em 0;
    white-space: normal;
    line-height: 1.35;
  }

    /* Below 880px the two nav groups become native <details> disclosures,
       collapsed on load, so the header no longer renders 13 submenu links
       inline. The <ul> is a SIBLING of <details>, not a child, so its
       visibility is controlled purely by CSS - no JavaScript, and the
       desktop hover dropdown above 880px is untouched. */
    .nav__disclosure { display: inline-block; }
    .nav__summary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 2.75rem;
      min-height: 2.75rem;
      padding: 0 .4em;
      margin-left: .1em;
      list-style: none;
      cursor: pointer;
      color: var(--fg-muted);
    }
    .nav__summary::-webkit-details-marker { display: none; }
    .nav__summary:hover { color: var(--accent); }
    .nav__summary:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
      border-radius: var(--radius-badge);
    }
    .nav__disclosure[open] .nav__caret { transform: rotate(180deg); }
    /* one caret per group: the summary owns it on mobile */
    .nav__toggle .nav__caret { display: none; }
    /* collapsed by default; the disclosure reveals its sibling list */
    .nav__submenu { display: none; }
    .nav__disclosure[open] + .nav__submenu { display: block; }
  .site-topbar__contact { margin-left: 0; }

    /* ---- compact mobile header (<=880px) -------------------------------
       The whole nav collapses behind a Menu disclosure, using the same
       sibling-<details> trick as the submenus: <nav> is a SIBLING of
       <details>, so visibility is pure CSS with no JavaScript, and the
       desktop header above 880px is completely unaffected.

       The brand, the phone number and Get support all stay reachable
       without opening the menu. */
    .nav-menu {
      display: inline-block;
      margin-left: auto;
    }
    .nav-menu__summary {
      display: inline-flex;
      align-items: center;
      gap: .45em;
      cursor: pointer;
      list-style: none;
      padding: .35em .75em;
      border: var(--border);
      border-radius: var(--radius-pill);
      font-family: var(--font-display);
      font-weight: var(--weight-body);
      font-size: var(--text-micro);
      text-transform: uppercase;
      letter-spacing: var(--tracking-label);
      color: var(--fg);
    }
    .nav-menu__summary::-webkit-details-marker { display: none; }
    .nav-menu__summary:hover { color: var(--accent); border-color: var(--accent); }
    .nav-menu__summary:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .nav-menu[open] .nav__caret { transform: rotate(180deg); }

    /* collapsed by default; the disclosure reveals its sibling nav */
    .nav { display: none; }
    .nav-menu[open] ~ .nav { display: flex; }
    /* keep the nav below Get support when open, without touching DOM order */
    .nav { order: 10; }

    /* tighter header, and the facts strip is reassurance rather than
       navigation - it is repeated in the page body, so it goes on phones */
    /* Padding was 1em top and bottom until 2026-11-23. Raising Get support to a
       44px touch target added 17px to the header, which pushed the Tech Outlet
       strip 18px below a 375x812 first screen -- the exact thing the hero
       tightening further down was done to prevent. Taking 10px back off each
       edge returns the header below its previous height, which also pays for the
       strip button growing 36px to 44px under the same .btn rule, and puts the
       strip, button included, back on the first screen. Keep these in step: if the button
       grows again, this has to pay for it. */
    .site-header__inner { gap: .7em 1em; padding-top: .35em; padding-bottom: .35em; }
    .site-topbar__facts { display: none; }


    /* Tap targets in the top bar. The phone number and Residential Tech Help
       were 17px tall, under WCAG 2.2 AA 2.5.8 (24x24). Growing them to 24 is
       paid for by tightening the row gap, so the bar does not get taller. */
    .site-topbar__inner { row-gap: .35em; }
    .site-topbar__phone,
    .site-topbar__residential {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
    }

    /* ---- Mobile usability, approved 2026-11-23 -------------------------
       From the 320/375/768 usability review. Everything here is confined to
       <=880px, so the desktop layout is untouched. */

    /* iOS Safari zooms the whole page when a field smaller than 16px takes
       focus, and the visitor has to pinch back out at every field. --text-sm
       is 14px, so every .control on /contact/ and /resources/ triggered it.
       16px stops the zoom at source; the viewport meta is deliberately left
       alone (initial-scale=1, no maximum-scale), so pinch-zoom still works.
       Padding is in em, so the fields grow from 44px to about 48px -- still
       the same form, just a little taller on phones. */
    .control { font-size: var(--text-body); }

    /* Top-level nav links were 20px tall: under WCAG 2.2 AA 2.5.8 (24x24),
       the one real target-size failure on the site. They live inside the
       collapsed Menu disclosure, so this adds no height to a closed header. */
    .nav__link,
    .nav__toggle {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
    }

    /* Primary CTAs were 36px tall, and .btn--sm (Get support, in the header)
       27px. Both now clear the 44px touch height. .btn is already an
       inline-flex centred box, so min-height alone does it without changing
       the pill shape or the type. The header does not grow: its height is set
       by the three-line brand name (58px), not by this button. */
    .btn { min-height: 44px; }
    .btn--sm { min-height: 44px; }

    /* Submenu rows were 28px tall with no gap at all, so nine of them read as
       one undivided column and a mis-tap landed on a neighbour. The rows keep
       their size (28px clears the 24px AA target); what they gain is 4px of
       separation each, which is what 2.5.8 asks for when targets are adjacent.
       Ten rows add about 36px inside an already-open disclosure, and nothing
       moves when the menu is shut. */
    .nav__submenu li + li { margin-top: 4px; }

}

@media (max-width: 560px) {
  .ebook-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  :root { --band-pad-y: 3em; }
  .metrics-secondary { grid-template-columns: 1fr; }
  .ruled-cols--2,
  .ruled-cols--3 { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.9rem; }
  .closer { padding: 3.5em 0; }
  .closer__title { font-size: 1.8rem; }
  .forge { padding: 1.4em; }


  /* Mobile hero tightening so the residential strip reaches the first screen.
     Spacing only below, and no type made smaller: the hero was 621px tall with
     its bottom edge 1px under a 375x812 fold. The one piece of content that
     goes is the hero note, hidden on phones only - see its comment. */
  .hero { padding-top: 1.5em; padding-bottom: 1.4em; }
  /* The phone background-position-x override was removed 2026-11-24 when the
     wide crop arrived. It existed to land the narrow phone slice on the facade
     instead of a tree trunk in the old 1700x889 original; the new 2000x684 crop
     is building across its whole width, so centred is right at every size. */
  .hero__title { margin-top: .35em; }
  .hero__sub { margin-top: .7em; }
  .hero__actions { margin-top: 1.2em; }
  /* Hidden on phones only, approved 2026-11-10. "Supporting businesses
     throughout the Lehigh Valley and beyond since 2009" repeats the sub
     directly above it, which already says "throughout the Lehigh Valley and
     beyond", and it sat immediately above a strip offering help at home. The
     ~80px it frees is what brings the whole Tech Outlet strip, button
     included, onto a 375x812 first screen. Still in the source and still
     visible on tablet and desktop. */
  .hero__note { display: none; }

  /* Phone: the mark sits beside the wrapped headline so it costs no height,
     the division line drops below, and the button takes the full width so it
     is unmistakably tappable rather than a small pill floating under text. */
  .resi { padding: .8em 0; }
  .resi__inner { gap: .5em .85em; }
  .resi__title { line-height: 1.22; }
  .resi__body { gap: .12em; }
  .resi__cta { margin-left: 0; width: 100%; justify-content: center; }
}
