/* JACO Electrical - site styles.
   Round 4 brand "Navy & Electric Blue" (Jake's roofline logo). Every colour and font is a custom property:
   to switch back to direction A (graphite/orange) or to B / C, replace the @font-face rules and :root block
   below with the matching block in css/themes.css (and swap the logo files). Nothing else needs to change. */

@font-face { font-family: "Sora"; src: url("/fonts/sora-latin-wght-normal.woff2?v=fa26406eed") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2?v=3100e775e8") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* palette - round 4, sampled from Jake's logo and banner */
  --c-dark: #01215e;          /* logo navy: dark sections */
  --c-dark-2: #0a2b6b;        /* raised surface on navy */
  --c-dark-3: #1e4486;        /* hairlines/cards on navy */
  --c-light: #ffffff;
  --c-light-2: #f2f7fc;       /* pale blueprint tint */
  --c-steel: #8fa3c0;
  --c-steel-text: #b9cce6;    /* secondary text on navy (9.3:1) */
  --c-muted-on-light: #4a5b78;/* secondary text on white (6.9:1) */
  --c-ink: #0b1535;           /* deep ink: text on light (17.9:1) */
  --c-ink-inverse: #ffffff;
  --c-accent: #178be5;        /* electric blue: graphics, large type, lines (NOT small text on white: 3.6:1) */
  --c-accent-strong: #1268c4; /* small accent text on white / pale (5.5:1) */
  --c-btn: #1268c4;           /* primary buttons, white text 5.5:1 */
  --c-on-accent: #ffffff;
  --c-accent-hover: #0f5fa8;
  --c-pale: #a0c3e0;
  --c-footer: #0b1535; --c-field-line: #2d4f8c;
  --c-dark-rgb: 1 33 94; --c-ink-rgb: 11 21 53; --c-accent-rgb: 23 139 229;
  /* type */
  --f-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num: "Sora", ui-sans-serif, system-ui, sans-serif;
  --head-weight: 600;
  --head-track: -0.03em;
  /* layout */
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(56px, 10vw, 150px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
/* inside navy sections the accent switches to a lighter electric blue so small accent text stays AA (6.4:1) */
.dark, .site-footer, .lb, .notes-box { --c-accent: #4db0f5; --c-accent-rgb: 77 176 245; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65; color: var(--c-ink);
  background: var(--c-light); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
picture { display: block; }
figure { margin: 0; }
picture img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: var(--head-weight); letter-spacing: var(--head-track);
  line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--c-accent); color: var(--c-on-accent); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-accent); color: var(--c-on-accent);
  padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; }

/* ---------- themes for sections ---------- */
.dark { background: var(--c-dark); color: var(--c-ink-inverse); }
.dark .muted, .dark .lede { color: var(--c-steel-text); }
.light-2 { background: var(--c-light-2); }
.muted { color: var(--c-muted-on-light); }

/* ---------- labels / eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-head); font-size: .78rem;
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 28px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--c-accent); }
.eyebrow .n { color: var(--c-accent-strong); }
.dark .eyebrow .n { color: var(--c-accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; font-family: var(--f-head);
  font-weight: 600; font-size: 1rem; letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent;
  border-radius: var(--radius); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease),
  border-color .25s var(--ease), transform .25s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-accent { background: var(--c-accent); color: var(--c-on-accent); }
.btn-accent:hover { background: var(--c-accent-hover); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: var(--c-ink); color: var(--c-light); border-color: var(--c-ink); }
.dark .btn-line:hover { background: var(--c-light); color: var(--c-ink); border-color: var(--c-light); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.textlink { font-family: var(--f-head); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--c-accent);
  padding-bottom: 2px; }
.textlink:hover { color: var(--c-accent-strong); }
.dark .textlink:hover { color: var(--c-accent); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s var(--ease),
  box-shadow .3s var(--ease), color .3s var(--ease); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.site-header.on-dark { color: var(--c-ink-inverse); }
.site-header.scrolled { background: rgb(var(--c-dark-rgb) / .92); color: var(--c-ink-inverse);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header.on-light:not(.scrolled) { color: var(--c-ink); }
.logo { display: flex; align-items: center; text-decoration: none; height: 44px; }
.logo svg { height: 44px; width: auto; }
.logo .lt { fill: currentColor; }
.logo .sub { fill: currentColor; opacity: .62; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { font-family: var(--f-head); font-size: .95rem; font-weight: 500; text-decoration: none; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--c-accent);
  transition: right .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { min-height: 44px; padding: 0 18px; }
.nav .nav-phone { white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 110px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px;
    background: var(--c-dark); color: var(--c-ink-inverse); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; max-height: calc(100vh - 110px); overflow: auto; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--c-dark-3); font-size: 1.15rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; justify-content: center; min-height: 52px; }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .menu-open .site-header { background: var(--c-dark); color: var(--c-ink-inverse); }
}

/* ---------- hero: home (light, split) ---------- */
.hero-home { padding: 176px 0 0; position: relative; overflow: hidden; }
.hero-home .grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 88px); align-items: end; }
.hero-home h1 { font-size: clamp(2.7rem, 6.4vw, 6.2rem); line-height: .98; margin-bottom: 32px; }
.hero-home h1 em { font-style: normal; color: var(--c-accent-strong); }
.hero-home .lede { font-size: clamp(1.08rem, 1.4vw, 1.3rem); max-width: 34em; color: var(--c-muted-on-light); margin-bottom: 40px; }
.hero-home .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(48px, 7vw, 96px); }
.hero-home .copy { padding-bottom: clamp(0px, 2vw, 24px); }
.hero-media { position: relative; aspect-ratio: 4 / 3.4; margin-bottom: -1px; }
.hero-media img { object-position: 50% 62%; }
.hero-media picture { height: 100%; }
.hero-media figcaption { position: absolute; left: 0; bottom: 0; transform: translateY(0); background: var(--c-dark);
  color: var(--c-ink-inverse); font-size: .85rem; padding: 14px 18px; max-width: 78%; line-height: 1.45; }
