/* ReLife Roofing site styles. One file for the whole site. Guide: /DESIGN.md (in the build folder).
   Rules: every colour, size and font goes through a token below. Gold is the only action colour and always
   carries dark text. Red appears only as the second stroke of the roofline motif. One corner radius. */

@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(/assets/v2/fonts/outfit-var-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/v2/fonts/inter-var-latin.woff2) format("woff2"); }

:root {
  /* colour */
  --navy-950: #060f22;          /* film and photo overlays, footer */
  --navy-900: #0a1730;          /* trust band, mega menu, cards on dark */
  --navy: #0f1f3d;              /* base dark surface, text on gold */
  --navy-700: #1b2f55;          /* raised cards on dark */
  --navy-line: rgba(255,255,255,.14);
  --gold: #ffb31a;              /* primary buttons, numerals, ticks. Never text on a light surface */
  --gold-hover: #ffc449;
  --red: #d8262b;               /* roofline second stroke only */
  --blue-700: #0656c4;          /* links and small labels on light surfaces */
  --blue-300: #7db6ff;          /* links and small labels on dark surfaces */
  --sand: #f4f0e8;              /* warm light section */
  --sand-2: #e9e1d2;            /* sand borders, image placeholders */
  --sea: #dfe9f4;               /* map water and the map frame */
  --white: #ffffff;
  --text: #13213b;              /* body text on light */
  --muted: #4a5670;             /* secondary text on light */
  --line: rgba(15,31,61,.14);   /* hairlines on light */
  --field-line: #8a93a6;        /* input borders (3:1 on white) */
  --on-dark: #f5f7fb;
  --on-dark-soft: #d7deea;
  --on-dark-muted: #aeb9cd;
  --error: #b42318;
  --error-on-dark: #ffb4a9;
  --ok-bg: #fff4dc;

  /* type */
  --f-display: "Outfit", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: clamp(2.35rem, 1.35rem + 3.6vw, 4.25rem);
  --fs-h2: clamp(1.8rem, 1.3rem + 1.7vw, 2.75rem);
  --fs-h3: 1.22rem;
  --fs-lede: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --fs-small: .88rem;
  --fs-eyebrow: .76rem;

  /* space and shape */
  --wrap: 1200px; --gut: 24px;
  --sec: 104px; --sec-sm: 64px;
  --header-h: 84px;
  --r: 6px;                     /* the one corner radius, used everywhere */
  --btn-h: 52px;
  --shadow: 0 1px 2px rgba(10,23,48,.08), 0 22px 48px rgba(10,23,48,.18);
  --z-mbar: 40; --z-menu: 45; --z-header: 50; --z-mega: 60; --z-lightbox: 100;

  /* the roofline motif: one shallow peak in two strokes, gold over red (from the logo chevron) */
  --peak: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='20' viewBox='0 0 56 20'%3E%3Cpath d='M0 10.5 28 1.9 56 10.5' fill='none' stroke='%23ffb31a' stroke-width='3'/%3E%3Cpath d='M0 16.5 28 7.9 56 16.5' fill='none' stroke='%23d8262b' stroke-width='3'/%3E%3C/svg%3E");
}
@media (max-width: 900px) { :root { --sec: 72px; --sec-sm: 48px; --header-h: 72px; } }
@media (max-width: 480px) { :root { --gut: 16px; --sec: 60px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.6 var(--f-body); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.015em; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.025em; line-height: 1.0; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); line-height: 1.22; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; }
figure { margin: 0; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--blue-700); outline-offset: 2px; }
.sec--dark :focus-visible, .hero :focus-visible, .phero :focus-visible, .hdr :focus-visible, .ftr :focus-visible, .mobile-nav :focus-visible { outline-color: var(--gold); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 700; border-radius: var(--r); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.lede { font-size: var(--fs-lede); color: var(--muted); line-height: 1.55; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.sprite { display: none; }

/* ---------- the roofline motif ---------- */
/* .roofline: a full-width divider. Set --peak-at (a percentage) to move the peak; the default is the middle. */
.roofline { position: relative; height: 20px; --peak-at: 50%; }
.roofline::before, .card-roof::before, .sec--rooftop::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 20px; pointer-events: none; z-index: 1;
  background:
    var(--peak) var(--peak-at, 50%) 0 / 56px 20px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 9px / calc(var(--peak-at, 50%) - 27px) 3px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 9px / calc(100% - var(--peak-at, 50%) - 27px) 3px no-repeat,
    linear-gradient(var(--red), var(--red)) 0 15px / calc(var(--peak-at, 50%) - 27px) 3px no-repeat,
    linear-gradient(var(--red), var(--red)) 100% 15px / calc(100% - var(--peak-at, 50%) - 27px) 3px no-repeat; }
/* .card-roof: the same line sitting on the top edge of a card (the card gets 20px of top room) */
.card-roof { position: relative; padding-top: 20px; }
.card-roof::before { top: 0; }
/* .sec--rooftop: the line across the top of a section */
.sec--rooftop { position: relative; }
.sec--rooftop::before { top: -10px; z-index: 2; }
/* .peak: the peak alone, as a small mark (eyebrows, active nav item) */
.peak, .eyebrow::before { display: inline-block; width: 28px; height: 10px; background: var(--peak) 0 0 / 28px 10px no-repeat; flex: none; }

/* ---------- labels and links ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; font: 700 var(--fs-eyebrow)/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-700); margin: 0 0 16px; }
.eyebrow::before { content: ""; }
.sec--dark .eyebrow, .hero .eyebrow, .phero .eyebrow, .on-dark .eyebrow { color: var(--blue-300); }
.tlink { font-weight: 700; color: var(--blue-700); text-decoration: none; border-bottom: 2px solid rgba(6,86,196,.25); display: inline-flex; align-items: center; gap: 6px; }
.tlink:hover { border-bottom-color: var(--blue-700); }
.tlink .icon { width: 16px; height: 16px; }
.sec--dark .tlink, .on-dark .tlink { color: var(--blue-300); border-bottom-color: rgba(125,182,255,.35); }
.sec--dark .tlink:hover, .on-dark .tlink:hover { border-bottom-color: var(--blue-300); }
.sec--dark a:not(.btn):not(.tlink), .on-dark a:not(.btn):not(.tlink) { color: var(--blue-300); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: var(--btn-h); padding: 0 22px; border: 0; border-radius: var(--r); cursor: pointer;
  font: 700 1rem/1.15 var(--f-body); text-decoration: none; text-align: center; transition: background-color .18s, box-shadow .18s, transform .18s, color .18s; }
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 8px 20px rgba(255,179,26,.22); }
.btn--gold:hover { background: var(--gold-hover); color: var(--navy); }
.btn--gold:focus-visible { outline: 3px solid var(--navy); outline-offset: -6px; }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: var(--on-dark); }
.btn--line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--line:hover { background: rgba(15,31,61,.06); color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ---------- ticks (trust facts with a gold check) ---------- */
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; font-size: .95rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .icon { width: 20px; height: 20px; color: var(--gold); stroke-width: 2.4; }
.ticks--stack { flex-direction: column; gap: 10px; }
.light .ticks .icon, .ticks--light .icon { color: var(--navy); background: var(--gold); border-radius: var(--r); padding: 3px; width: 22px; height: 22px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: var(--z-header); background: var(--navy); color: var(--on-dark); transition: background-color .25s, box-shadow .25s; }
.hdr__in { position: relative; display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.hdr--over { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(6,15,34,.82), rgba(6,15,34,0)); }
.hdr--over.is-scrolled, .menu-open .hdr { background: var(--navy); box-shadow: 0 10px 30px rgba(6,15,34,.35); }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav__btn { position: relative; display: inline-flex; align-items: center; gap: 4px; color: var(--on-dark); text-decoration: none; font: 600 .97rem/1 var(--f-body); padding: 12px 12px; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav__btn .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav > a::after, .nav__btn::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 28px; height: 10px; margin-left: -14px; background: var(--peak) 0 0 / 28px 10px no-repeat; opacity: 0; transform: translateY(3px); transition: opacity .2s, transform .2s; }
.nav > a:hover::after, .nav > a[aria-current]::after, .nav__btn:hover::after, .nav__btn.is-current::after { opacity: 1; transform: none; }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 700; text-decoration: none; white-space: nowrap; padding: 10px 4px; }
.hdr-phone .icon { color: var(--gold); width: 19px; height: 19px; }
.menu-btn { display: none; background: none; border: 0; color: var(--on-dark); width: 48px; height: 48px; padding: 11px; cursor: pointer; margin-right: -10px; }
.menu-btn .icon { width: 26px; height: 26px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-nav { display: none; }
@media (max-width: 1240px) { .hdr-phone span { display: none; } .hdr-phone { padding: 12px; } .hdr-phone .icon { width: 22px; height: 22px; } }
@media (max-width: 1060px) {
  .nav, .hdr-cta { display: none; }
  .hdr-phone { margin-left: auto; }
  .menu-btn { display: block; }
  .brand img { height: 54px; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-menu); display: block; background: var(--navy); color: var(--on-dark); padding: 20px var(--gut) 120px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .mobile-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .mobile-nav__ctas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; margin-bottom: 8px; }
  @media (max-width: 480px) { .mobile-nav__ctas { grid-template-columns: minmax(0, 1fr); } }
  .mobile-nav__groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; }
  .mobile-nav__h { display: flex; align-items: center; gap: 10px; font: 700 .76rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin: 24px 0 4px; }
  .mobile-nav__h::before { content: ""; width: 28px; height: 10px; background: var(--peak) 0 0 / 28px 10px no-repeat; }
  .mobile-nav a:not(.btn) { display: block; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 1.05rem; padding: 12px 0; border-bottom: 1px solid var(--navy-line); }
  html.menu-open, .menu-open body { overflow: hidden; }
}

