/* SVG product pages, redesign preview (pv3).
   Markup: include/pv3/render.php. Behaviour: js/pv3.js.
   Everything is scoped under .pv3 so the legacy style.css / v3.css rules stay out. */

/* ---------- Tokens ---------- */
.pv3 {
  --bg: #09090a;
  --bg-2: #111113;
  --card: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f4f2ee;
  --muted: #a3a19c;
  --dim: #6d6b67;
  --accent: #e8c27a;
  --accent-2: #fff1cf;
  --accent-ink: #120f08;
  --glow: rgba(232, 194, 122, .22);
  --grad: linear-gradient(100deg, var(--accent-2), var(--accent) 45%, var(--accent-2));
  --fd: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fb: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs: "Instrument Serif", Georgia, serif;
  --fm: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r: 24px;
  --r-sm: 14px;
  --gutter: 20px;
  --wrap: min(1320px, calc(100% - 2 * var(--gutter)));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --sec: clamp(72px, 11vw, 160px);
  --head-h: 72px;
}
@media (min-width: 744px) { .pv3 { --gutter: 32px; } }
@media (min-width: 1366px) { .pv3 { --gutter: 48px; } }

.pv3[data-theme="gold"] {
  --bg: #0a0907; --bg-2: #13110d;
  --accent: #e3bd6f; --accent-2: #fff0c9; --accent-ink: #1a1408; --glow: rgba(227, 189, 111, .24);
}
.pv3[data-theme="quantum"] {
  --bg: #070708; --bg-2: #0f0f12;
  --accent: #ff3b3f; --accent-2: #ffd6d6; --accent-ink: #fff; --glow: rgba(255, 59, 63, .24);
  --grad: linear-gradient(100deg, #fff, #ffb3b5 40%, var(--accent) 70%, #fff);
}
.pv3[data-theme="iridescent"] {
  --bg: #08090a; --bg-2: #101214;
  --accent: #c6f432; --accent-2: #7cf0ff; --accent-ink: #0b1000; --glow: rgba(160, 240, 80, .2);
  --grad: linear-gradient(100deg, #c6f432, #6ff7d9 30%, #8aa8ff 55%, #d48cff 75%, #c6f432);
}
.pv3[data-theme="mint"] {
  --bg: #08090a; --bg-2: #101312;
  --accent: #38d98f; --accent-2: #d7e0e6; --accent-ink: #04140c; --glow: rgba(56, 217, 143, .2);
  --grad: linear-gradient(100deg, #e8eef2, #b9c4cc 30%, #38d98f 65%, #e8eef2);
}
.pv3[data-theme="satin"] {
  --bg: #0c0c0c; --bg-2: #151514;
  --accent: #cdb79a; --accent-2: #efe7dc; --accent-ink: #18140f; --glow: rgba(205, 183, 154, .16);
  --grad: linear-gradient(100deg, #efe7dc, #cdb79a 50%, #8f8576);
}

/* ---------- Page frame ---------- */
body:has(.pv3) {
  background: #09090a !important;
  background-image: none !important;
}
body:has(.pv3)::after { display: none; } /* v3 preview badge would sit on top of the CTA buttons */
main:has(> .pv3) { max-width: none !important; }

.pv3 {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  isolation: isolate;
}
.pv3 *, .pv3 *::before, .pv3 *::after { box-sizing: border-box; }
.pv3 :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
.pv3 :where(h1, h2, h3, h4) {
  font-family: var(--fd); color: var(--text); text-transform: none; text-shadow: none; letter-spacing: normal;
  display: block; position: static; font-size: inherit; font-weight: 700; line-height: 1.1;
}
.pv3 :where(h1, h2, h3, h4)::after { content: none !important; }
.pv3 :where(p, li, dd, dt, td, th, span, a, summary) { font-family: inherit; letter-spacing: normal; text-transform: none; }
/* :where keeps this at class-level specificity so .pv3-statement / .pv3-lead etc. (later in the file) win */
.pv3 :where(p) { font-size: inherit !important; font-weight: inherit !important; line-height: inherit; }
.pv3 a { color: inherit; text-decoration: none; }
.pv3 img, .pv3 video { display: block; max-width: 100%; }
.pv3 ul, .pv3 ol { list-style: none; }
.pv3 button { font: inherit; color: inherit; }

/* Film grain over the whole page */
.pv3::before {
  content: ""; position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: pv3-grain 1.2s steps(6) infinite;
}
@keyframes pv3-grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.pv3-wrap { width: var(--wrap); margin-inline: auto; position: relative; }
.pv3-wrap--narrow { width: min(980px, calc(100% - 2 * var(--gutter))); }
.pv3-sec { padding-block: var(--sec) 0; position: relative; }
.pv3-sec:last-child { padding-bottom: var(--sec); }

.pv3-progressbar { position: fixed; left: 0; right: 0; top: var(--head-h); height: 2px; z-index: 60; pointer-events: none; }
.pv3-progressbar span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad); }

/* ---------- Type ---------- */
.pv3-eyebrow, .pv3-kicker {
  font-family: var(--fm); font-size: 12px; font-weight: 500; letter-spacing: .18em !important; text-transform: uppercase !important;
  color: var(--muted); display: inline-flex; align-items: center; gap: 10px;
}
.pv3-kicker::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.pv3-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--glow), 0 0 18px var(--accent); }
.pv3-display {
  font-family: var(--fd) !important; font-stretch: 125%; font-weight: 800 !important; text-transform: uppercase !important;
  font-size: clamp(46px, 9.4vw, 148px) !important; line-height: .88 !important; letter-spacing: -.035em !important;
  margin: 22px 0 26px !important;
}
.pv3-display em, .pv3-h2 em, .pv3-h3 em, .pv3-statement em {
  font-family: var(--fs); font-style: italic; font-weight: 400; font-stretch: normal; text-transform: none; letter-spacing: -.01em;
  background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pv3-sheen 8s linear infinite; padding-right: .06em;
}
.pv3-display em { font-size: 1.08em; line-height: .8; }
.pv3-display .pv3-pre { display: block; font-family: var(--fm); font-stretch: normal; font-size: 13px; letter-spacing: .3em; font-weight: 500; color: var(--accent); margin-bottom: 18px; text-transform: uppercase; }
@keyframes pv3-sheen { to { background-position: -200% 0; } }
.pv3-h2 {
  font-family: var(--fd) !important; font-stretch: 112%; font-weight: 700 !important;
  font-size: clamp(32px, 5vw, 68px) !important; line-height: 1 !important; letter-spacing: -.03em !important; margin-top: 18px !important;
  text-align: left !important; color: var(--text) !important;
}
.pv3-h3 { font-family: var(--fd) !important; font-stretch: 110%; font-weight: 700 !important; font-size: clamp(26px, 3.2vw, 44px) !important; line-height: 1.02 !important; letter-spacing: -.025em !important; }
.pv3-lead { font-size: clamp(17px, 1.5vw, 21px) !important; line-height: 1.5 !important; color: #d9d6d0; max-width: 34em; }
.pv3-intro { font-size: clamp(16px, 1.3vw, 19px) !important; color: var(--muted); max-width: 40em; margin-top: 20px !important; line-height: 1.6 !important; }
.pv3-head { margin-bottom: clamp(32px, 5vw, 64px); }
.pv3-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pv3-head--center .pv3-h2 { text-align: center !important; }
.pv3-prose { display: grid; gap: 1.1em; color: #cfccc6; font-size: 17px; line-height: 1.7; margin-top: 36px; max-width: 46em; }
.pv3-prose a, .pv3-intro a, .pv3-note a, .pv3-faq a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pv3-note { font-size: 13px !important; color: var(--dim); margin-top: 18px !important; }
.pv3-note--center { text-align: center; }

/* ---------- Buttons ---------- */
.pv3-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pv3-ctas--center { justify-content: center; }
.pv3-btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 22px 0 26px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transform: translate(var(--bx), var(--by)); transition: transform .35s var(--ease-out), background .3s, color .3s, box-shadow .3s;
  box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35); overflow: hidden; isolation: isolate;
}
.pv3-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.pv3-btn:hover::before { transform: translateX(120%); }
.pv3-btn .pv3-i { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.pv3-btn:hover .pv3-i { transform: translateX(4px); }
.pv3-btn--ghost { background: rgba(255, 255, 255, .06); color: var(--text) !important; box-shadow: inset 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pv3-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.pv3-btn--light { background: #fff; color: #0a0a0a !important; }
.pv3-i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Hero ---------- */
.pv3-hero {
  position: relative; min-height: 100svh; margin-top: calc(-1 * var(--head-h)); padding: calc(var(--head-h) + 48px) 0 96px;
  display: flex; align-items: center; overflow: hidden;
}
.pv3-hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent 70%); filter: blur(10px); z-index: 0; pointer-events: none;
  animation: pv3-float 14s ease-in-out infinite alternate;
}
@keyframes pv3-float { to { transform: translate(-8%, 10%) scale(1.1); } }
.pv3-hero__ghost {
  position: absolute; left: -2vw; bottom: -4vw; z-index: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--fd); font-stretch: 125%; font-weight: 900; font-size: 26vw; line-height: .8; letter-spacing: -.05em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
}
.pv3-hero__grid { position: relative; z-index: 2; display: grid; gap: 48px; align-items: center; }
.pv3-hero__copy { max-width: 820px; }
.pv3-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.pv3-stats dt { font-family: var(--fd); font-stretch: 115%; font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; letter-spacing: -.02em; }
.pv3-stats dd { font-family: var(--fm); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.pv3-hero__media {
  position: relative; border-radius: calc(var(--r) + 6px); overflow: hidden; aspect-ratio: var(--ar, 4 / 5); background: #000;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--line), 0 0 80px -20px var(--glow);
  transform: perspective(1400px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .6s var(--ease-out);
}
.pv3-hero__mediael { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--hs, 1.04)); }
.pv3-hero__media figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 12px; background: rgba(10, 10, 10, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: 12.5px; color: #e9e6e0; border: 1px solid rgba(255, 255, 255, .12);
}
.pv3-live { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255, 77, 77, .6); animation: pv3-pulse 1.8s infinite; flex: none; }
@keyframes pv3-pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }

