/* Triple One: "In for protection". Studio black, LED white, one blue for action. */

@font-face { font-family: "Kufam"; src: url(assets/fonts/kufam-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url(assets/fonts/archivo-x800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(assets/fonts/plexar-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(assets/fonts/plexar-400.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(assets/fonts/plex-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(assets/fonts/plex-400.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(assets/fonts/plexmono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --studio: #060708;
  --bay: #0e1013;
  --bay-2: #15181d;
  --hairline: #24282f;
  --hairline-2: #3a404a;
  --ink: #f5f7fa;
  --body: #a9b0ba;
  --muted: #8b929c;
  --blue: #2f62d6;
  --blue-hover: #3d70e4;
  --led: #eaf2ff;
  --led-glow: 0 0 12px rgba(234, 242, 255, .55), 0 0 32px rgba(120, 160, 230, .25);
  --gutter: 20px;
  --top-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --f-latin-display: "Archivo Expanded", "Arial Black", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: dark;
}
html[lang="ar"] { --f-display: "Kufam", "IBM Plex Sans Arabic", sans-serif; --f-body: "IBM Plex Sans Arabic", system-ui, sans-serif; --lh: 1.75; }
html[lang="en"] { --f-display: var(--f-latin-display); --f-body: "IBM Plex Sans", system-ui, sans-serif; --lh: 1.6; }
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0; background: var(--studio); color: var(--body);
  font: 400 16px/var(--lh) var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { color: var(--ink); font-family: var(--f-display); font-weight: 800; }
html[lang="en"] h1, html[lang="en"] h2 { text-transform: uppercase; letter-spacing: -.01em; }
svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
:focus-visible { outline: 2px solid var(--led); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 30; background: var(--ink); color: var(--studio); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* Header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--top-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding-inline: var(--gutter); transition: background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: rgba(6, 7, 8, .88); border-color: var(--hairline); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand img { height: 24px; width: auto; }
.nav { display: none; justify-content: center; gap: 32px; font-size: 15px; }
.nav a { color: var(--body); transition: color .2s; padding-block: 8px; }
.nav a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.lang {
  height: 40px; min-width: 52px; padding-inline: 12px; background: transparent;
  border: 1px solid var(--hairline-2); font: 500 13px/1 var(--f-mono); letter-spacing: .06em;
}
.lang[lang="ar"] { font: 400 15px/1 "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; background: var(--blue); color: #fff; }
.icon-btn:hover { background: var(--blue-hover); }
@media (min-width: 900px) { .nav { display: flex; } .brand img { height: 28px; } }

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding-inline: 22px; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background-color .2s, border-color .2s, transform .15s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { color: var(--ink); border: 1px solid rgba(245, 247, 250, .3); background: rgba(6, 7, 8, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--hairline-2); padding-block: 6px; transition: border-color .2s; }
.text-link:hover { border-color: var(--led); }
.text-link svg { width: 16px; height: 16px; }
html[dir="rtl"] .text-link svg, html[dir="rtl"] .svc::after { transform: scaleX(-1); }

/* Hero: three bays under three light bars */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; background: var(--studio); }
.bays { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; gap: 2px; z-index: -2; }
.bay { position: relative; overflow: hidden; background: var(--bay); }
.bay:nth-child(n+2) { display: none; }
.bay img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ease), transform 4.5s linear;
}
.bay img.is-on { opacity: 1; transform: scale(1); }
.hero.is-yours .bay img.is-on { opacity: .28; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, var(--studio) 6%, rgba(6, 7, 8, .82) 32%, rgba(6, 7, 8, .1) 62%, rgba(6, 7, 8, .55) 100%);
}
.leds { position: absolute; top: calc(var(--top-h) + 10px); inset-inline: var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; z-index: 1; pointer-events: none; }
.leds span { height: 3px; background: var(--led); box-shadow: var(--led-glow); opacity: .08; }
.hero.is-yours .leds span { box-shadow: 0 0 18px rgba(234, 242, 255, .8), 0 0 60px rgba(120, 160, 230, .45); }
.hero-copy { position: absolute; inset-inline: var(--gutter); bottom: max(28px, env(safe-area-inset-bottom)); max-width: 760px; }
.hero-car {
  display: flex; align-items: center; gap: 12px; min-height: 1.6em; margin-bottom: 14px;
  font: 800 13px/1.2 var(--f-latin-display); letter-spacing: .16em; text-transform: uppercase; color: var(--led);
}
html[lang="ar"] .hero-car.is-ar { font: 400 17px/1.4 "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; }
.hero-car::before { content: ""; width: 28px; height: 2px; background: var(--led); box-shadow: var(--led-glow); flex: none; }
.hero h1 { font-size: clamp(48px, 12.5vw, 100px); line-height: 1.22; }
html[lang="en"] .hero h1 { font-size: clamp(34px, 8.6vw, 112px); line-height: .98; }
.hero-sub { max-width: 40ch; margin-block: 16px 24px; font-size: 16px; color: #c9ced6; }
@media (min-width: 768px) {
  .hero-sub { font-size: 18px; }
  .hero-copy { bottom: 56px; }
}
@media (min-width: 1024px) {
  .bays { grid-template-columns: repeat(3, 1fr); }
  .bay:nth-child(n+2) { display: block; }
  .leds { gap: 2px; inset-inline: 0; }
  .leds span { width: 46%; justify-self: center; }
}

/* Proof band */
.proof { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--hairline); }
.proof-item { padding: 24px var(--gutter); }
.proof-item:nth-child(odd) { border-inline-end: 1px solid var(--hairline); }
.proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
.proof-big { display: flex; align-items: center; gap: 8px; color: var(--ink); font: 800 clamp(28px, 4vw, 48px)/1.1 var(--f-latin-display); }
.proof-big .star { width: .7em; height: .7em; color: var(--led); }
.proof-word { font-size: clamp(20px, 2.6vw, 30px); }
html[lang="ar"] .proof-word[data-i18n] { font-family: "Kufam", sans-serif; line-height: 1.5; }
.proof-small { margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .proof { grid-template-columns: repeat(4, 1fr); }
  .proof-item { border-bottom: 0 !important; border-inline-end: 1px solid var(--hairline); }
  .proof-item:last-child { border-inline-end: 0; }
}

/* Work orders */
.work { padding: 88px var(--gutter) 96px; }
.work-head { max-width: 880px; }
.work-head p { max-width: 62ch; }
.work h2, .services h2, .reviews h2 { font-size: clamp(32px, 5.2vw, 64px); line-height: 1.3; }
html[lang="en"] .work h2, html[lang="en"] .services h2, html[lang="en"] .reviews h2 { line-height: 1.02; }
.work-head p { margin-top: 16px; font-size: 17px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 26px calc(var(--gutter) * -1) 18px; padding: 6px var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: none; height: 42px; padding-inline: 18px; background: transparent; color: var(--body);
  border: 1px solid var(--hairline-2); font-size: 14px; transition: background-color .2s, color .2s, border-color .2s;
}
.chips button:hover { color: var(--ink); border-color: var(--body); }
.chips button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .tickets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.ticket { position: relative; background: var(--bay); display: flex; flex-direction: column; }
.ticket[hidden] { display: none; }
.ticket::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px; z-index: 1; background: var(--led); box-shadow: var(--led-glow);
  transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .5s var(--ease);
}
html[dir="rtl"] .ticket::before { --origin: right; }
.ticket:hover::before, .ticket:focus-within::before { transform: scaleX(1); }
.ticket figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bay-2); }
.ticket img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ticket:hover img { transform: scale(1.04); }
.ticket-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 16px; flex: 1; }
html[dir="rtl"] .ticket-car, html[dir="rtl"] .gbay-car { text-align: right; }
.ticket-car { color: var(--ink); font: 600 15px/1.35 "IBM Plex Sans", sans-serif; overflow-wrap: anywhere; }
.ticket-svc { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.5; color: var(--body); overflow-wrap: anywhere; }
html[lang="en"] .ticket-svc { font: 500 11px/1.6 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.ticket-meta { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--hairline); font: 500 11px/1 var(--f-mono); color: var(--muted); letter-spacing: .06em; }
html[lang="ar"] .ticket-meta time { font: 400 12px/1 "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; }
.ticket-meta a { display: grid; place-items: center; width: 32px; height: 32px; margin: -8px -6px -8px 0; color: var(--body); }
.ticket-meta a:hover { color: var(--ink); }
.ticket-meta svg { width: 16px; height: 16px; }
@media (min-width: 768px) { .ticket-car { font-size: 17px; } .ticket-body { padding: 18px 18px 20px; } }
.noscript { margin-top: 24px; }

/* Services */
.services { padding: 88px var(--gutter); border-top: 1px solid var(--hairline); }
.svc-groups { display: grid; gap: 48px; margin-top: 44px; }
@media (min-width: 900px) { .svc-groups { grid-template-columns: 1fr 1fr; gap: 64px; } }
.svc-group { position: relative; border-top: 1px solid var(--hairline-2); padding-top: 24px; }
.svc-group::before { content: ""; position: absolute; top: -2px; inset-inline-start: 0; width: 72px; height: 3px; background: var(--led); box-shadow: var(--led-glow); }
.svc-group h3 { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
html[lang="ar"] .svc-group h3 { font: 400 15px/1.4 "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; }
.svc { position: relative; display: grid; gap: 6px; padding-block: 22px; padding-inline-end: 36px; border-bottom: 1px solid var(--hairline); }
.svc::after {
  content: ""; position: absolute; inset-inline-end: 4px; top: 28px; width: 16px; height: 16px; background: var(--body);
  -webkit-mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat;
  transition: background-color .2s;
}
.svc:last-child { border-bottom: 0; }
.svc-name { color: var(--ink); font: 800 clamp(22px, 2.4vw, 30px)/1.35 var(--f-display); transition: color .2s; }
html[lang="en"] .svc-name { text-transform: uppercase; line-height: 1.1; font-size: clamp(18px, 2vw, 24px); }
.svc-desc { max-width: 52ch; font-size: 15px; }
.svc:hover .svc-name { color: var(--led); }
.svc:hover::after { background-color: var(--led); }

/* F1 showpiece */
.f1 { position: relative; min-height: 92svh; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.f1-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.f1::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, var(--studio) 4%, rgba(6, 7, 8, .55) 38%, rgba(6, 7, 8, .15) 70%, rgba(6, 7, 8, .6)); }
.sweep {
  position: absolute; inset: -10% -40%; z-index: -1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(100deg, transparent 42%, rgba(234, 242, 255, .14) 49%, rgba(234, 242, 255, .22) 50%, rgba(234, 242, 255, .14) 51%, transparent 58%);
  transform: translateX(-35%);
}
.f1-copy { padding: 0 var(--gutter) 64px; max-width: 900px; }
.f1 h2 { font-size: clamp(42px, 10vw, 124px); line-height: 1.25; }
html[lang="en"] .f1 h2 { font-size: clamp(36px, 8vw, 112px); line-height: 1; }
.f1-copy p { margin-block: 14px 22px; font-size: 18px; color: #c9ced6; }

/* Reviews */
.reviews { padding: 96px 0; border-top: 1px solid var(--hairline); }
.reviews h2, .reviews > .text-link { margin-inline: var(--gutter); }
.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 380px); gap: 12px;
  margin-block: 40px 32px; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--hairline-2) transparent; overscroll-behavior-x: contain;
}
.review { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--bay); min-height: 260px; }
.review-stars { display: flex; gap: 3px; color: var(--led); }
.review-stars svg { width: 14px; height: 14px; }
.review-text { color: var(--ink); font-size: 19px; line-height: 1.55; }
.review-text[lang="en"] { font-family: "IBM Plex Sans", sans-serif; }
.review-tr { font-size: 14px; color: var(--muted); }
.review-by { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 14px; }
.review-by b { color: var(--ink); font-weight: 600; }
.review-by span { font: 500 11px/1.8 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .review-by span { font: 400 13px/1.6 "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; text-transform: none; }

/* Visit */
.visit { display: grid; border-top: 1px solid var(--hairline); }
.visit-shop { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bay); }
.visit-shop img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
.visit-info { padding: 56px var(--gutter); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.visit h2 { font-size: clamp(40px, 9vw, 72px); line-height: 1.25; }
@media (min-width: 1024px) { .visit h2 { font-size: clamp(40px, 3.8vw, 60px); } }
html[lang="en"] .visit h2 { line-height: 1; }
.visit address { font-style: normal; display: grid; color: var(--ink); font-size: 17px; }
.visit address span:last-child { color: var(--body); }
.hours { display: grid; max-width: 420px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--hairline); }
.hours dt { color: var(--body); }
.hours dd { color: var(--ink); font-family: var(--f-mono); font-size: 14px; }
html[lang="ar"] .hours dd[data-i18n] { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 16px; }
.visit-map { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bay); }
.visit-map img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.visit-map:hover img { transform: scale(1.03); }
.map-attr { position: absolute; inset-block-end: 4px; inset-inline-end: 6px; font-size: 10px; line-height: 1; color: rgba(245, 247, 250, .45); pointer-events: none; }
.map-cta { position: absolute; inset-inline-start: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding-inline: 16px; background: rgba(6, 7, 8, .88); color: var(--ink); font-weight: 600; border: 1px solid var(--hairline-2); }
@media (min-width: 1024px) {
  .visit { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.25fr); min-height: 640px; }
  .visit-shop, .visit-map { aspect-ratio: auto; }
  .visit-info { padding: 64px 48px; }
}

