/* Lifetime Construction Builders — shared theme ("Storm Desk, night to daylight")
   Linked by every page as /uploads/companies/80a5de40-bed3-4182-b349-15f18788cc8d/theme.css
   Each colour owns whole regions and has one job:
   night ink   — the emergency caller's ground (hero, leaks, work, team, towns, visit, footer)
   dusk slate  — the services rundown, the hour before light
   daylight    — pale sky into galvalume silver, the planner's ground (planner, cut-away, trust)
   storm blue  — what customers say (reviews)
   yellow      — the call, and the close (crawl, call buttons, the quote band)
   Motion runs for every visitor (owner ruling 2026-09-28): nothing here reads prefers-reduced-motion. */

@font-face {
  font-family: "Archivo";
  src: url("/uploads/companies/80a5de40-bed3-4182-b349-15f18788cc8d/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/uploads/companies/80a5de40-bed3-4182-b349-15f18788cc8d/assets/fonts/public-sans-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* night: the lead */
  --night: #0b0d10;
  --night-2: #14181d;
  --night-3: #1c2128;
  --night-card: #252b33;
  --night-rule: #2b323b;
  --night-rule-hi: #3e4752;
  --edge: rgba(255, 255, 255, 0.10);

  /* dusk slate */
  --dusk: #1d2833;
  --dusk-2: #253343;
  --dusk-rule: #3a4b5d;

  /* daylight: pale sky into galvalume */
  --sky: #dfe7ee;
  --sky-hi: #eef3f7;
  --galv: #c9d2da;
  --galv-2: #b7c2cc;
  --day-ink: #0e141b;
  --day-body: #27313b;
  --day-muted: #3d4855;
  --day-rule: rgba(14, 20, 27, 0.16);

  /* storm blue */
  --storm: #1f3d5c;
  --storm-2: #284b6f;
  --storm-3: #315a82;
  --storm-rule: #3f6890;

  /* night ink on dark */
  --ink: #f3f4f1;
  --body: #d2d7dc;
  --muted: #a5adb6;
  --bone: #e6e2d8;

  /* the call */
  --alert: #f9ed03;
  --alert-hi: #fff45e;
  --black: #000;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --text: "Public Sans", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);       /* exponential ease-out */
  --ease-ui: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 4px;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --head-h: 72px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --seam: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 54px, rgba(14,20,27,0.055) 54px 55px, rgba(255,255,255,0.55) 55px 56px, rgba(255,255,255,0) 56px 110px);

  /* region-aware roles; each band resets them */
  --fg: var(--ink);
  --fg-body: var(--body);
  --fg-muted: var(--muted);
  --rule: var(--night-rule);
  --rule-hi: var(--night-rule-hi);
  --draw: var(--bone);
  --link-line: var(--alert);
  --ghost-line: #5d6670;
  --ghost-hover: var(--night-card);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
  scrollbar-color: #4a525c var(--night);
  background: var(--night);
}
body {
  margin: 0;
  background: var(--night);
  color: var(--fg-body);
  font: 400 1rem/1.62 var(--text);
  caret-color: var(--alert);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--alert); color: var(--black); }
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: #3b434d; border: 3px solid var(--night); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--alert); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--fg); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
.num { font-variant-numeric: tabular-nums lining-nums; }

:focus-visible { outline: 2px solid var(--alert); outline-offset: 3px; border-radius: 2px; }
.band-day :focus-visible, .band-galv :focus-visible, .band-yellow :focus-visible { outline-color: var(--day-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--alert); color: var(--black); padding: 10px 16px; font-weight: 700;
  transition: top 160ms var(--ease-ui);
}
.skip:focus { top: 12px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-arrow { transition: transform 200ms var(--ease-ui); }

/* =========================================================
   Regions. Each sets its own ground and its own text roles.
   ========================================================= */
section { position: relative; }
.band-night {
  background: var(--grain), radial-gradient(1200px 520px at 85% 0%, rgba(40, 52, 66, 0.35), rgba(11, 13, 16, 0) 70%), var(--night);
}
.band-night2 {
  background: var(--grain), linear-gradient(180deg, var(--night-2), #11151a), var(--night-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.band-dusk {
  --rule: var(--dusk-rule); --rule-hi: #4a5e73; --fg-muted: #aab7c4; --fg-body: #d5dde5;
  --ghost-hover: var(--dusk-2);
  background: var(--grain), linear-gradient(180deg, #1a232d 0, var(--dusk) 220px), var(--dusk);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* the one transition between two coloured regions: dusk slate to daylight */
.dawn {
  height: clamp(120px, 15vw, 220px);
  background:
    radial-gradient(70% 120% at 50% 112%, rgba(249, 237, 3, 0.16), rgba(249, 237, 3, 0) 60%),
    linear-gradient(180deg, var(--dusk) 0%, #33465a 26%, #6f8499 52%, #b2c1ce 78%, var(--sky) 100%);
}
.band-day, .band-galv {
  --fg: var(--day-ink); --fg-body: var(--day-body); --fg-muted: var(--day-muted);
  --rule: var(--day-rule); --rule-hi: rgba(14, 20, 27, 0.26);
  --draw: var(--day-ink); --link-line: var(--day-ink);
  --ghost-line: rgba(14, 20, 27, 0.45); --ghost-hover: rgba(255, 255, 255, 0.6);
  color: var(--fg-body);
}
.band-day { background: var(--seam), linear-gradient(180deg, var(--sky) 0, var(--sky-hi) 60%, var(--sky) 100%); }
.band-galv { background: var(--seam), linear-gradient(180deg, var(--sky) 0, var(--galv) 100%); }
.band-day, .band-galv { background-color: var(--sky); } /* solid floor under the gradients */
.band-day ::selection, .band-galv ::selection { background: var(--day-ink); color: var(--alert); }
.band-storm {
  --fg-body: #dce6ef; --fg-muted: #a9bdd0; --rule: var(--storm-rule); --rule-hi: #5781aa;
  --ghost-line: #6f93b6; --ghost-hover: var(--storm-3);
  background: var(--grain), radial-gradient(900px 500px at 10% 0%, rgba(80, 130, 180, 0.28), rgba(31, 61, 92, 0) 70%), var(--storm);
  color: var(--fg-body);
}
.band-yellow {
  --fg: var(--black); --fg-body: #1a1a10; --fg-muted: #3d3a12; --rule: rgba(0, 0, 0, 0.22);
  --link-line: var(--black);
  background: var(--alert); color: var(--fg-body);
}
.band-yellow ::selection { background: var(--black); color: var(--alert); }
.form-card ::selection { background: var(--alert); color: var(--black); }
.strip-night {
  background: var(--grain), var(--night);
  border-block: 1px solid #000;
}

/* ---------- crawl ticker ---------- */
.crawl {
  background: var(--alert); color: var(--black);
  overflow: hidden; white-space: nowrap;
  height: 34px; display: flex; align-items: center;
}
.crawl-track { display: flex; width: max-content; animation: crawl 60s linear infinite; }
.crawl:hover .crawl-track, .crawl:focus-within .crawl-track { animation-play-state: paused; }
.crawl-line {
  display: flex; align-items: center; flex: none;
  font: 800 14px/1 var(--display); font-stretch: 72%;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.crawl-line span, .crawl-line a { padding-inline: 18px; }
.crawl-line a { text-decoration: none; font-weight: 900; font-size: 15px; }
.crawl-line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crawl-line i { width: 6px; height: 6px; background: var(--black); transform: rotate(45deg); flex: none; }
@keyframes crawl { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 17, 21, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--night-rule);
}
.header-in { display: flex; align-items: center; gap: 16px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 6px 14px -6px rgba(0,0,0,.8); }
.brand-name {
  font: 800 15px/1.02 var(--display); font-stretch: 72%;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink);
}
.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav ul a {
  position: relative; display: block; padding: 10px 12px;
  font: 500 15px/1 var(--text); color: var(--body); text-decoration: none;
  transition: color 160ms var(--ease-ui);
}
.nav ul a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--alert); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease-ui);
}
.nav ul a:hover { color: var(--ink); }
.nav ul a:hover::after { transform: scaleX(1); }
.nav ul a:active { color: var(--alert); }

.head-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--alert); color: var(--black); text-decoration: none;
  padding: 0 14px; height: 44px; border-radius: var(--r);
  font: 900 19px/1 var(--display); font-stretch: 66%; letter-spacing: 0.01em;
  transition: background-color 180ms var(--ease-ui), box-shadow 180ms var(--ease-ui), transform 180ms var(--ease-ui);
}
.head-call .ico { fill: var(--black); stroke: none; width: 18px; height: 18px; }
.head-call:hover { background: var(--alert-hi); box-shadow: 0 10px 22px -10px rgba(249, 237, 3, 0.6); transform: translateY(-1px); }
.head-call:active { transform: translateY(1px); box-shadow: none; }
.head-call:focus-visible { outline-color: var(--ink); }

