/* Dr. Rooter Plumbing
   Visual language taken from the company's van livery:
   white body, charcoal rocker trim, a blue band with a red pinstripe,
   a dense two-column service list and a big phone number.
   Rule of color: blue is structure, red is reserved for urgency and calls to action. */
:root {
  --white: #FCFCFD;
  --panel: #FFFFFF;
  --steel: #ECEFF3;
  --steel-2: #DCE0E7;
  --charcoal: #23262C;
  --grey: #5A616D;
  --blue: #0A2EA8;
  --blue-dark: #08227E;
  --red: #B81C10;
  --red-dark: #96160C;
  --ok: #12704A;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 4px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --space: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--charcoal); font: 400 17px/1.6 var(--sans); font-stretch: 100%; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--sans); font-weight: 800; font-stretch: 118%; letter-spacing: -.012em; line-height: 1.04; color: var(--charcoal); text-wrap: balance; }
h1 { font-size: clamp(38px, 4.6vw, 64px); }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: 21px; font-stretch: 112%; line-height: 1.15; letter-spacing: -.005em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--panel); padding: 10px 16px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; }
.section.tint { background: var(--steel); }
.lead { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.55; color: var(--grey); max-width: 58ch; }
.measure { max-width: 62ch; }
.muted { color: var(--grey); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius); border: 2px solid transparent;
  font: 700 16px/1 var(--sans); font-stretch: 110%; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-line { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-line:hover { background: var(--charcoal); color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--steel); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--blue); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { color: var(--red); }

/* ---------- Header ----------
   A white full-width bar. On the homepage it turns see-through while it sits over the hero video
   (.is-clear, toggled in js/main.js): the tabs sit in a frosted-glass bar and the phone in a frosted panel.
   Hovering a tab pops a red pill behind it with a few rising bubbles. */