/* mega menu (desktop Services) */
.nav__mega { position: static; }
.mega { position: absolute; top: calc(100% - 6px); left: 50%; width: min(1060px, calc(100vw - 48px)); transform: translate(-50%, -6px); z-index: var(--z-mega);
  background: var(--navy-900); color: var(--on-dark); border: 1px solid var(--navy-line); border-radius: var(--r); box-shadow: 0 30px 60px rgba(6,15,34,.5);
  padding: 30px 30px 0; visibility: hidden; opacity: 0; transition: opacity .16s, transform .16s, visibility 0s .16s; }
.mega.card-roof { padding-top: 38px; }
.mega.is-open, .no-js .nav__mega:hover .mega, .no-js .nav__mega:focus-within .mega { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition: opacity .16s, transform .16s; }
.mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.mega__h { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 700 1.02rem/1.2 var(--f-display); color: var(--on-dark); text-decoration: none; }
.mega__h:hover { color: var(--gold); }
.mega__ico { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: var(--r); background: rgba(255,179,26,.14); color: var(--gold); flex: none; }
.mega__ico .icon { width: 19px; height: 19px; }
.mega ul { list-style: none; padding: 0; margin: 0; }
.mega li a { display: block; padding: 8px 0; color: var(--on-dark-soft); text-decoration: none; font-size: .93rem; border-bottom: 1px solid var(--navy-line); }
.mega li a:hover, .mega li a[aria-current] { color: var(--white); }
.mega li a[aria-current] { color: var(--gold); }
.mega__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 24px; padding: 16px 0 18px; border-top: 1px solid var(--navy-line); font-size: .92rem; }
.mega__foot a:not(.btn) { color: var(--blue-300); font-weight: 600; text-decoration: none; }
.mega__foot a:not(.btn):hover { text-decoration: underline; }
.mega__foot .btn { margin-left: auto; }

/* ---------- home hero: the film ---------- */
.hero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--navy-950); min-height: min(100svh, 940px); display: flex; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s; }
.hero__video.is-playing { opacity: 1; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6,15,34,.94) 0%, rgba(6,15,34,.84) 40%, rgba(6,15,34,.45) 75%, rgba(6,15,34,.35) 100%),
  linear-gradient(0deg, rgba(6,15,34,.9) 0%, rgba(6,15,34,0) 35%); }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 432px); gap: 56px; align-items: center; padding-top: calc(var(--header-h) + 20px); padding-bottom: 36px; }
.hero__copy { max-width: 660px; }
.hero h1 { margin-bottom: .32em; }
.hero .lede, .phero .lede { color: var(--on-dark-soft); max-width: 600px; }
.hero .ticks { color: var(--on-dark); }
.hero__film-note { position: absolute; right: var(--gut); bottom: 14px; font-size: .78rem; color: var(--on-dark-muted); margin: 0; }
@media (max-width: 1060px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: calc(var(--header-h) + 28px); }
  .hero__copy { max-width: 680px; }
  .hero__media::after { background: linear-gradient(0deg, rgba(6,15,34,.97) 30%, rgba(6,15,34,.82) 60%, rgba(6,15,34,.5) 100%); }
}
@media (max-width: 1060px) {
  .hero { min-height: 0; }
  .hero__media { bottom: auto; height: min(100svh, 820px); }
  .hero__media::after { background: linear-gradient(0deg, rgba(6,15,34,1) 0%, rgba(6,15,34,.86) 35%, rgba(6,15,34,.55) 75%, rgba(6,15,34,.45) 100%); }
  .hero__media img, .hero__media video { object-position: center 35%; }
  .hero__copy { min-height: calc(min(100svh, 820px) - var(--header-h) - 60px); display: flex; flex-direction: column; justify-content: flex-end; }
}
@media (max-width: 560px) {
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero .ticks { gap: 8px 16px; font-size: .9rem; }
  .hero__film-note { display: none; }
}

