/*
 * Monarossa storefront.
 * Design read: premium forged-wheel store for car enthusiasts, cold-luxury engineered language,
 * native CSS tokens, Geist, restrained fluid motion. Dials: variance 7, motion 5, density 3.
 *
 * System rules (keep them when adding components):
 * - One accent: Monarossa bordeaux. Neutrals are one cool graphite family in both themes.
 * - One shape system: media and cards 14px, inputs 10px, buttons and pills fully rounded.
 * - All pages are built with data-theme="light"; the dark palette below applies only to data-theme="auto" (unused).
 * - Small labels are sentence case; no wide-tracked uppercase micro labels.
 */

@font-face { font-family: Geist; src: url('/assets/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f3f4f5;
  --surface: #fafafb;
  --surface-2: #eaecee;
  --surface-3: #dfe2e5;
  --text: #121417;
  --text-2: #3c4148;
  --muted: #5f656c;
  --line: #d8dce0;
  --line-strong: #bfc5cb;
  --accent: #8b0f06;
  --accent-strong: #6c0b04;
  --accent-ink: #8b0f06;
  --on-accent: #f8f1f0;
  --mark: #8b0f06;
  --media: #ffffff; /* packshots are shot on pure white, so their tiles match it exactly */
  --ok: #2c6a38;
  --ok-bg: #e3eee5;
  --err-bg: #f5e6e4;
  --shadow: 18 22 28;

  --font: Geist, 'Segoe UI', system-ui, sans-serif;
  --mono: var(--font);
  --r-media: 14px;
  --r-input: 10px;
  --r-pill: 999px;
  --gutter: max(5vw, 20px);
  --header: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Names used by older components and the admin panel. */
  --red: var(--accent);
  --deep: var(--accent-strong);
  --ink: var(--text);
  --paper: var(--surface-2);
  --on-red: #f3dcd9;
  --serif: var(--font);
  --sans: var(--font);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme='auto'] {
    --bg: #0d0e10;
    --surface: #15171a;
    --surface-2: #1b1e22;
    --surface-3: #252930;
    --text: #eceef1;
    --text-2: #c3c8ce;
    --muted: #949aa2;
    --line: #2a2e34;
    --line-strong: #3c424a;
    --accent: #a11409;
    --accent-strong: #c01c10;
    --accent-ink: #f0766b;
    --on-accent: #fbf3f2;
    --mark: #eceef1;
    --ok: #86c793;
    --ok-bg: #15251a;
    --err-bg: #2b1513;
    --shadow: 0 0 0;
    color-scheme: dark;
  }
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; font-synthesis: none; font-feature-settings: 'ss01'; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { cursor: not-allowed; opacity: .5; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2 { font-family: var(--font); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5vw, 72px); }
h2 { font-size: clamp(30px, 3.4vw, 50px); }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }
p { text-wrap: pretty; }
p + p { margin-top: 1em; }
strong, b { font-weight: 600; }
[hidden] { display: none !important; }

/* Phosphor icons (light weight), filled with the current text colour. */
.i { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; }
.i-sm { width: 15px; height: 15px; }
.i-lg { width: 30px; height: 30px; }