/* Footer */
.foot { padding: 56px var(--gutter) 120px; border-top: 1px solid var(--hairline); display: grid; gap: 14px; justify-items: start; }
.foot-logo { width: 170px; height: auto; }
.foot-name { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--body); }
.foot-links a:hover { color: var(--ink); }
.foot-note { font-size: 13px; color: var(--muted); max-width: 70ch; }
@media (min-width: 900px) { .foot { padding-bottom: 56px; } }

/* Phone dock */
.dock {
  position: fixed; inset: auto 0 0; z-index: 15; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); background: rgba(6, 7, 8, .92);
  border-top: 1px solid var(--hairline); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.dock.is-on { transform: none; }
.dock .btn { height: 48px; }
@media (min-width: 900px) { .dock { display: none; } }

/* Reveal (only when JS and motion are on) */
.motion [data-reveal] { opacity: 0; transform: translateY(24px); }
.motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .bay img { transform: none; }
  .leds span { opacity: 1; }
  .sweep { display: none; }
}

/* ===== Studio layer: neon intro, garage wall, inspection light, kinetic type ===== */

/* Neon intro: only when intro-gate.js set html.intro-on; fades itself out even if studio.js never runs */
.intro { display: none; }
html.intro-on .intro {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; align-content: center; gap: 30px;
  background: var(--studio); animation: intro-out .45s var(--ease) 1.8s forwards;
}
html.intro-on.intro-skip .intro { animation: intro-out .25s ease forwards; }
.intro-crown { width: min(40vw, 190px); height: auto; overflow: visible; filter: drop-shadow(0 0 5px rgba(234, 242, 255, .85)) drop-shadow(0 0 20px rgba(90, 140, 230, .6)); }
.intro-crown path { fill: none; stroke: var(--led); stroke-width: 2.6; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; animation: intro-draw .95s var(--ease) .15s forwards; }
.intro-word { width: min(72vw, 430px); height: auto; opacity: 0; filter: drop-shadow(0 0 10px rgba(120, 160, 230, .55)); animation: intro-flicker .75s steps(1, end) .8s forwards; }
.intro-leds { display: flex; gap: 14px; }
.intro-leds span { width: min(17vw, 110px); height: 3px; background: var(--led); box-shadow: var(--led-glow); opacity: .06; animation: intro-led .22s ease-out forwards; }
.intro-leds span:nth-child(1) { animation-delay: 1.2s; }
.intro-leds span:nth-child(2) { animation-delay: 1.34s; }
.intro-leds span:nth-child(3) { animation-delay: 1.48s; }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-flicker { 0% { opacity: .85; } 12% { opacity: .1; } 24% { opacity: 1; } 38% { opacity: .2; } 52%, 100% { opacity: 1; } }
@keyframes intro-led { to { opacity: 1; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* Garage wall: a swipe rail by default; pinned sideways pan on desktop (studio.js adds .is-pinned) */
.garage { position: relative; padding-block: 88px 64px; border-top: 1px solid var(--hairline); overflow: clip; }
.garage-head { padding-inline: var(--gutter); margin-bottom: 32px; }
.garage h2 { font-size: clamp(32px, 5.2vw, 64px); line-height: 1.3; }
html[lang="en"] .garage h2 { line-height: 1.02; }
.garage-track {
  display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
}
.garage-track::-webkit-scrollbar { display: none; }
.gbay { flex: 0 0 min(82vw, 420px); scroll-snap-align: start; display: grid; grid-template-rows: 3px auto auto; background: var(--bay); }
.gbay-led { height: 3px; background: var(--led); opacity: .12; transition: opacity .5s var(--ease), box-shadow .5s var(--ease); }
.gbay.is-on .gbay-led { opacity: 1; box-shadow: var(--led-glow); }
.gbay figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bay-2); }
.gbay img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); filter: brightness(.82); transition: transform 1.2s var(--ease), filter 1.2s var(--ease); }
.gbay.is-on img { transform: scale(1); filter: none; }
.gbay-info { display: grid; gap: 10px; padding: 18px 20px 22px; }
.gbay-car { display: inline-block; justify-self: start; color: var(--ink); font: 800 clamp(22px, 2.3vw, 34px)/1.05 var(--f-latin-display); text-transform: uppercase; letter-spacing: -.01em; will-change: transform; }
.gbay-svc { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--body); }
html[lang="en"] .gbay-svc { font: 500 11px/1.7 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
@media (min-width: 1024px) {
  .garage.is-pinned { height: 100vh; padding-block: calc(var(--top-h) + 24px) 28px; display: grid; grid-template-rows: auto minmax(0, 1fr); }
  .garage.is-pinned .garage-head { margin-bottom: 24px; }
  .garage.is-pinned .garage-track { overflow: visible; scroll-snap-type: none; height: 100%; width: max-content; }
  .garage.is-pinned .gbay { flex: 0 0 clamp(320px, calc((100vh - 330px) * .8), 520px); grid-template-rows: 3px minmax(0, 1fr) 132px; height: 100%; }
  .garage.is-pinned .gbay-info { align-content: start; }
  .garage.is-pinned .gbay figure { aspect-ratio: auto; height: 100%; }
}

/* Inspection light: a soft lamp that follows the pointer over paint */
.lit { position: relative; isolation: isolate; }
.lit::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
  opacity: var(--la, 0); transition: opacity .45s var(--ease);
  background:
    radial-gradient(ellipse 120px 90px at var(--lx, 50%) var(--ly, 40%), rgba(248, 251, 255, .75), rgba(248, 251, 255, .18) 45%, transparent 72%),
    radial-gradient(ellipse 380px 260px at var(--lx, 50%) var(--ly, 40%), rgba(150, 185, 245, .28), transparent 70%);
}
.f1.lit::after { z-index: -1; }