/* ---------- inner page hero (photo, crumbs, form) ---------- */
.phero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--navy-950); }
.phero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,15,34,.94) 0%, rgba(6,15,34,.82) 45%, rgba(6,15,34,.5) 100%), linear-gradient(0deg, rgba(6,15,34,.75), rgba(6,15,34,0) 45%); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 64px; min-height: 600px; }
.phero__copy { max-width: 640px; }
.phero h1 { font-size: clamp(2.2rem, 1.35rem + 3vw, 3.7rem); margin-bottom: .35em; }
.phero .ticks { color: var(--on-dark); }
@media (max-width: 1000px) {
  .phero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; min-height: 0; padding-top: 32px; padding-bottom: 40px; }
  .phero__media { bottom: auto; height: 640px; }
  .phero__media::after { background: linear-gradient(0deg, rgba(6,15,34,1) 8%, rgba(6,15,34,.84) 45%, rgba(6,15,34,.55) 100%); }
}
@media (max-width: 560px) { .phero .btn-row .btn { flex: 1 1 100%; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .88rem; margin: 0 0 20px; padding: 0; list-style: none; color: var(--on-dark-muted); }
.crumbs a { color: var(--blue-300); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--on-dark-muted); }
.crumbs [aria-current] { color: var(--on-dark-soft); }

/* ---------- the lead form card ---------- */
.qcard { position: relative; background: var(--white); color: var(--text); border-radius: var(--r); box-shadow: var(--shadow); padding: 30px 24px 18px; }
.qcard.card-roof { padding-top: 34px; }
.qcard__kicker { font: 700 var(--fs-eyebrow)/1.2 var(--f-body); letter-spacing: .14em; color: var(--blue-700); margin: 0 0 6px; }
.qcard__title { font-size: 1.5rem; margin: 0 0 .25em; }
.qcard__sub { color: var(--muted); font-size: .93rem; margin: 0 0 10px; line-height: 1.45; }
.qcard__note { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.42; color: var(--text); background: var(--sand); border-radius: var(--r); padding: 9px 12px; margin: 0 0 14px; }
.qcard__note .icon { color: var(--blue-700); width: 18px; height: 18px; margin-top: 1px; }
.lead-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; }
.lead-form .f { min-width: 0; }
.lead-form .f--full, .lead-form .consent, .lead-form button[type="submit"], .lead-form small, .lead-form .form-fallback { grid-column: 1 / -1; }
.lead-form label { display: block; font: 600 .84rem/1.3 var(--f-body); margin: 0 0 5px; color: var(--text); }
.lead-form label .req { color: var(--error); }
.lead-form label .opt { font-weight: 400; color: var(--muted); }
.lead-form input:not([type="checkbox"]), .lead-form select { width: 100%; min-width: 0; height: 46px; padding: 0 12px; font: 400 1rem/1.2 var(--f-body); color: var(--text); background: var(--white);
  border: 1.5px solid var(--field-line); border-radius: var(--r); -webkit-appearance: none; appearance: none; }
.lead-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%230f1f3d' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--blue-700); outline: 3px solid rgba(6,86,196,.25); outline-offset: 0; }
.lead-form input:user-invalid { border-color: var(--error); }
.lead-form .consent { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 0; font: 400 .74rem/1.45 var(--f-body); color: var(--muted); cursor: pointer; }
.lead-form .consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); }
.lead-form .consent a { color: var(--blue-700); font-weight: 600; }
.lead-form button[type="submit"] { margin-top: 2px; min-height: 52px; font-size: 1.05rem; }
.lead-form small { display: block; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.lead-form .form-fallback { margin: 0; color: var(--error); font-weight: 600; font-size: .92rem; }
.fg-hp { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 640px) {
  .lead-form--compact .f--opt { display: none; }  /* hero form on phones: need, city, phone. Same fields still post (empty), as on the current site */
  .lead-form--compact .f { grid-column: 1 / -1; }
  .qcard { padding: 30px 18px 18px; }
  .qcard.card-roof { padding-top: 34px; }
}
@media (max-width: 380px) { .lead-form { grid-template-columns: minmax(0, 1fr); } }
/* thank-you state (markup from site.js) */
.thanks { background: var(--ok-bg); border-radius: var(--r); padding: 20px; }
.thanks__check { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--r); background: var(--gold); color: var(--navy); font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; }
.thanks h3 { font-size: 1.35rem; margin-bottom: .4em; }
.thanks p { font-size: .95rem; margin-bottom: .7em; }
.thanks__meta { color: var(--muted); font-size: .85rem !important; margin: 0 !important; }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.sec--tight { padding: var(--sec-sm) 0; }
.sec--sand { background: var(--sand); }
.sec--white { background: var(--white); }
.sec--dark { background: var(--navy); color: var(--on-dark); position: relative; isolation: isolate; }
.sec--dark .lede { color: var(--on-dark-soft); }
.sec--photo { background: var(--navy-950); }
.sec__bg { position: absolute; left: 0; right: 0; top: 0; height: min(860px, 100%); z-index: -1; overflow: hidden; }
.sec__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.sec__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,15,34,.5) 0%, rgba(6,15,34,.82) 55%, var(--navy-950) 100%); }
.shead { max-width: 760px; margin-bottom: 44px; }
.shead .lede { margin-bottom: 0; }
.shead--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; }
.shead--split h2 { margin-bottom: 0; }
@media (max-width: 860px) { .shead--split { grid-template-columns: minmax(0, 1fr); } .shead { margin-bottom: 32px; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* ---------- trust band (under the hero) ---------- */
.trust { background: var(--navy-900); color: var(--on-dark); position: relative; }
.trust__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); }
.trust__item { padding: 28px 26px; border-left: 1px solid var(--navy-line); }
.trust__item:first-child { border-left: 0; padding-left: 0; display: flex; align-items: center; gap: 18px; }
.trust__item:first-child img { width: 84px; height: auto; flex: none; }
.trust__item:first-child span { font: 600 1.05rem/1.35 var(--f-display); color: var(--on-dark); }
.trust__item strong { display: flex; align-items: center; gap: 10px; font: 800 1.5rem/1.1 var(--f-display); color: var(--white); margin-bottom: 6px; }
.trust__item strong .icon { color: var(--gold); width: 24px; height: 24px; }
.trust__item > span { color: var(--on-dark-muted); font-size: .93rem; line-height: 1.45; display: block; }
@media (max-width: 960px) {
  .trust__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust__item:first-child { grid-column: 1 / -1; padding: 24px 0 18px; border-bottom: 1px solid var(--navy-line); }
  .trust__item:nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .trust__grid { grid-template-columns: minmax(0, 1fr); }
  .trust__item, .trust__item:nth-child(2) { border-left: 0; padding: 16px 0; border-top: 1px solid var(--navy-line); }
  .trust__item:first-child { border-top: 0; border-bottom: 0; }
  .trust__item:first-child img { width: 64px; }
}
/* inner-page trust strip: four short facts */
.trust--inner .trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust--inner .trust__item { padding: 22px 22px; }
.trust--inner .trust__item:first-child { display: block; padding-left: 0; }
.trust--inner .trust__item:first-child span { font: 400 .93rem/1.45 var(--f-body); color: var(--on-dark-muted); }
.trust--inner .trust__item strong { font-size: 1.12rem; }
@media (max-width: 860px) { .trust--inner .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust--inner .trust__item:nth-child(3) { border-left: 0; padding-left: 0; } .trust--inner .trust__item:first-child { grid-column: auto; border-bottom: 0; } }
@media (max-width: 460px) { .trust--inner .trust__grid { grid-template-columns: minmax(0, 1fr); } .trust--inner .trust__item { border-left: 0; padding: 14px 0; } }