.hero-media figcaption b { display: block; font-family: var(--f-head); font-weight: 600; color: var(--c-accent); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.hero-tag { display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--f-head); font-size: .9rem; font-weight: 500;
  margin: 0 0 30px; color: var(--c-muted-on-light); }
.hero-tag li { display: flex; align-items: center; gap: 10px; }
.hero-tag li::before { content: ""; width: 6px; height: 6px; background: var(--c-accent); }

/* ---------- hero: elevators (dark, video) ---------- */
.hero-video { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden;
  background: var(--c-dark); color: var(--c-ink-inverse); padding: 170px 0 clamp(56px, 8vw, 104px); }
.hero-video .bg { position: absolute; inset: 0; }
.hero-video .bg video, .hero-video .bg picture, .hero-video .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-video .bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(var(--c-dark-rgb) / .72) 0%, rgb(var(--c-dark-rgb) / .42) 38%, rgb(var(--c-dark-rgb) / .88) 78%, var(--c-dark) 100%),
              linear-gradient(90deg, rgb(var(--c-dark-rgb) / .85) 0%, rgb(var(--c-dark-rgb) / .2) 70%); }
.hero-video .wrap { position: relative; }
.hero-video h1 { font-size: clamp(2.6rem, 6.6vw, 6.4rem); line-height: .97; max-width: 13ch; margin-bottom: 30px; }
.hero-video .lede { font-size: clamp(1.08rem, 1.4vw, 1.3rem); max-width: 36em; color: #cdd1d5; margin-bottom: 40px; }
.hero-video .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.video-toggle { position: absolute; right: var(--gutter); bottom: clamp(56px, 8vw, 104px); z-index: 2; display: inline-flex;
  align-items: center; gap: 8px; background: rgb(var(--c-dark-rgb) / .6); color: var(--c-ink-inverse); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 8px 14px; font: 500 .8rem var(--f-head); cursor: pointer; }
.video-toggle:hover { border-color: var(--c-accent); }
.video-toggle[hidden] { display: none; }

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--c-dark-3); }
.proof ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof li { padding: 40px 28px 44px 0; border-right: 1px solid var(--c-dark-3); padding-left: 28px; }
.proof li:first-child { padding-left: 0; }
.proof li:last-child { border-right: 0; }
.proof .num { display: block; font-family: var(--f-num); font-weight: 600; font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  letter-spacing: -.03em; line-height: 1; margin-bottom: 12px; }
.proof .num small { font-size: .45em; letter-spacing: 0; color: var(--c-accent); margin-left: 4px; font-weight: 600; }
.proof .lbl { font-size: .95rem; color: var(--c-steel-text); line-height: 1.45; display: block; max-width: 22ch; }

/* ---------- generic section ---------- */
.section { padding: var(--section) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); }
.section-head p { font-size: 1.12rem; margin: 0; max-width: 34em; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); margin-bottom: 28px; }
.lede { font-size: 1.15rem; }

/* ---------- services list ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(var(--c-ink-rgb) / .16); }
.services li { padding: 34px 32px 40px 0; border-bottom: 1px solid rgb(var(--c-ink-rgb) / .16); position: relative; }
.services li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid rgb(var(--c-ink-rgb) / .16); }
.services .k { font-family: var(--f-num); font-size: .82rem; font-weight: 600; color: var(--c-accent-strong); letter-spacing: .08em;
  display: block; margin-bottom: 26px; }
.services h3 { font-size: 1.42rem; margin-bottom: 12px; letter-spacing: -.015em; }
.services p { margin: 0; color: var(--c-muted-on-light); font-size: 1rem; }
.dark .services { border-top-color: var(--c-dark-3); }
.dark .services li { border-color: var(--c-dark-3); }
.dark .services .k { color: var(--c-accent); }
.dark .services p { color: var(--c-steel-text); }
.services-note { margin-top: 28px; font-size: .92rem; }

/* ---------- feature (split image + text) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 104px); align-items: center; }
.feature.flip .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media picture { aspect-ratio: 4 / 5; }
.feature-media.wide picture { aspect-ratio: 5 / 4; }
.feature-media.full picture { aspect-ratio: 4 / 3; }   /* show the whole photo, never crop it */
.feature-media .tag { position: absolute; right: -1px; bottom: -1px; background: var(--c-accent); color: var(--c-on-accent);
  font: 600 .75rem var(--f-head); letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; }
