/* ============================================================================
   assets/css/styles.css -- root custom-property legend
   ============================================================================
   This stylesheet is shared across every page of the generated site (no
   templating engine, no build step -- plain static CSS). All theme values
   live as custom properties on :root at the top of the file. When
   generating a real site from this template, only the BRAND-SPECIFIC
   tokens below should be edited, using the customer record's
   "Color Preferences" field. If "Color Preferences" is empty for a given
   customer, KEEP THIS DEFAULT PALETTE rather than inventing a new one.

   BRAND-SPECIFIC (swap per customer's "Color Preferences"):
     --red         primary accent / CTA color
     --red-dark    hover/active shade of --red
     --orange      secondary accent color
     --ink         primary text color (near-black)
     --ink-soft    secondary/muted text color -- a tinted shade paired with
                   --ink; not named explicitly in the source guide, but
                   included here on the judgment call that a muted text
                   color should travel with its parent --ink if the brand's
                   ink color ever changes (e.g. a warm brown instead of
                   near-black), so the two stay visually harmonized.
     --warm        warm/cream background tint used for alternating sections
     --paper       near-white warm background (page base) -- BORDERLINE
                   CALL: not explicitly named brand-specific by the source
                   guide, but it sits in the exact same "warm/cream"
                   family as --warm (#fffdfc vs #faf7f3, both off-white
                   with a warm cast) and is used with comparable frequency.
                   Classified as brand-specific here for palette
                   consistency with --warm; a purely neutral/cool palette
                   preference should be free to cool this down too.

   STRUCTURAL / FIXED (do not change per customer -- layout, spacing,
   typography scale, or true neutrals, not brand identity):
     --line        default border/divider color -- BORDERLINE CALL: it
                   carries a faint warm tint (matches the --paper/--warm
                   family), but it is used purely as a structural
                   separator (132 uses across cards, forms, rules) rather
                   than a brand identity color, so it is kept fixed.
     --line-dark   darker divider variant, same reasoning as --line.
     --white       true, pure #fff -- a real neutral, not a brand color.
     --container   max page-content width
     --page-gutter responsive side padding (clamp)
     --shadow-sm   small drop-shadow token
     --shadow-md   medium drop-shadow token
     --header-height  fixed nav height used for scroll-padding offsets
     --font-display   display/heading font-family token
     --font-sans      body/UI font-family token
   ============================================================================ */

/* index-D8HOeS9N.css */
/* ===== FONTS ===== */
@font-face {
  font-family: DM Serif Display;
  src: url(../fonts/dm-serif-display-latin.woff2)format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url(../fonts/manrope-latin.woff2)format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

/* ===== ROOT TOKENS ===== */
:root {
  --ink: #151719;
  --ink-soft: #4f555a;
  --red: #c60808;
  --red-dark: #a90000;
  --orange: #f4a000;
  --paper: #fffdfc;
  --warm: #faf7f3;
  --line: #e7e2db;
  --line-dark: #d8d1c8;
  --white: #fff;
  --container: 1312px;
  --page-gutter: clamp(16px, 4.44vw, 64px);
  --shadow-sm: 0 6px 20px #2019110f;
  --shadow-md: 0 18px 44px #2019111a;
  --header-height: 74px;
  --font-display: "DM Serif Display";
  --font-sans: "Manrope";
}

/* ===== RESET / BASE ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans), Arial, sans-serif;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-size: 16px;
  line-height: 1.625;
}

body.menu-lock {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

main,
section,
.container,
.inner-two-column>*,
.inner-split>*,
.service-area__grid>*,
.reviews-faq__grid>* {
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display), Georgia, serif;
  letter-spacing: -.025em;
  font-weight: 400;
  line-height: .98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem,3.15vw,3rem);
}

h3 {
  line-height: 1.25;
}

::selection {
  color: var(--white);
  background: var(--red);
}

:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #f4a000ad;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.section {
  border-top: 1px solid var(--line);
  padding-block: 62px;
}

.skip-link {
  z-index: 1000;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  padding: 10px 14px;
  transition: transform .2s;
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.eyebrow {
  color: var(--orange);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.4;
}

.eyebrow--dark {
  color: var(--ink);
}

/* ===== BUTTONS / CTA ===== */
.button {
  border: 1px solid #0000;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  font-size: .77rem;
  font-weight: 800;
  line-height: 1.2;
  transition: color .18s,background-color .18s,border-color .18s,transform .18s,box-shadow .18s;
  display: inline-flex;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--white);
  background-color: var(--red);
  border-color: var(--red);
  box-shadow: 0 8px 20px #c608082e;
}

.button--primary:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 10px 24px #c6080840;
}

.button--outline {
  background-color: #0000;
  border-color: #a9a59f;
}

.button--outline:hover {
  color: var(--red);
  background-color: var(--white);
  border-color: var(--red);
}

.button--outline-inverse {
  color: var(--white);
  background-color: #0000;
  border-color: #ffffff80;
}

.button--outline-inverse:hover {
  color: var(--ink);
  background-color: var(--white);
  border-color: var(--white);
}

/* ===== HEADER / EMERGENCY BAR ===== */
.site-header {
  z-index: 50;
  background: var(--paper);
  position: sticky;
  top: -40px;
}

.emergency-bar {
  min-height: 40px;
  color: var(--red);
  border-bottom: 1px solid var(--line);
  background: #fffcfb;
}

.emergency-bar__inner {
  justify-content: space-between;
  align-items: stretch;
  min-height: 40px;
  display: flex;
}

.emergency-call {
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
}

.emergency-call__icon {
  width: 22px;
  height: 22px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  flex: 0 0 22px;
  place-items: center;
  font-size: .65rem;
  font-weight: 800;
  display: grid;
}

.emergency-call__label {
  color: #55595c;
}

.emergency-call strong {
  color: var(--red);
  letter-spacing: .025em;
  margin-left: 3px;
  font-size: .82rem;
}

.emergency-response {
  width: 300px;
  color: var(--white);
  background: var(--red);
  clip-path: polygon(14% 0,100% 0,100% 100%,0 100%);
  align-items: center;
  gap: 12px;
  margin-right: -1px;
  padding: 0 22px 0 45px;
  display: flex;
  position: relative;
}

.emergency-response__mark {
  width: 34px;
  height: 24px;
  color: var(--white);
  letter-spacing: .04em;
  background: #64000042;
  border: 1px solid #fff3;
  border-radius: 3px;
  flex: 0 0 34px;
  place-items: center;
  font-size: .55rem;
  font-weight: 800;
  display: grid;
}

.emergency-response__copy {
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
  display: flex;
}

.emergency-response__copy strong {
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .61rem;
}

.emergency-response__copy small {
  color: #ffffffb8;
  letter-spacing: .02em;
  margin-top: 1px;
  font-size: .49rem;
}

/* ===== NAV (DESKTOP) ===== */
.nav-shell {
  z-index: 60;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #fffdfcf7;
  border-bottom: 1px solid #0000;
  transition: border-color .25s,box-shadow .25s;
  position: relative;
}

.nav-shell.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 26px #1b18140f;
}

.nav-shell__inner {
  min-height: var(--header-height);
  align-items: center;
  gap: 22px;
  display: flex;
}

.brand {
  width: 174px;
  color: var(--ink);
  flex-direction: column;
  flex: none;
  align-items: center;
  display: flex;
}

.brand__asset {
  width: 100%;
  height: auto;
  display: block;
}

.brand__name {
  font-family: var(--font-display), Georgia, serif;
  letter-spacing: -.03em;
  font-size: 1.48rem;
  line-height: .9;
  position: relative;
}

.brand__name span {
  position: relative;
}

.brand__name span:before {
  content: "";
  background: var(--orange);
  border-radius: 90% 10% 70% 30%;
  width: 6px;
  height: 13px;
  position: absolute;
  top: -9px;
  left: 8px;
  transform: rotate(16deg);
}

.brand__rule {
  color: #565b5f;
  letter-spacing: .32em;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 100%;
  margin-top: 7px;
  font-size: .57rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
}

.brand__rule i {
  background: #9da1a3;
  width: 31px;
  height: 1px;
  display: block;
}

.desktop-nav {
  align-items: center;
  gap: clamp(12px,1.15vw,20px);
  margin-left: auto;
  font-size: .67rem;
  font-weight: 700;
  display: flex;
}

.desktop-nav>a,
.desktop-nav summary {
  white-space: nowrap;
  cursor: pointer;
  align-items: center;
  gap: 3px;
  min-height: 38px;
  list-style: none;
  display: flex;
  position: relative;
}

.desktop-nav summary::-webkit-details-marker {
  display: none;
}

.desktop-nav>a:after,
.desktop-nav summary:after {
  content: "";
  background: var(--red);
  transform-origin: 0;
  height: 2px;
  transition: transform .2s;
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  transform: scaleX(0);
}

.desktop-nav>a:hover:after,
.desktop-nav>a.is-active:after,
.desktop-nav details[open] summary:after {
  transform: scaleX(1);
}

.desktop-nav details {
  position: relative;
}

.dropdown-panel {
  background: var(--white);
  border: 1px solid var(--line);
  width: 224px;
  box-shadow: var(--shadow-md);
  border-radius: 6px;
  gap: 2px;
  padding: 10px;
  display: grid;
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
}

.dropdown-panel a {
  border-radius: 4px;
  padding: 10px 12px;
  transition: color .2s,background .2s;
}

.dropdown-panel a:hover {
  color: var(--red);
  background: var(--warm);
}

.nav-cta {
  white-space: nowrap;
  min-height: 40px;
  padding-inline: 15px;
  font-size: .64rem;
}

/* ===== MOBILE NAV ===== */
.menu-toggle {
  border: 1px solid var(--line-dark);
  cursor: pointer;
  background: 0 0;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  display: none;
}

.mobile-nav {
  background: var(--paper);
  opacity: 0;
  border-top: 1px solid #0000;
  max-height: 0;
  transition: max-height .35s,opacity .25s;
  overflow: hidden;
}

.mobile-nav nav {
  width: min(100% - 40px,680px);
  margin-inline: auto;
  padding: 16px 0 28px;
  display: grid;
}

.mobile-nav nav>a:not(.button) {
  border-bottom: 1px solid var(--line);
  padding: 13px 4px;
  font-size: .92rem;
  font-weight: 700;
}

.mobile-nav .button {
  margin-top: 18px;
}

.mobile-nav.is-open {
  max-height: calc(100dvh - var(--header-height));
  border-color: var(--line);
  opacity: 1;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 34%, transparent 66%), var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  align-items: center;
  min-height: 522px;
  display: flex;
  position: relative;
}

.hero__copy {
  z-index: 4;
  width: 49%;
  padding: 56px 0 44px;
  position: relative;
}

.hero h1 {
  letter-spacing: -.034em;
  text-wrap: balance;
  max-width: 610px;
  margin-bottom: 18px;
  font-size: clamp(3.15rem,4vw,4rem);
  line-height: .975;
}

.hero .eyebrow {
  letter-spacing: .17em;
  margin-bottom: 9px;
  font-size: .69rem;
}

.hero__lead {
  max-width: 540px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.62;
}

.button-row {
  align-items: center;
  gap: 12px;
  display: flex;
}

.hero .button-row .button {
  min-height: 46px;
  padding-inline: 18px;
  font-size: .68rem;
}

.hero__location {
  color: #5c6166;
  align-items: center;
  gap: 8px;
  margin: 23px 0 0;
  font-size: .72rem;
  font-weight: 700;
  display: flex;
}

.hero__visual {
  z-index: 2;
  width: 74%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -64px;
  overflow: hidden;
}