.header { position: sticky; top: 0; z-index: 50; padding: 10px var(--gutter); background: var(--panel); border-bottom: 1px solid var(--steel-2); box-shadow: 0 10px 30px -24px rgba(35, 38, 44, .6); transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.nav-bar { max-width: var(--wrap); margin: 0 auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { display: block; height: 62px; width: auto; }
@media (max-width: 1280px) { .brand img { height: 54px; } }
.nav { display: flex; align-items: center; padding: 4px; border-radius: 14px; transition: background-color .35s ease, box-shadow .35s ease; }
.nav .tab { position: relative; isolation: isolate; padding: 12px 18px; font-weight: 700; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--charcoal); transition: color .2s ease; }
.nav > * + * { box-shadow: -1px 0 0 var(--steel-2); }
.nav .tab::before { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 10px; background: var(--red); opacity: 0; transform: scale(.55); transition: transform .5s cubic-bezier(.34, 1.7, .5, 1), opacity .18s ease; }
.nav .tab::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 44px; height: 30px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 18% 78%, rgba(255, 255, 255, .95) 0 2.2px, transparent 3.2px), radial-gradient(circle at 52% 55%, rgba(255, 255, 255, .85) 0 3px, transparent 4px), radial-gradient(circle at 84% 82%, rgba(255, 255, 255, .9) 0 1.8px, transparent 2.8px); }
.nav .tab:hover, .nav .tab:focus-visible { color: #fff; }
.nav .tab:hover::before, .nav .tab:focus-visible::before { opacity: 1; transform: scale(1); }
.nav .tab:hover { animation: nav-pop .5s cubic-bezier(.34, 1.4, .5, 1); }
.nav .tab:hover::after { animation: nav-bubbles .95s ease-out; }
.nav .tab:focus-visible { outline: none; }
.nav .tab:focus-visible::before { box-shadow: 0 0 0 3px var(--blue); }
.nav .tab[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 9px; }
.nav .tab[aria-current="page"]:hover, .nav .tab[aria-current="page"]:focus-visible { text-decoration-color: transparent; }
@keyframes nav-pop { 0% { transform: scale(1); } 35% { transform: scale(1.08); } 65% { transform: scale(.97); } 100% { transform: scale(1); } }
@keyframes nav-bubbles { 0% { opacity: 0; transform: translate(-50%, 6px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -26px); } }

.nav-call { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 12px; background: var(--steel); color: var(--blue); font-weight: 800; font-stretch: 115%; font-size: 19px; white-space: nowrap; text-decoration: none; transition: background-color .35s ease, color .35s ease; }
.nav-phone svg { width: 18px; height: 18px; }
.nav-phone:hover { background: var(--steel-2); }
.nav-cta { min-height: 48px; padding: 0 20px; border-radius: 12px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--steel-2); border-radius: 12px; background: var(--panel); color: var(--charcoal); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* Over the hero video */
.header.is-clear { background: transparent; border-color: transparent; box-shadow: none; }
.header.is-clear .nav-phone { background: rgba(14, 18, 30, .42); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.header.is-clear .nav-phone:hover { background: rgba(14, 18, 30, .6); }
.header.is-clear .menu-btn { background: rgba(14, 18, 30, .42); border-color: rgba(255, 255, 255, .2); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (min-width: 1081px) {
  .header.is-clear .nav { background: rgba(14, 18, 30, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
  .header.is-clear .nav .tab { color: #fff; }
  .header.is-clear .nav > * + * { box-shadow: -1px 0 0 rgba(255, 255, 255, .2); }
}

@media (max-width: 1280px) {
  .nav .tab { padding: 12px 13px; font-size: 14px; }
  .nav-cta { display: none; }
}
@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 16px); flex-direction: column; align-items: stretch; background: var(--panel); border: 1px solid var(--steel-2); border-radius: 14px; padding: 8px; box-shadow: 0 18px 40px -20px rgba(35, 38, 44, .5); display: none; }
  .nav.open { display: flex; max-height: calc(100svh - 110px); overflow-y: auto; overscroll-behavior: contain; }
  .nav .tab { padding: 15px 14px; font-size: 16px; }
  .nav > * + * { box-shadow: none; }
}
@media (max-width: 600px) {
  .header { padding: 8px var(--gutter); }
  .brand img { height: 42px; }
  .nav-phone { width: 48px; padding: 0; justify-content: center; background: var(--red); color: #fff; }
  .nav-phone span { display: none; }
  .header.is-clear .nav-phone { background: var(--red); }
}
/* Services dropdown: opens on hover (or the arrow button) under the Services tab */
.nav-item { position: relative; display: flex; align-items: center; }
.has-sub .tab { padding-right: 38px; }
.sub-toggle { all: unset; position: absolute; right: 12px; top: 50%; translate: 0 -50%; z-index: 1; display: grid; place-items: center; width: 22px; height: 30px; border-radius: 6px; color: var(--charcoal); cursor: pointer; transition: color .2s ease; }
.sub-toggle svg { width: 16px; height: 16px; transition: rotate .3s ease; }
.sub-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.has-sub:hover .sub-toggle, .has-sub .tab:focus-visible + .sub-toggle { color: #fff; }
.has-sub:hover .sub-toggle svg, .has-sub.open .sub-toggle svg { rotate: 180deg; }
.has-sub:hover .tab::before { opacity: 1; transform: scale(1); }
.has-sub:hover .tab { color: #fff; }
.sub { position: absolute; top: calc(100% + 16px); left: 50%; translate: -50% 0; z-index: 5; width: 580px; padding: 14px; background: var(--panel); border-radius: 16px; box-shadow: 0 0 0 1px var(--steel-2), 0 30px 60px -22px rgba(15, 20, 35, .4);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: top center; transition: opacity .2s ease, transform .4s cubic-bezier(.34, 1.4, .5, 1), visibility 0s linear .2s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }   /* keeps hover alive across the gap */
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sub ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 2px 8px; }
.sub ul a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.25; }
.sub ul a svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--steel); color: var(--blue); transition: background-color .2s ease, color .2s ease; }
.sub ul a:hover, .sub ul a:focus-visible { background: var(--steel); }
.sub ul a:hover svg, .sub ul a:focus-visible svg { background: var(--red); color: #fff; animation: nav-pop .5s cubic-bezier(.34, 1.4, .5, 1); }
.sub-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 12px 10px 4px; border-top: 1px solid var(--steel-2); color: var(--blue); font-weight: 700; text-decoration: none; }
.sub-all svg { width: 16px; height: 16px; transition: translate .2s ease; }
.sub-all:hover svg { translate: 4px 0; }
@media (min-width: 1081px) { .header.is-clear .sub-toggle { color: #fff; } }
@media (max-width: 1080px) {
  .nav-item { flex-wrap: wrap; }
  .has-sub .tab { flex: 1; padding-right: 14px; }
  .sub-toggle { position: static; translate: none; width: 48px; height: 48px; }
  .has-sub:hover .sub-toggle { color: var(--charcoal); }
  .has-sub:hover .tab::before { opacity: 0; transform: scale(.55); }
  .has-sub:hover .tab { color: var(--charcoal); }
  .sub, .has-sub:hover .sub, .has-sub:focus-within .sub { position: static; translate: none; width: 100%; padding: 0 0 8px 8px; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; transition: none; display: none; }
  .has-sub.open .sub { display: block; }
  .sub ul { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .sub-all { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .nav .tab:hover, .nav .tab:hover::after { animation: none; }
  .nav .tab::before { transition: opacity .15s ease; transform: none; }
}

/* ---------- Hero (split, photo bleeds right) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); margin-top: 20px; }
.hero h1 { font-size: clamp(36px, 3.9vw, 56px); }
.hero-copy { padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(48px, 6vw, 88px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); align-self: center; }
.hero-copy .lead { margin: 18px 0 32px; }
.hero.page .hero-copy .lead { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(20px, 1.75vw, 26px); line-height: 1.45; color: var(--charcoal); max-width: 34ch; }
.hero-media { position: relative; min-height: 420px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 15px; color: var(--grey); margin-bottom: 18px; }
.crumbs a { color: var(--blue); }
.page .hero-copy { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 64px); }
.page .hero-media { min-height: 360px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .page .hero-media { min-height: 0; }
  .hero-copy { padding: 32px var(--gutter) 40px; }
}

/* ---------- Livery band: the signature element ---------- */
.livery { background: var(--blue); color: #fff; }
.livery .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 96px; padding-top: 18px; padding-bottom: 18px; }
.livery .left { font-weight: 700; font-stretch: 112%; font-size: 17px; }
.livery .left strong { display: block; color: #fff; }
.livery .left span { color: #C9D3F5; font-weight: 500; font-stretch: 100%; font-size: 15px; }
.livery .phone { font: 800 clamp(30px, 3.6vw, 48px)/1 var(--sans); font-stretch: 125%; letter-spacing: -.01em; color: #fff; text-decoration: none; white-space: nowrap; }
.livery .phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.livery .right { text-align: right; font-size: 15px; color: #C9D3F5; }
.livery .right strong { display: block; color: #fff; font-stretch: 112%; font-size: 17px; }
.pinstripe { height: 12px; background: linear-gradient(var(--white) 0 5px, var(--red) 5px 100%); }
@media (max-width: 860px) {
  .livery .wrap { grid-template-columns: 1fr; text-align: left; gap: 10px; }
  .livery .right { text-align: left; }
}
@media (prefers-reduced-motion: no-preference) {
  .livery { animation: apply .9s cubic-bezier(.2, .7, .2, 1) .1s both; }
  .pinstripe { animation: apply .7s cubic-bezier(.2, .7, .2, 1) .45s both; }
  @keyframes apply { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}

/* ---------- About ---------- */
.statement { font-size: clamp(26px, 2.9vw, 40px); font-stretch: 112%; line-height: 1.14; max-width: 30ch; font-weight: 700; letter-spacing: -.01em; margin-bottom: 0; }
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 72px); align-items: stretch; }
.about-photo { margin: 0; }
.about-photo { position: relative; min-height: 460px; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }   /* the text column sets the height; the photo fills it */
.about-photo figcaption { font-size: 14px; color: var(--grey); margin-top: 10px; }
.about-body { padding-top: clamp(0px, 4vw, 64px); }
.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 40px; margin: 32px 0 36px; padding: 22px 0 0; border-top: 2px solid var(--charcoal); }
.facts div { min-width: 0; }
/* "Doc's promise" card under the facts: three promises side by side, then the two buttons */
.promise { position: relative; padding: clamp(22px, 2.6vw, 32px); padding-top: calc(clamp(22px, 2.6vw, 32px) + 9px); background: var(--panel); border: 1px solid var(--steel-2); border-radius: 18px; overflow: hidden; box-shadow: 0 22px 44px -32px rgba(15, 25, 60, .45); }
.promise::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; background: linear-gradient(var(--blue) 0 5px, #fff 5px 6px, var(--red) 6px 9px); }
.promise h3 { margin: 0 0 18px; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.promise ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.promise li { display: flex; flex-direction: column; gap: 12px; font-weight: 600; line-height: 1.4; }
.promise li svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; box-shadow: 0 0 0 5px rgba(10, 46, 168, .1); transition: transform .5s cubic-bezier(.34, 1.6, .5, 1); }
.promise:hover li svg { transform: scale(1.08); }
.promise:hover li:nth-child(2) svg { transition-delay: .06s; }
.promise:hover li:nth-child(3) svg { transition-delay: .12s; }
.promise .btns { gap: 10px; padding-top: 20px; border-top: 1px solid var(--steel-2); }
.promise .btns .btn { flex: 1; justify-content: center; min-height: 48px; padding: 0 16px; font-size: 15px; }
@media (max-width: 560px) { .promise ul { grid-template-columns: 1fr; } .promise li { flex-direction: row; align-items: center; } .promise li svg { flex: none; width: 34px; height: 34px; padding: 7px; } }
@media (prefers-reduced-motion: reduce) { .promise li svg { transition: none; } .promise:hover li svg { transform: none; } }
.facts dt { font: 800 34px/1 var(--sans); font-stretch: 118%; color: var(--blue); }
.facts dd { margin: 8px 0 0; font-size: 15px; color: var(--grey); max-width: 16ch; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-photo { min-height: 0; } .about-photo img { position: static; height: auto; aspect-ratio: 4 / 3; } .facts { grid-template-columns: repeat(2, auto); } }

/* ---------- Services as the van-side list ---------- */
.decal { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); margin-top: clamp(32px, 4vw, 48px); border-top: 2px solid var(--charcoal); }
.decal-item { padding: 24px 0 26px; border-bottom: 1px solid var(--steel-2); display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline; }
.decal-item h3 { margin: 0; color: var(--blue); }
.decal-item p { grid-column: 1 / -1; margin: 0; color: var(--grey); font-size: 16px; max-width: 46ch; }
.decal-item a { font-size: 15px; font-weight: 700; color: var(--charcoal); text-decoration: none; white-space: nowrap; }
.decal-item a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.decal-item.urgent h3 { color: var(--red); }
.section-foot { margin-top: 36px; }
@media (max-width: 760px) { .decal { grid-template-columns: 1fr; } }

/* ---------- Route (3 real steps) ---------- */
.route { list-style: none; padding: 0; margin: clamp(36px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; counter-reset: step; }
.route::before { content: ""; position: absolute; left: 29px; right: calc((100% - 64px) / 3 - 29px); top: 27px; height: 4px; background: var(--blue); }
.route li { position: relative; counter-increment: step; }
.route li::before { content: counter(step); position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--panel); border: 4px solid var(--blue); font: 800 24px/1 var(--sans); font-stretch: 120%; color: var(--blue); margin-bottom: 22px; }
.route li:last-child::before { background: var(--blue); color: #fff; }
.route h3 { margin-bottom: 8px; }
.route p { color: var(--grey); margin: 0; max-width: 34ch; }
@media (max-width: 800px) {
  .route { grid-template-columns: 1fr; gap: 28px; }
  .route::before { display: none; }
  .route li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 58px; bottom: -28px; width: 4px; background: var(--blue); }
  .route li { padding-left: 82px; }
  .route li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Projects (1 large + 2) ---------- */
.work { display: grid; grid-template-columns: 1.45fr 1fr; gap: 28px; margin-top: clamp(32px, 4vw, 48px); }
.work figure { margin: 0; }
.work .side { display: grid; gap: 28px; }
.shot { all: unset; display: block; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.shot:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.work .big .shot { aspect-ratio: 4 / 3.1; }
.work .side .shot { aspect-ratio: 16 / 9.4; }
.work figcaption { margin-top: 12px; }
.work figcaption strong { display: block; font-stretch: 112%; font-size: 19px; }
.work figcaption span { color: var(--grey); font-size: 15px; }
@media (max-width: 800px) { .work { grid-template-columns: 1fr; } }

/* ---------- Reviews (scrolling columns, ported from testimonials-columns component) ---------- */
.reviews-head { max-width: 560px; margin: 0 auto; text-align: center; }
.reviews-head h2 { margin-bottom: 12px; }
.reviews-head .lead { margin: 0 auto 14px; }
.note { display: inline-block; font-size: 14px; font-weight: 600; color: var(--red); background: #FBEAE8; padding: 4px 10px; border-radius: var(--radius); }
.tcols {
  display: flex; justify-content: center; gap: 24px; margin-top: 44px;
  max-height: 740px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.tcol { width: 100%; max-width: 340px; }
.ttrack { display: flex; flex-direction: column; gap: 24px; animation: tscroll var(--dur, 15s) linear infinite; }
.tdup { display: flex; flex-direction: column; gap: 24px; }
.tcols:hover .ttrack, .tcols:focus-within .ttrack { animation-play-state: paused; }
@keyframes tscroll { to { transform: translateY(calc(-50% - 12px)); } }
.tcard { margin: 0; padding: 32px; background: var(--panel); border: 1px solid var(--steel-2); border-radius: var(--radius); box-shadow: 0 14px 30px -18px rgba(10, 46, 168, .28); }
.tcard blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--charcoal); }
.tcard figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tavatar { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-stretch: 115%; font-size: 15px; }
.tcol-2 .tavatar { background: var(--charcoal); }
.tcol-3 .tavatar { background: var(--red); }
.tcard strong { display: block; line-height: 1.3; font-stretch: 108%; }
.tcard small { display: block; color: var(--grey); font-size: 14px; line-height: 1.3; }
.reviews.tint .tcard { border-color: transparent; }
@media (max-width: 1023px) { .tcol-3 { display: none; } }
@media (max-width: 767px) { .tcol-2 { display: none; } }
/* Reduced motion: no scrolling. Show every review once in a static grid. */
@media (prefers-reduced-motion: reduce) {
  .tcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-height: none; -webkit-mask-image: none; mask-image: none; }
  .tcol { max-width: none; display: contents; }
  .ttrack { display: contents; }
  .tdup { display: none; }
  .tcol-2, .tcol-3 { display: contents; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid .mascot { width: 100%; max-width: 380px; margin-top: 28px; filter: drop-shadow(0 14px 16px rgba(15, 25, 60, .16)); }
.faq details { border-top: 1px solid var(--steel-2); }
.faq details:last-child { border-bottom: 1px solid var(--steel-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 700; font-stretch: 108%; font-size: 19px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--blue); }
.faq details p { margin: 0 0 22px; color: var(--grey); max-width: 60ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .mascot { max-width: 300px; } }

/* ---------- Contact band (photo + decal panel) ---------- */
.contact-band { position: relative; padding: clamp(48px, 7vw, 96px) 0; isolation: isolate; }
.contact-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.contact-band .wrap { display: flex; justify-content: flex-end; }
.form-panel { width: 100%; max-width: 580px; background: var(--panel); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(35, 38, 44, .6); }
.form-panel::before { content: ""; display: block; height: 22px; background: linear-gradient(var(--blue) 0 12px, var(--panel) 12px 16px, var(--red) 16px 22px); }
.form-panel form { padding: clamp(22px, 3vw, 36px); }
.form-panel h2 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 6px; }
.form-panel .sub { color: var(--grey); font-size: 16px; margin-bottom: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--steel-2); border-radius: var(--radius); background: var(--panel); font: 400 16px var(--sans); color: var(--charcoal); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field .err { display: none; color: var(--red); font-size: 14px; font-weight: 600; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; cursor: pointer; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--red); }
.form-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.form-actions small { font-size: 15px; color: var(--grey); }
.form-actions small a { color: var(--charcoal); font-weight: 700; }
.form-success { display: none; margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--ok); background: #E9F5EF; color: var(--ok); font-weight: 600; font-size: 15px; }
.form-success.show { display: block; }
@media (max-width: 800px) {
  .contact-band { padding: 0; }
  .contact-band > img { position: relative; height: 260px; z-index: 0; }
  .contact-band .wrap { margin-top: -60px; position: relative; }
}
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Towns (replaces the marquee) ---------- */
.towns { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--steel-2); }
.towns .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline; }
.towns h2 { font-size: 22px; margin: 0; }
.towns p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); font-stretch: 108%; font-weight: 500; line-height: 1.5; color: var(--grey); }
.towns p strong { color: var(--charcoal); font-weight: 700; }
@media (max-width: 700px) { .towns .wrap { grid-template-columns: 1fr; } }

/* ---------- Service area (contact page) ---------- */
.area-grid { display: grid; grid-template-columns: 1fr minmax(0, 400px); grid-template-areas: "intro map" "zones map"; grid-template-rows: auto 1fr; gap: 8px clamp(32px, 6vw, 96px); align-items: start; }
.area-intro { grid-area: intro; }
.map-figure { grid-area: map; margin: 0; width: 100%; }
.area-map { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--steel-2); }
.zones { grid-area: zones; display: grid; gap: 22px; margin-top: 12px; }
.zone h3 { margin: 0 0 6px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.zone ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-weight: 600; }
.zone li:not(:last-child)::after { content: "\00b7"; margin: 0 10px; color: var(--grey); font-weight: 400; }
.zone li.home { color: var(--red); display: inline-flex; align-items: center; gap: 4px; }
.zone li.home svg { width: 16px; height: 16px; }
.zone li.home span { color: var(--grey); font-weight: 500; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "map" "zones"; } .map-figure { max-width: 250px; justify-self: center; margin: 16px 0 8px; } }

/* ---------- Services page spec sheet ---------- */

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 32px; border-bottom: 1px solid var(--steel-2); }
.filter { all: unset; cursor: pointer; padding: 12px 0; font-weight: 600; font-size: 17px; color: var(--grey); box-shadow: inset 0 -3px 0 transparent; }
.filter:hover { color: var(--charcoal); }
.filter:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.filter[aria-pressed="true"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--blue); }
/* Project grid (Our Work): tiles laid out in rows of wide + narrow by js/main.js */
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 23vw, 330px); gap: 16px; }
.lg-card { margin: 0; min-width: 0; }
.lg-card[hidden] { display: none; }
.lg-card.wide { grid-column: span 2; }
.lg-card.full { grid-column: 1 / -1; }
.lg-tile { all: unset; position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 12px; cursor: zoom-in; background: var(--steel); }
.lg-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.lg-tile:hover img { transform: scale(1.04); }
.lg-tile:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.lg-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-weight: 700; font-size: 16px; background: linear-gradient(transparent, rgba(10, 14, 24, .7)); }
.lg-card.is-open .lg-tile { visibility: hidden; }
@media (max-width: 700px) { .lgrid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 10px; } .lg-label { font-size: 14px; padding: 28px 10px 10px; } }

