/* HyperEV v1.1: vehicle details, native modal and real 3D close-ups. */
.vehicle-hotspot{--min-hotspot-opacity:0;position:relative;display:grid;place-items:center;min-width:44px;width:44px;height:44px;border:1px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(10,12,16,.86);box-shadow:0 0 0 5px rgba(255,73,62,.14),0 5px 25px #0008;color:#fff;font:700 12px var(--display);cursor:pointer;transition:opacity .15s,background .15s;touch-action:manipulation}
.vehicle-hotspot:not([data-visible]){opacity:0;pointer-events:none}
.stage:not(.model-active) .vehicle-hotspot{display:none}
.vehicle-hotspot:hover,.vehicle-hotspot:focus-visible,.vehicle-hotspot[aria-pressed=true]{background:var(--red);outline:2px solid white;outline-offset:4px}
.hotspot-label{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);padding:5px 8px;border-radius:3px;background:#101216e8;white-space:nowrap;font-size:9px;letter-spacing:.08em;text-transform:uppercase;pointer-events:none}
.feature-launchers{display:flex;gap:8px;flex-wrap:wrap;width:100%;order:3;padding-top:15px;border-top:1px solid var(--stroke)}
.feature-launchers button{display:flex;align-items:center;gap:13px;min-height:46px;padding:11px 16px;color:white;background:#1a1d24;border:1px solid #ffffff25;font-size:11px;letter-spacing:.05em;cursor:pointer}
.feature-launchers span{color:var(--red);font-size:10px}.feature-launchers b{font-size:16px;font-weight:400;color:#a8abb2;margin-left:15px}.feature-launchers button:hover,.feature-launchers button:focus-visible{border-color:var(--red)}
body.feature-dialog-open{overflow:hidden}
.feature-dialog{color:#f5f5f7;background:#11141b;border:1px solid #ffffff30;box-shadow:0 30px 100px #0009;border-radius:16px;padding:0;width:min(460px,calc(100vw - 32px));max-height:calc(100svh - 40px);margin:auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.feature-dialog::backdrop{background:rgba(2,4,8,.76);backdrop-filter:blur(8px)}
.feature-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 14px 10px 24px;position:sticky;top:0;z-index:2;background:#11141bf5;border-bottom:1px solid #ffffff10}
.feature-dialog-top .eyebrow{font-size:9px;color:#aaaeb9;letter-spacing:.14em}
.feature-close{display:grid;place-items:center;font:300 29px/1 var(--display);height:44px;width:44px;flex:none;border:1px solid #ffffff28;border-radius:50%;background:#ffffff07;color:#fff;cursor:pointer}
.feature-close:hover,.feature-close:focus-visible{border-color:var(--red);background:#ff493e22}
.feature-preview{position:relative;height:245px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at center,#303642,#11141b 76%)}
.feature-preview img{height:100%;width:100%;object-fit:cover}.feature-preview img[hidden]{display:none}
#feature-image-status{padding:20px;text-align:center;font-size:12px;color:#babfca}
#feature-image-status[hidden]{display:none}
.feature-preview-caption{position:absolute;bottom:12px;left:24px;right:14px;font-size:8px;letter-spacing:.15em;color:#bfc4ce;text-shadow:0 1px 8px #000}
.feature-dialog-body{padding:23px 24px 26px}
.feature-count{font-size:9px;color:var(--red);letter-spacing:.2em}
.feature-dialog h2{font:700 clamp(30px,5vw,38px)/1.05 var(--display);text-transform:uppercase;letter-spacing:.015em;margin:9px 0 13px}
.feature-dialog-body>p{font-size:12px;line-height:1.75;color:#c0c3cc;margin:0 0 18px}
.feature-facts{display:grid;gap:5px;padding:13px 0;border-top:1px solid #ffffff17;border-bottom:1px solid #ffffff17}
.feature-facts span{font-size:8px;letter-spacing:.13em;color:#9096a3}.feature-facts strong{font-size:14px;font-weight:600;color:#f5f5f7}
.feature-switcher{display:flex;gap:6px;margin:17px 0}
.feature-switcher button{flex:1;min-width:0;min-height:44px;border:1px solid #ffffff22;background:#ffffff04;color:#b5bac6;padding:8px 5px;font-size:10px;cursor:pointer}
.feature-switcher button[aria-pressed=true]{color:#fff;border-color:var(--red);background:#ff493e14}
.feature-enquiry{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;background:var(--red);color:#08090c;font-size:10px;font-weight:800;letter-spacing:.08em;text-decoration:none}
.feature-enquiry:hover,.feature-enquiry:focus-visible{background:#ff766c;outline:2px solid #fff;outline-offset:3px}
.feature-enquiry span{font-size:20px;line-height:1}
.feature-dialog-body p.feature-enquiry-note{font-size:10px;color:#a7aeba;line-height:1.55;margin:10px 0 15px}
.feature-dialog-body p.feature-demo-note{font-size:9px;line-height:1.5;color:#888f9d;margin:0;padding-top:12px;border-top:1px solid #ffffff14}
@media(max-width:600px){.feature-dialog{width:100%;max-width:100%;max-height:91svh;margin:auto 0 0;border-radius:18px 18px 0 0;border-bottom:0}.feature-preview{height:210px}.feature-dialog-body{padding:19px 22px max(24px,env(safe-area-inset-bottom))}.feature-launchers{gap:6px}.feature-launchers button{flex:1;min-width:0;justify-content:center;padding:11px 8px;gap:8px}.feature-launchers b{margin-left:2px}.hotspot-label{display:none}}
@media(prefers-reduced-motion:reduce){.vehicle-hotspot{transition:none}.feature-dialog::backdrop{backdrop-filter:none}}

/* The real vehicle replaces the unrelated concept-car fallback. */
.home-hero .car-outline{background:url('../img/cybertruck-poster.webp') center center/contain no-repeat;filter:none;inset:5% -5% 5% -5%}

/* v1.1.1: keep the control surface inside the vehicle's own column. */
.hero-visual{flex-direction:column;align-self:center;justify-content:center;gap:0;padding:18px 0 28px;min-height:0}
.hero-visual .stage{flex:none;width:100%;min-height:350px;height:clamp(350px,48svh,540px)}
.hero-visual>.viewer-controls-section{flex:none;width:100%;padding:16px 0 0;background:transparent;border-top:1px solid var(--stroke)}
.hero-visual .viewer-controls-layout{gap:12px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
.hero-visual .viewer-controls-layout h2{font-size:18px;letter-spacing:.06em}
.hero-visual .viewer-controls-layout p{font-size:11px;line-height:1.5;max-width:440px}
.hero-visual .viewer-buttons{gap:6px;width:100%;display:flex;flex-wrap:wrap}
.hero-visual .viewer-buttons button{min-height:44px;padding:10px 11px;flex:1 1 auto}
.hero-visual .feature-launchers{order:0;padding:0;border:0;gap:6px}
.hero-visual .feature-launchers button{flex:1;min-height:44px;padding:9px 12px;gap:8px;justify-content:space-between}
.hero-visual .feature-launchers b{margin-left:4px}
.feature-preview.is-loading img{opacity:.4}
.feature-preview #feature-image-status{position:absolute;inset:0;display:grid;place-items:center;background:#11141b80;z-index:1}
.feature-preview #feature-image-status[hidden]{display:none}
.feature-preview-caption{z-index:2}
@media(max-width:920px){
  .hero-visual{align-self:stretch;padding-top:12px;padding-bottom:28px}
  .hero-visual .stage{min-height:310px;height:clamp(310px,43svh,420px)}
  .hero-visual>.viewer-controls-section{max-width:800px;margin:0 auto}
}
@media(max-width:600px){
  .hero-visual{margin:0;min-height:0;padding-bottom:24px}
  .hero-visual .stage{width:calc(100% + 40px);max-width:none;min-height:260px;height:clamp(260px,40svh,340px);margin:0 -20px 30px}
  .hero-visual .stage-hint{bottom:2%;left:6%;max-width:72%}
  .hero-visual .stage-hint strong{font-size:15px}
  .hero-visual .stage-hint p{font-size:9px;line-height:1.45;max-width:230px}
  .hero-visual .stage-caption{bottom:-20px;font-size:8px}
  .hero-visual .stage-topline{top:5%;gap:12px}
  .hero-visual .stage-number{font-size:10px;letter-spacing:.15em}
  .hero-visual .stage-signal{font-size:8px;letter-spacing:.08em}
  .hero-visual>.viewer-controls-section{padding-top:12px}
  .hero-visual .viewer-controls-layout{gap:10px}
  .hero-visual .viewer-controls-layout h2{font-size:16px}
  .hero-visual .viewer-controls-layout p{font-size:10px;line-height:1.4}
  .hero-visual .viewer-buttons button{padding:8px 9px;font-size:9px}
  .hero-visual .feature-launchers button{padding:8px;gap:6px;font-size:10px}
  .feature-dialog::backdrop{backdrop-filter:none;background:rgba(2,4,8,.88)}
}