.pv3-hero--full { align-items: flex-end; padding-bottom: 120px; }
.pv3-hero__bg { position: absolute; inset: 0; z-index: 0; }
.pv3-hero__bgmedia { width: 100%; height: 100%; object-fit: contain; object-position: 100% 50%; transform: scale(var(--hs, 1)); transform-origin: 100% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(0deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(0deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-composite: intersect; }
.pv3-hero__shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,0) 70%),
  linear-gradient(0deg, var(--bg) 0%, rgba(0,0,0,0) 40%),
  linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 22%); }
.pv3-hero--full .pv3-hero__copy { max-width: 760px; }
.pv3-hero__credit { position: absolute; z-index: 2; left: 0; right: 0; bottom: 34px; text-align: right; font-size: 12px; color: rgba(255,255,255,.55); font-family: var(--fm); letter-spacing: .06em; }

.pv3-scrollcue { position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.35); }
.pv3-scrollcue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: pv3-cue 1.8s var(--ease) infinite; }
@keyframes pv3-cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.pv3-hero--full .pv3-scrollcue { display: none; }

@media (min-width: 1024px) {
  /* Full-bleed heroes: photo sits in the right ~70%, fading into the page colour under the headline */
  .pv3-hero--full .pv3-hero__bg { left: 26%; }
  .pv3-hero--full .pv3-hero__shade { background:
    linear-gradient(90deg, var(--bg) 26%, color-mix(in srgb, var(--bg) 70%, transparent) 36%, rgba(0,0,0,0) 56%),
    linear-gradient(0deg, var(--bg) 0%, rgba(0,0,0,0) 30%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 20%); }
  .pv3-hero--split .pv3-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 64px; }
  /* same shape as the picture, as tall as the screen allows */
  .pv3-hero--split .pv3-hero__media { justify-self: end; height: auto; width: min(100%, calc((100svh - var(--head-h) - 140px) * (var(--ar)))); }
}
@media (max-width: 1023px) {
  .pv3-hero { min-height: 0; padding-top: calc(var(--head-h) + 40px); }
  /* Phones and portrait tablets: open on the car, headline right underneath */
  .pv3-hero--split .pv3-hero__grid { gap: 28px; }
  .pv3-hero--split .pv3-hero__media { order: -1; height: auto; width: min(100%, calc(62svh * (var(--ar)))); justify-self: center; }
  .pv3-hero--split .pv3-display { margin-top: 14px !important; }
  /* Phones/tablets: whole picture on top, headline underneath */
  .pv3-hero--full { min-height: 0; display: block; padding-top: var(--head-h); padding-bottom: 72px; }
  .pv3-hero--full .pv3-hero__bg { position: relative; inset: auto; aspect-ratio: var(--ar); margin-bottom: -8%; }
  .pv3-hero--full .pv3-hero__bgmedia { object-fit: cover; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 30%); mask-image: linear-gradient(0deg, transparent 0, #000 30%); }
  .pv3-hero--full .pv3-hero__shade { display: none; }
  .pv3-scrollcue { display: none; }
  .pv3-hero__credit { position: static; text-align: left; margin-top: 24px; }
}

/* Hero entrance (JS adds .pv3-ready) */
.pv3-js .pv3-hero__in { opacity: 0; transform: translateY(24px); }
.pv3-ready .pv3-hero__in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--d) * 90ms + 150ms); }
.pv3-display .pv3-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.pv3-display .pv3-wi { display: inline-block; }
.pv3-js .pv3-display .pv3-wi { transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; }
.pv3-ready .pv3-display .pv3-wi { transform: none; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--d) * 70ms + 120ms); }

