/* Cars Space — cinematic dark interface (original design) */
@font-face { font-family: "Readex"; src: url(../fonts/readex-arabic.woff2) format("woff2"); font-weight: 200 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Readex"; src: url(../fonts/readex-latin.woff2) format("woff2"); font-weight: 200 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f3f2ee; --bg2: #ffffff; --ink: #16191c; --muted: #5f656c; --line: rgba(20,22,25,.12);
  --red: #bc2a2a; --red-deep: #8F1014; --glow: #bc2a2a; --wa: #1a8a4a;
  --pad: clamp(18px, 5vw, 64px); --max: 1280px;
  --ease: cubic-bezier(.2,.7,.1,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "Readex", system-ui, "Segoe UI", Tahoma, sans-serif; font-size: 17px; line-height: 1.75; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

/* stage */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
.gl-ready #gl { opacity: 1; }
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(225,224,219,.7) 100%); }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(70% 60% at 85% 10%, rgba(188,42,42,.07), transparent 70%), radial-gradient(60% 50% at 10% 90%, rgba(22,25,28,.05), transparent 70%); }
.nogl-only { display: none; }
.no-gl .nogl-only { display: block; }
.nogl-img { margin: 24px 0 0; border-radius: 20px; overflow: hidden; }
.nogl-img img { width: 100%; height: auto; }
main, .site-head, footer { position: relative; z-index: 2; }

