/* JC Marcenaria — black, white and champagne gold (from the logo). Inter Tight headings + Inter body. */
:root {
  --ink: #0d0d0e; --ink2: #161618; --gold: #c6a15b; --gold2: #e2c68c;
  --paper: #ffffff; --soft: #f5f2ed; --text: #121212; --muted: #6b6760; --line: rgba(18,18,18,.1);
  --disp: 'Inter Tight', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
  --r: 18px; --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--disp); font-weight: 500; margin: 0 0 .45em; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
h3 { font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.2; }
.gold { color: var(--gold); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 820px; }

.demo-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--ink); color: #bdb7ad; font-size: 12px; text-align: center; padding: 6px 12px; border-top: 1px solid rgba(198,161,91,.3); }
.demo-bar b { color: var(--gold2); font-weight: 600; }

/* ---------- nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 32px; padding: 16px 32px; color: #f2efe9; transition: background .3s, padding .3s; }
.nav.solid { background: rgba(13,13,14,.92); backdrop-filter: blur(10px); padding-top: 11px; padding-bottom: 11px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 600 16px var(--disp); letter-spacing: -.01em; }
.brand img { border-radius: 50%; }
.nav nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.nav nav a { text-decoration: none; color: #cfcac2; transition: color .2s; }
.nav nav a:hover { color: #fff; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; background: var(--gold); color: #17120a; font: 600 15px var(--body); text-decoration: none; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ---------- hero */
.hero { background: var(--ink); color: #f2efe9; padding: 150px 0 110px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.kicker { font-size: 14px; color: #bdb7ad; margin: 0 0 22px; }
.star { color: var(--gold); }
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 5.2rem); }
.lead { font-size: 1.15rem; color: #bdb7ad; max-width: 520px; margin: 0; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 40px 0 0; font-size: 14px; color: #d9d4cc; }
.hero-points li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: middle; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero .wrap { width: 100%; }
.hero-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }

/* hero stage: framed animation with depth */
.stage { position: relative; height: min(78vh, 740px); perspective: 1400px; display: grid; place-items: center; }
.stage-glow { position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(198,161,91,.32), rgba(198,161,91,0)); filter: blur(30px); }
.stage-card { position: relative; height: 100%; aspect-ratio: 3 / 4; max-width: 100%; border-radius: 26px; overflow: hidden; background: #0b0b0c; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(198,161,91,.25); transform: rotateY(-7deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.stage-card img, .stage-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease; }
/* sequence: sharp exploded still → film → sharp assembled still (state set by site.js) */
.stage-video, .s-end { opacity: 0; }
.stage[data-s="play"] .stage-video { opacity: 1; }
.stage[data-s="end"] .s-end { opacity: 1; }
.stage[data-s="end"] .stage-video { opacity: 0; }
.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(20,20,22,.82); backdrop-filter: blur(10px); border: 1px solid rgba(198,161,91,.3); font-size: 14px; color: #f2efe9; white-space: nowrap; box-shadow: 0 16px 30px -14px rgba(0,0,0,.8); }
.chip b { font: 500 12px var(--disp); color: var(--gold); }
.c1 { left: 0; top: 14%; } .c2 { right: 0; top: 46%; } .c3 { left: 4%; bottom: 10%; }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: float 6s ease-in-out infinite alternate; }
  .c2 { animation-delay: -2s; } .c3 { animation-delay: -4s; }
}
@keyframes float { to { transform: translateY(-12px); } }