/* ---------- Marquee ---------- */
.pv3-marquee { position: relative; z-index: 2; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg) scale(1.02); margin-top: 10px; }
.pv3-marquee__track { display: flex; width: max-content; animation: pv3-marquee 38s linear infinite; }
.pv3-marquee__track > div { display: flex; align-items: center; flex: none; }
.pv3-marquee span { font-family: var(--fd); font-stretch: 125%; font-weight: 800; font-size: clamp(22px, 3vw, 40px); text-transform: uppercase; letter-spacing: -.01em; padding: 0 28px; white-space: nowrap; }
.pv3-marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.pv3-marquee i { font-style: normal; color: var(--accent); font-size: 20px; }
@keyframes pv3-marquee { to { transform: translateX(-50%); } }
.pv3-marquee:hover .pv3-marquee__track { animation-play-state: paused; }

/* ---------- Statement (word scrub) ---------- */
.pv3-statement {
  font-family: var(--fd); font-stretch: 105%; font-weight: 600 !important; font-size: clamp(28px, 4.2vw, 58px) !important;
  line-height: 1.12 !important; letter-spacing: -.025em; margin-top: 26px !important;
}
.pv3-statement .pv3-sw { opacity: var(--o, 1); transition: opacity .2s linear; }
.pv3-js .pv3-statement .pv3-sw { --o: .14; }

