/* Tokens. Starting rules: /apple (44px targets, 17px body, 16/20 gutters, 4.5:1 text). */
:root {
  /* palette:start (set by brand/set_site_palette.py) */
  --espresso: #1A1A1A;
  --footer: #0E0E0E;
  /* palette:end */
  --copper: #FF5A00;        /* brand orange: fills, icons, 24px+ bold text (3.1:1 on white). Never small text on light */
  --copper-deep: #B8470A;   /* orange text on light: 5.3:1 */
  --orange-strong: #D24E00; /* big display text on light: 4.25 paper, 3.66 cream */
  --cream: #F6EADA;
  --paper: #FFFCF8;
  --ink: #2A1A12;
  --muted: #5E4A3F;         /* 7.9:1 on paper */
  --line: #E4D3BF;
  --alert: #C4231A;         /* white text on it 5.9:1 */
  --radius: 14px;
  --gutter: max(16px, env(safe-area-inset-left));
  --font: "Archivo", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
}
@media (min-width: 430px) { :root { --gutter: max(20px, env(safe-area-inset-left)); } }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.3 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-stretch: 88%; line-height: 1.05; margin: 0; letter-spacing: -0.005em; word-spacing: 0.06em; }
h1 { font-size: clamp(2.125rem, 7vw, 3.75rem); font-weight: 850; }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-deep); }
.lead { font-size: 1.1875rem; line-height: 1.45; color: var(--muted); max-width: 40rem; }
section { padding-block: 64px; }
@media (min-width: 900px) { section { padding-block: 96px; } }