/* "As seen on" strip. Switched OFF until the owner documents it (see CHANGES.md); markup waits in a comment on the homepage */
.seen { background: var(--white); border-bottom: 1px solid var(--line); }
.seen__in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 36px; min-height: 76px; padding: 14px 0; }
.seen__label { font: 700 var(--fs-eyebrow)/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.seen__list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; font: 800 1.15rem/1 var(--f-display); color: var(--navy); }

/* ---------- photo figures and the gallery ---------- */
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: var(--sand-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
[data-zoom] { cursor: zoom-in; }
a.ph:hover img, figure.ph:hover img[data-zoom] { transform: scale(1.03); }
.ph figcaption, .ph__cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 14px 12px; color: var(--white); font-size: .86rem; line-height: 1.4;
  background: linear-gradient(0deg, rgba(6,15,34,.88), rgba(6,15,34,0)); pointer-events: none; }
.fig figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.sec--dark .fig figcaption { color: var(--on-dark-muted); }
.fig img { width: 100%; border-radius: var(--r); }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 214px; gap: 12px; }
.mosaic .m-tall { grid-row: span 2; }
.mosaic .m-big { grid-column: span 2; grid-row: span 2; }
.mosaic .m-wide { grid-column: span 2; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 168px; gap: 8px; grid-auto-flow: dense; }
  .mosaic .m-big { grid-column: 1 / -1; grid-row: span 2; }
  .mosaic .m-wide { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .mosaic { grid-auto-rows: 150px; } .ph figcaption { font-size: .8rem; padding: 32px 10px 9px; } }

/* comparisons (only the three real in-frame treated and untreated photos) */
.cmp-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .62fr); gap: 16px; align-items: start; }
.cmp-grid .ph { height: 420px; }
.prose .cmp .ph, .fig-row .cmp .ph { aspect-ratio: 16 / 10; }
.cmp figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.cmp .ph img { object-position: center; }
.chip { position: absolute; bottom: 12px; z-index: 1; font: 700 .74rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: var(--r); }
.chip--treated { left: 12px; background: var(--gold); color: var(--navy); }
.chip--untreated { right: 12px; background: var(--navy); color: var(--on-dark); }
.chip--same { left: 12px; right: 12px; text-align: center; background: rgba(6,15,34,.86); color: var(--on-dark); }
@media (max-width: 900px) { .cmp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cmp-grid .cmp:first-child { grid-column: 1 / -1; } .cmp-grid .ph { height: auto; aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .cmp-grid { gap: 12px 10px; } .cmp-grid .cmp:not(:first-child) .ph { aspect-ratio: 3 / 4; } .cmp-grid figcaption { font-size: .82rem; } .cmp-grid .cmp:not(:first-child) .chip { font-size: .62rem; padding: 5px 6px; bottom: 8px; } .cmp-grid .cmp:not(:first-child) .chip--treated { left: 8px; } .cmp-grid .cmp:not(:first-child) .chip--untreated { right: 8px; } .cmp-grid .chip--same { left: 8px; right: 8px; } }
.pointers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pointers li { padding: 24px 28px 4px 0; }
.pointers li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.pointers span { display: block; font: 700 var(--fs-eyebrow)/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 8px; }
.pointers strong { display: block; font: 700 1.2rem/1.25 var(--f-display); margin-bottom: 6px; }
.pointers p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 800px) { .pointers { grid-template-columns: minmax(0, 1fr); } .pointers li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .pointers li { padding: 18px 0 8px; } }

/* ---------- clips (click to play) ---------- */
.clip { margin: 0; }
.clip__box { position: relative; border-radius: var(--r); overflow: hidden; background: var(--navy-950); aspect-ratio: 16 / 9; }
.clip video { width: 100%; height: 100%; object-fit: cover; background: var(--navy-950); }
.clip__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(0deg, rgba(6,15,34,.45), rgba(6,15,34,0) 60%); border: 0; cursor: pointer; padding: 0; color: var(--navy); }
.clip__play span { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: var(--r); background: var(--gold); box-shadow: 0 10px 30px rgba(6,15,34,.45); transition: transform .2s, background-color .2s; }
.clip__play:hover span { transform: scale(1.06); background: var(--gold-hover); }
.clip__play .icon { width: 28px; height: 28px; margin-left: 4px; }
.clip__play:focus-visible span { outline: 3px solid var(--white); outline-offset: 3px; }
.clip__len { position: absolute; right: 10px; top: 10px; font: 700 .76rem/1 var(--f-body); color: var(--on-dark); background: rgba(6,15,34,.8); padding: 6px 8px; border-radius: var(--r); pointer-events: none; }
.clip figcaption { font-size: .9rem; margin-top: 10px; line-height: 1.45; color: var(--muted); }
.sec--dark .clip figcaption { color: var(--on-dark-muted); }
.clips { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 28px 40px; align-items: center; }
.clips__row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.clips__text h2 { margin-bottom: .4em; }
@media (max-width: 960px) { .clips { grid-template-columns: minmax(0, 1fr); } .clips__text { order: -1; } }
@media (max-width: 760px) { .clips__row { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* ---------- numbered steps ---------- */
.steps { list-style: none; counter-reset: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.steps__n { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--r); background: var(--navy); color: var(--gold); font: 800 1.2rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 4px 0 2px; font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 600px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.checkgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .checkgrid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* sample note card (the "answer should be this clear" card) */
.note { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px 26px; box-shadow: 0 18px 40px rgba(10,23,48,.08); }
.note.card-roof { padding-top: 38px; }
.note__kicker { font: 700 var(--fs-eyebrow)/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); margin: 0 0 8px; }
.note h3 { font-size: 1.5rem; margin-bottom: .6em; }
.note ul { list-style: none; padding: 0; margin: 0 0 22px; }
.note li { padding: 12px 0; border-top: 1px dashed var(--line); font-size: .97rem; }
.note li b { display: block; font: 700 .8rem/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 2px; }

/* ---------- the problem cards and the facts band (dark photo section) ---------- */
.pcards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.pcard { background: rgba(10,23,48,.78); border: 1px solid var(--navy-line); border-radius: var(--r); padding: 26px 26px 18px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pcard__label { display: inline-flex; align-items: center; gap: 8px; font: 700 var(--fs-eyebrow)/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 10px; }
.pcard h3 { font-size: 1.4rem; margin-bottom: .6em; }
.pcard ul { list-style: none; padding: 0; margin: 0; }
.pcard li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--navy-line); color: var(--on-dark-soft); }
.pcard li .icon { margin-top: 3px; width: 18px; height: 18px; }
.pcard--bad li .icon { color: var(--on-dark-muted); }
.pcard--good { border-color: rgba(255,179,26,.5); }
.pcard--good li .icon { color: var(--gold); stroke-width: 2.4; }
@media (max-width: 760px) { .pcards { grid-template-columns: minmax(0, 1fr); } }
.facts-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin: 0 0 36px; }
.facts-head h2 { margin: 0; }
.facts-head .lede { margin: 0; }
@media (max-width: 860px) { .facts-head { grid-template-columns: minmax(0, 1fr); } }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.fact { padding: 26px 0 22px; border-top: 1px solid var(--navy-line); display: flex; flex-direction: column; }
.fact .fact__fig { font: 800 clamp(2.2rem, 1.6rem + 1.6vw, 3.1rem)/1 var(--f-display); color: var(--gold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 0 0 4px; }
.fact .fact__fig small { font-size: .45em; font-weight: 700; letter-spacing: 0; color: var(--gold); margin-left: 4px; }
.fact .fact__unit { font: 700 .8rem/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 12px; }
.fact p { color: var(--on-dark-soft); font-size: .98rem; margin: 0 0 12px; }
.fact .fact__src { margin-top: auto; font-size: .8rem; line-height: 1.4; color: var(--on-dark-muted); }
.fact__src a { color: var(--blue-300); }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .facts { grid-template-columns: minmax(0, 1fr); } .fact { padding: 20px 0 16px; } .fact p { font-size: .93rem; margin-bottom: 8px; } .fact .fact__unit { margin-bottom: 8px; } }
.facts-note { margin: 28px 0 0; padding: 18px 20px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.05); border-radius: 0 var(--r) var(--r) 0; color: var(--on-dark-soft); font-size: .95rem; }
.facts-note p { margin: 0 0 .5em; }
.facts-note p:last-child { margin: 0; }
.facts-divider { margin: 72px 0 64px; }
@media (max-width: 600px) { .facts-divider { margin: 48px 0 40px; } }