/* ---------- Reveal ---------- */
.pv3-js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.pv3-js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(18% 0 18% 0 round var(--r)); transition: clip-path 1.4s var(--ease-out); }
.pv3-js [data-reveal="clip"] img, .pv3-js [data-reveal="clip"] video { transform: scale(1.18); transition: transform 1.8s var(--ease-out); }
.pv3-js [data-reveal].is-in { opacity: 1; transform: none; }
.pv3-js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r)); }
.pv3-js [data-reveal="clip"].is-in img, .pv3-js [data-reveal="clip"].is-in video { transform: scale(1); }

/* ---------- Cards / features ---------- */
.pv3-card {
  position: relative; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
[data-glow]::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 60%);
}
[data-glow]:hover::after { opacity: 1; }
.pv3-features { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pv3-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pv3-features--3 { grid-template-columns: repeat(3, 1fr); } .pv3-features--4 { grid-template-columns: repeat(4, 1fr); } }
.pv3-feature { padding: 28px 28px 32px; min-height: 260px; display: flex; flex-direction: column; transition: border-color .4s, transform .5s var(--ease-out); }
.pv3-feature:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pv3-feature__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 40px; }
.pv3-feature__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--accent); }
.pv3-feature__icon .pv3-i { width: 26px; height: 26px; }
.pv3-feature__n { font-family: var(--fm); font-size: 12px; color: var(--dim); }
.pv3-feature h3 { font-family: var(--fd); font-stretch: 108%; font-size: 22px !important; letter-spacing: -.01em; margin-bottom: 10px; }
.pv3-feature p { color: var(--muted); font-size: 15px !important; line-height: 1.55 !important; }