.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px;
  background: var(--night-3); color: var(--ink); border: 1px solid var(--night-rule-hi); border-radius: var(--r);
  font: 700 14px/1 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.06em;
  cursor: pointer; transition: background-color 160ms var(--ease-ui), border-color 160ms var(--ease-ui);
}
.menu-btn:hover { background: var(--night-card); border-color: #6a737e; }
.menu-btn:active { background: #2e353e; }
.menu-lines { display: grid; gap: 4px; width: 18px; }
.menu-lines i { display: block; height: 2px; background: currentColor; transition: transform 200ms var(--ease-ui), opacity 160ms; }
.menu-btn[aria-expanded="true"] .menu-lines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-lines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--night-3); border-bottom: 1px solid var(--night-rule-hi);
  box-shadow: inset 0 1px 0 var(--edge), 0 24px 40px -20px rgba(0,0,0,.9);
  padding: 8px var(--pad) 20px;
  animation: drop 260ms var(--ease) both;
}
.nav.open ul { flex-direction: column; gap: 0; }
.nav.open ul a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--night-rule-hi); }
.nav.open ul a::after { left: 0; right: auto; width: 40px; bottom: -1px; }
.nav.open .nav-quote { margin-top: 18px; width: 100%; justify-content: center; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 479px) {
  .brand-name { display: none; }
  .head-call { font-size: 18px; padding: 0 12px; }
  .menu-word { display: none; }
}
@media (min-width: 1100px) {
  .nav { display: flex; align-items: center; gap: 14px; }
  .menu-btn { display: none; }
  .header-in { gap: 20px; }
}

/* ---------- nav dropdowns: Services and Service Area ----------
   Phone menu: each opens as an accordion under its link. Wide screens: hover, or the chevron button. */