/* ---------- eligibility lists ---------- */
.qual { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.qual__lists { display: grid; gap: 16px; }
.qlist { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px 12px; }
.qlist.card-roof { padding-top: 34px; }
.qlist strong { display: block; font: 700 1.2rem/1.2 var(--f-display); margin-bottom: 8px; }
.qlist ul { list-style: none; padding: 0; margin: 0; }
.qlist li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.qlist li .icon { flex: none; margin-top: 2px; }
.qlist--yes li .icon { color: var(--navy); background: var(--gold); border-radius: var(--r); padding: 3px; width: 22px; height: 22px; stroke-width: 2.4; }
.qlist--no { background: transparent; border-style: dashed; }
.qlist--no li .icon { color: var(--muted); width: 22px; height: 22px; }
.qual__photo { margin-top: 32px; }
.qual__photo .ph { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .qual { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* ---------- RoofQuote embed ---------- */
.rq { position: relative; min-height: 520px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 0; overflow: hidden; }
.rq.card-roof { padding-top: 20px; }
.rq iframe { display: block; width: 100%; border: 0; }
.rq__wait { position: absolute; inset: 20px 0 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--muted); font-size: .95rem; pointer-events: none; }
.rq__wait .icon { width: 30px; height: 30px; color: var(--blue-700); }
.rq:has(iframe) .rq__wait { display: none; }
.rq:has(iframe) { min-height: 0; }
.rq-note { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.rq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .rq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .rq { min-height: 440px; } }

/* ---------- service system cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc { transition: border-color .2s, box-shadow .2s; }
.svc:hover { border-color: rgba(6,86,196,.45); box-shadow: 0 18px 40px rgba(10,23,48,.1); }
.svc__media { position: relative; min-height: 100%; border-radius: var(--r) 0 0 var(--r); overflow: hidden; }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__body { padding: 24px 24px 22px; display: flex; flex-direction: column; }
.svc__ico { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: var(--r); background: var(--navy); color: var(--gold); margin-bottom: 14px; }
.svc__ico .icon { width: 22px; height: 22px; }
.svc h3 { font-size: 1.35rem; margin: 0 0 .35em; }
.svc h3 a { color: var(--text); text-decoration: none; }
.svc h3 a:hover { color: var(--blue-700); }
.svc p { color: var(--muted); font-size: .97rem; margin: 0 0 14px; }
.svc .tlink { margin-top: auto; align-self: flex-start; }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r); font-size: .86rem; font-weight: 600; color: var(--text); text-decoration: none; background: var(--white); line-height: 1.2; }
.chips a:hover { border-color: var(--blue-700); color: var(--blue-700); }
.sec--dark .chips a, .on-dark .chips a { background: transparent; color: var(--on-dark); border-color: var(--navy-line); }
.sec--dark .chips a:hover, .on-dark .chips a:hover { border-color: var(--blue-300); color: var(--blue-300); }
@media (max-width: 1060px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .svc { display: block; position: relative; }
  .svc__media { position: absolute; left: 16px; top: 16px; width: 88px; height: 88px; min-height: 0; border-radius: var(--r); }
  .svc__body { padding: 16px 16px 18px; }
  .svc__ico { display: none; }
  .svc h3 { margin-left: 104px; min-height: 30px; padding-top: 6px; }
  .svc h3 + p { margin-left: 104px; min-height: 58px; font-size: .93rem; }
}
.areas-card { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px 40px; align-items: center; background: var(--navy); color: var(--on-dark); border-radius: var(--r); padding: 30px 30px 26px; }
.areas-card.card-roof { padding-top: 38px; }
.areas-card h3 { font-size: 1.4rem; margin-bottom: .3em; }
.areas-card h3 a { color: inherit; text-decoration: none; }
.areas-card h3 a:hover { color: var(--gold); }
.areas-card p { color: var(--on-dark-soft); margin: 0 0 12px; }
.areas-card .chips { margin: 0; }
@media (max-width: 860px) { .areas-card { grid-template-columns: minmax(0, 1fr); padding: 34px 20px 22px; } }
.svc-all { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.svc-all h3 { font-size: 1.1rem; margin: 0; }
.svc-all p { margin: 0; color: var(--muted); }
.svc-all .eyebrow { margin: 0; width: 100%; }
.svc-all .svc-all__links { width: 100%; margin: 6px 0 0; }

/* ---------- coverage map and places ---------- */
.cover { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.map { position: relative; background: var(--sea); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.map img { width: 100%; }
.map figcaption { position: absolute; left: 14px; top: 14px; margin: 0; display: flex; align-items: center; gap: 10px; background: var(--navy); color: var(--on-dark); font: 700 .8rem/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 9px 12px; border-radius: var(--r); }
.map figcaption::before { content: ""; width: 28px; height: 10px; background: var(--peak) 0 0 / 28px 10px no-repeat; }
.map__key { position: absolute; right: 14px; bottom: 12px; margin: 0; display: flex; gap: 14px; flex-wrap: wrap; background: rgba(255,255,255,.92); border-radius: var(--r); padding: 7px 10px; font-size: .78rem; color: var(--text); }
.map__key span { display: inline-flex; align-items: center; gap: 6px; }
.map__key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.map__key i.home { background: var(--gold); box-shadow: 0 0 0 2px var(--navy); }
.city-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.city-tiles a { display: flex; flex-direction: column; justify-content: center; min-height: 72px; padding: 12px 40px 12px 14px; position: relative; background: var(--sand); border-radius: var(--r); color: var(--text); text-decoration: none; font: 700 1.05rem/1.2 var(--f-display); border: 1px solid transparent; }
.city-tiles a span { font: 500 .82rem/1.3 var(--f-body); color: var(--muted); margin-top: 3px; }
.city-tiles a::after { content: ""; position: absolute; right: 14px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--blue-700); border-right: 2px solid var(--blue-700); transform: translateY(-50%) rotate(45deg); }
.city-tiles a:hover { border-color: var(--blue-700); background: var(--white); }
.hub-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--navy); color: var(--on-dark); border-radius: var(--r); text-decoration: none; margin: 0 0 6px; }
.hub-link b { display: block; font: 700 1.1rem/1.2 var(--f-display); }
.hub-link span { font-size: .88rem; color: var(--on-dark-soft); }
.hub-link .icon { margin-left: auto; color: var(--gold); width: 22px; height: 22px; }
.hub-link:hover { background: var(--navy-700); color: var(--on-dark); }
.cover__side .btn-row { margin-top: 18px; }
@media (max-width: 960px) { .cover { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .city-tiles a { padding: 10px 28px 10px 12px; min-height: 64px; font-size: .98rem; } .city-tiles a::after { right: 10px; } .map figcaption { font-size: .7rem; padding: 7px 9px; } .map__key { font-size: .72rem; } }
@media (max-width: 340px) { .city-tiles { grid-template-columns: minmax(0, 1fr); } }
.regions-wrap { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.regions-wrap h3 { font-size: 1.6rem; margin-bottom: .3em; }
.regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.region h4 { display: flex; align-items: center; gap: 10px; font: 700 1rem/1.25 var(--f-display); margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.region ul { list-style: none; padding: 0; margin: 0; }
.region li { padding: 5px 0; font-size: .95rem; color: var(--text); }
.region li a { font-weight: 600; }
.region li.hq { font-weight: 400; }
.region li.hq::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--navy); margin-right: 8px; vertical-align: 1px; }
.region__n { margin-left: auto; font: 600 .78rem/1 var(--f-body); color: var(--muted); }
.not-listed { margin: 32px 0 0; padding: 16px 18px; background: var(--sand); border-radius: var(--r); font-size: .97rem; }
.not-listed a { font-weight: 700; }
@media (max-width: 960px) { .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } .region li { font-size: .9rem; } .region h4, .region .region__h { font-size: .92rem; } }

/* ---------- owner block ---------- */
.owner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.owner__photo .ph { aspect-ratio: 1400 / 1160; }
.owner__quote { display: flex; gap: 18px; align-items: center; margin: 26px 0 0; padding: 20px 22px; background: var(--navy); color: var(--on-dark); border-radius: var(--r); }
.owner__quote img { width: 76px; height: auto; flex: none; }
.owner__quote p { margin: 0; font: 600 1.12rem/1.4 var(--f-display); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.pills li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); font-size: .88rem; font-weight: 600; }
.pills .icon { width: 16px; height: 16px; color: var(--blue-700); }
@media (max-width: 900px) { .owner { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 480px) { .owner__quote { flex-direction: column; align-items: flex-start; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.faq-grid__side { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .faq-grid__side { position: static; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 700 1.12rem/1.35 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: var(--r); background:
  linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .2s; }
.faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 68ch; }
.faq details p a { font-weight: 600; }
.sec--dark .faq details, .sec--dark .faq details:first-child { border-color: var(--navy-line); }
.sec--dark .faq summary::after { box-shadow: inset 0 0 0 1.5px var(--navy-line); color: var(--gold); }
.sec--dark .faq details p { color: var(--on-dark-soft); }
.ask { margin-top: 26px; padding: 22px 22px 20px; background: var(--navy-700); border-radius: var(--r); color: var(--on-dark); }
.ask.card-roof { padding-top: 34px; }
.ask p { margin: 0 0 6px; color: var(--on-dark-soft); font-size: .95rem; }
.ask__btns { margin-top: 4px; }
.ask a.ask__tel { display: inline-block; font: 800 1.5rem/1.2 var(--f-display); color: var(--gold) !important; text-decoration: none; margin-bottom: 12px; }

/* ---------- closing band ---------- */
.close-band { background: var(--sand); }
.close-band.sec--rooftop::before { top: 0; }
.close-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: start; }
.close-band__copy h2 { max-width: 16ch; }
.contact-list { margin: 28px 0 0; display: grid; gap: 0; }
.contact-list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-list dt { font: 700 .8rem/1.6 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list dd a { color: var(--text); }
@media (max-width: 960px) { .close-band__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 420px) { .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- inner pages: article with a sticky aside ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.layout__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
@media (max-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr); gap: 40px; } .layout__aside { position: static; } .toc { display: none; } }
.prose { max-width: 720px; }
.prose > section + section { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.25rem); }
.prose p, .prose li { color: var(--text); }
.prose ul.list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.prose ul.list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.prose ul.list .icon { color: var(--navy); background: var(--gold); border-radius: var(--r); padding: 3px; width: 22px; height: 22px; stroke-width: 2.4; margin-top: 1px; }
.prose .fig { margin: 28px 0; }
.prose .clip { margin: 28px 0; }
.fig-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }
.fig-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fig-row .ph { aspect-ratio: 4 / 5; }
.fig-row--2 .ph, .fig-row--2 .cmp .ph { aspect-ratio: 4 / 3; }
@media (max-width: 640px) { .fig-row, .fig-row--2 { grid-template-columns: minmax(0, 1fr); } .fig-row .ph { aspect-ratio: 4 / 3; } }
.proof-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.proof-row li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; background: var(--sand); border-radius: var(--r); font-size: .9rem; font-weight: 600; }
.proof-row .icon { color: var(--blue-700); width: 16px; height: 16px; }
.callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; padding: 22px 24px; background: var(--sand); border-left: 4px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; margin: 24px 0; }
.callout strong { display: block; font: 700 1.15rem/1.3 var(--f-display); margin-bottom: 4px; }
.callout span { color: var(--muted); }
@media (max-width: 640px) { .callout { grid-template-columns: minmax(0, 1fr); } }
.quality-note { padding: 16px 18px; border: 1px dashed var(--field-line); border-radius: var(--r); font-size: .97rem; }
.mini-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.mini-links a { display: flex; flex-direction: column; padding: 14px 40px 14px 16px; position: relative; background: var(--sand); border-radius: var(--r); text-decoration: none; color: var(--text); border: 1px solid transparent; min-height: 72px; justify-content: center; }
.mini-links a span { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.mini-links a strong { font: 700 1.05rem/1.25 var(--f-display); }
.mini-links a::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--blue-700); border-right: 2px solid var(--blue-700); transform: translateY(-50%) rotate(45deg); }
.mini-links a:hover { border-color: var(--blue-700); background: var(--white); }
@media (max-width: 520px) { .mini-links { grid-template-columns: minmax(0, 1fr); } }
.nearby { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.nearby .map { max-width: 420px; }
@media (max-width: 760px) { .nearby { grid-template-columns: minmax(0, 1fr); } }
/* aside cards */
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.toc h2 { font: 700 var(--fs-eyebrow)/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); margin: 0 0 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc a { display: block; padding: 8px 0; font-size: .95rem; font-weight: 600; color: var(--text); text-decoration: none; border-top: 1px solid var(--line); }
.toc li:first-child a { border-top: 0; }
.toc a:hover { color: var(--blue-700); }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 20px 14px; }
.side-card.card-roof { padding-top: 32px; }
.side-card strong.side-card__h { display: block; font: 700 1.15rem/1.25 var(--f-display); margin-bottom: 8px; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.side-card li .icon { color: var(--navy); background: var(--gold); border-radius: var(--r); padding: 3px; width: 20px; height: 20px; stroke-width: 2.4; margin-top: 1px; }
.call-card { background: var(--navy); color: var(--on-dark); border-radius: var(--r); padding: 22px 20px; }
.call-card p { margin: 0 0 6px; color: var(--on-dark-soft); font-size: .95rem; }
.call-card a.call-card__tel { display: inline-block; font: 800 1.45rem/1.2 var(--f-display); color: var(--gold); text-decoration: none; margin-bottom: 12px; }

/* related pages (links on dark) */
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.related a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: center; padding: 20px 22px; background: var(--navy-700); border: 1px solid var(--navy-line); border-radius: var(--r); color: var(--on-dark); text-decoration: none; transition: border-color .2s, background-color .2s; }
.sec--dark .related a:not(.btn) { color: var(--on-dark); }
.related a:hover { border-color: var(--gold); background: var(--navy-700); }
.related span { grid-column: 1; font: 700 var(--fs-eyebrow)/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); }
.related h3 { grid-column: 1; margin: 2px 0 2px; font-size: 1.25rem; }
.related p { grid-column: 1; margin: 0; color: var(--on-dark-soft); font-size: .95rem; }
.related strong { grid-column: 2; grid-row: 1 / span 3; font-size: .9rem; color: var(--blue-300); white-space: nowrap; }
@media (max-width: 760px) { .related { grid-template-columns: minmax(0, 1fr); } .related a { grid-template-columns: minmax(0, 1fr); } .related strong { grid-column: 1; grid-row: auto; margin-top: 6px; } }

