/* The ordinary page scroll drives one pinned scene. All overrides belong to the reveal. */
.look-hero .look-view { position:absolute; inset:0; overflow:hidden; margin:0; max-width:none; isolation:isolate; pointer-events:none; background:#07090d; }
.look-hero .look-world { position:absolute; inset:0 auto auto 0; width:100%; aspect-ratio:3/2; transform-origin:0 0; }
.look-hero .look-set { display:block; width:100%; height:100%; }
.look-room-extension { position:absolute; inset:-2%; background:linear-gradient(#05070b77,#080a0d44),url('assets/look-closer/empty-studio.webp') center / cover; filter:blur(10px) brightness(.55); }
.look-hero .garage-stage { --wipe:1; --macro:0; --world:1; --ignition:0; --focus:0; }
.look-driver { transform-origin:0 0; }
.look-world { opacity:var(--world); }
.look-weather { opacity:var(--weather,0); }
.look-world .garage-signals { opacity:calc(var(--ignition) * .34); animation:none; }
.look-macro { position:absolute; inset:0; display:grid; place-items:center; opacity:var(--macro); background:radial-gradient(ellipse at 53% 45%,#222a37,#0b0d13 64%,#050609); }
.look-lens { position:relative; width:var(--lens-width,100%); flex:none; aspect-ratio:3/1; left:50%; transform:translateX(-50%); justify-self:start; }
.look-lens img { display:block; width:100%; height:100%; object-fit:fill; }
.look-clear { position:absolute; inset:0; clip-path:inset(0 calc((1 - var(--wipe)) * 100%) 0 0); }
.look-wipe { position:absolute; top:0; bottom:0; width:1.5px; left:calc(var(--wipe) * 100%); background:#fff5cf; box-shadow:0 0 5px #fff7cd,0 0 18px #ffe38f; opacity:var(--line,0); }
.look-shade { position:absolute; inset:0; background:
 linear-gradient(0deg,rgba(4,6,11,.93),rgba(4,6,11,.42) 14%,transparent 35%,transparent 76%,rgba(4,6,11,.22)),
 linear-gradient(90deg,rgba(3,5,9,.68),rgba(3,5,9,.12) 31%,transparent 60%); }
.look-focus { position:absolute; left:var(--focus-x,50%); top:var(--focus-y,50%); width:var(--focus-w,140px); height:var(--focus-h,68px); transform:translate(-50%,-50%); opacity:var(--focus); }
.look-focus i { position:absolute; width:13px; height:13px; border-color:#fae886; border-style:solid; border-width:0; }
.look-focus i:nth-child(1){top:0;left:0;border-width:1px 0 0 1px}
.look-focus i:nth-child(2){top:0;right:0;border-width:1px 1px 0 0}
.look-focus i:nth-child(3){bottom:0;left:0;border-width:0 0 1px 1px}
.look-focus i:nth-child(4){bottom:0;right:0;border-width:0 1px 1px 0}
body .look-hero .garage-experience { overflow:visible; }
body .look-hero .restoration-scroll-track { height:auto!important; }
body .look-hero .garage-stage { display:block; position:relative; top:0; height:100svh; min-height:460px; max-width:none; overflow:hidden; isolation:isolate; padding:0; --opening:1; --story:0; --offer:1; --status:1; }
body .look-hero.is-interactive .restoration-scroll-track { height:405svh!important; }
body .look-hero.is-interactive .garage-stage { position:sticky; }
body .look-hero :is(.garage-opening,.garage-story) { position:absolute; left:var(--gutter); right:auto; margin:0; padding:0; display:block; min-height:0; width:min(52%,720px); max-width:none; pointer-events:none; text-align:left; transform:none; }
body .look-hero .garage-opening { top:clamp(102px,21svh,230px); opacity:var(--opening); }
body .look-hero .garage-story { top:clamp(100px,17svh,190px); opacity:var(--story); }
body .look-hero :is(.garage-opening,.garage-story) :is(h1,h2,p) { text-align:left; margin-inline:0; }
body .look-hero .garage-opening h1 { max-width:12ch; margin-top:13px; font-size:clamp(55px,6.8vw,110px); letter-spacing:-.07em; line-height:.96; color:#fff; text-shadow:0 2px 24px #03040990; }
body .look-hero .garage-opening h1 em { color:#dce2e8; }
body .look-hero .garage-story h2 { margin-top:8px; font-size:clamp(30px,3.65vw,64px); line-height:1.04; }
body .look-hero .garage-story p { display:block; font-size:13px; margin-top:8px; }
body .look-hero :is(.garage-opening,.garage-story) small { font-size:10px; color:#f3e6a2; letter-spacing:.16em; }
body .look-hero .garage-bottom { position:absolute; display:flex; inset:auto var(--gutter) clamp(22px,5svh,60px); margin:0; padding:0; align-items:flex-end; justify-content:space-between; gap:24px; pointer-events:none; }
body .look-hero .garage-scroll-copy { width:clamp(200px,25vw,310px); flex:none; opacity:var(--status); }
body .look-hero .garage-status { display:block; height:auto; min-height:0; text-align:left; }
body .look-hero .garage-progress { display:block; background:#ffffff40; height:2px; margin:11px 0 7px; }
body .look-hero .garage-progress>span { background:#f6e38a; }
body .look-hero .garage-caption { display:flex; justify-content:space-between; margin:0; }
body .look-hero .garage-offer { display:flex; flex-direction:column; align-items:flex-end; gap:11px; margin:0; opacity:var(--offer); }
body .look-hero .garage-offer p { max-width:none; color:#e3e7ef; font-size:12px; line-height:1.5; text-align:right; }
.look-book { display:inline-flex; align-items:center; justify-content:center; gap:14px; padding:12px 20px; min-height:46px; border-radius:12px; border:1px solid #e9cf68; color:#f5f7fa; background:linear-gradient(#30415b,#142336); font-weight:700; pointer-events:auto; }
.look-book:focus-visible { outline:3px solid #99bafa; outline-offset:4px; }
.look-book:hover { background:#324760; }
@media (max-width:700px) {
 body .look-hero.is-interactive .restoration-scroll-track { height:155svh!important; }
 body .look-hero :is(.garage-opening,.garage-story) { width:calc(100% - 40px); left:20px; right:20px; }
 body .look-hero .garage-opening { top:clamp(99px,17svh,160px); }
 body .look-hero .garage-opening h1 { font-size:clamp(39px,11vw,64px); margin-top:10px; }
 body .look-hero .garage-story { top:clamp(98px,15svh,145px); }
 body .look-hero .garage-story h2 { font-size:clamp(28px,8vw,44px); }
 body .look-hero .garage-story p { font-size:12px; }
 body .look-hero .look-shade { background:linear-gradient(0deg,#06080cf5,rgba(6,8,12,.56) 20%,transparent 41%,transparent 63%,rgba(5,7,10,.45) 77%,#07090d 97%); }
 body .look-hero .garage-bottom { bottom:calc(var(--look-bottom,22px) + env(safe-area-inset-bottom)); inset-inline:20px; display:grid; gap:0; }
 body .look-hero .garage-scroll-copy,body .look-hero .garage-offer { grid-area:1 / 1; }
 body .look-hero .garage-scroll-copy { align-self:end; width:100%; }
 body .look-hero .garage-offer { align-items:flex-start; gap:8px; }
 body .look-hero .garage-offer p { font-size:11px; text-align:left; }
 body .look-hero .look-book { padding:10px 15px; min-height:42px; font-size:13px; }
}
@media(max-height:530px) and (min-width:601px) {
 body .look-hero .garage-stage { min-height:0; }
 body .look-hero :is(.garage-opening,.garage-story) { top:91px; }
 body .look-hero .garage-opening h1 { font-size:43px; }
 body .look-hero .garage-bottom { inset-block-end:12px; }
}
@media(prefers-reduced-motion:reduce) {
 body .look-hero.is-interactive .restoration-scroll-track { height:auto!important; }
 body .look-hero.is-interactive .garage-stage { position:relative; }
}
/* The magnified garage photograph fills the overscan around the sharp lens detail. */
.look-macro { background:none; }
.look-lens {
  -webkit-mask-image:linear-gradient(0deg,transparent,#000 7%,#000 94%,transparent);
  mask-image:linear-gradient(0deg,transparent,#000 7%,#000 94%,transparent);
}
.look-view::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,#03060bcc,transparent 32%,transparent 70%,#03060b55);
}
.look-set { filter:brightness(var(--room-light,1)); }
body .look-hero .garage-story h2 span:not(.clarity-period) {
  color:#FFE600; -webkit-text-fill-color:#FFE600; background:none;
}
body .look-hero .garage-offer {
  position:relative; width:min(330px,40vw); align-items:stretch;
  padding:clamp(16px,2vw,26px); border:1px solid #b5c5d84d; border-radius:16px;
  background:linear-gradient(145deg,#1a2330f5,#080d15f5); box-shadow:0 18px 54px #0005;
  transform:translateX(calc((1 - var(--offer)) * 30px));
}
body .look-hero .garage-offer p { text-align:left; font-size:clamp(12px,1vw,15px); }
body .look-hero .garage-offer .look-book { color:#111823; background:linear-gradient(130deg,#ffec92,#f5d959); border-color:#ead064; box-shadow:0 4px 16px #0003; }
@media(min-width:701px){
  body .look-hero .garage-offer { margin-bottom:clamp(0px,7svh,96px); }
}
@media(max-width:700px){
  .look-room-extension { background:#080a0f; filter:none; }
  .look-world { -webkit-mask-image:linear-gradient(0deg,transparent,#000 14%,#000 86%,transparent); mask-image:linear-gradient(0deg,transparent,#000 14%,#000 86%,transparent); }
  body .look-hero .garage-offer { width:min(100%,390px); padding:13px 15px; gap:8px; transform:translateY(calc((1 - var(--offer)) * 14px)); }
  body .look-hero .garage-offer p { font-size:11px; }
  body .look-hero .garage-bottom { bottom:calc(var(--look-bottom,22px) * (1 - var(--offer)) + 20px * var(--offer) + env(safe-area-inset-bottom)); }
  body.look-booking-in-view .mobile-book { visibility:hidden; }
}
.look-hero:not(.is-interactive) .garage-scroll-copy { visibility:hidden; }
/* Lighting and tread displacement share the vehicle transform and its floor reflection. */
.drive-tire, .drive-rim { transform-box: view-box; }
.drive-floor-reflection { mix-blend-mode:screen; }
.drive-sharp-reflections { opacity:.75; }
@media(prefers-reduced-motion:reduce) { .drive-reflections { opacity:.05; } }
.drive-tread { opacity:.24; }
.drive-tire>g:last-child>path { opacity:.25; }
/* Preserve the photographic tire contour and rubber shading at the contact patch. */
.drive-tread { opacity:.11; }
.drive-tire>g:last-child>path { opacity:.10; }
.drive-rim { opacity:0!important; }

/* The invitation sits below the fixed header, ahead of the car reveal. */
.opening-invitation {
  position:relative; padding:calc(88px + 1.25rem) var(--gutter,5vw) 1.25rem;
  border-bottom:1px solid #36598b; background:linear-gradient(110deg,#10274a,#09172d 70%); color:#f4f7ff;
}
.invitation-inner {display:flex;align-items:center;justify-content:space-between;gap:1.5rem;max-width:88rem;margin-inline:auto;}
.opening-invitation p {max-width:55ch;margin:0;color:#f4f7ff;font-size:clamp(1rem,1.4vw,1.25rem);font-weight:500;line-height:1.45;text-align:left;}
.invitation-action {
  display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:3rem;max-width:100%;
  padding:.7rem 1.3rem;box-sizing:border-box;border:1px solid #80a6ff;border-radius:.75rem;
  background:#2056c8;color:#fff;font-size:1rem;font-weight:700;line-height:1.35;text-align:center;text-decoration:none;
}
.invitation-action:hover {background:#1947a6;}
.invitation-action:focus-visible {outline:3px solid #ffe600;outline-offset:4px;}
@media(max-width:700px) {
  .opening-invitation {padding:calc(78px + 1rem) 1.25rem 1rem;}
  .invitation-inner {flex-direction:column;align-items:stretch;gap:.75rem;}
}

.phone-civic { display:none; }
@media (max-width:700px), (hover:none) and (pointer:coarse) and (max-height:520px) {
  body .look-hero .garage-experience { display:none; }
  .phone-civic { display:block; width:100%; background:#050e20; color:#fff; }
  body .phone-civic h1 { position:static; margin:0; padding:1.5rem 1.25rem 1.15rem; text-align:left; font-size:clamp(2.2rem,9vw,3.3rem); line-height:1; letter-spacing:-.06em; font-weight:550; }
  body .phone-civic h1 em { color:#ffe600; font-style:normal; }
  .phone-civic figure { position:relative; display:block; margin:0; width:100%; }
  .phone-civic video { display:block; width:100%; height:auto; aspect-ratio:8/5; object-fit:cover; background:#080d16; }
  .phone-civic figcaption { display:flex; align-items:center; justify-content:space-between; padding:.5rem 1.25rem; color:#cad3df; font-size:.85rem; line-height:1.3; }
  .phone-civic button { min-height:44px; padding:.5rem .9rem; background:#11213a; border:1px solid #596a80; border-radius:2rem; color:white; font:inherit; cursor:pointer; }
  .phone-civic button:focus-visible { outline:2px solid #ffe600; outline-offset:2px; }
}