.lg-view { position: fixed; inset: 0; z-index: 210; }
.lg-view[hidden] { display: none; }
.lg-backdrop { position: absolute; inset: 0; background: rgba(12, 15, 22, .78); opacity: 0; transition: opacity .35s ease; }
.lg-view.is-open .lg-backdrop { opacity: 1; }
.lg-panel { position: fixed; margin: 0; overflow: hidden; border-radius: 12px; background: #111; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); }
.lg-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.lg-panel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px clamp(18px, 3vw, 32px) clamp(16px, 2.4vw, 26px); color: #fff; background: linear-gradient(transparent, rgba(8, 10, 16, .82)); opacity: 0; transform: translateY(24px); transition: opacity .3s ease, transform .3s ease; }
.lg-view.show-text .lg-panel figcaption { opacity: 1; transform: none; }
.lg-panel h3 { margin: 0 0 6px; color: #fff; font-size: clamp(22px, 2.6vw, 34px); }
.lg-panel p { margin: 0; max-width: 56ch; color: #E3E6EC; font-size: 16px; }
.lg-btn { position: fixed; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--charcoal); cursor: pointer; opacity: 0; transition: opacity .25s ease; }
.lg-view.show-text .lg-btn { opacity: 1; }
.lg-btn svg { width: 20px; height: 20px; }
.lg-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lg-close { top: 18px; right: 18px; }
.lg-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lg-next { right: 18px; top: 50%; translate: 0 -50%; }
@media (max-width: 700px) { .lg-prev, .lg-next { top: auto; bottom: 18px; translate: none; } .lg-prev { left: calc(50% - 56px); } .lg-next { right: calc(50% - 56px); } }
@media (prefers-reduced-motion: reduce) { .lg-tile img, .lg-backdrop, .lg-panel figcaption, .lg-btn { transition: none; } }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(23, 25, 30, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: min(1200px, 100%); border-radius: var(--radius); }
.lightbox button { position: absolute; width: 50px; height: 50px; border: 0; border-radius: var(--radius); background: #fff; color: var(--charcoal); cursor: pointer; display: grid; place-items: center; }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }

/* ---------- About page ---------- */
.stands { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.stands h2 { margin-top: 0; }
.stands ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.stands li { padding-left: 18px; position: relative; font-weight: 500; }
.stands li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 3px; background: var(--blue); }
@media (max-width: 860px) { .stands { grid-template-columns: 1fr; } }
.values { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: clamp(24px, 3vw, 36px); }
.value { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: baseline; }
.value h3 { font-size: clamp(44px, 6.4vw, 92px); font-stretch: 125%; line-height: .95; color: var(--blue); margin: 0; }
.value:nth-child(2) h3 { color: var(--red); }
.value p { margin: 0; font-size: clamp(18px, 1.5vw, 20px); color: var(--grey); max-width: 44ch; }
@media (max-width: 760px) { .value { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-grid .form-panel { max-width: none; box-shadow: none; border: 1px solid var(--steel-2); }
.reach-card h2 { margin-top: 0; }
.reach-group { padding: 22px 0; border-top: 1px solid var(--steel-2); }
.reach-group:first-of-type { border-top: 0; padding-top: 8px; }
.reach-group h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.reach-group h3 svg { width: 18px; height: 18px; color: var(--blue); }
.reach-group p { margin: 6px 0 0; }
.reach-phone { display: inline-block; font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; font-stretch: 122%; color: var(--blue); text-decoration: none; line-height: 1.1; }
.reach-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.reach-group dl { margin: 0; display: grid; gap: 8px; }
.reach-group dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.reach-group dt { color: var(--grey); }
.reach-group dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { .reach-group dl div { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer (charcoal rocker panel) ---------- */
.footer { background: var(--charcoal); color: #B7BCC6; font-size: 16px; }
.footer::before { content: ""; display: block; height: 22px; background: linear-gradient(var(--blue) 0 12px, var(--white) 12px 16px, var(--red) 16px 22px); }
.footer a { color: #DADDE3; text-decoration: none; }
.footer a:not(.btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding: clamp(44px, 6vw, 72px) 0; border-bottom: 1px solid #3A3E46; }
.footer-cta h2 { color: #fff; margin: 0; max-width: 20ch; font-size: clamp(28px, 3vw, 40px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 40px; padding: clamp(44px, 5vw, 64px) 0; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { display: block; height: 64px; width: auto; }
.footer h3 { color: #fff; font-size: 17px; font-stretch: 110%; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer dl { margin: 0; }
.footer dt { color: #fff; font-weight: 700; margin-top: 14px; }
.footer dt:first-child { margin-top: 0; }
.footer dd { margin: 2px 0 0; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #4A4F59; border-radius: var(--radius); }
.socials a:hover { background: var(--blue); border-color: var(--blue); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0 28px; border-top: 1px solid #3A3E46; font-size: 14px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--steel-2); }
  .callbar .btn { padding: 0 10px; font-size: 15px; }
  body { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Symptom checker ---------- */
.sym { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px; margin-top: clamp(28px, 4vw, 44px); align-items: start; }
.sym-list { display: flex; flex-direction: column; border-top: 2px solid var(--charcoal); }
.sym-tab { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--steel-2); font-weight: 600; font-size: 17px; line-height: 1.3; position: relative; }
.sym-tab::after { content: ""; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--steel-2); }
.sym-tab[data-urgency="now"]::after { background: var(--red); }
.sym-tab[data-urgency="today"]::after { background: var(--blue); }
.sym-tab[data-urgency="book"]::after { background: var(--grey); }
.sym-tab:hover { background: var(--steel); }
.sym-tab[aria-selected="true"] { background: var(--panel); color: var(--blue); box-shadow: inset 4px 0 0 var(--blue); }
.sym-tab:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.sym-panel { scroll-margin-top: 96px; background: var(--panel); border: 1px solid var(--steel-2); border-radius: var(--radius); overflow: hidden; }
.sym-urgency { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 14px 24px; color: #fff; background: var(--grey); }
.u-now .sym-urgency { background: var(--red); }
.u-today .sym-urgency { background: var(--blue); }
.u-book .sym-urgency { background: var(--charcoal); }
.sym-urgency strong { font-size: 18px; font-stretch: 115%; }
.sym-urgency span { font-size: 15px; opacity: .92; }
.sym-body { padding: clamp(20px, 3vw, 32px); }
.sym-body h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 18px; }
.sym-body h4 { margin: 0 0 8px; font-size: 16px; font-weight: 700; font-stretch: 110%; color: var(--charcoal); }
.sym-body ol { margin: 0 0 24px; padding-left: 22px; display: grid; gap: 8px; }
.sym-body ol li::marker { color: var(--blue); font-weight: 800; }
.sym-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; padding-top: 20px; border-top: 1px solid var(--steel-2); margin-bottom: 22px; }
.sym-cols p { margin: 0; color: var(--grey); font-size: 16px; }
.sym-more { margin: -6px 0 20px; }
@media (max-width: 860px) {
  .sym { grid-template-columns: 1fr; gap: 16px; }
  .sym-list { flex-direction: row; flex-wrap: wrap; gap: 8px; border-top: 0; }
  .sym-tab { min-height: 44px; padding: 8px 12px; border: 1px solid var(--steel-2); border-radius: var(--radius); font-size: 15px; background: var(--panel); }
  .sym-tab[aria-selected="true"] { box-shadow: none; border-color: var(--blue); background: var(--blue); color: #fff; }
  .sym-tab[aria-selected="true"]::after { background: #fff; }
}
@media (max-width: 560px) { .sym-cols { grid-template-columns: 1fr; } }

/* ---------- Ratings bar ---------- */
.ratings { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin: 28px auto 0; }
.rating { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--charcoal); }
.rating strong { font-size: 30px; font-weight: 800; font-stretch: 118%; line-height: 1; }
.rating .star svg { width: 22px; height: 22px; color: #E8A400; display: block; }
.rating span:last-child { font-size: 15px; color: var(--grey); text-decoration: underline; text-underline-offset: 3px; }
.rating:hover span:last-child { color: var(--blue); }
.rating-old strong { font-size: 22px; }
.rating-old .star svg { width: 17px; height: 17px; }
.ratings .btn { min-height: 44px; }
.reviews-note { text-align: center; font-size: 14px; color: var(--grey); margin: 18px 0 0; }

/* ---------- Steps: the worry each step answers ---------- */
.route .worry { margin-top: 12px; font-size: 15px; color: var(--charcoal); }
.route .worry strong { display: block; color: var(--red); font-stretch: 108%; }

/* ---------- Property type ---------- */
.ptype { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ptype legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; width: 100%; }
.ptype label { position: relative; cursor: pointer; }
.ptype input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ptype label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--steel-2); border-radius: var(--radius); font-weight: 600; font-size: 15px; }
.ptype label:has(input:checked) { border-color: var(--blue); background: var(--blue); color: #fff; }
.ptype label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Backflow notice ---------- */
.notice { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.notice .lead { margin: 14px 0 28px; }
.notice-list { margin: 0; display: grid; gap: 22px; }
.notice-list div { padding-top: 18px; border-top: 2px solid var(--charcoal); }
.notice-list dt { font-weight: 700; font-stretch: 112%; font-size: 19px; margin-bottom: 6px; }
.notice-list dd { margin: 0; color: var(--grey); }
@media (max-width: 860px) { .notice { grid-template-columns: 1fr; } }

/* ---------- Hurricane checklist ---------- */
.storm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(28px, 4vw, 44px); border-top: 12px solid var(--blue); background: var(--panel); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 0 0 1px var(--steel-2); }
.storm-col { padding: 24px clamp(18px, 2.4vw, 28px) 28px; }
.storm-col + .storm-col { border-left: 1px solid var(--steel-2); }
.storm-col h3 { margin-bottom: 14px; }
.storm-col:last-child h3 { color: var(--red); }
.storm-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.storm-col li { padding-left: 30px; position: relative; font-size: 16px; }
.storm-col li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border: 2px solid var(--blue); border-radius: 3px; }
.storm-foot { margin: 22px 0 0; color: var(--grey); }
@media (max-width: 860px) { .storm { grid-template-columns: 1fr; } .storm-col + .storm-col { border-left: 0; border-top: 1px solid var(--steel-2); } }

.livery .right a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.livery .right a:hover { text-decoration-thickness: 2px; }

/* ============================================================
   Illustrated landing page (landing.html)
   A Palm Beach street in layers. Scrolling moves each layer at its own
   speed (--y and --p are set by main.js) and the navy foliage rises to
   become the "underground" section below.
   ============================================================ */
:root { --deep: #0A1640; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.scene-page .header { position: fixed; left: 0; right: 0; top: 0; }

.scene { position: relative; height: max(660px, 100svh); max-height: 1100px; overflow: hidden; background: #1747C4; isolation: isolate; }
.scene .art { position: absolute; inset: 0; }
.scene .layer { position: absolute; inset: 0; transform: translate3d(0, calc(var(--y, 0px) * var(--d, 0)), 0); will-change: transform; }
.scene .layer svg { display: block; width: 100%; height: 100%; }
.scene .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 22, 92, .52) 0%, rgba(6, 22, 92, .34) 32%, rgba(6, 22, 92, 0) 60%); }
.scene .grain { position: absolute; inset: 0; opacity: .2; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.scene-copy {
  position: relative; z-index: 2; color: #fff;
  padding: calc(92px + clamp(24px, 6vh, 84px)) var(--gutter) 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  transform: translate3d(0, calc(var(--y, 0px) * .32), 0);
}
.scene-copy > * { max-width: 700px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 14px; font-weight: 700; font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; color: #DCE6FF; }
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--red); flex: none; }
.scene h1 { color: #fff; font-size: clamp(38px, 3.9vw, 60px); text-shadow: 0 2px 30px rgba(5, 20, 80, .25); }
.scene-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: #EAF0FF; max-width: 44ch; margin: 18px 0 30px; }
.scene-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.scene-trust li { display: flex; align-items: center; gap: 8px; }
.scene-trust svg { width: 18px; height: 18px; flex: none; }
.scene-trust li:nth-child(2) svg { color: #FFD34D; }

.scene .art-front { z-index: 3; pointer-events: none; }
.scene .fg { transform: translate3d(0, calc(var(--y, 0px) * -.25), 0) scale(calc(1 + var(--p, 0) * .4)); transform-origin: 50% 100%; }
.scene .fg::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 2px); height: 150%; background: var(--deep); }
.drift { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.drift span { position: absolute; left: -40px; top: var(--y0); }
.drift i { display: block; width: 22px; color: var(--c); }
.drift svg { display: block; width: 100%; height: auto; }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 20px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: calc(1 - var(--p, 0) * 5); }
.scroll-cue svg { width: 20px; height: 20px; rotate: 90deg; }

@media (prefers-reduced-motion: no-preference) {
  .scene .sway { animation: sway 5.5s ease-in-out infinite alternate; }
  .scene .sway.slow { animation-duration: 8s; }
  .scene .cloud { animation: cloud 42s ease-in-out infinite alternate; }
  .scene .cloud.c2, .scene .cloud.c4 { animation-duration: 56s; animation-direction: alternate-reverse; }
  .scene .flock { animation: flock 26s ease-in-out infinite alternate; }
  .scene .bird { transform-box: fill-box; transform-origin: center; animation: flap .45s ease-in-out infinite alternate; }
  .scene .shimmer { animation: shimmer 4s ease-in-out infinite; }
  .scene .boat { transform-box: fill-box; transform-origin: 50% 100%; animation: boat 3.4s ease-in-out infinite alternate; }
  .scene .van { animation: van-in 2.6s cubic-bezier(.16, .8, .24, 1) .4s both; }
  .scene .spin { transform-box: fill-box; transform-origin: center; animation: spin 2.6s cubic-bezier(.16, .8, .24, 1) .4s both; }
  .scene .fg-sway { animation: fgsway 7s ease-in-out infinite alternate; }
  .scene .fg-sway.r { animation-delay: -3.5s; }
  .drift span { animation: drift-x var(--t) linear var(--dl) infinite; }
  .drift i { animation: drift-y 3.2s ease-in-out infinite alternate; }
  .scroll-cue svg { animation: cue 1.6s ease-in-out infinite alternate; }
  @keyframes sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.6deg); } }
  @keyframes cloud { to { transform: translateX(70px); } }
  @keyframes flock { to { transform: translate(-160px, 24px); } }
  @keyframes flap { to { transform: scaleY(.3); } }
  @keyframes shimmer { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
  @keyframes boat { from { transform: rotate(-3deg); } to { transform: rotate(3deg) translateY(2px); } }
  @keyframes van-in { from { transform: translateX(760px); } }
  @keyframes spin { to { transform: rotate(-1080deg); } }
  @keyframes fgsway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.4deg); } }
  @keyframes drift-x { to { transform: translateX(calc(100vw + 80px)); } }
  @keyframes drift-y { from { transform: translateY(-16px) rotate(-30deg); } to { transform: translateY(20px) rotate(40deg); } }
  @keyframes cue { to { transform: translateX(5px); } }
}
@media (prefers-reduced-motion: reduce) { .drift { display: none; } }

@media (max-width: 760px) {
  .scene { height: auto; min-height: max(680px, 100svh); padding-bottom: 42svh; }
  .scene .art { top: auto; left: auto; bottom: 0; height: 58svh; width: calc(58svh * 1.6); right: calc(58svh * 1.6 * -.04); }
  .scene .shade { top: -110svh; background: linear-gradient(180deg, rgba(6, 22, 92, .45) 0%, rgba(6, 22, 92, .3) 72%, rgba(6, 22, 92, 0) 84%); }
  .scene .cloud.c1, .scene .cloud.c4 { display: none; }
  .scene-copy { padding-top: 104px; }
  .scene .eyebrow { font-size: 12px; letter-spacing: .1em; margin-bottom: 14px; }
  .scene h1 { font-size: clamp(31px, 8.4vw, 44px); }
  .scene-lead { font-size: 17px; margin: 12px 0 22px; }
  .scene .btns .btn { flex: 1 1 100%; }
  .scene-trust { font-size: 13.5px; gap: 6px 16px; margin-top: 18px; }
  .drift span:nth-child(n+4) { display: none; }
  .scroll-cue { display: none; }
}
/* phones already have the fixed Call / Request bar at the bottom */
@media (max-width: 700px) { .scene .btns { display: none; } }

/* ---------- Underground section ---------- */
.under { position: relative; background: var(--deep); color: #fff; padding: clamp(80px, 10vw, 140px) 0 clamp(90px, 10vw, 150px); overflow: hidden; isolation: isolate; margin-top: -1px; }
.under-pipes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.blob { position: absolute; z-index: -2; border-radius: 50%; filter: blur(70px); background: #0A2EA8; opacity: .5; }
.blob.b1 { width: 560px; height: 440px; left: -160px; top: 24%; }
.blob.b2 { width: 400px; height: 400px; right: 6%; top: 14%; background: #1D43CC; opacity: .32; }
.blob.b3 { width: 340px; height: 300px; left: 42%; bottom: -100px; opacity: .4; }
.under h2 { color: #fff; font-size: clamp(32px, 3.6vw, 52px); max-width: 17ch; }
.under-lead { color: #BAC7F0; font-size: 18px; max-width: 58ch; margin: 0; }
.under-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.arrows { display: flex; flex: none; border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--radius); }
.arrow { width: 56px; height: 50px; display: grid; place-items: center; background: transparent; border: 0; color: #fff; cursor: pointer; transition: background-color .15s; }
.arrow + .arrow { border-left: 1px solid rgba(255, 255, 255, .24); }
.arrow:hover:not(:disabled) { background: rgba(255, 255, 255, .1); }
.arrow:disabled { opacity: .35; cursor: default; }
.arrow svg { width: 20px; height: 20px; }
.under :focus-visible { outline-color: #8FB0FF; }

.under-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); }
.svc-track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 4px 2px 8px; }
.svc-track::-webkit-scrollbar { display: none; }
.svc-card { position: relative; z-index: 0; scroll-snap-align: start; display: flex; flex-direction: column; min-height: 350px; padding: 28px 24px 26px; border-radius: var(--radius); cursor: default; }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(165deg, #1E48D3, #0A2EA8 70%); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .14); opacity: 0; transform: scale(.94); transition: opacity .35s, transform .45s cubic-bezier(.2, .7, .2, 1); }
.svc-card.on::before { opacity: 1; transform: none; }
.svc-icon { width: 68px; height: 68px; flex: none; display: grid; place-items: center; margin-bottom: 30px; border-radius: 50%; background: #12245F; color: #fff; box-shadow: 0 0 0 10px rgba(61, 107, 240, .07), 0 0 60px 6px rgba(61, 107, 240, .3); transition: background-color .3s; }
.svc-icon svg { width: 30px; height: 30px; }
.svc-card.on .svc-icon { background: #0A1A55; }
.svc-card h3 { color: #fff; font-size: 21px; margin: 0 0 12px; }
.svc-card p { color: #D5DEFA; font-size: 15.5px; line-height: 1.55; margin: 0 0 18px; }
.svc-card p, .svc-more { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
.svc-card.on p, .svc-card.on .svc-more { opacity: 1; transform: none; transition-delay: .08s; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.svc-more svg { width: 16px; height: 16px; }
.svc-more:hover { text-decoration: underline; text-underline-offset: 4px; }

.keypoints { display: flex; flex-direction: column; padding-left: clamp(24px, 3vw, 40px); border-left: 1px solid rgba(255, 255, 255, .14); }
.keypoints h3 { color: #fff; font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 18px; }
.kp-stack { display: grid; }
.kp { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .35s, visibility 0s .35s; }
.kp.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s .08s, transform .45s .08s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.kp-title { color: #8FB0FF; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.kp ul { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.kp li { display: flex; gap: 10px; color: #D5DEFA; font-size: 16px; line-height: 1.4; }
.kp li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #6F97FF; }

@media (prefers-reduced-motion: no-preference) {
  .flow { animation: flow 6s linear infinite; }
  .flow.f1 { animation-duration: 8s; animation-delay: -3s; }
  .flow.f2 { animation-duration: 5s; animation-delay: -1s; }
  @keyframes flow { to { stroke-dashoffset: -400; } }
  .svc-track { scroll-behavior: smooth; }
  .under.reveal .rv, .under.reveal .svc-card { opacity: 0; transform: translateY(28px); }
  .under.reveal .keypoints { transform: translateX(40px); }
  .under.reveal.in .rv, .under.reveal.in .svc-card { opacity: 1; transform: none; transition: opacity .7s, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .under.reveal.in .keypoints { transition-delay: .45s; }
}

@media (max-width: 860px) {
  .under-head { flex-direction: column; align-items: flex-start; }
  .under-grid { grid-template-columns: 1fr; }
  .svc-track { grid-auto-columns: 82%; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding: 0 var(--gutter); }
  .svc-card { min-height: 0; }
  .svc-card p, .svc-more { opacity: 1; transform: none; }
  .svc-card:not(.on) { background: rgba(255, 255, 255, .04); }
  .keypoints { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* ============================================================
   House-call animations (story-test.html)
   Characters live in characters.py, timelines in anim.py.
   ============================================================ */
.t-happy { opacity: 0; }
.cured .t-sick { opacity: 0; }
.cured .t-happy { opacity: 1; }
.spk, .hrt, .st-spk, .logo-spark, .logo-heart { opacity: 0; }
.spk, .st-spk, .logo-spark { transform-box: fill-box; transform-origin: center; }
.leg { transform-box: fill-box; transform-origin: 50% 8%; }
.arm-f { transform-box: fill-box; transform-origin: 10% 50%; }
.t-wobble { transform-box: fill-box; transform-origin: 50% 100%; }
.blink { transform-box: fill-box; transform-origin: center; }

/* Live logo in the header */
.brand .live-logo { display: block; height: 50px; width: 167px; overflow: visible; }
@media (max-width: 600px) { .brand .live-logo { height: 40px; width: 133px; } }

@media (prefers-reduced-motion: no-preference) {
  .walking .leg-b { animation: step .44s ease-in-out infinite alternate; }
  .walking .leg-f { animation: step .44s ease-in-out infinite alternate-reverse; }
  .walking .doc-bob { animation: bob .22s ease-in-out infinite alternate; }
  .wobbly .t-wobble { animation: twob 1.5s ease-in-out infinite alternate; }
  @keyframes step { from { transform: rotate(-17deg); } to { transform: rotate(17deg); } }
  @keyframes bob { to { transform: translateY(-2.5px); } }
  @keyframes twob { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

  .live-logo .t-wobble { animation: lg-toilet 9s ease-in-out infinite; }
  .live-logo .t-sick { animation: lg-sick 9s infinite; }
  .live-logo .t-happy { animation: lg-happy 9s infinite; }
  .live-logo .logo-doc .arm-f { animation: lg-tap 9s ease-in-out infinite; }
  .live-logo .logo-doc .blink { animation: lg-blink 9s infinite; }
  .live-logo .logo-spark { animation: lg-spark 9s ease-out infinite; }
  .live-logo .logo-heart { transform-box: fill-box; transform-origin: center; animation: lg-heart 9s ease-out infinite; }
  @keyframes lg-toilet {
    0%, 40% { transform: rotate(0); } 6%, 18%, 30% { transform: rotate(-3deg); } 12%, 24%, 36% { transform: rotate(3deg); }
    52% { transform: translateY(0) rotate(0); } 55% { transform: translateY(-9px) rotate(-3deg); } 58% { transform: translateY(0) rotate(0); }
    61% { transform: translateY(-5px) rotate(3deg); } 64% { transform: translateY(0) rotate(0); }
    72% { transform: rotate(2deg); } 80% { transform: rotate(-2deg); } 88%, 100% { transform: rotate(0); }
  }
  @keyframes lg-sick { 0%, 51% { opacity: 1; } 53%, 90% { opacity: 0; } 94%, 100% { opacity: 1; } }
  @keyframes lg-happy { 0%, 51% { opacity: 0; } 53%, 90% { opacity: 1; } 94%, 100% { opacity: 0; } }
  @keyframes lg-tap { 0%, 38% { transform: rotate(0); } 41% { transform: rotate(-20deg); } 44% { transform: rotate(0); } 47% { transform: rotate(-20deg); } 50%, 100% { transform: rotate(0); } }
  @keyframes lg-blink { 0%, 69%, 71.5%, 100% { transform: scaleY(1); } 70.3% { transform: scaleY(.1); } }
  @keyframes lg-spark { 0%, 50% { opacity: 0; transform: scale(.2); } 54% { opacity: 1; transform: scale(1.15); } 62%, 100% { opacity: 0; transform: scale(1.4); } }
  @keyframes lg-heart { 0%, 54% { opacity: 0; transform: translateY(10px) scale(.3); } 58% { opacity: 1; transform: translateY(0) scale(1.15); } 61% { transform: scale(1); } 82% { opacity: 1; transform: translateY(-8px); } 88%, 100% { opacity: 0; transform: translateY(-12px); } }
}

/* Pause / play */
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--radius); border: 1px solid currentColor; background: transparent; color: inherit; font: 600 14px/1 var(--sans); cursor: pointer; }
.motion-toggle svg { width: 16px; height: 16px; }
.motion-toggle .i-play, .motion-toggle.is-paused .i-pause { display: none; }
.motion-toggle.is-paused .i-play { display: block; }
.scene > .motion-toggle { position: absolute; z-index: 5; right: var(--gutter); bottom: 18px; color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(10, 22, 64, .35); opacity: calc(1 - var(--p, 0) * 5); }
body.motion-paused .scene *, body.motion-paused .story *, body.motion-paused .live-logo * { animation-play-state: paused !important; }
.story:not(.playing) .stage *, .story:not(.playing) .steps li { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none !important; } }

/* Story section */
.story { background: var(--steel); padding: var(--space) 0; }
.story .eyebrow { color: var(--grey); }
.story h2 { max-width: 20ch; }
.story-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.story-head .motion-toggle { color: var(--charcoal); flex: none; }
.stage { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1100 / 420; background: #7DBBEE; box-shadow: 0 30px 60px -40px rgba(10, 22, 64, .55); }
.stage-art { display: block; width: 100%; height: 100%; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 18px 0 0; border-top: 3px solid var(--blue); counter-increment: step; }
.steps li strong { display: block; font-size: 19px; font-stretch: 112%; margin-bottom: 6px; }
.steps li strong::before { content: counter(step) ". "; color: var(--red); }
.steps li span { color: var(--grey); font-size: 16px; line-height: 1.5; }
@media (max-width: 760px) {
  .story-head { flex-direction: column; align-items: flex-start; }
  .stage { aspect-ratio: 2 / 1; }
  .steps { grid-template-columns: 1fr; }
}

/* ============================================================
   Homepage video hero (index.html)
   One master clip for every screen. Wide screens: the video fills the
   screen behind the headline. Tall screens (phones, portrait tablets):
   the video is a 4:3 banner and the headline sits underneath.
   ============================================================ */
.vhero { position: relative; background: var(--steel); }
.vhero-media { position: relative; overflow: hidden; background: #DCE6EF; }
.vhero-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vhero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 14px; font-size: 14px; font-weight: 700; font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; }
.vhero-eyebrow::before, .vhero-eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--red); }
.vhero-copy { text-align: center; }
.vhero-copy .btns { justify-content: center; }
.vhero-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 46ch; margin: 16px auto 28px; }
.vhero-toggle { position: absolute; z-index: 3; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--radius); background: rgba(10, 22, 64, .45); color: #fff; font: 600 14px/1 var(--sans); cursor: pointer; }
.vhero-toggle svg { width: 16px; height: 16px; }
.vhero-toggle .i-play, .vhero-toggle.is-paused .i-pause { display: none; }
.vhero-toggle.is-paused .i-play { display: block; }

@media (min-aspect-ratio: 4/5) {
  .video-page .header { position: fixed; left: 0; right: 0; top: 0; }
  .vhero { height: max(560px, 100svh); max-height: 1080px; display: grid; place-items: center; overflow: hidden; }
  .vhero-media { position: absolute; inset: 0; }
  .vhero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5, 15, 60, .58), rgba(5, 15, 60, .28) 72%); pointer-events: none; }
  .vhero-copy { position: relative; z-index: 2; padding: 96px var(--gutter) 40px; max-width: 820px; color: #fff; }
  .vhero h1 { color: #fff; font-size: clamp(38px, 4.6vw, 66px); text-shadow: 0 2px 26px rgba(0, 0, 0, .35); }
  .vhero-eyebrow { color: #E6ECFF; }
  .vhero-lead { color: #F1F4FF; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
}
@media (max-aspect-ratio: 4/5) {
  .vhero { margin-top: 12px; }
  .vhero-media { aspect-ratio: 4 / 3; }
  .vhero-copy { padding: 30px var(--gutter) 40px; }
  .vhero h1 { font-size: clamp(30px, 8.4vw, 44px); }
  .vhero-eyebrow { color: var(--grey); font-size: 11px; letter-spacing: .08em; gap: 8px; }
  .vhero-eyebrow::before, .vhero-eyebrow::after { width: 16px; }
  .vhero-lead { color: var(--grey); font-size: 17px; }
  .vhero .btn-white { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
  .vhero .btns .btn { flex: 1 1 100%; }
}
@media (max-aspect-ratio: 4/5) and (max-width: 700px) {
  .vhero .btns { display: none; }   /* phones already have the fixed Call / Request bar */
}

/* ---------- Services page: service cards ----------
   Dr. Rooter Plumbing touches: the van livery (blue band + red pinstripe) under each picture and the
   service icon in a round "doctor's badge" that overlaps it. The 4 animated services get the big cards. */
.scards { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.scards-big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scards-small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scards-label { margin: clamp(44px, 5vw, 64px) 0 18px; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 14px; }
.scards-label::after { content: ""; flex: 1; height: 1px; background: var(--steel-2); }
.scard { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--panel); border: 1px solid var(--steel-2); border-radius: 18px; overflow: hidden; scroll-margin-top: 110px;
  box-shadow: 0 18px 40px -30px rgba(15, 25, 60, .45); transition: transform .45s cubic-bezier(.34, 1.4, .5, 1), box-shadow .35s ease; }
.scard:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -32px rgba(10, 46, 168, .5); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel); }
.scard.big .card-media { aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s cubic-bezier(.2, .8, .2, 1); }
.scard:hover .card-media img { scale: 1.05; }
.card-media .svc-video { aspect-ratio: auto; height: 100%; border-radius: 0; }
.card-stripe { height: 9px; background: linear-gradient(var(--blue) 0 5px, #fff 5px 6px, var(--red) 6px 9px); }
.card-badge { position: relative; z-index: 2; display: grid; place-items: center; width: 60px; height: 60px; margin: -36px 0 0 24px; border-radius: 50%; background: var(--panel); color: var(--blue); border: 2px solid var(--blue);
  box-shadow: 0 0 0 5px var(--panel), 0 12px 22px -12px rgba(10, 46, 168, .6); transition: background-color .25s ease, color .25s ease; }
.card-badge svg { width: 28px; height: 28px; }
.scard.big .card-badge { width: 72px; height: 72px; margin-top: -42px; }
.scard.big .card-badge svg { width: 34px; height: 34px; }
.scard:hover .card-badge { background: var(--blue); color: #fff; animation: nav-pop .55s cubic-bezier(.34, 1.4, .5, 1); }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 14px 24px 26px; }
.scard.big .card-body { padding: 16px clamp(24px, 2.6vw, 34px) 32px; }
.scard h2 { margin: 0; font-size: clamp(20px, 1.6vw, 23px); line-height: 1.15; }
.scard.big h2 { font-size: clamp(26px, 2.4vw, 34px); }
.scard p { margin: 0; color: var(--grey); font-size: 16px; line-height: 1.6; }
.scard.big p { font-size: 17.5px; max-width: 54ch; }
.card-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 800; color: var(--red); text-decoration: none; }
.card-link svg { width: 18px; height: 18px; transition: translate .25s ease; }
.card-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.card-link:hover svg, .scard:hover .card-link svg { translate: 4px 0; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* the whole card is clickable */
.card-media .svc-toggle { z-index: 3; }
.scard.urgent .card-badge { color: var(--red); border-color: var(--red); }
.scard.urgent:hover .card-badge { background: var(--red); color: #fff; }
.scard.urgent h2 { color: var(--red); }
@media (max-width: 1100px) { .scards-small { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .scards-big, .scards-small { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .scard, .card-media img { transition: none; } .scard:hover { transform: none; } .scard:hover .card-badge { animation: none; } }
.svc-video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--steel, #eef1f6); }
.svc-toggle { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: rgba(10, 22, 64, .55); color: #fff; cursor: pointer; }
.svc-toggle svg { width: 14px; height: 14px; }
.svc-toggle .i-play, .svc-toggle.is-paused .i-pause { display: none; }
.svc-toggle.is-paused .i-play { display: block; }
.svc-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Keyboard focus rings stay visible on dark and blue backgrounds */
.footer :focus-visible, .livery :focus-visible, .vhero-toggle:focus-visible { outline-color: #fff; }
@media (min-aspect-ratio: 4/5) { .vhero-copy :focus-visible { outline-color: #fff; } }

/* Form: hidden spam trap (bots fill it, people never see it) and the privacy note */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { margin: 0; font-size: 14px; color: var(--grey); }
.form-privacy a { color: inherit; }

/* Privacy policy and other plain text pages */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 4vw, 52px); margin: 8px 0 6px; }
.prose h2 { font-size: clamp(22px, 2vw, 26px); margin: 36px 0 10px; }
.prose p { line-height: 1.7; }
.prose .updated { color: var(--grey); font-size: 15px; margin-bottom: 28px; }
.prose a { color: var(--blue); }

/* Page not found */
.notfound .wrap { max-width: 680px; text-align: center; }
.notfound img { width: min(360px, 80%); height: auto; margin: 0 auto 20px; filter: drop-shadow(0 14px 16px rgba(15, 25, 60, .16)); }
.notfound h1 { font-size: clamp(34px, 4.4vw, 56px); margin: 0 0 12px; }
.notfound .btns { justify-content: center; margin-top: 24px; }
.notfound-call { margin-top: 22px; color: var(--grey); }
