/* Virginia Roof Rejuvenation — design tokens per DESIGN.md */
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #111111;
  --panel: #1E1E1E;
  --panel-2: #262626;
  --line: #2E2E2E;
  --red: #B82025;
  --red-dark: #8E181C;
  --red-bright: #D0484E;
  --grey: #5F6368;
  --grey-light: #9AA0A6;
  --text: #EDEDED;
  --text-body: #C9CDD1;
  --paper: #F4F4F4;
  --paper-ink: #1A1A1A;
  --paper-body: #3C4043;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body-font: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--ink);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
a:hover { color: #fff; }
ul { list-style-position: inside; }

h1, h2, h3, .cta-band-h {
  font-family: var(--head);
  font-weight: 700;
  color: var(--text);
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); text-transform: uppercase; margin-bottom: .6em; }
h3 { font-size: 1.35rem; margin-bottom: .35em; }
p + p { margin-top: 1em; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 860px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

.microlabel {
  font-family: var(--head); font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; font-size: .82rem; color: var(--red-bright);
  margin-bottom: .9em;
}
.section-light .microlabel { color: var(--red); }
.section-intro { max-width: 46em; margin-bottom: 1.6em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem;
  padding: 14px 26px; text-decoration: none; border: 2px solid transparent;
  transition: background .15s, border-color .15s, transform .15s;
  min-height: 48px;
  text-align: center;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: var(--grey); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: 10px 18px; font-size: .95rem; min-height: 0; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17,17,17,.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 74px; }
.brand img { width: 132px; height: auto; }
.main-nav { flex: 1; }
.nav-menu { display: flex; gap: 4px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu a {
  display: block; padding: 26px 10px; text-decoration: none;
  font-family: var(--head); font-weight: 600; font-size: 1.04rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--text);
  white-space: nowrap;
}
.nav-menu a:hover { color: #fff; box-shadow: inset 0 -3px 0 var(--red); }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--red);
  list-style: none; padding: 8px 0; display: none;
}
.sub-menu a { padding: 10px 18px; font-size: 1rem; box-shadow: none; }
.sub-menu a:hover { background: var(--panel-2); box-shadow: none; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  text-decoration: none; font-family: var(--head); font-weight: 700;
  font-size: 1.35rem; color: #fff; line-height: 1.1; text-align: right;
  white-space: nowrap;
}
.header-phone .phone-label {
  display: block; font-family: var(--body-font); font-weight: 400;
  font-size: .72rem; color: var(--grey-light); text-transform: uppercase; letter-spacing: .12em;
}
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  background: var(--ink); overflow: clip; isolation: isolate;
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(17,17,17,.94) 22%, rgba(17,17,17,.72) 52%, rgba(17,17,17,.38) 100%);
}
.hero-inner { position: relative; padding: 90px 0; max-width: 780px; }
.hero .microlabel { animation: rise .7s ease both; }
.hero h1 { animation: rise .7s ease .08s both; }
.hero-sub { font-size: 1.22rem; margin: 1.1em 0 1.6em; max-width: 34em; animation: rise .7s ease .16s both; }
.hero-slogan {
  font-family: var(--head); font-weight: 600; color: var(--red-bright);
  text-transform: uppercase; letter-spacing: .1em; font-size: 1.1rem;
  animation: rise .7s ease .12s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: rise .7s ease .24s both; }
