/* Horizontal car dragging rotates; the separate slider restores headlights. */
.hero{height:100svh;min-height:700px;overflow:clip}
.hero-stage{position:relative;height:100%;min-height:inherit}
.hero-content{opacity:1;transform:none}
.hero-image{opacity:.57;transform:scale(1.03)}
.experience{height:auto;padding:110px var(--gutter) 86px}
.experience-stage{position:relative;top:auto;height:auto;min-height:0;overflow:visible;background:transparent;display:grid;grid-template-columns:.8fr 1.2fr;gap:2%;align-items:center}
.viewer-copy{position:relative;z-index:2;align-self:start;padding-top:42px}
.viewer-copy small{display:block;color:#c0d2f9;margin-bottom:24px;font-size:12px}
.viewer-copy h2{font-size:clamp(54px,5.7vw,98px);line-height:1.06;letter-spacing:-.062em}
.viewer-copy h2 span{color:var(--accent)}
.viewer-copy p{font-size:18px;line-height:1.7;color:#b7ccf8;max-width:340px;margin-top:26px}
.car-viewer{min-width:0;margin:0;position:relative}
.car-stage{position:relative;width:100%;aspect-ratio:8/5;cursor:ew-resize;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;outline-offset:4px}
.car-stage[data-interaction=rotate]{cursor:grab}
.car-stage[data-interaction=rotate]:active{cursor:grabbing}
.car-stage:focus-visible{outline:1px solid var(--accent);border-radius:22px}
.car-orbit,.car-poster{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.car-poster{overflow:hidden}
.car-poster img{position:absolute;max-width:none;width:90.836%;height:90.904%;left:4.582%;top:4.582%}
.car-poster svg{position:absolute;inset:0;width:100%;height:100%;opacity:var(--haze,1)}
.car-stage[data-interaction=rotate] .car-poster img{inset:0;width:100%;height:100%;object-fit:contain}
.car-stage[data-interaction=rotate] .car-poster svg{display:none}
.car-orbit{visibility:hidden}
.car-stage[data-ready=true] .car-orbit{visibility:visible}
.car-stage[data-ready=true] .car-poster{visibility:hidden}
.viewer-controls{position:relative;z-index:2;max-width:460px;margin:0 auto}
.headlight-reveal-control{margin-top:4px}
.reveal-label{display:flex;flex-direction:column;gap:4px;color:#edf0fa;font-size:20px;font-weight:500;letter-spacing:-.035em;line-height:1.5}
.reveal-label span{color:#aec5f8;font-size:14px;font-weight:400;letter-spacing:0}
#headlight-clarity{display:block;appearance:none;-webkit-appearance:none;width:100%;height:58px;margin:12px 0 0;background:transparent;cursor:ew-resize;touch-action:pan-y pinch-zoom}
#headlight-clarity::-webkit-slider-runnable-track{height:5px;border-radius:999px;background:linear-gradient(90deg,#d9e4fc 0%,#dce2e8 calc(var(--reveal,0)*100%),#dce2e832 calc(var(--reveal,0)*100%),#dce2e832 100%)}
#headlight-clarity::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:44px;height:44px;margin-top:-19.5px;border-radius:50%;border:1px solid #dbe5fc80;background:#081533 url('assets/brand/clearbeam-headlight-mark.png?v=55') center/31px 23px no-repeat;box-shadow:0 0 calc(16px + var(--high-beam,0)*20px) #dce2e835,inset 0 0 12px #dce2e815}
#headlight-clarity::-moz-range-track{height:5px;border-radius:999px;background:#dce2e832}
#headlight-clarity::-moz-range-progress{height:5px;border-radius:999px;background:#dce2e8}
#headlight-clarity::-moz-range-thumb{width:42px;height:42px;border-radius:50%;border:1px solid #dbe5fc80;background:#081533 url('assets/brand/clearbeam-headlight-mark.png?v=55') center/31px 23px no-repeat;box-shadow:0 0 22px #dce2e835}
.reveal-phases{position:relative;height:44px;margin-top:-5px}
.reveal-phases button{position:absolute;top:0;min-height:44px;padding:6px 0;border:0;background:transparent;color:#9fbbf6;font:500 13px Manrope,Arial,sans-serif;cursor:pointer;white-space:nowrap}
.reveal-phases button:first-child{left:0}.reveal-phases button:nth-child(2){left:62.5%;transform:translateX(-50%)}.reveal-phases button:last-child{right:0}
.reveal-phases button[aria-pressed=true]{color:#e1eafc}
.viewer-rotation{margin-top:18px;color:#a8c1f7;font-size:13px;line-height:1.5}
.viewer-rotation summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;padding:12px 0;min-height:44px;border-top:1px solid #dce2e818}
.viewer-rotation summary::-webkit-details-marker{display:none}
.viewer-rotation summary svg{width:22px;height:22px;color:var(--accent)}
.viewer-rotation[open] summary{color:#d8e3fb}
.viewer-rotation summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.condition-tabs{display:flex;gap:4px;padding:5px;border:1px solid #dce2e820;border-radius:999px;background:#dce2e805;width:100%}
.condition-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:12px 10px;min-height:46px;color:#c1d3f9;background:transparent;font:500 14px Manrope,Arial,sans-serif;cursor:pointer;transition:background .2s,color .2s}
.condition-tabs button[aria-pressed=true]{background:var(--accent);color:#061129}
.condition-tabs svg{width:21px;height:21px}
.viewer-scrub{display:flex;align-items:center;gap:16px;margin-top:18px}
.viewer-turn{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border:1px solid #dce2e828;border-radius:50%;color:#d4e0fb;background:transparent;cursor:pointer;transition:background .2s,border-color .2s}
.viewer-turn:hover{background:#dce2e812;border-color:#dce2e870}
.viewer-turn svg{width:19px;height:19px}
.viewer-scrub label{flex:1;min-width:0}
.viewer-scrub input{display:block;appearance:none;-webkit-appearance:none;touch-action:pan-y;width:100%;height:28px;margin:0;cursor:ew-resize;background:transparent;accent-color:var(--accent)}
.viewer-scrub input::-webkit-slider-runnable-track{height:2px;background:#dce2e855;border-radius:9px}
.viewer-scrub input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;margin-top:-7px;width:16px;height:16px;border-radius:50%;background:#dce2e8;border:3px solid #dce2e8;box-shadow:0 0 18px #dce2e825}
.viewer-scrub input::-moz-range-track{height:2px;background:#dce2e855;border-radius:9px}
.viewer-scrub input::-moz-range-thumb{width:12px;height:12px;border:2px solid #dce2e8;background:#dce2e8;border-radius:50%}
.viewer-rotation-label{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#aec5f8;font-size:12px;line-height:1.7;margin-top:1px}
.viewer-angle{font-variant-numeric:tabular-nums;color:#d4e0fb}
.viewer-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;color:#a6c0f7;font-size:12px;line-height:1.6;flex-wrap:wrap}
.viewer-hint{display:inline-flex;gap:7px;align-items:center}
.viewer-hint svg{width:20px;height:20px;color:var(--accent)}
.viewer-note{font-size:11px;line-height:1.6;color:#81a5f3;margin-top:11px;text-align:center}
.viewer-status{font-size:12px;line-height:1.6;color:#c3d4fa;text-align:center;margin-top:10px;min-height:19px}
.viewer-controls button:focus-visible,.viewer-controls input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.model-credit{margin-top:18px;max-width:820px;font-size:12px;line-height:1.7;color:#8daef5}
.model-credit a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:#8daef550}
@media(max-width:1000px){.experience-stage{grid-template-columns:.85fr 1.15fr}.viewer-copy h2{font-size:6.1vw}.viewer-copy{padding-top:18px}.viewer-copy p{font-size:17px}}
@media(max-width:700px){
 .hero{height:100svh;min-height:640px}.hero-stage{height:100%;min-height:inherit}
 .experience{padding:44px var(--gutter) 50px}
 .experience-stage{display:flex;flex-direction:column;align-items:stretch;gap:0;height:auto;position:relative}
 .viewer-copy{display:contents;padding-top:0}
 .viewer-copy small{order:0;margin-bottom:15px;font-size:12px}
 .viewer-copy h2{order:1;font-size:clamp(42px,12.1vw,68px);line-height:1.07}
 .viewer-copy p{order:3;font-size:17px;line-height:1.65;margin-top:24px;max-width:100%}
 .car-viewer{order:2;margin:16px -14px 0}
 .car-stage{aspect-ratio:8/5}
 .viewer-controls{margin:0 14px;max-width:none}
 .reveal-label{font-size:19px}.reveal-label span{font-size:14px}
 .reveal-phases button{font-size:12px}
 .viewer-caption{align-items:flex-start;flex-direction:column}
 .condition-tabs button{font-size:14px;min-height:46px}
 .viewer-scrub{gap:13px;margin-top:13px}
 .viewer-caption{font-size:12px;gap:9px;margin-top:15px}
 .viewer-note{font-size:11px;margin-top:10px}
 .intro{padding-top:34px}
}
@media(prefers-reduced-motion:reduce){.experience{height:auto}.car-stage{opacity:1}.condition-tabs button,.viewer-turn{transition:none}}
/* Photographic Civic presentation, with optional lazy-loaded 3-D inspection. */
.civic-photo-masks{position:absolute;pointer-events:none}
.civic-photo-stack{position:absolute;inset:0;transform:scale(var(--photo-scale,1)) translate(var(--photo-shift-x,0%),var(--photo-shift-y,0%));transform-origin:50% 50%;pointer-events:none;transition:transform .4s ease}
.civic-photo{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain;pointer-events:none}
.civic-photo-fog{clip-path:url(#civic-lens-regions);opacity:var(--lens-haze,1)}
.civic-photo-beam{clip-path:url(#civic-lens-regions);opacity:var(--high-beam,0)}
.civic-plate-logo{position:absolute;left:42%;top:66%;width:16%;height:auto;display:block;pointer-events:none}
.car-stage[data-view=photo] .car-orbit{visibility:hidden}
.car-stage[data-view=model] .civic-photo-stack{visibility:hidden}
.photo-views{display:flex;justify-content:center;gap:6px;margin:8px 0 14px}
.photo-views[hidden]{display:none}
.photo-views button{padding:8px 14px;min-height:44px;border:1px solid transparent;border-radius:22px;background:transparent;color:#94b3f5;font:inherit;font-size:12px;cursor:pointer}
.photo-views button[aria-pressed=true]{border-color:#dce2e840;background:#dce2e80c;color:#e0e5f5}
.photo-views button:hover{color:#fff}
.viewer-3d{border-top:1px solid #dce2e820;margin:8px 0 14px}
.viewer-3d summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 4px;min-height:44px;list-style:none;cursor:pointer;color:#a8c1f7;font-size:13px}
.viewer-3d summary::-webkit-details-marker{display:none}
.viewer-3d summary svg{width:20px;height:20px;transition:transform .2s}
.viewer-3d[open] summary svg{transform:rotate(180deg)}
.viewer-3d summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.viewer-status:empty{display:none}
@media(prefers-reduced-motion:reduce){.civic-photo-stack,.viewer-3d summary svg{transition:none}}
/* The headlights lead; front inspection is secondary to restoration. */
.experience-stage{grid-template-columns:.68fr 1.32fr;gap:3%;align-items:center}
.viewer-copy{padding-top:0;align-self:center}
.viewer-copy h2{font-size:clamp(48px,5.3vw,88px)}
.car-stage{aspect-ratio:3/2;overflow:hidden;border-radius:24px;background:radial-gradient(ellipse at 50% 56%,#061128 0%,#08090d 72%)}
.viewer-controls{max-width:580px}
.headlight-reveal-control{padding:22px 22px 9px;border:1px solid #dce2e832;border-radius:20px;background:linear-gradient(135deg,#061129,#0c0e16);box-shadow:0 14px 60px #0003}
.reveal-label{font-size:23px;color:#f8f5ed}
.viewer-insight{min-height:3.2em;margin:16px 0 10px;color:#c9d9fa;font-size:14px;line-height:1.6}
.front-views{display:flex;justify-content:center;gap:8px;margin:8px 0 14px}
.front-views button{padding:8px 14px;min-height:44px;border:1px solid transparent;border-radius:22px;background:transparent;color:#94b3f5;font:inherit;font-size:12px;cursor:pointer}
.front-views button[aria-pressed=true]{border-color:#dce2e840;background:#dce2e80c;color:#e0e5f5}
.front-views button:hover{color:#fff}
.headlight-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:64px;padding-top:34px;border-top:1px solid #dce2e825}
.benefit-number{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);margin-bottom:17px}
.headlight-benefits h3{font-size:clamp(21px,2vw,29px);font-weight:500;letter-spacing:-.035em;line-height:1.25;margin-bottom:14px}
.headlight-benefits p{max-width:360px;color:#aec5f8;font-size:15px;line-height:1.75}
.headlight-questions{max-width:840px;margin:44px auto 0}
.headlight-questions details{border-bottom:1px solid #dce2e820}
.headlight-questions summary{cursor:pointer;padding:19px 0;color:#dce2ef;font-size:16px;line-height:1.5}
.headlight-questions details p{padding:0 0 20px;color:#aec5f8;font-size:14px;line-height:1.8;max-width:720px}
.benefit-source{font-size:11px;line-height:1.6;color:#81a5f3;margin-top:20px}
.benefit-source a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){
 .experience-stage{display:flex;gap:0}.viewer-copy{display:contents}.viewer-copy h2{font-size:clamp(44px,12vw,68px)}
 .car-stage{aspect-ratio:3/2;border-radius:15px}.headlight-reveal-control{padding:18px 15px 8px}.reveal-label{font-size:21px}
 .viewer-caption{gap:4px}.viewer-insight{font-size:14px;min-height:4.8em}.front-views{gap:4px}
 .headlight-benefits{grid-template-columns:1fr;gap:28px;margin-top:36px;padding-top:28px}
 .headlight-benefits article{padding-bottom:24px;border-bottom:1px solid #dce2e815}.headlight-benefits article:last-child{border:0;padding-bottom:0}
 .benefit-number{margin-bottom:11px}.headlight-benefits h3{font-size:25px;margin-bottom:9px}.headlight-benefits p{max-width:100%;font-size:15px}
 .headlight-questions{margin-top:28px}.headlight-questions summary{font-size:15px}
}