.has-sub { display: flex; flex-wrap: wrap; align-items: stretch; }
.has-sub > a { flex: 1 1 auto; }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 52px; padding: 0; background: none; border: 0; color: var(--muted); cursor: pointer;
  transition: color 160ms var(--ease-ui);
}
.sub-toggle i {
  display: block; width: 8px; height: 8px; margin-top: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 220ms var(--ease-ui), margin 220ms var(--ease-ui);
}
.sub-toggle:hover { color: var(--ink); }
.sub-toggle[aria-expanded="true"] { color: var(--alert); }
.sub-toggle[aria-expanded="true"] i { transform: rotate(-135deg); margin-top: 4px; }
.sub { display: none; width: 100%; }
.has-sub.sub-open > .sub { display: block; animation: drop 220ms var(--ease) both; }
.nav .sub-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.nav .sub-list a::after, .nav .sub-all::after { display: none; }
.nav .sub-list a[aria-current="page"] { color: var(--alert); }
.sub-all {
  display: inline-block; margin-top: 6px; padding: 12px 0;
  font: 700 13px/1 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--alert); text-decoration: none;
}
.sub-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav.open { max-height: calc(100vh - var(--head-h)); max-height: calc(100dvh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; }
.nav.open .has-sub > a, .nav.open .sub-toggle { border-bottom: 1px solid var(--night-rule-hi); }
.nav.open .sub { padding: 6px 0 14px 16px; border-bottom: 1px solid var(--night-rule-hi); }
.nav.open .sub-list a { padding: 11px 0; font-size: 16px; border-bottom: 0; color: var(--body); }
.nav.open .sub-all { border-bottom: 0; padding-bottom: 4px; }
.nav.open .sub-list a:hover { color: var(--ink); }
.nav.open .sub-list a[aria-current="page"] { color: var(--alert); }
@media (min-width: 600px) { .nav.open .sub-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }

@media (min-width: 1100px) {
  .has-sub { position: relative; flex-wrap: nowrap; align-items: center; }
  .nav .has-sub > a { padding-right: 4px; }
  .nav .has-sub > a::after { right: 4px; }
  .sub-toggle { width: 26px; height: 36px; margin-left: -2px; }
  .has-sub:hover > .sub-toggle { color: var(--ink); }
  .has-sub:hover > .sub-toggle i { transform: rotate(-135deg); margin-top: 4px; }
  .sub, .has-sub.sub-open > .sub {
    display: block; position: absolute; top: calc(100% + 10px); left: 50%; width: max-content;
    background: var(--night-3); border: 1px solid var(--night-rule-hi); border-radius: var(--r);
    box-shadow: inset 0 1px 0 var(--edge), 0 28px 48px -18px rgba(0,0,0,.9);
    padding: 10px; animation: none;
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
    transition: opacity 180ms var(--ease-ui), transform 220ms var(--ease-ui), visibility 0s linear 220ms;
  }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-sub:hover > .sub, .has-sub.sub-open > .sub {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
    transition: opacity 180ms var(--ease-ui), transform 220ms var(--ease-ui), visibility 0s;
  }
  .nav .sub-list { grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 2px 6px; }
  .nav .sub-towns .sub-list { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
  .nav .sub-list a { padding: 10px 12px; font-size: 15px; border-radius: var(--r); white-space: nowrap; }
  .nav .sub-list a:hover { background: var(--night-card); color: var(--ink); }
  .sub-all { display: block; margin: 8px 0 0; padding: 14px 12px 6px; border-top: 1px solid var(--night-rule-hi); }
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: var(--r); text-decoration: none; cursor: pointer;
  font: 750 15px/1 var(--display); font-stretch: 85%; text-transform: uppercase; letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: background-color 180ms var(--ease-ui), border-color 180ms var(--ease-ui),
              box-shadow 200ms var(--ease-ui), transform 180ms var(--ease-ui), color 160ms;
}
.btn-lg { padding: 17px 24px; font-size: 16px; }
.btn:hover .ico-arrow, .link:hover .ico-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-ghost { color: var(--fg); border-color: var(--ghost-line); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { background: var(--ghost-hover); border-color: var(--fg-muted); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.45); }
.btn-yellow { background: var(--alert); color: var(--black); }
.btn-yellow:hover { background: var(--alert-hi); box-shadow: 0 14px 30px -12px rgba(249, 237, 3, 0.6); transform: translateY(-1px); }
.btn-yellow:focus-visible { outline-color: var(--fg); }
/* inverted: on the yellow close */
.btn-ink { background: var(--black); color: var(--alert); }
.btn-ink:hover { background: #1c1c14; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.55); transform: translateY(-1px); }
.btn-ink:focus-visible { outline-color: var(--black); }
.btn[disabled] { opacity: .55; cursor: progress; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg); font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--link-line); text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: text-decoration-thickness 160ms, text-underline-offset 160ms var(--ease-ui), color 160ms;
}
.link:hover { text-underline-offset: 3px; text-decoration-thickness: 3px; }
.link:active { color: var(--fg-muted); }
.link .ico { width: 18px; height: 18px; }

/* the yellow call block (night grounds only) */
.alert {
  display: inline-flex; flex-direction: column;
  background: var(--alert); color: var(--black); text-decoration: none;
  border-radius: var(--r);
  box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.7);
  transition: background-color 180ms var(--ease-ui), box-shadow 220ms var(--ease-ui), transform 180ms var(--ease-ui);
}
.alert-call { display: flex; flex-direction: column; padding: 16px 22px 18px; text-decoration: none; color: inherit; border-radius: var(--r); }
.alert-top {
  display: flex; align-items: center; gap: 10px;
  font: 850 15px/1 var(--display); font-stretch: 72%; text-transform: uppercase; letter-spacing: 0.14em;
  padding-bottom: 10px; border-bottom: 2px solid var(--black);
}
.alert-ico { width: 20px; height: 20px; fill: none; stroke: var(--black); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.alert-num {
  display: block; margin-top: 10px;
  font: 900 clamp(2.9rem, 1.9rem + 4.4vw, 4.9rem)/0.9 var(--display); font-stretch: 64%;
  letter-spacing: -0.005em; white-space: nowrap;
}
/* the smallest phones: the number shrinks with the screen so it never runs past the box */
@media (max-width: 400px) { .alert-num { font-size: clamp(2.2rem, 0.6rem + 9.6vw, 2.9rem); } }
.alert-sub { display: block; margin-top: 8px; font: 700 14px/1.2 var(--text); }
.alert:hover { background: var(--alert-hi); box-shadow: 0 26px 48px -20px rgba(249, 237, 3, 0.55); transform: translateY(-2px); }
.alert:active { transform: translateY(1px); }
.alert-call:focus-visible, a.alert:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.alert-sm { padding: 14px 20px 16px; }
.alert-sm .alert-top { font-size: 14px; letter-spacing: 0.1em; padding-bottom: 8px; }
.alert-sm .alert-num { font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); margin-top: 8px; }

/* ---------- shared section type ---------- */
.sec { padding-block: clamp(72px, 8vw, 124px); }
.h2, section h2 {
  font: 800 clamp(2rem, 1.3rem + 2.6vw, 3.4rem)/1.0 var(--display);
  font-stretch: 78%; letter-spacing: -0.01em;
}
/* daylight speaks plainer: wide, calm, sentence case */
.band-day h2, .band-galv h2 { font-weight: 650; font-stretch: 100%; letter-spacing: -0.025em; line-height: 1.04; }
.lede { margin-top: 18px; font-size: 1.0625rem; line-height: 1.7; max-width: 34em; color: var(--fg-body); }