/* review band. Not used yet: only real Google reviews quoted word for word may go here (see DESIGN.md) */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.review blockquote { margin: 0 0 14px; font-size: 1rem; }
.review figcaption { font-size: .88rem; color: var(--muted); }
.review figcaption b { color: var(--text); }
@media (max-width: 900px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--navy-950); color: var(--on-dark-soft); padding: 64px 0 0; font-size: .95rem; }
.ftr.sec--rooftop::before { top: 0; }
.ftr__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid var(--navy-line); }
.ftr__brand { display: flex; align-items: center; gap: 22px; }
.ftr__brand img { width: 108px; height: auto; }
.ftr__brand p { margin: 0; max-width: 46ch; color: var(--on-dark-soft); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(4, minmax(0, 1fr)); gap: 36px; padding: 40px 0; }
.ftr h3 { font: 700 .78rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin: 0 0 14px; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin: 0; }
.ftr a:not(.btn) { color: var(--on-dark-soft); text-decoration: none; }
.ftr li a { display: inline-block; padding: 5px 0; }
.ftr a:not(.btn):hover { color: var(--white); text-decoration: underline; }
.ftr__tel { display: inline-block; font: 800 1.35rem/1.2 var(--f-display); color: var(--gold) !important; margin-bottom: 6px; }
.ftr__contact a { display: inline-block; padding: 4px 0; }
.ftr__contact p { margin: 0 0 8px; }
.ftr__base { margin-top: 10px !important; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; padding: 22px 0 28px; border-top: 1px solid var(--navy-line); font-size: .84rem; color: var(--on-dark-muted); }
.ftr__legal p { margin: 0; }
.ftr__credit { color: var(--on-dark-muted) !important; }
@media (max-width: 1000px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__contact { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } .ftr li a { font-size: .9rem; } .ftr__brand { flex-direction: column; align-items: flex-start; } }

