/* ==========================================================================
   Hi Low Roofing & Solar — Design System v3.2 (shared layer)
   Tokens copied from hilow-roofing-design-system-v32.html. Tokens marked
   "derived" are values the DS uses inline, promoted to variables.
   In the child theme this block belongs in style.css; drop it from the
   page during PHP conversion.
   ========================================================================== */
:root {
  /* Core brand */
  --hl-navy: #111E32;
  --hl-navy-deep: #0B1424;
  --hl-brand-blue: #111E32;
  --hl-red: #E31E2F;
  --hl-red-hover: #C91626;
  --hl-red-soft: #FBEAEC;
  --hl-white: #FFFFFF;

  /* Neutrals */
  --hl-bg: #FFFFFF;
  --hl-surface: #F5F6F7;
  --hl-surface-warm: #F7F6F3;
  --hl-text: #151D2B;
  --hl-text-muted: #626B77;
  --hl-border: #DCE1E6;
  --hl-border-dark: rgba(255,255,255,.14);
  --hl-border-strong: #BCC4CD;              /* derived: outline button */

  /* On dark (derived from DS dark section + process step) */
  --hl-red-on-dark: #FF5966;
  --hl-text-on-dark: rgba(255,255,255,.78);
  --hl-text-on-dark-muted: rgba(255,255,255,.62);

  /* Utility only — NOT brand accents */
  --hl-google-star: #F4B400;
  --hl-success: #376B52;

  /* Typography */
  --hl-font-display: "Manrope", sans-serif;
  --hl-font-body: "Inter", sans-serif;
  --hl-fs-h1: clamp(46px, 6vw, 72px);
  --hl-fs-h2: clamp(36px, 4.2vw, 52px);
  --hl-fs-h3: clamp(25px, 2.3vw, 30px);
  --hl-fs-h4: 22px;
  --hl-fs-stat: 60px;
  --hl-fs-lead: 20px;
  --hl-fs-body: 17px;
  --hl-fs-sm: 15px;
  --hl-fs-xs: 14px;
  --hl-fs-micro: 13px;
  --hl-fs-eyebrow: 12px;

  /* Shape */
  --hl-radius-sm: 5px;
  --hl-radius-md: 9px;
  --hl-radius-lg: 14px;
  --hl-radius-xl: 22px;

  /* Layout & spacing */
  --hl-container: 1280px;
  --hl-space-1: 8px;
  --hl-space-2: 16px;
  --hl-space-3: 24px;
  --hl-space-4: 32px;
  --hl-space-5: 48px;
  --hl-space-6: 64px;
  --hl-space-7: 80px;
  --hl-space-8: 120px;
  --hl-section-y: 110px;
  --hl-section-y-compact: 76px;
  --hl-header-h: 82px;

  /* Effects */
  --hl-shadow-card: 0 18px 45px rgba(17, 28, 47, .08);
  --hl-shadow-form: 0 20px 55px rgba(17, 28, 47, .06);
  --hl-hero-overlay: linear-gradient(90deg, rgba(11,20,36,.82) 0%, rgba(17,28,47,.66) 42%, rgba(17,28,47,.10) 76%, rgba(17,28,47,0) 100%);
  --hl-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Reset (zero specificity so components win) */
#hilow-site *, #hilow-site *::before, #hilow-site *::after { box-sizing: border-box; }
html.hilow-roofing-document { scroll-behavior: smooth; scroll-padding-top: calc(var(--hl-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body.hilow-roofing-template { margin: 0; background: var(--hl-bg); color: var(--hl-text); font-family: var(--hl-font-body); font-size: var(--hl-fs-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
#hilow-site { overflow-x: clip; }
#hilow-site [hidden] { display: none !important; }
:where(#hilow-site) img { display: block; max-width: 100%; height: auto; }
:where(#hilow-site) a { color: inherit; text-decoration: none; }
:where(#hilow-site) p { margin: 0; }
:where(#hilow-site) :where(ul, ol) { margin: 0; padding: 0; }
:where(#hilow-site) button { font: inherit; color: inherit; cursor: pointer; }
:where(#hilow-site) svg { display: inline-block; }
:where(#hilow-site) :where(h1, h2, h3, h4) { margin: 0; font-family: var(--hl-font-display); font-weight: 600; color: var(--hl-navy); letter-spacing: -.035em; }
:where(#hilow-site) h1 { font-size: var(--hl-fs-h1); line-height: .98; }
:where(#hilow-site) h2 { font-size: var(--hl-fs-h2); line-height: 1.06; }
:where(#hilow-site) h3 { font-size: var(--hl-fs-h3); line-height: 1.15; }
:where(#hilow-site) h4 { font-size: var(--hl-fs-h4); line-height: 1.25; }
/* Neutralise theme/plugin element styles (Divi: p/heading padding, blue blockquote rule, list bullets) */
:where(#hilow-site) p, :where(#hilow-site) h1, :where(#hilow-site) h2, :where(#hilow-site) h3, :where(#hilow-site) h4, :where(#hilow-site) h5, :where(#hilow-site) h6, :where(#hilow-site) li, :where(#hilow-site) dd { padding: 0; }
:where(#hilow-site) blockquote { margin: 0; padding: 0; border: 0; quotes: none; font-style: normal; }
:where(#hilow-site) figure { margin: 0; }
:where(#hilow-site) ul, :where(#hilow-site) ol { line-height: inherit; }
:where(#hilow-site) strong, :where(#hilow-site) b { font-weight: 700; }
#hilow-site :focus-visible { outline: 2px solid var(--hl-red); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 10000; padding: 12px 18px; background: var(--hl-red); color: #fff !important; font-weight: 700; border-radius: var(--hl-radius-sm); }
.skip:focus { top: 16px; }

/* Layout */
.wrap { width: min(calc(100% - 64px), var(--hl-container)); margin-inline: auto; }
.section { padding: var(--hl-section-y) 0; }
.section--compact { padding: var(--hl-section-y-compact) 0; }
.section--surface { background: var(--hl-surface); }
.section--warm { background: var(--hl-surface-warm); }
.section--dark { background: var(--hl-navy); color: var(--hl-text-on-dark); }
.section--dark :where(h1, h2, h3, h4) { color: var(--hl-white); }

/* Type helpers */
.display { letter-spacing: -.04em; }
.eyebrow { display: block; margin-bottom: 18px; font-family: var(--hl-font-body); font-size: var(--hl-fs-eyebrow); line-height: 1.2; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hl-red); }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--hl-red-on-dark); }
.eyebrow--rule::before { content: ""; display: inline-block; width: 34px; height: 3px; margin-right: 12px; vertical-align: middle; background: var(--hl-red); }
.lede, .lead { max-width: 760px; color: var(--hl-text-muted); font-size: var(--hl-fs-lead); line-height: 1.62; }
.muted { color: var(--hl-text-muted); }
.prose p { max-width: 70ch; color: var(--hl-text-muted); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--hl-navy); }

/* Buttons (DS: min-height 54, radius-sm, Inter 700 15px) */
.btn { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--hl-radius-sm); font-family: var(--hl-font-body); font-size: var(--hl-fs-sm); font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn .arrow { width: 15px; height: 15px; }
.btn.red, .btn--primary { background: var(--hl-red); color: var(--hl-white); }
.btn.red:hover, .btn--primary:hover { background: var(--hl-red-hover); }
.btn.navy, .btn--navy { background: var(--hl-navy); color: var(--hl-white); }
.btn.navy:hover, .btn--navy:hover { background: var(--hl-navy-deep); }
.btn.outline, .btn--outline { background: transparent; color: var(--hl-navy); border-color: var(--hl-border-strong); }
.btn.outline:hover, .btn--outline:hover { border-color: var(--hl-navy); }
.btn.white { background: var(--hl-white); color: var(--hl-navy); }
.btn.white:hover { background: var(--hl-surface); }
.btn.ghost-light { background: transparent; color: var(--hl-white); border-color: rgba(255,255,255,.4); }
.btn.ghost-light:hover { border-color: var(--hl-white); }

/* Text link (DS: navy 700, arrow nudges right, red on hover) */
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--hl-navy); font-weight: 700; font-size: var(--hl-fs-sm); }
.text-link .arrow { width: 13px; height: 13px; transition: transform .2s ease; }
.text-link:hover { color: var(--hl-red); }
.text-link:hover .arrow { transform: translateX(4px); }
.section--dark .text-link, .on-dark .text-link { color: var(--hl-white); }
.section--dark .text-link:hover, .on-dark .text-link:hover { color: var(--hl-red-on-dark); }

/* Lists */
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--hl-red); font-weight: 700; }
.section--dark .check-list li::before { color: var(--hl-red-on-dark); }

/* Brand rule (DS) — left red rule on white */
.brand-rule { padding: 22px 24px; border-left: 4px solid var(--hl-red); background: var(--hl-white); color: var(--hl-text-muted); }
.brand-rule strong { color: var(--hl-navy); }

/* Card (DS) */
.card { overflow: hidden; background: var(--hl-white); border: 1px solid var(--hl-border); border-radius: var(--hl-radius-lg); transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--hl-shadow-card); }
.card__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--hl-navy); }
.card__body { padding: 26px; }
.card__number { margin-bottom: 14px; color: var(--hl-red); font-size: var(--hl-fs-eyebrow); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Stats (DS) */
.stat__number { margin-bottom: 12px; color: var(--hl-navy); font-family: var(--hl-font-display); font-size: var(--hl-fs-stat); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.stat__number em { color: var(--hl-red); font-style: normal; }
.section--dark .stat__number, .on-dark .stat__number { color: var(--hl-white); }

/* Credential strip (DS) */
.credential-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--hl-border); border-radius: var(--hl-radius-lg); background: var(--hl-white); }
.credential { min-height: 120px; display: grid; place-items: center; padding: 22px; text-align: center; border-right: 1px solid var(--hl-border); }
.credential:last-child { border-right: 0; }
.credential strong { display: block; color: var(--hl-navy); font-family: var(--hl-font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.credential span { display: block; margin-top: 6px; color: var(--hl-text-muted); font-size: var(--hl-fs-micro); }

/* Testimonial (DS) */
.testimonial { padding: 32px; background: var(--hl-white); border: 1px solid var(--hl-border); border-radius: 12px; }
.testimonial .stars { color: var(--hl-google-star); font-size: 18px; letter-spacing: 2px; }
.testimonial p { font-size: 18px; line-height: 1.65; margin-top: 10px; }
.testimonial__author { margin-top: 24px; color: var(--hl-navy); font-weight: 700; }
.testimonial__source { color: var(--hl-text-muted); font-size: var(--hl-fs-micro); }

/* Topbar (.notice in the Home template) */
.notice { background: var(--hl-navy-deep); color: rgba(255,255,255,.84); font-size: var(--hl-fs-micro); }
.notice .wrap { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.notice a strong { color: var(--hl-white); font-weight: 700; }
.notice a span { color: var(--hl-red-on-dark); margin-left: 4px; }
.notice .license { letter-spacing: .08em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(17,28,47,.10); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .25s ease; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(17,28,47,.06); }
.header-inner { min-height: var(--hl-header-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: auto; height: 56px; max-width: 210px; object-fit: contain; object-position: left center; }
/* Cropped logo: the frame shows only the drawn part of the file */
.brand-logo { position: relative; display: block; height: 66px; aspect-ratio: var(--logo-ar); overflow: hidden; }
.brand .brand-logo img { position: absolute; top: calc(var(--logo-y) * -100%); left: calc(var(--logo-x) * -100%); height: calc(var(--logo-h) * 100%); width: auto; max-width: none; object-fit: fill; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: var(--hl-fs-xs); font-weight: 600; color: var(--hl-navy); }
.nav-link { position: relative; padding: 6px 0; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--hl-red); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--hl-red); }
/* Services dropdown */
.nav-item--menu { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-sub-toggle { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; background: transparent; border: 0; border-radius: var(--hl-radius-sm); color: var(--hl-navy); }
.nav-sub-toggle svg { width: 16px; height: 16px; transition: transform .2s ease; }
.nav-item--menu.is-open .nav-sub-toggle svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 18px); left: -24px; z-index: 950; width: 560px; padding: 14px; background: var(--hl-white); border: 1px solid var(--hl-border); border-radius: var(--hl-radius-lg); box-shadow: var(--hl-shadow-card); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-item--menu.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .nav-item--menu:hover .nav-menu { opacity: 1; visibility: visible; transform: none; } }
.nav-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-menu--about { width: 520px; }
.nav-menu__grid a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--hl-radius-md); font-size: var(--hl-fs-sm); font-weight: 600; color: var(--hl-navy); transition: background-color .15s ease; }
.nav-menu__grid a span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hl-red); }
.nav-menu__grid a:hover, .nav-menu__grid a[aria-current="page"] { background: var(--hl-surface); }
.nav-menu__all { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 14px; border-top: 1px solid var(--hl-border); font-size: var(--hl-fs-xs); font-weight: 700; color: var(--hl-navy); }
.nav-menu__all:hover { color: var(--hl-red); }
.nav-menu__all .arrow { width: 13px; height: 13px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: var(--hl-fs-xs); font-weight: 700; color: var(--hl-navy); }
.header-phone svg { width: 17px; height: 17px; color: var(--hl-red); }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--hl-border); border-radius: var(--hl-radius-sm); }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--hl-red); transform: scaleX(0); transform-origin: left; }

/* Breadcrumb */
.hl-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; font-size: var(--hl-fs-micro); font-weight: 600; }
.hl-breadcrumb a { opacity: .78; }
.hl-breadcrumb a:hover { opacity: 1; }
.hl-breadcrumb span[aria-hidden] { opacity: .45; }

/* Hero (DS pattern: photo + left navy overlay, white type, red-ruled eyebrow) */
.hl-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: 760px; overflow: hidden; color: var(--hl-white); isolation: isolate; background: var(--hl-navy); }
.hl-hero__media { position: absolute; inset: 0; z-index: -2; }
.hl-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hl-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hl-hero-overlay); }
.hl-hero h1 { color: var(--hl-white); margin-bottom: 24px; }
.hl-hero .eyebrow { color: var(--hl-white); }
.hl-hero .hl-breadcrumb { color: var(--hl-white); }
.hl-hero__content { max-width: 700px; padding: 90px 0; }
.hl-hero__lede { max-width: 610px; color: rgba(255,255,255,.84); font-size: var(--hl-fs-lead); }
.hl-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.hl-hero__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--hl-white); font-weight: 700; }
.hl-hero__phone svg { width: 17px; height: 17px; }
.hl-hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 34px; color: rgba(255,255,255,.88); font-size: var(--hl-fs-xs); }
.hl-hero__trust li::before { content: "✓ "; color: var(--hl-white); }
.hl-rating { margin-top: 28px; font-size: var(--hl-fs-xs); color: rgba(255,255,255,.9); }
.hl-rating .stars { display: block; color: var(--hl-google-star); font-size: 18px; letter-spacing: 2px; }