.hero__visual:after {
  content: "";
  z-index: 2;
  background: linear-gradient(90deg, var(--paper) 0%, #fffdfcf0 13%, #fffdfc7a 25%, #fffdfc00 43%), linear-gradient(180deg, transparent 76%, #1517190d 100%);
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.hero__visual picture {
  display: block;
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(90deg,#0000 0%,#000000b8 18%,#000 34%);
  mask-image: linear-gradient(90deg,#0000 0%,#000000b8 18%,#000 34%);
}

.hero__visual img {
  object-fit: cover;
  object-position: 67% center;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero-radar {
  z-index: 1;
  aspect-ratio: 1;
  background: repeating-linear-gradient(26deg,#0000 0 34px,#5a7f9709 35px 36px),repeating-linear-gradient(112deg,#0000 0 48px,#5a7f9709 49px 50px);
  border: 1px solid #5a7f9717;
  border-radius: 50%;
  width: 420px;
  position: absolute;
  top: 47%;
  left: 40%;
  transform: translate(-50%,-50%);
}

.hero-radar:before,
.hero-radar:after,
.hero-radar span {
  content: "";
  border: 1px solid #5a7f9714;
  border-radius: 50%;
  position: absolute;
}

.hero-radar:before {
  inset: 18%;
}

.hero-radar:after {
  inset: 36%;
}

.hero-radar span:first-child {
  border-width: 1px 0 0;
  border-radius: 0;
  height: 0;
  top: 50%;
  left: 0;
  right: 0;
}

.hero-radar span:nth-child(2) {
  border-width: 0 0 0 1px;
  border-radius: 0;
  width: 0;
  top: 0;
  bottom: 0;
  left: 50%;
}

.hero-radar span:nth-child(3) {
  background: radial-gradient(circle at 52% 53%,#f4a0001f,#70b59114 24%,#0000 58%);
  border: 0;
  inset: 7%;
}

.hero-radar i {
  background: var(--red);
  box-sizing: content-box;
  border: 4px solid #c608081a;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 49%;
  left: 48%;
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.trust-strip__inner {
  grid-template-columns: 1.25fr 1.16fr 1fr 1fr 1.14fr;
  align-items: center;
  min-height: 68px;
  display: grid;
}

.trust-item {
  border-left: 1px solid var(--line);
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 0 18px;
  display: flex;
  position: relative;
}

.trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-item svg {
  color: #73797c;
  flex: none;
}

.trust-item div {
  flex-direction: column;
  display: flex;
}

.trust-item small {
  color: #767b7f;
  letter-spacing: .02em;
  font-size: .57rem;
  font-weight: 700;
  line-height: 1.35;
}

.trust-item strong {
  font-size: .68rem;
  line-height: 1.35;
}

.trust-item--live small {
  color: var(--orange);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 800;
}

.trust-item--live:after {
  content: "";
  background: var(--orange);
  height: 2px;
  position: absolute;
  bottom: -14px;
  left: 0;
  right: 18px;
}

.live-dot {
  background: var(--orange);
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 5px #f4a0001c;
}

.mini-stars {
  color: var(--orange);
  letter-spacing: .08em;
  margin-left: 4px;
  font-size: .72rem;
  line-height: 1.2;
}

/* ===== PROCESS STEPS ===== */
.process {
  background: var(--paper);
}

.process__inner {
  grid-template-columns: 262px 1fr;
  align-items: center;
  gap: 44px;
  display: grid;
}

.process__intro {
  border-right: 1px solid var(--line);
  padding: 8px 40px 8px 0;
}

.process__intro h2 {
  margin-bottom: 10px;
  font-size: 2.42rem;
  line-height: 1;
}

.process__intro h2 span {
  color: var(--orange);
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: .8em;
}

.process__intro>p:last-child {
  color: var(--ink-soft);
  margin-bottom: 0;
  font-size: .75rem;
}

.process__steps {
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 8px;
  display: grid;
}

.process-step {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 154px;
  padding: 4px 12px;
  display: flex;
}

.process-step>svg {
  color: #313639;
  width: 66px;
  height: 66px;
  margin-inline: auto;
}

.process-step h3 {
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 13px 0 6px;
  font-size: .71rem;
}

.process-step p {
  max-width: 220px;
  color: var(--ink-soft);
  margin: 0 auto;
  font-size: .66rem;
  line-height: 1.55;
}

.process-arrow {
  color: var(--orange);
  opacity: .9;
}

/* ===== RESULTS / BEFORE-AFTER COMPARISON ===== */
.results {
  background: var(--warm);
  padding-block: 42px;
}

.results__inner {
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 30px;
  display: grid;
}

.results__intro h2 {
  margin-bottom: 12px;
  font-size: 1.9rem;
}

.results__intro>p:not(.eyebrow) {
  max-width: 170px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: .73rem;
}

.results__intro .button {
  min-height: 40px;
  padding-inline: 14px;
  font-size: .65rem;
}

.comparison {
  --compare: 50%;
  aspect-ratio: 4.05;
  border: 6px solid var(--white);
  background: #d9dde0;
  border-radius: 4px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px #2019111a;
}

.comparison img {
  object-fit: cover;
  object-position: center 45%;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.comparison__before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--compare)) 0 0);
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.comparison__label {
  z-index: 5;
  color: var(--white);
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 6px 10px;
  font-size: .56rem;
  font-weight: 800;
  line-height: 1;
  position: absolute;
  top: 11px;
}

.comparison__label--before {
  background: #151719e0;
  left: 11px;
}

.comparison__label--after {
  background: #f4a000f2;
  right: 11px;
}

.comparison__line {
  z-index: 6;
  top: 0;
  bottom: 0;
  left: var(--compare);
  background: var(--white);
  pointer-events: none;
  width: 2px;
  position: absolute;
  transform: translate(-1px);
}

.comparison__line i {
  color: #454b4e;
  background: var(--white);
  letter-spacing: 4px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-style: normal;
  font-weight: 800;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 4px 16px #00000029;
}

.comparison input[type=range] {
  z-index: 10;
  cursor: ew-resize;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  inset: 0;
}

/* ===== SERVICES GRID / SWIPER ===== */
.services {
  background: var(--paper);
  padding-block: 54px;
  overflow: hidden;
}

.section-heading {
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 24px;
  display: flex;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  max-width: 420px;
  color: var(--ink-soft);
  text-align: right;
  margin-bottom: 4px;
  font-size: .75rem;
}

.services .section-heading h2 {
  font-size: clamp(2rem,2.75vw,2.55rem);
}

.services-swiper,
.reviews-swiper {
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.services-swiper>.swiper-wrapper,
.reviews-swiper>.swiper-wrapper {
  align-items: stretch;
  gap: 18px;
  width: 100%;
  display: grid;
  transform: none;
}

.services-swiper>.swiper-wrapper {
  grid-template-columns: repeat(5,minmax(0,1fr));
}

.reviews-swiper>.swiper-wrapper {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.services-swiper .swiper-slide,
.reviews-swiper .swiper-slide {
  min-width: 0;
  height: auto;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  height: 100%;
  min-height: 320px;
  transition: transform .25s,border-color .25s,box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: #d5cec4;
  transform: translateY(-5px);
  box-shadow: 0 16px 36px #2019111c;
}

.service-card__image {
  background: #d8dcdd;
  height: 142px;
  position: relative;
  overflow: hidden;
}

.service-card__image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .5s;
}

.service-card__image:after {
  content: "";
  pointer-events: none;
  background: linear-gradient(#0000,#15171929);
  height: 34%;
  position: absolute;
  inset: auto 0 0;
}

.service-card:hover .service-card__image img {
  transform: scale(1.045);
}

.service-card__icon {
  color: #555b5e;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  display: flex;
  position: absolute;
  top: 123px;
  left: 15px;
  box-shadow: 0 6px 16px #14141414;
}

.service-card__body {
  padding: 27px 15px 16px;
}

.service-card h3 {
  font-family: var(--font-display), Georgia, serif;
  margin-bottom: 7px;
  font-size: 1rem;
  font-weight: 400;
}

.service-card p {
  min-height: 54px;
  color: var(--ink-soft);
  margin-bottom: 12px;
  font-size: .65rem;
  line-height: 1.5;
}

.service-card a,
.text-link {
  color: var(--red);
  align-items: center;
  gap: 5px;
  font-size: .66rem;
  font-weight: 800;
  display: inline-flex;
}

.services-swiper .swiper-button-prev,
.services-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev,
.reviews-swiper .swiper-button-next {
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 50%;
}

.services-swiper .swiper-button-prev:after,
.services-swiper .swiper-button-next:after,
.reviews-swiper .swiper-button-prev:after,
.reviews-swiper .swiper-button-next:after {
  font-size: 13px;
  font-weight: 900;
}

.swiper-pagination-bullet-active {
  background: var(--red)!important;
}

/* ===== SERVICE AREA / MAP ===== */
.service-area {
  background: var(--warm);
  padding-block: 54px;
}

.service-area__grid {
  grid-template-columns: .92fr 1.24fr 1.08fr;
  gap: 22px;
  display: grid;
}

.service-area__copy {
  padding: 10px 6px 10px 0;
}

.service-area__copy h2 {
  font-size: 2.08rem;
  line-height: 1.03;
}

.area-list {
  grid-template-columns: 1fr 1fr;
  gap: 7px 15px;
  margin: 19px 0 21px;
  display: grid;
}

.area-list span {
  align-items: center;
  gap: 7px;
  font-size: .68rem;
  font-weight: 700;
  display: flex;
}

.area-list svg {
  color: var(--red);
}

.service-area__copy .button {
  min-height: 40px;
  padding-inline: 15px;
  font-size: .64rem;
}

.service-map {
  border: 1px solid var(--line);
  min-height: 360px;
  box-shadow: var(--shadow-sm);
  background: radial-gradient(circle at 76% 16%,#8eb19726,#0000 23%),radial-gradient(circle at 18% 76%,#8eb19721,#0000 25%),repeating-linear-gradient(68deg,#0000 0 24px,#ffffff9e 25px 27px,#0000 28px 48px),repeating-linear-gradient(35deg,#0000 0 38px,#cdc6b833 39px 40px,#0000 41px 64px),#f4f1e8;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.service-map:before,
.service-map:after {
  content: "";
  transform-origin: 0;
  background: #97b5c670;
  border: 2px solid #ffffffd6;
  border-radius: 999px;
  height: 5px;
  position: absolute;
}

.service-map:before {
  width: 120%;
  top: 29%;
  left: -8%;
  transform: rotate(11deg);
}

.service-map:after {
  width: 125%;
  top: 70%;
  left: -12%;
  transform: rotate(-16deg);
}

.map-road {
  background: #fffffff0;
  width: 3px;
  height: 130%;
  position: absolute;
  box-shadow: 0 0 0 1px #bdb7a947,0 0 10px #6f685b0f;
}

.map-road--one {
  top: -18%;
  left: 29%;
  transform: rotate(28deg);
}

.map-road--two {
  top: -7%;
  left: 69%;
  transform: rotate(-18deg);
}

.map-road--three {
  top: 7%;
  left: 48%;
  transform: rotate(4deg);
}

.map-road--four {
  top: -15%;
  left: 88%;
  transform: rotate(37deg);
}

.map-radius {
  aspect-ratio: 1;
  background: #54798f21;
  border: 1px solid #54798f40;
  border-radius: 50%;
  width: 190px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 12px #54798f09;
}

.map-pin {
  color: var(--red);
  flex-direction: column;
  align-items: center;
  display: flex;
  position: absolute;
  top: 49%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.map-pin svg {
  fill: var(--white);
  margin-bottom: 2px;
}

.map-pin strong {
  color: var(--ink);
  font-family: var(--font-display), Georgia, serif;
  background: #ffffffe6;
  border: 1px solid #d8d1c8cc;
  border-radius: 3px;
  padding: 2px 7px 3px;
  font-size: 1.05rem;
  box-shadow: 0 5px 12px #20191114;
}

.map-label {
  color: #687074;
  background: #ffffffa8;
  border-radius: 2px;
  padding: 2px 5px;
  font-size: .59rem;
  font-weight: 700;
  position: absolute;
}

.map-label--one {
  top: 12%;
  right: 12%;
}

.map-label--two {
  top: 57%;
  left: 12%;
}

.map-label--three {
  bottom: 12%;
  left: 25%;
}

.map-label--four {
  bottom: 18%;
  right: 12%;
}

.map-route {
  z-index: 2;
  color: #58768a;
  background: #ffffffe0;
  border: 1px solid #8fb2c573;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: .53rem;
  font-weight: 800;
  position: absolute;
}

.map-route--one {
  top: 23%;
  left: 18%;
  transform: rotate(11deg);
}

.map-route--two {
  bottom: 23%;
  right: 20%;
  transform: rotate(-16deg);
}

/* ===== ESTIMATE FORM ===== */
.estimate-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 6px;
  flex-direction: column;
  padding: 22px;
  display: flex;
}

.estimate-card h2 {
  margin-bottom: 4px;
  font-size: 1.78rem;
}

.estimate-card>p {
  color: var(--ink-soft);
  margin-bottom: 15px;
  font-size: .72rem;
}

.estimate-card label {
  display: block;
}

.estimate-card label>span {
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.form-row {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}

.estimate-card input,
.estimate-card select,
.estimate-card textarea {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: none;
  margin-bottom: 8px;
  padding: 0 11px;
  transition: border-color .2s,box-shadow .2s;
}

.estimate-card input,
.estimate-card select {
  height: 39px;
}

.estimate-card textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 10px;
}

.estimate-card input:focus,
.estimate-card select:focus,
.estimate-card textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #f4a0001f;
}

.estimate-card input::placeholder,
.estimate-card textarea::placeholder,
.estimate-card select {
  color: #85898c;
  font-size: .68rem;
}

.estimate-card .button {
  cursor: pointer;
  border: 0;
  width: 100%;
  min-height: 42px;
}

.estimate-card>small {
  color: #717679;
  text-align: center;
  margin-top: 8px;
  font-size: .61rem;
}

/* ===== REVIEWS / FAQ ===== */
.reviews-faq {
  background: var(--paper);
  padding-block: 54px;
  overflow: hidden;
}

.reviews-panel,
.faq-panel,
.service-area__grid>* {
  min-width: 0;
}

.reviews-faq__grid {
  grid-template-columns: 1fr 1.06fr;
  gap: 34px;
  display: grid;
}

.rating-heading {
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
  display: flex;
}

.rating-heading>strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 2.15rem;
  line-height: 1;
}

.stars {
  color: var(--orange);
  align-items: center;
  gap: 3px;
  display: flex;
}

.stars svg {
  fill: currentColor;
}

.rating-heading small {
  color: var(--ink-soft);
  font-size: .67rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  flex-direction: column;
  min-height: 186px;
  padding: 15px;
  display: flex;
}

.review-source {
  color: #0000;
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 45%, #fbbc05 0 67%, #ea4335 0 84%, #4285f4 0);
  -webkit-background-clip: text;
  background-clip: text;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  font-family: Arial,sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
}

.review-card .stars {
  margin-bottom: 9px;
}

.review-card p {
  color: #454a4d;
  flex: 1;
  margin-bottom: 12px;
  font-size: .68rem;
  line-height: 1.55;
}

.review-card strong {
  font-size: .72rem;
}

.review-card>span:last-child {
  color: #777c7f;
  font-size: .64rem;
}

.reviews-panel .text-link {
  margin-top: 16px;
}

.faq-panel {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}

.faq-panel h2 {
  margin-bottom: 18px;
  font-size: 2rem;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion article {
  border-bottom: 1px solid var(--line);
}

.accordion h3 {
  margin: 0;
}

.accordion button {
  text-align: left;
  cursor: pointer;
  background: 0 0;
  border: 0;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 50px;
  padding: 11px 3px;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
}

.accordion button svg {
  flex: none;
  transition: transform .25s;
}

.accordion article.is-open button svg {
  color: var(--red);
  transform: rotate(45deg);
}

.accordion__answer {
  opacity: 0;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s,opacity .25s;
  display: grid;
}

.accordion__answer p {
  min-height: 0;
  color: var(--ink-soft);
  margin: 0;
  font-size: .68rem;
  line-height: 1.55;
  overflow: hidden;
}

.accordion article.is-open .accordion__answer {
  opacity: 1;
  grid-template-rows: 1fr;
  padding-bottom: 15px;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfaf8;
}

.footer-grid {
  grid-template-columns: 1.4fr repeat(3,.78fr) 1.12fr;
  gap: 28px;
  padding-block: 40px 34px;
  display: grid;
}

.footer-grid h2 {
  font-family: var(--font-sans), Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-size: .64rem;
  font-weight: 900;
}

.footer-grid>div:not(.footer-brand)>a {
  color: #54595c;
  width: fit-content;
  margin-bottom: 5px;
  font-size: .63rem;
  transition: color .2s;
  display: block;
}

.footer-grid>div:not(.footer-brand)>a:hover {
  color: var(--red);
}

.footer-brand .brand {
  align-items: center;
  width: 172px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #54595c;
  max-width: 250px;
  margin-bottom: 14px;
  font-size: .64rem;
  line-height: 1.55;
}

.socials {
  gap: 8px;
  display: flex;
}

.socials a {
  width: 27px;
  height: 27px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: .72rem;
  font-weight: 800;
  transition: background .2s,transform .2s;
  display: flex;
}

.socials a:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.footer-contact p,
.footer-contact>a,
.footer-contact strong {
  color: #54595c;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 7px;
  line-height: 1.55;
  font-size: .62rem!important;
  display: flex!important;
}

.footer-contact p svg,
.footer-contact>a svg,
.footer-contact strong svg {
  flex: none;
  margin-top: 1px;
}

.footer-contact strong {
  color: var(--red);
}

.footer-legal {
  border-top: 1px solid var(--line);
}

.footer-legal .container {
  color: #74797b;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 40px;
  font-size: .55rem;
  display: flex;
}

.footer-legal span:last-child {
  align-items: center;
  gap: 12px;
  display: flex;
}

.footer-legal i {
  background: var(--line-dark);
  width: 1px;
  height: 12px;
  display: inline-block;
}

/* ===== RESPONSIVE / MEDIA QUERIES (HOME PAGE) ===== */
@media (width>=1180px) {
  .services-swiper .swiper-button-prev,
  .services-swiper .swiper-button-next,
  .services-swiper .swiper-pagination,
  .reviews-swiper .swiper-button-prev,
  .reviews-swiper .swiper-button-next,
  .reviews-swiper .swiper-pagination {
    display: none;
  }
}

@media (width<=1180px) {
  .container {
    width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
  }

  .desktop-nav {
    gap: 12px;
    font-size: .66rem;
  }

  .nav-shell__inner {
    gap: 18px;
  }

  .brand {
    width: 156px;
  }

  .nav-cta {
    padding-inline: 12px;
    font-size: .68rem;
  }

  .hero__copy {
    width: 54%;
  }

  .hero__visual {
    width: 70%;
  }

  .services-swiper,
  .reviews-swiper {
    padding-bottom: 34px!important;
  }

  .services-swiper:not(.swiper-initialized)>.swiper-wrapper,
  .reviews-swiper:not(.swiper-initialized)>.swiper-wrapper {
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    gap: 16px;
    display: flex;
    overflow-x: auto;
  }

  .services-swiper:not(.swiper-initialized)>.swiper-wrapper::-webkit-scrollbar {
    display: none;
  }

  .reviews-swiper:not(.swiper-initialized)>.swiper-wrapper::-webkit-scrollbar {
    display: none;
  }

  .services-swiper:not(.swiper-initialized) .swiper-slide,
  .reviews-swiper:not(.swiper-initialized) .swiper-slide {
    scroll-snap-align: start;
    flex: 0 0 min(360px,86%);
  }

  .services-swiper.swiper-initialized>.swiper-wrapper,
  .reviews-swiper.swiper-initialized>.swiper-wrapper {
    gap: 0;
    display: flex;
    overflow: visible;
  }
}

.review-card h3 {
  font-family: var(--font-display), Georgia, serif;
  margin: 8px 0 6px;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.25;
}

@media (width>=600px) and (width<=1180px) {
  .services-swiper:not(.swiper-initialized) .swiper-slide,
  .reviews-swiper:not(.swiper-initialized) .swiper-slide {
    flex-basis: calc(50% - 8px);
  }
}

@media (width>=900px) and (width<=1180px) {
  .services-swiper:not(.swiper-initialized) .swiper-slide,
  .reviews-swiper:not(.swiper-initialized) .swiper-slide {
    flex-basis: calc(33.3333% - 10.6667px);
  }
}

@media (width<=992px) {
  :root {
    --header-height: 70px;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
    display: flex;
  }

  .brand {
    width: 168px;
  }

  .hero__inner {
    min-height: 550px;
  }

  .hero__copy {
    width: 61%;
  }

  .hero h1 {
    font-size: clamp(3rem,6.3vw,4rem);
  }

  .hero__visual {
    width: 78%;
    right: -116px;
  }

  .trust-strip__inner {
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    grid-template-columns: repeat(5,minmax(196px,1fr));
    width: 100%;
    padding-inline: 24px;
    overflow-x: auto;
  }

  .trust-strip__inner::-webkit-scrollbar {
    display: none;
  }

  .trust-item {
    scroll-snap-align: start;
  }

  .process__inner {
    grid-template-columns: 220px 1fr;
    gap: 30px;
  }

  .process__intro {
    padding-right: 26px;
  }

  .process__steps {
    grid-template-columns: 1fr 32px 1fr 32px 1fr;
  }

  .process-step>svg {
    width: 56px;
    height: 56px;
  }

  .service-area__grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .estimate-card {
    grid-column: 1/-1;
  }

  .reviews-faq__grid {
    grid-template-columns: 1fr;
  }

  .faq-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 44px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2,1fr);
  }

  .footer-contact {
    grid-column: 2/-1;
  }
}

@media (width<=767px) {
  html {
    scroll-padding-top: 82px;
  }

  .container {
    width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
  }

  .section {
    padding-block: 48px;
  }

  .emergency-bar {
    min-height: 36px;
  }

  .site-header {
    top: -36px;
  }

  .emergency-bar__inner {
    min-height: 36px;
  }

  .emergency-call {
    justify-content: center;
    width: 100%;
    font-size: .65rem;
  }

  .emergency-call span {
    display: none;
  }

  .emergency-call strong {
    margin-left: 2px;
    font-size: .76rem;
  }

  .emergency-response {
    display: none;
  }

  .hero {
    background: var(--paper);
  }

  .hero__inner {
    min-height: auto;
    padding-top: 0;
    display: block;
  }

  .hero__copy {
    width: 100%;
    padding: 44px 0 28px;
  }

  .hero h1 {
    font-size: clamp(2.75rem,12vw,4rem);
  }

  .hero__lead br {
    display: none;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button-row .button {
    width: 100%;
  }

  .hero__location {
    align-items: flex-start;
  }

  .hero__visual {
    width: calc(100% + 40px);
    height: 310px;
    margin-left: -20px;
    position: relative;
    right: auto;
  }

  .hero__visual:after {
    background: linear-gradient(180deg, var(--paper) 0%, #fffdfc00 28%);
  }

  .hero__visual picture {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__visual img {
    object-position: 72% center;
  }

  .hero-radar {
    width: 250px;
    top: 32%;
    left: 72%;
  }

  .trust-strip__inner {
    grid-template-columns: repeat(5,minmax(184px,1fr));
    padding-inline: 20px;
  }

  .trust-item {
    min-height: 70px;
    padding-inline: 16px;
  }

  .process__inner {
    grid-template-columns: 1fr;
  }

  .process__intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 26px;
  }

  .process__intro h2 {
    font-size: 2.4rem;
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
  }

  .process-step {
    text-align: left;
    min-height: 128px;
    padding: 18px 0 20px 90px;
    display: block;
    position: relative;
  }

  .process-step:not(:last-of-type):after {
    content: "";
    background: var(--orange);
    width: 1px;
    position: absolute;
    top: 82px;
    bottom: -18px;
    left: 30px;
  }

  .process-step>svg {
    width: 62px;
    height: 62px;
    position: absolute;
    top: 20px;
    left: 0;
  }

  .process-step p {
    max-width: 320px;
    margin: 0;
  }

  .process-arrow {
    display: none;
  }

  .results__inner {
    grid-template-columns: 1fr;
  }

  .results__intro>p:not(.eyebrow) {
    max-width: 320px;
  }

  .comparison {
    border-width: 5px;
    min-height: 250px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading p {
    text-align: left;
  }

  .service-card {
    min-height: 318px;
  }

  .service-area__grid {
    grid-template-columns: 1fr;
  }

  .service-map {
    min-height: 330px;
  }

  .estimate-card {
    grid-column: auto;
    padding: 22px 18px;
  }

  .rating-heading {
    flex-wrap: wrap;
  }

  .rating-heading small {
    width: 100%;
  }

  .faq-panel h2 {
    font-size: 1.95rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
    padding-block: 42px 32px;
  }

  .footer-grid>div:not(.footer-brand)>a {
    align-items: center;
    min-height: 40px;
    margin-bottom: 0;
    display: flex;
  }

  .socials a {
    width: 40px;
    height: 40px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1/-1;
  }

  .footer-legal .container {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 14px;
  }
}

@media (width<=480px) {
  .container {
    width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
  }

  .brand {
    width: 152px;
  }

  .brand__name {
    font-size: 1.32rem;
  }

  .nav-shell__inner {
    min-height: 68px;
  }

  .mobile-nav nav {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: clamp(2.3rem,11.5vw,3.15rem);
  }

  .hero__visual {
    width: calc(100% + 32px);
    height: 250px;
    margin-left: -16px;
  }

  .comparison {
    aspect-ratio: 1.65;
    min-height: 205px;
  }

  .comparison__label {
    padding: 6px 8px;
    font-size: .52rem;
    top: 9px;
  }

  .comparison__label--before {
    left: 9px;
  }

  .comparison__label--after {
    right: 9px;
  }

  .area-list {
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }
}

@media (width<=360px) {
  .hero__copy {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: 2.18rem;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 118px;
    padding-left: 76px;
  }

  .process-step>svg {
    width: 52px;
    height: 52px;
  }

  .process-step:not(:last-of-type):after {
    top: 72px;
    left: 25px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  :before,
  :after {
    scroll-behavior: auto!important;
    transition-duration: .01ms!important;
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
  }
}

/* ===== INNER PAGES: HEADER / DESKTOP NAV ===== */
.inner-site-header {
  z-index: 100;
  background: #fffdfcfa;
  position: sticky;
  top: -40px;
}

.inner-nav-shell {
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #fffdfcf7;
  transition: background-color .2s,box-shadow .2s;
}

.inner-nav-shell.is-scrolled {
  background: #fffdfcfb;
  box-shadow: 0 12px 30px #1e181214;
}

.inner-nav {
  align-items: center;
  gap: 18px;
  min-height: 76px;
  display: flex;
}

.inner-wordmark {
  width: 180px;
}

.inner-primary-nav {
  align-items: center;
  gap: clamp(1px,.3vw,5px);
  margin-left: auto;
  font-size: .74rem;
  font-weight: 700;
  display: flex;
}

.inner-primary-nav>a,
.inner-primary-nav summary,
.desktop-nav-item>a {
  white-space: nowrap;
  cursor: pointer;
  border-radius: 4px;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 9px;
  list-style: none;
  transition: color .18s,background-color .18s;
  display: inline-flex;
  position: relative;
}

.inner-primary-nav summary::-webkit-details-marker {
  display: none;
}

.inner-primary-nav>a:hover,
.inner-primary-nav summary:hover,
.desktop-nav-item>a:hover,
.inner-primary-nav details[open] summary {
  background: var(--warm);
}

.inner-primary-nav>a.is-active,
.inner-primary-nav summary.is-active,
.desktop-nav-item>a.is-active {
  color: var(--red);
}

.inner-primary-nav>a:after,
.inner-primary-nav summary:after,
.desktop-nav-item>a:after {
  content: "";
  background: var(--red);
  transform-origin: 0;
  height: 2px;
  transition: transform .2s;
  position: absolute;
  bottom: 5px;
  left: 9px;
  right: 9px;
  transform: scaleX(0);
}

.inner-primary-nav>a:hover:after,
.inner-primary-nav>a.is-active:after,
.inner-primary-nav summary:hover:after,
.inner-primary-nav summary.is-active:after,
.desktop-nav-item>a:hover:after,
.desktop-nav-item>a.is-active:after,
.inner-primary-nav details[open] summary:after {
  transform: scaleX(1);
}

.inner-primary-nav details {
  position: relative;
}

.inner-primary-nav details[open]:before {
  content: "";
  z-index: 149;
  height: 13px;
  position: absolute;
  top: 100%;
  left: -14px;
  right: -14px;
}

.nav-chevron {
  color: #8a8781;
  font-size: .78rem;
  line-height: 1;
  transition: color .18s,transform .18s;
}

.inner-primary-nav details[open] .nav-chevron {
  color: var(--red);
  transform: rotate(180deg);
}

.inner-dropdown {
  z-index: 150;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 7px;
  width: min(460px,100vw - 32px);
  padding: 0;
  animation: .18s both desktop-dropdown-in;
  display: grid;
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  overflow: hidden;
  transform: translate(-50%);
  box-shadow: 0 24px 60px #18130f29;
}

@keyframes desktop-dropdown-in {
  0% {
    opacity: 0;
    transform: translate(-50%)translateY(8px);
  }

  to {
    opacity: 1;
    transform: translate(-50%)translateY(0);
  }
}

.inner-dropdown--services {
  grid-template-columns: 220px minmax(0,1fr);
  width: min(720px,100vw - 32px);
}

.inner-dropdown__heading {
  background: radial-gradient(circle at 18% 15%, #f4a0001c, transparent 42%), var(--warm);
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  display: flex;
}

.inner-dropdown--services .inner-dropdown__heading {
  border-right: 1px solid var(--line);
}

.inner-dropdown__heading>span,
.inner-dropdown__storm-callout>span {
  color: var(--red);
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: .58rem;
  font-weight: 800;
}

.inner-dropdown__heading>strong,
.inner-dropdown__storm-callout>strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.08;
}

.inner-dropdown__heading>p,
.inner-dropdown__storm-callout>p {
  color: var(--ink-soft);
  margin: 12px 0 0;
  font-size: .66rem;
  font-weight: 500;
  line-height: 1.55;
}

.inner-dropdown__grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-content: start;
  padding: 10px;
  display: grid;
}

.inner-dropdown__grid>a {
  border-radius: 4px;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 82px;
  padding: 13px 14px;
  transition: color .18s,background-color .18s;
  display: grid;
}

.inner-dropdown__grid>a:hover,
.inner-dropdown__grid>a:focus-visible,
.inner-dropdown__stack>a:hover,
.inner-dropdown__stack>a:focus-visible {
  color: var(--red);
  background: var(--warm);
}

.inner-dropdown__grid>a>span {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.inner-dropdown__grid strong,
.inner-dropdown__stack strong {
  font-size: .72rem;
  line-height: 1.35;
}

.inner-dropdown__grid small,
.inner-dropdown__stack small {
  color: #777772;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: .58rem;
  font-weight: 500;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
}

.inner-dropdown__grid i,
.inner-dropdown__stack i {
  color: var(--red);
  font-size: .78rem;
  font-style: normal;
  font-weight: 800;
}

.inner-dropdown__footer-link {
  min-height: 48px;
  color: var(--white);
  background: var(--ink);
  grid-column: 1/-1;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  font-size: .67rem;
  font-weight: 800;
  transition: background-color .18s;
  display: flex;
}

.inner-dropdown__footer-link:hover,
.inner-dropdown__footer-link:focus-visible {
  background: var(--red-dark);
}

.inner-dropdown--storm {
  grid-template-columns: 225px minmax(0,1fr);
  width: min(610px,100vw - 32px);
}

.inner-dropdown__storm-callout {
  color: var(--white);
  background: linear-gradient(145deg, #ffffff12, transparent 55%), var(--ink);
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px;
  display: flex;
}

.inner-dropdown__storm-callout>span {
  color: var(--orange);
}

.inner-dropdown__storm-callout>strong {
  color: var(--white);
}

.inner-dropdown__storm-callout>p {
  color: #ffffffa8;
}

.inner-dropdown__storm-callout>a {
  min-height: 40px;
  color: var(--white);
  background: var(--red);
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 0 12px;
  font-size: .63rem;
  font-weight: 800;
  display: flex;
}

.inner-dropdown__storm-callout i {
  font-style: normal;
}

.inner-dropdown__stack {
  align-content: start;
  padding: 10px;
  display: grid;
}

.inner-dropdown__stack>a {
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0,1fr) auto;
  align-content: center;
  gap: 3px 12px;
  min-width: 0;
  min-height: 68px;
  padding: 11px 13px;
  transition: color .18s,background-color .18s;
  display: grid;
}

.inner-dropdown__stack>a:last-child {
  border-bottom: 0;
}

.inner-dropdown__stack strong,
.inner-dropdown__stack small {
  grid-column: 1;
}

.inner-dropdown__stack i {
  grid-area: 1/2/span 2;
  align-self: center;
}

.inner-dropdown--resources {
  width: min(450px,100vw - 32px);
}

.inner-dropdown--resources .inner-dropdown__heading {
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
}

.inner-dropdown--resources .inner-dropdown__heading>strong {
  max-width: 350px;
  font-size: 1.2rem;
}

.inner-nav-cta {
  min-height: 44px;
  color: var(--red);
  box-shadow: none;
  border-color: #c608088c;
  padding-inline: 16px;
  font-size: .65rem;
}

.desktop-nav-item {
  align-items: center;
  display: flex;
  position: relative;
}

.desktop-nav-item.is-open:after {
  content: "";
  z-index: 149;
  height: 10px;
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
}

.desktop-nav-item>a {
  padding-right: 3px;
}

.desktop-dropdown-toggle {
  color: #7e7d78;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 3px;
  place-items: center;
  width: 26px;
  height: 44px;
  margin: 0 0 0 -3px;
  padding: 0 3px 1px 0;
  transition: color .18s,background-color .18s;
  display: grid;
}

.desktop-dropdown-toggle:hover,
.desktop-dropdown-toggle:focus-visible,
.desktop-nav-item.is-open .desktop-dropdown-toggle {
  color: var(--red);
  background: var(--warm);
}

.desktop-dropdown-toggle .nav-chevron {
  width: 16px;
  height: 16px;
  font-size: 0;
  line-height: 1;
  display: block;
  position: relative;
  overflow: hidden;
  transform: none;
}

.desktop-dropdown-toggle .nav-chevron:before {
  content: "";
  transform-origin: 50%;
  border-bottom: 1.5px solid;
  border-right: 1.5px solid;
  width: 5px;
  height: 5px;
  transition: transform .18s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%)rotate(45deg);
}

.desktop-nav-item.is-open .desktop-dropdown-toggle .nav-chevron {
  color: var(--red);
  transform: none;
}

.desktop-nav-item.is-open .desktop-dropdown-toggle .nav-chevron:before {
  transform: translate(-50%,-50%)rotate(225deg);
}

.desktop-nav-item .inner-dropdown {
  z-index: 150;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  scrollbar-color: var(--line-dark) transparent;
  scrollbar-width: thin;
  border-radius: 6px;
  grid-template-columns: 1fr;
  gap: 0;
  width: 310px;
  max-height: min(470px,100vh - 130px);
  padding: 7px;
  transition: visibility 0s linear .18s,opacity .18s,transform .18s;
  animation: none;
  display: grid;
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  overflow: hidden auto;
  transform: translateY(7px);
  box-shadow: 0 18px 44px #18130f26;
}

.desktop-nav-item:last-child .inner-dropdown {
  left: auto;
  right: 0;
}

.desktop-nav-item.is-open .inner-dropdown {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition-delay: 0s;
  transform: translateY(0);
}

.desktop-nav-item .inner-dropdown>a {
  min-width: 0;
  min-height: 42px;
  color: var(--ink);
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
  border-radius: 3px;
  align-items: center;
  padding: 10px 11px;
  font-size: .69rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color .18s,background-color .18s;
  display: flex;
}

.desktop-nav-item .inner-dropdown>a:last-child {
  border-bottom: 0;
}

.desktop-nav-item .inner-dropdown>a:hover,
.desktop-nav-item .inner-dropdown>a:focus-visible {
  color: var(--red);
  background: var(--warm);
}

.desktop-nav-item .inner-dropdown>.inner-dropdown__hub-link {
  z-index: 1;
  min-height: 44px;
  color: var(--red);
  background: #fff8f6;
  border-bottom-color: #ead7d2;
  font-weight: 800;
  position: sticky;
  top: -7px;
}

.desktop-nav-item .inner-dropdown--scroll {
  max-height: min(480px,100vh - 130px);
}

/* ===== INNER PAGES: MOBILE DRAWER NAV ===== */
.mobile-menu-toggle {
  width: 46px;
  height: 46px;
  color: var(--ink);
  border: 1px solid var(--line-dark);
  cursor: pointer;
  background: 0 0;
  border-radius: 4px;
  place-content: center;
  gap: 5px;
  margin-left: auto;
  padding: 0;
  display: none;
}

.mobile-menu-toggle>span {
  background: currentColor;
  width: 21px;
  height: 2px;
  transition: transform .18s,opacity .18s;
  display: block;
}

.mobile-menu-toggle[aria-expanded=true]>span:first-child {
  transform: translateY(7px)rotate(45deg);
}

.mobile-menu-toggle[aria-expanded=true]>span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded=true]>span:last-child {
  transform: translateY(-7px)rotate(-45deg);
}

.mobile-menu-backdrop {
  z-index: 1190;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: #0e0f108f;
  transition: opacity .22s,visibility 0s linear .22s;
  position: fixed;
  inset: 0;
}

.mobile-menu-backdrop.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition-delay: 0s;
}

.mobile-drawer {
  z-index: 1200;
  width: min(88vw,390px);
  min-width: 0;
  height: 100dvh;
  padding: max(34px, env(safe-area-inset-top)) 20px max(17px, env(safe-area-inset-bottom));
  visibility: hidden;
  opacity: 0;
  background: var(--paper);
  flex-direction: column;
  transition: transform .28s cubic-bezier(.22,1,.36,1),opacity .2s,visibility 0s linear .28s;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  transform: translate(100%);
  box-shadow: -18px 0 45px #0003;
}

.mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
  transform: translate(0);
}

.mobile-drawer__head {
  flex: none;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  display: flex;
}

.mobile-drawer__brand {
  width: min(148px,100% - 58px);
  display: block;
}

.mobile-drawer__brand img {
  width: 100%;
  height: auto;
}

.mobile-drawer__close {
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  border-radius: 50%;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  display: grid;
}

.mobile-drawer__close span {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.mobile-drawer__emergency {
  min-height: 60px;
  color: var(--white);
  background: var(--red);
  border-radius: 7px;
  flex: none;
  align-items: center;
  gap: 12px;
  margin: 15px 0 10px;
  padding: 10px 14px;
  display: flex;
  box-shadow: 0 9px 20px #c608082e;
}

.mobile-drawer__pulse {
  background: var(--white);
  border: 2px solid #ffffffa6;
  border-radius: 50%;
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 5px #ffffff29;
}

.mobile-drawer__emergency>span:last-child {
  gap: 2px;
  min-width: 0;
  display: grid;
}

.mobile-drawer__emergency small {
  overflow-wrap: anywhere;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .58rem;
  font-weight: 800;
  line-height: 1.25;
}

.mobile-drawer__emergency strong {
  font-size: .83rem;
  line-height: 1.25;
}

.mobile-drawer__nav {
  overscroll-behavior: contain;
  border-top: 1px solid var(--line);
  scrollbar-color: var(--line-dark) transparent;
  scrollbar-width: thin;
  flex: auto;
  min-height: 0;
  overflow: hidden auto;
}

.mobile-drawer__nav>a,
.mobile-drawer__group>button {
  width: 100%;
  min-height: 49px;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: 0 0;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 2px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  display: flex;
}

.mobile-drawer__group>button {
  cursor: pointer;
}

.mobile-drawer__nav>a>span,
.mobile-drawer__group>button>span {
  overflow-wrap: anywhere;
  min-width: 0;
}

.mobile-drawer__nav>a>small {
  color: #a09e99;
  flex: none;
  font-size: .56rem;
  font-weight: 800;
}

.mobile-drawer__nav>a[aria-current=page],
.mobile-drawer__group.is-current>button {
  color: var(--red);
}

.mobile-drawer__group>button>i {
  color: var(--red);
  flex: none;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  transition: transform .18s;
}

.mobile-drawer__group.is-open>button>i {
  transform: rotate(45deg);
}

.mobile-drawer__submenu {
  background: var(--warm);
  grid-template-rows: 0fr;
  transition: grid-template-rows .22s;
  display: grid;
}

.mobile-drawer__submenu>div {
  min-height: 0;
  overflow: hidden;
}

.mobile-drawer__group.is-open .mobile-drawer__submenu {
  grid-template-rows: 1fr;
}

.mobile-drawer__submenu a {
  color: #4f504e;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #e7e2dbd1;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
}

.mobile-drawer__submenu .mobile-drawer__all-services {
  color: var(--red);
  justify-content: space-between;
  gap: 12px;
}

.mobile-drawer__footer {
  flex: none;
  padding-top: 12px;
}

.mobile-drawer__cta {
  min-height: 49px;
  color: var(--white);
  background: var(--red);
  border-radius: 5px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.35;
  display: flex;
  box-shadow: 0 9px 20px #c6080833;
}

.mobile-drawer__footer p {
  color: #85827d;
  text-align: center;
  margin: 9px 0 0;
  font-size: .56rem;
  font-weight: 600;
}

.mobile-nojs-nav {
  display: none;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  align-items: center;
  min-height: 48px;
  display: flex;
}

.breadcrumbs ol {
  color: #6f7477;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: .72rem;
  font-weight: 700;
  list-style: none;
  display: flex;
}

.breadcrumbs li {
  align-items: center;
  gap: 8px;
  display: flex;
}

.breadcrumbs a:hover {
  color: var(--red);
}

/* ===== INNER PAGES: HERO ===== */
.inner-hero {
  background: radial-gradient(circle at 18% 20%, #f4a00014, transparent 24%), linear-gradient(135deg, var(--paper), #f8f4ee);
  border-block: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.inner-hero:before {
  content: "";
  border: 1px solid #c6080812;
  border-radius: 50%;
  width: 560px;
  height: 560px;
  position: absolute;
  top: -140px;
  right: 10%;
  box-shadow: 0 0 0 80px #c6080806,0 0 0 160px #c6080805;
}

.inner-hero__grid {
  z-index: 1;
  grid-template-columns: minmax(0,1fr) minmax(420px,.95fr);
  align-items: stretch;
  gap: clamp(44px,5vw,80px);
  min-height: 500px;
  display: grid;
  position: relative;
}

.inner-hero__grid--solo {
  grid-template-columns: minmax(0,860px);
  align-items: center;
  min-height: 410px;
}

.inner-hero--compact .inner-hero__grid {
  min-height: 390px;
}

.inner-hero__copy {
  align-self: center;
  padding-block: clamp(64px,7vw,104px);
}

.inner-hero__copy h1,
.article-header h1 {
  max-width: 820px;
  font-family: var(--font-display), Georgia, serif;
  letter-spacing: -.034em;
  text-wrap: balance;
  margin-bottom: 22px;
  font-size: clamp(3rem,4vw,3.5rem);
  font-weight: 400;
  line-height: 1;
}

.inner-lead,
.article-dek {
  max-width: 680px;
  color: var(--ink-soft);
  margin-bottom: 0;
  font-size: clamp(1.05rem,1.5vw,1.125rem);
  line-height: 1.67;
}

.inner-lead-sm {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.inner-hero__media {
  background: #d9d6d0;
  min-height: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.inner-hero__media:after {
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg,#fffdfc1f,#0000 30%);
  position: absolute;
  inset: 0;
}

.inner-hero__media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.inner-button-row {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  display: flex;
}

.inner-contact-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  display: flex;
}

.inner-contact-actions a {
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 240px;
  box-shadow: var(--shadow-sm);
  border-radius: 5px;
  gap: 2px;
  padding: 15px 18px;
  display: grid;
}

.inner-contact-actions span {
  color: var(--ink-soft);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 800;
}

.inner-contact-actions strong {
  color: var(--red);
  font-size: 1.05rem;
}

/* ===== INNER PAGES: TRUST STRIP ===== */
.inner-trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.inner-trust__grid {
  grid-template-columns: repeat(4,1fr);
  min-height: 92px;
  display: grid;
}

.inner-trust__grid>div {
  border-left: 1px solid var(--line);
  align-content: center;
  gap: 3px;
  padding: 20px 24px;
  display: grid;
}

.inner-trust__grid>div:last-child {
  border-right: 1px solid var(--line);
}

.inner-trust__grid strong {
  font-size: .78rem;
}

.inner-trust__grid span {
  color: var(--ink-soft);
  font-size: .69rem;
}

/* ===== INNER PAGES: SECTION / CONTENT LAYOUT UTILITIES ===== */
.inner-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: clamp(64px,7vw,96px);
}

.inner-section--warm {
  background: var(--warm);
}

.inner-section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.inner-section-heading h2 {
  text-wrap: balance;
  margin-bottom: 16px;
  font-size: clamp(2.25rem,3.4vw,2.75rem);
  line-height: 1.05;
}

.inner-section-heading>p:last-child {
  max-width: 68ch;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.inner-section-heading--center {
  text-align: center;
  margin-inline: auto;
}

.inner-section-heading--center>p:last-child {
  margin-inline: auto;
}

.inner-split {
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(48px,7vw,110px);
  display: grid;
}

.inner-two-column {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: clamp(48px,6vw,90px);
  display: grid;
}

.inner-prose {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.inner-prose p {
  margin-bottom: 1.25em;
}

.inner-feature-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  display: grid;
}

.inner-feature-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 220px;
  box-shadow: var(--shadow-sm);
  border-radius: 6px;
  padding: 26px;
}

.inner-feature-grid article>span {
  color: var(--orange);
  font-size: 1.4rem;
}

.inner-feature-grid h3 {
  font-family: var(--font-display), Georgia, serif;
  margin: 22px 0 10px;
  font-size: 1.45rem;
  font-weight: 400;
}

.inner-feature-grid p {
  color: var(--ink-soft);
  margin-bottom: 0;
  font-size: .9rem;
}

.inner-card-grid {
  gap: 22px;
  display: grid;
}

.inner-card-grid--services {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.faq-related-content .inner-card-grid--services {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.faq-related-content .template-link-band {
  margin-top: 30px;
}

.inner-card-grid--posts,
.inner-card-grid--locations {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.inner-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 0;
  transition: transform .25s,box-shadow .25s,border-color .25s;
  overflow: hidden;
  box-shadow: 0 8px 26px #2019110d;
}

.inner-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #d4c9bc;
  transform: translateY(-5px);
}

.inner-card__media {
  aspect-ratio: 3/2;
  background: #ddd9d2;
  display: block;
  overflow: hidden;
}

.inner-post-card .inner-card__media {
  aspect-ratio: 16/9;
}

.inner-card__media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .4s;
  display: block;
}

.inner-card:hover .inner-card__media img {
  transform: scale(1.045);
}

.inner-card__body {
  padding: 22px;
}

.inner-card__meta {
  color: var(--orange);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-size: .68rem;
  font-weight: 800;
}

.inner-card h3 {
  font-family: var(--font-display), Georgia, serif;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  font-size: 1.45rem;
  font-weight: 400;
}

.inner-card__body>p:not(.inner-card__meta) {
  color: var(--ink-soft);
  font-size: .88rem;
}

.inner-text-link {
  color: var(--red);
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 800;
  display: inline-flex;
}

.inner-text-link:hover span {
  transform: translate(3px);
}

.inner-text-link span {
  transition: transform .2s;
}

/* ===== INNER PAGES: PROCESS / CHECKLIST ===== */
.inner-process {
  counter-reset: steps;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.inner-process li {
  background: var(--white);
  border-block: 1px solid var(--line);
  border-left: 1px solid var(--line);
  min-height: 210px;
  padding: 28px;
  position: relative;
}

.inner-process li:last-child {
  border-right: 1px solid var(--line);
}

.inner-process li>span {
  color: var(--orange);
  letter-spacing: .12em;
  font-size: .73rem;
  font-weight: 800;
  display: block;
}

.inner-process h3 {
  font-family: var(--font-display), Georgia, serif;
  margin: 28px 0 10px;
  font-size: 1.45rem;
  font-weight: 400;
}

.inner-process p {
  color: var(--ink-soft);
  margin-bottom: 0;
  font-size: .86rem;
}

.inner-check-list {
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.inner-check-list li {
  color: var(--ink-soft);
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.inner-check-list li>span {
  width: 24px;
  height: 24px;
  color: var(--red);
  background: #c6080812;
  border-radius: 50%;
  flex: 0 0 24px;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  display: grid;
}

/* ===== INNER PAGES: MEDIA SPLIT / FACT PANELS ===== */
.inner-media-split {
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(48px,6vw,86px);
  display: grid;
}

.inner-media-split figure {
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  background: #dedbd5;
  border-radius: 6px;
  margin: 0;
  overflow: hidden;
}

.inner-media-split figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.inner-media-split>div>p {
  color: var(--ink-soft);
  margin-top: 24px;
}

.inner-fact-panel,
.inner-contact-panel {
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(28px,4vw,44px);
}

.inner-fact-panel dl,
.inner-contact-panel dl {
  margin: 0;
}

.inner-fact-panel dl>div,
.inner-contact-panel dl>div {
  border-bottom: 1px solid var(--line);
  grid-template-columns: .8fr 1.2fr;
  gap: 16px;
  padding-block: 15px;
  display: grid;
}

.inner-fact-panel dt,
.inner-contact-panel dt {
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 700;
}

.inner-fact-panel dd,
.inner-contact-panel dd {
  margin: 0;
  font-size: .82rem;
  font-weight: 800;
}

/* ===== INNER PAGES: FAQ ===== */
.inner-faq-list {
  border-top: 1px solid var(--line);
}

.inner-faq-list details {
  border-bottom: 1px solid var(--line);
}

.inner-faq-list summary {
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  font-weight: 800;
  list-style: none;
  display: flex;
}

.inner-faq-list summary::-webkit-details-marker {
  display: none;
}

.inner-faq-list summary i {
  width: 28px;
  height: 28px;
  color: var(--red);
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: 0 0 28px;
  place-items: center;
  font-size: 1.1rem;
  font-style: normal;
  display: grid;
}

.inner-faq-list details[open] summary i {
  transform: rotate(45deg);
}

.inner-faq-answer {
  max-width: 68ch;
  color: var(--ink-soft);
  padding: 0 50px 22px 0;
}

.inner-faq-answer p {
  margin-bottom: 10px;
}

.inner-faq-groups {
  gap: 74px;
  margin-top: 54px;
  display: grid;
}

.inner-faq-groups>section {
  scroll-margin-top: 110px;
}

/* ===== INNER PAGES: CHIP LISTS / LINK LISTS ===== */
.inner-chip-list {
  flex-wrap: wrap;
  gap: 9px;
  display: flex;
}

.inner-chip-list--center {
  justify-content: center;
}

.inner-chip-list a,
.inner-chip-list span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  font-size: .72rem;
  font-weight: 800;
  display: inline-flex;
}

.inner-chip-list a:hover {
  color: var(--red);
  border-color: #c6080840;
}

.inner-link-list {
  border-top: 1px solid var(--line);
  display: grid;
}

.inner-link-list a {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 52px;
  font-size: .83rem;
  font-weight: 800;
  display: flex;
}

.inner-link-list a:hover {
  color: var(--red);
}

.inner-center-link {
  text-align: center;
  margin: 30px 0 0;
}

.inner-small {
  color: var(--ink-soft);
  margin-top: 18px;
  font-size: .78rem;
}

/* ===== INNER PAGES: VERIFICATION / REVIEW SUMMARY ===== */
.verification-notice {
  color: #5b4b37;
  background: #fff7e7;
  border: 1px solid #edd8ad;
  border-radius: 5px;
  padding: 18px 20px;
  font-size: .8rem;
}

.verification-note {
  text-transform: uppercase;
  font-weight: 800;
  color: var(--red)!important;
  font-size: .66rem!important;
}

.inner-review-summary {
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 5px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 28px 0 30px;
  padding: 26px;
  display: flex;
}

.inner-review-summary>div {
  align-items: center;
  gap: 18px;
  display: flex;
}

.inner-review-summary p {
  color: var(--ink-soft);
  margin: 3px 0 0;
  font-size: .78rem;
}

.inner-rating-placeholder {
  width: 58px;
  height: 58px;
  color: var(--red);
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-display), Georgia, serif;
  border-radius: 50%;
  place-items: center;
  font-size: 2rem;
  display: grid;
}

.inner-review-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
  display: grid;
}

.inner-review-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 6px;
  padding: 26px;
}

.inner-review-grid blockquote {
  font-family: var(--font-display), Georgia, serif;
  margin: 22px 0 28px;
  font-size: 1.25rem;
  line-height: 1.45;
}

.inner-review-grid footer {
  gap: 2px;
  font-size: .77rem;
  display: grid;
}

.inner-review-grid footer span {
  color: var(--ink-soft);
}

/* ===== INNER PAGES: CONTACT FORM ===== */
.inner-contact-grid {
  grid-template-columns: minmax(0,1.2fr) minmax(330px,.8fr);
  align-items: start;
  gap: clamp(48px,6vw,84px);
  display: grid;
}

.inner-form {
  gap: 17px;
  display: grid;
}

.inner-form-row {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 17px;
  display: grid;
}

.inner-form label {
  color: var(--ink);
  gap: 7px;
  font-size: .72rem;
  font-weight: 800;
  display: grid;
}

.inner-form input,
.inner-form select,
.inner-form textarea {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-dark);
  font: inherit;
  border-radius: 4px;
  padding: 12px 13px;
}

.inner-form input,
.inner-form select {
  min-height: 48px;
}

.inner-form textarea {
  resize: vertical;
}

.inner-form button {
  cursor: not-allowed;
  width: 100%;
}

.inner-contact-panel h2 {
  font-size: 2rem;
}

.inner-contact-panel .verification-notice {
  margin-top: 24px;
}

/* ===== INNER PAGES: FEATURED POST / ARTICLE ===== */
.inner-featured-post {
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(44px,6vw,84px);
  display: grid;
}

.inner-featured-post figure {
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-md);
  border-radius: 6px;
  margin: 0;
  overflow: hidden;
}

.inner-featured-post img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.inner-featured-post h2 {
  font-size: clamp(2.2rem,3.4vw,2.8rem);
}

.inner-featured-post p:not(.eyebrow) {
  color: var(--ink-soft);
}

.article-page {
  background: var(--paper);
}

.article-header {
  text-align: center;
  max-width: 1120px;
  padding-block: clamp(60px,7vw,96px) 0;
}

.article-header h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(3rem,5vw,4.4rem);
}

.article-dek {
  margin-inline: auto;
}

.article-byline {
  color: var(--ink-soft);
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 26px;
  font-size: .72rem;
  display: flex;
}

.article-hero {
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-md);
  border-radius: 6px;
  margin: clamp(40px,5vw,64px) 0 0;
  overflow: hidden;
}

.article-hero img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.article-layout {
  grid-template-columns: 220px minmax(0,760px);
  align-items: start;
  gap: clamp(48px,7vw,96px);
  max-width: 1080px;
  padding-block: clamp(64px,8vw,104px);
  display: grid;
}

.article-toc {
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 20px;
  font-size: .75rem;
  position: sticky;
  top: 118px;
}

.article-toc ol {
  color: var(--ink-soft);
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
}

.article-toc a:hover {
  color: var(--red);
}

.article-content {
  max-width: 760px;
}

.article-content>section {
  scroll-margin-top: 118px;
}

.article-content h2 {
  margin: 2.2em 0 .55em;
  font-size: clamp(2rem,3vw,2.5rem);
  line-height: 1.08;
}

.article-content p,
.article-content li {
  color: #3e4448;
  font-size: 1.02rem;
  line-height: 1.8;
}

.article-intro {
  margin-bottom: 2em;
  color: var(--ink)!important;
  font-size: 1.23rem!important;
  line-height: 1.7!important;
}

.article-expert-note {
  border-left: 4px solid var(--orange);
  background: #fff7e7;
  margin-block: 48px;
  padding: 28px;
}

.article-expert-note h2 {
  margin-top: 0;
  font-size: 1.75rem;
}

.article-sources {
  gap: 9px;
  display: grid;
}

.article-sources a {
  color: var(--red);
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.article-author {
  border-top: 1px solid var(--line);
  grid-template-columns: 70px 1fr;
  gap: 22px;
  margin-top: 56px;
  padding-top: 32px;
  display: grid;
}

.article-author>span {
  width: 70px;
  height: 70px;
  color: var(--white);
  background: var(--red);
  font-family: var(--font-display), Georgia, serif;
  border-radius: 50%;
  place-items: center;
  font-size: 1.4rem;
  display: grid;
}

.article-author h2 {
  margin-top: 0;
  font-size: 1.55rem;
}

.article-author p {
  font-size: .88rem;
}

/* ===== INNER PAGES: LOCATION / EMERGENCY CTA ===== */
.inner-location-overview {
  grid-template-columns: .75fr 1.25fr;
  align-items: center;
  gap: clamp(48px,7vw,100px);
  display: grid;
}

.inner-location-overview h2 {
  font-size: clamp(2.3rem,4vw,3rem);
}

.inner-location-overview p {
  color: var(--ink-soft);
}

.inner-service-map {
  border: 1px solid var(--line-dark);
  background: repeating-linear-gradient(24deg,#0000 0 38px,#ffffffa6 39px 42px),repeating-linear-gradient(116deg,#0000 0 52px,#ffffff85 53px 56px),#e7e3db;
  border-radius: 6px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.inner-service-map>strong {
  z-index: 3;
  color: var(--white);
  background: var(--red);
  border-radius: 4px;
  padding: 8px 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.inner-map-ring {
  border: 2px solid #c6080838;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 58px #c6080809;
}

.inner-service-map>a {
  z-index: 2;
  top: calc(18% + (var(--map-index) * 14%));
  left: calc(18% + ((var(--map-index) % 3) * 25%));
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
  padding: 6px 9px;
  font-size: .68rem;
  font-weight: 800;
  position: absolute;
}

.inner-emergency-cta {
  color: var(--white);
  background: linear-gradient(100deg,#141618fa,#141618d6),url(../images/home-emergency.webp) 50%/cover;
  position: relative;
  overflow: hidden;
}

.inner-emergency-cta .container {
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  min-height: 230px;
  padding-block: 44px;
  display: flex;
}

.inner-emergency-cta h2 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: clamp(2.2rem,3.5vw,2.9rem);
}

.inner-emergency-cta p:not(.eyebrow) {
  color: #ffffffb8;
  margin-bottom: 0;
}

.inner-cta-actions {
  flex-wrap: wrap;
  flex: none;
  gap: 12px;
  display: flex;
}

.inner-emergency-cta .button--outline {
  color: var(--white);
  background-color: #0000;
  border-color: #fff6;
}

/* ===== INNER PAGES: MISC UTILITY / FOOTER OVERRIDES ===== */
.inner-review-grid h3 {
  font-family: var(--font-display), Georgia, serif;
  margin: 18px 0 10px;
  font-size: 1.25rem;
  font-weight: 400;
}

.inner-review-grid article>p:not(.inner-card__meta) {
  color: var(--ink-soft);
  font-size: .88rem;
}

.utility-content {
  max-width: 760px;
}

.utility-content h2 {
  margin-top: 1.8em;
}

.utility-content p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.inner-footer a:hover {
  color: var(--red);
}

.inner-footer .footer-legal a {
  color: inherit;
}

.review-standard-label {
  color: var(--orange);
  letter-spacing: .11em;
  text-transform: uppercase;
  font-size: .64rem;
  font-weight: 800;
}

/* ===== HOME: GUIDES GRID ===== */
.home-guides {
  background: var(--warm);
}

.home-guides__grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  display: grid;
}

.home-guides__grid article {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 5px;
  overflow: hidden;
}

.home-guide-card {
  height: 100%;
  display: block;
}

.home-guide-card>img {
  aspect-ratio: 16/9;
  background: #dedbd5;
  overflow: hidden;
}

.home-guides__grid img {
  object-fit: cover;
  width: 100%;
  height: auto;
  transition: transform .35s;
  display: block;
}

.home-guides__grid article:hover img {
  transform: scale(1.045);
}

.home-guide-card>div {
  padding: 20px;
}

.home-guides__grid h3 {
  font-family: var(--font-display), Georgia, serif;
  margin-bottom: 9px;
  font-size: 1.32rem;
  font-weight: 400;
}

.home-guides__grid p {
  color: var(--ink-soft);
  font-size: .78rem;
}

/* ===== RESPONSIVE / MEDIA QUERIES (INNER PAGES) ===== */
@media (width<=1180px) {
  .inner-nav {
    gap: 12px;
  }

  .inner-primary-nav {
    gap: 0;
    font-size: .68rem;
  }

  .inner-primary-nav>a,
  .inner-primary-nav summary,
  .desktop-nav-item>a {
    padding-inline: 7px;
  }

  .inner-wordmark {
    width: 154px;
  }

  .inner-nav-cta {
    padding-inline: 11px;
  }

  .inner-card-grid--services {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (width<=1080px) {
  .inner-primary-nav,
  .inner-nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: grid;
  }

  .mobile-nojs-nav {
    padding: 16px var(--page-gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: grid;
  }

  .mobile-nojs-nav a {
    border-bottom: 1px solid var(--line);
    align-items: center;
    min-height: 48px;
    font-size: .9rem;
    font-weight: 700;
    display: flex;
  }
}

@media (width<=992px) {
  .inner-hero__grid {
    grid-template-columns: minmax(0,1fr) minmax(330px,.8fr);
    gap: 32px;
  }

  .inner-feature-grid,
  .inner-card-grid--posts,
  .inner-card-grid--locations,
  .inner-process {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .inner-process li:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .inner-process li:nth-child(n+3) {
    border-top: 0;
  }

  .inner-trust__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .inner-trust__grid>div:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .inner-trust__grid>div:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
}

@media (width<=768px) {
  .inner-site-header {
    top: -36px;
  }

  .inner-nav {
    min-height: 70px;
  }

  .breadcrumbs {
    min-height: 44px;
  }

  .inner-hero__grid,
  .inner-hero__grid--solo {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .inner-hero__copy {
    padding-block: 54px;
  }

  .inner-hero__copy h1,
  .article-header h1 {
    font-size: clamp(2.5rem,10vw,3.35rem);
  }

  .inner-hero__media {
    min-height: 340px;
    margin-inline: calc(var(--page-gutter) * -1);
  }

  .inner-split,
  .inner-two-column,
  .inner-media-split,
  .inner-contact-grid,
  .inner-featured-post,
  .inner-location-overview {
    grid-template-columns: 1fr;
  }

  .inner-card-grid--services,
  .faq-related-content .inner-card-grid--services {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .inner-review-grid {
    grid-template-columns: 1fr;
  }

  .inner-review-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-header {
    padding-top: 54px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .article-toc {
    position: static;
  }

  .inner-emergency-cta .container {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
  }

  .home-guides__grid {
    grid-template-columns: 1fr;
  }
}

@media (width<=560px) {
  .inner-wordmark {
    width: 150px;
  }

  .mobile-drawer {
    width: min(90vw,390px);
    padding-left: 16px;
    padding-right: 16px;
  }

  .inner-hero__copy h1,
  .article-header h1 {
    font-size: clamp(2.25rem,11.5vw,2.8rem);
  }

  .inner-button-row,
  .inner-button-row .button,
  .inner-cta-actions,
  .inner-cta-actions .button {
    width: 100%;
  }

  .inner-card-grid--services,
  .inner-card-grid--posts,
  .inner-card-grid--locations,
  .inner-feature-grid,
  .inner-process,
  .inner-trust__grid,
  .faq-related-content .inner-card-grid--services {
    grid-template-columns: 1fr;
  }

  .inner-process li {
    border-right: 1px solid var(--line);
    border-bottom: 0;
    min-height: 0;
  }

  .inner-process li:last-child {
    border-bottom: 1px solid var(--line);
  }

  .inner-process li:nth-child(n+2) {
    border-top: 1px solid var(--line);
  }

  .inner-trust__grid>div {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .inner-form-row {
    grid-template-columns: 1fr;
  }

  .inner-contact-actions,
  .inner-contact-actions a {
    width: 100%;
  }

  .inner-fact-panel dl>div,
  .inner-contact-panel dl>div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .inner-review-summary>div {
    align-items: flex-start;
  }

  .article-byline {
    flex-direction: column;
    align-items: center;
  }

  .article-author {
    grid-template-columns: 1fr;
  }

  .article-author>span {
    width: 58px;
    height: 58px;
  }

  .inner-service-map {
    min-height: 340px;
  }

  .inner-map-ring {
    width: 230px;
    height: 230px;
  }
}

/* ===== LOCAL ROOFING INTRO / SYMPTOM CARDS ===== */
.local-roofing {
  background: radial-gradient(circle at 7% 12%, #f4a00012, transparent 24%), linear-gradient(90deg, var(--white), var(--paper));
  border-bottom: 1px solid var(--line);
  padding-block: 70px;
  position: relative;
  overflow: hidden;
}

.local-roofing:after {
  content: "";
  pointer-events: none;
  border: 1px solid #c608080f;
  border-radius: 50%;
  width: 560px;
  height: 560px;
  position: absolute;
  top: -280px;
  left: -190px;
  box-shadow: 0 0 0 78px #c6080806,0 0 0 156px #f4a00005;
}

.local-roofing__layout {
  z-index: 1;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  align-items: start;
  gap: clamp(38px,5vw,72px);
  display: grid;
  position: relative;
}

.local-roofing__intro {
  max-width: 570px;
}

.local-roofing__intro h2 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem,4vw,3.65rem);
  line-height: .98;
}

.local-roofing__intro>p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.75;
}

.local-roofing__intro .local-roofing__lead {
  color: var(--ink);
  font-size: 1.03rem;
}

.local-roofing__intro>p a {
  color: var(--red);
  text-underline-offset: 3px;
  font-weight: 800;
  -webkit-text-decoration: underline #c6080847;
  text-decoration: underline #c6080847;
}

.local-roofing__actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  display: flex;
}

.local-roofing__note {
  border-left: 3px solid var(--orange);
  background: #fff8e9;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 18px;
  display: flex;
}

.local-roofing__note svg {
  color: var(--orange);
  flex: none;
}

.local-roofing__note p {
  color: #544936;
  margin: 0;
  font-size: .73rem;
  line-height: 1.6;
}

.symptom-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 50px #2d251b14;
}

.symptom-panel__heading {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  padding: 24px 26px 21px;
  display: flex;
}

.symptom-panel__heading h2 {
  margin: 0;
  font-size: clamp(1.75rem,2.8vw,2.3rem);
}

.symptom-panel__heading>span {
  max-width: 120px;
  color: var(--ink-muted);
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
  font-size: .64rem;
  font-weight: 800;
  line-height: 1.4;
}

.symptom-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  display: grid;
}

.symptom-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 15px;
  min-height: 195px;
  padding: 22px;
  display: flex;
}

.symptom-card:nth-child(2n) {
  border-right: 0;
}

.symptom-card:last-child {
  border-bottom: 0;
  border-right: 0;
  grid-column: 1/-1;
  min-height: 160px;
}

.symptom-card__icon {
  width: 42px;
  height: 42px;
  color: var(--red);
  background: #fff6f4;
  border: 1px solid #f1d8d4;
  border-radius: 4px;
  flex: none;
  place-items: center;
  display: grid;
}

.symptom-card small {
  color: var(--orange);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-size: .58rem;
  font-weight: 800;
  display: block;
}

.symptom-card h3 {
  font-family: var(--font-display), Georgia, serif;
  margin-bottom: 7px;
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.16;
}

.symptom-card p {
  color: var(--ink-soft);
  margin-bottom: 10px;
  font-size: .68rem;
  line-height: 1.55;
}

.symptom-card a,
.results__case-links a,
.repair-decision a,
.roof-system__links a,
.credentials__footer a,
.insurance-guidance__links a {
  color: var(--red);
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  font-weight: 800;
  display: inline-flex;
}

/* ===== RESULTS / CASE STUDY ===== */
.results__inner {
  align-items: start;
}

.results__intro h2 {
  font-size: 2rem;
  line-height: 1.03;
}

.results__intro>p:not(.eyebrow) {
  max-width: 190px;
}

.results__case {
  border-top: 1px solid var(--line-dark);
  grid-column: 1/-1;
  grid-template-columns: 230px 1fr;
  gap: 24px 34px;
  margin-top: 6px;
  padding-top: 24px;
  display: grid;
}

.results__case-heading span {
  color: var(--orange);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 7px;
  font-size: .6rem;
  font-weight: 800;
  display: block;
}

.results__case-heading strong {
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.25;
  display: block;
}

.results__case dl {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  margin: 0;
  display: grid;
}

.results__case dl>div {
  border-left: 1px solid var(--line-dark);
  padding: 2px 18px;
}

.results__case dt {
  color: var(--ink);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 7px;
  font-size: .63rem;
  font-weight: 800;
}

.results__case dd {
  color: var(--ink-soft);
  margin: 0;
  font-size: .66rem;
  line-height: 1.55;
}

.results__case-links {
  flex-wrap: wrap;
  grid-column: 2;
  gap: 8px 22px;
  display: flex;
}

/* ===== EMERGENCY ACTION ===== */
.emergency-action {
  color: var(--white);
  background: linear-gradient(100deg,#151719fc,#26231ff7),url(../images/home-emergency.webp) 50%/cover;
  padding-block: 62px;
  position: relative;
  overflow: hidden;
}

.emergency-action:before {
  content: "";
  background: var(--red);
  clip-path: polygon(6% 0,100% 0,100% 100%,0 100%);
  width: 30%;
  height: 8px;
  position: absolute;
  top: 0;
  right: 0;
}

.emergency-action__heading {
  grid-template-columns: 1fr minmax(300px,.55fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 30px;
  display: grid;
}

.emergency-action__heading h2 {
  color: var(--white);
  margin: 0;
  font-size: clamp(2.35rem,4vw,3.5rem);
  line-height: 1;
}

.emergency-action__heading>p {
  color: #ffffffa8;
  margin: 0;
  font-size: .8rem;
}

.emergency-action__steps {
  border: 1px solid #ffffff29;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.emergency-action__steps li {
  border-right: 1px solid #ffffff29;
  gap: 15px;
  min-height: 150px;
  padding: 22px;
  display: flex;
}

.emergency-action__steps li:last-child {
  border-right: 0;
}

.emergency-action__steps li>span {
  color: var(--orange);
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.55rem;
}

.emergency-action__steps h3 {
  color: var(--white);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 2px 0 8px;
  font-size: .76rem;
}

.emergency-action__steps p {
  color: #ffffffa8;
  margin: 0;
  font-size: .69rem;
  line-height: 1.55;
}

.emergency-action__footer {
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 22px;
  display: flex;
}

.emergency-action__footer>p {
  color: #ffffff9e;
  max-width: 660px;
  margin: 0;
  font-size: .68rem;
}

.emergency-action__footer>div {
  flex: none;
  gap: 10px;
  display: flex;
}

.emergency-action .button--outline {
  color: var(--white);
  background-color: #0000;
  border-color: #ffffff61;
}

/* ===== HOME: PROJECT GALLERY (BEFORE/AFTER SLIDER) ===== */
.project-gallery {
  background: var(--paper);
  padding-block: 68px;
  overflow: hidden;
}

.project-gallery .section-heading h2 {
  max-width: 760px;
}

.home-project-gallery {
  min-height: 590px;
  color: var(--white);
  background: var(--ink);
  grid-template-columns: minmax(290px,.34fr) minmax(0,.66fr);
  margin-top: 30px;
  display: grid;
  overflow: hidden;
}

.home-project-gallery__copy {
  align-self: center;
  padding: clamp(34px,4.4vw,62px);
}

.home-project-gallery__copy h3 {
  color: var(--white);
  font-family: var(--font-display), Georgia, serif;
  letter-spacing: -.03em;
  margin: 0 0 18px;
  font-size: clamp(2.4rem,4vw,3.55rem);
  font-weight: 400;
  line-height: 1.02;
}

.home-project-gallery__copy>p:not(.eyebrow) {
  color: #ffffffad;
  font-size: .72rem;
  line-height: 1.7;
}

.home-project-gallery__copy ul {
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.home-project-gallery__copy li {
  color: #ffffffc7;
  letter-spacing: .03em;
  align-items: center;
  gap: 9px;
  font-size: .62rem;
  font-weight: 800;
  display: flex;
}

.home-project-gallery__copy li:before {
  content: "";
  background: var(--orange);
  border-radius: 50%;
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  box-shadow: 0 0 0 4px #f4a0001c;
}

.home-project-gallery__controls {
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  display: flex;
}

.home-project-gallery__controls button {
  width: 44px;
  height: 44px;
  color: var(--white);
  cursor: pointer;
  background: 0 0;
  border: 1px solid #ffffff3d;
  border-radius: 50%;
  place-items: center;
  padding: 0;
  transition: color .18s,background-color .18s,border-color .18s;
  display: grid;
}

.home-project-gallery__controls button:first-child svg {
  transform: rotate(180deg);
}

.home-project-gallery__controls button:hover,
.home-project-gallery__controls button:focus-visible {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.home-project-gallery__controls span {
  color: #ffffffbf;
  text-align: center;
  letter-spacing: .08em;
  min-width: 58px;
  font-size: .62rem;
  font-weight: 800;
}

.home-project-gallery__stage,
.home-project-gallery__slide {
  min-width: 0;
  min-height: 590px;
  position: relative;
}

.home-project-gallery__stage {
  overflow: hidden;
}

.home-project-gallery__slide {
  display: none;
}

.home-project-gallery__slide.is-active {
  display: block;
}

.home-project-gallery__label {
  z-index: 5;
  color: var(--white);
  letter-spacing: .08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #151719d1;
  border: 1px solid #ffffff29;
  border-radius: 3px;
  padding: 7px 10px;
  font-size: .56rem;
  font-weight: 800;
  position: absolute;
  top: 42px;
  left: 18px;
}

.home-project-photo {
  isolation: isolate;
  background: #282c2e;
  margin: 0;
  position: absolute;
  overflow: hidden;
}

.home-project-photo--main {
  inset: 28px 36% 28px 0;
}

.home-project-photo--top {
  inset: 28px 24px calc(50% + 6px) 66%;
}

.home-project-photo--bottom {
  inset: calc(50% + 6px) 24px 28px 66%;
}

.home-project-photo:before {
  content: "";
  z-index: 0;
  opacity: 0;
  background-image: linear-gradient(#1012132e, #10121366), var(--adaptive-image);
  filter: blur(22px);
  background-position: 50%;
  background-size: cover;
  transition: opacity .2s;
  position: absolute;
  inset: -12%;
}

.home-project-photo:after {
  content: "";
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(#0000 64%,#0000008f);
  position: absolute;
  inset: 0;
}

.home-project-photo>img {
  z-index: 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: relative;
}

.home-project-photo.is-low-resolution:before {
  opacity: .82;
}

.home-project-photo.is-low-resolution>img {
  object-fit: contain;
  width: auto;
  max-width: 92%;
  height: auto;
  max-height: 92%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 12px 36px #00000042;
}

.home-project-photo figcaption {
  z-index: 3;
  color: var(--white);
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .55rem;
  font-weight: 800;
  position: absolute;
  bottom: 12px;
  left: 16px;
}

/* ===== HOME: SERVICES GRID ===== */
.home-services {
  background: var(--warm);
  border-block: 1px solid var(--line);
  padding-block: 70px;
}

.home-services__heading {
  grid-template-columns: minmax(0,1fr) minmax(320px,.55fr);
  align-items: end;
  gap: 58px;
  margin-bottom: 30px;
  display: grid;
}

.home-services__heading h2 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(2.35rem,4vw,3.4rem);
}

.home-services__heading>p {
  max-width: 520px;
  color: var(--ink-soft);
  margin: 0 0 5px;
  font-size: .77rem;
}

.home-service-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(12,minmax(0,1fr));
  display: grid;
}

.home-service-box {
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-column: span 3;
  min-width: 0;
  min-height: 385px;
  transition: color .2s,transform .2s,box-shadow .2s;
  overflow: hidden;
}

.home-service-box:nth-child(n+5) {
  grid-column: span 4;
}

.home-service-box:hover,
.home-service-box:focus-visible {
  z-index: 2;
  color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.home-service-box__image {
  background: #d9dcdd;
  height: 150px;
  margin: 0;
  overflow: hidden;
}

.home-service-box__image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .45s;
}

.home-service-box:hover .home-service-box__image img,
.home-service-box:focus-visible .home-service-box__image img {
  transform: scale(1.045);
}

.home-service-box__body {
  flex-direction: column;
  min-height: 235px;
  padding: 20px;
  display: flex;
}

.home-service-box__body>span {
  color: var(--orange);
  letter-spacing: .09em;
  margin: 0 0 17px auto;
  font-size: .6rem;
  font-weight: 800;
}

.home-service-box h3 {
  max-width: 240px;
  font-family: var(--font-display), Georgia, serif;
  margin-bottom: 9px;
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1.08;
}

.home-service-box p {
  color: var(--ink-soft);
  margin: 0 0 16px;
  font-size: .68rem;
  line-height: 1.6;
}

.home-service-box strong {
  color: var(--red);
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: .66rem;
  font-weight: 800;
  display: inline-flex;
}

.home-services__footer {
  border: 1px solid var(--line);
  background: #f2eee8;
  border-top: 0;
  align-items: center;
  gap: 24px;
  padding: 19px 22px;
  display: flex;
}

.home-services__footer p {
  max-width: 680px;
  color: var(--ink-soft);
  margin: 0 auto 0 0;
  font-size: .69rem;
}

.home-services__footer>a:not(.button) {
  color: var(--red);
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  font-weight: 800;
  display: inline-flex;
}

/* ===== RESPONSIVE / MEDIA QUERIES ===== */
@media (width<=1180px) {
  .home-project-gallery {
    grid-template-columns: minmax(280px,.38fr) minmax(0,.62fr);
  }

  .home-service-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .home-service-box,
  .home-service-box:nth-child(n+5) {
    grid-column: auto;
  }
}

@media (width<=900px) {
  .home-project-gallery {
    grid-template-columns: 1fr;
  }

  .home-project-gallery__copy {
    max-width: 760px;
    padding-bottom: 30px;
  }

  .home-project-gallery__stage,
  .home-project-gallery__slide {
    min-height: 540px;
  }

  .home-services__heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .home-services__heading>p {
    max-width: 760px;
  }

  .home-services__footer {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

@media (width<=760px) {
  .project-gallery,
  .home-services {
    padding-block: 54px;
  }

  .home-service-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .home-service-box:last-child {
    grid-column: 1/-1;
  }
}

@media (width<=620px) {
  .home-project-gallery__copy {
    padding: 32px 23px 27px;
  }

  .home-project-gallery__copy h3 {
    font-size: 2.35rem;
  }

  .home-project-gallery__stage,
  .home-project-gallery__slide {
    min-height: 530px;
  }

  .home-project-photo--main {
    inset: 0 0 220px;
  }

  .home-project-photo--top {
    inset: 320px calc(50% + 5px) 24px 0;
  }

  .home-project-photo--bottom {
    inset: 320px 0 24px calc(50% + 5px);
  }

  .home-project-gallery__label {
    top: 14px;
    left: 14px;
  }

  .home-project-photo.is-low-resolution>img {
    max-width: 94%;
    max-height: 94%;
  }

  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .home-service-box,
  .home-service-box:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .home-service-box__image {
    height: 210px;
  }

  .home-service-box__body {
    min-height: 220px;
  }

  .home-services__footer {
    flex-direction: column;
  }

  .home-services__footer .button,
  .home-services__footer>a:not(.button) {
    justify-content: center;
    width: 100%;
  }
}

.inner-emergency-cta .button--outline:hover,
.emergency-action .button--outline:hover {
  color: var(--ink);
  background-color: var(--white);
  border-color: var(--white);
}

/* ===== REPAIR DECISION (REPAIR VS REPLACE) ===== */
.repair-decision {
  background: var(--paper);
  padding-block: 72px;
}

.repair-decision__heading {
  grid-template-columns: 1fr minmax(320px,.65fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 28px;
  display: grid;
}

.repair-decision__heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem,4vw,3.5rem);
}

.repair-decision__heading>p {
  color: var(--ink-soft);
  margin: 0 0 7px;
  font-size: .78rem;
}

.repair-decision__grid {
  grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr);
  align-items: stretch;
  display: grid;
}

.decision-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.decision-card--repair {
  border-radius: 6px 0 0 6px;
}

.decision-card--replace {
  border-radius: 0 6px 6px 0;
}

.decision-card__number {
  color: #1517190e;
  font-family: var(--font-display), Georgia, serif;
  font-size: 4.2rem;
  line-height: 1;
  position: absolute;
  top: 10px;
  right: 18px;
}

.decision-card h3 {
  font-family: var(--font-display), Georgia, serif;
  margin-bottom: 18px;
  font-size: 1.55rem;
  font-weight: 400;
}

.decision-card ul {
  gap: 10px;
  margin: 0 0 23px;
  padding: 0;
  list-style: none;
  display: grid;
}

.decision-card li {
  color: var(--ink-soft);
  align-items: flex-start;
  gap: 9px;
  font-size: .75rem;
  display: flex;
}

.decision-card li svg {
  color: var(--red);
  flex: none;
}

.decision-divider {
  place-items: center;
  display: grid;
  position: relative;
}

.decision-divider:before {
  content: "";
  background: var(--line-dark);
  width: 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
}

.decision-divider span {
  z-index: 1;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-dark);
  text-transform: uppercase;
  border-radius: 50%;
  place-items: center;
  font-size: .62rem;
  font-weight: 800;
  display: grid;
  position: relative;
}

.repair-decision__resource {
  border-left: 3px solid var(--orange);
  background: #fff8e9;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 22px;
  display: grid;
}

.repair-decision__resource>svg {
  color: var(--orange);
}

.repair-decision__resource p {
  color: #514a3d;
  margin: 0;
  font-size: .72rem;
}

.repair-decision__resource p a {
  font-size: inherit;
  text-underline-offset: 2px;
  text-decoration: underline;
  display: inline;
}

/* ===== ROOF SYSTEM OVERVIEW ===== */
.roof-system {
  background: var(--warm);
  border-block: 1px solid var(--line);
  padding-block: 68px;
}

.roof-system__intro {
  max-width: 790px;
  margin-bottom: 30px;
}

.roof-system__intro h2 {
  margin-bottom: 14px;
  font-size: clamp(2.35rem,4vw,3.4rem);
}

.roof-system__intro>p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: .83rem;
}

.roof-system__grid {
  grid-template-columns: repeat(5,minmax(0,1fr));
  display: grid;
}

.roof-system__grid article {
  background: var(--white);
  border-block: 1px solid var(--line);
  border-left: 1px solid var(--line);
  min-height: 238px;
  padding: 27px 22px;
  position: relative;
}

.roof-system__grid article:last-child {
  border-right: 1px solid var(--line);
}

.roof-system__grid article>svg {
  color: var(--red);
  margin: 28px 0 17px;
}

.roof-system__index {
  color: var(--orange);
  letter-spacing: .08em;
  font-size: .6rem;
  font-weight: 800;
  position: absolute;
  top: 18px;
  right: 18px;
}

.roof-system__grid h3 {
  font-family: var(--font-display), Georgia, serif;
  margin-bottom: 9px;
  font-size: 1.25rem;
  font-weight: 400;
}

.roof-system__grid p {
  color: var(--ink-soft);
  margin: 0;
  font-size: .68rem;
  line-height: 1.6;
}

.roof-system__links {
  border: 1px solid var(--line);
  background: #f2eee8;
  border-top: 0;
  align-items: center;
  gap: 24px;
  padding: 19px 22px;
  display: flex;
}

.roof-system__links p {
  max-width: 700px;
  color: var(--ink-soft);
  margin: 0 auto 0 0;
  font-size: .69rem;
}

/* ===== COST FACTORS ===== */
.cost-factors {
  background: var(--paper);
  padding-block: 72px;
}

.cost-factors__layout {
  grid-template-columns: minmax(280px,.7fr) minmax(0,1.3fr);
  align-items: start;
  gap: clamp(40px,6vw,84px);
  display: grid;
}

.cost-factors__intro {
  position: sticky;
  top: 130px;
}

.cost-factors__intro h2 {
  margin-bottom: 16px;
  font-size: clamp(2.35rem,4vw,3.45rem);
  line-height: 1;
}

.cost-factors__intro>p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: .78rem;
}

.cost-factors__intro .button {
  margin: 8px 0 16px;
}

.cost-factors__intro .text-link {
  width: fit-content;
  display: flex;
}

.cost-factors__grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(2,minmax(0,1fr));
  display: grid;
}

.cost-factors__grid article {
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 176px;
  padding: 25px;
}

.cost-factors__grid span {
  color: var(--orange);
  margin-bottom: 27px;
  font-size: .62rem;
  font-weight: 800;
  display: block;
}

.cost-factors__grid h3 {
  font-family: var(--font-display), Georgia, serif;
  margin-bottom: 8px;
  font-size: 1.18rem;
  font-weight: 400;
}

.cost-factors__grid p {
  color: var(--ink-soft);
  margin: 0;
  font-size: .69rem;
  line-height: 1.55;
}

.area-list a {
  color: var(--ink);
  text-underline-offset: 2px;
  -webkit-text-decoration: underline #c6080840;
  text-decoration: underline #c6080840;
}

.area-list a:hover {
  color: var(--red);
}

/* ===== CREDENTIALS / TRUST BADGES ===== */
.credentials {
  background: var(--paper);
  padding-block: 70px;
}

.credentials__heading {
  grid-template-columns: 1fr minmax(340px,.65fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 30px;
  display: grid;
}

.credentials__heading h2 {
  margin: 0;
  font-size: clamp(2.35rem,4vw,3.4rem);
}

.credentials__heading>div:last-child p {
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-size: .77rem;
}

.credentials__heading>div:last-child span {
  color: var(--orange);
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: .61rem;
  font-weight: 800;
}

.credentials__grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  display: grid;
}

.credentials__grid article {
  background: var(--white);
  border-block: 1px solid var(--line);
  border-left: 1px solid var(--line);
  min-height: 225px;
  padding: 28px 24px;
}

.credentials__grid article:last-child {
  border-right: 1px solid var(--line);
}

.credentials__grid article>span {
  width: 48px;
  height: 48px;
  color: var(--red);
  background: #fff4f2;
  border-radius: 50%;
  place-items: center;
  margin-bottom: 21px;
  display: grid;
}

.credentials__grid h3 {
  font-family: var(--font-display), Georgia, serif;
  margin-bottom: 8px;
  font-size: 1.17rem;
  font-weight: 400;
}

.credentials__grid p {
  color: var(--ink-soft);
  margin: 0;
  font-size: .68rem;
  line-height: 1.6;
}

.credentials__footer {
  background: var(--warm);
  border: 1px solid var(--line);
  border-top: 0;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 19px 22px;
  display: flex;
}

.credentials__footer>p {
  max-width: 670px;
  color: var(--ink-soft);
  margin: 0;
  font-size: .69rem;
}

.credentials__footer>div {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 18px;
  display: flex;
}

/* ===== INSURANCE GUIDANCE ===== */
.insurance-guidance {
  background: var(--warm);
  border-top: 1px solid var(--line);
  padding-block: 64px;
}

.insurance-guidance__panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  box-shadow: var(--shadow-sm);
  border-radius: 5px;
  grid-template-columns: 64px minmax(0,1fr) minmax(260px,.55fr);
  align-items: start;
  gap: 28px;
  padding: clamp(28px,4vw,48px);
  display: grid;
}

.insurance-guidance__icon {
  width: 64px;
  height: 64px;
  color: var(--red);
  background: #fff3f1;
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.insurance-guidance__copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem,3.3vw,2.8rem);
}

.insurance-guidance__copy>p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: .78rem;
}

.insurance-guidance__links {
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  display: flex;
}

.insurance-guidance aside {
  border: 1px solid var(--line);
  background: #faf7f3;
  padding: 22px;
}

.insurance-guidance aside>strong {
  font-family: var(--font-display), Georgia, serif;
  margin-bottom: 13px;
  font-size: 1.1rem;
  font-weight: 400;
  display: block;
}

.insurance-guidance aside ul {
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.insurance-guidance aside li {
  color: var(--ink-soft);
  align-items: flex-start;
  gap: 8px;
  font-size: .68rem;
  display: flex;
}

.insurance-guidance aside svg {
  color: var(--red);
  flex: none;
}

/* ===== HOME FINAL CTA ===== */
.home-final-cta {
  background: var(--white);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.home-final-cta:before {
  content: "";
  background: var(--red);
  width: 8px;
  position: absolute;
  inset: 0 auto 0 0;
}

.home-final-cta__inner {
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  min-height: 220px;
  padding-block: 43px;
  display: flex;
}

.home-final-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(2.25rem,4vw,3.25rem);
}

.home-final-cta p:not(.eyebrow) {
  max-width: 680px;
  color: var(--ink-soft);
  margin: 0;
  font-size: .78rem;
}

.home-final-cta__actions {
  flex-wrap: wrap;
  flex: none;
  justify-content: flex-end;
  gap: 11px;
  display: flex;
}

/* ===== RESPONSIVE / MEDIA QUERIES ===== */
@media (width<=1180px) {
  .local-roofing__layout,
  .cost-factors__layout {
    grid-template-columns: 1fr;
  }

  .local-roofing__intro {
    max-width: 780px;
  }

  .cost-factors__intro {
    max-width: 800px;
    position: static;
  }

  .results__case dl {
    grid-template-columns: repeat(2,minmax(0,1fr));
    row-gap: 20px;
  }

  .roof-system__grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .roof-system__grid article:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .roof-system__grid article:nth-child(n+4) {
    border-top: 0;
  }
}

@media (width<=992px) {
  .emergency-action__heading,
  .repair-decision__heading,
  .credentials__heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .emergency-action__heading>p,
  .repair-decision__heading>p,
  .credentials__heading>div:last-child {
    max-width: 760px;
  }

  .emergency-action__steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .emergency-action__steps li:nth-child(2) {
    border-right: 0;
  }

  .emergency-action__steps li:nth-child(-n+2) {
    border-bottom: 1px solid #ffffff29;
  }

  .repair-decision__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .decision-card--repair,
  .decision-card--replace {
    border-radius: 6px;
  }

  .decision-divider {
    display: none;
  }

  .repair-decision__resource {
    grid-template-columns: auto 1fr;
  }

  .repair-decision__resource>a {
    grid-column: 2;
  }

  .credentials__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .credentials__grid article:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .credentials__grid article:nth-child(n+3) {
    border-top: 0;
  }

  .credentials__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .credentials__footer>div {
    justify-content: flex-start;
  }

  .insurance-guidance__panel {
    grid-template-columns: 64px 1fr;
  }

  .insurance-guidance aside {
    grid-column: 2;
  }

  .home-final-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .home-final-cta__actions {
    justify-content: flex-start;
  }
}

@media (width<=767px) {
  .local-roofing,
  .repair-decision,
  .roof-system,
  .cost-factors,
  .credentials {
    padding-block: 54px;
  }

  .symptom-panel__heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .symptom-panel__heading>span {
    text-align: left;
    max-width: none;
  }

  .symptom-grid,
  .cost-factors__grid,
  .credentials__grid,
  .roof-system__grid {
    grid-template-columns: 1fr;
  }

  .symptom-card,
  .symptom-card:nth-child(2n),
  .symptom-card:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    grid-column: auto;
    min-height: 0;
  }

  .symptom-card:last-child {
    border-bottom: 0;
  }

  .results__case {
    grid-template-columns: 1fr;
  }

  .results__case dl {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .results__case dl>div {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
    padding: 15px 0;
  }

  .results__case-links {
    flex-direction: column;
    grid-column: 1;
    align-items: flex-start;
  }

  .emergency-action__steps {
    grid-template-columns: 1fr;
  }

  .emergency-action__steps li,
  .emergency-action__steps li:nth-child(2) {
    border-bottom: 1px solid #ffffff29;
    border-right: 0;
    min-height: 0;
  }

  .emergency-action__steps li:last-child {
    border-bottom: 0;
  }

  .emergency-action__footer,
  .roof-system__links {
    flex-direction: column;
    align-items: flex-start;
  }

  .emergency-action__footer>div {
    flex-wrap: wrap;
  }

  .repair-decision__resource {
    grid-template-columns: 1fr;
  }

  .repair-decision__resource>a {
    grid-column: 1;
  }

  .roof-system__grid article,
  .roof-system__grid article:nth-child(3),
  .roof-system__grid article:nth-child(n+4),
  .credentials__grid article,
  .credentials__grid article:nth-child(2),
  .credentials__grid article:nth-child(n+3) {
    border-top: 0;
    border-right: 1px solid var(--line);
    min-height: 0;
  }

  .roof-system__grid article:first-child,
  .credentials__grid article:first-child {
    border-top: 1px solid var(--line);
  }

  .cost-factors__grid article {
    min-height: 0;
  }

  .insurance-guidance__panel {
    grid-template-columns: 1fr;
  }

  .insurance-guidance aside {
    grid-column: 1;
  }
}

@media (width<=560px) {
  .local-roofing__actions,
  .local-roofing__actions .button,
  .emergency-action__footer>div,
  .emergency-action__footer .button,
  .home-final-cta__actions,
  .home-final-cta__actions .button {
    width: 100%;
  }

  .local-roofing__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .decision-card {
    padding: 25px 21px;
  }

  .roof-system__links {
    gap: 12px;
  }

  .insurance-guidance__panel {
    padding: 24px 20px;
  }
}

/* ===== GENERIC TEMPLATE COMPONENTS (FEATURE GRID, PEOPLE GRID, LINK BAND, PROOF PANEL, TABLES, ETC.) ===== */
.inner-section--bordered {
  border-block: 1px solid var(--line);
}

.template-feature-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper,#fffdfc);
  margin-top: clamp(30px,4vw,54px);
  display: grid;
}

.template-feature-grid--2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.template-feature-grid--3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.template-feature-grid--4 {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.template-feature-grid article {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
  min-height: 246px;
  padding: clamp(24px,2.8vw,38px);
  position: relative;
  overflow: hidden;
}

.template-feature-grid article:after {
  content: "";
  background: var(--red);
  transform-origin: 0;
  height: 3px;
  transition: transform .22s;
  position: absolute;
  inset: auto 0 0;
  transform: scaleX(0);
}

.template-feature-grid article:hover:after,
.template-feature-grid article:focus-within:after {
  transform: scaleX(1);
}

.template-feature-grid__number {
  color: var(--orange);
  letter-spacing: .14em;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 800;
  display: block;
}

.template-feature-grid h3 {
  color: var(--ink);
  font-family: var(--font-display), Georgia, serif;
  margin: 8px 0 12px;
  font-size: clamp(22px,2vw,27px);
  font-weight: 400;
  line-height: 1.12;
}

.template-feature-grid article>p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.template-feature-grid .inner-text-link {
  margin-top: 20px;
}

.template-people-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  margin-top: clamp(30px,4vw,50px);
  display: grid;
}

.template-people-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #c6080806, transparent 58%), var(--paper,#fffdfc);
  min-height: 310px;
  padding: 30px;
  position: relative;
}

.template-people-grid article>span {
  color: #fff;
  background: var(--ink);
  letter-spacing: .08em;
  border-radius: 50%;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 32px;
  font-size: 17px;
  font-weight: 800;
  display: grid;
}

.template-people-grid h3 {
  font-family: var(--font-display), Georgia, serif;
  margin: 7px 0 12px;
  font-size: 28px;
  font-weight: 400;
}

.template-people-grid p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.template-people-grid article>strong {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.5;
  display: block;
}

.template-link-band {
  border: 1px solid var(--line);
  background: var(--paper,#fffdfc);
  overflow: hidden;
}

.template-link-band>p {
  border-bottom: 1px solid var(--line);
  background: var(--warm,#faf7f3);
  margin: 0;
  padding: 20px 22px;
}

.template-link-band>div {
  display: grid;
}

.template-link-band a {
  border-bottom: 1px solid var(--line);
  min-height: 76px;
  color: var(--ink);
  gap: 4px;
  padding: 16px 22px;
  text-decoration: none;
  transition: color .18s,background .18s;
  display: grid;
}

.template-link-band a:last-child {
  border-bottom: 0;
}

.template-link-band a:hover,
.template-link-band a:focus-visible {
  color: var(--red);
  background: #c6080806;
}

.template-link-band a span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.template-proof-panel {
  border: 1px solid var(--line-dark,#d9d2ca);
  background: var(--ink);
  color: #fff;
  grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr);
  display: grid;
  overflow: hidden;
}

.inner-two-column>.template-proof-panel {
  grid-template-columns: 1fr;
  min-width: 0;
}

.inner-two-column>.template-proof-panel dl {
  border-top: 1px solid #ffffff24;
  border-left: 0;
}

.template-proof-panel>div {
  padding: clamp(30px,4vw,58px);
}

.template-proof-panel .eyebrow {
  color: var(--orange);
}

.template-proof-panel h2 {
  color: #fff;
  max-width: 16ch;
  font-family: var(--font-display), Georgia, serif;
  margin: 10px 0 16px;
  font-size: clamp(34px,4vw,48px);
  font-weight: 400;
  line-height: 1.04;
}

.template-proof-panel>div>p:last-child {
  color: #ffffffad;
  max-width: 62ch;
  margin: 0;
  line-height: 1.75;
}

.template-proof-panel dl {
  border-left: 1px solid #ffffff24;
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin: 0;
  display: grid;
}

.template-proof-panel dl>div {
  border-bottom: 1px solid #ffffff24;
  border-right: 1px solid #ffffff24;
  align-content: center;
  min-height: 128px;
  padding: 22px;
  display: grid;
}

.template-proof-panel dt {
  color: #ffffff8c;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  font-weight: 800;
}

.template-proof-panel dd {
  color: #fff;
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.template-filter-bar {
  border: 1px solid var(--line);
  background: var(--warm,#faf7f3);
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 28px 0 30px;
  padding: 16px;
  display: flex;
}

.template-filter-bar strong {
  margin-right: 8px;
  font-size: 13px;
}

.template-filter-bar a {
  border: 1px solid var(--line-dark,#d9d2ca);
  min-height: 38px;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.template-filter-bar a:hover,
.template-filter-bar a:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.template-case-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  margin-top: 34px;
  display: grid;
}

.template-case-grid article {
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
}

.template-case-grid h3 {
  font-family: var(--font-display), Georgia, serif;
  margin: 8px 0 20px;
  font-size: 27px;
  font-weight: 400;
}

.template-case-grid dl {
  gap: 14px;
  margin: 0;
  display: grid;
}

.template-case-grid dl>div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.template-case-grid dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 800;
}

.template-case-grid dd {
  margin: 6px 0 0;
  line-height: 1.6;
}

.template-case-grid article>span {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 22px;
  font-size: 11px;
  font-weight: 800;
  display: block;
}

.template-contact-ribbon {
  border-block: 1px solid var(--line);
  background: var(--warm,#faf7f3);
}

.template-contact-ribbon>div {
  grid-template-columns: repeat(4,minmax(0,1fr));
  display: grid;
}

.template-contact-ribbon>div>div {
  border-right: 1px solid var(--line);
  align-content: center;
  gap: 5px;
  min-height: 92px;
  padding: 18px 22px;
  display: grid;
}

.template-contact-ribbon>div>div:first-child {
  border-left: 1px solid var(--line);
}

.template-contact-ribbon strong {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.template-contact-ribbon span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.template-form-consent {
  color: var(--muted);
  margin: 0;
}

.template-form-consent a {
  color: var(--red);
}

.template-article-facts {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin: 30px 0 44px;
  display: grid;
}

.template-article-facts>div {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.template-article-facts dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 10px;
  font-weight: 800;
}

.template-article-facts dd {
  color: var(--ink);
  margin: 7px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.template-article-cta {
  border-left: 4px solid var(--red);
  background: var(--warm,#faf7f3);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  margin: 44px 0;
  padding: clamp(24px,4vw,40px);
  display: grid;
}

.template-article-cta h2 {
  margin: 7px 0 10px;
}

.template-article-cta p:last-child {
  margin-bottom: 0;
}

.template-table-wrap {
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 34px;
  overflow-x: auto;
}

.template-availability-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 840px;
}

.template-availability-table caption {
  color: var(--muted);
  background: var(--warm,#faf7f3);
  text-align: left;
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
}

.template-availability-table th,
.template-availability-table td {
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  padding: 15px 16px;
  font-size: 13px;
}

.template-availability-table thead th {
  color: var(--ink);
  background: var(--warm,#faf7f3);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 11px;
}

.template-availability-table tbody th {
  min-width: 210px;
}

.template-availability-table tbody th a {
  color: var(--ink);
  text-decoration: none;
}

.template-availability-table tbody th a:hover {
  color: var(--red);
}

.template-availability-table td {
  color: var(--muted);
}

/* ===== RESPONSIVE / MEDIA QUERIES ===== */
@media (width<=1100px) {
  .template-feature-grid--4 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .template-proof-panel {
    grid-template-columns: 1fr;
  }

  .template-proof-panel dl {
    border-top: 1px solid #ffffff24;
    border-left: 0;
  }

  .template-contact-ribbon>div {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .template-contact-ribbon>div>div:nth-child(3) {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .template-contact-ribbon>div>div:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (width<=900px) {
  .template-feature-grid--3,
  .template-people-grid,
  .template-case-grid {
    grid-template-columns: 1fr;
  }

  .template-feature-grid--3 article,
  .template-people-grid article,
  .template-case-grid article {
    min-height: 0;
  }

  .template-article-facts {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .template-article-cta {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (width<=640px) {
  .template-feature-grid--2,
  .template-feature-grid--4 {
    grid-template-columns: 1fr;
  }

  .template-feature-grid article {
    min-height: 0;
  }

  .template-proof-panel dl,
  .template-contact-ribbon>div,
  .template-article-facts {
    grid-template-columns: 1fr;
  }

  .template-proof-panel dl>div,
  .template-contact-ribbon>div>div,
  .template-contact-ribbon>div>div:nth-child(3),
  .template-contact-ribbon>div>div:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
    border-right: 0;
    min-height: 0;
  }

  .template-proof-panel dl>div {
    border-color: #ffffff24;
  }

  .template-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .template-filter-bar a {
    align-items: center;
    display: flex;
  }

  .template-article-cta .button {
    width: 100%;
  }
}

/* ===== PROJECT GALLERY / LIGHTBOX ===== */
.roofing-gallery {
  margin-top: 34px;
}

.roofing-gallery__toolbar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-width: 0;
  margin-bottom: 24px;
  padding: 12px;
  display: flex;
}

.roofing-gallery__filters {
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.roofing-gallery__filters button {
  min-height: 42px;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  background: 0 0;
  border: 1px solid #0000;
  border-radius: 4px;
  padding: 0 15px;
  font-size: .72rem;
  font-weight: 800;
  transition: color .18s,background-color .18s,border-color .18s;
}

.roofing-gallery__filters button:hover,
.roofing-gallery__filters button:focus-visible {
  color: var(--red);
  border-color: #c6080833;
}

.roofing-gallery__filters button[aria-pressed=true] {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.roofing-gallery__toolbar>p {
  color: var(--muted);
  white-space: nowrap;
  flex: none;
  margin: 0;
  padding-right: 8px;
  font-size: .68rem;
  font-weight: 700;
}

.roofing-gallery__grid {
  columns: 3;
  column-gap: 18px;
}

.roofing-gallery-card {
  vertical-align: top;
  background: var(--ink);
  break-inside: avoid;
  border-radius: 6px;
  width: 100%;
  margin: 0 0 18px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 34px #15171914;
}

.roofing-gallery-card[hidden] {
  display: none!important;
}

.roofing-gallery-card>button {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  font: inherit;
  background: 0 0;
  border: 0;
  padding: 0;
  display: block;
  position: relative;
}

.roofing-gallery-card__media {
  isolation: isolate;
  background: #292d2f;
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.roofing-gallery-card--standard .roofing-gallery-card__media {
  aspect-ratio: 1;
}

.roofing-gallery-card--wide .roofing-gallery-card__media {
  aspect-ratio: 16/10;
}

.roofing-gallery-card--tall .roofing-gallery-card__media {
  aspect-ratio: 3/4;
}

.roofing-gallery-card__media:before,
.roofing-gallery-lightbox__media:before {
  content: "";
  z-index: 0;
  opacity: 0;
  background-image: linear-gradient(#10121338, #10121361), var(--adaptive-image);
  filter: blur(24px);
  background-position: 50%;
  background-size: cover;
  transition: opacity .18s;
  position: absolute;
  inset: -12%;
  transform: scale(1.08);
}

.roofing-gallery-card__media:after {
  content: "";
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(#0000 50%,#090b0cd6);
  position: absolute;
  inset: 0;
}

.roofing-gallery-card__media img {
  z-index: 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .35s;
  display: block;
  position: relative;
}

.roofing-gallery-card__media.is-low-resolution:before {
  opacity: .9;
}

.roofing-gallery-card__media.is-low-resolution img {
  object-fit: contain;
  width: auto;
  max-width: calc(100% - 32px);
  height: auto;
  max-height: calc(100% - 32px);
  margin: auto;
}

.roofing-gallery-card__copy {
  z-index: 3;
  color: var(--white);
  grid-template-columns: minmax(0,1fr) auto;
  gap: 4px 16px;
  padding: 28px 24px 22px;
  display: grid;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.roofing-gallery-card__copy small {
  color: var(--orange);
  letter-spacing: .12em;
  text-transform: uppercase;
  grid-column: 1;
  font-size: .58rem;
  font-weight: 800;
}

.roofing-gallery-card__copy strong {
  min-width: 0;
  font-family: var(--font-display), Georgia, serif;
  grid-column: 1;
  font-size: clamp(1.25rem,2vw,1.65rem);
  font-weight: 400;
  line-height: 1.08;
}

.roofing-gallery-card__copy i {
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  grid-area: 1/2/span 2;
  align-self: end;
  place-items: center;
  font-size: 1rem;
  font-style: normal;
  transition: color .18s,background-color .18s;
  display: grid;
}

.roofing-gallery-card>button:hover .roofing-gallery-card__media img {
  transform: scale(1.025);
}

.roofing-gallery-card>button:hover .roofing-gallery-card__copy i,
.roofing-gallery-card>button:focus-visible .roofing-gallery-card__copy i {
  color: var(--white);
  background: var(--red);
}

.roofing-gallery-card>button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -3px;
}

.roofing-gallery-lightbox {
  width: min(1120px,100vw - 32px);
  max-width: none;
  max-height: min(820px,100vh - 32px);
  color: var(--white);
  background: var(--ink);
  border: 1px solid #ffffff29;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 36px 100px #00000073;
}

.roofing-gallery-lightbox[open] {
  grid-template-columns: minmax(0,1.6fr) minmax(300px,.72fr);
  display: grid;
}

.roofing-gallery-lightbox::backdrop {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #0a0b0cd1;
}

.roofing-gallery-lightbox__close {
  z-index: 5;
  width: 44px;
  height: 44px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  background: #fffffff0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  font-size: 1.5rem;
  display: grid;
  position: absolute;
  top: 14px;
  right: 14px;
}

.roofing-gallery-lightbox__media {
  isolation: isolate;
  background: #292d2f;
  place-items: center;
  min-width: 0;
  min-height: 560px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.roofing-gallery-lightbox__media:before {
  opacity: .82;
  background-image: linear-gradient(#10121347, #1012136b), var(--gallery-lightbox-bg);
}

.roofing-gallery-lightbox__media img {
  z-index: 1;
  object-fit: contain;
  width: auto;
  max-width: calc(100% - 36px);
  height: auto;
  max-height: min(720px,100vh - 90px);
  display: block;
  position: relative;
  box-shadow: 0 18px 48px #00000040;
}

.roofing-gallery-lightbox__copy {
  align-self: center;
  padding: 72px 34px 42px;
}

.roofing-gallery-lightbox__copy h2 {
  color: var(--white);
  font-family: var(--font-display), Georgia, serif;
  margin: 8px 0 18px;
  font-size: clamp(2rem,3.5vw,3rem);
  font-weight: 400;
  line-height: 1.02;
}

.roofing-gallery-lightbox__copy>p:not(.eyebrow) {
  color: #ffffffad;
  font-size: .86rem;
  line-height: 1.7;
}

.roofing-gallery-lightbox__copy>a {
  min-height: 46px;
  color: var(--white);
  border-bottom: 1px solid #ffffff57;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  font-size: .74rem;
  font-weight: 800;
  display: inline-flex;
}

.project-gallery__footer {
  background: var(--warm);
  border: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: 18px 20px;
  display: flex;
}

.project-gallery__footer p {
  max-width: 720px;
  color: var(--ink-soft);
  margin: 0;
  font-size: .75rem;
  line-height: 1.6;
}

.project-gallery__footer .button {
  flex: none;
}

/* ===== RESPONSIVE / MEDIA QUERIES ===== */
@media (width<=1024px) {
  .roofing-gallery__grid {
    columns: 2;
  }

  .roofing-gallery-lightbox[open] {
    grid-template-columns: minmax(0,1fr) 300px;
  }
}

@media (width<=760px) {
  .roofing-gallery__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .roofing-gallery__filters {
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    flex-wrap: nowrap;
    margin: -2px -2px 0;
    padding: 2px 2px 8px;
    overflow-x: auto;
  }

  .roofing-gallery__filters button {
    flex: none;
  }

  .roofing-gallery__toolbar>p {
    padding: 0 3px 3px;
  }

  .roofing-gallery-lightbox {
    overflow-y: auto;
  }

  .roofing-gallery-lightbox[open] {
    grid-template-columns: 1fr;
  }

  .roofing-gallery-lightbox__media {
    min-height: min(62vh,520px);
  }

  .roofing-gallery-lightbox__media img {
    max-height: min(56vh,470px);
  }

  .roofing-gallery-lightbox__copy {
    padding: 28px 24px 34px;
  }

  .project-gallery__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (width<=560px) {
  .roofing-gallery__grid {
    columns: 1;
  }

  .roofing-gallery-card--standard .roofing-gallery-card__media {
    aspect-ratio: 4/3;
  }

  .roofing-gallery-card--tall .roofing-gallery-card__media {
    aspect-ratio: 4/5;
  }

  .roofing-gallery-lightbox {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .roofing-gallery-lightbox__close {
    top: 10px;
    right: 10px;
  }

  .project-gallery__footer .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion:reduce) {
  .roofing-gallery-card__media img,
  .roofing-gallery-card__copy i,
  .roofing-gallery__filters button {
    transition: none;
  }
}