/* Buttons: 50px tall, never under 44 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 12px; font: 750 1.0625rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn:active { transform: translateY(1px); filter: brightness(0.94); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--copper-deep); outline-offset: 2px; }
.btn-alert { background: var(--alert); color: #fff; }
.btn-copper { background: var(--copper); color: var(--espresso); }  /* dark on orange 6.1:1 */
.btn-ghost { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-cream { background: var(--cream); color: var(--espresso); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Emergency strip */
.storm { background: var(--alert); color: #fff; }
.storm .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding-block: 6px; }
.storm p { font-weight: 700; font-size: 0.9375rem; }
.storm a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; background: #fff; color: var(--alert); font-weight: 800; text-decoration: none; white-space: nowrap; }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(255, 252, 248, 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; flex-shrink: 0; }
.brand img { width: 64px; }
.brand b { font-size: 1.25rem; font-weight: 850; font-stretch: 90%; letter-spacing: 0.01em; color: var(--espresso); }
.brand b span { color: var(--orange-strong); }
header nav { display: none; gap: 2px; }
header nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--muted); border-radius: 10px; }
header nav a:hover { background: var(--cream); color: var(--espresso); }
@media (min-width: 960px) { header nav { display: flex; } }
header nav a[aria-current="page"] { color: var(--espresso); box-shadow: inset 0 -3px 0 var(--copper); border-radius: 0; }
.hdr-call { min-height: 44px; padding: 0 16px; white-space: nowrap; }
.brand b { white-space: nowrap; }
/* Narrow desktops (and zoomed-in browsers): the full nav plus the wordmark do not fit, the logo alone does */
@media (min-width: 960px) and (max-width: 1079px) { .brand b { display: none; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream), var(--paper)); padding-block: 40px 56px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } .hero { padding-block: 72px 96px; } }
.hero h1 span { color: var(--orange-strong); }
.hero .lead { margin-top: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row .btn { flex: 1 1 220px; }
.hero-more { margin-top: 16px; font-weight: 600; font-size: 1.0625rem; }
.hero-more a { color: var(--copper-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .cta-row .btn { flex: 0 0 auto; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.9375rem; font-weight: 600; color: var(--espresso); }
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.hero-mark { justify-self: center; width: min(100%, 520px); }

/* Photo slots: drop <name>.jpg|png|webp into /assets/photos/ and it shows up.
   Missing: labeled placeholder on previews, hidden on the live domain. */
.slot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.slot .ph-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slot .ph-label { display: none; }
.slot.is-missing { display: grid; place-items: center; border: 2px dashed #C2AE99; background: repeating-linear-gradient(135deg, #FBF3EA 0 14px, #F4E8DA 14px 28px); }
.slot.is-missing .ph-label { display: grid; justify-items: center; gap: 6px; padding: 16px; text-align: center; color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.slot.is-missing .ph-label code { font: 700 0.875rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--espresso); background: #fff; padding: 4px 8px; border-radius: 6px; }
.slot.is-missing-live { display: none; }
.hero-photo { justify-self: center; width: 100%; max-width: 560px; }
.hero-photo:not(.has-photo) { background: transparent; }
.hero-photo:not(.has-photo) .ph-fallback { display: block; }
.hero-photo.has-photo { aspect-ratio: 4 / 3; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); }
.hero-photo.has-photo .ph-fallback { display: none; }
.hero-photo .badge { display: none; }
.hero-photo.has-photo .badge { display: block; position: absolute; left: 12px; bottom: 12px; width: 96px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.92); }
.work-grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-grid .slot { aspect-ratio: 4 / 3; }
.work-grid figure.item { margin: 0; display: grid; gap: 10px; }
.work-grid figure.item:has(.is-missing-live) { display: none; }
.work-grid figcaption { font-weight: 700; color: var(--espresso); }
.work-grid figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9375rem; margin-top: 2px; }
/* Word of mouth: drone map of the three most recent jobs */
.wom { margin: 40px 0 0; display: grid; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.wom img { display: block; width: 100%; height: auto; }
.wom figcaption { padding: 0 22px 24px; display: grid; gap: 10px; align-content: center; }
.wom h3 { font-size: 1.625rem; line-height: 1.15; color: var(--espresso); }
.wom p { color: var(--muted); line-height: 1.45; }
.wom .eyebrow { color: var(--copper-deep); }
.wom .wom-kicker { color: var(--espresso); font-weight: 700; }
.wom a.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--copper-deep); }
@media (min-width: 900px) { .wom { grid-template-columns: 1.6fr 1fr; gap: 0; } .wom img { height: 100%; object-fit: cover; } .wom figcaption { padding: 32px; } }
.family .slot { aspect-ratio: 3 / 2; margin-top: 24px; }

/* Storm section */
.tarp { background: var(--espresso); color: var(--cream); }
.tarp .eyebrow { color: var(--copper); }  /* 6.1:1 on dark */
.tarp .lead { color: #E6D5C3; }
.tarp-grid { display: grid; gap: 24px; margin-top: 36px; }
@media (min-width: 900px) { .tarp-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.price-card { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 28px 24px; }
.price-card .amount { font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 850; font-stretch: 88%; color: var(--espresso); margin-top: 8px; }
.price-card .note { color: var(--muted); margin-top: 6px; }
.free { margin-top: 20px; padding: 16px; border-radius: 12px; background: #fff; border-left: 6px solid var(--copper); }
.free strong { display: block; font-size: 1.1875rem; color: var(--espresso); }
.free p { margin-top: 4px; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--copper); color: var(--espresso); font-weight: 850; font-size: 1.125rem; }
.steps b { display: block; font-size: 1.125rem; }
.steps span { color: #E6D5C3; }
.tarp .cta-row .btn-cream { border-color: var(--cream); }

/* Services */
.grid { display: grid; gap: 16px; margin-top: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; color: var(--copper-deep); }
.card .ico svg { width: 24px; height: 24px; }
.card p { color: var(--muted); line-height: 1.45; }
.card a.more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--copper-deep); text-decoration: none; }

/* Commercial */
.commercial { background: var(--cream); }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; line-height: 1.4; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: #fff; border-radius: var(--radius); padding: 20px 14px; text-align: center; border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 850; font-stretch: 85%; color: var(--copper-deep); }
.stat span { font-size: 0.875rem; color: var(--muted); font-weight: 600; }

/* How it works */
.how ol { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: h; }
@media (min-width: 900px) { .how ol { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }   /* one row, however many steps */
/* Five or more steps (roofing): tighter type so the row still reads */
.how ol:has(li:nth-child(5)) li { padding: 18px 16px; }
.how ol:has(li:nth-child(5)) li h3 { font-size: 1.0625rem; }
.how ol:has(li:nth-child(5)) li p { font-size: 0.9375rem; line-height: 1.4; }
.how li { counter-increment: h; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.how li::before { content: counter(h); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--espresso); color: var(--cream); font-weight: 850; margin-bottom: 12px; }
.how li p { color: var(--muted); margin-top: 6px; line-height: 1.45; }

/* Family */
.family .split { align-items: start; }
.people { display: grid; gap: 12px; }
.person { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.avatar { display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--espresso); }
.person span { color: var(--muted); font-size: 0.9375rem; }

/* Form */
.contact { background: var(--espresso); color: var(--cream); }
.contact .lead { color: #E6D5C3; }
form.lead-form { margin-top: 28px; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 24px 20px; display: grid; gap: 18px; }
@media (min-width: 700px) { form.lead-form { padding: 32px; grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 0.9375rem; color: var(--espresso); }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #B9A48F; border-radius: 12px; background: #fff; color: var(--ink); font: 400 1.0625rem/1.3 var(--font); }
textarea { min-height: 112px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8A766A; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
@media (min-width: 700px) { .opts { grid-template-columns: repeat(3, 1fr); } }
.opts label { position: relative; display: flex; align-items: center; min-height: 50px; padding: 10px 12px; border: 1.5px solid #B9A48F; border-radius: 12px; background: #fff; font-weight: 600; font-size: 0.9375rem; cursor: pointer; line-height: 1.2; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.opts label:has(input:checked) { border-color: var(--copper); background: #FFE8D9; box-shadow: inset 0 0 0 1.5px var(--copper); }
.opts label:has(input:focus-visible) { outline: 3px solid var(--copper-deep); outline-offset: 2px; }
.opts label.urgent:has(input:checked) { border-color: var(--alert); background: #FCE9E7; box-shadow: inset 0 0 0 1.5px var(--alert); }
.form-foot { display: grid; gap: 10px; }
.form-foot .btn { width: 100%; }
.form-foot small { color: var(--muted); font-size: 0.8125rem; line-height: 1.4; }
.form-status { font-weight: 700; }
.form-status.err { color: var(--alert); }
.done { text-align: center; padding: 28px 8px; }
.done h3 { font-size: 1.5rem; color: var(--espresso); }
.done p { margin-top: 8px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* Footer */
footer { background: var(--footer); color: #D9C6B3; padding-block: 40px calc(96px + env(safe-area-inset-bottom)); font-size: 0.9375rem; }
@media (min-width: 960px) { footer { padding-bottom: 40px; } }
footer .wrap { display: grid; gap: 20px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 700; text-decoration: none; }
footer .legal { color: #A8927F; font-size: 0.8125rem; }

/* Phone action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 252, 248, 0.97); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.action-bar .btn { min-height: 50px; padding: 0 8px; font-size: 0.9375rem; }
@media (min-width: 960px) { .action-bar { display: none; } }

/* Snow page */
@media (min-width: 1000px) { #who .grid { grid-template-columns: repeat(4, 1fr); } }
.snow-urgent .split { align-items: center; }
.field label .hint { font-weight: 400; }
.chips li a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -4px; color: inherit; }

/* ---------- Motion ----------
   JS adds .anim to <html> only when Reduce Motion is OFF; without it nothing hides or moves. */
.anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.anim .reveal.in { opacity: 1; transform: none; }
.anim .hero-photo { animation: settle .8s cubic-bezier(.2,.7,.2,1) .1s both; }
@keyframes settle { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.anim .storm a { animation: ring 1.6s ease-out 1.2s 3; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.75); } 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
@media (hover: hover) {
  .anim .btn { transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
  .anim .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.16); }
  .anim .card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .55s, transform .55s; }
  .anim .card.in:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.09); border-color: #F5BE9A; }
  .card .ico { transition: background .2s ease, color .2s ease; }
  .card:hover .ico { background: var(--copper); color: var(--espresso); }
}

/* Snow page: night hero with snowfall */
.snow-hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 80% 10%, #2A2D33 0%, #1A1A1A 60%); color: #FFF6EC; }
.snow-hero .wrap { position: relative; z-index: 1; }
.snow-hero h1 { color: #FFF6EC; }
.snow-hero h1 span { color: var(--copper); }            /* 6.1:1 on #1A1A1A */
.snow-hero .eyebrow { color: var(--copper); }
.snow-hero .lead { color: #E8DCCD; }
.snow-hero .btn-ghost { color: #FFF6EC; border-color: #FFF6EC; }
.snow-hero .chips li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #FFF6EC; }
.snow-hero .hero-photo:not(.has-photo) { background: transparent; }
canvas.snowfall { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.snow-urgent { background: var(--cream); }

/* ---------- Scroll-scrubbed logo hero ----------
   Without JS or with Reduce Motion: a normal hero with the static logo.
   With .scrub-on (set by site.js once the animation loads): the hero pins for ~1.6 screens. */
.logo-stage { position: relative; justify-self: center; width: min(100%, 560px); aspect-ratio: 2683.5 / 1858.9; }
.logo-stage > img, .logo-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-stage.anim-ready > img { visibility: hidden; }
.anim .logo-stage:not(.anim-ready):not(.anim-failed) > img { opacity: 0; }
.scroll-hint { display: none; }
.hero.scrub-on { height: 260vh; padding: 0; }
.hero.scrub-on .pin { position: sticky; top: 65px; min-height: calc(100dvh - 65px); display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
.hero.scrub-on .scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 8px auto 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: opacity .3s ease; }
.hero.scrub-on .scroll-hint::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(5px) rotate(45deg); } }
@media (max-width: 899px) {
  .hero.scrub-on .pin { justify-content: flex-start; padding-block: 12px 16px; }
  .hero.scrub-on .pin .wrap { display: flex; flex-direction: column; gap: 14px; }
  .hero.scrub-on .logo-stage { order: -1; width: min(100%, calc(40vh * 1.4436)); }
  .hero.scrub-on .chips { display: none; }
  .hero.scrub-on .lead { font-size: 1rem; margin-top: 10px; }
  .hero.scrub-on .cta-row { margin-top: 16px; }
}
/* Soften the stage edges so snow and the wide shot never show a hard box.
   The fade lives inside the logo's own margin (3% sides, 5% bottom), so the finished logo is untouched. */
.logo-stage.anim-ready > svg {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(to bottom, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(to bottom, #000 94%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- Review fixes (Sep 30) ---------- */
/* Price card sits on cream inside the dark storm section: use the dark orange (5.2:1), not bright orange (2.6:1) */
.tarp .price-card .eyebrow { color: var(--copper-deep); }

/* Pinned hero on short phones (iPhone SE class): leave room for the bottom action bar and drop the
   duplicate phone button (Call is in the bar) and the long intro so the headline + main CTA always show */
@media (max-width: 899px) {
  .hero.scrub-on .pin { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 899px) and (max-height: 760px) {
  .hero.scrub-on .lead, .hero.scrub-on .cta-row .btn-ghost, .hero.scrub-on .scroll-hint { display: none; }
  .hero.scrub-on .logo-stage { width: min(100%, calc(32vh * 1.4436)); }
  .hero.scrub-on h1 { font-size: 1.875rem; }
}

/* Sections that only make sense with photos stay hidden until one actually loads (no empty heading, no jump) */
[data-hide-without-photos]:not(.has-any-photo) { display: none; }

/* Services on phones: a compact tappable list instead of nine tall cards */
@media (max-width: 599px) {
  #services .grid { gap: 10px; }
  #services .card { position: relative; flex-direction: row; align-items: center; gap: 14px; padding: 12px 14px; min-height: 64px; }
  #services .card p { display: none; }
  #services .card h3 { font-size: 1.0625rem; flex: 1; }
  #services .card .more { position: static; margin: 0; padding: 0; min-height: 0; font-size: 0; }
  #services .card .more::after { content: ""; position: absolute; inset: 0; }
  #services .card::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid var(--copper-deep); border-top: 2.5px solid var(--copper-deep); transform: rotate(45deg); margin-right: 4px; }
}
.strip-more { display: none; }
@media (min-width: 600px) { .strip-more { display: inline; } }
/* Below 960px the bottom action bar carries Call / Text / Free inspection, so the header keeps just the brand */
@media (max-width: 959px) { header.site .hdr-call { display: none; } }

/* Storm section rain (canvas sits behind the content; Reduce Motion = no canvas drawing) */
#storm { position: relative; overflow: hidden; }
#storm > .wrap { position: relative; z-index: 1; }
canvas.rainfall { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
footer .foot-links { display: flex; flex-wrap: wrap; column-gap: 24px; }

/* Reviews: scroll-snap row on phones, grid on wider screens */
.reviews { padding-block: 56px; }
/* One row, ~4.5 cards visible so the cut-off card says "there is more"; JS loops it endlessly */
.rv-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.rv-nav { display: flex; gap: 8px; flex: none; }
.rv-nav[hidden] { display: none; }
.rv-nav button, .rv-lb .rv-step { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--espresso); cursor: pointer; }
.rv-nav button:hover, .rv-lb .rv-step:hover { border-color: var(--copper); }
.rv-nav svg, .rv-lb svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.review-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 14px) / 1.3); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 24px; padding-block: 4px 10px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.review-row::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .review-row { grid-auto-columns: calc((100% - 28px) / 2.5); } }
@media (min-width: 1000px) { .review-row { grid-auto-columns: calc((100% - 56px) / 4.5); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
.review { margin: 0; scroll-snap-align: start; aspect-ratio: 1; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.review .stars { display: flex; gap: 2px; color: var(--copper); }
.review .stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0; color: var(--ink); line-height: 1.4; font-size: 0.9375rem; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--clamp, 5); }
.review .rv-more { display: none; font-size: 0.8125rem; font-weight: 800; color: var(--copper-deep); }
.review.clamped .rv-more { display: block; }
.review figcaption { display: grid; gap: 2px; margin-top: auto; }
.review figcaption b { color: var(--espresso); }
.review[role="button"] { cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.review[role="button"]:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); border-color: #F5BE9A; }
.review[role="button"]:focus-visible { outline: 3px solid var(--copper-deep); outline-offset: 2px; }
.review figcaption span { color: var(--muted); font-size: 0.8125rem; }
.review-src { margin-top: 18px; display: flex; flex-wrap: wrap; column-gap: 24px; }
.review .rec { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; white-space: nowrap; font-size: 0.8125rem; font-weight: 800; letter-spacing: .02em; color: var(--espresso); background: var(--cream); border-radius: 999px; padding: 5px 12px 5px 8px; }
.review .rec svg { width: 18px; height: 18px; fill: none; stroke: var(--copper-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.review-src a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--copper-deep); }

/* Credentials strip under the reviews */
.trust { list-style: none; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(5, 1fr); } }
.trust li { display: flex; align-items: center; gap: 12px; }
.trust svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--cream); color: var(--copper-deep); }
.trust span { display: grid; font-size: 0.875rem; color: var(--muted); line-height: 1.3; }
.trust b { font-size: 0.9375rem; color: var(--espresso); }
.trust span a { color: var(--copper-deep); font-weight: 600; }

/* Unconfirmed copy: a small pill on preview hosts only (site.js sets html.is-preview off onpointjd.com) */
.cf { display: none; }
html.is-preview .cf { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #FFE14D; color: #1A1A1A; font: 800 0.6875rem/1.5 var(--font); font-style: normal; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; cursor: help; }

/* Service page hero: one column */
.svc-hero .wrap { grid-template-columns: 1fr !important; }
.svc-hero .lead { max-width: 46rem; }
@media (min-width: 900px) { .svc-hero { padding-block: 64px 72px; } }

/* FAQ */
.faq-list { margin-top: 28px; display: grid; gap: 10px; max-width: 52rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 18px; font-weight: 750; color: var(--espresso); font-size: 1.0625rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--copper-deep); border-bottom: 2.5px solid var(--copper-deep); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .a { padding: 0 18px 18px; color: var(--muted); line-height: 1.55; }
.faq .a a, .wnotes a, .card p a, .src a { color: var(--copper-deep); font-weight: 700; }

/* Roof system scrub (/roofing): title row on top, step list left, house with its step card under it right */
.sys { background: var(--paper); }
.sys-head h2 { margin-top: 12px; }
.sys-sub { margin-top: 10px; color: var(--muted); line-height: 1.45; }
.sys-grid { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 900px) { .sys-grid { grid-template-columns: minmax(240px, 0.5fr) 1.5fr; gap: 40px; align-items: center; } }
.sys-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sys-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 5px 10px; border-radius: 10px; color: var(--muted); transition: color .25s, background .25s; }
.sys-steps b { font-size: 1rem; line-height: 1.25; font-weight: 700; }
.sys .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--espresso); font-weight: 850; font-size: 0.8125rem; transition: background .25s; }
.sys .n svg { width: 16px; height: 16px; }
.sys-steps li.on { color: var(--espresso); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.sys-steps li.on .n, .sys-steps li.past .n { background: var(--copper); }
.sys-steps li.past { color: var(--espresso); }
.sys-stage { position: relative; min-width: 0; }
.sys-svg { display: block; width: 100%; height: auto; }
/* One box for the active step's text; every step is stacked in the same cell, so the box is always the height of the longest */
.sys-detail { display: grid; margin-top: 10px; }
.sys-detail > div { grid-area: 1 / 1; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.06); opacity: 0; visibility: hidden; }
.sys-detail > div.on { opacity: 1; visibility: visible; transition: opacity .2s; }   /* old text leaves instantly, new fades in: no overlap */
.sys-detail > div .n { background: var(--copper); }
.sys-detail b { display: block; color: var(--espresso); font-size: 1.0625rem; line-height: 1.25; padding-top: 3px; }
.sys-detail p { margin-top: 4px; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
/* No scrubbing (Reduce Motion): list every step with its text */
.sys.sys-static .sys-steps { display: none; }
.sys.sys-static .sys-grid { grid-template-columns: 1fr; }
.sys.sys-static .sys-detail { gap: 8px; }
.sys.sys-static .sys-detail > div { grid-area: auto; opacity: 1; visibility: visible; box-shadow: none; }
.sys.sys-failed .sys-svg { display: none; }
/* Scrubbing: pin the whole section; the house shrinks to whatever height leaves its card on screen */
.sys.scrub-on { height: 420vh; padding: 0; }
.sys.scrub-on .sys-pin { position: sticky; top: 65px; min-height: calc(100dvh - 65px); display: flex; flex-direction: column; justify-content: center; padding-block: 16px; }
.sys.scrub-on .sys-svg { max-height: max(220px, calc(100dvh - 65px - 32px - var(--sys-chrome, 300px))); }
@media (max-width: 899px) {
  .sys.scrub-on .sys-pin { justify-content: flex-start; padding-block: 12px calc(84px + env(safe-area-inset-bottom)); }
  .sys.scrub-on .sys-head h2 { font-size: 1.5rem; margin-top: 0; }
  .sys.scrub-on .sys-head .eyebrow, .sys.scrub-on .sys-sub { display: none; }
  .sys.scrub-on .sys-grid { margin-top: 10px; }
  .sys.scrub-on .sys-steps { display: none; }
}

/* Warranty comparison */
.warranty { background: var(--cream); }
.wtable { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.wrow { display: grid; grid-template-columns: 1fr 1fr; }
.wrow > [role="rowheader"] { grid-column: 1 / -1; padding: 12px 16px 2px; font-weight: 750; color: var(--espresso); font-size: 0.9375rem; }
.wrow > [role="cell"] { padding: 4px 16px 12px; color: var(--muted); font-size: 0.9375rem; line-height: 1.35; }
.wrow > .us { color: var(--espresso); }
.wrow > .us b { color: var(--copper-deep); }
.wrow + .wrow { border-top: 1px solid var(--line); }
.wrow.wh { background: var(--espresso); }
.wrow.wh > span { padding: 14px 16px; color: #fff; font-weight: 800; font-size: 0.9375rem; line-height: 1.2; }
.wrow.wh > span:first-child { display: none; }
.wrow.wh > .us { background: var(--copper); color: var(--espresso); }
.wrow.wh small { display: block; font-weight: 500; font-size: 0.8125rem; opacity: .85; margin-top: 2px; }
.wrow .span2 { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .wrow { grid-template-columns: 1.3fr 1fr 1fr; align-items: center; }
  .wrow > [role="rowheader"] { grid-column: auto; padding: 14px 18px; }
  .wrow > [role="cell"] { padding: 14px 18px; }
  .wrow.wh > span:first-child { display: block; }
  .wrow .span2 { grid-column: 2 / -1; }
}
.wnotes { margin-top: 24px; display: grid; gap: 14px; }
@media (min-width: 760px) { .wnotes { grid-template-columns: 1fr 1fr; gap: 16px 28px; } }
.wnotes p { color: var(--muted); line-height: 1.5; }
.wnotes b { color: var(--espresso); display: block; }
.src { margin-top: 20px; font-size: 0.8125rem; color: var(--muted); }

/* Color picker */
.matchbox { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.matchbox > b { color: var(--espresso); }
.wchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wchip { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 0.9375rem var(--font); cursor: pointer; }
.wchip[aria-pressed="true"] { background: var(--espresso); color: #fff; border-color: var(--espresso); }
.why { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; }
.colorpick { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 900px) { .colorpick { grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; } }
.preview { position: relative; aspect-ratio: 1200 / 977; border-radius: var(--radius); overflow: hidden; background: var(--cream); border: 1px solid var(--line); }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.preview img.out { opacity: 0; }
.preview .label { position: absolute; z-index: 3; left: 12px; bottom: 12px; background: rgba(26,26,26,.8); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 0.8125rem; font-weight: 700; }
.preview .coty { position: absolute; z-index: 3; right: 12px; top: 12px; background: var(--copper); color: var(--espresso); padding: 5px 9px; border-radius: 8px; font-size: 0.75rem; font-weight: 800; display: none; }
.preview.coty .coty { display: block; }
.pv-note { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.sw2 { display: grid; gap: 6px; padding: 0; border: 0; background: none; font: 600 0.8125rem/1.2 var(--font); color: var(--muted); cursor: pointer; text-align: left; transition: opacity .3s; }
.sw2 img, .sw2 .fb { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 2px solid transparent; display: block; background: #fff; }
.sw2[aria-pressed="true"] { color: var(--espresso); }
.sw2[aria-pressed="true"] img, .sw2[aria-pressed="true"] .fb { border-color: var(--copper); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--copper); }
.sw2.dim { opacity: .25; }
.sw2:focus-visible { outline: 3px solid var(--copper-deep); outline-offset: 2px; border-radius: 10px; }
.colorcta { margin-top: 24px; display: grid; gap: 14px; align-items: center; background: var(--espresso); color: #E6D5C3; border-radius: var(--radius); padding: 20px; }
.colorcta b { color: #fff; }
@media (min-width: 760px) { .colorcta { grid-template-columns: 1fr auto; padding: 24px 28px; } }

/* Repair vs replace */
.two-lists { margin-top: 28px; align-items: start; }
.two-lists h3 { font-size: 1.25rem; color: var(--espresso); }

/* Review lightbox */
.rv-lb { border: 0; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.rv-lb::backdrop { background: rgba(14,14,14,.72); }
.rv-lb .rv-body { padding: 28px 24px 8px; overflow-y: auto; max-height: calc(100dvh - 140px); }
.rv-lb .rv-body.swap { animation: rvswap .22s ease both; }
@keyframes rvswap { from { opacity: 0; transform: translateX(var(--dx, 12px)); } }
.rv-lb .stars { display: flex; gap: 3px; color: var(--copper); }
.rv-lb .stars svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.rv-lb .rec { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 800; color: var(--espresso); background: var(--cream); border-radius: 999px; padding: 6px 14px 6px 10px; }
.rv-lb .rec svg { width: 18px; height: 18px; stroke: var(--copper-deep); stroke-width: 2; }
.rv-lb blockquote { margin: 16px 0 0; font-size: 1.1875rem; line-height: 1.55; color: var(--ink); }
.rv-lb figcaption { display: grid; gap: 2px; margin-top: 18px; }
.rv-lb figcaption b { color: var(--espresso); font-size: 1.0625rem; }
.rv-lb figcaption span { color: var(--muted); font-size: 0.875rem; }
.rv-lb .rv-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 20px; border-top: 1px solid var(--line); margin-top: 18px; }
.rv-lb .rv-count { font-weight: 700; color: var(--muted); font-size: 0.9375rem; }
.rv-lb .rv-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.rv-lb .rv-close:hover { background: var(--cream); color: var(--espresso); }
@media (prefers-reduced-motion: reduce) { .rv-lb .rv-body.swap { animation: none; } .review[role="button"]:hover { transform: none; } }

/* Job photos: before/after slider (drag anywhere, arrow keys via the hidden range) */
@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--cream); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.ba img, .job-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.ba img { position: absolute; inset: 0; pointer-events: none; -webkit-user-drag: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--espresso); display: grid; place-items: center; box-shadow: 0 3px 12px rgba(0,0,0,.3); }
.ba-tag { position: absolute; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(28,20,16,.72); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; transition: opacity .2s; }
.ba-tag.b { left: 12px; } .ba-tag.a { right: 12px; }
.ba.at-start .ba-tag.b, .ba.at-end .ba-tag.a { opacity: 0; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--orange-strong); outline-offset: 3px; }
.ba.hint { animation: ba-hint 1.8s ease-in-out 1; }
@keyframes ba-hint { 0% { --pos: 50%; } 30% { --pos: 28%; } 70% { --pos: 72%; } 100% { --pos: 50%; } }
.job-photo { aspect-ratio: 4 / 3; border-radius: 14px; height: auto; }
.job-one { max-width: 760px; margin-top: 28px; }
.job-one figure { margin: 0; display: grid; gap: 10px; }
.job-one figcaption { font-weight: 700; color: var(--espresso); }
.job-one figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9375rem; margin-top: 2px; }

/* Privacy & texting policy */
.policy .wrap { max-width: 760px; }
.policy h2 { font-size: 1.375rem; margin-top: 36px; }
.policy p, .policy li { color: var(--muted); line-height: 1.6; margin-top: 10px; }
.policy ul { padding-left: 20px; }
.policy b { color: var(--espresso); }
form small a { color: inherit; text-decoration: underline; }
/* Related services: the heading is the link; the whole card is the hit area */
.related .card { position: relative; }
.related .card h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.related .card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.related .card:hover { border-color: var(--copper); }

/* Phones: the pinned hero is only as tall as its content. A full-screen pin left a ~360px blank
   between the hero CTA and the reviews the moment the pin released (Oct 1 fix). */
@media (max-width: 899px) {
  .hero.scrub-on .pin { min-height: 0; padding-bottom: 20px; }
  .hero.scrub-on .logo-stage { width: min(100%, calc(46vh * 1.4436)); }
}
@media (max-width: 899px) and (max-height: 760px) {
  .hero.scrub-on .logo-stage { width: min(100%, calc(38vh * 1.4436)); }
}

/* ---------- /estimate ---------- */
.est { background: var(--paper); }
.est-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .est-grid { grid-template-columns: 1.25fr 1fr; align-items: start; } .est-result { position: sticky; top: 96px; } }
.est-inputs { display: grid; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; }
@media (min-width: 700px) { .est-inputs { padding: 28px; } }
.est-sqft { display: flex; align-items: center; gap: 10px; }
.est-sqft input { max-width: 160px; font-weight: 800; font-size: 1.375rem; }
.est-sqft span { font-weight: 700; color: var(--muted); }
.est-range { min-height: 44px; padding: 0; border: 0; background: none; accent-color: var(--copper); }
.opts.opts-2 { grid-template-columns: 1fr; }
.opts.opts-3 { grid-template-columns: repeat(3, 1fr); }
.opts.opts-4 { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 700px) { .opts.opts-2 { grid-template-columns: 1fr 1fr; } }
.opts-3 label, .opts-4 label { justify-content: center; text-align: center; }
.pitch-opts { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .pitch-opts { grid-template-columns: repeat(4, 1fr); } }
.opts label.pitch { flex-direction: column; gap: 4px; padding: 12px 8px; text-align: center; color: var(--espresso); }
.pitch small { display: block; font-weight: 500; font-size: 0.8125rem; color: var(--muted); margin-top: 2px; }
.est-result { background: var(--espresso); color: var(--cream); border-radius: 18px; padding: 26px 22px; display: grid; gap: 14px; }
.est-result .eyebrow { color: var(--copper); }
.est-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-weight: 850; font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1.05; font-stretch: 90%; color: #fff; font-variant-numeric: tabular-nums; }
.est-to { font-size: 1.125rem; font-weight: 600; color: #E6D5C3; }
.est-sq { color: #E6D5C3; }
.est-sq b { color: #fff; }
.est-result .ticks { margin: 0; }
.est-result .ticks li { color: var(--cream); }
.est-note, .est-fine { font-size: 0.9375rem; line-height: 1.45; color: #E6D5C3; }
.est-fine { font-size: 0.8125rem; }
.est-fine a { color: #fff; }
.est-result .btn { width: 100%; }
.est-tune { grid-column: 1 / -1; background: #FFF7C2; border: 2px dashed #C9A800; border-radius: 12px; padding: 14px 16px; }
.est-tune summary { font-weight: 800; cursor: pointer; }
.est-tune label { display: inline-grid; gap: 4px; margin: 10px 12px 0 0; font-size: 0.8125rem; font-weight: 700; }
.est-tune input { width: 120px; min-height: 40px; }
.est-tune p { margin-top: 10px; font-size: 0.8125rem; }
.est-mini { position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 29; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--espresso); color: var(--cream); text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.est-mini span { font-size: 0.8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); }
.est-mini b { font-size: 1.125rem; color: #fff; font-variant-numeric: tabular-nums; }
.est-mini[hidden] { display: none; }
@media (min-width: 900px) { .est-mini { display: none !important; } }
/* Ad landing: on phones the calculator starts on the first screen */
@media (max-width: 699px) {
  .hero.est-hero { padding-block: 20px 24px; }
  .hero.est-hero h1 { font-size: 2rem; }
  .hero.est-hero .lead { font-size: 1.0625rem; margin-top: 10px; }
  .hero.est-hero .cta-row, .hero.est-hero .chips { display: none; }
  .est { padding-top: 8px; }
}
.est-save summary { list-style: none; width: 100%; }
.est-save summary::-webkit-details-marker { display: none; }
.est-save[open] summary { display: none; }
.save-form { display: grid; gap: 14px; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 18px 16px; }
.save-form .opt { font-weight: 500; color: var(--muted); }
.save-form .form-foot small a { color: var(--copper-deep); }

/* ---- /estimate offer: inline card, banner at the form, bonus wheel sheet (assets/offer.js) ---- */
.offer-card { display: grid; gap: 8px; padding: 18px 16px; border-radius: 14px; border: 2px solid transparent; position: relative; isolation: isolate; --chase: 0deg; animation: offer-chase 3.6s linear infinite; }
/* Glow chaser: a bright streak runs around the copper ring (::after) with a soft halo behind it (::before).
   --chase is a registered angle so it animates; browsers without @property show a still ring.
   The site-wide reduced-motion rule stops it for people who ask for less motion. */
@property --chase { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
@keyframes offer-chase { to { --chase: 360deg; } }
.offer-card::before, .offer-card::after { content: ""; position: absolute; inset: -2px; border-radius: 16px; pointer-events: none; }
.offer-card::before { z-index: -2; filter: blur(12px); opacity: .85;
  background: conic-gradient(from var(--chase), transparent 0deg 250deg, rgba(255, 90, 0, .85) 300deg, rgba(255, 196, 150, .95) 322deg, rgba(255, 90, 0, .85) 342deg, transparent 360deg); }
.offer-card::after { z-index: -1; border: 2px solid transparent;
  background: linear-gradient(#2A221D, #2A221D) padding-box,
              conic-gradient(from var(--chase), var(--copper) 0deg 270deg, #FFB27A 305deg, #FFF3E8 322deg, #FFB27A 338deg, var(--copper) 360deg) border-box; }
.offer-card[hidden] { display: none; }
.anim .offer-card { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.anim .offer-card.is-in { opacity: 1; transform: none; }
.offer-eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.offer-amount { font-weight: 850; font-size: 1.5rem; line-height: 1.15; color: #fff; }
.offer-sub { font-size: 0.9375rem; line-height: 1.45; color: #E6D5C3; }
.offer-clock { font-size: 0.9375rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.offer-clock:empty { display: none; }
.offer-banner { display: grid; gap: 12px; margin: 22px 0 6px; padding: 16px; border-radius: 14px; background: #2A221D; border: 2px solid var(--copper); color: #E6D5C3; }
.offer-banner b { color: #fff; }
.offer-banner [data-offer-clock] { display: block; margin-top: 4px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
@media (min-width: 700px) { .offer-banner { grid-template-columns: 1fr auto; align-items: center; } }

.offer-sheet { width: min(480px, 100%); max-width: 100%; max-height: 92dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 20px 20px 0 0; background: var(--paper); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.offer-sheet::backdrop { background: rgba(14,14,14,.6); }
@media (min-width: 600px) { .offer-sheet { margin: auto; border-radius: 20px; } }
.offer-inner { position: relative; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); }
@media (min-width: 430px) { .offer-inner { padding-inline: 20px; } }
.offer-sheet section { display: grid; gap: 12px; padding: 0; background: none; }
.offer-sheet section[hidden] { display: none; }
.offer-sheet h2 { font-size: 1.625rem; line-height: 1.15; padding-right: 44px; }
.offer-sheet h2:focus { outline: none; }
.offer-sheet .offer-clock { color: var(--copper-deep); }
.offer-lead { font-size: 1.0625rem; line-height: 1.45; color: var(--muted); }
.offer-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 22px; background: var(--cream); color: var(--espresso); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.offer-sheet .btn { width: 100%; }
.wheel { position: relative; width: min(300px, 78vw); aspect-ratio: 1; margin: 6px auto 2px; }
.wheel-disc { width: 100%; height: 100%; display: block; transform-origin: 50% 50%; will-change: transform; }
.wheel-disc text { font-family: var(--font); }
.wheel-disc [data-slice] { transition: opacity .3s ease; }
.wheel-disc .is-dim { opacity: .35; }
.wheel-pointer { position: absolute; top: -6px; left: 50%; z-index: 1; width: 0; height: 0; transform: translateX(-50%); border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 24px solid var(--alert); filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.offer-rules { font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
.offer-rules summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--copper-deep); cursor: pointer; }
.offer-rules ul { margin: 6px 0 10px; padding-left: 18px; display: grid; gap: 6px; }
.offer-form { display: grid; gap: 14px; }
.offer-form small { font-size: 0.8125rem; color: var(--muted); }
.offer-form small a, .offer-sheet [data-offer-body] a { color: var(--copper-deep); }
.offer-zip-note { margin-top: -6px; font-size: 0.9375rem; font-weight: 700; color: var(--copper-deep); }
.offer-zip-note[hidden] { display: none; }
.offer-code { font-weight: 850; font-size: 2rem; letter-spacing: .06em; color: var(--espresso); font-variant-numeric: tabular-nums; user-select: all; }