/* ---------- process: sticky interactive floor plan */
.process { position: relative; height: 480vh; background: var(--ink); color: #f2efe9; }
.process-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.process-grid { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; width: 100%; max-width: 1440px; }
.process-copy h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.process-lead { color: #a9a39a; margin: 0 0 26px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps button { display: flex; gap: 16px; width: 100%; padding: 13px 0; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.1); color: inherit; text-align: left; cursor: pointer; opacity: .4; transition: opacity .35s; }
.steps button:hover { opacity: .75; }
.steps .n { font: 500 13px var(--disp); color: #8f8a82; padding-top: 3px; min-width: 22px; }
.steps b { display: block; font: 500 1.15rem var(--disp); letter-spacing: -.02em; }
.steps small { display: block; max-height: 0; overflow: hidden; font-size: 14.5px; color: #a9a39a; transition: max-height .45s ease, margin .45s; }
.steps button.on { opacity: 1; }
.steps button.on .n { color: var(--gold); }
.steps button.on small { max-height: 80px; margin-top: 4px; }

.plan { position: relative; perspective: 1600px; }
.plan-tilt { position: relative; aspect-ratio: 1920 / 1086; border-radius: 22px; overflow: hidden; background: #0e0e0f; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease, transform 1.4s cubic-bezier(.2,.7,.2,1); transform: scale(1.03); }
.layer img { width: 100%; height: 100%; object-fit: cover; }
.plan[data-step="0"] .l-projeto, .plan[data-step="1"] .l-projeto, .plan[data-step="2"] .l-fabricacao,
.plan[data-step="3"] .l-dia, .plan[data-step="4"] .l-noite { opacity: 1; transform: none; }
.plan[data-step="3"].night .l-noite { opacity: 1; transform: none; }
.plan[data-step="4"]:not(.night) .l-noite { opacity: 0; }
.plan[data-step="4"]:not(.night) .l-dia { opacity: 1; transform: none; }
.dims { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dims line { stroke: var(--gold2); stroke-width: 2.5; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.6s ease; }
.dims text { fill: #f2efe9; font: 600 26px var(--body); text-anchor: middle; opacity: 0; transition: opacity .6s .9s; paint-order: stroke; stroke: #0e0e0f; stroke-width: 8px; }
.dims text.v { writing-mode: vertical-rl; }
.plan[data-step="1"] .dims line { stroke-dashoffset: 0; }
.plan[data-step="1"] .dims text { opacity: 1; }
.spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(ellipse 17% 24% at var(--sx, 50%) var(--sy, 50%), transparent 0, transparent 55%, rgba(8,8,9,.62) 100%); }
.plan.focus .spot { opacity: 1; }
.pins { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .5s; }
.plan[data-step="3"] .pins, .plan[data-step="4"] .pins { opacity: 1; pointer-events: auto; }
.pins button { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 7px 13px 7px 7px; border-radius: 999px; border: 0; background: rgba(13,13,14,.78); backdrop-filter: blur(6px); color: #fff; font: 500 13px var(--body); cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s; }
.pins button::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(198,161,91,.3); animation: ping 2.2s infinite; }
.pins button:hover, .pins button.on { background: var(--gold); color: #17120a; transform: translate(-50%, -50%) scale(1.05); }
.pins button.on::before, .pins button:hover::before { background: #fff; }
@keyframes ping { 50% { box-shadow: 0 0 0 9px rgba(198,161,91,0); } }
.pin-card { position: absolute; right: 16px; top: 16px; bottom: 70px; width: min(300px, 40%); display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; color: var(--text); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); animation: card .35s ease; z-index: 3; }
.pin-card[hidden] { display: none; }
.pin-card img { width: 100%; flex: 1; min-height: 0; object-fit: cover; cursor: zoom-in; }
.pin-card div { padding: 14px 16px 16px; }
.pin-card h3 { margin: 0 0 4px; }
.pin-card p { margin: 0; font-size: 14px; color: var(--muted) !important; }
.pin-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 22px; cursor: pointer; }
@keyframes card { from { opacity: 0; transform: translateY(10px); } }
.plan-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.plan-label { font: 500 13px var(--disp); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lights { display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #f2efe9; cursor: pointer; font-weight: 500; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .4s, border-color .2s, background .2s; }
.plan[data-step="3"] .lights, .plan[data-step="4"] .lights { opacity: 1; pointer-events: auto; }
.lights .dot { width: 10px; height: 10px; border-radius: 50%; background: #55524d; transition: all .3s; }
.lights[aria-pressed="true"] { background: rgba(198,161,91,.12); border-color: var(--gold); }
.lights[aria-pressed="true"] .dot { background: #ffd58a; box-shadow: 0 0 12px 4px rgba(255,200,110,.7); }
.plan-note { font-size: 13px; margin: 0 0 26px; color: #8f8a82 !important; }
.flow-end { padding: 40px 0 110px; }

/* ---------- testimonial */
.testimonial { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; margin-bottom: 64px; }
.t-video { margin: 0; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; box-shadow: 0 30px 60px -28px rgba(0,0,0,.45); }
.t-video video { width: 100%; height: 100%; object-fit: cover; }
.t-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.t-copy p { color: var(--muted); font-size: 1.08rem; max-width: 480px; }
.t-score { margin-top: 26px; font-size: 14px !important; }
.t-score b { font: 500 2.6rem var(--disp); color: var(--text); letter-spacing: -.03em; vertical-align: middle; margin-right: 8px; }

/* ---------- sections */
.section { padding: 120px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--ink); color: #f2efe9; }
.head { max-width: 680px; margin-bottom: 52px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.head h2, .contact h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.dark .head p, .dark p { color: #a9a39a; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ---------- projects carousel */
.carousel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(28px, calc((100vw - var(--wrap)) / 2 + 28px)) 20px; scroll-padding: 0 max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.car-nav { display: flex; gap: 10px; margin-bottom: 52px; }
.car-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; transition: background .2s, color .2s; }
.car-btn:hover { background: var(--ink); color: #fff; }
.proj { flex: 0 0 min(860px, 86vw); scroll-snap-align: start; display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; }
.proj-open { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.proj-media { position: relative; display: block; aspect-ratio: 4 / 4.6; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.proj-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.proj-open:hover .proj-media > img { transform: scale(1.04); }
.proj-thumbs { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.proj-thumbs img { width: 58px; height: 74px; object-fit: cover; border-radius: 10px; border: 2px solid #fff; }
.proj-n { font: 500 14px var(--disp); color: var(--gold); }
.proj-info h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.03em; margin-top: 10px; }
.proj-info p { color: var(--muted); margin: 0 0 18px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 26px; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--soft); }
.proj-next { grid-template-columns: 1fr; flex-basis: min(420px, 80vw); background: var(--ink); color: #f2efe9; border-radius: var(--r); padding: 44px; align-self: stretch; }
.proj-next h3 { font-size: 2rem; letter-spacing: -.03em; }
.proj-next p { color: #a9a39a; margin-bottom: 26px; }

/* ---------- full service flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.flow li { padding: 32px 26px 10px 0; position: relative; }
.flow li::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.flow .n { font: 500 13px var(--disp); color: var(--gold); letter-spacing: .04em; }
.flow h3 { margin: 12px 0 8px; font-size: 1.3rem; }
.flow p { font-size: 15px; margin: 0; }
.flow-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding: 30px 34px; border-radius: var(--r); background: var(--ink2); border: 1px solid rgba(198,161,91,.22); }
.flow-cta p { margin: 0; font: 500 1.4rem var(--disp); color: #f2efe9 !important; letter-spacing: -.02em; }
.flow-cta span { display: block; font: 400 13px var(--body); color: #8f8a82; margin-top: 4px; letter-spacing: 0; }

/* ---------- finishes: list + one large photo */
.finish { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.finish h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.finish-lead { color: var(--muted); font-size: 1.08rem; margin: 0 0 30px; }
.finish-list { list-style: none; padding: 0; margin: 0; }
.finish-list button { display: flex; gap: 16px; width: 100%; padding: 16px 0; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; cursor: pointer; color: var(--text); opacity: .45; transition: opacity .3s; }
.finish-list button:hover { opacity: .8; }
.finish-list button.on { opacity: 1; }
.finish-list .n { font: 500 13px var(--disp); color: var(--muted); padding-top: 4px; min-width: 22px; }
.finish-list button.on .n { color: var(--gold); }
.finish-list b { display: block; font: 500 1.3rem var(--disp); letter-spacing: -.02em; }
.finish-list small { display: block; max-height: 0; overflow: hidden; color: var(--muted); font-size: 15px; transition: max-height .45s, margin .45s; }
.finish-list button.on small { max-height: 70px; margin-top: 4px; }
.finish-stage { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--soft); box-shadow: 0 40px 80px -45px rgba(0,0,0,.45); }
.finish-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s ease, transform 6s ease; cursor: zoom-in; }
.finish-stage img.on { opacity: 1; transform: scale(1); }

/* ---------- reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reviews blockquote { margin: 0; padding: 34px; border-radius: var(--r); background: #fff; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; }
.reviews p { font: 500 1.3rem/1.35 var(--disp); letter-spacing: -.02em; margin: 14px 0 20px; }
.reviews cite { font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact > div > p { font-size: 1.08rem; max-width: 480px; }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 18px; }
.facts li { display: flex; flex-direction: column; font-size: 15px; color: #d9d4cc; }
.facts b { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 2px; }
.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.5); }

/* ---------- faq */
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font: 500 1.25rem var(--disp); letter-spacing: -.02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* ---------- footer */
.footer { background: var(--ink); color: #8f8a82; padding: 44px 0 72px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer .brand { color: #f2efe9; }
.footer p { margin: 0; }
.credit { opacity: .6; }

/* ---------- project viewer + lightbox */
.viewer { position: fixed; inset: 0; z-index: 70; background: #fff; overflow-y: auto; padding: 0 28px 80px; }
.viewer[hidden], .lightbox[hidden] { display: none; }
.v-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; max-width: var(--wrap); margin: 0 auto; padding: 24px 0 18px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); }
.v-head h3 { font-size: 1.8rem; margin: 0 0 4px; letter-spacing: -.03em; }
.v-sub { margin: 0; color: var(--muted); font-size: 14px; }
.v-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 26px; cursor: pointer; flex: none; }
.v-grid { max-width: var(--wrap); margin: 10px auto 0; columns: 4 240px; column-gap: 14px; }
.v-ph, .v-video { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--soft); cursor: zoom-in; break-inside: avoid; }
.v-ph img { width: 100%; transition: opacity .3s; }
.v-ph:hover img { opacity: .88; }
.v-video { cursor: default; background: #000; }
.v-video video { width: 100%; }
.v-video figcaption { font-size: 12px; color: #aaa; padding: 8px 12px; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8,8,9,.95); display: grid; place-items: center; padding: 30px 70px; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 30px; line-height: 1; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 18px; right: 18px; }
.wa-float { position: fixed; right: 20px; bottom: 44px; z-index: 55; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 26px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }

/* ---------- responsive */
@media (max-width: 1100px) {
  .process-grid { grid-template-columns: 300px 1fr; gap: 36px; }
  .process-lead { display: none; }
}
@media (max-width: 1000px) {
  .nav nav { display: none; }
  .nav { justify-content: space-between; padding: 12px 18px; }
  .hero { padding: 100px 0 60px; min-height: 0; }
  .hero-grid, .contact, .finish { grid-template-columns: 1fr; gap: 48px; }
  .stage { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .reviews { grid-template-columns: 1fr; }
  .proj { grid-template-columns: 1fr; gap: 20px; flex-basis: min(520px, 84vw); align-items: start; }
  .finish-stage { max-width: 560px; }
}
@media (max-width: 800px) {
  /* process: plan on top, current step under it */
  .process { height: 420vh; }
  .process-sticky { align-items: flex-start; padding-top: 78px; }
  .process-grid { grid-template-columns: 1fr; gap: 18px; }
  .process-copy { order: 2; }
  .process-copy h2 { font-size: 1.6rem; margin-bottom: 10px; }
  .steps button { padding: 9px 0; }
  .steps b { font-size: 1.02rem; }
  .steps small { font-size: 13.5px; }
  .plan-tilt { border-radius: 14px; }
  .plan-bar { margin-top: 10px; }
  .lights { padding: 8px 14px; font-size: 13px; }
  .pins button { padding: 0; width: 24px; height: 24px; justify-content: center; font-size: 0; background: rgba(13,13,14,.6); }
  .pins button::before { width: 10px; height: 10px; }
  .pin-card { right: 8px; top: 8px; bottom: auto; width: 46%; height: calc(100% - 16px); }
  .pin-card div { padding: 8px 10px 10px; }
  .pin-card h3 { font-size: 1rem; }
  .pin-card p { display: none; }
  .pin-x { width: 28px; height: 28px; font-size: 18px; top: 6px; right: 6px; }
  .dims text { font-size: 40px; }
  .testimonial { grid-template-columns: 1fr; gap: 32px; justify-items: center; }
  .t-video { width: min(300px, 80vw); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding: 84px 0; }
  .hero h1 { font-size: 2.6rem; }
  .lead { font-size: 1.02rem; }
  .stage { height: 440px; }

  .chip { font-size: 12.5px; padding: 8px 12px; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .car-nav { display: none; }
  .head { margin-bottom: 32px; }
  .carousel { padding-left: 20px; padding-right: 20px; scroll-padding: 0 20px; gap: 16px; }
  .proj-media { aspect-ratio: 4 / 4.4; }
  .proj-next { padding: 32px; }
  .finish-list b { font-size: 1.12rem; }
  .v-grid { columns: 2 140px; column-gap: 10px; }
  .v-ph, .v-video { margin-bottom: 10px; }
  .lightbox { padding: 20px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 40px; transform: none; }
  .wa-float { bottom: 40px; width: 52px; height: 52px; }
}