/* Film grain: fixed and inert, so it never repaints while scrolling. */
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Scroll reveal: set by app.js only on elements that start below the fold. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--reveal-delay, 0ms), transform 1s var(--ease) var(--reveal-delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

.eyebrow { display: block; color: var(--accent-ink); font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: -.005em; }
.muted, .fine-print { color: var(--muted); font-size: 14px; line-height: 1.7; }
.fine-print { display: flex; gap: 8px; align-items: flex-start; }
.fine-print a, .muted a, .checkbox a { text-decoration: underline; text-underline-offset: 3px; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 12px 16px; border-radius: var(--r-pill); background: var(--surface); color: var(--accent-ink); transform: translateY(-150%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section { max-width: 1440px; margin: 0 auto; padding: 104px var(--gutter) 112px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.section-title h2 { margin-top: 10px; }

/* ---------------------------------------------------------------- brand marks */

.wordmark { display: block; width: 200px; height: 36px; flex: none; line-height: 0; color: var(--mark); }
.brand-wordmark, .brand-crown { display: block; background: currentColor; -webkit-mask: var(--mask) center / contain no-repeat; mask: var(--mask) center / contain no-repeat; }
.brand-wordmark { width: 100%; height: 100%; --mask: url('/assets/brand/monarossa-wordmark.png'); }
.brand-crown { --mask: url('/assets/brand/monarossa-crown.png'); width: var(--s, 44px); height: calc(var(--s, 44px) * .764); }
.crown-36 { --s: 36px; } .crown-58 { --s: 58px; } .crown-86 { --s: 86px; } .crown-94 { --s: 94px; }

/* ---------------------------------------------------------------- buttons & links */

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 12px 14px 12px 24px; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; transition: background-color .25s var(--ease), border-color .25s, color .25s, transform .2s var(--ease), box-shadow .3s var(--ease); }
.button .i { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgb(255 255 255 / .14); transition: transform .35s var(--ease); }
.button:hover:not(:disabled) { background: var(--accent-strong); box-shadow: 0 14px 30px -16px rgb(139 15 6 / .7); }
.button:hover:not(:disabled) .i { transform: translate(2px, -2px); }
.button:active:not(:disabled) { transform: scale(.98); }
.button.white { background: #f7f8f9; color: #121417; }
.button.white .i { background: rgb(18 20 23 / .08); }
.button.white:hover:not(:disabled) { background: #e7e9ec; box-shadow: none; }
.button.outline { background: transparent; border-color: var(--line-strong); color: var(--text); }
.button.outline .i { background: var(--surface-2); }
.button.outline:hover:not(:disabled) { border-color: var(--text); background: var(--surface-2); box-shadow: none; }
.button.small { min-height: 40px; padding: 7px 10px 7px 16px; gap: 10px; font-size: 14px; }
.button.small .i { width: 24px; height: 24px; padding: 5px; }
.button.block { width: 100%; justify-content: space-between; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .25s, gap .35s var(--ease); }
.text-link:hover { gap: 16px; color: var(--accent-ink); }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--muted); transition: background-color .2s, color .2s; }
.icon-button:hover { background: var(--surface-2); color: var(--accent-ink); }

/* ---------------------------------------------------------------- header & footer */

/* Brand bar: Monarossa bordeaux in both themes, with the wordmark and navigation in white. */
.header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 30px; height: var(--header); padding: 0 var(--gutter); background: linear-gradient(180deg, #8f0a02, #850700 55%, #760600); color: #fff; box-shadow: inset 0 -1px rgb(255 255 255 / .12), 0 14px 36px -20px rgb(60 2 0 / .6); }
.header .wordmark { color: #fff; }
.header :focus-visible { outline-color: #fff; }
.nav { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 8px 14px; border-radius: var(--r-pill); color: rgb(255 255 255 / .82); transition: background-color .2s, color .2s; }
.nav a:hover { color: #fff; background: rgb(255 255 255 / .12); }
.nav a[aria-current='page'] { color: #fff; background: rgb(255 255 255 / .16); }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.nav-tools a, .menu-toggle { color: #fff; }
.nav-tools a { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background-color .2s; }
.nav-tools a:hover, .menu-toggle:hover { background: rgb(255 255 255 / .12); }
.nav-tools .i { width: 21px; height: 21px; }
.cart-count { position: absolute; top: 1px; right: -1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: #fff; color: #850700; font: 600 10.5px/18px var(--mono); text-align: center; }
.cart-count:empty { display: none; }
.menu-toggle { display: none; width: 40px; height: 40px; place-items: center; border-radius: 50%; }

footer { margin-top: 0; padding: 88px var(--gutter) 0; background: radial-gradient(90% 140% at 10% 0%, #7a0600, #4f0400 55%, #2e0200); color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 48px; max-width: 1440px; margin: 0 auto; padding-bottom: 72px; }
.footer-main .wordmark { color: #fff; }
.footer-main p { margin: 22px 0; max-width: 32ch; color: #e9c9c5; font-size: 15px; }
.footer-main .brand-crown { color: #fff; }
.footer-main h4 { margin: 4px 0 18px; color: #d9a9a3; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: lowercase; }
.footer-main h4::first-letter { text-transform: uppercase; }
.footer-main nav a { display: block; width: fit-content; margin-top: 10px; color: #f6e9e7; font-size: 15px; transition: color .2s; }
.footer-main nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; max-width: 1440px; margin: 0 auto; padding: 24px 0 28px; border-top: 1px solid rgb(255 255 255 / .14); color: #d9a9a3; font: 400 12px/1.5 var(--mono); }

/* ---------------------------------------------------------------- trust and offer (home, product, wheel finder) */

.fact-grid { display: grid; gap: 16px; }
.fact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact-grid article { padding: 26px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fact-grid strong { display: block; margin: 6px 0 8px; font-size: 26px; letter-spacing: -.02em; }
.fact-grid p { margin: 0; color: var(--text-2); }
.forging-section.turnkey { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); }
.turnkey .forging-steps .wide { grid-column: 1 / -1; }
.delivery-choice { margin: 14px 0 6px; }
.not-for-list { display: grid; gap: 10px; margin: 0; padding-left: 20px; color: var(--text-2); font-size: 18px; }
.not-for { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.not-for img { width: 100%; height: auto; border-radius: var(--r-media); }
.founder { display: flex; gap: 40px; align-items: center; }
.founder p { max-width: 62ch; color: var(--text-2); font-size: 17px; }
.faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; }
.faq details p { margin: 10px 0 0; max-width: 70ch; color: var(--text-2); }
.fit-card { max-width: 640px; margin: 0 auto; padding: 32px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fit-card h2 { margin: 0 0 22px; }
.fit-card .button { margin-top: 18px; }
.fit-progress { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.fit-choices { display: grid; gap: 10px; }
.fit-choices button { padding: 16px 18px; border-radius: 12px; background: var(--surface-2); color: var(--text); text-align: left; }
.fit-choices button:hover { box-shadow: inset 0 0 0 1px var(--accent-ink); }
.fit-choices b, .fit-choices small { display: block; }
.fit-choices small { margin-top: 2px; color: var(--text-2); }
.fit-form { max-width: 640px; margin: 56px auto 0; }
@media (max-width: 900px) {
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .forging-section.turnkey, .not-for { grid-template-columns: 1fr; }
  .turnkey .forging-intro { order: -1; }
  .founder { flex-direction: column; align-items: flex-start; }
}

.crm-list { display: grid; gap: 8px; margin: 12px 0 20px; }
.crm-entry { padding: 14px 16px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.crm-entry summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; }
.crm-entry[open] summary { margin-bottom: 14px; }
.crm-entry form { margin-bottom: 12px; }

.privacy-backdrop { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgb(0 0 0 / .5); }
.privacy-backdrop.reading { place-items: end center; background: none; pointer-events: none; }
.privacy-notice { display: grid; gap: 12px; width: 100%; max-width: 460px; padding: 28px; border-radius: 20px; color: var(--ink, inherit); background: var(--surface); box-shadow: 0 18px 60px rgb(0 0 0 / .3); pointer-events: auto; }
.privacy-notice h2 { margin: 0; font-size: 1.25rem; }
.privacy-notice p { margin: 0; }
.privacy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.privacy-actions .button { min-width: 0; padding-inline: 8px; text-align: center; }
@media (max-width: 767px) {
  .privacy-backdrop { place-items: end stretch; padding: 0; }
  .privacy-notice { min-height: 25dvh; max-width: none; align-content: center; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
}
@media print { .privacy-backdrop { display: none; } }

/* ---------------------------------------------------------------- hero (home) */

.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; min-height: min(calc(100dvh - var(--header)), 920px); padding: 96px var(--gutter) 88px; background: #120604; color: #f3f4f5; }
/* Background film. The frame is cropped in the file itself so the browser adds no extra zoom. */
.hero-video { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(90deg, rgb(14 6 5 / .86) 0%, rgb(30 6 4 / .55) 42%, rgb(20 5 4 / .12) 72%), linear-gradient(0deg, rgb(10 4 3 / .7), transparent 45%); }
.hero-light { position: absolute; inset: -30% -10%; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .05) 46%, rgb(255 255 255 / .015) 52%, transparent 60%); animation: sweep 12s var(--ease) infinite; }
.hero-outline { position: absolute; left: -.03em; bottom: -.2em; z-index: -1; font: 600 clamp(120px, 17vw, 300px)/1 var(--font); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .08); white-space: nowrap; pointer-events: none; user-select: none; }
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy .eyebrow { color: #f3c9c4; }
.hero-copy h1 { margin: 0 0 22px; font-size: clamp(44px, 5.6vw, 84px); line-height: .98; letter-spacing: -.045em; }
.hero-copy p { max-width: 430px; margin-bottom: 34px; color: #d8dbdf; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-secondary { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.hero-pause { position: absolute; right: var(--gutter); bottom: 32px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgb(255 255 255 / .28); border-radius: var(--r-pill); background: rgb(14 6 5 / .35); color: #f3f4f5; font-size: 13px; font-weight: 500; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s; }
.hero-pause:hover { background: rgb(255 255 255 / .14); }

@keyframes turn { to { transform: rotate(360deg); } }
@keyframes sweep { 0% { transform: translateX(-35%); } 60%, 100% { transform: translateX(35%); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* ---------------------------------------------------------------- product cards */

.product-grid, .rewards-grid { --gap: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 48px var(--gap); }
.product-grid > *, .rewards-grid > * { flex: 0 0 calc((100% - (var(--cols, 3) - 1) * var(--gap)) / var(--cols, 3)); min-width: 0; }
.product-grid > .empty { flex-basis: 100%; }
.product-card { display: block; border-radius: var(--r-media); }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-media); background: var(--media); box-shadow: inset 0 0 0 1px rgb(var(--shadow) / .06); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.product-card:hover .product-image { transform: translateY(-4px); box-shadow: inset 0 0 0 1px transparent, 0 34px 60px -36px rgb(var(--shadow) / .45); }
/* Studio shots with a floor gradient are feathered into the light tile, so every packshot sits on the same white. Photos on pure white ("-cut.webp") stay whole. */
.product-image img:not([src$="-cut.webp"]), .stage-main img:not([src$="-cut.webp"]) { -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent) content-box, linear-gradient(#000 82%, transparent 98%) content-box; -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent) content-box, linear-gradient(#000 82%, transparent 98%) content-box; mask-composite: intersect; }
.product-image img { width: 100%; height: 100%; padding: 6% 6% 5%; object-fit: contain; transition: transform .9s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.04) rotate(-2deg); }
.round-arrow { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .35s, transform .5s var(--ease); }
.product-card:hover .round-arrow, .product-card:focus-visible .round-arrow { opacity: 1; transform: none; }
.product-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 16px; margin-top: 18px; }
.product-series { grid-column: 1 / -1; color: var(--muted); font: 400 12.5px/1.5 var(--mono); }
.product-line h3 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.product-price { color: var(--text-2); font: 500 13.5px/1.4 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-card > p { margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.product-card.is-soldout .product-image img { opacity: .55; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 11px; border-radius: var(--r-pill); background: #121417; color: #f3f4f5; font-size: 12px; font-weight: 500; }
.skeleton .product-image { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton .product-line { height: 28px; border-radius: 8px; background: var(--surface-2); }
@keyframes shimmer { to { background-position: -150% 0; } }

/* Home: one lead model, two supporting ones. */
.featured-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px 24px; }
.featured-grid > :first-child { grid-row: span 2; display: flex; flex-direction: column; }
.featured-grid > :first-child .product-image { flex: 1; aspect-ratio: auto; min-height: 440px; }
.featured-grid > :first-child .product-line h3 { font-size: 34px; letter-spacing: -.035em; }
.featured-grid > :not(:first-child) .product-image { aspect-ratio: 5 / 4; }
.featured-grid > :not(:first-child) .product-image img { padding: 3%; }

/* ---------------------------------------------------------------- home sections */

.car-story { position: relative; height: min(720px, 92svh); margin: 0 var(--gutter); overflow: hidden; border-radius: var(--r-media); color: #f3f4f5; }
.car-story > img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.car-story::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 11 13 / .84), rgb(10 11 13 / .3) 55%, transparent 80%); }
.car-story > div { position: absolute; left: clamp(28px, 5vw, 80px); bottom: clamp(32px, 6vw, 80px); z-index: 1; max-width: 620px; }
.car-story h2 { margin: 0 0 18px; font-size: clamp(32px, 3.8vw, 56px); }
.car-story p { max-width: 46ch; margin-bottom: 30px; color: #d6d9dd; font-size: 17px; }

.road { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.road-head { grid-column: 1 / 6; grid-row: 1; padding-top: 12px; }
.road-head p { max-width: 40ch; margin: 18px 0 28px; color: var(--text-2); font-size: 17px; }
.road figure { overflow: hidden; border-radius: var(--r-media); }
.road img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.road figure:hover img { transform: scale(1.03); }
.road-main { grid-column: 6 / 13; grid-row: 1 / 3; aspect-ratio: 1; }
.road-side { grid-column: 2 / 6; grid-row: 2; aspect-ratio: 2 / 3; margin-top: 56px; }

.club-banner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.club-copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 88px); border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.club-copy .brand-crown { margin-bottom: 22px; color: var(--accent-ink); }
.club-banner h2 { margin: 10px 0 32px; font-size: clamp(32px, 3.2vw, 48px); }
.club-benefits { display: grid; gap: 22px; margin: 0 0 38px; padding: 0; list-style: none; }
.club-benefits li { display: flex; align-items: flex-start; gap: 16px; }
.club-benefits .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--surface-2); color: var(--accent-ink); }
.club-benefits span { color: var(--muted); font-size: 15px; }
.club-benefits b { display: block; color: var(--text); font-size: 16px; font-weight: 600; }
.club-copy .button { align-self: flex-start; }
.club-copy .button.white { background: var(--accent); color: var(--on-accent); }
.club-copy .button.white .i { background: rgb(255 255 255 / .14); }
.club-copy .button.white:hover:not(:disabled) { background: var(--accent-strong); }
.club-media { min-height: 600px; overflow: hidden; border-radius: var(--r-media); }
.club-media img { width: 100%; height: 100%; object-fit: cover; }

.closing { max-width: 1440px; margin: 104px auto 0; padding: 120px var(--gutter) 128px; border-top: 1px solid var(--line); text-align: left; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 40px; }
.closing .brand-crown { grid-row: 1 / 3; margin: 0; color: var(--accent-ink); }
.closing h2 { grid-column: 2; margin: 0 0 10px; }
.closing .eyebrow { grid-column: 2; }
.closing p { grid-column: 2; max-width: 52ch; margin: 0; color: var(--text-2); font-size: 17px; }
.closing .button { grid-column: 3; grid-row: 1 / 3; }
.closing > a:not(.button) { grid-column: 2; display: block; margin-top: 18px; color: var(--muted); font-size: 15px; }
.closing > a:not(.button):hover { color: var(--accent-ink); }

/* ---------------------------------------------------------------- page chrome */

.page-intro { --intro: url('/assets/photos/kampania-ruch.webp'); position: relative; margin: 16px var(--gutter) 0; padding: clamp(72px, 10vw, 128px) clamp(28px, 6vw, 88px) clamp(56px, 7vw, 96px); overflow: hidden; border-radius: var(--r-media); background: linear-gradient(90deg, rgb(10 11 13 / .9), rgb(10 11 13 / .55) 60%, rgb(10 11 13 / .35)), var(--intro) center 45% / cover, #121417; color: #f3f4f5; text-align: left; }
.intro-szprychy { --intro: url('/assets/photos/kampania-szprychy.webp'); }
.intro-modelka { --intro: url('/assets/photos/kampania-modelka.webp'); }
.intro-aura { --intro: url('/assets/photos/kampania-aura-pion.webp'); }
.intro-tarcza { --intro: url('/assets/photos/kampania-aura-tarcza.webp'); }
.page-intro .eyebrow { color: #f3c9c4; }
.page-intro h1 { max-width: 16ch; margin-top: 12px; font-size: clamp(40px, 5vw, 72px); }
.page-intro .lead { max-width: 560px; margin: 20px 0 0; color: #d0d4d9; font-size: 18px; }
.page-intro + .section { padding-top: 88px; }
.intro-text { max-width: 720px; margin: 28px 0 0; }
.intro-text p { margin: 0 0 14px; color: #d0d4d9; font-size: 17px; line-height: 1.7; }
.intro-text p:last-child { margin: 26px 0 0; }
.intro-text strong { color: #f7f8f9; font-weight: 600; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; padding: 24px var(--gutter); color: var(--muted); font-size: 14px; }
.breadcrumbs a { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs a:hover { color: var(--accent-ink); }

.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 64px 24px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.empty .brand-crown { color: var(--accent-ink); }
.empty p { max-width: 520px; color: var(--muted); }

.notice { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 26px; padding: 16px 18px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.notice .i { margin-top: 3px; color: var(--accent-ink); }
.notice-after { margin: 48px 0 0; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 100; display: flex; align-items: center; gap: 22px; max-width: min(560px, calc(100vw - 30px)); padding: 14px 16px 14px 22px; border-radius: var(--r-pill); background: #121417; color: #f3f4f5; box-shadow: 0 18px 40px -16px rgb(0 0 0 / .4); font-size: 15px; transform: translateX(-50%); animation: rise .35s var(--ease); }
.toast button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.toast button:hover { background: rgb(255 255 255 / .12); }

/* ---------------------------------------------------------------- forms */

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 14px; font-weight: 500; }
.field small { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-input); background: var(--surface); color: var(--text); font-size: 16px; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-ink) 22%, transparent); }
input[type='checkbox'], input[type='radio'] { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; accent-color: var(--accent); box-shadow: none; }
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; padding-right: 40px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23808790' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .span { grid-column: 1 / -1; }
.checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.6; }
.checkbox input { margin-top: 3px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.message { padding: 14px 18px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-size: 15px; }
.message.error { background: var(--err-bg); color: var(--accent-ink); }
.message:empty { display: none; }
.segmented { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); }
.segmented button { flex: 1; padding: 11px 10px; border-radius: 10px; color: var(--text-2); font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s, box-shadow .2s; }
.segmented button small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; opacity: .75; }
.segmented button[aria-pressed='true'] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgb(var(--shadow) / .12), 0 0 0 1px var(--line); }
.panel { padding: 34px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.disclosure { margin: 14px 0; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.disclosure > summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary .i { transition: transform .25s var(--ease); }
.disclosure[open] > summary .chev { transform: rotate(90deg); }
.disclosure > :not(summary) { margin: 0 20px 20px; }

/* ---------------------------------------------------------------- collection */

.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.filter-tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); }
.filter-tabs button { padding: 9px 18px; border-radius: var(--r-pill); color: var(--text-2); font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s, box-shadow .2s; }
.filter-tabs button:hover { color: var(--text); }
.filter-tabs button[aria-pressed='true'] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgb(var(--shadow) / .12), 0 0 0 1px var(--line); }
.catalog-tools { display: flex; gap: 10px; }
.search { position: relative; }
.search .i { position: absolute; left: 14px; top: 50%; color: var(--muted); transform: translateY(-50%); }
.search input { width: 240px; padding-left: 42px; border-radius: var(--r-pill); }
.catalog-tools select { width: 200px; border-radius: var(--r-pill); padding-left: 18px; }
.catalog-count { display: flex; align-items: baseline; gap: 14px; margin-bottom: 32px; font: 500 14px/1.4 var(--mono); }
.catalog-count span { color: var(--muted); font: 400 14px/1.4 var(--font); }

/* ---------------------------------------------------------------- configurator */

.configurator { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: 5vw; padding: 0 var(--gutter) 96px; }
.product-stage { position: sticky; top: calc(var(--header) + 24px); }
.stage-main { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-media); background: var(--media); box-shadow: inset 0 0 0 1px rgb(var(--shadow) / .06); }
.stage-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs button { aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--media); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.thumbs button[aria-pressed='true'] { box-shadow: inset 0 0 0 2px var(--accent-ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-stage .fine-print { margin-top: 14px; }
.config-panel h1 { margin: 8px 0 16px; font-size: clamp(40px, 4vw, 60px); }
.config-description { color: var(--text-2); font-size: 17px; }
.config-price { margin: 24px 0 6px; font: 500 30px/1.2 var(--mono); letter-spacing: -.02em; }
.config-price small { display: block; margin-top: 6px; color: var(--muted); font: 400 14px/1.4 var(--font); letter-spacing: 0; }
.config-step { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.config-step > h2 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.config-step > h2 span { color: var(--accent-ink); font: 500 13px var(--mono); }
.config-step .segmented { margin-bottom: 20px; }
.config-step .checkbox { margin: 18px 0; }
.finish-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.finish-grid button { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: left; font-size: 14px; font-weight: 500; transition: box-shadow .2s; }
.finish-grid button:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.finish-grid button[aria-pressed='true'] { box-shadow: inset 0 0 0 2px var(--accent-ink); }
.finish-grid small { display: block; color: var(--muted); font: 400 12px var(--mono); }
.swatch { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid rgb(0 0 0 / .18); background: linear-gradient(135deg, #f4f4f4, #a8a8a8); }
.swatch[data-finish='czarny'] { background: linear-gradient(135deg, #3a3a3a, #0c0c0c); }
.swatch[data-finish='złoty'] { background: linear-gradient(135deg, #f0d894, #9c7a2c); }
.swatch[data-finish='brushed'] { background: repeating-linear-gradient(90deg, #d8d8d6 0 2px, #bdbdbb 2px 4px); }
.swatch[data-finish='polished'] { background: radial-gradient(circle at 30% 30%, #fff, #c9c9c9 45%, #8c8c8c); }
.swatch[data-finish='chrome'] { background: linear-gradient(135deg, #fff 0%, #8a8f96 40%, #f5f5f5 55%, #50555c 100%); }
.config-total { display: flex; align-items: center; justify-content: space-between; margin: 32px 0 20px; padding-top: 26px; border-top: 1px solid var(--line); }
.config-total span { color: var(--muted); font-size: 14px; }
.config-total strong { font: 500 30px/1 var(--mono); letter-spacing: -.02em; }
.added { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 18px; border-radius: 12px; background: var(--ok-bg); }
.added p { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; }

/* ---------------------------------------------------------------- cart & checkout */

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 5vw; }
.cart-items { margin-bottom: 26px; }
.cart-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 22px; padding: 22px 0; }
.cart-item + .cart-item { border-top: 1px solid var(--line); }
.cart-item img { width: 120px; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: var(--media); }
.cart-item h3 { margin: 4px 0 8px; font-size: 22px; }
.cart-item p { color: var(--muted); font-size: 14px; }
.cart-item p + p { margin-top: 2px; }
.cart-item strong { display: block; margin-top: 10px; font-family: var(--mono); font-weight: 500; }
.checkout-summary { position: sticky; top: calc(var(--header) + 24px); padding: 34px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.checkout-summary > h2 { margin-bottom: 22px; font-size: 30px; }
.summary-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 15px; }
.summary-line + .summary-line { border-top: 1px solid var(--line); }
.summary-line strong { font-family: var(--mono); font-weight: 500; }
.summary-line.total { margin-bottom: 26px; padding: 18px 0; border-top: 1px solid var(--line-strong); font-size: 17px; font-weight: 600; }
.checkout-summary h3 { margin-top: 10px; }
.checkout-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: 12px; background: var(--surface-2); font-size: 15px; }
.checkout-note .i { margin-top: 3px; color: var(--accent-ink); }
.success { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 110px 24px; text-align: center; }
.success .i { width: 60px; height: 60px; color: var(--accent-ink); }
.success p { color: var(--muted); }

/* ---------------------------------------------------------------- account */

.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; min-height: 760px; padding: 16px var(--gutter) 96px; }
.auth-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(40px, 5vw, 72px); border-radius: var(--r-media); background: #140705; color: #f3f4f5; }
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.auth-brand::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(12 5 4 / .9), rgb(12 5 4 / .2) 70%); }
.auth-brand .brand-crown { color: #fff; }
.auth-brand h1 { margin: 16px 0 18px; font-size: clamp(38px, 3.6vw, 56px); }
.auth-brand p { max-width: 380px; color: #d0d4d9; font-size: 17px; }
.auth-brand .eyebrow { margin-top: 22px; color: #f3c9c4; }
.auth-panel { max-width: 620px; padding: 48px max(4vw, 24px); }
.auth-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); }
.auth-tabs button { padding: 9px 20px; border-radius: var(--r-pill); color: var(--text-2); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; }
.auth-tabs button[aria-pressed='true'] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgb(var(--shadow) / .12), 0 0 0 1px var(--line); }
.auth-panel h2 { margin: 36px 0 26px; font-size: 36px; }
.auth-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }

.account-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 5vw; }
.account-nav { position: sticky; top: calc(var(--header) + 24px); overflow: hidden; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.member-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: linear-gradient(135deg, var(--accent), #4a0703); color: #f7f1f0; }
.member-card span { overflow-wrap: anywhere; color: #f0d4d0; font-size: 14px; }
.member-card small { font: 400 12px var(--mono); }
.account-nav button, .account-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 14px 22px; font-size: 15px; text-align: left; color: var(--text-2); transition: background-color .2s, color .2s; }
.account-nav button + button, .account-nav button + a, .account-nav a + a, .account-nav a + button { border-top: 1px solid var(--line); }
.account-nav button:hover, .account-nav a:hover { background: var(--surface-2); color: var(--text); }
.account-nav [aria-current='true'] { background: var(--surface-2); color: var(--accent-ink); font-weight: 600; }
.account-content { min-width: 0; }
.account-content h2 { margin-bottom: 22px; font-size: 34px; }
.account-content .section-title { align-items: center; margin-bottom: 22px; }
.account-content .section-title h2 { margin: 0; }
.subtitle { margin: 40px 0 18px; }
.garage-cars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.garage-cars article { position: relative; padding: 24px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.garage-cars h3 { margin-top: 14px; }
.garage-cars p { color: var(--muted); font-size: 15px; }
.garage-cars .icon-button { position: absolute; top: 12px; right: 12px; }
.set-card { margin-bottom: 22px; padding: 30px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.set-card h3 { margin: 10px 0; font-size: 28px; letter-spacing: -.03em; }
.set-card p { font-size: 15px; }
.serials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; margin: 18px 0; padding: 18px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.serials b { font-family: var(--mono); font-weight: 500; }
.order-card { margin: 12px 0; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.order-card > summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none; font-size: 15px; }
.order-card > summary::-webkit-details-marker { display: none; }
.order-card small { display: block; color: var(--muted); font-size: 13px; }
.order-lines { padding: 0 22px 18px; }
.order-lines p { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.status-badge { display: inline-block; padding: 4px 11px; border-radius: var(--r-pill); background: var(--err-bg); color: var(--accent-ink); font-size: 12.5px; font-weight: 500; }
.status-badge[data-status='fulfilled'], .status-badge[data-status='paid'] { background: var(--ok-bg); color: var(--ok); }
.status-badge[data-status='cancelled'] { background: var(--surface-2); color: var(--muted); }
.points-hero { padding: 40px; border-radius: var(--r-media); background: linear-gradient(135deg, var(--accent), #4a0703); color: #f7f1f0; }
.points-hero span { font: 400 13px var(--mono); color: #f0d4d0; }
.points-hero strong { display: block; margin: 8px 0; font: 500 64px/1.05 var(--mono); letter-spacing: -.04em; }
.points-hero p { color: #f0d4d0; font-size: 15px; }
.referral-card { margin: 20px 0; padding: 30px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.referral-card p { margin: 14px 0; font-size: 15px; }
.referral-card code { padding: 3px 10px; border-radius: 8px; background: var(--surface-2); font: 600 15px var(--mono); }
.profile-data { margin-bottom: 30px; }
.profile-data p { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.profile-data p + p { margin-top: 0; }
.profile-data span { color: var(--muted); }
.copy-box { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 14px; overflow-wrap: anywhere; }
.copy-box code { flex: 1; font-family: var(--mono); }

.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
th, td { padding: 12px 14px; vertical-align: top; }
tr + tr td { border-top: 1px solid var(--line); }
th { background: var(--surface-2); font-weight: 500; white-space: nowrap; }
td { font-variant-numeric: tabular-nums; }
.positive { color: var(--ok); font-weight: 600; }

/* ---------------------------------------------------------------- club & rewards */

.club-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin: 16px var(--gutter) 0; padding: clamp(72px, 10vw, 136px) clamp(28px, 6vw, 88px); border-radius: var(--r-media); background: linear-gradient(90deg, rgb(20 6 4 / .92), rgb(60 8 4 / .55) 60%, rgb(20 6 4 / .3)), url('/assets/photos/kampania-ruch.webp') center / cover; color: #f3f4f5; text-align: left; }
.club-hero .brand-crown { color: #fff; }
.club-hero .eyebrow { color: #f3c9c4; }
.club-hero h1 { font-size: clamp(48px, 6vw, 88px); letter-spacing: -.045em; }
.club-hero p { max-width: 46ch; color: #d0d4d9; font-size: 18px; }
.club-hero > a:last-child { font-size: 15px; border-bottom: 1px solid rgb(255 255 255 / .5); }
.benefits { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6vw; align-items: center; }
.benefits-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-media); }
.benefits-media img { width: 100%; height: 100%; object-fit: cover; }
.benefits-copy h2 { margin-bottom: 40px; }
.benefit-list { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.benefit-list li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; }
.benefit-list .i { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--surface-2); color: var(--accent-ink); }
.benefit-list h3 { margin-bottom: 6px; font-size: 22px; }
.benefit-list p { max-width: 52ch; color: var(--muted); }
.stat-label { color: var(--muted); font-size: 15px; font-weight: 500; }

.points-banner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.points-banner > div { padding: clamp(32px, 4vw, 56px); border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.points-banner > div:first-child { background: linear-gradient(135deg, var(--accent), #4a0703); box-shadow: none; color: #f7f1f0; }
.points-banner > div:first-child .stat-label, .points-banner > div:first-child p { color: #f0d4d0; }
.points-banner h2 { margin: 14px 0; font: 500 clamp(52px, 6vw, 84px)/1 var(--mono); letter-spacing: -.05em; }
.points-banner > div:last-child h2 { color: var(--accent-ink); }
.points-banner h2 small { font-size: .38em; letter-spacing: -.02em; }
.points-banner p { max-width: 46ch; color: var(--muted); font-size: 15px; }
.rewards-grid { row-gap: 24px; }
.reward-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.reward-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), 0 28px 50px -34px rgb(var(--shadow) / .45); }
.reward-card > img { width: 100%; aspect-ratio: 1; margin-bottom: 20px; object-fit: cover; border-radius: 10px; }
.reward-card > .i { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--surface-2); color: var(--accent-ink); }
.reward-card small { margin: 18px 0 6px; color: var(--accent-ink); font: 500 13px var(--mono); text-transform: lowercase; }
.reward-card small::first-letter { text-transform: uppercase; }
.reward-card p { color: var(--muted); font-size: 15px; }
.reward-card strong { margin: 18px 0 4px; font: 500 20px var(--mono); }
.reward-card .button { margin-top: auto; }
.reward-card .fine-print { margin-bottom: 16px; }

.activation { max-width: 720px; display: flex; flex-direction: column; gap: 24px; }
.activation > .i { width: 64px; height: 64px; padding: 14px; border-radius: 18px; background: var(--surface-2); color: var(--accent-ink); }

/* ---------------------------------------------------------------- editorial pages */

.editorial-hero { height: min(640px, 80svh); }
.editorial-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; }
.editorial-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6vw; }
.editorial-grid h2 { position: sticky; top: calc(var(--header) + 32px); margin-top: 10px; }
.editorial-grid p { max-width: 62ch; color: var(--text-2); font-size: 17px; line-height: 1.75; }
.editorial-grid .button { margin-top: 30px; }
.editorial-grid + .editorial-grid { padding-top: 0; }
.editorial-grid p strong { color: var(--text); font-weight: 600; }

/* Production steps: a lead panel plus a 2 x 3 grid of step tiles. */
.forging-section { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.5fr); gap: 24px; max-width: 1440px; margin: 0 auto; padding: 104px var(--gutter) 0; }
.forging-intro { position: sticky; top: calc(var(--header) + 24px); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; min-height: 520px; padding: clamp(32px, 4vw, 56px); border-radius: var(--r-media); background: linear-gradient(160deg, var(--accent), #3a0502); color: #f7f1f0; }
.forging-intro .eyebrow { color: #f3c9c4; }
.forging-intro h2 { margin: 12px 0 22px; font-size: clamp(38px, 4vw, 60px); }
.forging-intro p { max-width: 40ch; color: #f0d4d0; font-size: 17px; line-height: 1.7; }
.forging-intro .brand-crown { margin-top: 40px; color: #fff; }
.forging-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.forging-steps article { display: flex; flex-direction: column; gap: 28px; padding: 28px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.forging-steps article:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), 0 26px 48px -34px rgb(var(--shadow) / .45); }
.forging-steps article > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); color: var(--accent-ink); font: 500 14px var(--mono); }
.forging-steps h3 { margin-bottom: 8px; font-size: 21px; }
.forging-steps p { color: var(--muted); font-size: 15px; line-height: 1.65; }

.workshop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.workshop figure:nth-child(even) { margin-top: 64px; }
.workshop figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--r-media); }
.workshop figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }
.detail-story { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1440px; margin: 0 auto 104px; padding: 0 var(--gutter); }
.detail-story > img { width: 100%; height: 640px; object-fit: cover; border-radius: var(--r-media); }
.detail-story > div { align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: clamp(32px, 5vw, 72px); border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.detail-story h2 { margin: 10px 0 32px; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 24px; max-width: 1440px; margin: 0 auto; padding: 72px var(--gutter) 112px; }
.gallery figure:nth-child(2n) { padding-top: 96px; }
.gallery .media { overflow: hidden; border-radius: var(--r-media); }
.gallery img { width: 100%; height: clamp(420px, 44vw, 640px); object-fit: cover; object-position: center 30%; transition: transform 1.1s var(--ease); }
.gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; padding-top: 0; }
.gallery figure:hover img { transform: scale(1.025); }

.contact-grid, .b2b-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.contact-grid > div > p { max-width: 460px; margin-top: 20px; color: var(--text-2); font-size: 17px; }
.contact-grid > div > img { width: 100%; height: 320px; margin-top: 36px; object-fit: cover; border-radius: var(--r-media); }
.contact-grid form { padding: 36px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.b2b-intro p { max-width: 520px; margin: 22px 0 30px; color: var(--text-2); font-size: 17px; }
.b2b-intro img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--r-media); }
.b2b-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.b2b-grid article { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-media); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.b2b-grid article > span { color: var(--muted); font: 400 13px var(--mono); }
.b2b-grid h3 { margin: 12px 0; }
.b2b-grid p { margin-bottom: 14px; color: var(--text-2); font-size: 15px; }
.b2b-grid .button { margin-top: auto; }
.legal-copy { max-width: 820px; margin: 0 auto; padding: 88px 24px; }
.legal-copy h2 { margin: 52px 0 18px; font-size: 30px; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: var(--text-2); font-size: 17px; line-height: 1.8; }
.legal-copy ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal-copy a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.legal-copy .button { margin-top: 34px; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .workshop { grid-template-columns: 1fr 1fr; }
  .workshop figure:nth-child(even) { margin-top: 40px; }
  .nav { gap: 0; font-size: 14px; }
  .nav a { padding: 8px 10px; }
  .wordmark { width: 176px; height: 32px; }
  .hero { grid-template-columns: 1fr; }
  .road-head { grid-column: 1 / 7; }
  .road-main { grid-column: 7 / 13; }
  .b2b-grid { grid-template-columns: 1fr 1fr; }
  .configurator { gap: 36px; }
  .forging-section { grid-template-columns: 1fr; }
  .forging-intro { position: static; min-height: 0; }
  .closing { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .closing .brand-crown { grid-row: auto; margin-bottom: 20px; }
  .closing h2, .closing p, .closing .eyebrow, .closing > a:not(.button) { grid-column: 1; }
  .closing .button { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 30px; }
}

@media (max-width: 760px) {
  :root { --header: 64px; --gutter: 16px; }
  .wordmark { width: 152px; height: 28px; }
  .menu-toggle { display: grid; }
  .nav-tools { gap: 2px; }
  .nav { position: absolute; top: var(--header); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 12px 16px; background: #7a0600; border-top: 1px solid rgb(255 255 255 / .14); box-shadow: 0 24px 40px -24px rgb(60 2 0 / .6); font-size: 17px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; border-radius: 12px; }

  .hero { min-height: min(78svh, 720px); padding: 64px 20px 96px; align-items: end; }
  .hero-copy h1 { font-size: 46px; }
  .hero-copy p { font-size: 16px; margin-bottom: 26px; }
  .hero-secondary { display: none; }
  .hero-pause { right: 16px; bottom: 20px; padding: 9px 12px; }
  .hero-pause span { display: none; }

  .section { padding: 64px 16px 72px; }
  .section-title { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 28px; }
  .product-grid { --gap: 12px; row-gap: 28px; }
  .product-grid > * { flex-basis: calc((100% - var(--gap)) / 2); }
  .rewards-grid > * { flex-basis: 100%; }
  .featured-grid > * { flex-basis: auto; }
  .product-line { grid-template-columns: 1fr; margin-top: 12px; }
  .product-line h3 { font-size: 18px; }
  .product-price { font-size: 12px; white-space: normal; }
  .product-series { font-size: 11px; }
  .round-arrow { display: none; }
  .product-card > p { display: none; }
  .car-story { margin: 0 16px; height: min(78svh, 640px); }
  .car-story::after { background: linear-gradient(0deg, rgb(10 11 13 / .85), transparent 75%); }
  .car-story > div { left: 22px; right: 22px; bottom: 28px; }
  .road { display: flex; flex-direction: column; gap: 20px; }
  .road-side { margin-top: 0; width: 70%; align-self: flex-end; }
  .featured-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .featured-grid > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .featured-grid > :first-child .product-image { aspect-ratio: 1; min-height: 0; }
  .featured-grid > :first-child .product-line h3 { font-size: 26px; }
  .featured-grid > :not(:first-child) .product-image { aspect-ratio: 1; }
  .club-banner { grid-template-columns: 1fr; padding: 0 16px; gap: 12px; }
  .club-copy { padding: 36px 24px; }
  .club-media { min-height: 0; aspect-ratio: 4 / 5; }
  .club-hero, .page-intro { margin: 8px 8px 0; padding: 64px 22px 56px; }
  .benefits { grid-template-columns: 1fr; gap: 36px; }
  .closing { margin-top: 64px; padding: 64px 16px 72px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-bottom: 44px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; }
  footer { padding: 52px 16px 0; }

  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .filter-tabs { overflow-x: auto; }
  .filter-tabs button { flex: 1; padding: 9px 10px; white-space: nowrap; }
  .catalog-tools { display: grid; grid-template-columns: 1fr 1fr; }
  .search input, .catalog-tools select { width: 100%; }
  .configurator { grid-template-columns: 1fr; gap: 26px; padding: 0 16px 56px; }
  .product-stage { position: static; }
  .finish-grid { grid-template-columns: 1fr 1fr; }
  .breadcrumbs { padding: 18px 16px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 36px; }
  .checkout-summary { position: static; padding: 26px 20px; }
  .cart-item { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; }
  .cart-item img { width: 84px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .auth-layout { grid-template-columns: 1fr; padding: 8px 8px 56px; min-height: 0; }
  .auth-brand { min-height: 360px; padding: 32px 24px; }
  .auth-panel { padding: 32px 12px 24px; }
  .account-layout { grid-template-columns: 1fr; gap: 30px; }
  .account-nav { position: static; display: flex; flex-wrap: wrap; }
  .member-card { width: 100%; }
  .account-nav button, .account-nav a { flex: 1 0 50%; width: auto; padding: 13px 16px; font-size: 14px; }
  .account-nav button + button, .account-nav button + a, .account-nav a + a, .account-nav a + button { border-top: 0; }
  .garage-cars, .serials { grid-template-columns: 1fr; }
  .set-card { padding: 20px; }
  .profile-data p { display: block; }
  .profile-data strong { display: block; overflow-wrap: anywhere; }
  .points-banner, .b2b-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .b2b-grid { padding: 0; }
  .workshop { grid-template-columns: 1fr 1fr; gap: 10px; }
  .workshop figure:nth-child(even) { margin-top: 28px; }
  .editorial-grid, .detail-story, .contact-grid, .b2b-intro { grid-template-columns: 1fr; gap: 28px; }
  .editorial-grid h2 { position: static; }
  .detail-story { padding: 0 16px; margin-bottom: 64px; gap: 12px; }
  .detail-story > img { height: 420px; }
  .detail-story > div { padding: 32px 22px; }
  .forging-section { padding: 64px 16px 0; gap: 12px; }
  .forging-intro { padding: 36px 24px; }
  .forging-steps { grid-template-columns: 1fr; }
  .forging-steps article { flex-direction: row; gap: 18px; padding: 22px; }
  .forging-steps article > span { flex: none; }
  .gallery { grid-template-columns: 1fr; gap: 34px; padding: 40px 16px 64px; }
  .gallery figure:nth-child(2n) { padding-top: 0; }
  .gallery img { height: 440px; }
  .contact-grid form, .panel { padding: 24px 18px; }
  .legal-copy { padding: 52px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* Interactive 3D preview on the product page (public/js/vendor/wheel-viewer.js) */
.stage-3d { cursor: grab; touch-action: pan-y; user-select: none; }
.stage-3d:active { cursor: grabbing; }
.stage-3d .wheel-viewer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
.stage-3d-progress { position: absolute; inset: 0; display: grid; place-items: center; font-size: .9rem; color: var(--muted); }
.stage-3d[data-loading] .stage-3d-hint { visibility: hidden; }
.stage-3d-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; padding: 4px 12px; border-radius: 999px; white-space: nowrap; font-size: .74rem; letter-spacing: .02em; color: var(--muted); background: rgb(255 255 255 / .82); pointer-events: none; }
@media (max-width: 420px) { .stage-3d-hint { font-size: .68rem; } }
.thumb-3d { display: grid; place-items: center; width: 100%; height: 100%; font-weight: 600; letter-spacing: .06em; color: var(--accent-ink); }