.feature h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin-bottom: 28px; }
.feature .lede { margin-bottom: 1.2em; }
.checks { margin: 28px 0 36px; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.checks li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; border: 2px solid var(--c-accent); }

/* ---------- audiences ---------- */
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: transparent; }
.audiences li { background: var(--c-dark-2); padding: 34px 28px 38px; display: flex; flex-direction: column; }
.light-2 .audiences li, .audiences.on-light li { background: var(--c-light); }
.audiences svg { width: 34px; height: 34px; color: var(--c-accent-strong); }
.dark .audiences svg { color: var(--c-accent); }
.section:not(.light-2) .audiences.on-light li { background: var(--c-light-2); }
.audiences h3 { font-size: 1.3rem; margin: 48px 0 10px; }
.audiences p { margin: 0; font-size: .98rem; color: var(--c-steel-text); }
.audiences.on-light p { color: var(--c-muted-on-light); }

/* ---------- lifts teaser (home) ---------- */
.teaser { position: relative; overflow: hidden; }
.teaser .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.teaser h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); margin-bottom: 26px; }
.teaser .mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 6 / 5; }
.teaser .mosaic > :first-child { grid-row: 1 / 3; }
.teaser .mosaic picture, .teaser .mosaic video { width: 100%; height: 100%; object-fit: cover; }
.teaser .stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 32px 0 40px; }
.teaser .stats b { display: block; font-family: var(--f-num); font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.teaser .stats span { font-size: .88rem; color: var(--c-steel-text); }

/* ---------- spec panel (lifts) ---------- */
.spec { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 104px); align-items: start; }
.spec-table { border-top: 2px solid var(--c-accent); }
.spec-table div { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--c-dark-3);
  align-items: baseline; }
.spec-table dt { color: var(--c-steel-text); font-size: .95rem; }
.spec-table dd { margin: 0; font-family: var(--f-num); font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: -.02em;
  text-align: right; }
.spec-table dd.txt { font-size: 1.05rem; font-family: var(--f-body); font-weight: 500; letter-spacing: 0; max-width: 22em; }

/* ---------- training / makes ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.card { border: 1px solid rgb(var(--c-ink-rgb) / .16); padding: 32px 30px 36px; background: var(--c-light); }
.card .where { font: 600 .78rem var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-strong); }
.card h3 { font-size: 1.6rem; margin: 18px 0 12px; }
.card p { margin: 0; color: var(--c-muted-on-light); }
.makes { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 0 0 18px; }
.makes li { font-family: var(--f-head); font-size: clamp(1.5rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -.02em; }
.makes li:not(:last-child)::after { content: "/"; color: var(--c-accent); margin: 0 .5em; font-weight: 400; }
.fineprint { font-size: .88rem; color: var(--c-muted-on-light); max-width: 52em; }
.dark .fineprint { color: var(--c-steel-text); }

/* ---------- gallery: justified rows. Each item gets --a (its aspect ratio) from the build,
   so every photo in a row shares one height and none is cropped. ---------- */
.gallery { display: grid; gap: 10px; }
.g-row { display: flex; gap: 10px; }
.gallery a { position: relative; display: block; overflow: hidden; background: var(--c-dark-2); text-decoration: none;
  flex: var(--a) 1 0; aspect-ratio: var(--a); min-width: 0; }
.gallery picture { height: 100%; }
.gallery img { transition: transform .8s var(--ease); }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.035); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; font-size: .88rem; line-height: 1.4;
  color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease); }
.gallery a:hover figcaption, .gallery a:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery figcaption { opacity: 1; transform: none; font-size: .8rem; padding: 28px 12px 10px; } }
@media (max-width: 700px) {
  .g-row { flex-wrap: wrap; }
  .gallery a { flex: 1 1 calc(50% - 5px); aspect-ratio: 4 / 5; }
  .gallery a.wide { flex-basis: 100%; aspect-ratio: 4 / 3; }
}

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(10,11,12,.96); display: none; align-items: center; justify-content: center;
  padding: 64px 72px; }
.lb.open { display: flex; }
.lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lb img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; }
.lb figcaption { color: #d6d9dc; font-size: .95rem; text-align: center; max-width: 60ch; }
.lb figcaption .count { display: block; font: 600 .75rem var(--f-head); letter-spacing: .14em; color: var(--c-accent); margin-bottom: 6px; }
.lb button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.22); color: #fff; width: 52px; height: 52px;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s; }
.lb button:hover { border-color: var(--c-accent); background: rgb(var(--c-accent-rgb) / .12); }
.lb button svg { width: 22px; height: 22px; }
.lb .close { top: 18px; right: 18px; }
.lb .prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.steps li { padding: 0 28px 0 0; counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; font: 600 .82rem var(--f-num); letter-spacing: .08em; color: var(--c-accent);
  padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--c-dark-3); }
