:root {
  /* Atelier Süber: monochrome charcoal with a warm paper white */
  --bg: #0e0e0e;
  --ink: #ebe8e1;
  --ink-2: #a8a59e;
  --ink-3: #6e6c67;
  --line: rgba(235, 232, 225, 0.1);
  --glass: rgba(18, 18, 18, 0.74);
  --accent: #e6e2d8;
  --accent-2: #ffffff;
  --accent-ink: #121212;
  --sans: "Inter Tight", "Archivo", system-ui, sans-serif;
  --mono: "Inter Tight", system-ui, sans-serif;
  --script: "Ms Madi", "Mrs Saint Delafield", cursive;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --pad: 40px; /* window padding: 40px desktop, 25px mobile */
}

* { box-sizing: border-box; }
html, body { font-variant-numeric: tabular-nums; margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: var(--sans); overflow: hidden; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; outline: none; touch-action: none; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; gap: 18px; justify-items: center; background: #050505; transition: opacity 0.9s var(--ease), visibility 0.9s; }
.loader.is-done { opacity: 0; visibility: hidden; }
/* period race photo, dark and quiet behind the logo, fading out towards the top */
.loader::before { content: ""; position: absolute; inset: 0; background: url(assets/loader-bg.jpg) right bottom / max(100%, 1100px) auto no-repeat; opacity: 0.45; transform: scale(1.04); animation: loaderDrift 9s var(--ease) forwards; pointer-events: none; }
@keyframes loaderDrift { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .loader::before { animation: none; transform: none; } }
.logo { display: block; aspect-ratio: 112.17 / 35.45; background: currentColor; -webkit-mask: url(assets/suber-logo.svg) center / contain no-repeat; mask: url(assets/suber-logo.svg) center / contain no-repeat; }
.loader__mark { position: relative; width: 240px; margin-bottom: 22px; color: var(--ink); }
.loader__bar { position: relative; width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(0); animation: loaderCreep 14s cubic-bezier(0.08, 0.75, 0.2, 1) forwards; will-change: transform; }
@keyframes loaderCreep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.loader__label { position: relative; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Top bar ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: var(--pad); pointer-events: none; }
.topbar > * { pointer-events: auto; }
.wordmark { display: block; aspect-ratio: 112.17 / 18.4; background: currentColor; -webkit-mask: url(assets/suber-wordmark.svg) center / contain no-repeat; mask: url(assets/suber-wordmark.svg) center / contain no-repeat; }
.brand__logo { width: clamp(140px, 12.5vw, 178px); margin-top: 6px; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand__script { display: block; margin: 26px 0 0; font-family: var(--script); font-size: 34px; line-height: 1; color: var(--ink); }
.brand__title { margin: 4px 0 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.brand__title span { font-size: 0.5em; font-weight: 600; letter-spacing: 0.16em; color: var(--ink-3); vertical-align: 0.35em; margin-left: 6px; }
.topbar__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* top-bar buttons in the brand's language: hairline off-white outline, square corners,
   small tracked uppercase labels, and a solid off-white fill on hover */
.chip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 0; border: 1px solid rgba(230, 226, 216, 0.32); background: rgba(10, 10, 10, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.chip:hover { border-color: var(--accent); background: var(--accent); color: #0e0e0e; }
.chip:hover .count { color: rgba(14, 14, 14, 0.6); }
.chip:hover .dot { background: #0e0e0e; }
.chip--icon { width: 40px; padding: 0; justify-content: center; }
.chip .count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 1.8s infinite; }
.chip.is-on { border-color: var(--accent); }

/* ---------- Hotspots ---------- */
.hotspots { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
body:not(.is-intro) .hotspots.is-dragging { opacity: 0; transition: opacity 0.25s; }
body:not(.is-intro) .hotspots.is-dragging .hs { pointer-events: none; }
.hs { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; padding: 0; background: none; cursor: pointer; pointer-events: auto; transition: opacity 0.35s, filter 0.35s; will-change: transform; }
.hs__dot { position: absolute; inset: 5px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 18px 2px rgba(230, 226, 216, 0.55); transition: transform 0.3s var(--ease), background 0.25s; }
.hs__dot svg { width: 18px; height: 18px; }
.hs::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(235, 232, 225, 0.75); animation: ring 2.2s var(--ease) infinite; pointer-events: none; }
.hs__label { position: absolute; left: 46px; top: 50%; transform: translate(-6px, -50%); white-space: nowrap; padding: 6px 10px; border-radius: 3px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s var(--ease); }
.hs__label b { font-family: var(--mono); font-weight: 600; color: var(--ink-3); margin-right: 6px; }
.hs:hover .hs__label, .hs:focus-visible .hs__label, .hs.is-active .hs__label { opacity: 1; transform: translate(0, -50%); }
.hs:hover .hs__dot, .hs.is-active .hs__dot { transform: scale(1.12); background: var(--accent-2); }
.hs.is-hidden { opacity: 0.18; filter: grayscale(1); }
.hs.is-hidden::after { animation: none; opacity: 0; }
.hs.is-active::after { animation-duration: 1.1s; }
.hs.is-off { opacity: 0; pointer-events: none; }

@keyframes ring { 0% { transform: scale(0.45); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(230, 226, 216, 0.7); } 100% { box-shadow: 0 0 0 9px rgba(230, 226, 216, 0); } }

/* ---------- Panel ---------- */
.panel { position: fixed; z-index: 20; top: var(--pad); right: var(--pad); bottom: var(--pad); width: min(440px, calc(100vw - 2 * var(--pad))); padding: 30px 28px 22px; overflow-y: auto; border-radius: 4px; background: linear-gradient(180deg, rgba(22, 22, 22, 0.9), rgba(12, 12, 12, 0.94)); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); transform: translateX(calc(100% + 40px)); transition: transform 0.6s var(--ease); scrollbar-width: thin; scrollbar-color: #333 transparent; }
.panel.is-open { transform: none; }
.panel__close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); cursor: pointer; transition: background 0.2s; }
.panel__close:hover { background: rgba(255, 255, 255, 0.12); }
.panel__index { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.18em; }
.panel__kicker { margin-top: 14px; font-family: var(--script); font-size: 34px; line-height: 1.05; color: var(--ink); }
.panel__title { margin: 6px 0 16px; font-size: 34px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; padding-right: 30px; }
.panel__body { font-size: 16.5px; line-height: 1.62; color: var(--ink-2); }
.panel__body p { margin: 0 0 12px; }
.panel__body blockquote { margin: 14px 0; padding: 12px 14px; border-left: 2px solid var(--accent); background: rgba(230, 226, 216, 0.04); color: var(--ink); border-radius: 0; font-size: 16px; }
.panel__body blockquote cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.panel__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 18px 0; border-radius: 3px; overflow: hidden; background: var(--line); }
.panel__specs:empty { display: none; }
.spec { padding: 12px 14px; background: #111; }
.spec dt { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.spec dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; }
.panel__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.panel__photos button { padding: 0; border: 0; aspect-ratio: 4 / 3; border-radius: 2px; filter: grayscale(0.35); overflow: hidden; cursor: zoom-in; background: #111; }
.panel__photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease), opacity 0.3s; opacity: 0.88; }
.panel__photos button:hover img { transform: scale(1.06); opacity: 1; }
.panel__nav { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.footnote { font-size: 13px; color: var(--ink-3); margin-top: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 3px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); font-size: 15.5px; font-weight: 600; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.1s; user-select: none; -webkit-user-select: none; touch-action: none; }
.btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); }
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover:not(:disabled) { background: var(--accent-2); }
.btn--primary.is-running { background: #1b1b1b; border-color: var(--accent); }
.btn--ghost { background: none; border-color: transparent; color: var(--ink-2); padding: 0 6px; }
.btn.is-held { background: rgba(230, 226, 216, 0.25); border-color: var(--accent); }

/* ---------- Engine control ---------- */
.engine { margin: 18px 0 4px; padding: 16px; border-radius: 3px; border: 1px solid var(--line); background: radial-gradient(120% 100% at 50% 0%, rgba(230, 226, 216, 0.06), transparent 60%), #0d0d0d; }
.tach { position: relative; width: 220px; margin: 0 auto; }
.tach__svg { display: block; width: 100%; overflow: visible; }
.tach__track, .tach__red, .tach__fill { fill: none; stroke-width: 7; stroke-linecap: round; }
.tach__track { stroke: rgba(255, 255, 255, 0.08); }
.tach__red { stroke: rgba(230, 226, 216, 0.55); }
.tach__fill { stroke: var(--ink); stroke-dasharray: 251.33; stroke-dashoffset: 251.33; transition: stroke 0.2s; }
.tach__needle { stroke: var(--accent-2); stroke-width: 2.5; stroke-linecap: round; transform-origin: 100px 110px; transform: rotate(-90deg); }
.tach__hub { fill: var(--ink); }
.tach__readout { position: relative; margin-top: 6px; text-align: center; font-family: var(--mono); font-size: 25px; font-weight: 600; letter-spacing: -0.02em; }
.tach__readout small { font-size: 11.5px; color: var(--ink-3); margin-left: 4px; letter-spacing: 0.1em; text-transform: uppercase; }
.engine__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.engine__note { margin: 10px 0 0; text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-3); }

/* ---------- Engine sound player ---------- */
.player { display: flex; align-items: center; gap: 14px; }
.player__btn { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); cursor: pointer; box-shadow: 0 0 0 0 rgba(230, 226, 216, 0.5); transition: transform 0.15s, background 0.2s, box-shadow 0.3s; }
.player__btn:hover { background: var(--accent-2); }
.player__btn:active { transform: scale(0.96); }
.player__btn .i-pause { display: none; }
.player.is-playing .player__btn .i-play { display: none; }
.player.is-playing .player__btn .i-pause { display: block; }
.player.is-playing .player__btn { box-shadow: 0 0 0 calc(var(--lvl, 0) * 10px) rgba(230, 226, 216, 0.18); }
.player__main { flex: 1; min-width: 0; }
.player__title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.player__wave { display: flex; align-items: center; gap: 2px; height: 38px; cursor: pointer; outline: none; }
.player__wave i { flex: 1; min-width: 1px; border-radius: 0; background: rgba(235, 232, 225, 0.16); transition: background 0.2s; }
.player__wave i.on { background: var(--accent-2); }
.player__wave:focus-visible { box-shadow: 0 0 0 1px var(--accent); border-radius: 4px; }
.player__time { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* ---------- Hint ---------- */
.hint { position: fixed; z-index: 6; left: 50%; bottom: calc(var(--pad) + 36px); transform: translateX(-50%); padding: 9px 16px; border-radius: 3px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: opacity 0.6s; }
.hint.is-gone { opacity: 0; pointer-events: none; }
.hint__dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5); vertical-align: -1px; margin: 0 2px; }