/* header */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px var(--pad); transition: background .4s, backdrop-filter .4s; }
.scrolled .site-head { background: linear-gradient(180deg, rgba(243,242,238,.92), rgba(243,242,238,0)); }
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; transition: opacity .5s, transform .5s; }
.head-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { appearance: none; border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--ink); height: 44px; padding: 0 16px; border-radius: 99px; font: inherit; font-size: 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; backdrop-filter: blur(8px); }
.menu-btn i { width: 18px; height: 8px; position: relative; display: block; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { top: 6.5px; }
.menu-open .menu-btn i::before { top: 3.25px; transform: rotate(45deg); }
.menu-open .menu-btn i::after { top: 3.25px; transform: rotate(-45deg); }
.wa-mini { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); }
.wa-mini svg { width: 22px; height: 22px; fill: #fff; }
.menu-btn:hover { border-color: var(--ink); }

/* overlay menu */
.menu { position: fixed; inset: 0; z-index: 25; background: rgba(243,242,238,.97); backdrop-filter: blur(16px); display: flex; flex-direction: column; justify-content: center; padding: 90px var(--pad) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { counter-increment: m; overflow: hidden; border-bottom: 1px solid var(--line); }
.menu li a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; font-size: clamp(28px, 6.4vw, 64px); font-weight: 600; line-height: 1.3; transform: translateY(105%); transition: transform .8s var(--ease), color .3s; }
.menu li a::before { content: "0" counter(m); font-size: 13px; color: var(--muted); font-weight: 400; direction: ltr; }
.menu li a:hover, .menu li a[aria-current] { color: var(--glow); }
.menu-open .menu li a { transform: none; }
.menu-open .menu li:nth-child(2) a { transition-delay: .05s; } .menu-open .menu li:nth-child(3) a { transition-delay: .1s; }
.menu-open .menu li:nth-child(4) a { transition-delay: .15s; } .menu-open .menu li:nth-child(5) a { transition-delay: .2s; }
.menu-open .menu li:nth-child(6) a { transition-delay: .25s; } .menu-open .menu li:nth-child(7) a { transition-delay: .3s; }
.menu .menu-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.menu .menu-foot a:hover { color: var(--ink); }

/* layout */
.sec { position: relative; min-height: 100vh; min-height: 100svh; padding: 120px var(--pad) 90px; display: flex; align-items: center; }
.sec.auto { min-height: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; }
.col { max-width: 640px; }
.sec[data-pos="left"] .col { margin-inline-start: 0; }          /* RTL: text on the right, shape on the left */
.sec[data-pos="right"] .col { margin-inline-start: auto; }
.center { text-align: center; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .04em; color: var(--muted); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 14px var(--glow); }
.num { font-size: 13px; color: var(--muted); direction: ltr; display: inline-block; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.22; letter-spacing: -.005em; }
.display { font-size: clamp(40px, 9.2vw, 112px); line-height: 1.12; }
.h2 { font-size: clamp(30px, 5.6vw, 68px); }
.h3 { font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; }
.lead { font-size: clamp(17px, 1.7vw, 21px); color: #3b4046; max-width: 60ch; margin: 22px 0 0; }
p { margin: 14px 0 0; }
.muted { color: var(--muted); }
.glow { color: var(--glow); }
.hero h1, .hero .lead { text-shadow: 0 1px 22px rgba(243,242,238,.95); }
.sec.hero { align-items: flex-end; padding-bottom: 9vh; }
.hero .display { font-size: clamp(30px, 4.6vw, 62px); }
.hero-logo { width: min(86vw, 600px); margin: 0 auto 28px; }
.hero .wrap { text-align: center; position: relative; }
.hero .wrap::before { content: ""; position: absolute; inset: -6% 8% -10%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(243,242,238,.85), rgba(243,242,238,.5) 60%, transparent); }
.hero .lead { margin-inline: auto; }
.scroll-cue { position: absolute; bottom: 26px; inset-inline: 0; margin: auto; width: max-content; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--ink), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* panels for readability over particles */
.panel { background: rgba(255,255,255,.74); box-shadow: 0 20px 60px rgba(22,25,28,.08); border: 1px solid rgba(255,255,255,.9); border-radius: 22px; padding: clamp(22px, 3.4vw, 40px); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero .actions { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 99px; font-weight: 600; font-size: 16px; background: var(--ink); color: #fff; transition: transform .35s var(--ease), background .3s, color .3s; will-change: transform; }
.btn:hover { background: #2c3136; }
.btn.ghost { background: rgba(255,255,255,.55); color: var(--ink); border: 1px solid rgba(22,25,28,.22); }
.btn.ghost:hover { border-color: var(--ink); background: #fff; }
.btn.red { background: var(--red); color: #fff; } .btn.red:hover { background: var(--red-deep); }
.btn.wa { background: var(--wa); color: #fff; }
.btn svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.arrow { display: inline-block; transition: transform .4s var(--ease); }
a:hover .arrow { transform: translateX(-6px); }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .12s; } .js [data-reveal="3"] { transition-delay: .24s; } .js [data-reveal="4"] { transition-delay: .36s; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(115%); transition: transform 1.05s var(--ease); }
.js [data-split].in .w > span { transform: none; }

/* home: principles + department teasers */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.principles div { border-top: 1px solid var(--line); padding-top: 14px; }
.principles b { display: block; font-size: 17px; }
.principles span { color: var(--muted); font-size: 15px; }
blockquote { margin: 28px 0 0; padding: 0 18px; border-inline-start: 2px solid var(--glow); font-size: clamp(18px, 2vw, 23px); line-height: 1.7; color: #2a2e33; }
.dept .num { font-size: 14px; margin-bottom: 10px; }
.dept .tag { display: inline-block; font-size: 13px; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); margin-top: 18px; }

/* centres */
.centres { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 36px; }
.centre h3 { margin-bottom: 6px; }
.centre .where { color: var(--muted); font-size: 15px; }
.centre .phone { direction: ltr; display: inline-block; font-size: 22px; font-weight: 600; letter-spacing: .04em; margin-top: 10px; }
.centre .actions { margin-top: 18px; }
.centre .btn { min-height: 46px; padding: 0 18px; font-size: 15px; }

/* service page parts */
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 6px; border-radius: 50%; border: 1.5px solid var(--glow); background: radial-gradient(circle, var(--glow) 0 3px, transparent 4px); }
.stack { margin-top: 36px; display: grid; gap: 14px; }
.stack { max-width: 720px; }
.stack .card { position: sticky; top: calc(96px + var(--i) * 10px); background: linear-gradient(160deg, #ffffff, #f6f5f2); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: start; box-shadow: 0 -12px 34px rgba(22,25,28,.08); }
.stack .card .num { font-size: clamp(28px, 4vw, 48px); font-weight: 300; color: var(--glow); line-height: 1; grid-row: span 2; min-width: 2ch; }
.stack .card p { margin: 0; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: rgba(255,255,255,.75); backdrop-filter: blur(8px); position: relative; min-height: 130px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; direction: ltr; text-align: end; color: var(--glow); font-size: 13px; margin-bottom: 18px; }
.faq { margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; color: var(--glow); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: #3b4046; }
.gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-top: 30px; scrollbar-width: thin; }
.gallery figure { margin: 0; flex: 0 0 min(78vw, 420px); scroll-snap-align: start; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--bg2); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: transform 1.2s var(--ease), filter .6s; }
.gallery figure:hover img { transform: scale(1.05); filter: none; }
.loc { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); margin-top: 16px; font-size: 15px; }

/* marquee */
.marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: rgba(243,242,238,.8); }
.marquee div { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee span { font-size: clamp(26px, 5vw, 58px); font-weight: 700; white-space: nowrap; padding-inline: 26px; color: transparent; -webkit-text-stroke: 1px rgba(22,25,28,.35); }
.marquee span:nth-child(odd) { color: var(--ink); -webkit-text-stroke: 0; }
@keyframes mq { to { transform: translateX(50%); } }

/* sister sites */
.sisters { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 26px; }
.sisters a { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: #fff; transition: border-color .3s, background .3s; display: block; }
.sisters a:hover { border-color: rgba(188,42,42,.5); background: #fff8f7; }
.sisters b { display: block; font-size: 18px; }
.sisters span { color: var(--muted); font-size: 14px; }

/* prose pages */
.prose { max-width: 760px; }
.prose p { color: #3b4046; }
.official { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; margin-top: 22px; font-size: 15px; }
.official div { border-top: 1px solid var(--line); padding-top: 10px; }
.official span { display: block; color: var(--muted); font-size: 13px; }

/* footer */
footer { padding: 70px var(--pad) 30px; border-top: 1px solid var(--line); background: #fff; }
.foot-big { max-width: var(--max); margin: 0 auto 44px; }
.foot-big img { width: 100%; height: auto; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; max-width: var(--max); margin: 0 auto; font-size: 15px; }
.foot-grid h4 { margin: 0 0 10px; font-size: 13px; color: var(--muted); font-weight: 400; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a:hover { color: var(--glow); }
.legal { max-width: var(--max); margin: 36px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; }

/* chrome */
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 40; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--glow); transform-origin: right; transform: scaleX(0); }
.counter { position: fixed; bottom: 22px; inset-inline-end: var(--pad); z-index: 20; font-size: 12px; color: var(--muted); direction: ltr; pointer-events: none; }
.counter b { color: var(--ink); font-weight: 600; }
.sticky-cta { display: none; }

/* curtain transitions */
.curtain { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.curtain i { position: absolute; inset: 0; transform: scaleY(0); transform-origin: bottom; }
.curtain i:first-child { background: var(--red-deep); }
.curtain i:last-child { background: var(--bg); }
.js:not(.entered) .curtain i { transform: scaleY(1); transform-origin: top; }
.entered .curtain i { transition: transform .9s var(--ease); }
.entered .curtain i:first-child { transition-delay: .12s; }
.leaving .curtain i { transform: scaleY(1); transform-origin: bottom; transition: transform .6s var(--ease); }
.leaving .curtain i:last-child { transition-delay: .1s; }

/* cursor */
.cursor { position: fixed; top: 0; left: 0; z-index: 70; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor span { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(22,25,28,.5); display: grid; place-items: center; font-size: 11px; color: #000; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor.hover span { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(188,42,42,.1); border-color: transparent; }
.cursor.label span { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--red); color: #fff; }

/* mobile */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .sec { padding: 104px var(--pad) 70px; align-items: flex-end; }
  .sec[data-pos] { padding-top: 48svh; }
  .panel { background: rgba(255,255,255,.8); }
  .brand img { height: 28px; }
  .sec.hero { align-items: flex-end; padding-top: 52svh; padding-bottom: 96px; }
  .hero .scroll-cue { display: none; }
  .sec[data-pos] .col { margin-inline: 0; }
  .principles, .centres, .sisters { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .counter { display: none; }

  .stack .card { grid-template-columns: 1fr; top: calc(84px + var(--i) * 6px); }
  .stack .card .num { grid-row: auto; font-size: 26px; }
  .sticky-cta { display: flex; position: fixed; inset: auto 12px 12px 12px; z-index: 22; gap: 8px; padding: 8px; border-radius: 99px; background: rgba(255,255,255,.9); border: 1px solid var(--line); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(22,25,28,.12); transform: translateY(140%); transition: transform .5s var(--ease); }
  .scrolled .sticky-cta { transform: none; }
  .sticky-cta a { flex: 1; min-height: 46px; font-size: 15px; padding: 0 10px; }
  footer { padding-bottom: 96px; }
  .menu-btn span { display: none; }
  .menu-btn { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1; transform: none; }
}

/* a light sheet that rises over the scene (centres, long lists) */
.sheet { position: relative; z-index: 2; background: var(--bg); border-radius: 36px 36px 0 0; box-shadow: 0 -30px 60px rgba(22,25,28,.06); }
.photo-cap { max-width: 420px; }
.photo-cap .h3 { margin-top: 6px; }

/* Google reviews: two drifting rows */
.reviews { overflow: hidden; display: block; }
.badge { min-width: 220px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.badge { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 18px; }
.badge b { grid-row: span 2; font-size: 34px; line-height: 1; }
.badge span { color: #e0a100; letter-spacing: 2px; }
.badge small { color: var(--muted); }
.rv-row { margin-top: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv-row > div { display: flex; gap: 14px; width: max-content; animation: mq 70s linear infinite; }
.rv-row.rev > div { animation-direction: reverse; animation-duration: 85s; }
.rv-row:hover > div { animation-play-state: paused; }
.rv { flex: 0 0 300px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease), box-shadow .4s; }
.rv:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(22,25,28,.08); }
.rv .st { color: #e0a100; letter-spacing: 2px; font-size: 14px; }
.rv p { margin: 0; font-size: 15px; line-height: 1.7; color: #2c3136; flex: 1; }
.rv b { font-size: 14px; }
.rv small { color: var(--muted); font-size: 12px; }

/* certificate pill in the hero */
.cert-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 99px; background: rgba(255,255,255,.85); border: 1px solid var(--line); font-size: 13.5px; margin: 0 0 14px; box-shadow: 0 8px 24px rgba(22,25,28,.06); transition: transform .4s var(--ease), box-shadow .4s; }
.cert-pill:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22,25,28,.1); }
.cert-pill .stars { color: #0f8a6a; letter-spacing: 1px; }
.cert-pill b { font-weight: 600; }
.cert-pill small { color: var(--muted); direction: ltr; }
.hero-cert { width: min(70vw, 340px); margin: 0 auto 20px; border-radius: 12px; box-shadow: 0 10px 30px rgba(22,25,28,.12); }
/* button micro-interaction: a light sweep on hover/press */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: -2px; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); pointer-events: none; }
.btn:hover::after, .btn:active::after { transform: translateX(120%); }
.btn:active { transform: scale(.97); }

/* home hero backdrop: the live slideshow photos behind the particle logo */
.hero-photos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; transform-origin: 50% 45%; will-change: transform, opacity; }
.hero-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-photos img.on { opacity: 1; animation: kenburns 9s linear both; }
.hero-photos::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(243,242,238,.94), rgba(243,242,238,.82) 16%, rgba(243,242,238,.48) 26%, rgba(243,242,238,0) 35%), linear-gradient(to top, rgba(243,242,238,.97), rgba(243,242,238,.9) 15%, rgba(243,242,238,.6) 23%, rgba(243,242,238,0) 31%); }   /* round 6: only the top and bottom edges are softened, the middle of the photo is left untouched */
@media (max-width: 820px) { .hero-photos::after { background: linear-gradient(to bottom, rgba(243,242,238,.94), rgba(243,242,238,.82) 14%, rgba(243,242,238,.45) 24%, rgba(243,242,238,0) 34%), linear-gradient(to top, rgba(243,242,238,.9), rgba(243,242,238,0) 9%); } }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.16) translate3d(-1.5%,-1%,0); } }
@media (prefers-reduced-motion: reduce) { .hero-photos img.on { animation: none; } }
.showroom .panel.slim { max-width: 320px; }
.showroom { min-height: 120vh; }
@media (max-width: 820px) { .showroom { min-height: 115svh; } }

/* opening intro: certificate from particles on black (home, once per session) */
html.intro body { overflow: hidden; }
html.intro::after { content: ""; position: fixed; inset: 0; z-index: 89; background: #0b0c0d; }
.intro-screen { position: fixed; inset: 0; z-index: 95; background: #0b0c0d; transition: background .7s var(--ease), opacity .8s var(--ease); cursor: pointer; }
.intro-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-screen.fade { background: rgba(11,12,13,0); }
.intro-screen.out { opacity: 0; pointer-events: none; }
.intro-cap { position: absolute; inset: auto 16px 9vh; text-align: center; color: #e9e7e1; font-size: clamp(13px, 1.6vw, 17px); letter-spacing: .02em; opacity: 0; }
.intro-skip { position: absolute; top: 18px; inset-inline-start: 18px; background: rgba(255,255,255,.08); color: #e9e7e1; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; padding: 8px 16px; font: inherit; font-size: 13px; cursor: pointer; }
.intro-screen.fade .intro-skip { opacity: 0; transition: opacity .4s; }

/* workshop film: sticky frame that opens edge to edge as you scroll */
.film { position: relative; z-index: 2; height: 210vh; }
.film-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film-frame { position: absolute; inset: 0; background: #0b0c0d; clip-path: inset(14% 14% round 28px); will-change: clip-path; }
.film-frame video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(calc(1.12 - var(--fp, 0) * .12)); }
.film-cap { position: absolute; inset: auto 0 0 0; padding: 40px var(--pad) 9vh; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); opacity: var(--fp, 1); }
.film-cap .eyebrow { color: rgba(255,255,255,.8); }
.film-cap .h2 { color: #fff; }
@media (prefers-reduced-motion: reduce) { .film { height: auto; } .film-stick { position: relative; height: 80vh; } .film-frame { clip-path: none; } }
@media (max-width: 820px) { .film-cap { padding-bottom: 120px; } }

/* inspection booklet */
.bk { max-width: 980px; display: grid; gap: 22px; }
.bk-bar { position: sticky; top: 76px; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 99px; background: rgba(255,255,255,.9); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(22,25,28,.06); }
.bk-meter { flex: 1; height: 6px; border-radius: 6px; background: rgba(22,25,28,.08); overflow: hidden; }
.bk-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--red-deep)); transform-origin: right; transform: scaleX(0); transition: transform .6s var(--ease); }
.bk-count { font-size: 14px; font-weight: 600; direction: ltr; min-width: 52px; text-align: center; }
.bk-form { display: grid; gap: 22px; }
.bk-group { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.bk-group legend { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; margin-bottom: 12px; display: flex; gap: 12px; align-items: baseline; }
.bk-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: center; transition: border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
.bk-item::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: transparent; transition: background .3s; }
.bk-item[data-state="ok"]::before { background: #1f8a4c; }
.bk-item[data-state="shop"]::before { background: var(--red); }
.bk-item[data-state="na"]::before { background: #9aa0a6; }
.bk-item[data-state="shop"] { box-shadow: 0 10px 30px rgba(188,42,42,.08); }
.bk-head h3 { margin: 0; font-size: 17px; }
.bk-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.bk-states { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-states label { position: relative; cursor: pointer; }
.bk-states input { position: absolute; opacity: 0; inset: 0; }
.bk-states span { display: inline-block; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; transition: background .25s, color .25s, border-color .25s; }
.bk-states input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.bk-states input[value="ok"]:checked + span { background: #1f8a4c; border-color: #1f8a4c; }
.bk-states input[value="shop"]:checked + span { background: var(--red); border-color: var(--red); }
.bk-states input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.bk-note { grid-column: 1 / -1; }
.bk-note summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.bk-note textarea, .bk-name input { width: 100%; margin-top: 8px; font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.bk-sum { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.bk-sum .warn { color: var(--red-deep); font-weight: 600; }
.bk-name { display: grid; font-size: 14px; }
.bk-saved { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.bk-saved li { display: flex; gap: 8px; }
.bk-open, .bk-del { font: inherit; font-size: 14px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.bk-open { flex: 1; text-align: start; }
.bk-del { color: var(--red-deep); }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 22px; }
.tool { display: grid; gap: 8px; text-decoration: none; color: inherit; transition: transform .4s var(--ease); }
.tool:hover { transform: translateY(-4px); }
.tool b { font-size: 20px; }
.tool span:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .bk-item { grid-template-columns: 1fr; } .bk-bar { top: 68px; } }

/* fleet guide pages */
.beta { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; margin: 18px auto 0; padding: 8px 14px; border-radius: 99px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.75); border: 1px dashed rgba(188,42,42,.35); }
.beta b { color: var(--red-deep); }
.pillars { display: grid; gap: 22px; }
.pillars .h3 { margin: 6px 0 4px; }
.roles { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; }
.role { display: grid; gap: 8px; align-content: start; }
.role .badge { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 18px; }
.role:nth-of-type(2) .badge { background: var(--red); }
.role-arrow { align-self: center; font-style: normal; font-size: 26px; color: var(--red); }
@media (max-width: 820px) { .roles { grid-template-columns: 1fr; } .role-arrow { justify-self: center; transform: rotate(-90deg); } }

/* three centres (live structure since 30 Nov) */
.centres.three { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.centre { display: grid; gap: 10px; align-content: start; }
.centre-img { margin: calc(-1 * clamp(22px, 3.4vw, 40px)) calc(-1 * clamp(22px, 3.4vw, 40px)) 6px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px 22px 0 0; }
.centre-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.centre:hover .centre-img img { transform: scale(1.06); }
.centre .tip { font-size: 14px; color: var(--ink); background: var(--bg); border-radius: 12px; padding: 10px 12px; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; }
.ticks li { position: relative; padding-inline-start: 22px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(188,42,42,.12); }
.more { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--red-deep); text-decoration: none; }
.more:hover { text-decoration: underline; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.stats > * { background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 6px; text-decoration: none; color: inherit; }
.stats b { font-size: clamp(30px, 4vw, 46px); line-height: 1; direction: ltr; text-align: start; }
.stats b small { font-size: .45em; color: var(--muted); }
.stats span { font-size: 13px; color: var(--muted); }
.steps.four { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.soon { margin-top: 18px; } .soon .h3 { margin: 4px 0 6px; }

/* report explainer (live reader + workbook scripts, our styling) */
.pi-suite { max-width: 1120px; }
.pi-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.pi-side { display: grid; gap: 20px; position: sticky; top: 90px; }
.pi-card h2 { margin-top: 0; }
.pi-field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); margin: 12px 0; }
.pi-field input, .pi-field select, .pi-field textarea { font: inherit; font-size: 16px; color: var(--ink); padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); width: 100%; }
.pi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 12px; }
.pi-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pi-file-preview { max-width: 100%; border-radius: 12px; margin: 8px 0; }
#pi-extracted pre { white-space: pre-wrap; background: var(--bg); padding: 12px; border-radius: 12px; font-size: 13px; max-height: 260px; overflow: auto; }
#pi-findings > * { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 10px 0; }
#pi-history button, #pi-findings button { font: inherit; font-size: 14px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 12px; cursor: pointer; }
.pi-status { min-height: 1.4em; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .pi-body { grid-template-columns: 1fr; } .pi-side { position: static; } }

/* language switch */
.lang { display: inline-grid; place-items: center; height: 44px; min-width: 44px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; backdrop-filter: blur(8px); }
.lang:hover { background: #fff; }
[dir="ltr"] .bk-meter i { transform-origin: left; }

/* ---------- journey (creative round 2) ---------- */
.sec.tall { display: block; min-height: 260vh; padding: 0; }
.sec.tall > .stick { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px var(--pad) 80px; }
.sec.tall > .stick > .wrap { width: 100%; }
.sec.xray { min-height: 330vh; }
.sec.drive { min-height: 220vh; }
/* driver's seat: the windshield frames a screen with the three centres */
.cockpit { display: block; min-height: 190vh; padding: 0 var(--pad); }
.cockpit .ws { position: sticky; top: 17vh; margin-top: 17vh; }
.ws { width: min(760px, 74vw); margin-inline: auto; padding: 18px 20px 20px; border-radius: 18px; background: linear-gradient(160deg, rgba(20,24,29,.86), rgba(20,24,29,.7)); color: #eef1f4; box-shadow: 0 30px 80px rgba(10,12,14,.25), inset 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ws .eyebrow { color: rgba(238,241,244,.7); margin: 0 0 12px; }
.ws-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ws-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: inherit; text-decoration: none; transition: background .3s, transform .3s var(--ease); }
.ws-tile:hover, .ws-tile:focus-visible { background: rgba(188,42,42,.35); transform: translateY(-2px); }
.ws-tile .num { font-size: 12px; color: #ff8d86; letter-spacing: .08em; }
.ws-tile b { font-size: 16px; line-height: 1.4; font-weight: 600; }
.ws-tile small { font-size: 12.5px; color: rgba(238,241,244,.65); }
.ws-tile .go { position: absolute; inset-inline-end: 12px; bottom: 10px; opacity: .6; }
/* x-ray: the stage goes dark while the car turns transparent */
html, body { transition: background-color .8s var(--ease); }
html.stage-dark, html.stage-dark body { background-color: #0c1117; }
html.stage-dark .site-head { filter: invert(1) hue-rotate(180deg); }
.veil, body::before { transition: opacity .8s; }
html.stage-dark .veil, html.stage-dark body::before { opacity: 0; }
.xray .panel { background: rgba(14,20,27,.72); border-color: rgba(140,180,220,.16); color: #e7eef5; box-shadow: none; }
.xray .panel .eyebrow { color: #8fb4da; }
.xr-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; counter-reset: xr; }
.xr-list li { counter-increment: xr; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; padding: 10px 12px; border-radius: 12px; opacity: .38; transition: opacity .45s, background .45s; }
.xr-list li::before { content: "0" attr(data-i); grid-row: span 2; font-size: 12px; color: #8fb4da; padding-top: 4px; }
.xr-list li b { font-weight: 600; }
.xr-list li span { font-size: 14px; color: rgba(231,238,245,.75); }
.xr-list li.on { opacity: 1; background: rgba(255,90,70,.12); }
.xr-list li.on::before { color: #ff6a55; }
/* journey rail */
.journey { position: fixed; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); z-index: 20; opacity: 0; transition: opacity .5s; pointer-events: none; }
.scrolled .journey { opacity: 1; pointer-events: auto; }
.journey ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.journey a { display: flex; align-items: center; gap: 10px; flex-direction: row-reverse; text-decoration: none; color: var(--ink); font-size: 12.5px; }
.journey i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .45; transition: all .35s var(--ease); flex: none; }
.journey span { opacity: 0; transform: translateX(-6px); transition: all .35s var(--ease); white-space: nowrap; background: rgba(255,255,255,.85); padding: 2px 10px; border-radius: 99px; }
.journey a:hover span, .journey li.on span { opacity: 1; transform: none; }
.journey li.on i { background: var(--red); border-color: var(--red); opacity: 1; transform: scale(1.25); }
html.stage-dark .journey a { color: #e7eef5; }
html.stage-dark .journey span { background: rgba(20,26,33,.85); }
@media (max-width: 820px) {
  .sec.tall { min-height: 230svh; }
  .sec.xray { min-height: 300svh; }
  .sec.drive { min-height: 200svh; }
  .sec.tall > .stick { position: relative; min-height: 0; padding: 0 var(--pad) 90px; }
  .sec.tall:not(.xray) { display: flex; align-items: flex-end; }
  .sec.xray > .stick { position: sticky; top: 0; height: 100svh; align-items: flex-end; padding-bottom: 92px; }
  .xr-list li { display: none; }
  .xr-list li.on { display: grid; }
  .xray .panel .h2 { font-size: 22px; }
  .cockpit { min-height: 170svh; }
  .cockpit .ws { top: 14svh; margin-top: 14svh; }
  .ws { width: 100%; padding: 14px; }
  .ws-tiles { grid-template-columns: 1fr; gap: 8px; }
  .ws-tile { padding: 11px 12px; }
  .journey { inset-inline-end: 8px; }
  .journey ol { gap: 10px; }
  .journey span { font-size: 11px; }
  .journey a:hover span { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sec.tall, .sec.xray, .sec.drive { min-height: 0; } .sec.tall > .stick { position: relative; } .xr-list li { opacity: 1; display: grid; } }
html.no-gl .sec.tall, html.no-gl .sec.xray, html.no-gl .sec.drive { min-height: 0; }
html.no-gl .sec.tall > .stick { position: relative; }
html.no-gl .xr-list li { opacity: 1; display: grid; }

/* workshop lamp */
.lamp { position: fixed; inset: 0; z-index: 25; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  --lx: 50vw; --ly: 50vh; --lr: clamp(90px, 16vmin, 170px);
  background: radial-gradient(circle at var(--lx) var(--ly), rgba(255,236,200,.24) 0, rgba(255,236,200,0) var(--lr)), radial-gradient(circle at var(--lx) var(--ly), transparent 0, transparent calc(var(--lr) * .75), rgba(10,12,15,.62) calc(var(--lr) * 2.2), rgba(10,12,15,.72) 100%); }
.lamp.on { opacity: 1; }
html.stage-dark .lamp { background: radial-gradient(circle at var(--lx) var(--ly), rgba(255,230,190,.2) 0, rgba(255,230,190,0) var(--lr)), radial-gradient(circle at var(--lx) var(--ly), transparent 0, transparent calc(var(--lr) * .8), rgba(0,0,0,.45) calc(var(--lr) * 2.4)); }
@media (prefers-reduced-motion: reduce) { .lamp { transition: none; } }

/* before / after */
.ba-sec .wrap { max-width: 980px; }
.ba { --p: 50%; position: relative; margin-top: 22px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #ddd; box-shadow: 0 24px 60px rgba(22,25,28,.14); direction: ltr; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba .ba-before.ph { filter: grayscale(1) contrast(1.15) brightness(.82) sepia(.25); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.ba-handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 18px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ba input:focus-visible ~ .ba-handle::after { outline: 3px solid var(--red); outline-offset: 2px; }
.ba-tag { position: absolute; top: 14px; padding: 4px 12px; border-radius: 99px; background: rgba(15,17,20,.7); color: #fff; font-size: 13px; pointer-events: none; }
.ba-tag.b { left: 14px; } .ba-tag.a { right: 14px; }
.ba-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 820px) { .ba { aspect-ratio: 4 / 5; } }

.credit { max-width: var(--max); margin: 14px auto 0; font-size: 12px; color: var(--muted); }
.credit a { text-decoration: underline; }
/* round 3: the driving car is the one backdrop */

/* round 3: header capsule — one glass pill, a dark highlight glides to the item under the pointer, the menu label folds away while you scroll down */
.head-actions { position: relative; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.62); border: 1px solid rgba(20,22,25,.08); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 32px -16px rgba(22,25,28,.35); }
.head-actions .hx { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--hw, 40px); border-radius: 99px; background: var(--ink); transform: translateX(var(--hx, 0)); opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; pointer-events: none; }
.head-actions.hov .hx { opacity: 1; }
.head-actions > a, .head-actions > button { position: relative; z-index: 1; animation: hin .9s var(--ease) both; }
.head-actions > :nth-child(3) { animation-delay: .08s; } .head-actions > :nth-child(4) { animation-delay: .16s; }
@keyframes hin { from { opacity: 0; transform: translateY(-10px) scale(.9); } }
.head-actions .lang, .head-actions .menu-btn { border: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; height: 40px; min-width: 40px; transition: color .35s; letter-spacing: .02em; }
.head-actions .lang:hover, .head-actions .menu-btn:hover, .head-actions .menu-btn:focus-visible { background: transparent; color: #fff; }
.head-actions .wa-mini { width: 40px; height: 40px; animation: hin .9s var(--ease) both, waPulse 3.4s 1.5s infinite; }
.head-actions .wa-mini svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.head-actions .wa-mini:hover svg { transform: rotate(-12deg) scale(1.08); }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(26,138,74,.45); } 70%, 100% { box-shadow: 0 0 0 11px rgba(26,138,74,0); } }
.menu-btn span { display: inline-block; max-width: 90px; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease), opacity .35s; }
.head-fold .menu-btn span { max-width: 0; opacity: 0; }
.head-fold .menu-btn { gap: 0; }
.menu-btn i::before, .menu-btn i::after { transition: transform .45s var(--ease), top .45s var(--ease), width .45s var(--ease); }
.menu-btn:hover i::after { width: 60%; }
.menu-open .head-actions .menu-btn { color: #fff; }
.menu-open .head-actions .hx { opacity: 1; }
@media (max-width: 820px) { .head-actions .menu-btn span { display: none; } .head-actions .menu-btn { padding: 0 12px; } }

/* round 3: contact dock — a dark key-fob bar for the thumb: WhatsApp lit green, call with its number, a slow glint now and then */
.dock { display: none; }
@media (max-width: 820px) {
  .dock { display: flex; position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px; z-index: 22; align-items: stretch; padding: 6px; border-radius: 24px; background: rgba(22,25,28,.93); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 44px -14px rgba(22,25,28,.55), inset 0 0 0 1px rgba(255,255,255,.07); transform: translateY(170%); transition: transform .7s var(--ease); overflow: hidden; }
  .scrolled .dock { transform: none; }
  .dock::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.13) 50%, transparent 62%); transform: translateX(-130%); animation: dglint 7s 2.5s infinite; pointer-events: none; }
  @keyframes dglint { 0%, 78% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
  .dk { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 10px; border-radius: 18px; color: #fff; font-size: 15px; font-weight: 600; transition: background .3s, transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
  .dk:active { transform: scale(.96); background: rgba(255,255,255,.06); }
  .dk .ic { flex: none; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; }
  .dk.wa .ic { background: var(--wa); box-shadow: 0 8px 18px -6px rgba(26,138,74,.85); }
  .dk.call .ic { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
  .dk .ic svg { width: 20px; height: 20px; fill: #fff; }
  .dk .tx { display: grid; line-height: 1.15; }
  .dk small { font-weight: 400; font-size: 12px; opacity: .62; letter-spacing: .02em; }
  .dk-sep { flex: none; width: 1px; margin: 12px 4px; background: rgba(255,255,255,.14); }
  html.stage-dark .dock { background: rgba(243,242,238,.94); }
  html.stage-dark .dk { color: var(--ink); }
  html.stage-dark .dk.call .ic { background: rgba(22,25,28,.06); box-shadow: inset 0 0 0 1px rgba(22,25,28,.18); }
  html.stage-dark .dk.call .ic svg { fill: var(--ink); }
  html.stage-dark .dk-sep { background: rgba(22,25,28,.14); }
}
@media (prefers-reduced-motion: reduce) { .dock::after, .head-actions .wa-mini, .head-actions > * { animation: none !important; } }

/* round 3: cards — one "spec plate" language everywhere: soft plate, one sharp corner at the reading end, a red tab that grows on hover,
   a registration mark in the far corner, and a faint light that follows the pointer */
.panel, .stack .card, .stats > *, .card { border: 0; border-radius: 26px; border-end-end-radius: 6px;
  background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(188,42,42,.07), transparent 62%), linear-gradient(165deg, rgba(255,255,255,.95), rgba(248,247,244,.82));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.95), 0 0 0 1px rgba(20,22,25,.07), 0 34px 64px -36px rgba(22,25,28,.42), 0 2px 6px -2px rgba(22,25,28,.06);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.panel, .stats > * { position: relative; }
.panel::before, .stack .card::before, .stats > *::before { content: ""; position: absolute; top: 0; inset-inline-start: clamp(20px, 3vw, 38px); width: 30px; height: 3px; border-radius: 0 0 3px 3px; background: var(--red); transition: width .7s var(--ease); pointer-events: none; }
.panel::after, .stack .card::after, .stats > *::after { content: ""; position: absolute; top: 14px; inset-inline-end: 14px; width: 9px; height: 9px; pointer-events: none; opacity: .35;
  background: linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat; }
.centre-img { border-radius: 26px 26px 0 0; }
@media (hover: hover) and (pointer: fine) {
  .panel:hover, .stats > *:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.95), 0 0 0 1px rgba(20,22,25,.09), 0 44px 70px -38px rgba(22,25,28,.5), 0 2px 6px -2px rgba(22,25,28,.08); }
  .panel:hover::before, .stack .card:hover::before, .stats > *:hover::before { width: 76px; }
}
.xray .panel { background: rgba(14,20,27,.74); box-shadow: inset 0 0 0 1px rgba(140,180,220,.16), 0 34px 64px -36px rgba(0,0,0,.6); }
.xray .panel::after { background: linear-gradient(#cfe0f2, #cfe0f2) center / 1px 100% no-repeat, linear-gradient(#cfe0f2, #cfe0f2) center / 100% 1px no-repeat; }
.ws-tile { border-radius: 14px; border-end-end-radius: 4px; }

/* round 3: reactive logo — tilts with the pointer or the phone, glints with scrolling */
.logo-fx { position: relative; display: block; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--ty, 0px), 0) scale(var(--ls, 1)); will-change: transform; }
.logo-fx > img { position: relative; }
.logo-fx::after { content: ""; position: absolute; inset: 0; pointer-events: none; -webkit-mask: var(--logo) center / 100% 100% no-repeat; mask: var(--logo) center / 100% 100% no-repeat;
  background: linear-gradient(100deg, transparent calc(var(--sx, 50%) - 16%), rgba(255,255,255,.9) var(--sx, 50%), transparent calc(var(--sx, 50%) + 16%)); opacity: var(--so, 0); mix-blend-mode: screen; }
.logo-fx.hero-wrap { display: table; margin: 0 auto 28px; }
.logo-fx.hero-wrap .hero-logo { margin: 0; }
.brand .logo-fx { display: inline-block; }
.foot-big .logo-fx > img { width: 100%; height: auto; }
.hero-logo, .foot-big img, .brand img { image-rendering: -webkit-optimize-contrast; }
@media (prefers-reduced-motion: reduce) { .logo-fx { transform: none !important; } .logo-fx::after { display: none; } }

/* round 4: home only — the driving car has its own canvas above the photo engine; the photo engine fades itself in and out */
#drive { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
.drive-ready #drive { opacity: 1; }
.no-drive #drive { display: none; }
#gl[style*="opacity"] { transition: none; }

/* round 6: home first screen. Logo (points) and tagline at the top, buttons and the SASO badge at the bottom, the photos clear in between */
.sec.hero-home { align-items: stretch; padding-top: 25vh; padding-top: 25svh; padding-bottom: 24px; }
.hero-home .wrap { display: flex; flex-direction: column; }
.hero-home .wrap::before { display: none; }
.hero-home .hero-first { display: contents; }
.hero-home .hero-more { order: 1; margin-top: auto; padding-top: 30px; }
.hero-home .hero-more .eyebrow { margin-bottom: 2px; }
.hero-home .hero-bottom { order: 2; display: flex; flex-direction: column; align-items: center; }
.hero-home .display { font-size: clamp(27px, 3.3vw, 46px); text-shadow: 0 0 4px rgba(243,242,238,.9), 0 0 16px rgba(243,242,238,.95), 0 0 34px rgba(243,242,238,.85); }
.hero-home .display .w { overflow: visible; }
.js .hero-home [data-split] .w > span { opacity: 0; transform: translateY(60%); transition: transform 1.05s var(--ease), opacity .9s var(--ease); }
.js .hero-home [data-split].in .w > span { opacity: 1; transform: none; }
.hero-home .eyebrow { margin: 0 0 6px; color: #1d2024; text-shadow: 0 0 4px rgba(243,242,238,.95), 0 0 12px rgba(243,242,238,.95); }
.hero-home .lead { margin: 0 auto; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; color: #1d2024; max-width: 64ch; text-shadow: 0 0 4px rgba(243,242,238,.95), 0 0 14px rgba(243,242,238,.95), 0 0 26px rgba(243,242,238,.8); }
.hero-home .actions { margin-top: 14px; animation: heroUp 1s .35s var(--ease) both; }
.hero-home .btn.ghost { background: rgba(255,255,255,.92); }
.hero-home .cert-pill { margin: 14px 0 0; background: #fff; animation: heroUp 1s .5s var(--ease) both; }
.hero-home .scroll-cue { display: none; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } }
.no-gl .sec.hero-home { padding-top: 96px; }
.hero-home .hero-logo { height: auto; }
.no-gl .hero-home .hero-logo { width: min(70vw, 420px); margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .hero-home .actions, .hero-home .cert-pill { animation: none; } .js .hero-home [data-split] .w > span { opacity: 1; transform: none; } }
@media (max-width: 820px) {
  /* phone: the first screen holds only logo, tagline, buttons and badge; the intro paragraph follows right under it on a soft sheet */
  .sec.hero-home { display: block; min-height: 0; padding-top: 22.5vh; padding-top: 22.5svh; padding-bottom: 0; }
  .hero-home .wrap { display: block; }
  .hero-home .hero-first { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: calc(77.5vh - 14px); min-height: calc(77.5svh - 14px); }
  .hero-home .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: min(100%, 340px); margin-top: 0; }
  .hero-home .actions .btn { min-height: 46px; padding: 0 8px; font-size: clamp(12.5px, 3.7vw, 14.5px); white-space: nowrap; }
  .hero-home .actions .btn:first-child { grid-column: 1 / -1; }
  .hero-home .cert-pill { margin-top: 10px; font-size: clamp(11.5px, 3.4vw, 13.5px); line-height: 1.55; padding-block: 7px; }
  .hero-home .hero-more { position: relative; margin: 0; padding: 44px 0 36px; }
  .hero-home .hero-more::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * var(--pad)); background: linear-gradient(to bottom, rgba(243,242,238,0), rgba(243,242,238,.94) 34px, var(--bg) 70px); pointer-events: none; }
  .no-gl .hero-home .hero-first { min-height: 0; }
}

/* round 6: about. The forming photo fills the top of the screen (scene.js #big); the title starts right under it */
.sec.hero-about { align-items: flex-start; padding-top: calc(64vh + 26px); padding-top: calc(64svh + 26px); padding-bottom: 40px; }
.hero-about .wrap::before { display: none; }
.hero-about .scroll-cue { display: none; }
.hero-about .eyebrow { margin-bottom: 10px; animation: heroUp 1s .15s var(--ease) both; }
.hero-about .lead { margin-top: 14px; animation: heroUp 1s .4s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .hero-about .eyebrow, .hero-about .lead { animation: none; } }
.no-gl .sec.hero-about { padding-top: 120px; }
@media (max-width: 820px) { .sec.hero-about { padding-top: calc(64vh + 18px); padding-top: calc(64svh + 18px); padding-bottom: 28px; } }

/* r6 journey */
/* home, phones: room below the "three centres" card, so the car finishes forming in the open before the showroom photos */
@media (max-width: 820px) { .drive-gl #st-seat { min-height: 215vh; padding-bottom: 100vh; } }

/* r6 perf: a slow device (html.gl-lite, set by the engines) stops live-blurring the moving points behind cards; the cards turn a little more solid instead */
html.gl-lite .panel, html.gl-lite .steps li, html.gl-lite .ws { -webkit-backdrop-filter: none; backdrop-filter: none; }
html.gl-lite .panel { background: rgba(255,255,255,.9); }
html.gl-lite .xray .panel { background: rgba(14,20,27,.88); }
html.gl-lite .steps li { background: rgba(255,255,255,.92); }