/* ---------- hero (painted from the first frame) ---------- */
.hero {
  background: var(--grain), radial-gradient(1100px 600px at 12% 0%, #1a2028 0%, rgba(11,13,16,0) 70%), var(--night);
  padding-block: 28px 56px;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 32px; }
.hero h1 {
  font: 850 clamp(2.2rem, 1.5rem + 3.6vw, 5rem)/0.92 var(--display);
  font-stretch: 68%; text-transform: uppercase; letter-spacing: -0.005em;
  max-width: 18ch; text-wrap: balance;
}
.hero h1 .hl { color: var(--alert); }
.hero-lede { margin-top: 18px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.55; max-width: 34em; color: var(--body); }
.hero .alert { display: flex; max-width: 34rem; margin-top: 24px; }
.hero .btn-ghost { margin-top: 16px; }
.hero-photo { position: relative; }
.hero-frame {
  position: relative; overflow: hidden; border-radius: var(--r);
  aspect-ratio: 4 / 5; max-height: 72vh; width: 100%;
  background: #12161b;
  box-shadow: inset 0 0 0 1px var(--edge), 0 40px 80px -40px rgba(0,0,0,.95);
}
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%;
  transform-origin: 38% 45%;
  animation: drift 26s var(--ease-ui) infinite alternate;
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, 1%); } }
.hero-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(249,237,3,0) 40%, rgba(249,237,3,0.07) 50%, rgba(249,237,3,0) 60%);
  background-size: 300% 100%; animation: glint 9s linear infinite;
}
@keyframes glint { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.hero-photo figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.hero-photo figcaption::before { content: ""; width: 8px; height: 8px; background: var(--alert); flex: none; }
@media (min-width: 960px) {
  .hero { padding-block: 40px 72px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
  .hero-frame { aspect-ratio: 3 / 4; max-height: min(640px, calc(100vh - 220px)); margin-left: auto; }
}

/* =========================================================
   Line drawings: one line-weight hierarchy for every drawing
   on the site. Bone on night, ink on daylight (via --draw).
   ========================================================= */
.drawing { display: block; width: 100%; height: auto; overflow: visible; }
.ln-obj   { fill: none; stroke: var(--draw); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.ln-int   { fill: none; stroke: var(--draw); stroke-opacity: .42; stroke-width: 1.05; }
.ln-fine  { fill: none; stroke: var(--draw); stroke-opacity: .2; stroke-width: .85; }
.ln-valley, .ln-ridge { fill: none; stroke: var(--draw); stroke-width: 3; stroke-linecap: round; }
.ln-lead  { fill: none; stroke: var(--draw); stroke-opacity: .7; stroke-width: 1; }
/* fills for drawings on night */
.f-roof { fill: #141b23; } .f-wall { fill: #0f1318; } .f-win { fill: #1b232c; }
.f-brick { fill: #181c22; } .f-cap { fill: #1d252e; } .f-metal { fill: #2c3540; } .f-pipe { fill: #222a33; }
/* draw-in: normalised dash; the hidden state exists only once theme.js runs */
html.js .dl { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .drawn .dl { animation: draw 1.4s var(--ease) var(--d, 0s) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- photo plates (with an optional annotation leader) ---------- */
.plate {
  position: relative; padding: 8px;
  border: 1px solid color-mix(in srgb, var(--draw) 22%, transparent);
  background: color-mix(in srgb, var(--draw) 3%, transparent);
}
.plate::before, .plate::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border: 0 solid var(--draw); opacity: .8;
}
.plate::before { top: -5px; left: -5px; border-top-width: 1px; border-left-width: 1px; }
.plate::after { bottom: -5px; right: -5px; border-bottom-width: 1px; border-right-width: 1px; }
.plate-frame { position: relative; overflow: hidden; background: #151a20; aspect-ratio: var(--ar, 16 / 10); }
.plate-frame > img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.plate:hover .plate-frame > img { transform: scale(1.04); }
.plate figcaption { padding: 12px 4px 4px; font: 600 13.5px/1.35 var(--text); color: var(--fg-body); display: flex; gap: 10px; align-items: baseline; }
.plate figcaption::before { content: ""; width: 10px; height: 1px; background: var(--draw); flex: none; transform: translateY(-4px); }

.annot { position: absolute; inset: 0; pointer-events: none; }
.annot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.annot-lead { fill: none; stroke: var(--alert); stroke-width: 2; vector-effect: non-scaling-stroke; }
.annot-dot {
  position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--alert); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.45), 0 0 0 5px var(--alert);
}
.annot-note {
  position: absolute; max-width: 240px;
  background: rgba(11, 13, 16, 0.88); color: var(--ink);
  border: 1px solid rgba(249, 237, 3, 0.7); border-radius: 2px; padding: 10px 14px;
  font: 600 14px/1.35 var(--text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.annot-note b { display: block; font: 850 17px/1.05 var(--display); font-stretch: 74%; text-transform: uppercase; letter-spacing: 0.04em; color: var(--alert); margin-bottom: 4px; }
/* a non-scaling stroke measures its dashes in screen pixels, so the leader wipes in with a clip instead of a dash draw */
html.js .annot svg { clip-path: inset(0 100% 0 var(--wipe-from, 0%)); }
html.js .annot-note, html.js .annot-dot { opacity: 0; }
html.js .in .annot svg { clip-path: inset(0 0 0 var(--wipe-from, 0%)); transition: clip-path 1.1s var(--ease) 900ms; }
html.js .in .annot-dot { opacity: 1; transform: scale(1); transition: opacity 300ms var(--ease) 700ms; animation: ping-dot 2.6s var(--ease) 1.2s 3; }
html.js .in .annot-note { opacity: 1; transform: none; transition: opacity 600ms var(--ease) 1700ms, transform 700ms var(--ease) 1700ms; }
html.js .annot-note { transform: translateY(8px); }
@keyframes ping-dot { 0% { box-shadow: 0 0 0 4px rgba(0,0,0,.45), 0 0 0 5px var(--alert); } 60%, 100% { box-shadow: 0 0 0 4px rgba(0,0,0,.45), 0 0 0 18px rgba(249,237,3,0); } }
@media (max-width: 1023px) { .annot-note, .annot svg { display: none; } }

/* ---------- services rundown ---------- */
.rundown li { position: relative; }
.rundown li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-hi);
  transform-origin: left;
}
.rundown li:last-child { border-bottom: 1px solid var(--rule); }
.rundown a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 15px 12px 15px 0; text-decoration: none;
  transition: background-color 180ms var(--ease-ui);
}
.rundown a span { font: 600 1.0625rem/1.3 var(--text); color: var(--fg); transition: transform 220ms var(--ease-ui); }
.rundown a em { font-style: normal; font-size: 14px; color: var(--fg-muted); text-align: right; transition: color 160ms; }
.rundown a:hover { background: rgba(255, 255, 255, 0.05); }
.rundown a:hover span, .rundown a:focus-visible span { transform: translateX(12px); }
.rundown a:hover em { color: var(--fg-body); }
.rundown a:active { background: rgba(255, 255, 255, 0.09); }

/* ---------- trust row ---------- */
.trust-row {
  display: grid; gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--rule); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden;
}
.tr {
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 22px 18px; min-height: 116px;
  background: rgba(255, 255, 255, 0.55);
  transition: background-color 200ms var(--ease-ui);
}
.band-night .tr, .band-night2 .tr { background: var(--night-2); box-shadow: inset 0 1px 0 var(--edge); }
.tr:hover { background: rgba(255, 255, 255, 0.85); }
.band-night .tr:hover { background: var(--night-3); }
.tr-big {
  font: 900 clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem)/0.95 var(--display); font-stretch: 64%;
  text-transform: uppercase; color: var(--fg); letter-spacing: 0.005em; overflow-wrap: anywhere;
}
.tr-big b { color: var(--fg-muted); font-weight: 500; }
.tr-small { font: 600 12.5px/1.3 var(--text); text-transform: uppercase; letter-spacing: 0.07em; color: var(--fg-muted); }
/* the warranty spans the whole row, so the 6-tile grid stays even */
.tr-wide { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; min-height: 0; padding-block: 18px; }
.tr-bbb { align-items: flex-start; }
.tr-bbb img { width: 100%; max-width: 190px; border-radius: 6px; }
/* black text on a yellow fill: the one way yellow sits on daylight */
.tr-mark { display: inline-block; align-self: flex-start; background: var(--alert); color: var(--black); padding: 4px 8px 3px; border-radius: 2px; }
@media (min-width: 760px) { .trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .trust-row { grid-template-columns: 1fr 1.3fr 1fr 1.25fr 0.8fr 1.1fr; } }

/* ---------- reviews (storm blue) ---------- */
.reviews { overflow: hidden; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.reviews h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.score { font: 900 clamp(4.2rem, 3rem + 5vw, 6rem)/0.82 var(--display); font-stretch: 64%; color: var(--alert); letter-spacing: -0.01em; }
.score-txt { font: 750 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.05 var(--display); font-stretch: 82%; color: var(--fg); }
.rev-ctrl { display: flex; gap: 8px; }
.rev-btn {
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--fg); border: 1px solid var(--ghost-line); border-radius: var(--r);
  transition: background-color 160ms var(--ease-ui), border-color 160ms, transform 160ms var(--ease-ui);
}
.rev-btn:hover { background: var(--ghost-hover); border-color: var(--fg-muted); }
.rev-btn:active { transform: scale(0.95); }
.rev-track {
  margin-top: 40px; display: grid; grid-auto-flow: column;
  grid-auto-columns: min(84vw, 380px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 6px max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))) 26px;
  scroll-padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  scrollbar-width: thin; scrollbar-color: #6f93b6 transparent;
}
.rev-track:focus-visible { outline-offset: -2px; }
.rev {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--storm-2); border-radius: 6px; padding: 26px 26px 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 22px 36px -24px rgba(5, 15, 28, 0.85);
  transition: background-color 200ms var(--ease-ui), transform 220ms var(--ease-ui);
}
.rev:hover { background: var(--storm-3); transform: translateY(-3px); }
.stars svg { width: 96px; height: 19px; fill: var(--alert); }
.rev blockquote { margin: 0; color: #eef3f8; font-size: 1.0625rem; line-height: 1.6; flex: 1; }
.rev figcaption { font: 750 1.05rem/1.2 var(--display); font-stretch: 90%; color: var(--fg); padding-top: 14px; border-top: 1px solid var(--rule); }
.rev figcaption span { display: block; margin-top: 4px; font: 500 13px/1.3 var(--text); color: var(--fg-muted); }
.rev-all { margin-top: 8px; }

/* ---------- team ---------- */
.team-grid { display: grid; gap: 40px; }
.jon-photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-width: 520px; background: #1b2027; }
.jon-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.lower-third { position: absolute; left: 0; bottom: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.lt-name { background: var(--alert); color: var(--black); padding: 8px 16px 6px; font: 900 1.6rem/1 var(--display); font-stretch: 66%; text-transform: uppercase; letter-spacing: 0.01em; }
.lt-role { background: var(--black); color: var(--ink); padding: 7px 16px; font: 600 13px/1 var(--text); text-transform: uppercase; letter-spacing: 0.08em; }
.team-copy h2 { font-weight: 650; font-stretch: 100%; letter-spacing: -0.025em; }
.person { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule-hi); max-width: 36em; }
.person h3 { font: 750 1.6rem/1.1 var(--display); font-stretch: 90%; }
.person h3 span { display: block; margin-top: 6px; font: 600 13px/1 var(--text); text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); }
.person p { margin-top: 12px; font-size: 1.0625rem; }
.person-owner { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: center; }
.person-owner .year { grid-row: span 2; font: 900 clamp(3.4rem, 2.6rem + 3vw, 5.2rem)/0.85 var(--display); font-stretch: 62%; color: var(--fg); }
.person-owner p { margin-top: 8px; }
@media (min-width: 900px) { .team-grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 110px); align-items: center; } }