/* ---------- sticky mobile bar ---------- */
.mbar { display: none; }
.is-shot .mbar, .is-shot .hdr--over { position: absolute; }
.is-shot .mbar { display: none !important; }
@media (max-width: 1060px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mbar); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px;
    padding: 18px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); transition: transform .3s ease; }
  .mbar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 20px; pointer-events: none;
    background: var(--peak) 50% 0 / 56px 20px no-repeat, linear-gradient(var(--gold), var(--gold)) 0 9px / calc(50% - 27px) 3px no-repeat, linear-gradient(var(--gold), var(--gold)) 100% 9px / calc(50% - 27px) 3px no-repeat,
      linear-gradient(var(--red), var(--red)) 0 15px / calc(50% - 27px) 3px no-repeat, linear-gradient(var(--red), var(--red)) 100% 15px / calc(50% - 27px) 3px no-repeat; transform: translateY(-12px); }
  .mbar .btn { min-height: 48px; font-size: .95rem; padding: 0 10px; }
  .mbar.is-hidden, .menu-open .mbar { transform: translateY(110%); }
  .has-mbar .ftr { padding-bottom: 86px; }
}

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: var(--z-lightbox); display: none; align-items: center; justify-content: center; padding: 4vmin; background: rgba(6,15,34,.94); cursor: zoom-out; }
.lb.open { display: flex; }
.lb img { max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--r); box-shadow: 0 20px 60px rgba(0,0,0,.5); cursor: default; }
.lb__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; border-radius: var(--r); background: rgba(255,255,255,.1); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; }
.lb__close:hover { background: rgba(255,255,255,.2); }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: var(--on-dark-soft); font-size: .9rem; padding: 0 70px; margin: 0; }