/* ---------- Layers (sticky exploded stack) ---------- */
.pv3-layers__grid { display: grid; gap: 40px; }
.pv3-layers__stage { position: relative; align-self: stretch; } /* full column height, so the stack can stick */
.pv3-layers__sticky { position: sticky; top: calc(var(--head-h) + 6vh); height: min(70vh, 620px); display: grid; place-items: center; }
.pv3-stack { position: relative; width: min(420px, 78vw); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.pv3-stack__layer {
  --gap: calc(14px + var(--sp, 0) * 46px);
  position: absolute; inset: 0; border-radius: 22px; transform: translateZ(calc((var(--n) - 1 - var(--l)) * var(--gap)));
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transition: background .5s, border-color .5s, box-shadow .5s, transform .2s linear;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.pv3-stack__layer span { position: absolute; right: 18px; bottom: 14px; font-family: var(--fm); font-size: 12px; color: rgba(255,255,255,.6); }
.pv3-stack__layer:first-child { background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(255,255,255,.06) 60%); }
.pv3-stack__layer.is-active { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 35%, transparent)); border-color: var(--accent); box-shadow: 0 0 60px -6px var(--glow), 0 30px 60px -20px rgba(0,0,0,.8); }
.pv3-stack__layer.is-active span { color: var(--accent-ink); }
.pv3-layers__list { display: grid; gap: 0; margin-top: 8px; }
.pv3-layers__list li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 28px 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .5s; }
.pv3-layers__list li.is-active { opacity: 1; }
.pv3-layers__num { font-family: var(--fm); color: var(--accent); font-size: 13px; padding-top: 6px; }
.pv3-layers__list h3 { font-family: var(--fd); font-stretch: 108%; font-size: 24px !important; margin-bottom: 8px; }
.pv3-layers__list p { color: var(--muted); font-size: 16px !important; }
@media (min-width: 1024px) {
  .pv3-layers__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .pv3-layers__list li { padding: 7vh 0; }
}
@media (max-width: 1023px) {
  .pv3-layers__sticky { position: relative; top: 0; height: 360px; }
  .pv3-stack { width: 260px; }
  .pv3-layers__list li { opacity: 1; }
}

/* ---------- Showcase (horizontal drag) ---------- */
.pv3-showcase__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pv3-showcase__nav { display: none; gap: 10px; margin-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 744px) { .pv3-showcase__nav { display: flex; } }
.pv3-round { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.pv3-round:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pv3-round[data-scroll-prev] .pv3-i { transform: rotate(180deg); }
.pv3-showcase {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  padding: 0 calc((100vw - var(--wrap)) / 2); scroll-padding: 0 calc((100vw - var(--wrap)) / 2); overscroll-behavior-x: contain;
}
.pv3-showcase::-webkit-scrollbar { display: none; }
.pv3-showcase.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.pv3-showcase.is-dragging a { pointer-events: none; }
.pv3-showcase { --shot-h: clamp(300px, 62svh, 560px); }
@media (max-width: 743px) { .pv3-showcase { --shot-h: min(108vw, 64svh); } }
.pv3-shot { flex: none; width: calc(var(--shot-h) * (var(--ar))); max-width: 92vw; scroll-snap-align: start; }
.pv3-shot__img { border-radius: var(--r); overflow: hidden; aspect-ratio: var(--ar); background: #111; }
.pv3-shot__img img, .pv3-shot__img video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); -webkit-user-drag: none; user-select: none; }
.pv3-shot:hover .pv3-shot__img img { transform: scale(1.05); }
.pv3-shot figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.pv3-shot figcaption b { color: var(--text); font-weight: 600; }
.pv3-progress { height: 2px; background: var(--line); margin-top: 32px; border-radius: 2px; overflow: hidden; }
.pv3-progress span { display: block; height: 100%; width: var(--w, 20%); transform: translateX(calc(var(--x, 0) * (100% / var(--wf, .2) - 100%))); background: var(--accent); border-radius: 2px; }