.light-2 .steps li::before, .steps.on-light li::before { color: var(--c-accent-strong); border-bottom-color: rgb(var(--c-ink-rgb) / .16); }
.steps h3 { font-size: 1.32rem; margin-bottom: 12px; }
.steps p { margin: 0; font-size: .98rem; color: var(--c-steel-text); }
.steps.on-light p { color: var(--c-muted-on-light); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 104px); align-items: center; }
.about .portrait { position: relative; }
.about .portrait picture { aspect-ratio: 1 / 1.04; }
.about .portrait figcaption { font-size: .85rem; color: var(--c-muted-on-light); margin-top: 12px; }
.about h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin-bottom: 28px; }
.about blockquote { margin: 34px 0 0; padding: 0 0 0 24px; border-left: 2px solid var(--c-accent); font-family: var(--f-head);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.35; letter-spacing: -.01em; }
.about blockquote cite { display: block; font: 500 .9rem var(--f-body); font-style: normal; color: var(--c-muted-on-light); margin-top: 12px; }

/* ---------- safety band ---------- */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 8px; }
.badges li { background: var(--c-dark-2); padding: 26px 24px; }
.badges b { display: block; font-family: var(--f-head); font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; }
.badges span { font-size: .92rem; color: var(--c-steel-text); line-height: 1.45; display: block; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 104px); }
.contact h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); margin-bottom: 26px; }
.contact-list { margin: 40px 0 0; border-top: 1px solid var(--c-dark-3); }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--c-dark-3);
  align-items: baseline; }
.contact-list .k { font: 600 .75rem var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--c-steel-text); }
.contact-list a, .contact-list .v { font-family: var(--f-head); font-size: 1.2rem; font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--c-accent); }
.form { background: var(--c-dark-2); padding: clamp(24px, 4vw, 48px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font: 500 .85rem var(--f-head); letter-spacing: .02em; color: #d9dcdf; }
.field label .opt { color: var(--c-steel-text); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--c-ink-inverse); background: var(--c-dark);
  border: 1px solid var(--c-field-line); border-radius: var(--radius); padding: 14px 14px; min-height: 52px; width: 100%;
  transition: border-color .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-steel-text) 50%),
  linear-gradient(135deg, var(--c-steel-text) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-accent); outline: none;
  box-shadow: 0 0 0 3px rgb(var(--c-accent-rgb) / .25); }
.field [aria-invalid="true"] { border-color: #ff6b5a; }
.field .err { color: #ff8f80; font-size: .85rem; min-height: 0; }
.form .note { font-size: .85rem; color: var(--c-steel-text); margin: 16px 0 0; }
.form .status { margin-top: 14px; font-size: .95rem; color: var(--c-ink-inverse); }
.form .btn { width: 100%; justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-footer); color: var(--c-steel-text); padding: 72px 0 40px; font-size: .92rem; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid var(--c-dark-3); }
.site-footer .logo { color: var(--c-ink-inverse); margin-bottom: 20px; }
.site-footer h3 { font: 600 .75rem var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-inverse);
  margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; font-size: .85rem; }
.site-footer .legal p { margin: 0; }