/* ---------- Gallery ---------- */
.gallery { position: fixed; inset: 0; z-index: 30; padding: var(--pad); overflow-y: auto; background: rgba(12, 12, 12, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity 0.45s, visibility 0.45s; }
.gallery.is-open { opacity: 1; visibility: visible; }
.gallery__head { position: sticky; top: calc(-1 * var(--pad)); z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; padding: var(--pad) 0 18px; margin-top: calc(-1 * var(--pad)); background: linear-gradient(rgba(12, 12, 12, 0.97) 70%, transparent); }
.gallery__head h2 { margin: 6px 0 0; font-size: clamp(34px, 4.4vw, 54px); font-weight: 600; letter-spacing: -0.035em; }
.gallery__head .panel__close { position: static; }
.gallery__grid { columns: 4 260px; column-gap: 10px; }
.gallery__grid button { display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; border-radius: 2px; overflow: hidden; cursor: zoom-in; background: #111; break-inside: avoid; position: relative; }
.gallery__grid img { display: block; width: 100%; height: auto; transition: transform 0.6s var(--ease), opacity 0.3s; opacity: 0.9; }
.gallery__grid button:hover img { transform: scale(1.04); opacity: 1; }
.gallery__grid span { position: absolute; left: 8px; bottom: 8px; font-family: var(--mono); font-size: 11.5px; padding: 3px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.6); color: var(--ink-2); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: calc(var(--pad) + 30px) calc(var(--pad) + 50px); background: rgba(0, 0, 0, 0.94); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 2px; object-fit: contain; }
.lightbox figcaption { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); font-size: 29.5px; line-height: 1; cursor: pointer; }
.lightbox__prev { left: var(--pad); }
.lightbox__next { right: var(--pad); }
.lightbox__close { top: var(--pad); right: var(--pad); }