/* ---------- Bento gallery ---------- */
/* Masonry: every picture at its own shape, nothing cropped */
.pv3-bento { columns: 2; column-gap: 12px; }
@media (min-width: 900px) { .pv3-bento--3 { columns: 3; } .pv3-bento--4 { columns: 4; } .pv3-bento--2 { columns: 2; } }
.pv3-bento__item { position: relative; border-radius: var(--r-sm); overflow: hidden; background: #111; display: block; break-inside: avoid; margin-bottom: 12px; }
.pv3-bento__img img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out), filter .6s; }
.pv3-bento__item:hover .pv3-bento__img img { transform: scale(1.06); }
.pv3-bento__cap { position: absolute; left: 12px; bottom: 12px; right: 12px; font-size: 12.5px; padding: 8px 12px; border-radius: 10px; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(8px); transition: .4s var(--ease-out); }
.pv3-bento__item:hover .pv3-bento__cap { opacity: 1; transform: none; }
@media (hover: none) { .pv3-bento__cap { opacity: 1; transform: none; } }

/* ---------- Editions ---------- */
.pv3-editions { display: grid; gap: clamp(64px, 10vw, 140px); }
.pv3-edition { display: grid; gap: 32px; align-items: center; }
.pv3-edition__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: var(--ar, 4 / 5); background: #111; width: min(100%, calc(82svh * (var(--ar)))); margin-inline: auto; }
.pv3-edition__media img, .pv3-edition__media video { width: 100%; height: 100%; object-fit: cover; }
.pv3-edition__tag { position: absolute; top: 16px; left: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--fm); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.15); }
.pv3-edition__copy .pv3-h3 { margin: 16px 0 18px; }
.pv3-edition__lead { color: #d0cdc7; font-size: 18px !important; max-width: 32em; }
@media (min-width: 1024px) {
  .pv3-edition { grid-template-columns: 1fr 1fr; gap: 96px; }
  .pv3-edition--flip .pv3-edition__media { order: 2; }
}
.pv3-ticks { display: grid; gap: 14px; margin-top: 28px; }
.pv3-ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: #d8d5cf; font-size: 16px; }
.pv3-ticks .pv3-i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 2.4; margin-top: 1px; }
.pv3-ticks--x .pv3-i { background: rgba(255,255,255,.08); color: #ff6b6b; }

/* ---------- Reels ---------- */
.pv3-reels__grid { display: grid; gap: 48px; align-items: center; }
.pv3-reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.pv3-reel:nth-child(2) { transform: translateY(48px); }
.pv3-js .pv3-reel:nth-child(2):not(.is-in) { transform: translateY(84px); }
.pv3-reel__frame { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: var(--ar, 9 / 16); background: #000; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
.pv3-reel__frame video, .pv3-reel__frame img { width: 100%; height: 100%; object-fit: cover; }
.pv3-reel__sound { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; display: none; }
.pv3-reel figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
@media (min-width: 1024px) {
  .pv3-reels__grid { grid-template-columns: .9fr 1.1fr; gap: 96px; }
  .pv3-reels { gap: 20px; }
}

/* ---------- Specs ---------- */
.pv3-specs__grid { display: grid; gap: 40px; }
.pv3-specs { border-top: 1px solid var(--line); }
.pv3-specs__row { display: grid; grid-template-columns: minmax(120px, 1fr) 1.2fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pv3-specs dt { font-family: var(--fm); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pv3-specs dd { font-family: var(--fd); font-stretch: 105%; font-size: 18px; font-weight: 600; }
.pv3-specs__media { display: block; border-radius: var(--r); overflow: hidden; margin-top: 8px; max-width: 460px; }
.pv3-specs__media img { width: 100%; height: auto; }
@media (min-width: 1024px) { .pv3-specs__grid { grid-template-columns: .9fr 1.1fr; gap: 96px; } }

/* ---------- Versus ---------- */
.pv3-versus { position: relative; display: grid; gap: 14px; }
.pv3-versus__side { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.pv3-versus__side.is-good { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%); }
.pv3-versus__media { aspect-ratio: var(--ar, 16 / 10); overflow: hidden; }
/* both cards same height; images are cut to the same shape */
@media (min-width: 900px) { .pv3-versus { align-items: stretch; } }
.pv3-versus__media img { width: 100%; height: 100%; object-fit: cover; }
.pv3-versus__body { padding: 28px 28px 34px; }
.pv3-versus__body .pv3-h3 { margin-top: 12px; }
.pv3-versus__side:not(.is-good) { filter: saturate(.4); }
.pv3-versus__vs { display: none; }
@media (min-width: 900px) {
  .pv3-versus { grid-template-columns: 1fr 1fr; gap: 20px; }
  .pv3-versus__vs { display: grid; place-items: center; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; z-index: 2; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--fd); font-stretch: 125%; font-weight: 800; font-size: 20px; }
}

/* ---------- Comparison table & guides ---------- */
.pv3-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.pv3-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.pv3-table th, .pv3-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; color: #d6d3cd; }
.pv3-table thead th { font-family: var(--fm); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.pv3-table tbody th { color: var(--text); font-weight: 600; }
.pv3-table .is-us { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--text); font-weight: 600; }
.pv3-table thead .is-us { color: var(--accent); }
.pv3-table tr:last-child > * { border-bottom: 0; }
.pv3-guides { margin-top: 48px; display: grid; gap: 0; }
.pv3-guides__label { font-family: var(--fm); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px !important; }
.pv3-guide { display: grid; grid-template-columns: 48px 1fr 28px; gap: 12px; align-items: center; padding: 22px 4px; border-top: 1px solid var(--line); transition: padding .4s var(--ease-out), color .3s; }
.pv3-guide:last-child { border-bottom: 1px solid var(--line); }
.pv3-guide__n { font-family: var(--fm); font-size: 12px; color: var(--dim); }
.pv3-guide__t { font-family: var(--fd); font-stretch: 105%; font-size: clamp(17px, 1.8vw, 22px); font-weight: 600; }
.pv3-guide .pv3-i { transition: transform .4s var(--ease-out); }
.pv3-guide:hover { padding-left: 16px; color: var(--accent); }
.pv3-guide:hover .pv3-i { transform: translateX(6px); }

/* ---------- Swatches ---------- */
.pv3-swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 744px) { .pv3-swatches { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.pv3-swatch { display: block; }
.pv3-swatch__img { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: #151515; transform: perspective(800px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .5s var(--ease-out), box-shadow .5s; position: relative; }
.pv3-swatch__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 48%, transparent 60%); transform: translateX(-100%); transition: transform 1s var(--ease-out); }
.pv3-swatch:hover .pv3-swatch__img::after { transform: translateX(100%); }
.pv3-swatch:hover .pv3-swatch__img { box-shadow: 0 30px 50px -24px rgba(0,0,0,.9); }
.pv3-swatch__img img { width: 100%; height: 100%; object-fit: cover; }
.pv3-swatch span { display: block; margin-top: 12px; font-size: 14px; color: #d6d3cd; }

/* ---------- Light test (gloss vs matte) ---------- */
.pv3-light { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-radius: var(--r); padding: 12px; background: var(--card); border: 1px solid var(--line); cursor: crosshair; touch-action: pan-y; }
.pv3-light__panel { position: relative; border-radius: calc(var(--r) - 8px); overflow: hidden; aspect-ratio: 4 / 5; background: #1b1c1e; }
@media (min-width: 744px) { .pv3-light__panel { aspect-ratio: 4 / 3; } }
.pv3-light__surface { position: absolute; inset: 0; }
.pv3-light__panel--gloss .pv3-light__surface { background:
  radial-gradient(70px 70px at var(--lx, 40%) var(--ly, 35%), rgba(255,255,255,.95), rgba(255,255,255,.4) 30%, transparent 70%),
  radial-gradient(260px 160px at var(--lx, 40%) var(--ly, 35%), rgba(255,255,255,.1), transparent 70%),
  linear-gradient(160deg, #2a2c30, #0d0e10); }
.pv3-light__panel--matte .pv3-light__surface { background:
  radial-gradient(420px 360px at var(--lx, 40%) var(--ly, 35%), rgba(230,222,210,.28), transparent 70%),
  linear-gradient(160deg, #3a3a3a, #202020); }
.pv3-light__panel--matte .pv3-light__surface::after { content: ""; position: absolute; inset: 0; opacity: .25; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.pv3-light__label { position: absolute; left: 18px; bottom: 16px; right: 18px; }
.pv3-light__label strong { display: block; font-family: var(--fd); font-stretch: 120%; font-size: clamp(18px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: -.01em; }
.pv3-light__label span { font-size: 13px; color: rgba(255,255,255,.65); }
.pv3-light__hint { grid-column: 1 / -1; text-align: center; font-family: var(--fm); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 4px 0 2px; }

/* ---------- Split ---------- */
.pv3-split { display: grid; gap: 40px; align-items: center; }
.pv3-split__media { border-radius: var(--r); overflow: hidden; aspect-ratio: var(--ar, 4 / 5); background: #111; width: min(100%, calc(80svh * (var(--ar)))); margin-inline: auto; }
.pv3-split__media img, .pv3-split__media video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .pv3-split { grid-template-columns: 1fr 1fr; gap: 96px; } .pv3-split--flip .pv3-split__media { order: 2; } }

/* ---------- FAQ ---------- */
.pv3-faq__grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .pv3-faq__grid { grid-template-columns: .8fr 1.2fr; gap: 96px; } }
.pv3-faq details { border-top: 1px solid var(--line); }
.pv3-faq details:last-child { border-bottom: 1px solid var(--line); }
.pv3-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--fd); font-stretch: 105%; font-weight: 600; font-size: clamp(17px, 1.7vw, 21px); }
.pv3-faq summary::-webkit-details-marker { display: none; }
.pv3-faq summary i { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, transform .4s var(--ease-out); }
.pv3-faq summary i::before, .pv3-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .4s var(--ease-out); }
.pv3-faq summary i::after { transform: rotate(90deg); }
.pv3-faq details[open] summary i { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(180deg); }
.pv3-faq details[open] summary i::after { transform: rotate(0deg); }
.pv3-faq__a { padding: 0 52px 26px 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- CTA band ---------- */
.pv3-cta { position: relative; border-radius: calc(var(--r) + 8px); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; border: 1px solid var(--line); background: var(--bg-2); isolation: isolate; }
.pv3-cta--media { display: grid; align-items: center; min-height: 0; background: radial-gradient(800px 500px at 85% 50%, var(--glow), transparent 70%), var(--bg-2); }
.pv3-cta__media { border-radius: var(--r); overflow: hidden; aspect-ratio: var(--ar); width: min(100%, calc(64svh * (var(--ar)))); margin: clamp(20px, 4vw, 40px) auto 0; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
.pv3-cta__media img, .pv3-cta__media video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .pv3-cta--media { grid-template-columns: 1.1fr .9fr; }
  .pv3-cta--media .pv3-cta__media { order: 2; margin: 40px 40px 40px 0; }
}
.pv3-cta__body { padding: clamp(28px, 6vw, 72px); max-width: 760px; }
.pv3-cta .pv3-intro { color: #d4d1cb; }

/* ---------- Related ---------- */
.pv3-related { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pv3-related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pv3-related { grid-template-columns: repeat(4, 1fr); } }
.pv3-rel { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease-out); }
.pv3-rel:hover { border-color: var(--line-2); transform: translateY(-6px); }
.pv3-rel__img { aspect-ratio: 4 / 3; overflow: hidden; }
.pv3-fit { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #111; }
.pv3-fit__bg { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(22px) brightness(.55) saturate(1.2); }
.pv3-fit__img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease-out); }
.pv3-rel:hover .pv3-fit__img { transform: scale(1.05); }
.pv3-rel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); } /* 4:3 card images, whole car */
.pv3-rel:hover .pv3-rel__img img { transform: scale(1.04); }
.pv3-rel__body { padding: 20px 22px 24px; }
.pv3-rel h3 { font-family: var(--fd); font-stretch: 110%; font-size: 20px !important; }
.pv3-rel p { color: var(--muted); font-size: 14px !important; margin-top: 6px !important; }
.pv3-rel__go { position: absolute; right: 18px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.pv3-rel:hover .pv3-rel__go { background: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }
.pv3-related-sec { padding-bottom: var(--sec); }

/* ---------- Fancybox caption tweak ---------- */
.fancybox-caption__body { font-family: "Inter", system-ui, sans-serif; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .pv3 *, .pv3 *::before, .pv3 *::after { animation: none !important; transition: none !important; }
  .pv3-js [data-reveal], .pv3-js .pv3-hero__in, .pv3-js .pv3-display .pv3-wi { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .pv3-js .pv3-statement .pv3-sw { --o: 1; }
}