/* Headline motion */
.headline-mask { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.22em; }
.headline-line { display: block; }
.js-motion .headline-line { transform: translateY(130%); transition: transform 1s var(--hl-ease); }
.js-motion.is-loaded .headline-line { transform: none; }
.js-motion.is-loaded .headline-mask:nth-child(2) .headline-line { transition-delay: .1s; }
.js-motion.is-loaded .headline-mask:nth-child(3) .headline-line { transition-delay: .2s; }
.js-motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--hl-ease), transform .7s var(--hl-ease); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }

/* Image frame */
.img-frame { position: relative; overflow: hidden; background: var(--hl-navy); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame--round { border-radius: var(--hl-radius-lg); }

/* Image slot — empty frame for a photo added later from the WordPress media library.
   Once the <img> gets a src, the dashed frame and the spec label disappear. */
.hl-slot { position: relative; margin: 0; overflow: hidden; aspect-ratio: var(--hl-slot-r, 4 / 3); border-radius: var(--hl-radius-lg); background: var(--hl-surface); }
.hl-slot--16x10 { --hl-slot-r: 16 / 10; } .hl-slot--4x3 { --hl-slot-r: 4 / 3; } .hl-slot--21x9 { --hl-slot-r: 21 / 9; }
.hl-slot--3x2 { --hl-slot-r: 3 / 2; } .hl-slot--4x5 { --hl-slot-r: 4 / 5; } .hl-slot--16x9 { --hl-slot-r: 16 / 9; } .hl-slot--1x1 { --hl-slot-r: 1 / 1; }
.hl-slot::before { content: ""; position: absolute; inset: 0; z-index: 1; border: 1.5px dashed var(--hl-border-strong); border-radius: inherit; pointer-events: none; }
.hl-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl-slot img:not([src]) { display: none; }
.hl-slot:has(img[src])::before, .hl-slot img[src] + .hl-slot__spec { display: none; }
.hl-slot__spec { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 18px; text-align: center; font-size: var(--hl-fs-micro); line-height: 1.45; color: var(--hl-text-muted); }
.hl-slot__spec::before { content: ""; width: 30px; height: 24px; margin-bottom: 4px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 24' fill='none' stroke='%23BCC4CD' stroke-width='1.6'%3E%3Crect x='1' y='1' width='28' height='22' rx='3'/%3E%3Cpath d='M1 18l8-8 7 7 4-4 9 9'/%3E%3Ccircle cx='21' cy='7' r='2.5'/%3E%3C/svg%3E"); }
.hl-slot__spec span { color: var(--hl-navy); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section--dark .hl-slot, .hl-hero .hl-slot { background: rgba(255,255,255,.05); }
.section--dark .hl-slot::before { border-color: rgba(255,255,255,.28); }
.section--dark .hl-slot__spec { color: var(--hl-text-on-dark-muted); }
.section--dark .hl-slot__spec span { color: var(--hl-white); }
.hl-slot--thumb .hl-slot__spec { padding: 8px; font-size: 11px; }
.hl-slot--thumb .hl-slot__spec span { font-size: 10px; letter-spacing: .06em; }
.hl-slot--thumb .hl-slot__spec::before { width: 22px; height: 18px; }

/* Service-area maps (includes/service-map.php, generated by build_map.py from US Census geography) */
.hl-service-map { margin: 0; }
.hl-map { display: block; width: 100%; height: auto; border-radius: 18px; }
.hl-map-sea, .hl-map-water { fill: #0A1B30; }
.hl-map-water { stroke: rgba(122, 170, 230, .34); stroke-width: .8; }
.hl-map-land { fill: #13233A; stroke: rgba(122, 170, 230, .30); stroke-width: .8; }
.hl-map-land--served { fill: #1C3252; }
.hl-map-county-line { fill: none; stroke: rgba(255, 255, 255, .17); stroke-width: 1; stroke-dasharray: 5 4; }
.hl-map-road, .hl-map-road-casing { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hl-map-road--express { stroke: rgba(255, 255, 255, .24); stroke-width: 1.5; }
.hl-map-road-casing { stroke: #0B1424; stroke-width: 4.6; opacity: .75; }
.hl-map-road--interstate { stroke: rgba(222, 230, 240, .62); stroke-width: 2.3; }
.hl-map-frame { fill: none; stroke: rgba(255, 255, 255, .12); }
.hl-map-county-label { fill: rgba(255, 255, 255, .34); font: 700 11.5px var(--hl-font-body); letter-spacing: .16em; }
.hl-map-county-label--other { fill: rgba(255, 255, 255, .19); }
.hl-map-water-label { fill: rgba(150, 192, 240, .7); font: italic 500 12.5px var(--hl-font-body); letter-spacing: .02em; }
.hl-map-shield text { font: 700 10.5px var(--hl-font-body); }
.hl-map-shield-body { fill: #1F4E9E; }
.hl-map-shield-top { fill: #D3202F; }
.hl-map-shield--i text { fill: #fff; }
.hl-map-shield--toll rect, .hl-map-shield--state rect { fill: #E9EEF4; stroke: #0B1424; stroke-width: 1; }
.hl-map-shield--toll text, .hl-map-shield--state text { fill: #0B1424; font-size: 10px; }
.hl-map-away rect { fill: rgba(11, 20, 36, .82); stroke: var(--hl-red-on-dark); stroke-width: 1.2; }
.hl-map-away path { fill: none; stroke: var(--hl-red-on-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hl-map-away text { fill: #fff; font: 600 12px var(--hl-font-body); }
.hl-map-scale path { fill: none; stroke: rgba(255, 255, 255, .62); stroke-width: 1.5; }
.hl-map-scale text { fill: rgba(255, 255, 255, .62); font: 600 11px var(--hl-font-body); }
.hl-map-north circle { fill: rgba(11, 20, 36, .7); stroke: rgba(255, 255, 255, .28); }
.hl-map-north path { fill: rgba(255, 255, 255, .85); }
.hl-map-north text { fill: rgba(255, 255, 255, .62); font: 700 10px var(--hl-font-body); }
.hl-map-leader { stroke: rgba(255, 255, 255, .7); stroke-width: 1.3; }
.hl-map-dot { fill: var(--hl-white); stroke: var(--hl-navy-deep); stroke-width: 2.5; transition: fill .2s ease; }
.hl-map-city--hq .hl-map-dot { fill: var(--hl-red); stroke: var(--hl-white); stroke-width: 2.5; }
.hl-map-hq-ring { fill: rgba(227, 30, 47, .16); stroke: var(--hl-red-on-dark); stroke-width: 1.6; }
.hl-map-city text { fill: rgba(255, 255, 255, .94); font: 600 17px var(--hl-font-body); paint-order: stroke; stroke: #0B1424; stroke-width: 4px; stroke-linejoin: round; transition: fill .2s ease; }
.hl-map-city--hq text { font-weight: 700; fill: var(--hl-white); }
.hl-map-city:hover .hl-map-dot, .hl-map-city:focus .hl-map-dot, .hl-map-city.is-hot .hl-map-dot, .hl-map-city.is-current .hl-map-dot { fill: var(--hl-red-on-dark); stroke: var(--hl-white); }
.hl-map-city:hover text, .hl-map-city:focus text, .hl-map-city.is-hot text, .hl-map-city.is-current text { fill: var(--hl-red-on-dark); }
.hl-map-city.is-current .hl-map-dot { r: 10; }
.hl-map-city:focus { outline: none; }
.hl-map-city:focus-visible text { text-decoration: underline; }
.hl-map-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 14px; font-size: var(--hl-fs-micro); color: var(--hl-text-on-dark-muted); }
.hl-map-leg { display: inline-flex; align-items: center; gap: 8px; }
.hl-map-leg::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; }
.hl-map-leg--hq::before { background: var(--hl-red); box-shadow: 0 0 0 3px rgba(227, 30, 47, .25); }
.hl-map-leg--city::before { background: var(--hl-white); }
.hl-map-leg--served::before { width: 16px; height: 11px; border-radius: 2px; background: #1C3252; border: 1px dashed rgba(255, 255, 255, .35); }
.hl-map-leg--road::before { width: 18px; height: 3px; border-radius: 2px; background: rgba(222, 230, 240, .62); }
@media (max-width: 560px) {
  .hl-map-city:not(.hl-map-city--hq):not(.is-current) text, .hl-map-leader, .hl-map-shield--toll, .hl-map-shield--state, .hl-map-water-label { display: none; }
  .hl-map-city text { font-size: 28px; }
  .hl-map-county-label, .hl-map-scale text { display: none; }
}

/* Image not uploaded yet: dashed box with the Media file name to upload */
.hl-missing { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; padding: 16px; background: var(--hl-surface); border: 1.5px dashed var(--hl-border-strong); color: var(--hl-text-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; text-align: center; text-transform: uppercase; }
.section--dark .hl-missing { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.28); color: var(--hl-text-on-dark-muted); }
.card .hl-missing { border-width: 0 0 1.5px; }

/* FAQ (DS: hairlines, navy 700 summary, red + / ×) */
.faq-section .faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--hl-header-h) + 32px); }
.faq-intro h2 { margin-bottom: 20px; }
.faq-intro p { color: var(--hl-text-muted); margin-bottom: 12px; max-width: 40ch; }
.faq-intro .eyebrow { color: var(--hl-red); margin-bottom: 18px; }
.faq-count { display: block; margin-top: 24px; font-size: var(--hl-fs-micro); color: var(--hl-text-muted); }
.faq { border-top: 1px solid var(--hl-border); }
.faq details { border-bottom: 1px solid var(--hl-border); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; color: var(--hl-navy); font-size: 18px; font-weight: 700; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; color: var(--hl-red); font-size: 26px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "×"; }
.faq details p { max-width: 800px; padding: 0 0 24px; color: var(--hl-text-muted); }
.faq details p + p { margin-top: -10px; }

/* CTA (DS) */
.cta { position: relative; overflow: hidden; padding: 64px; display: grid; grid-template-columns: 1.45fr .55fr; align-items: center; gap: 30px; background: var(--hl-navy); color: rgba(255,255,255,.80); border-radius: var(--hl-radius-xl); }
.cta::after { content: ""; position: absolute; right: -90px; top: -140px; width: 330px; height: 330px; border: 34px solid rgba(227,30,47,.16); border-radius: 50%; }
.cta > * { position: relative; z-index: 1; }
.cta .eyebrow { color: var(--hl-red-on-dark); }
.cta h2 { color: var(--hl-white); margin-bottom: 14px; }
.cta__action { display: grid; justify-items: end; gap: 14px; text-align: right; }
.cta__contact { font-size: var(--hl-fs-xs); color: var(--hl-text-on-dark-muted); line-height: 1.5; }
.cta__contact a { color: var(--hl-white); font-weight: 700; font-size: var(--hl-fs-body); }

/* Related services */
.related { padding: var(--hl-section-y-compact) 0 var(--hl-section-y); }
.related-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.related-head h2 { font-size: var(--hl-fs-h3); }
.related-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.related-grid .card__body { padding: 20px; }
.related-grid h3 { font-size: 18px; line-height: 1.25; margin-bottom: 4px; letter-spacing: -.02em; }
.related-grid .card__image { aspect-ratio: 3 / 2; }
.related-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Footer (DS) */
.footer__accent { height: 5px; background: var(--hl-red); }
.footer { padding: 80px 0 calc(110px + env(safe-area-inset-bottom)); background: var(--hl-navy-deep); color: rgba(255,255,255,.65); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .85fr 1.5fr; gap: 50px; }
.footer .brand { display: inline-flex; padding: 10px 16px; background: var(--hl-white); border-radius: var(--hl-radius-md); }
.footer .brand > img { height: 52px; max-width: 180px; }
.footer .brand .brand-logo { height: 58px; }
.footer-about p { margin-top: 18px; font-size: var(--hl-fs-xs); max-width: 34ch; }
.footer-contact { list-style: none; display: grid; gap: 10px; margin-top: 22px; font-size: var(--hl-fs-xs); }
.footer-contact a { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: var(--hl-white); }
.footer-contact svg { width: 16px; height: 16px; margin-top: 3px; color: var(--hl-red-on-dark); }
.footer .footer-social { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 22px; }
.footer .footer-social a { margin: 0; font-size: var(--hl-fs-micro); font-weight: 600; color: rgba(255,255,255,.85); }
.footer-counties { display: grid; gap: 22px; }
.footer .footer-counties nav { display: flex; flex-wrap: wrap; column-gap: 16px; }
.footer .footer-counties nav .footer-county { flex-basis: 100%; }
.footer .footer-counties nav a { display: inline-block; margin: 5px 0; }
.footer-county { margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hl-red-on-dark); }
.footer h3 { margin-bottom: 18px; color: var(--hl-white); font-family: var(--hl-font-display); font-size: var(--hl-fs-micro); letter-spacing: .07em; text-transform: uppercase; }
.footer nav a, .footer-areas li { display: block; margin: 9px 0; font-size: var(--hl-fs-xs); }
.footer-areas { list-style: none; }
.footer nav a:hover { color: var(--hl-white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 34px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.10); font-size: var(--hl-fs-micro); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: start; }
.footer-legal a:hover { color: var(--hl-white); }
.footer-legal .up { display: inline-flex; gap: 6px; align-items: center; }
.footer-legal .arrow { width: 12px; height: 12px; transform: rotate(-45deg); }

/* Quick contact bar (same as Home template) */
#hilow-contact-actions { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 9990; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 336px; max-width: calc(100vw - 40px); height: 72px; color: #fff; background: var(--hl-navy); border: 1px solid rgba(255,255,255,.18); border-bottom: 2px solid var(--hl-red); border-radius: var(--hl-radius-sm); box-shadow: 0 8px 28px rgba(17,30,50,.24); overflow: hidden; font-family: var(--hl-font-body); }
#hilow-contact-actions .hilow-contact-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 0; height: 100%; padding: 10px 4px; color: #fff; border-right: 1px solid rgba(255,255,255,.18); font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .055em; transition: background-color .18s ease; }
#hilow-contact-actions .hilow-contact-action:last-child { border-right: 0; }
#hilow-contact-actions .hilow-contact-action svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#hilow-contact-actions .hilow-contact-action:hover, #hilow-contact-actions .hilow-contact-action:focus-visible { background: var(--hl-red); }

/* YouTube video: thumbnail first, the player loads on click (youtube-nocookie) */
.hl-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--hl-radius-lg); background: #000; isolation: isolate; }
.hl-video__play { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.hl-video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .5s var(--hl-ease), opacity .3s ease; }
.hl-video__play:hover img, .hl-video__play:focus-visible img { transform: scale(1.04); opacity: 1; }
.hl-video__play:focus-visible { outline: 3px solid var(--hl-red); outline-offset: -3px; }
.hl-video__icon { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); border-radius: 14px; background: var(--hl-red); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s ease, background .2s ease; }
.hl-video__icon::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-38%, -50%); border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.hl-video__play:hover .hl-video__icon { transform: translate(-50%, -50%) scale(1.08); background: var(--hl-red-hover); }
.hl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hl-video-card h3 { margin-top: 16px; font-size: var(--hl-fs-h4); }
.hl-video-card p { color: var(--hl-text-muted); font-size: var(--hl-fs-sm); }
.hl-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
@media (max-width: 1000px) { .hl-video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hl-video-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Article content from the WordPress editor (blog posts, legal pages) */
.hl-prose { max-width: 740px; color: var(--hl-text); font-size: 18px; line-height: 1.75; }
.hl-prose > :first-child { margin-top: 0 !important; }
.hl-prose p { margin: 0 0 1.15em; }
.hl-prose :where(h1, h2, h3, h4, h5, h6) { margin: 1.9em 0 .55em; color: var(--hl-navy); font-family: var(--hl-font-display); font-weight: 600; letter-spacing: -.025em; scroll-margin-top: calc(var(--hl-header-h) + 24px); }
.hl-prose :where(h1, h2) { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.18; }
.hl-prose h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.25; }
.hl-prose :where(h4, h5, h6) { font-size: 19px; line-height: 1.3; }
.hl-prose :where(h1, h2, h3, h4) strong { font-weight: inherit; }
.hl-prose strong { color: var(--hl-navy); }
.hl-prose a { color: var(--hl-red); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hl-prose a:hover { color: var(--hl-navy); }
.hl-prose :where(ul, ol) { margin: 0 0 1.3em; padding-left: 1.3em; }
.hl-prose ul { list-style: disc; }
.hl-prose ol { list-style: decimal; }
.hl-prose li { margin: 0 0 .45em; padding-left: .2em; }
.hl-prose li::marker { color: var(--hl-red); font-weight: 700; }
.hl-prose li > :where(ul, ol) { margin: .45em 0 0; }
.hl-prose :where(img) { height: auto; border-radius: var(--hl-radius-md); }
.hl-prose figure { margin: 2em 0; }
.hl-prose figure img { width: 100%; }
.hl-prose figcaption { margin-top: 10px; color: var(--hl-text-muted); font-size: var(--hl-fs-xs); line-height: 1.5; text-align: left; }
.hl-prose blockquote { margin: 2em 0; padding: 22px 26px; border-left: 4px solid var(--hl-red); border-radius: 0 var(--hl-radius-md) var(--hl-radius-md) 0; background: var(--hl-surface); font-size: 17px; }
.hl-prose blockquote p:last-child { margin-bottom: 0; }
.hl-prose blockquote :where(cite, .cite-source) { display: block; margin-top: 10px; color: var(--hl-text-muted); font-size: var(--hl-fs-xs); font-style: normal; }
.hl-prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--hl-border); }
.hl-prose code { padding: 2px 6px; border-radius: 4px; background: var(--hl-surface); font-size: .88em; }
.hl-prose :where(.wp-block-table, .ps-table) { margin: 2em 0; overflow-x: auto; border: 1px solid var(--hl-border); border-radius: var(--hl-radius-md); }
.hl-prose table { width: 100%; min-width: 520px; margin: 0; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.hl-prose :where(th, td) { padding: 12px 16px !important; border: 0 !important; border-bottom: 1px solid var(--hl-border) !important; background: none !important; text-align: left !important; vertical-align: top; color: var(--hl-text); }
.hl-prose th { background: var(--hl-surface) !important; color: var(--hl-navy); font-weight: 700; }
.hl-prose tr:last-child :where(td, th) { border-bottom: 0 !important; }
.hl-prose tbody tr:nth-child(even) td { background: #fafbfc !important; }
.hl-prose :where(.wp-block-table, .ps-table) figcaption { padding: 0 16px 12px; }
.hl-prose iframe { max-width: 100%; border: 0; border-radius: var(--hl-radius-md); }
.hl-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.hl-prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.hl-prose .aligncenter { margin-inline: auto; }

@media (max-width: 600px) { .hl-prose { font-size: 17px; } }

/* Blog post cards (Blog page, archives, related posts, 404) */
/* Google reviews widget (Trustindex) */
.hl-reviews-widget { min-height: 240px; }
:where(.hl-reviews-widget) img { display: inline; }

.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.bl-card { display: flex; flex-direction: column; }
.bl-card-media { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--hl-radius-lg); background: var(--hl-navy); }
.bl-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--hl-ease); }
.bl-card:hover .bl-card-media img { transform: scale(1.04); }
.bl-card-noimg { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 80% 20%, rgba(227,30,47,.35), transparent 55%), var(--hl-navy); }
.bl-card-noimg span { color: rgba(255,255,255,.5); font-family: var(--hl-font-display); font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.bl-card-body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.bl-card-meta { font-size: var(--hl-fs-eyebrow); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hl-red); }
.bl-card-title { margin: 8px 0 10px; font-size: var(--hl-fs-h4); line-height: 1.25; }
.bl-card-title a:hover { color: var(--hl-red); }
.bl-card-excerpt { color: var(--hl-text-muted); font-size: var(--hl-fs-sm); margin-bottom: 8px; }
.bl-card .text-link { margin-top: auto; }
.bl-card--featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(28px, 4vw, 56px); align-items: center; margin-bottom: var(--hl-space-6); padding-bottom: var(--hl-space-6); border-bottom: 1px solid var(--hl-border); }
.bl-card--featured .bl-card-body { padding-top: 0; }
.bl-card--featured .bl-card-title { font-size: var(--hl-fs-h2); line-height: 1.1; letter-spacing: -.03em; }
.bl-card--featured .bl-card-excerpt { font-size: var(--hl-fs-body); }
.bl-card-meta span { margin: 0 8px; color: var(--hl-text-muted); }
@media (max-width: 1000px) { .bl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .bl-card--featured { grid-template-columns: 1fr; } .bl-card--featured .bl-card-title { font-size: var(--hl-fs-h3); } }
@media (max-width: 600px) { .bl-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Dialog close button (Home gallery lightbox) */
.close-dialog { width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0; background: transparent; border: 1px solid var(--hl-border); border-radius: 50%; color: inherit; }
.close-dialog svg { width: 18px; height: 18px; }

/* Responsive */
@media (max-width: 1100px) {
  .nav, .header-phone span { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.open { display: grid; gap: 0; max-height: calc(100vh - 140px); overflow-y: auto; padding: 12px 20px 24px; border-top: 1px solid var(--hl-border); background: #fff; }
  .mobile-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--hl-border); font-weight: 600; color: var(--hl-navy); }
  .mobile-nav a[aria-current="page"] { color: var(--hl-red); }
  .mobile-nav__label { padding: 10px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hl-red); }
  .mobile-nav a.mobile-nav__sub { padding: 11px 0 11px 14px; font-weight: 500; font-size: var(--hl-fs-sm); }
  .mobile-nav .btn { margin-top: 14px; }
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .credential-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credential:nth-child(2n) { border-right: 0; }
  .credential:nth-child(-n+2) { border-bottom: 1px solid var(--hl-border); }
  .cta { grid-template-columns: 1fr; }
  .cta__action { justify-items: start; text-align: left; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .faq-section .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}
@media (max-width: 700px) {
  :root { --hl-section-y: 72px; --hl-section-y-compact: 58px; --hl-header-h: 72px; --hl-fs-lead: 18px; --hl-fs-stat: 48px; }
  .wrap { width: min(calc(100% - 40px), var(--hl-container)); }
  .notice .wrap { justify-content: center; text-align: center; }
  .notice .license { display: none; }
  .brand img { height: 46px; max-width: 160px; }
  .brand-logo { height: 52px; }
  .header-actions .btn { min-height: 46px; padding-inline: 16px; font-size: var(--hl-fs-micro); }
  .hl-hero { min-height: 690px; }
  .hl-hero__lede { font-size: 17px; }
  .credential-strip { grid-template-columns: 1fr; }
  .credential { border-right: 0; border-bottom: 1px solid var(--hl-border); }
  .credential:last-child { border-bottom: 0; }
  .cta { padding: 38px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .related-head { flex-direction: column; align-items: start; }
}
@media (max-width: 480px) {
  .header-actions .btn.red { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  #hilow-contact-actions { width: 288px; max-width: calc(100vw - 24px); height: 66px; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html.hilow-roofing-document { scroll-behavior: auto; }
  #hilow-site *, #hilow-site *::before, #hilow-site *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js-motion .headline-line, .js-motion .reveal { transform: none !important; opacity: 1 !important; }
}
