/* ==========================================================================
   Best Pro Construction LLC — site styles
   Red · black · white · charcoal. Sora (display) · Inter (text) · JetBrains Mono (labels)
   ========================================================================== */
:root {
  --ink: #0B0B0C; --char: #141416; --char-2: #1C1C20; --char-3: #26262B;
  --line-d: rgba(255,255,255,.10); --line-d2: rgba(255,255,255,.18);
  --line-l: #E4E4E7; --paper: #FFFFFF; --mist: #F4F4F5; --mist-2: #EBEBED;
  --text-l: #18181B; --muted-l: #52525B; --text-d: #F4F4F5; --muted-d: #A1A1AA;
  --red: #E3141F; --red-2: #C8101B; --red-hi: #FF4D57;
  --f-d: "Sora", system-ui, sans-serif; --f-t: "Inter", system-ui, sans-serif; --f-m: "JetBrains Mono", ui-monospace, monospace;
  --r-s: 10px; --r-m: 16px; --r-l: 22px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1320px; --pad: clamp(18px, 4vw, 32px);
  --hdr: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; font: 400 17px/1.6 var(--f-t); color: var(--text-l); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-2); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-d); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 860px; }
.mono { font-family: var(--f-m); letter-spacing: .04em; }
.muted { color: var(--muted-d); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }
.eyebrow { font: 500 12px/1.2 var(--f-m); letter-spacing: .18em; text-transform: uppercase; color: var(--red-hi); margin: 0 0 14px; }
.section--light .eyebrow, .page-hero .eyebrow { color: var(--red-hi); }
.section--light .eyebrow { color: var(--red-2); }
.h-hero { font-size: clamp(40px, 6.2vw, 76px); font-weight: 800; letter-spacing: -.035em; }
.h-xl { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.03em; }
.h-lg { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.025em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font: 600 16px/1 var(--f-t); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; white-space: nowrap; }
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(227,20,31,.7); }
.btn-red:hover { background: var(--red-2); color: #fff; transform: translateY(-1px); }
.btn-glass { background: rgba(255,255,255,.08); border-color: var(--line-d2); color: #fff; backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-ghost-dark { background: transparent; border-color: rgba(0,0,0,.14); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }

/* ---------- promo ---------- */
.promo-bar { background: var(--red); color: #fff; font-size: 14px; }
.promo-bar .wrap { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.promo-bar a { color: #fff; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.promo-label { font: 500 11px var(--f-m); letter-spacing: .14em; text-transform: uppercase; background: rgba(0,0,0,.25); padding: 4px 8px; border-radius: 999px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid rgba(0,0,0,.06); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 40px -20px rgba(0,0,0,.35); }
.header-in { display: flex; align-items: center; gap: 22px; min-height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { height: 40px; width: auto; }
.brand-word { display: grid; grid-template-columns: auto auto; column-gap: 6px; align-items: baseline; line-height: .95; }
.brand-best { font: 400 30px/1 "Playball", cursive; color: var(--red-2); }
.brand-pro { font: 800 25px/1 var(--f-d); color: var(--red-2); letter-spacing: -.02em; }
.brand-sub { grid-column: 1 / -1; font: 700 10.5px/1 var(--f-d); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-top: 3px; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text-l); text-decoration: none; font-weight: 500; font-size: 15.5px; transition: background .2s, color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--mist); color: var(--ink); }
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: 4px; }
.sub-toggle { background: none; border: 0; padding: 8px 6px; color: var(--muted-l); cursor: pointer; border-radius: 8px; }
.sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line-l); border-radius: var(--r-m); box-shadow: 0 30px 60px -25px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 10px 12px; font-size: 15px; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 500 14.5px var(--f-m); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-l); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-cta-mobile { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--text-d); background: var(--ink); min-height: min(860px, calc(100svh - var(--hdr))); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.0); will-change: transform; }
.hero--kenburns .hero-slide.is-active img { animation: kenburns var(--kb, 9s) ease-out forwards; }
.hero--kenburns .hero-slide:nth-child(even).is-active img { animation-name: kenburns-2; }
@keyframes kenburns { from { transform: scale(1.0) translate3d(0,0,0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
@keyframes kenburns-2 { from { transform: scale(1.12) translate3d(1.5%, 0, 0); } to { transform: scale(1.0) translate3d(0,0,0); } }
.hero-caption { position: absolute; right: var(--pad); bottom: 26px; font-size: 12px; color: rgba(255,255,255,.75); background: rgba(0,0,0,.35); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(11,11,12,.95) 0%, rgba(11,11,12,.72) 42%, rgba(11,11,12,.18) 100%), linear-gradient(0deg, rgba(11,11,12,.85) 0%, rgba(11,11,12,0) 40%); }
.hero-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--red); z-index: -1; }
.hero-grid { position: absolute; inset: -40px; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%); animation: grid-drift 24s linear infinite; }
.hero-grid--soft { opacity: .6; z-index: 0; }
@keyframes grid-drift { to { transform: translate3d(64px, 64px, 0); } }
.hero-glow { position: absolute; width: 900px; height: 900px; right: -220px; top: -280px; background: radial-gradient(circle, rgba(227,20,31,.45), rgba(227,20,31,0) 62%); filter: blur(10px); animation: glow 12s ease-in-out infinite alternate; }
@keyframes glow { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-120px, 80px, 0) scale(1.15); } }
.hero--noimg .hero-media::after { content: ""; position: absolute; right: -10%; top: 0; bottom: 0; width: 46%; background: linear-gradient(180deg, var(--red), #8E0A12); transform: skewX(-12deg); opacity: .9; animation: slab 1.2s var(--ease) both; }
@keyframes slab { from { transform: skewX(-12deg) translateX(30%); opacity: 0; } }
.hero-in { width: 100%; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 48px; align-items: end; padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(56px, 9vh, 96px); }
.pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-d2); border-radius: 999px; padding: 8px 14px; font-size: 12px; text-transform: uppercase; color: #E4E4E7; margin: 0 0 26px; backdrop-filter: blur(8px); background: rgba(0,0,0,.2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227,20,31,.7); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(227,20,31,0); } 100% { box-shadow: 0 0 0 0 rgba(227,20,31,0); } }
.hero-title { font-size: clamp(42px, 7vw, 92px); font-weight: 800; line-height: .98; letter-spacing: -.04em; margin: 0 0 24px; max-width: 14ch; text-wrap: balance; }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: #D4D4D8; max-width: 620px; margin: 0 0 34px; }
.glass { background: rgba(24,24,27,.62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line-d); border-radius: var(--r-l); }
.hero-card { padding: 24px; justify-self: end; width: 100%; max-width: 380px; }
.hero-card-t { font-size: 11px; text-transform: uppercase; color: var(--muted-d); margin: 0 0 14px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.hero-card li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-d); }
.hero-card li:last-child { border: 0; padding: 0; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; gap: 8px; }
.hero-dots button { width: 44px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; }
.hero-dots span { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; position: relative; }
.hero-dots button[aria-selected="true"] span::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dotfill var(--int, 6s) linear forwards; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- marquee ---------- */
.marquee { background: var(--char); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); color: var(--muted-d); overflow: hidden; font-size: 14px; text-transform: uppercase; }
.marquee-track { display: flex; width: max-content; gap: 40px; padding: 18px 0; animation: marquee 38s linear infinite; }
.marquee-track span { white-space: nowrap; }
.m-sep { color: var(--red); }
.m-dup { display: contents; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; background: var(--ink); color: var(--text-d); }
.section--tight { padding-top: clamp(40px, 6vw, 70px); }
.section--light { background: var(--paper); color: var(--text-l); }
.section .sec-lead { color: var(--muted-d); font-size: 17px; max-width: 460px; margin: 0; }
.section--light .sec-lead { color: var(--muted-l); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.is-home .section--light { background: var(--mist); }

/* specialties */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.spec-card { position: relative; min-height: 540px; border-radius: var(--r-l); overflow: hidden; display: flex; align-items: flex-end; color: #fff; text-decoration: none; border: 1px solid var(--line-d); isolation: isolate; transition: transform .5s var(--ease), border-color .4s; }
.spec-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.spec-card:hover { transform: translateY(-4px); border-color: rgba(255,77,87,.55); color: #fff; }
.spec-card:hover img { transform: scale(1.06); }
.spec-pattern { position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 80% 10%, rgba(227,20,31,.35), transparent 50%), repeating-linear-gradient(135deg, #1C1C20 0 18px, #212126 18px 36px); }
.spec-pattern--light { background: radial-gradient(circle at 80% 10%, rgba(227,20,31,.18), transparent 50%), repeating-linear-gradient(135deg, #E4E4E7 0 18px, #DCDCE0 18px 36px); position: absolute; inset: 0; }
.spec-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.2) 60%); }
.spec-num { position: absolute; top: 24px; right: 24px; font-size: 13px; border: 1px solid var(--line-d2); border-radius: 999px; padding: 6px 12px; backdrop-filter: blur(8px); }
.spec-body { padding: 32px; display: grid; gap: 16px; }
.spec-title { font: 800 clamp(40px, 5vw, 58px)/1 var(--f-d); letter-spacing: -.035em; }
.spec-desc { color: #D4D4D8; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: rgba(255,255,255,.1); border: 1px solid var(--line-d); border-radius: 999px; padding: 7px 12px; font-size: 14px; backdrop-filter: blur(6px); }
.spec-link { display: inline-flex; gap: 8px; align-items: center; color: var(--red-hi); font-weight: 600; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.mini-card { display: flex; justify-content: space-between; align-items: center; padding: 26px; border-radius: var(--r-m); background: var(--char); border: 1px solid var(--line-d); color: #fff; text-decoration: none; font: 700 22px var(--f-d); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.mini-card svg { color: var(--red-hi); }
.mini-card:hover { transform: translateY(-3px); border-color: rgba(255,77,87,.55); background: var(--char-2); color: #fff; }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; border: 1px solid var(--line-d); border-radius: var(--r-m); padding: 26px; background: var(--char); overflow: hidden; }
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--red), transparent); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) var(--d, 0ms); }
.step.is-in::before { transform: scaleX(1); }
.step-n { display: block; color: var(--red-hi); font-size: 13px; margin-bottom: 44px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted-d); margin: 0; }

/* projects bento */
.bento { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 250px; gap: 16px; }
.bento-item { position: relative; border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; background: var(--mist-2); }
.bento-item--big { grid-row: span 2; }
.bento-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.bento-item:hover img { transform: scale(1.05); }
.bento-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 4px; background: linear-gradient(0deg, rgba(11,11,12,.85), transparent); }
.bento-cap .mono { font-size: 12px; color: #D4D4D8; }
.bento-cap strong { font: 700 20px var(--f-d); }

/* areas + reviews */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: start; }
.town-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.town { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-d2); border-radius: 999px; padding: 9px 14px; font-size: 14px; color: #E4E4E7; text-decoration: none; transition: border-color .25s, background .25s, color .25s; }
.town svg { color: var(--red-hi); }
a.town:hover { border-color: var(--red-hi); background: rgba(227,20,31,.12); color: #fff; }
.town-chips--light .town { border-color: var(--line-l); color: var(--text-l); }
.town-chips--light a.town:hover { background: var(--mist); color: var(--ink); }
.reviews, .area-card { border: 1px solid var(--line-d); border-radius: var(--r-l); background: var(--char); padding: 32px; }
.area-card { display: grid; gap: 18px; align-content: start; }
.area-big { font: 700 clamp(26px, 3vw, 36px)/1.15 var(--f-d); margin: 0; letter-spacing: -.02em; }
.review-track { display: grid; }
.review { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(8px); transition: opacity .6s, transform .6s var(--ease); pointer-events: none; }
.review.is-active { opacity: 1; transform: none; pointer-events: auto; }
.review blockquote { margin: 14px 0 18px; font: 500 clamp(19px, 2vw, 23px)/1.5 var(--f-d); letter-spacing: -.01em; }
.review figcaption { color: var(--muted-d); font-size: 15px; }
.review figcaption a { color: var(--muted-d); }
.stars { color: var(--red-hi); letter-spacing: 2px; margin-right: 8px; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
.faq { display: grid; }
.faq-item { border-bottom: 1px solid var(--line-d); }
.section--light .faq-item, .prose .faq-item { border-color: var(--line-l); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font: 600 18px/1.35 var(--f-d); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--red-hi); transition: transform .3s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0 0 20px; color: var(--muted-d); }
.section--light .faq-a, .prose .faq-a { color: var(--muted-l); }

/* estimate */
.estimate { position: relative; overflow: hidden; background: var(--char); color: var(--text-d); padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--line-d); isolation: isolate; }
.estimate-slab { position: absolute; right: -12%; top: 0; bottom: 0; width: 48%; background: linear-gradient(180deg, var(--red), #8E0A12); transform: skewX(-12deg); z-index: -1; }
.estimate-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.estimate .lead { color: #D4D4D8; max-width: 520px; }
.estimate-phone { display: inline-flex; gap: 10px; align-items: center; color: #fff; font-size: 20px; text-decoration: none; margin-top: 10px; }

/* lead form */
.lead-form { background: #fff; color: var(--text-l); border-radius: var(--r-l); padding: clamp(20px, 3vw, 32px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); position: relative; }
.lf-fields { display: grid; gap: 14px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; border: 0; padding: 0; margin: 0; min-width: 0; }
.lf-field em { font-style: normal; font-weight: 400; color: var(--muted-l); }
.lf-field legend { margin-bottom: 8px; padding: 0; }
.lf-field input, .lf-field textarea { width: 100%; font: 400 16px/1.4 var(--f-t); padding: 13px 14px; border: 1px solid #D4D4D8; border-radius: var(--r-s); background: #fff; color: var(--text-l); transition: border-color .2s, box-shadow .2s; }
.lf-field input:focus, .lf-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,20,31,.15); }
.lf-field input[aria-invalid="true"] { border-color: var(--red-2); }
.lf-file input { padding: 10px; font-size: 14px; }
.lf-file small { font-weight: 400; color: var(--muted-l); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid #D4D4D8; border-radius: 999px; font-weight: 500; font-size: 14.5px; transition: all .2s; }
.chip input:checked + span { border-color: var(--red); background: rgba(227,20,31,.08); color: var(--red-2); box-shadow: inset 0 0 0 1px var(--red); }
.chip input:focus-visible + span { outline: 3px solid var(--red-hi); outline-offset: 2px; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-error { color: var(--red-2); font-weight: 600; font-size: 14.5px; margin: 0; min-height: 0; }
.lf-error:empty { display: none; }
.lf-submit { width: 100%; }
.lf-submit[aria-busy="true"] { opacity: .7; pointer-events: none; }
.lf-note { font-size: 12.5px; color: var(--muted-l); margin: 0; }
.lf-note a { color: var(--muted-l); }
.lf-success { text-align: center; padding: 34px 10px; }
.lf-success h3 { font-size: 28px; margin: 14px 0 8px; }
.lf-success p { color: var(--muted-l); }
.lf-check { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; animation: pop .6s var(--ease) both; }
.lf-check svg { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.lead-form--dark { background: var(--char-2); color: var(--text-d); box-shadow: none; border: 1px solid var(--line-d); }
.lead-form--dark .lf-field input, .lead-form--dark .lf-field textarea { background: var(--char); border-color: var(--char-3); color: #fff; }
.lead-form--dark .chip span { border-color: var(--char-3); color: #E4E4E7; }
.lead-form--dark .chip input:checked + span { color: #fff; background: rgba(227,20,31,.2); }
.lead-form--dark .lf-note, .lead-form--dark .lf-note a, .lead-form--dark .lf-success p, .lead-form--dark .lf-field em { color: var(--muted-d); }
.lead-form--dark .lf-error { color: var(--red-hi); }
.lead-form--compact .lf-row { grid-template-columns: 1fr; }

/* page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--text-d); padding: clamp(36px, 6vw, 56px) 0 clamp(64px, 8vw, 96px); }
.page-hero-media { position: absolute; inset: 0; z-index: -3; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-out forwards; }
.page-hero-slab { position: absolute; right: -10%; top: 0; bottom: 0; width: 34%; background: linear-gradient(180deg, var(--red), #8E0A12); transform: skewX(-12deg); z-index: -1; animation: slab 1.2s var(--ease) both; }
.page-hero-in { position: relative; z-index: 1; }
.page-hero .h-hero { max-width: 16ch; margin: 0 0 22px; text-wrap: balance; }
.page-hero-intro { max-width: 680px; color: #D4D4D8; margin-bottom: 30px; }
.crumbs { font-size: 12px; margin-bottom: 40px; color: var(--muted-d); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--red-hi); }
.crumbs a { color: var(--muted-d); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* content pages */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose { font-size: 18px; line-height: 1.75; color: #3F3F46; min-width: 0; overflow-wrap: anywhere; }
.prose h2 { color: var(--ink); font-size: clamp(26px, 2.6vw, 34px); margin: 48px 0 18px; }
.prose > :first-child, .prose .local-content > :first-child { margin-top: 0; }
.prose h3 { color: var(--ink); font-size: 20px; margin: 0 0 12px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--red); }
.incl { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.incl li { border: 1px solid var(--line-l); border-radius: var(--r-m); padding: 18px 20px; margin: 0 !important; font-weight: 600; color: var(--ink); display: flex; gap: 12px; align-items: baseline; font-size: 16px; transition: border-color .3s, transform .3s var(--ease); }
.incl li:hover { border-color: var(--red); transform: translateY(-2px); }
.incl .mono { color: var(--red-2); font-size: 12px; }
.kid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.kid-card { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line-l); border-radius: var(--r-m); text-decoration: none; color: var(--muted-l); font-size: 15.5px; line-height: 1.5; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.kid-card strong { color: var(--ink); font: 700 19px var(--f-d); }
.kid-card .link-arrow { color: var(--red-2); font-size: 15px; margin-top: 6px; }
.kid-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.25); color: var(--muted-l); }
.side-form { position: relative; }
.side-sticky { position: sticky; top: calc(var(--hdr) + 20px); background: var(--ink); border-radius: var(--r-l); padding: 26px; color: #fff; }
.side-sticky .lead-form { padding: 0; border: 0; background: transparent; }
.side-h { font-size: 26px; margin: 0 0 18px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 32px 0; }
.g-item { margin: 0; }
.g-item img { border-radius: var(--r-m); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.g-item figcaption { font-size: 14px; color: var(--muted-l); margin-top: 8px; line-height: 1.5; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-l); font-size: 16px; }
.related ul { list-style: none; padding: 0; }
.area-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.area-item { border: 1px solid var(--line-l); border-radius: var(--r-m); padding: 22px; }
.area-item h2 { font-size: 20px; margin: 0 0 10px; }
.area-item h2 a { color: var(--ink); text-decoration: none; }
.area-item h2 a:hover { color: var(--red-2); }
.area-item ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.proj-card { position: relative; display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
.proj-card img, .proj-card .spec-pattern--light { border-radius: var(--r-l); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; position: relative; transition: transform .6s var(--ease); }
.proj-card:hover img { transform: scale(1.02); }
.proj-meta { font-size: 12px; color: var(--muted-l); margin-top: 8px; }
.proj-card strong { font: 700 20px var(--f-d); }
.ba { position: relative; border-radius: var(--r-l); overflow: hidden; margin-bottom: 32px; }
.ba img { width: 100%; display: block; }
.ba-before { position: absolute; inset: 0; width: 50%; overflow: hidden; border-right: 3px solid #fff; }
.ba-before img { width: auto; max-width: none; height: 100%; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-l, .ba-r { position: absolute; top: 14px; font-size: 12px; background: rgba(0,0,0,.6); color: #fff; padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.ba-l { left: 14px; } .ba-r { right: 14px; }
.offer-img { border-radius: var(--r-l); margin-bottom: 24px; }
.fine { font-size: 14px; color: var(--muted-l); }

/* footer */
.site-footer { background: var(--ink); color: var(--muted-d); font-size: 15px; padding: 72px 0 0; border-top: 1px solid var(--line-d); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--r-m); padding: 14px 18px; margin-bottom: 18px; }
.footer-logo img { width: 200px; height: auto; }
.f-h { font: 600 13px var(--f-m); text-transform: uppercase; letter-spacing: .14em; color: #fff; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted-d); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.f-social { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line-d); font-size: 13px; }
.mobile-bar { display: none; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .main-nav a { padding: 10px 9px; font-size: 15px; }
}
@media (max-width: 1024px) {
  :root { --hdr: 68px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn, .header-phone { display: none; }
  .header-cta { margin-left: auto; }
  .main-nav { position: fixed; inset: var(--hdr) 0 0 0; background: #fff; padding: 18px var(--pad) 120px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; margin: 0; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { font-size: 19px; padding: 14px 10px; font-family: var(--f-d); font-weight: 600; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 48px; height: 48px; }
  .sub { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px 12px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.is-open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.is-open:hover .sub { display: block; }
  .sub a { font-family: var(--f-t); font-weight: 500; font-size: 16px; padding: 10px; }
  .nav-cta-mobile { display: grid; gap: 10px; margin-top: 24px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; }
  .estimate-in, .faq-wrap { grid-template-columns: 1fr; }
  .estimate-slab { width: 70%; right: -40%; opacity: .55; }
  .content-grid { grid-template-columns: 1fr; }
  .side-form { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item--big { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-mark { height: 32px; }
  .brand-best { font-size: 25px; } .brand-pro { font-size: 21px; } .brand-sub { font-size: 9px; }
  .hero { min-height: calc(100svh - var(--hdr) - 60px); }
  .hero-card { display: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(11,11,12,.97) 15%, rgba(11,11,12,.55) 70%, rgba(11,11,12,.35) 100%); }
  .btn-row .btn { width: 100%; }
  .spec-card { min-height: 420px; }
  .lf-row { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .bento-item--big { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; padding: 8px; border-radius: 18px; background: rgba(20,20,22,.86); backdrop-filter: blur(16px); border: 1px solid var(--line-d2); transform: translateY(150%); transition: transform .4s var(--ease); }
  .mobile-bar.is-on { transform: none; }
  .mobile-bar .btn-ghost-dark { color: #fff; border-color: var(--line-d2); }
  .site-footer { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* heading spacing */
.areas-grid .h-lg, .estimate-copy .h-xl, .faq-wrap .h-lg { margin-bottom: 18px; }
html { overflow-x: clip; }