/* ---------- Intro: interface fades in after the car is revealed ---------- */
.topbar, .hotspots, .hint, .footbar { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
body.is-intro .topbar { opacity: 0; transform: translateY(-10px); pointer-events: none; }
body.is-intro .hotspots, body.is-intro .hint, body.is-intro .footbar { opacity: 0; pointer-events: none; }
body:not(.is-intro) .footbar { transition-delay: 0.35s; }
body:not(.is-intro) .hotspots { transition-delay: 0.25s; }
body:not(.is-intro) .hint { transition-delay: 0.5s; }

/* ---------- Footer rule, as on the brand sheets ---------- */
.footbar { position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 var(--pad) var(--pad); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); pointer-events: none; }
.footbar__title { margin: 0; font-family: 'Inter Tight', sans-serif; font-size: clamp(19px, 2.1vw, 32px); font-weight: 300; letter-spacing: 0.06em; line-height: 1; color: var(--ink); white-space: nowrap; }
.footbar__title em { margin-left: 0.2em; font-size: 1.18em; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; color: #c8322b; }
.footbar__right { justify-self: end; }

@media (max-width: 720px) {
  :root { --pad: 25px; }
  .footbar { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 10px; letter-spacing: 0.04em; white-space: nowrap; }
  .footbar__title { font-size: 17px; }
  .loader__mark { width: 180px; margin-bottom: 16px; }
  /* phones: slide the photo so the blurred SÜBER banner sits in view, not just the car */
  .loader::before { background-position: 28% bottom; background-size: 900px auto; }
  .chip { height: 36px; padding: 0 12px; gap: 7px; font-size: 11px; letter-spacing: 0.12em; }
  .chip--icon { width: 36px; padding: 0; }
  .brand__script { margin-top: 16px; font-size: 27.5px; }
  .topbar { flex-direction: column; }
  /* the buttons sit at the bottom, just above the model title (fixed to the viewport, so the
     top bar must not be transformed while it fades in) */
  .topbar__actions { position: fixed; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) + 50px); justify-content: flex-start; flex-wrap: nowrap; }
  body.is-intro .topbar { transform: none; }
  .panel { top: auto; left: var(--pad); right: var(--pad); bottom: var(--pad); width: auto; max-height: 50vh; transform: translateY(calc(100% + 30px)); padding: 24px 18px 18px; }
  .hint { bottom: calc(var(--pad) + 100px); font-size: 12.5px; white-space: normal; text-align: center; width: calc(100% - 2 * var(--pad)); }
  .lightbox { padding: 60px var(--pad); }
  .lightbox__nav { top: auto; bottom: var(--pad); transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hs::after, .chip .dot { animation: none; }
}