/* Kinetic headlines: SplitText word masks */
.sw { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .lit::after { display: none; }
  .gbay img { transform: none; filter: none; }
}

/* ===== Cinematic layer: "Under the light" reveal ===== */
.reveal { position: relative; border-top: 1px solid var(--hairline); background: var(--studio); }
.reveal-stage { position: relative; display: grid; min-height: 100svh; overflow: hidden; }
.reveal-canvas { display: block; width: 100%; height: min(133vw, 100svh); background: url(assets/reveal/s-052.webp) center / cover no-repeat; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.reveal-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, var(--studio) 4%, rgba(6, 7, 8, .55) 30%, transparent 55%); }
.reveal-copy { position: absolute; inset-inline: var(--gutter); bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 1; display: grid; gap: 4px; }
.beat { color: var(--ink); font: 800 clamp(40px, 11vw, 120px)/1.2 var(--f-display); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html[lang="en"] .beat { text-transform: uppercase; line-height: 1; letter-spacing: -.01em; font-size: clamp(34px, 9vw, 104px); }
.reveal.is-scrub .beat { opacity: .12; transform: translateY(10px); }
.reveal.is-scrub .beat.is-lit { opacity: 1; transform: none; }
.reveal-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (min-width: 1024px) {
  .reveal-stage { grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 100vh; }
  .reveal-canvas { height: 100vh; width: 75vh; justify-self: end; grid-column: 2; grid-row: 1;
    -webkit-mask-image: linear-gradient(to left, #000 78%, transparent); mask-image: linear-gradient(to left, #000 78%, transparent); }
  html[dir="rtl"] .reveal-canvas { -webkit-mask-image: linear-gradient(to right, #000 78%, transparent); mask-image: linear-gradient(to right, #000 78%, transparent); }
  .beat { font-size: clamp(48px, 5.6vw, 96px); white-space: nowrap; }
  html[lang="en"] .beat { font-size: min(4.2vw, 72px); }
  html[dir="rtl"] .reveal-canvas { justify-self: start; }
  .reveal-stage::after { background: radial-gradient(ellipse 60% 80% at 75% 50%, transparent 40%, var(--studio) 78%); }
  html[dir="rtl"] .reveal-stage::after { background: radial-gradient(ellipse 60% 80% at 25% 50%, transparent 40%, var(--studio) 78%); }
  .reveal-canvas { background-image: url(assets/reveal/l-083.webp); }
  .reveal-copy { position: relative; inset: auto; bottom: auto; grid-column: 1; grid-row: 1; padding-inline: var(--gutter); align-self: center; }
}