.hero-derisk { margin-top: 14px; font-size: .95rem; color: var(--grey-light); animation: rise .7s ease .3s both; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; animation: rise .7s ease .36s both; }
.hero-chip {
  border: 1px solid var(--line); background: rgba(30,30,30,.75);
  padding: 8px 14px; font-size: .88rem; color: var(--text-body);
}
.hero-chip strong { color: var(--text); font-weight: 600; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* logo glow reveal (hero wordmark) */
.hero-mark { width: 210px; height: auto; margin-bottom: 26px; animation: markin 1s ease both; filter: drop-shadow(0 0 18px rgba(184,32,37,0)); }
@keyframes markin {
  0% { opacity: 0; transform: scale(.94); }
  55% { opacity: 1; filter: drop-shadow(0 0 22px rgba(184,32,37,.55)); }
  100% { opacity: 1; transform: scale(var(--mkscale, 1)); filter: drop-shadow(0 0 10px rgba(184,32,37,.25)); }
}

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-panel { background: var(--panel); }
.section-light { background: var(--paper); }
.section-light h2, .section-light h3 { color: var(--paper-ink); }
.section-light p, .section-light li { color: var(--paper-body); }
.section-light a { color: var(--paper-ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.fig img { width: 100%; }
.fig figcaption { font-size: .85rem; color: var(--grey-light); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 10px; }
.section-light .fig figcaption { color: var(--grey); border-color: #ddd; }

.hairline { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }

/* honesty strip */
.honesty {
  border-left: 4px solid var(--red); background: var(--panel);
  padding: 22px 26px; margin: 0 0 0; font-size: 1.05rem;
}
.honesty-lead {
  font-family: var(--head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; color: var(--red); font-size: .85rem; margin-bottom: 6px;
}
.honesty p:last-child { color: var(--text); }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 40px; }
.card {
  background: var(--panel); border: 1px solid var(--line); padding: 28px 26px 30px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--red); }
.card h3 a { text-decoration: none; }
.card p { font-size: .98rem; flex: 1; }
.card-link {
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--red); text-decoration: none; font-size: .98rem;
}
.card-link:hover { color: #fff; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 30px; margin-top: 44px; }
.step { border-top: 3px solid var(--red); padding-top: 18px; }
.step-num { font-family: var(--head); font-weight: 700; font-size: 1rem; color: var(--grey); letter-spacing: .18em; margin-bottom: 8px; }
.section-light .step-num { color: var(--grey); }
.step p { font-size: .98rem; }

/* stat tiles (SoyLei figures) */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin: 40px 0 14px; }
.stat {
  background: var(--panel); border: 1px solid var(--line); padding: 26px 24px; text-align: left;
}
.stat-big { font-family: var(--head); font-weight: 700; font-size: 2.6rem; color: var(--red); line-height: 1; }
.stat p { font-size: .95rem; margin-top: 8px; }
.footnote { font-size: .85rem; color: var(--grey-light); max-width: 52em; }

/* warning signs list */
.signs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 30px 0; list-style: none; }
.signs li {
  background: var(--panel); border: 1px solid var(--line); padding: 18px 20px;
  font-size: 1rem; color: var(--text-body);
}
.signs li strong { color: var(--text); display: block; font-family: var(--head); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }

/* checklist */
.checklist { list-style: none; margin: 22px 0; }
.checklist li { padding: 8px 0 8px 34px; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px;
  background: var(--red); clip-path: polygon(14% 44%, 0 62%, 40% 100%, 100% 16%, 84% 0, 39% 68%);
}
.checklist-x li::before { clip-path: polygon(20% 5%, 5% 20%, 35% 50%, 5% 80%, 20% 95%, 50% 65%, 80% 95%, 95% 80%, 65% 50%, 95% 20%, 80% 5%, 50% 35%); background: var(--grey); }

/* annotated treatment-boundary photo */
.bd-wrap { max-width: 980px; margin: 40px auto 0; }
.bd-frame { position: relative; overflow: clip; border: 1px solid var(--line); }
.bd-frame img { width: 100%; height: auto; display: block; }
.bd-tag {
  position: absolute; top: 14px; font-family: var(--head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; font-size: .85rem;
  background: rgba(17,17,17,.82); color: #fff; padding: 6px 12px; z-index: 2;
  border-left: 3px solid var(--red);
}
.bd-tag-left { left: 14px; }
.bd-tag-right { right: 14px; border-left: 0; border-right: 3px solid var(--grey); }
.bd-wrap figcaption {
  font-size: .85rem; color: var(--grey-light); padding-top: 10px;
  border-top: 1px solid var(--line); margin-top: 10px;
}

/* shingle cross-section explainer (scroll-triggered SVG states) */
.shx-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 40px; perspective: 1100px; }
.shx-panel {
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--red);
  padding: 24px 22px 26px;
  opacity: 0; transform: rotateX(10deg) translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.shx.in .shx-panel { opacity: 1; transform: none; }
.shx.in .shx-panel:nth-child(2) { transition-delay: .15s; }
.shx.in .shx-panel:nth-child(3) { transition-delay: .3s; }
.shx-state { font-family: var(--head); font-weight: 700; font-size: .85rem; letter-spacing: .22em; color: var(--grey-light); margin-bottom: 4px; }
.shx-panel svg { width: 100%; height: auto; margin: 14px 0 12px; }
.shx-panel p { font-size: .95rem; }
.shx-gr { fill: #4A4E52; }
.shx-mat { fill: var(--grey); }
.shx-back { fill: #191919; }
.shx-asphalt-new { fill: #33383C; }
.shx-asphalt-aged { fill: #3E3A35; }
.shx-asphalt-treated { fill: #2C3238; }
.shx-oil { fill: var(--red-bright); }
.shx-drop { fill: var(--red-bright); }
.shx-oil-faded { fill: #6B4A4C; opacity: .5; }
.shx-crack { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 60; stroke-dashoffset: 60; }
.shx.in .shx-crack { animation: shx-crack .9s ease .5s forwards; }
.shx.in .shx-crack-2 { animation-delay: .8s; }
.shx.in .shx-crack-3 { animation-delay: 1.1s; }
@keyframes shx-crack { to { stroke-dashoffset: 0; } }
.shx-note { fill: var(--grey-light); font-family: "Inter", sans-serif; font-size: 12px; }
.shx.in .shx-flex { animation: shx-flex 4.5s ease-in-out infinite; transform-origin: 160px 100px; }
.shx.in .shx-flex-slow { animation-duration: 6s; }
@keyframes shx-flex {
  0%, 100% { transform: rotate(-1.2deg); }
  50% { transform: rotate(1.2deg); }
}
.shx.in .shx-fall { animation: shx-fall 3.2s ease-in infinite; }
.shx.in .shx-fall-2 { animation-delay: 1.1s; }
.shx.in .shx-fall-3 { animation-delay: 2.2s; }
@keyframes shx-fall {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(90px); opacity: .9; }
  100% { transform: translateY(130px); opacity: 0; }
}
.shx.in .shx-drop { animation: shx-drop 2.8s ease-in infinite; }
.shx.in .shx-drop-2 { animation-delay: .5s; }
.shx.in .shx-drop-3 { animation-delay: 1.2s; }
.shx.in .shx-drop-4 { animation-delay: 1.8s; }
@keyframes shx-drop {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  75% { transform: translateY(48px); opacity: .8; }
  100% { transform: translateY(60px); opacity: 0; }
}
.shx.in .shx-oil-return { animation: shx-return 5.6s ease-in-out infinite; }
.shx.in .shx-or-2 { animation-delay: .7s; }
.shx.in .shx-or-3 { animation-delay: 1.4s; }
.shx.in .shx-or-4 { animation-delay: 2.1s; }
@keyframes shx-return {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

/* homepage 4-step process strip with portrait photos */
.process-strip { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.steps-4 { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 44px; }
.process-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.process-photos img { border: 1px solid #ddd; }

/* RoofQuote instant estimate embed */
.rq-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 44px; align-items: start; margin-top: 10px; }
.rq-embed {
  position: relative; min-height: 700px; background: #0C0C0C;
  border: 1px solid var(--line); border-top: 4px solid var(--red);
}
.rq-embed.rq-tall { min-height: 820px; }
.rq-embed iframe { width: 100%; height: 100%; min-height: inherit; border: 0; display: block; position: absolute; inset: 0; }
.rq-loading { padding: 34px 30px; }
.rq-embed.rq-loaded .rq-loading { display: none; }

/* estimator CTA banner (city + cost pages) */
.est-banner-section { padding: 0 0 84px; }
.est-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--red);
  padding: 30px 34px;
}
.est-banner-h { font-family: var(--head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--text); text-transform: uppercase; line-height: 1.1; }
.est-banner-sub { font-size: .95rem; margin-top: 8px; max-width: 42em; }
.est-banner .btn { flex-shrink: 0; }

/* faq */
.faq-list { margin-top: 26px; }
.faq-item { border: 1px solid var(--line); background: var(--panel); margin-bottom: 12px; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-family: var(--head); font-weight: 600; font-size: 1.2rem; color: var(--text);
  text-transform: none; letter-spacing: .01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--red); font-size: 1.5rem; font-weight: 600;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 22px 20px; font-size: 1rem; }
.faq-a a { color: var(--text); }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--red-dark), var(--red)); padding: 64px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band-h { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-transform: uppercase; }
.cta-band-sub { color: #FBE3E4; margin-top: 6px; }
.cta-band .btn-red { background: #111; }
.cta-band .btn-red:hover { background: #000; }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* city grid */
.city-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 34px; }
.city-tile {
  border: 1px solid var(--line); background: var(--panel); padding: 22px 20px;
  text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: .04em;
  transition: border-color .15s, transform .15s;
}
.city-tile:hover { border-color: var(--red); transform: translateY(-3px); }
.city-tile span { display: block; font-family: var(--body-font); font-weight: 400; font-size: .82rem; color: var(--grey-light); text-transform: none; letter-spacing: 0; margin-top: 4px; }

/* pricing factors */
.factors { counter-reset: f; list-style: none; margin-top: 34px; display: grid; gap: 14px; }
.factors li {
  background: var(--panel); border: 1px solid var(--line); padding: 20px 22px 20px 74px; position: relative;
}
.factors li::before {
  counter-increment: f; content: "0" counter(f);
  position: absolute; left: 22px; top: 20px;
  font-family: var(--head); font-weight: 700; font-size: 1.5rem; color: var(--red);
}
.factors strong { color: var(--text); display: block; margin-bottom: 2px; }

/* prose (blog, long-form) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { margin: 1em 0; }
.prose li { margin-bottom: .4em; }
.prose .fig { margin: 1.6em 0; }
.post-meta { color: var(--grey-light); font-size: .9rem; margin: 10px 0 30px; }

/* jobber form panel */
.form-panel { background: #fff; border-top: 4px solid var(--red); padding: 30px 28px; color: #222; }
.form-panel h3 { color: #111; }
.form-note { font-size: .9rem; color: var(--grey-light); margin-top: 14px; }

/* placeholder (estimator / reviews) */
.placeholder-block {
  border: 1px dashed var(--grey); background: var(--panel); padding: 34px 30px; margin-top: 30px;
}
.placeholder-block .microlabel { color: var(--grey-light); }

/* footer */
.site-footer { background: #0C0C0C; border-top: 1px solid var(--line); padding: 70px 0 36px; margin-top: 0; }
.footer-brand-row { display: flex; gap: 34px; align-items: center; flex-wrap: wrap; margin-bottom: 46px; }
.footer-brand-row img { width: 220px; height: auto; }
.footer-slogan { font-family: var(--head); font-weight: 700; font-size: 1.6rem; color: var(--text); text-transform: uppercase; }
.footer-pledge { max-width: 44em; font-size: .95rem; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 30px; }
.footer-h { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--grey-light); font-size: .9rem; margin-bottom: 12px; }
.footer-contact-h { margin-top: 26px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: .95rem; }
.footer-grid a { text-decoration: none; color: var(--text-body); }
.footer-grid a:hover { color: #fff; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 24px; font-size: .85rem; color: var(--grey); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* floating call button (mobile) */
.float-call {
  display: none; position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff;
  place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.5);
}

/* reveals */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 3D entrances: grids get a perspective tilt-in with a stagger */
.card-grid, .steps, .stat-row, .signs, .city-grid { perspective: 1100px; }
.card-grid > .reveal, .steps > .reveal, .stat-row > .reveal, .signs > .reveal, .city-grid > .reveal {
  transform: rotateX(9deg) translateY(28px);
}
.card-grid > .reveal:nth-child(3n+2), .steps > .reveal:nth-child(3n+2),
.stat-row > .reveal:nth-child(3n+2), .city-grid > .reveal:nth-child(4n+2) { transition-delay: .1s; }
.card-grid > .reveal:nth-child(3n+3), .steps > .reveal:nth-child(3n+3),
.stat-row > .reveal:nth-child(3n+3), .city-grid > .reveal:nth-child(4n+3) { transition-delay: .2s; }
.city-grid > .reveal:nth-child(4n+4) { transition-delay: .3s; }
.card-grid > .reveal.in, .steps > .reveal.in, .stat-row > .reveal.in,
.signs > .reveal.in, .city-grid > .reveal.in { transform: none; }

/* hover tilt, desktop pointers only */
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: rotateX(2.5deg) rotateY(-2.5deg) translateY(-6px); }
  .city-tile:hover { transform: rotateX(2.5deg) translateY(-4px); }
}

/* section depth: CTA band eases in from slightly behind */
.cta-band-inner.reveal { transform: translateY(22px) scale(.97); }
.cta-band-inner.reveal.in { transform: none; }

/* header estimate accent */
.nav-estimate { color: var(--red-bright); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .card-grid > .reveal, .steps > .reveal, .stat-row > .reveal, .signs > .reveal,
  .city-grid > .reveal, .cta-band-inner.reveal { opacity: 1; transform: none; transition: none; }
  .hero .microlabel, .hero h1, .hero-sub, .hero-slogan, .hero-actions, .hero-derisk, .hero-chips, .hero-mark { animation: none; }
  html { scroll-behavior: auto; }
  .shx-panel { opacity: 1; transform: none; transition: none; }
  .shx.in .shx-flex, .shx.in .shx-flex-slow, .shx.in .shx-fall, .shx.in .shx-drop,
  .shx.in .shx-oil-return, .shx.in .shx-crack { animation: none; }
  .shx-crack { stroke-dashoffset: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1230px) {
  .nav-menu a { padding: 26px 9px; font-size: 1rem; }
}
@media (max-width: 1060px) {
  .nav-menu a { padding: 26px 7px; font-size: .95rem; }
  .header-phone { font-size: 1.15rem; }
}
@media (max-width: 920px) {
  /* backdrop-filter would create a containing block and clip the fixed nav overlay */
  .site-header { backdrop-filter: none; background: var(--ink); }
  .nav-toggle {
    display: block; background: none; border: 0; cursor: pointer; padding: 12px;
  }
  .nav-toggle span { display: block; width: 26px; height: 3px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav { flex: 0; order: 3; }
  .nav-menu {
    display: none; position: fixed; top: 74px; left: 0; right: 0; bottom: 0;
    background: var(--ink); flex-direction: column; gap: 0; overflow-y: auto; padding: 10px 0 40px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 15px 26px; font-size: 1.25rem; }
  .sub-menu { position: static; display: block; border: 0; border-left: 3px solid var(--red); margin: 0 0 8px 26px; padding: 0; background: none; }
  .sub-menu a { padding: 9px 16px; font-size: 1.02rem; color: var(--text-body); }
  .header-cta .btn { display: none; }
  .header-inner { justify-content: space-between; gap: 10px; }
  .float-call { display: grid; }
  .hero { min-height: 72vh; }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .card-grid, .steps, .stat-row { grid-template-columns: 1fr 1fr; }
  .city-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* simplified motion on mobile: plain rise, no 3D tilt-in */
  .card-grid > .reveal, .steps > .reveal, .stat-row > .reveal, .signs > .reveal,
  .city-grid > .reveal { transform: translateY(22px); }
  .process-strip { grid-template-columns: 1fr; }
  .process-photos { max-width: 480px; }
  .shx-grid { grid-template-columns: 1fr; max-width: 520px; }
  .rq-cols { grid-template-columns: 1fr; gap: 30px; }
  .rq-embed { min-height: 860px; }
  .rq-embed.rq-tall { min-height: 900px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero-actions .btn, .cta-band-actions .btn { width: 100%; }
  .card-grid, .steps, .stat-row, .signs { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 0; }
  .hero-mark { width: 150px; }
  .brand img { width: 110px; }
  .header-phone .phone-label { display: none; }
  .header-phone { font-size: 1.05rem; }
  .footer-legal { flex-direction: column; }
}