/* ================================================================ editorial layer
   Fine hairlines, small tracked uppercase labels and one red accent, after the editorial
   car-brochure reference; kept on the dark Atelier Süber palette. */
:root { --hair: rgba(235, 232, 225, 0.14); --red: #b8282b; }

/* header and footer are ruled sections: a hairline border with the window padding on both
   sides of the content */
.topbar { border-bottom: 1px solid var(--hair); }
.footbar { padding: var(--pad); border-top: 1px solid var(--hair); }

/* hint: a plain hairline label instead of a glass pill */
.hint { bottom: calc(var(--foot-h, 120px) + 14px); border-radius: 0; background: rgba(10, 10, 10, 0.5); border-color: var(--hair); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); padding: 8px 14px; }

/* "Build story" as a thin circle, like a "view gallery" seal (desktop) */
@media (min-width: 721px) {
  #btnGallery { position: fixed; right: var(--pad); bottom: calc(var(--foot-h, 120px) + var(--pad)); width: 118px; height: 118px; padding: 0 18px; border-radius: 50%; border-color: rgba(184, 40, 43, 0.75); background: rgba(10, 10, 10, 0.3); flex-direction: column; justify-content: center; gap: 4px; font-size: 10.5px; line-height: 1.25; text-align: center; white-space: normal; }
  #btnGallery:hover { background: var(--red); border-color: var(--red); color: var(--ink); }
  #btnGallery:hover .count { color: rgba(235, 232, 225, 0.75); }
  body.is-intro #btnGallery { opacity: 0; }
}