/* ---------- prose page ---------- */
.prose { max-width: 44em; padding: 190px 0 var(--section); }
.prose h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 32px; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; }
.prose a { color: var(--c-accent-strong); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .services li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .services li:nth-child(2n) { padding-left: 28px; border-left: 1px solid rgb(var(--c-ink-rgb) / .16); }
  .dark .services li:nth-child(2n) { border-left-color: var(--c-dark-3); }
  .audiences { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-home { padding-top: 136px; }
  .hero-home .grid, .feature, .about, .contact, .teaser .grid, .spec, .section-head { grid-template-columns: 1fr; }
  .hero-home .ctas { margin-bottom: 40px; }
  .hero-media { aspect-ratio: 16 / 11; margin: 0 calc(var(--gutter) * -1); }
  .feature.flip .feature-media { order: 0; }
  .proof ul { grid-template-columns: 1fr 1fr; }
  .proof li { padding: 28px 18px 30px 0 !important; border-right: 0; border-bottom: 1px solid var(--c-dark-3); }
  .proof li:nth-child(2n) { padding-left: 18px !important; border-left: 1px solid var(--c-dark-3); }
  .proof li:nth-last-child(-n+2) { border-bottom: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .cards3 { grid-template-columns: 1fr; }
  .lb { padding: 64px 12px 90px; }
  .lb .prev, .lb .next { top: auto; bottom: 18px; transform: none; }
  .lb .prev { left: calc(50% - 64px); } .lb .next { right: calc(50% - 64px); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .services { grid-template-columns: 1fr; }
  .services li, .services li:nth-child(2n) { padding: 28px 0 30px !important; border-left: 0 !important; }
  .audiences, .badges { grid-template-columns: 1fr; }
  .audiences h3 { margin-top: 24px; }
  .steps { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .site-footer .top { grid-template-columns: 1fr; }
  .hero-home .ctas .btn, .hero-video .ctas .btn { flex: 1 1 100%; justify-content: center; }
  .teaser .mosaic { aspect-ratio: 1 / 1.05; }
  .video-toggle { bottom: auto; top: 92px; }
  .spec-table div { grid-template-columns: 96px 1fr; gap: 16px; }
}

/* ---------- form honeypot (bots fill it, people never see it) ---------- */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Jake's private notes panel (only rendered after ?notes / unlock) ---------- */
.notes-box { position: fixed; right: 16px; bottom: 16px; z-index: 150; width: min(360px, calc(100vw - 32px));
  background: var(--c-dark-2); color: var(--c-ink-inverse); border: 1px solid var(--c-dark-3); border-top: 3px solid var(--c-accent);
  box-shadow: 0 18px 50px rgba(0,0,0,.45); font-size: .9rem; }
.notes-box .nb-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--c-dark-3); }
.notes-box .nb-head b { font-family: var(--f-head); }
.notes-box .nb-page { color: var(--c-steel-text); font-size: .8rem; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notes-box .nb-min, .notes-box .nb-lock { background: none; border: 1px solid var(--c-dark-3); color: var(--c-ink-inverse);
  min-width: 32px; min-height: 32px; cursor: pointer; font: inherit; }
.notes-box .nb-lock { padding: 0 12px; }
.notes-box form, .notes-box .nb-body { padding: 12px; display: grid; gap: 10px; }
.notes-box input, .notes-box textarea { font: inherit; color: var(--c-ink-inverse); background: var(--c-dark); border: 1px solid var(--c-field-line);
  padding: 10px; width: 100%; border-radius: var(--radius); }
.notes-box textarea { min-height: 140px; resize: vertical; }
.notes-box .btn { min-height: 40px; padding: 0 16px; justify-content: center; }
.notes-box .nb-foot { display: flex; align-items: center; gap: 8px; }
.notes-box .nb-saved { flex: 1; color: var(--c-steel-text); font-size: .8rem; }
.notes-box .nb-msg { margin: 0; padding: 0 12px; color: var(--c-accent); }
.notes-box .nb-msg:empty { display: none; }
.notes-box.min form, .notes-box.min .nb-body, .notes-box.min .nb-msg { display: none; }
@media print { .notes-box { display: none; } }
.notes-box [hidden] { display: none !important; }


/* ================= round 3 components ================= */

/* "Local to Taree" strip at the very top (inside the fixed header) */
.topstrip { background: var(--c-accent); color: var(--c-on-accent); font: 500 .82rem var(--f-head); letter-spacing: .02em; }
.topstrip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.topstrip .ts-local { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topstrip svg { width: 15px; height: 15px; flex: none; }
.topstrip b { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.topstrip .ts-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.topstrip .ts-phone:hover { text-decoration: underline; }
@media (max-width: 560px) { .topstrip .ts-more { display: none; } }

/* audience chips under the services intro (replaces the old "who we work with" section) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { font: 500 .82rem var(--f-head); padding: 7px 12px; border: 1px solid rgb(var(--c-ink-rgb) / .18); border-radius: 999px; }
.chips li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--c-accent); margin-right: 8px; vertical-align: middle; }

/* service cards (home 01, elevators 01) */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc { position: relative; background: #fbfaf8; border: 1px solid rgb(var(--c-ink-rgb) / .10); padding: 28px 26px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.svc::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--c-accent); transition: width .45s var(--ease); }
.svc:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgb(var(--c-ink-rgb) / .10); border-color: rgb(var(--c-ink-rgb) / .16); }
.svc:hover::after { width: 100%; }
.svc-ico { display: grid; place-items: center; width: 52px; height: 52px; background: rgb(var(--c-accent-rgb) / .12); color: var(--c-accent-strong); margin-bottom: 22px; }
.svc-ico svg { width: 28px; height: 28px; }
.svc .k { position: absolute; top: 24px; right: 24px; font: 600 .8rem var(--f-num); letter-spacing: .08em; color: rgb(var(--c-ink-rgb) / .35); }
.svc h3 { font-size: 1.28rem; margin-bottom: 10px; letter-spacing: -.015em; }
.svc p { margin: 0; color: var(--c-muted-on-light); font-size: .97rem; line-height: 1.55; }

/* "why a licensed electrician" row (home 02) */
.why-licensed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: clamp(40px, 6vw, 80px); }
.why-licensed li { background: var(--c-dark-2); padding: 24px 24px 26px; border-top: 2px solid var(--c-accent); }
.why-licensed b { display: block; font: 600 1.15rem var(--f-head); margin-bottom: 6px; }
.why-licensed span { color: var(--c-steel-text); font-size: .95rem; line-height: 1.5; display: block; }

/* tiny pointer from the home page to the lifts page */
.pointer-band { background: var(--c-light-2); border-top: 1px solid rgb(var(--c-ink-rgb) / .08); }
.pointer-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.pointer-band p { margin: 0; }
.pointer-band .textlink { display: inline-flex; align-items: center; gap: 8px; }
.pointer-band .textlink svg { width: 16px; height: 16px; }

/* track record: photo of the job + scope list */
.job-photo { margin-top: 32px; }
.job-photo picture { aspect-ratio: 4 / 3; }
.job-photo figcaption { font-size: .85rem; color: var(--c-steel-text); margin-top: 10px; }
.spec-table ol.scope { margin: 0; padding: 0; list-style: none; counter-reset: sc; text-align: left; }
.spec-table ol.scope li { counter-increment: sc; display: flex; gap: 10px; justify-content: flex-end; }
.spec-table ol.scope li::before { content: counter(sc) "."; color: var(--c-accent); font-family: var(--f-num); }
.minor-makes { max-width: 52em; font-size: 1.05rem; margin: 6px 0 14px; }
.minor-makes b { font-family: var(--f-head); font-weight: 600; }

/* swipe hint + horizontal swipe rows on phones (keeps long sections short) */
.swipe-hint { display: none; align-items: center; gap: 8px; font: 500 .8rem var(--f-head); letter-spacing: .04em; color: var(--c-muted-on-light); margin: 0 0 12px; }
.dark .swipe-hint { color: var(--c-steel-text); }
.swipe-hint svg { width: 16px; height: 16px; }
@media (max-width: 1100px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .swipe-hint { display: flex; }
  .m-scroll { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
    scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .m-scroll::-webkit-scrollbar { display: none; }
  .m-scroll > * { flex: 0 0 82%; scroll-snap-align: start; min-width: 0; }
  .m-scroll:focus-visible { outline-offset: -2px; }
  .svc { padding: 24px 22px 26px; }
  .cards3.m-scroll > * { flex-basis: 84%; }
  .audiences.m-scroll li { min-height: 0; }
  .why-licensed { grid-template-columns: 1fr; }
  .why-licensed.m-scroll > * { flex-basis: 80%; }
  /* gallery: one swipeable row instead of a 4,000 px stack */
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .g-row { display: contents; }
  .gallery a, .gallery a.wide { flex: 0 0 78%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .gallery a.wide { flex-basis: 90%; aspect-ratio: 4 / 3.2; }
  /* other compact layouts */
  .steps { grid-template-columns: 1fr 1fr !important; gap: 28px 18px !important; }
  .steps li { padding-right: 0; }
  .steps li::before { padding-bottom: 10px; margin-bottom: 14px; }
  .steps h3 { font-size: 1.08rem; }
  .steps p { font-size: .9rem; }
  .badges { grid-template-columns: 1fr 1fr !important; }
  .badges li { padding: 18px 16px; }
  .badges b { font-size: 1rem; }
  .about .portrait picture { aspect-ratio: 4 / 3.3; }
  .about blockquote { margin-top: 24px; }
  .contact-list li { grid-template-columns: 92px 1fr !important; gap: 10px !important; padding: 13px 0; }
  .contact-list a, .contact-list .v { font-size: 1.05rem; }
  .job-photo picture { aspect-ratio: 16 / 10; }
  .feature-media picture { aspect-ratio: 16 / 11; }
  .section-head { margin-bottom: 28px; }
}
.steps { list-style: none; margin: 0; padding: 0; }
.steps + .badges { margin-top: clamp(40px, 6vw, 96px); }
@media (max-width: 560px) {
  .form .row { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .site-footer .top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .site-footer .top > div:first-child { grid-column: 1 / -1; }
  .site-footer .top > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 360px) { .form .row { grid-template-columns: 1fr; } }

/* ================= round 4: navy & electric blue redesign ================= */
/* header: always solid white with the vector logo; navy "Local to Taree" strip on top */
.site-header, .site-header.on-dark, .site-header.on-light:not(.scrolled) { background: #fff; color: var(--c-ink); }
.site-header { box-shadow: 0 1px 0 rgb(var(--c-ink-rgb) / .07); }
.site-header.scrolled { background: rgb(255 255 255 / .96); color: var(--c-ink); box-shadow: 0 8px 30px rgb(var(--c-ink-rgb) / .10); }
.site-header .bar { height: 84px; transition: height .3s var(--ease); }
.site-header.scrolled .bar { height: 68px; }
.logo { height: auto; }
.logo img { height: 58px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .logo img { height: 46px; }
.home .site-header:not(.scrolled) .logo { opacity: 0; pointer-events: none; }   /* hero shows the big logo */
.logo { transition: opacity .3s var(--ease); }
.topstrip { background: var(--c-dark); color: #fff; }
.topstrip svg { color: #4db0f5; }
.topstrip .ts-phone { color: #fff; }
.nav a:not(.btn)::after { background: var(--c-accent); }
.nav a[aria-current="page"] { color: var(--c-accent-strong); }
.btn-accent { background: var(--c-btn); color: #fff; box-shadow: 0 6px 18px rgb(18 104 196 / .28); }
.btn-accent:hover { background: var(--c-accent-hover); }
.dark .btn-accent { box-shadow: 0 6px 22px rgb(0 0 0 / .25); }
.btn-line:hover { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.site-footer .logo img { height: 64px; }
@media (max-width: 980px) {
  .nav { inset: 118px 0 auto 0; background: var(--c-dark); }
  .menu-open .site-header { background: #fff; color: var(--c-ink); }
  .nav a[aria-current="page"] { color: #4db0f5; }
}
@media (max-width: 560px) { .logo img { height: 46px; } .site-header .bar { height: 72px; } .nav { inset: 106px 0 auto 0; } }

/* blueprint texture for light sections */
.bp-grid { background-color: var(--c-light-2);
  background-image: linear-gradient(rgb(var(--c-accent-rgb) / .07) 1px, transparent 1px),
                    linear-gradient(90deg, rgb(var(--c-accent-rgb) / .07) 1px, transparent 1px);
  background-size: 34px 34px; }

/* ---------- home hero: rebuilt from Jake's banner (sky + blueprint city layer + vector logo) ---------- */
.hero-bp { position: relative; overflow: hidden; padding-top: 150px;
  background: radial-gradient(1100px 620px at 82% 18%, rgb(23 139 229 / .22), transparent 62%),
              linear-gradient(180deg, #ffffff 0%, #f2f7fc 52%, #d9e8f7 100%); }
.hero-bp::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(23 139 229 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(23 139 229 / .07) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.hero-bp .bp-city { position: absolute; right: 0; bottom: 0; width: min(1560px, 104%); pointer-events: none; z-index: 0; }
.hero-bp .bp-city img { width: 100%; height: auto; }
.hero-bp .wrap { position: relative; z-index: 1; }
.bp-content { max-width: 600px; padding-bottom: clamp(190px, 21vw, 330px); }
.bp-logo { width: clamp(280px, 33vw, 520px); height: auto; margin: 0 0 30px -6px; }
.hero-bp .eyebrow { margin-bottom: 18px; }
.hero-bp h1 { font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.02; margin-bottom: 22px; }
.hero-bp h1 em { font-style: normal; color: var(--c-accent-strong); }
.hero-bp .lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--c-muted-on-light); max-width: 34em; margin-bottom: 30px; }
.hero-bp .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-bp .hero-tag { margin: 24px 0 0; }
@media (max-width: 860px) {
  .hero-bp { padding-top: 130px; }
  .bp-content { padding-bottom: 8px; max-width: none; }
  .bp-logo { width: min(400px, 88vw); margin-left: 0; }
  .hero-bp .bp-city { position: relative; width: 175%; margin: -6px 0 0 -70%; right: auto; }
}
@media (max-width: 560px) { .hero-bp .ctas .btn { flex: 1 1 100%; justify-content: center; } }

/* ---------- consistent two-tone icons ---------- */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic .ac { stroke: var(--c-accent); }
.svc { background: #fff; border-color: rgb(var(--c-accent-rgb) / .18); border-radius: var(--radius); }
.svc-ico { background: rgb(var(--c-accent-rgb) / .10); color: var(--c-dark); border-radius: 10px; }
.svc-ico svg .ac, .svc-ico svg [data-ac] { stroke: var(--c-accent); }
.contact-list li { grid-template-columns: 140px 1fr; }
.contact-list .k { display: inline-flex; align-items: center; gap: 10px; }
.contact-list .k .ic { width: 20px; height: 20px; color: #4db0f5; }

/* ---------- elevators: safety testing videos (portrait, tap to play) ---------- */
.test-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tv { margin: 0; background: var(--c-dark-2); border: 1px solid var(--c-dark-3); border-radius: 14px; overflow: hidden; }
.tv .frame { position: relative; aspect-ratio: 9 / 16; background: #000; }
.tv video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv .badge { position: absolute; left: 12px; top: 12px; z-index: 1; font: 600 .72rem var(--f-head); letter-spacing: .08em; text-transform: uppercase;
  background: rgb(1 33 94 / .82); color: #fff; padding: 6px 10px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.tv .badge .ic { width: 14px; height: 14px; }
.tv figcaption { padding: 16px 18px 20px; }
.tv figcaption b { display: block; font: 600 1.08rem var(--f-head); margin-bottom: 6px; color: #fff; }
.tv figcaption span { color: var(--c-steel-text); font-size: .93rem; line-height: 1.5; display: block; }
@media (max-width: 860px) { .test-videos { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .test-videos > * { scroll-snap-align: start; } .test-videos::-webkit-scrollbar { display: none; } }
@media (max-width: 560px) { .test-videos { grid-template-columns: repeat(3, 76%); } }
.testing { margin-bottom: 26px; max-width: 46em; }
.testing-intro { color: var(--c-steel-text); margin: 0; }
@media (max-width: 860px) { .hero-bp { display: flex; flex-direction: column; } .hero-bp .bp-city { order: 2; } }

/* ================= round 5: SEO pages ================= */
.page-hero { padding: 150px 0 clamp(40px, 6vw, 72px);
  background: radial-gradient(900px 480px at 85% 0%, rgb(23 139 229 / .18), transparent 62%), linear-gradient(180deg, #fff, #eef5fc); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.04; max-width: 20ch; margin-bottom: 18px; }
.page-hero .lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--c-muted-on-light); max-width: 40em; margin-bottom: 26px; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hours { margin: 18px 0 0; font-size: .95rem; color: var(--c-muted-on-light); }
.hours b { color: var(--c-ink); }
.guide-meta { margin: 0; font-size: .9rem; color: var(--c-muted-on-light); }
.crumbs { position: relative; z-index: 2; margin-bottom: -132px; padding-top: 128px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--c-muted-on-light); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--c-steel); }
.crumbs a { color: var(--c-accent-strong); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs + .page-hero { padding-top: 170px; }
.crumbs + .hero-video { padding-top: 190px; }
/* service list (text-first, links to guides) */
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-list li { background: #fff; border: 1px solid rgb(var(--c-accent-rgb) / .18); border-radius: var(--radius); padding: 22px 22px 24px; }
.svc-list h3 { font-size: 1.15rem; margin-bottom: 8px; }
.svc-list p { margin: 0; color: var(--c-muted-on-light); font-size: .96rem; }
.svc-list .textlink { display: inline-block; margin-top: 8px; font-size: .9rem; }
/* emergency */
.em-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: em; }
.em-steps li { background: var(--c-dark-2); border: 1px solid var(--c-dark-3); border-top: 3px solid var(--c-accent); border-radius: var(--radius); padding: 22px 22px 24px; }
.em-steps b { display: block; font: 600 1.1rem var(--f-head); margin-bottom: 8px; }
.em-steps span { color: var(--c-steel-text); font-size: .96rem; display: block; }
.em-steps a { color: #fff; font-weight: 600; }
/* towns */
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { font: 500 .95rem var(--f-head); padding: 10px 16px; border: 1px solid rgb(var(--c-accent-rgb) / .3); border-radius: 999px; background: #fff; }
.towns li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); margin-right: 9px; vertical-align: middle; }
.towns.on-dark li { background: var(--c-dark-2); border-color: var(--c-dark-3); color: #fff; }
/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid rgb(var(--c-accent-rgb) / .4); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 16px 0 16px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-accent); }
.timeline b { font: 600 1.05rem var(--f-num); color: var(--c-dark); }
.timeline span { color: var(--c-muted-on-light); }
/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-wrap h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.faq { border-bottom: 1px solid rgb(var(--c-ink-rgb) / .12); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 600 1.08rem var(--f-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.6rem var(--f-head); color: var(--c-accent-strong); }
.faq[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 20px; color: var(--c-muted-on-light); max-width: 46em; }
/* guides */
.guide-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.guide-body { max-width: 46em; }
.guide-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 38px 0 14px; }
.guide-body h2:first-of-type { margin-top: 0; }
.guide-body a:not(.btn) { color: var(--c-accent-strong); }
.steps-plain { padding-left: 1.2em; }
.steps-plain li { margin-bottom: 8px; }
.guide-aside { position: sticky; top: 140px; display: grid; gap: 14px; }
.aside-card { background: var(--c-light-2); border: 1px solid rgb(var(--c-accent-rgb) / .2); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; }
.aside-card b { font: 600 1.05rem var(--f-head); }
.aside-card p { margin: 0; font-size: .92rem; color: var(--c-muted-on-light); }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.aside-card ul a { color: var(--c-accent-strong); }
.guide-videos { margin: 18px 0 8px; }
.guide-videos .tv { background: var(--c-dark); }
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-cards a { display: block; height: 100%; background: #fff; border: 1px solid rgb(var(--c-accent-rgb) / .18); border-radius: var(--radius);
  padding: 26px; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.guide-cards a:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgb(var(--c-ink-rgb) / .10); }
.guide-cards .k { font: 600 .75rem var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-strong); }
.guide-cards h2 { font-size: 1.35rem; margin: 10px 0 8px; }
.guide-cards p { margin: 0; color: var(--c-muted-on-light); }
@media (max-width: 980px) {
  .svc-list, .em-steps, .guide-cards { grid-template-columns: 1fr 1fr; }
  .guide-wrap, .faq-wrap { grid-template-columns: 1fr; }
  .guide-aside { position: static; }
}
@media (max-width: 560px) {
  .svc-list, .em-steps, .guide-cards { grid-template-columns: 1fr; }
  .svc-list li { padding: 18px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .crumbs { padding-top: 116px; margin-bottom: -120px; }
  .crumbs + .page-hero { padding-top: 150px; }
}
.feature-media .tag { background: var(--c-btn); color: #fff; }   /* 5.5:1 (bright blue was 3.6:1 for 12 px text) */
.bp-logo-pic { display: block; }