/* ---------- reveal (classes added by site.js only) ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
.rv.rv-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .06s; } .rv-d2 { transition-delay: .12s; } .rv-d3 { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .hero__video { display: none; }
}
@media print {
  .hdr, .mbar, .hero__video, .mobile-nav, .lb, .clip__play, .rq { display: none !important; }
  .hero, .phero, .sec--dark, .trust, .ftr { background: #fff !important; color: #000 !important; }
  .hero__media, .phero__media, .sec__bg { display: none; }
}

/* ---------- inner-page helpers ---------- */
.callout h3 { font-size: 1.15rem; margin: 0 0 4px; }
.mini-links--stack { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.mini-links--desc a { padding-right: 44px; }
.mini-links--desc a strong { margin-bottom: 3px; }
.mini-links--desc a span { font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.map--small { max-width: 360px; justify-self: end; width: 100%; }
.map--small figcaption { font-size: .72rem; }
.prose .map { margin: 24px 0 8px; }
.regions--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.region h4, .region .region__h { display: flex; align-items: center; gap: 10px; font: 700 1rem/1.25 var(--f-display); margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.src-line { font-size: .85rem; color: var(--muted); }
.faq-more { margin: 22px 0 0; }
@media (max-width: 760px) { .map--small { max-width: none; justify-self: stretch; } }


/* ---------- touch targets: 44px minimum on phones and tablets (links inside running text are exempt) ---------- */
.tlink { min-height: 44px; border-bottom: 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: rgba(6,86,196,.3); }
.tlink:hover { text-decoration-color: var(--blue-700); }
.sec--dark .tlink, .on-dark .tlink { text-decoration-color: rgba(125,182,255,.4); }
.sec--dark .tlink:hover, .on-dark .tlink:hover { text-decoration-color: var(--blue-300); }
.svc h3 a, .areas-card h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.ask a.ask__tel, .call-card a.call-card__tel, .ftr__tel { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 4px; }
@media (max-width: 1060px) {
  .chips a { min-height: 44px; }
  .ftr li a, .ftr__contact a:not(.ftr__tel), .ftr__credit { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
}

/* ---------- facelift templates: components the four prototypes did not need (same tokens, same 6px radius) ---------- */
/* service detail cards (the three "Common signs / What ReLife checks / When it may not fit" lists) */
.dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.dcard { background: var(--sand); border-radius: var(--r); padding: 18px 18px 8px; }
.dcard h3 { font-size: 1.1rem; margin: 0 0 6px; }
.prose ul.list--tight li { padding: 6px 0; font-size: .95rem; }
.prose ul.list li > span { min-width: 0; }
@media (max-width: 760px) { .dcards { grid-template-columns: minmax(0, 1fr); } }
.prose h3.sub-h { font-size: 1.15rem; margin: 28px 0 0; }
/* related links on a light surface */
.related--light a { background: var(--sand); border-color: transparent; color: var(--text); }
.related--light a:hover { background: var(--white); border-color: var(--blue-700); }
.related--light span { color: var(--blue-700); }
.related--light p { color: var(--muted); }
.related--light strong { color: var(--blue-700); }
.prose .related { margin: 20px 0 0; }
.related--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .related--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .related--3 { grid-template-columns: minmax(0, 1fr); } }
.prose .related a { grid-template-columns: minmax(0, 1fr); }
.prose .related strong { grid-column: 1; grid-row: auto; margin-top: 6px; }
/* plain inner hero (no photo, no form): hubs without a form, legal pages, the site map, 404 */
.phero--plain { background: var(--navy); }
.phero--plain .phero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 56px; padding-bottom: 64px; }
.phero--plain .phero__copy { max-width: 820px; }
@media (max-width: 1000px) { .phero--plain .phero__grid { padding-top: 36px; padding-bottom: 44px; } }
/* city and service link columns (/service-area/, /services/) */
.sa-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin-top: 24px; }
.sa-col h3 { font-size: 1.15rem; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
@media (max-width: 600px) { .sa-cols { grid-template-columns: minmax(0, 1fr); } }
.sgroup { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.sgroup h3 { font-size: 1.4rem; margin: 0 0 6px; }
.sgroup .mini-links { margin-bottom: 16px; }
/* the HTML site map */
.sm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; align-items: start; }
.sm-group h2 { font-size: 1.35rem; margin: 0 0 14px; }
@media (max-width: 1000px) { .sm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sm-grid { grid-template-columns: minmax(0, 1fr); } }
/* legal text */
.prose--legal { margin: 0 auto; }
.prose--legal h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.prose--legal p { overflow-wrap: anywhere; }
/* 404 */
.city-tiles--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .city-tiles--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .city-tiles--wide { grid-template-columns: minmax(0, 1fr); } }
/* about: five steps */
.steps--5 { grid-template-columns: minmax(0, 1fr); }
/* facts bands with three facts */
@media (min-width: 961px) { .facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- vertical videos: the short ReLife videos and the treatment maker's demonstration film ---------- */
.clip--tall .clip__box { aspect-ratio: 9 / 16; }
.clip--tall .clip__play span { width: 60px; height: 60px; }
.vids { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vids--n2, .vids:has(> .clip:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 300px)); }
@media (max-width: 760px) {
  .vids { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .vids > .clip { flex: 0 0 min(68%, 280px); scroll-snap-align: start; }
}
.watch-ad { margin: 28px 0 0; max-width: 300px; }
.watch-ad__h { font: 700 var(--fs-eyebrow)/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); margin: 0 0 10px; }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 56px; align-items: center; }
.demo__text { max-width: 620px; }
.prose .clip--demo { max-width: 320px; }
.clip--demo figcaption { font-size: .9rem; padding: 10px 12px; margin-top: 10px; background: var(--sand); border-radius: var(--r); color: var(--text); }
@media (max-width: 900px) { .demo { grid-template-columns: minmax(0, 1fr); gap: 28px; } .demo .clip--demo { max-width: 320px; } }

/* ---------- licensed photos of Los Angeles places (area sections only; never ReLife work) ---------- */
.scenery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 40px 0 0; }
.scenery--prose { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0 0; }
.scenery--wide.scenery--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scenery__note { grid-column: 1 / -1; margin: 0; font: 700 var(--fs-eyebrow)/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scene { margin: 0; }
.scene .ph { aspect-ratio: 3 / 2; }
.scene figcaption { margin-top: 8px; line-height: 1.35; }
.scene__place { display: block; font-weight: 600; font-size: .92rem; color: var(--text); }
.scene__credit { display: block; font-size: .74rem; color: var(--muted); overflow-wrap: anywhere; }
.scene__credit a { color: var(--muted); }
@media (max-width: 900px) { .scenery, .scenery--wide.scenery--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .scenery, .scenery--prose, .scenery--wide.scenery--n3 { grid-template-columns: minmax(0, 1fr); } }

/* RoofQuote placeholder (preview build only) */
.rq--placeholder { min-height: 320px; background: var(--sand); border-style: dashed; border-color: var(--field-line); }
.rq--placeholder .rq__wait { inset: 0; color: var(--text); font-weight: 600; }
/* homepage "Short videos" row: copy beside the videos */
.shorts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 56px; align-items: center; }
.shorts--n2 { grid-template-columns: minmax(0, 1fr) minmax(0, 620px); }
.shorts--n2 .vids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shorts--n3 .vids { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .shorts, .shorts--n2 { grid-template-columns: minmax(0, 1fr); } }
.related--3 a { grid-template-columns: minmax(0, 1fr); }
.related--3 strong { grid-column: 1; grid-row: auto; margin-top: 6px; }
/* footer: multi-line link labels (the Los Angeles service pages) keep a clear gap between items */
.ftr li a { line-height: 1.3; }
@media (max-width: 1060px) { .ftr li + li { margin-top: 2px; } .ftr li a { padding: 6px 0; } }