/* ---------- visit: map + address ---------- */
.visit-grid { display: grid; gap: 36px; align-items: stretch; }
.visit h2 { font-weight: 650; font-stretch: 100%; letter-spacing: -0.025em; }
.visit address { display: grid; gap: 12px; margin-top: 24px; justify-items: start; }
.addr { color: var(--fg); font-size: 1.125rem; line-height: 1.5; }
.visit-phone { font: 900 clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem)/1 var(--display); font-stretch: 64%; color: var(--fg); text-decoration: none; transition: color 160ms; }
.visit-phone:hover { color: var(--alert); }
.hours { display: flex; align-items: center; gap: 10px; margin: 22px 0 20px; color: var(--fg); font-weight: 600; }
.hours-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--alert); animation: live 2.4s var(--ease) 4; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(249,237,3,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(249,237,3,0); } }
.map { min-height: 340px; }
.map .plate-frame { aspect-ratio: auto; height: 100%; min-height: 340px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: saturate(0.85) contrast(1.02); }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 88px); }
  .map, .map .plate-frame, .map iframe { min-height: 420px; }
}

/* ---------- forms (styled for the yellow close: ink on yellow) ---------- */
.quote-grid { display: grid; gap: 36px; }
.quote h2 { font-weight: 700; font-stretch: 100%; letter-spacing: -0.025em; }
.quote-side > p { margin-top: 16px; font-size: 1.0625rem; max-width: 30em; }
.quote-call { display: inline-flex; flex-direction: column; margin-top: 28px; padding: 14px 20px 16px; background: var(--black); color: var(--alert); text-decoration: none; border-radius: var(--r); transition: background-color 180ms var(--ease-ui), transform 180ms var(--ease-ui), box-shadow 200ms var(--ease-ui); }
.quote-call .alert-top { border-bottom-color: var(--alert); }
.quote-call .alert-num { font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); margin-top: 8px; }
.quote-call:hover { background: #1c1c14; transform: translateY(-2px); box-shadow: 0 20px 36px -18px rgba(0,0,0,.5); }
.quote-call:active { transform: translateY(1px); }
.quote-call:focus-visible { outline: 3px solid var(--black); outline-offset: 4px; }

/* the estimate form: a black card on the yellow band, white fields, a yellow send button */
.form-card {
  background: var(--black); color: #fff; border-radius: 8px; padding: clamp(22px, 4vw, 40px);
  border: 1px solid #000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 3px rgba(60, 55, 0, 0.3), 0 24px 40px -22px rgba(40, 36, 0, 0.6);
}
.qform { display: grid; gap: 18px; }
.f-row { display: grid; gap: 18px; }
@media (min-width: 620px) { .f-two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font: 650 14px/1.2 var(--text); color: #fff; }
.opt { font-weight: 500; color: #b9b6a0; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--text); color: var(--black);
  background: #fff; border: 1px solid #fff; border-radius: var(--r);
  padding: 13px 14px; appearance: none; -webkit-appearance: none;
  caret-color: var(--black);
  transition: border-color 160ms var(--ease-ui), background-color 160ms, box-shadow 160ms;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: 0 0 0 2px rgba(249, 237, 3, 0.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--alert); box-shadow: 0 0 0 3px var(--alert); }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid #000; border-bottom: 2px solid #000;
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select { padding-right: 40px; cursor: pointer; }
.field.bad input, .field.bad select { border-color: #ff8a7a; box-shadow: 0 0 0 2px #ff8a7a; }
.err { display: none; font-size: 13.5px; font-weight: 600; color: #ff9d8f; }
.field.bad .err { display: block; }
.f-submit { justify-self: start; margin-top: 6px; }
.form-card .f-submit { background: var(--alert); color: var(--black); }
.form-card .f-submit:hover { background: var(--alert-hi); box-shadow: 0 14px 30px -12px rgba(249, 237, 3, 0.45); }
.form-card .f-submit:focus-visible { outline-color: #fff; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: left; padding: 12px 0; color: #fff; }
.thanks:focus { outline: none; }
.f-wait { margin-top: 12px; font-weight: 600; color: #fff; }
.thanks-ico { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--alert); stroke: var(--black); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.thanks h3 { margin-top: 18px; font: 800 2rem/1.05 var(--display); font-stretch: 80%; color: #fff; }
.thanks p { margin-top: 12px; font-size: 1.0625rem; max-width: 32em; }
.thanks a { color: var(--alert); font-weight: 700; text-underline-offset: 4px; }
@media (min-width: 960px) { .quote-grid { grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; } }

/* ---------- footer ---------- */
.site-footer { background: var(--grain), var(--night); border-top: 1px solid #000; padding-top: 64px; font-size: 14.5px; color: var(--muted); }
.foot-grid { display: grid; gap: 36px; }
.foot-brand { display: grid; gap: 10px; justify-items: start; }
.foot-brand img { width: 56px; height: 56px; border-radius: 8px; }
.foot-brand p { color: var(--body); line-height: 1.55; }
.foot-brand strong { color: var(--ink); }
.foot-phone { font: 900 2.2rem/1 var(--display); font-stretch: 64%; color: var(--ink); text-decoration: none; transition: color 160ms; }
.foot-phone:hover { color: var(--alert); }
.foot-nav ul { display: grid; gap: 4px; }
.foot-nav a { display: inline-block; padding: 6px 0; color: var(--body); text-decoration: none; transition: color 160ms, transform 180ms var(--ease-ui); }
.foot-nav a:hover { color: var(--ink); transform: translateX(3px); }
.foot-nav a:active { color: var(--alert); }
.foot-facts { display: grid; gap: 8px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-block: 22px 28px; border-top: 1px solid #20262d; font-size: 13px; }
.foot-base a { color: var(--body); text-decoration-color: #555; text-underline-offset: 4px; transition: color 160ms, text-decoration-color 160ms; }
.foot-base a:hover { color: var(--ink); text-decoration-color: var(--alert); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 4fr 2fr 5fr; } }
@media (max-width: 759px) { .site-footer { padding-bottom: 76px; } }

/* ---------- phone call bar (slides up once the page's own call buttons leave view) ---------- */
.callbar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  transform: translateY(140%); transition: transform 360ms var(--ease);
}
.callbar.show { transform: none; }
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 6px;
  text-decoration: none; font: 900 20px/1 var(--display); font-stretch: 66%; letter-spacing: 0.01em;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.7);
  transition: background-color 160ms var(--ease-ui), transform 160ms var(--ease-ui);
}
.callbar .cb-call { background: var(--alert); color: var(--black); }
.callbar .cb-call .ico { fill: var(--black); stroke: none; width: 18px; height: 18px; }
.callbar .cb-quote { background: var(--night-3); color: var(--ink); padding: 0 18px; border: 1px solid var(--night-rule-hi); font: 750 14px/1 var(--display); font-stretch: 85%; text-transform: uppercase; letter-spacing: 0.06em; }
.callbar a:active { transform: scale(0.98); }
.callbar .cb-call:hover { background: var(--alert-hi); }
.callbar .cb-quote:hover { background: var(--night-card); }
@media (min-width: 760px) { .callbar { display: none; } }

/* =========================================================
   Reveal system. Hidden states exist only once theme.js has
   added html.js, so a page without script shows everything.
   Each section picks its own entrance.
   ========================================================= */
html.js .rv-blur { opacity: 0; transform: translateY(26px); filter: blur(10px); }
html.js .rv-blur.in { opacity: 1; transform: none; filter: blur(0); transition: opacity 900ms var(--ease), transform 1000ms var(--ease), filter 900ms var(--ease); transition-delay: var(--d, 0ms); }

html.js .rv-slide { opacity: 0; transform: translateX(-32px); }
html.js .rv-slide.in { opacity: 1; transform: none; transition: opacity 800ms var(--ease), transform 1000ms var(--ease), background-color 200ms var(--ease-ui), box-shadow 220ms var(--ease-ui); transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms, 0ms; }
html.js .rv-slide.in.done { transition: background-color 200ms var(--ease-ui), transform 220ms var(--ease-ui), box-shadow 220ms var(--ease-ui); }

html.js .rv-photo { opacity: 0; clip-path: inset(6% 6% 6% 6% round 4px); }
html.js .rv-photo.in { opacity: 1; clip-path: inset(-12px -12px -12px -12px round 4px); transition: opacity 700ms var(--ease), clip-path 1100ms var(--ease); }

html.js .rv-row::before { transform: scaleX(0); }
html.js .rv-row a { opacity: 0; transform: translateY(10px); }
html.js .rv-row.in::before { transform: scaleX(1); transition: transform 900ms var(--ease) var(--d, 0ms); }
html.js .rv-row.in a { opacity: 1; transform: none; transition: opacity 600ms var(--ease) calc(var(--d, 0ms) + 120ms), transform 700ms var(--ease) calc(var(--d, 0ms) + 120ms), background-color 180ms var(--ease-ui); }

/* the clip sits on the children: a fully clipped target never reports as in view */
html.js .rv-cut > * { clip-path: inset(0 100% 0 0); }
html.js .rv-cut.in > * { clip-path: inset(0 0 0 0); transition: clip-path 760ms var(--ease) var(--d, 0ms); }

html.js .rv-tick { opacity: 0; transform: translateX(90px); filter: blur(6px); }
html.js .rv-tick.in { opacity: 1; transform: none; filter: blur(0); transition: opacity 700ms var(--ease) var(--d, 0ms), transform 900ms var(--ease) var(--d, 0ms), filter 700ms var(--ease) var(--d, 0ms), background-color 200ms var(--ease-ui); }
html.js .rv-tick.in.done { transition: background-color 200ms var(--ease-ui), transform 220ms var(--ease-ui); }

/* plates: the frame is drawn first, then the photo wipes up inside it */
html.js .rv-plate { border-color: transparent; }
html.js .rv-plate::before, html.js .rv-plate::after { opacity: 0; transform: scale(2.2); }
html.js .rv-plate .plate-frame > img { clip-path: inset(100% 0 0 0); transform: scale(1.12); }
html.js .rv-plate figcaption { opacity: 0; }
html.js .rv-plate.in { transition: border-color 700ms var(--ease) var(--d, 0ms); border-color: color-mix(in srgb, var(--draw) 22%, transparent); }
html.js .rv-plate.in::before, html.js .rv-plate.in::after { opacity: .8; transform: none; transition: opacity 500ms var(--ease) var(--d, 0ms), transform 800ms var(--ease) var(--d, 0ms); }
html.js .rv-plate.in .plate-frame > img { clip-path: inset(0 0 0 0); transform: scale(1); transition: clip-path 1000ms var(--ease) calc(var(--d, 0ms) + 200ms), transform 1400ms var(--ease) calc(var(--d, 0ms) + 200ms); }
html.js .rv-plate.in figcaption { opacity: 1; transition: opacity 600ms var(--ease) calc(var(--d, 0ms) + 800ms); }
html.js .rv-plate.in.done .plate-frame > img { transition: transform 700ms var(--ease); }
html.js .rv-plate.in.done:hover .plate-frame > img { transform: scale(1.04); }

html.js .rv-rise { opacity: 0; transform: translateY(60px); }
html.js .rv-rise.in { opacity: 1; transform: none; transition: opacity 900ms var(--ease), transform 1300ms var(--ease); }
html.js .rv-rise .lower-third > * { transform: translateX(-102%); }
html.js .rv-rise.in .lower-third > * { transform: none; transition: transform 700ms var(--ease) 700ms; }
html.js .rv-rise.in .lower-third .lt-role { transition-delay: 820ms; }

/* =========================================================
   Shared sections a service or town page reuses
   ========================================================= */

/* ---------- the neutral night strip (a call line between two regions) ---------- */
.strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; padding-block: 18px; color: var(--ink); font: 800 15px/1.2 var(--display); font-stretch: 74%; text-transform: uppercase; letter-spacing: .1em; text-align: center; }
.strip-in .hours-dot { animation-iteration-count: infinite; }
.strip-in a { color: var(--alert); text-decoration: none; font-size: 22px; font-weight: 900; font-stretch: 64%; letter-spacing: .01em; transition: color 160ms var(--ease-ui); }
.strip-in a:hover { color: var(--alert-hi); text-decoration: underline; text-underline-offset: 4px; }
.strip-in a:active { color: var(--ink); }

/* ---------- photo plates (our work) ---------- */
.plates { display: grid; gap: 22px; margin-top: 44px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plates .plate { grid-column: span 2; }
.plates .p-half { grid-column: span 1; }
.plates .p-half .plate-frame { --ar: 4 / 5; }
@media (min-width: 900px) {
  .plates { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px; }
  .plates .plate { grid-column: span 4; }
  .plates .p-lead { grid-column: span 8; }
  .plates .p-side { grid-column: span 4; display: flex; flex-direction: column; }
  .plates .p-side .plate-frame { flex: 1; aspect-ratio: auto; min-height: 0; }
  .plates .p-side .plate-frame > img { position: absolute; inset: 0; }
  .plates .p-half .plate-frame { --ar: 16 / 11; }
}
.work-more { margin-top: 32px; }

/* ---------- towns: the radar ---------- */
.towns { overflow: hidden; }
.towns-grid { display: grid; gap: 40px; align-items: center; }
.towns-copy > p { margin-top: 18px; max-width: 32em; font-size: 1.0625rem; }
.town-list { margin-top: 28px; border-bottom: 1px solid #222830; }
.town-list li { border-top: 1px solid #222830; }
.town-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 2px 10px 0;
  font: 850 clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem)/1 var(--display); font-stretch: 70%;
  text-transform: uppercase; color: #a3aab2; letter-spacing: 0.01em; text-decoration: none;
  transition: color 1600ms var(--ease), background-color 160ms var(--ease-ui);
}
.town-list .tn { transition: transform 220ms var(--ease-ui); }
.town-list a:hover .tn, .town-list a:focus-visible .tn { transform: translateX(10px); }
.town-list a::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #39414b; flex: none; transition: background-color 1600ms var(--ease), transform 220ms var(--ease-ui); }
.town-list a.lit { color: var(--alert); transition-duration: 120ms, 160ms; }
.town-list a.lit::after { background: var(--alert); transition-duration: 120ms, 220ms; }
.town-list a:hover, .town-list a:focus-visible { color: var(--ink); background: rgba(255, 255, 255, 0.04); transition-duration: 160ms, 160ms; }
.town-list a:hover::after, .town-list a:focus-visible::after { background: var(--alert); transform: scale(1.3); transition-duration: 160ms, 220ms; }
.town-list a:active { background: rgba(255, 255, 255, 0.08); }
.town-list small { font: 600 14px/1.2 var(--text); text-transform: none; color: var(--muted); margin-left: auto; letter-spacing: 0; }
.towns-copy .link { margin-top: 24px; }
.radar-wrap { display: grid; place-items: center; }
.radar {
  position: relative; width: min(100%, 580px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #1b2128 0%, #141920 58%, #0f1318 94%, transparent 94.1%);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,1);
}
.radar-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; stroke: #313a44; stroke-width: 1.5; }
.ring-out { stroke: #47515c; stroke-width: 2; }
.cross { stroke: #232a32; stroke-width: 1.5; }
.town .dot { fill: #8d949c; transition: fill 1600ms var(--ease); }
.town text, .office-town { font: 800 21px var(--display); font-stretch: 72%; text-transform: uppercase; letter-spacing: 1px; fill: #c3c8cd; transition: fill 1600ms var(--ease); }
.town.lit .dot, .town.lit text { fill: var(--alert); transition-duration: 120ms; }
.ping { fill: none; stroke: var(--alert); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.lit .ping { animation: ping 1400ms var(--ease) both; }
@keyframes ping { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(4.2); } }
.office-mark { fill: var(--alert); }
.office-town { fill: var(--ink); font-size: 24px; }
.office-sub { font: 600 15px var(--text); fill: var(--muted); }
.office.lit .ping { animation-duration: 1800ms; }
.sweep {
  position: absolute; inset: 6%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(249,237,3,0) 0deg, rgba(249,237,3,0) 280deg, rgba(249,237,3,0.06) 320deg, rgba(249,237,3,0.24) 360deg);
  will-change: transform;
}
.sweep span { position: absolute; left: calc(50% - 1px); top: 0; width: 2px; height: 50%; background: linear-gradient(0deg, rgba(249,237,3,.25), var(--alert)); border-radius: 2px; }
html:not(.js) .sweep { animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 960px) { .towns-grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 6vw, 96px); } }

/* ---------- steps: what happens after you call (daylight) ---------- */
.steps-head { max-width: 44rem; }
.steps { margin-top: 44px; display: grid; counter-reset: step; border-bottom: 1px solid var(--rule-hi); }
.steps li {
  counter-increment: step; position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 4px 18px;
  padding: 22px 0; border-top: 1px solid var(--rule-hi);
}
.steps li::before {
  content: counter(step, decimal-leading-zero); grid-row: span 2;
  font: 900 2.6rem/0.9 var(--display); font-stretch: 62%; color: var(--fg);
  font-variant-numeric: tabular-nums lining-nums;
  padding-bottom: 8px; border-bottom: 4px solid var(--alert); align-self: start; justify-self: start;
}
.steps h3 { font: 750 1.25rem/1.15 var(--display); font-stretch: 92%; letter-spacing: -0.01em; color: var(--fg); }
.steps p { color: var(--fg-body); max-width: 34em; }
@media (min-width: 760px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); }
}
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps-close { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ---------- FAQ (daylight): questions open in place ---------- */
.faq-grid { display: grid; gap: 36px; }
.faq-intro .lede { max-width: 30em; }
.faq-call { margin-top: 26px; display: inline-flex; flex-direction: column; text-decoration: none; color: var(--fg); padding: 14px 18px; border: 1px solid var(--rule-hi); border-radius: var(--r); background: rgba(255,255,255,.45); transition: background-color 180ms var(--ease-ui), border-color 180ms, transform 180ms var(--ease-ui), box-shadow 200ms var(--ease-ui); }
.faq-call span { font: 600 14px/1.2 var(--text); color: var(--fg-muted); }
.faq-call b { margin-top: 6px; font: 900 2rem/1 var(--display); font-stretch: 64%; }
.faq-call:hover { background: #fff; border-color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 18px -12px rgba(14, 30, 48, .5); }
.faq-call:active { transform: translateY(0); }
.faq-list { border-bottom: 1px solid var(--rule-hi); }
.faq-item { border-top: 1px solid var(--rule-hi); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px 20px 0; font: 650 clamp(1.08rem, 1rem + .35vw, 1.25rem)/1.3 var(--display); font-stretch: 96%; color: var(--fg);
  transition: background-color 160ms var(--ease-ui), color 160ms;
}
.faq-item summary .q { transition: transform 220ms var(--ease-ui); }
.faq-item summary:hover .q, .faq-item summary:focus-visible .q { transform: translateX(8px); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--fg), var(--fg)) center / 12px 2px no-repeat,
    linear-gradient(var(--fg), var(--fg)) center / 2px 12px no-repeat;
  border: 1px solid var(--rule-hi);
  transition: transform 260ms var(--ease), background-color 180ms var(--ease-ui), border-color 180ms;
}
.faq-item summary:hover { background-color: rgba(255, 255, 255, .45); }
.faq-item summary:hover::after { border-color: var(--fg); }
.faq-item summary:active { background-color: rgba(255, 255, 255, .75); }
.faq-item summary:focus-visible { outline: 2px solid var(--day-ink); outline-offset: 2px; }
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--alert); border-color: var(--alert); }
.faq-item .faq-a { padding: 0 44px 22px 0; color: var(--fg-body); max-width: 40em; }
.faq-item .faq-a a { color: var(--fg); font-weight: 600; text-decoration-color: var(--link-line); text-underline-offset: 4px; transition: text-underline-offset 160ms; }
.faq-item .faq-a a:hover { text-underline-offset: 2px; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--head-h) + 32px); }
}

/* ---------- footer: the small links ---------- */
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }


/* ---- Shared components moved from per-page styles (Stage 6, 2026-10-07) ---- */
/* Service-page quick facts, process steps and ticket (14 service pages) */
.sp-quick { margin-top: 36px; display: grid; column-gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .sp-quick { grid-template-columns: 1fr 1fr; } }
.sp-flow { position: relative; margin-top: 52px; --p: 0; }
.sp-flow::before, .sp-flow::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--night-rule); }
.sp-flow::after { background: var(--alert); transform-origin: top; transform: scaleY(var(--p)); }
.sp-step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 22px; padding-bottom: 48px; }
.sp-step:last-child { padding-bottom: 0; }
.sp-step.on .sp-dot { background: var(--alert); border-color: var(--alert); color: var(--black); transform: scale(1.06); }
.sp-step h3 { padding-top: 9px; font: 800 clamp(1.4rem, 1.1rem + 1vw, 1.95rem)/1.04 var(--display); font-stretch: 80%; color: var(--fg); }
.sp-step p { margin-top: 12px; max-width: 36em; }
.sp-step p + p { margin-top: 10px; }
.sp-step .plate { grid-column: 2; margin-top: 24px; max-width: 560px; }
@media (min-width: 960px) { .sp-step { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(28px, 4vw, 64px); } }
@media (min-width: 960px) { .sp-step .plate { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; } }
.sp-ticket { position: relative; background: #f8fafc; color: var(--day-body); border-radius: 6px; padding: clamp(22px, 3.4vw, 40px); box-shadow: inset 0 1px 0 #fff, 0 2px 3px rgba(14, 30, 48, 0.12), 0 34px 60px -36px rgba(14, 30, 48, 0.6); }
.sp-ticket h3 { font: 650 1.35rem/1.15 var(--display); letter-spacing: -0.015em; color: var(--day-ink); }

/* Breadcrumbs: article heroes (blog posts) */
.a-hero .crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 600 13.5px/1.35 var(--text); color: var(--muted); }
.a-hero .crumbs li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.a-hero .crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--night-rule-hi); border-right: 1.5px solid var(--night-rule-hi); transform: rotate(45deg); flex: none; }
.a-hero .crumbs a { color: var(--body); text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; transition: color 160ms var(--ease-ui), border-color 160ms var(--ease-ui); }
.a-hero .crumbs a:hover { color: var(--ink); border-bottom-color: var(--alert); }
.a-hero .crumbs a:active { color: var(--muted); }
.a-hero .crumbs [aria-current] { color: var(--muted); }

/* Breadcrumbs: service and services-hub heroes */
:is(.sp-hero, .hub-hero) .crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--muted); }
:is(.sp-hero, .hub-hero) .crumbs li + li::before { content: "/"; margin-right: 10px; color: #5d6670; }
:is(.sp-hero, .hub-hero) .crumbs a { color: var(--body); text-decoration: underline; text-decoration-color: #555; text-underline-offset: 4px; transition: color 160ms var(--ease-ui), text-decoration-color 160ms; }
:is(.sp-hero, .hub-hero) .crumbs a:hover { color: var(--ink); text-decoration-color: var(--alert); }
:is(.sp-hero, .hub-hero) .crumbs a:active { color: var(--alert); }
.hero:is(.sp-hero, .hub-hero) .crumbs { margin-bottom: 22px; }