/* detail panel: square, hairline-ruled, red uppercase label, ruled spec list */
.panel { border-radius: 0; border-color: var(--hair); background: rgba(12, 12, 12, 0.92); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.panel__close { border-radius: 0; border-color: var(--hair); background: none; }
.panel__index { font-size: 11px; letter-spacing: 0.22em; color: var(--ink-3); }
.panel__rule { height: 1px; margin: 14px -28px 0; background: var(--hair); }
.panel__kicker { margin-top: 18px; font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }
.panel__title { margin: 8px 0 18px; font-size: 32px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.04; text-transform: uppercase; }
.panel__body blockquote { border-left-color: var(--red); background: none; padding: 4px 0 4px 14px; }
.panel__specs { grid-template-columns: 1fr; gap: 0; border-radius: 0; background: none; border: 1px solid var(--hair); }
.spec { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 14px; padding: 12px 14px; background: none; border-top: 1px solid var(--hair); }
.spec:first-child { border-top: 0; background: var(--red); }
.spec:first-child dt { color: rgba(235, 232, 225, 0.75); }
.spec dd { order: -1; margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; }
.spec dt { font-size: 10.5px; letter-spacing: 0.16em; }
.panel__photos { gap: 0; border: 1px solid var(--hair); }
.panel__photos button { border-radius: 0; border-left: 1px solid var(--hair); }
.panel__photos button:first-child { border-left: 0; }
.panel__nav { border-top-color: var(--hair); }
.panel__nav .btn { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.engine { border-radius: 0; border-color: var(--hair); background: none; }
.player__btn { border-radius: 50%; }

@media (max-width: 720px) {
  .hint { display: none; } /* phones: no drag/scroll instructions */
  .footbar .topbar__actions { position: static; margin-bottom: 6px; pointer-events: auto; }
  /* the buttons move down to the footer, so the logo sits alone, centred and a bit smaller */
  .topbar { align-items: center; }
  .brand__logo { margin-top: 0; width: 124px; }
  .panel__rule { margin: 12px -18px 0; }
  .panel__title { font-size: 26px; }
}

/* hotspot size scales with zoom (--hs set from JS); the label keeps its own size */
.hotspots { --hs: 1; }
.hs__dot, .hs::after { scale: var(--hs); transition: transform 0.3s var(--ease), background 0.25s, scale 0.2s linear; }
.hs__label { left: calc(22px + 24px * var(--hs)); border-radius: 0; border-color: var(--hair); background: rgba(10, 10, 10, 0.72); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.hs__label b { color: var(--red); }

/* AR Quick Look button: only shown where Safari supports rel="ar" (iPhone and iPad) */
.chip[hidden] { display: none; }
.chip--ar { padding: 0 12px; gap: 7px; }
@media (max-width: 720px) {
  /* four buttons have to share one row on a phone: the AR one becomes an icon */
  .chip--ar { width: 36px; padding: 0; justify-content: center; }
  .chip--ar .chip__label { display: none; }
  .footbar .topbar__actions { gap: 6px; }
  .footbar .chip:not(.chip--icon, .chip--ar) { padding: 0 9px; letter-spacing: 0.08em; }
}
.chip--ar.is-busy { opacity: 0.6; pointer-events: none; }
.chip--ar.is-busy svg { animation: arSpin 1s linear infinite; }
@keyframes arSpin { to { transform: rotate(360deg); } }
