/* ==========================================================================
   CarsNow front end
   Theme colours are CSS variables; the admin overrides them at runtime.
   ========================================================================== */
:root {
  --ink: #0c0d0f; --paper: #ffffff; --mist: #f3f2ef; --line: #e3e1dc; --muted: #6b6a66;
  --accent: #b4955f; --accent-ink: #0c0d0f; --success: #2f6b4f; --danger: #9b2c2c;
  --display: 'Syncopate', 'Eurostile', 'Michroma', sans-serif;
  --body: 'Jost', 'Avenir Next', 'Avenir', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 82px;
  --pad: clamp(20px, 4vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-weight: 400; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- type ---------- */
.wordmark { font-family: var(--display); font-weight: 400; letter-spacing: .42em; font-size: 15px; white-space: nowrap; padding-left: .42em; }
.wordmark-lg { font-size: 22px; }
.eyebrow { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 0 0 12px; }
.eyebrow-light { color: rgba(255,255,255,.78); }
.display, .display-xl { font-family: var(--body); font-weight: 400; letter-spacing: -.01em; line-height: 1.08; margin: 0 0 18px; }
.display { font-size: clamp(28px, 3.2vw, 44px); }
.display-xl { font-size: clamp(38px, 5.6vw, 84px); font-weight: 300; }
.lead { font-size: clamp(17px, 1.35vw, 20px); font-weight: 300; line-height: 1.65; color: inherit; opacity: .86; max-width: 62ch; margin: 0 0 24px; }
.muted { color: var(--muted); }
.muted-light { color: rgba(255,255,255,.6); }
.small { font-size: 13px; }
.center { text-align: center; }
.model-name { font-family: var(--display); font-weight: 400; letter-spacing: .3em; font-size: 17px; margin: 0 0 6px; }
.text-link { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: opacity .3s; }
.text-link:hover { opacity: .6; }
.text-link-light { color: rgba(255,255,255,.8); }
.link-sm { font-size: 12px; text-decoration: underline; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; border: 1px solid transparent; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease); position: relative; overflow: hidden; white-space: nowrap; text-align: center; }
.btn::after { content: ''; position: absolute; inset: 0; background: currentColor; opacity: 0; transition: opacity .3s; pointer-events: none; }
.btn:hover::after { opacity: .07; }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 11px; letter-spacing: .18em; }
.btn-lg { min-height: 62px; padding: 0 40px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: color-mix(in srgb, var(--ink) 82%, var(--accent)); }
.btn-white { background: #fff; color: #0c0d0f; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-line-light:hover { background: #fff; color: #0c0d0f; }
.btn-ghost { color: var(--muted); }
.btn-glass { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-glass:hover { background: rgba(255,255,255,.3); }
.btn-frost { background: rgba(255,255,255,.72); color: var(--ink); backdrop-filter: blur(10px); border-radius: 8px; }
.row-gap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center-row { justify-content: center; }

/* ---------- tags / chips ---------- */
.tag { display: inline-block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; background: var(--mist); color: var(--ink); font-weight: 600; }
.tag-gold { background: var(--accent); color: var(--accent-ink); }
.tag-light { background: rgba(255,255,255,.9); color: #0c0d0f; }
.tag-float { position: absolute; top: 16px; left: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 18px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: all .3s var(--ease); border-radius: 999px; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-dark { border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(8px); background: rgba(0,0,0,.2); }
.chip-dark.is-active { background: #fff; color: #0c0d0f; border-color: #fff; }

/* ---------- page transition curtain ---------- */
.page-curtain { position: fixed; inset: 0; z-index: 9999; background: var(--ink); display: grid; place-items: center; transform: translateY(0); transition: transform .9s var(--ease-out); pointer-events: none; }
.page-curtain span { font-family: var(--display); color: #fff; letter-spacing: .6em; font-size: 14px; opacity: 0; transition: opacity .4s; padding-left: .6em; }
body.is-loaded .page-curtain { transform: translateY(-100%); }
body.is-leaving .page-curtain { transform: translateY(0); transition-duration: .55s; }
body.is-leaving .page-curtain span { opacity: 1; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out) calc(var(--d, 0s) + .25s), transform 1.1s var(--ease-out) calc(var(--d, 0s) + .25s); }
.reveal-clip { clip-path: inset(12% 8% 12% 8%); transition: clip-path 1.4s var(--ease-out); }
.is-in.reveal, .is-in.reveal-up, body.is-loaded .hero .reveal-up, body.is-loaded .reveal-up.is-in { opacity: 1; transform: none; }
.is-in.reveal-clip { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-clip { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 34px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); transition: background .45s var(--ease), color .45s var(--ease), border-color .45s, transform .5s var(--ease); }
.site-header.is-over { background: transparent; color: #fff; border-color: transparent; }
.site-header.is-over::before { content: ''; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(0,0,0,.45), transparent); pointer-events: none; z-index: -1; transition: opacity .4s; }
.site-header.is-solid, .site-header.mega-open { background: var(--paper); color: var(--ink); border-color: var(--line); }
.site-header.is-solid::before, .site-header.mega-open::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
body:not(.page-home):not(.page-gallery):not(.page-profiles):not(.page-auth):not(.page-static) { padding-top: var(--header-h); }
body.page-explore, body.page-vehicle, body.page-shop, body.page-cms, body.page-videos, body.page-article { padding-top: 0 !important; }
.site-nav-left, .site-nav-right { display: flex; align-items: center; gap: 26px; }
.site-nav-right { justify-content: flex-end; }
.nav-link { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; position: relative; padding: 8px 0; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-link:hover::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav-divider { width: 1px; height: 32px; background: currentColor; opacity: .22; }
.site-logo { justify-self: center; }
.nav-menu-btn { display: none; justify-self: end; }

.mega { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0,0,0,.12); animation: megaIn .5s var(--ease-out); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-12px); } }
.mega-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 40px 60px 48px; max-width: 1600px; margin: 0 auto; }
.mega-cols { grid-template-columns: repeat(3, 1fr); }
.mega-list { display: flex; flex-direction: column; }
.mega-item { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease); }
.mega-item:hover { padding-left: 12px; }
.mega-name { font-family: var(--display); font-size: 14px; letter-spacing: .24em; text-transform: uppercase; }
.mega-meta { font-size: 13px; color: var(--muted); }
.mega-meta em { font-style: normal; margin-left: 10px; color: var(--ink); }
.mega-links { display: flex; gap: 28px; margin-top: 22px; }
.mega-preview { background: var(--mist); overflow: hidden; aspect-ratio: 16/10; }
.mega-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform 1.2s var(--ease-out); }
.mega-link { display: block; padding: 8px 0; font-size: 20px; font-weight: 300; transition: transform .3s var(--ease); }
.mega-link:hover { transform: translateX(8px); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: var(--paper); padding: 24px var(--pad); display: flex; flex-direction: column; overflow-y: auto; animation: megaIn .4s var(--ease-out); }
.mobile-menu a { font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 300; }

.search-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(12,13,15,.9); backdrop-filter: blur(14px); display: grid; place-items: center; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.search-form { width: min(820px, 90vw); color: #fff; }
.search-form input { width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); font-size: clamp(28px, 4vw, 52px); font-weight: 300; padding: 12px 0; color: #fff; outline: none; }
.search-form .text-link { margin-top: 26px; color: #fff; display: inline-block; }

.toast { position: fixed; z-index: 400; left: 50%; bottom: 32px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 16px 26px; font-size: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.25); animation: toastIn .6s var(--ease-out); max-width: 90vw; }
.toast.is-success { border-left: 3px solid var(--accent); }
.toast.is-error { border-left: 3px solid var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 20px); } }

/* ==========================================================================
   Home triptych
   ========================================================================== */
.page-home { background: #000; overflow: hidden; }
.tri { display: flex; height: 100vh; height: 100svh; width: 100%; position: relative; background: #000; }
.tri-top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 28px 36px; color: #fff; pointer-events: none; }
.tri-top > * { pointer-events: auto; }
.tri-top-right { justify-self: end; }
.tri-logo { font-size: 17px; opacity: 0; animation: riseIn 1.4s var(--ease-out) 1s forwards; }
.tri-link { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #fff; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.4); opacity: 0; animation: riseIn 1s var(--ease-out) 1.4s forwards; }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tri-panel { position: relative; flex: 1 1 0; overflow: hidden; color: #fff; transition: flex-grow 1s var(--ease-out); clip-path: inset(100% 0 0 0); animation: panelIn 1.4s var(--ease-out) calc(.35s + var(--i) * .16s) forwards; border-right: 1px solid rgba(255,255,255,.08); }
.tri-panel:last-of-type { border-right: 0; }
@keyframes panelIn { to { clip-path: inset(0 0 0 0); } }
.tri-media { position: absolute; inset: 0; }
.tri-media img, .tri-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2.2s var(--ease-out), filter 1s; }
.tri-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.45) 100%); transition: background .8s; }
.tri-content { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-38%); text-align: center; padding: 0 20px; z-index: 2; pointer-events: none; }
.tri-content .btn { pointer-events: auto; }
.tri-sub { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: all .7s var(--ease-out); margin: 0 0 18px; }
.tri-title { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: .14em; margin: 0 0 40px; line-height: 1.2; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.tri-title .ch { display: inline-block; opacity: 0; transform: translateY(.6em); animation: chIn .9s var(--ease-out) forwards; }
@keyframes chIn { to { opacity: 1; transform: none; } }
.tri-enter { min-height: 52px; padding: 0 30px; font-size: 11px; letter-spacing: .26em; }
.tri-hit { position: absolute; inset: 0; z-index: 1; }
.tri-scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .4em; text-transform: uppercase; z-index: 5; opacity: 0; animation: riseIn 1s var(--ease-out) 2s forwards; }
@media (hover: hover) {
  .tri:hover .tri-panel { flex-grow: .82; }
  .tri .tri-panel:hover { flex-grow: 1.5; }
  .tri-panel:hover .tri-media img, .tri-panel:hover .tri-media video { transform: scale(1.02); }
  .tri:hover .tri-panel:not(:hover) .tri-media { filter: grayscale(.5) brightness(.6); }
  .tri-panel:hover .tri-sub { opacity: .85; transform: none; }
  .tri-panel:hover .tri-shade { background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 45%, rgba(0,0,0,.55)); }
}
.tri-media { transition: filter .9s var(--ease); }

/* ==========================================================================
   Hero (explore / vehicle / cms)
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; color: #fff; overflow: hidden; display: flex; align-items: flex-start; }
.hero-short { height: 78vh; min-height: 520px; }
.hero-media, .fill-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video, .fill-media img, .fill-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img, .hero-media video { animation: heroZoom 14s var(--ease-out) forwards; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,0) 70%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 35%); }
.hero-content { position: relative; z-index: 2; padding: calc(var(--header-h) + 13vh) 0 0 11.5vw; max-width: 1100px; }
.hero-title { font-family: var(--body); font-weight: 500; font-size: clamp(34px, 4.1vw, 62px); letter-spacing: .06em; margin: 0 0 14px; line-height: 1.05; }
.hero-sub { font-size: clamp(16px, 1.45vw, 22px); font-weight: 300; letter-spacing: .02em; margin: 0 0 38px; opacity: .88; line-height: 1.45; }
.hero-actions { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.hero-actions .btn-lg { min-width: 300px; }
.hero-pause { position: absolute; right: 52px; bottom: 52px; z-index: 3; width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(0,0,0,.25); color: #fff; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px); transition: background .3s; }
.hero-pause:hover { background: rgba(255,255,255,.2); }
.hero-cue { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 3; font-size: 10px; letter-spacing: .36em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-cue::after { content: ''; width: 1px; height: 46px; background: linear-gradient(#fff, transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-note { font-size: 12px; color: var(--muted); padding: 12px 11.5vw; margin: 0; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(64px, 9vw, 130px) var(--pad); max-width: 1680px; margin: 0 auto; }
.section-dark { background: var(--ink); color: var(--paper); max-width: none; }
.section-dark .eyebrow { color: rgba(255,255,255,.55); }
.section-mist { background: var(--mist); max-width: none; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head .display { margin: 0; }
.page-pad { padding: clamp(40px, 6vw, 90px) var(--pad); max-width: 1680px; margin: 0 auto; }
.page-intro { margin-bottom: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: clamp(20px, 2.2vw, 36px); }
.grid-item { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.grid-item.is-out { display: none; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; position: sticky; top: var(--header-h); background: var(--paper); z-index: 20; }
.select-wrap { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.select-wrap select { border: 1px solid var(--line); padding: 10px 14px; background: var(--paper); text-transform: none; letter-spacing: 0; }

/* vehicle card */
.v-card { background: var(--paper); display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.v-card:hover { box-shadow: 0 30px 60px rgba(0,0,0,.09); transform: translateY(-4px); }
.v-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--mist); }
.v-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.v-card:hover .v-card-media img { transform: scale(1.06); }
.v-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.v-card-body .tag { align-self: flex-start; margin-bottom: 8px; }
.v-card-body h3 { font-family: var(--display); font-size: 17px; letter-spacing: .26em; text-transform: uppercase; font-weight: 400; margin: 0; }
.v-card-body p { margin: 0; }
.v-card-price { font-size: 15px; margin-top: 8px !important; }
.v-card-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 18px; }
.stock-note { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 10px 0 0; }

/* rail carousel */
.rail { position: relative; }
.rail-track { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding-bottom: 6px; scroll-padding-left: 0; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail-track.is-dragging a { pointer-events: none; }
.rail-card { flex: 0 0 min(560px, 82vw); scroll-snap-align: start; }
.rail-card.is-out { display: none; }
.rail-media { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--mist); }
.rail-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); user-select: none; }
.rail-card:hover .rail-media img { transform: scale(1.05); }
.rail-body { padding: 24px 0 0; }
.rail-body .small { margin: 4px 0 18px; }
.rail-controls { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.rail-progress { flex: 1; height: 1px; background: var(--line); position: relative; }
.rail-progress span { position: absolute; left: 0; top: -1px; height: 3px; background: var(--ink); width: 10%; transition: width .3s, left .3s; }

/* films */
.film-rail .rail-track { cursor: grab; }
.film-card { flex: 0 0 min(400px, 74vw); scroll-snap-align: start; display: block; }
.film-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #1a1b1e; margin-bottom: 16px; }
.film-media img, .film-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .5s; }
.film-media video { opacity: 0; }
.film-card.is-playing .film-media video { opacity: 1; }
.film-card:hover .film-media img { transform: scale(1.06); }
.film-dur { position: absolute; right: 12px; bottom: 12px; font-size: 11px; letter-spacing: .1em; background: rgba(0,0,0,.6); color: #fff; padding: 4px 8px; }
.film-card h3 { font-weight: 400; font-size: 19px; margin: 0 0 4px; }
.film-card .eyebrow { margin-bottom: 6px; }

/* split features */
.split-feature { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 86vh; align-items: stretch; }
.split-feature.is-reverse { grid-template-columns: 1fr 1.25fr; }
.split-feature.is-reverse .split-media { order: 2; }
.split-media { position: relative; min-height: 60vh; overflow: hidden; }
.split-copy { padding: clamp(40px, 7vw, 120px); display: flex; flex-direction: column; justify-content: center; }
.spec-row { display: flex; gap: clamp(24px, 4vw, 60px); flex-wrap: wrap; margin: 10px 0 34px; }
.spec { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 6px; }
.spec b { font-weight: 300; font-size: clamp(36px, 3.6vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.spec span { font-size: 16px; color: var(--muted); }
.spec small { grid-column: 1 / -1; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.spec-row-lg .spec b { font-size: clamp(44px, 5vw, 80px); }

/* gallery teaser */
.gallery-teaser { display: block; position: relative; height: 80vh; overflow: hidden; background: #000; color: #fff; }
.teaser-strip { position: absolute; inset: 0; display: flex; gap: 14px; animation: strip 60s linear infinite; width: max-content; opacity: .6; }
.teaser-strip img { height: 100%; width: 42vw; object-fit: cover; }
@keyframes strip { to { transform: translateX(-50%); } }
.teaser-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(ellipse at center, rgba(0,0,0,.45), rgba(0,0,0,.1) 70%); }
.teaser-copy .eyebrow { color: rgba(255,255,255,.7); }
.teaser-copy .display { font-size: clamp(36px, 5vw, 72px); font-weight: 300; }
.gallery-teaser:hover .teaser-strip { animation-duration: 30s; opacity: .8; }

/* stories */
.story-card { display: block; }
.story-media { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 20px; background: var(--mist); }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.story-card:hover img, .story-lead:hover img { transform: scale(1.05); }
.story-card h3 { font-weight: 400; font-size: 22px; line-height: 1.3; margin: 0 0 8px; }
.story-lead { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.story-lead .story-media { aspect-ratio: 16/10; margin: 0; }

/* cta trio */
.cta-trio { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cta-tile { padding: clamp(40px, 5vw, 80px) var(--pad); border-right: 1px solid var(--line); transition: background .5s var(--ease), color .5s; }
.cta-tile:last-child { border-right: 0; }
.cta-tile h3 { font-size: 28px; font-weight: 300; margin: 0 0 12px; }
.cta-tile p:not(.eyebrow) { color: var(--muted); margin: 0 0 28px; transition: color .5s; }
.cta-tile:hover { background: var(--ink); color: var(--paper); }
.cta-tile:hover p { color: rgba(255,255,255,.6); }

/* ---------- vehicle page ---------- */
.subnav { position: sticky; top: 0; z-index: 90; display: flex; align-items: center; gap: 28px; padding: 0 34px; height: 68px; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transition: top .5s var(--ease); }
body.header-visible .subnav { top: var(--header-h); }
.subnav-name { font-family: var(--display); font-size: 13px; letter-spacing: .3em; white-space: nowrap; }
.subnav-links { display: flex; gap: 26px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.subnav-links a { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; padding: 23px 0; border-bottom: 2px solid transparent; color: var(--muted); transition: color .3s, border-color .3s; }
.subnav-links a.is-active, .subnav-links a:hover { color: var(--ink); border-color: var(--ink); }
.subnav-cta { display: flex; gap: 10px; }
.overview { padding: clamp(80px, 12vw, 180px) 11.5vw clamp(60px, 8vw, 120px); }
.full-feature { position: relative; height: 100vh; min-height: 600px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.full-copy { position: relative; z-index: 2; padding: 0 11.5vw 12vh; max-width: 1100px; }
.parallax img, .parallax video { height: 120% !important; top: -10% !important; will-change: transform; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 22vw; gap: 14px; }
.mosaic-item { overflow: hidden; background: var(--mist); position: relative; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mosaic-item:hover img { transform: scale(1.06); }
.m0 { grid-column: span 2; grid-row: span 2; } .m3 { grid-column: span 2; }
.spec-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--line); }
.spec-col { padding: 34px 34px 34px 0; border-right: 1px solid var(--line); margin-right: 34px; }
.spec-col:last-child { border-right: 0; }
.spec-col h3 { font-weight: 400; font-size: 21px; margin: 0 0 6px; }
.spec-col dl { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin: 26px 0 0; font-size: 14px; }
.spec-col dt { color: var(--muted); } .spec-col dd { margin: 0; text-align: right; }
.build-band { position: relative; min-height: 80vh; color: #fff; display: flex; align-items: center; overflow: hidden; }
.build-band-copy { position: relative; z-index: 2; padding: 0 11.5vw; }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(8,8,9,.96); display: grid; place-items: center; animation: fade .3s; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; animation: lbIn .6s var(--ease-out); }
@keyframes lbIn { from { transform: scale(.94); opacity: 0; } }
.lightbox .text-link { position: absolute; top: 30px; right: 36px; color: #fff; }

/* ==========================================================================
   Configurator
   ========================================================================== */
.page-build { background: var(--paper); }
.cfg { padding-bottom: 110px; }
.cfg-top { display: flex; align-items: center; justify-content: space-between; padding: 0 24px 0 36px; border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: var(--header-h); z-index: 30; }
.cfg-tabs { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.cfg-tabs button { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 26px 0 24px; border-bottom: 2px solid transparent; color: var(--muted); white-space: nowrap; font-weight: 500; transition: color .3s, border-color .3s; }
.cfg-tabs button.is-active { color: var(--ink); border-color: var(--ink); }
.cfg-tabs button:hover { color: var(--ink); }
.cfg-body { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 40px; padding: 20px 24px 0; }
.cfg-stage { position: sticky; top: calc(var(--header-h) + 92px); height: calc(100vh - var(--header-h) - 92px - 120px); min-height: 440px; border-radius: 10px; overflow: hidden; }
.cfg-stage-bg { position: absolute; inset: 0; background: linear-gradient(120deg, #d9e2ea 0%, #f3f3f1 45%, #f1e8d9 100%); transition: background 1s var(--ease); }
.cfg-stage[data-scene="dusk"] .cfg-stage-bg { background: linear-gradient(180deg, #1e2533 0%, #5b4a52 55%, #c59b74 100%); }
.cfg-stage[data-scene="night"] .cfg-stage-bg { background: radial-gradient(ellipse at 50% 80%, #2c2e33 0%, #0b0c0e 70%); }
.cfg-floor { position: absolute; left: 10%; right: 10%; bottom: 10%; height: 18%; background: radial-gradient(ellipse at center, var(--paint, #888) 0%, transparent 70%); opacity: .35; filter: blur(20px); transition: background .8s; }
.cfg-slides { position: absolute; inset: 0; }
.cfg-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 1.4s var(--ease-out); }
.cfg-slide.is-active { opacity: 1; transform: none; }
.cfg-stage[data-scene="studio"] .cfg-slide { mix-blend-mode: normal; }
.cfg-paint { position: absolute; left: 24px; top: 24px; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.75); backdrop-filter: blur(10px); padding: 8px 14px 8px 8px; border-radius: 999px; font-size: 13px; transition: opacity .4s; }
.cfg-paint span { width: 26px; height: 26px; border-radius: 50%; background: var(--paint); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), inset -6px -8px 12px rgba(0,0,0,.25), inset 4px 4px 8px rgba(255,255,255,.45); transition: background .6s; }
.cfg-paint b { font-weight: 500; }
.cfg-paint.is-pulse span { animation: pulse .8s var(--ease-out); }
@keyframes pulse { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.cfg-stage-actions { position: absolute; top: 20px; right: 20px; display: flex; gap: 10px; }
.cfg-scenes { position: absolute; left: 20px; bottom: 20px; }
.cfg-pager { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.75); backdrop-filter: blur(10px); padding: 10px 18px; border-radius: 10px; font-size: 13px; }
.cfg-pager button { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 6px; }
.cfg-panel { padding: 6px 4px 40px; }
.inspire { display: flex; align-items: center; gap: 16px; width: 100%; background: var(--mist); border-radius: 10px; padding: 10px 14px; text-align: left; margin-bottom: 36px; transition: background .3s; }
.inspire:hover { background: var(--line); }
.inspire img { width: 96px; height: 56px; object-fit: cover; border-radius: 6px; }
.inspire span { flex: 1; font-size: 15px; }
.inspire b { background: var(--paper); padding: 12px 14px; border-radius: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.cfg-step { padding: 10px 0 46px; scroll-margin-top: 180px; }
.cfg-step h2 { font-weight: 400; font-size: 34px; margin: 0 0 20px; letter-spacing: -.01em; }
.opt-list { display: flex; flex-direction: column; gap: 18px; }
.opt { display: flex; flex-direction: column; text-align: left; border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; transition: border-color .3s, box-shadow .4s var(--ease), transform .3s var(--ease); position: relative; }
.opt:hover { border-color: #b7b4ad; }
.opt.is-selected { border: 2px solid var(--ink); padding: 25px 23px; box-shadow: 0 12px 30px rgba(0,0,0,.06); }
.opt-name { font-size: 17px; }
.opt-price { font-size: 15px; color: #3d3c39; }
.opt-desc { font-size: 13px; color: var(--muted); margin-top: 6px; }
.opt-tags { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.opt-tags i { font-style: normal; font-size: 13px; background: var(--mist); padding: 7px 14px; border-radius: 999px; }
.opt-stats { display: flex; gap: 40px; margin-top: 16px; }
.opt-stats b { font-size: 24px; font-weight: 400; display: block; }
.opt-stats small { font-size: 11px; color: var(--muted); }
.opt-check { position: absolute; top: 24px; right: 22px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; transition: all .3s; }
.opt.is-selected .opt-check { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt.is-selected .opt-check::before { content: 'Added'; }
.opt.is-selected .opt-check { font-size: 0; }
.opt.is-selected .opt-check::before { font-size: 10px; }
.swatch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px 14px; border: 1px solid var(--line); border-radius: 10px; text-align: center; transition: all .3s var(--ease); }
.swatch:hover { border-color: #b7b4ad; transform: translateY(-2px); }
.swatch.is-selected { border: 2px solid var(--ink); padding: 15px 7px 13px; }
.swatch-chip { width: 54px; height: 54px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), inset -8px -10px 16px rgba(0,0,0,.28), inset 6px 6px 12px rgba(255,255,255,.4); transition: transform .4s var(--ease-out); }
.swatch-chip.is-wheel { background: radial-gradient(circle, var(--c) 0 26%, #222 27% 34%, var(--c) 35% 62%, #1a1a1a 63%); }
.swatch.is-selected .swatch-chip { transform: scale(1.08); }
.swatch-name { font-size: 13px; line-height: 1.3; }
.swatch-price { font-size: 12px; color: var(--muted); }
.sum-list { border-top: 1px solid var(--line); }
.sum-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.sum-row span { color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.sum-row button { font-size: 11px; text-decoration: underline; color: var(--muted); }
.sum-h { font-weight: 400; font-size: 20px; margin: 36px 0 16px; }
.buy-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy-type input, .choice input, .pill input, .pick input, .slot input, .date-pill input { position: absolute; opacity: 0; pointer-events: none; }
.buy-type span { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 16px; height: 100%; cursor: pointer; transition: all .3s; }
.buy-type b { display: block; font-weight: 500; margin-bottom: 4px; }
.buy-type small { color: var(--muted); font-size: 12px; line-height: 1.45; display: block; }
.buy-type input:checked + span { border: 2px solid var(--ink); padding: 15px; }
.calc { margin-top: 20px; background: var(--mist); border-radius: 10px; padding: 22px; display: grid; gap: 16px; }
.calc label { display: grid; grid-template-columns: 1fr auto; font-size: 13px; gap: 8px; }
.calc input[type=range] { grid-column: 1 / -1; accent-color: var(--ink); width: 100%; }
.calc output { font-weight: 500; }
.calc-result { display: grid; grid-template-columns: 1fr auto; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.calc-result b { font-size: 30px; font-weight: 400; }
.calc-result small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.sum-price { margin: 24px 0; }
.sum-price dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 14px; margin: 0; }
.sum-price dd { margin: 0; text-align: right; }
.sum-price .total { font-size: 22px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 6px; }
.sum-secondary { margin-top: 14px; }
.cfg-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 104px; background: var(--paper); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 70px 0 46px; box-shadow: 0 -20px 40px rgba(0,0,0,.04); }
.cfg-bar-left b { display: block; font-weight: 400; font-size: 18px; }
.cfg-bar-left span { font-size: 13px; color: var(--muted); }
.cfg-bar-right { display: flex; align-items: center; gap: 100px; }
.cfg-bar-price b { display: block; font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cfg-next { min-width: 206px; }
.price-flash { animation: priceFlash .7s var(--ease-out); }
@keyframes priceFlash { 0% { color: var(--accent); transform: translateY(-4px); } 100% { color: inherit; transform: none; } }
.inspire-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.inspire-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-align: left; transition: transform .4s var(--ease), box-shadow .4s; }
.inspire-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.1); }
.inspire-card .ic-paint { height: 110px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); }
.inspire-card div:not(.ic-paint) { padding: 18px; }
.inspire-card h4 { margin: 0 0 4px; font-weight: 500; font-size: 17px; }
.inspire-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 400; background: rgba(12,13,15,.55); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade .3s; }
.modal-card { background: var(--paper); width: min(560px, 100%); max-height: 86vh; overflow: auto; padding: 32px; border-radius: 12px; animation: lbIn .5s var(--ease-out); }
.modal-wide { width: min(980px, 100%); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-head h3 { font-weight: 400; font-size: 26px; margin: 0; }
.price-lines { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; margin: 0; font-size: 14px; }
.price-lines dt { color: var(--muted); }
.price-lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.price-lines .total { color: var(--ink); font-size: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.price-lines .due { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Forms
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; position: relative; }
.field > span, .field-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { border: 1px solid var(--line); background: var(--paper); padding: 14px 16px; border-radius: 6px; font-size: 16px; transition: border-color .3s, box-shadow .3s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field em { font-style: normal; font-size: 12px; color: var(--danger); min-height: 0; }
.field.has-error input, .card-form.has-error input[data-card] { border-color: var(--danger); }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin: 6px 0 18px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin-top: 2px; flex: none; }
.check.has-error { color: var(--danger); }
.notice { background: var(--mist); padding: 14px 18px; border-left: 3px solid var(--accent); font-size: 14px; margin: 0 0 20px; }
.notice.is-error { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--paper)); }
.stack { display: flex; flex-direction: column; }
.narrow { max-width: 620px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.choice-3 { grid-template-columns: repeat(3, 1fr); }
.choice span { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 18px; cursor: pointer; height: 100%; transition: all .3s; }
.choice b { display: block; font-weight: 500; }
.choice small { color: var(--muted); font-size: 13px; }
.choice input:checked + span { border: 2px solid var(--ink); padding: 17px; background: var(--mist); }
.switch { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch > span { width: 44px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: background .3s; grid-row: span 2; }
.switch > span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .6; }
.switch b { font-weight: 500; font-size: 14px; }
.switch small { color: var(--muted); font-size: 12px; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(30px, 5vw, 90px); max-width: 1440px; margin: 0 auto; padding: 50px var(--pad) 100px; }
.co-main .display { margin: 18px 0 18px; }
.co-progress { display: flex; list-style: none; padding: 0; margin: 0 0 34px; counter-reset: co; }
.co-progress li { flex: 1; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: 14px; border-top: 2px solid var(--line); transition: all .4s; }
.co-progress li.is-active, .co-progress li.is-done { color: var(--ink); border-color: var(--ink); }
.co-step { border-bottom: 1px solid var(--line); padding: 26px 0; }
.co-step header { display: flex; align-items: baseline; gap: 18px; cursor: pointer; }
.co-step header span { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.co-step header h2 { font-weight: 400; font-size: 24px; margin: 0; }
.co-step > *:not(header) { display: none; }
.co-step.is-open > *:not(header):not([hidden]) { display: revert; }
.co-step.is-open > .field-grid { display: grid; }
.co-step.is-open > .choice-row { display: grid; }
.co-step.is-open > .date-pills { display: flex; }
.co-step.is-open > header { margin-bottom: 22px; }
.co-step.is-open { animation: stepIn .6s var(--ease-out); }
@keyframes stepIn { from { opacity: .4; } }
.co-step.is-complete header h2::after { content: 'Edit'; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-left: 14px; color: var(--muted); text-decoration: underline; }
.date-pills { gap: 10px; flex-wrap: wrap; margin: 8px 0 22px; }
.pill span { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; padding: 12px 18px; cursor: pointer; transition: all .3s; }
.pill small { font-size: 11px; color: var(--muted); }
.pill input:checked + span { border: 2px solid var(--ink); padding: 11px 17px; }
.ti-estimate { background: var(--ink); color: var(--paper); padding: 20px 22px; border-radius: 10px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; margin-bottom: 20px; animation: lbIn .5s var(--ease-out); }
.ti-estimate b { font-size: 28px; font-weight: 400; }
.ti-estimate small { grid-column: 1 / -1; opacity: .6; font-size: 12px; margin-top: 6px; }
.due-now { display: grid; grid-template-columns: 1fr auto; align-items: baseline; background: var(--mist); border-radius: 10px; padding: 20px 22px; margin-bottom: 22px; }
.due-now b { font-size: 30px; font-weight: 400; }
.due-now small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.card-form { border: 1px solid var(--line); border-radius: 10px; padding: 20px 20px 4px; margin-bottom: 18px; }
.co-summary-inner { position: sticky; top: calc(var(--header-h) + 30px); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.co-summary img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; margin-bottom: 18px; }
.co-summary h3 { font-family: var(--display); letter-spacing: .26em; font-weight: 400; font-size: 17px; text-transform: uppercase; margin: 0 0 18px; }
.co-spec { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 18px; }
.co-spec summary { cursor: pointer; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.co-spec ul { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13px; }
.co-spec li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.co-spec li span { color: var(--muted); }

/* confirmation */
.confirm-hero { position: relative; height: 72vh; min-height: 480px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.confirm-copy { position: relative; z-index: 2; padding: 0 11.5vw 10vh; }
.confirm-body { display: grid; grid-template-columns: 1fr 420px; gap: 80px; padding: 80px 11.5vw; }
.timeline { list-style: none; padding: 0; margin: 20px 0 40px; border-left: 1px solid var(--line); }
.timeline li { padding: 0 0 30px 30px; position: relative; display: flex; flex-direction: column; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.timeline li.is-done::before { background: var(--accent); border-color: var(--accent); }
.timeline b { font-weight: 500; }
.timeline span { color: var(--muted); }
.receipt { border: 1px solid var(--line); padding: 24px; border-radius: 12px; align-self: start; }
.receipt img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.receipt h3 { font-weight: 400; font-size: 22px; }

/* ==========================================================================
   Test drive
   ========================================================================== */
.td-hero { position: relative; height: 56vh; min-height: 400px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.td-hero-copy { position: relative; z-index: 2; padding: 0 var(--pad) 7vh; }
.td-form { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 60px; padding: 60px var(--pad) 100px; max-width: 1500px; margin: 0 auto; }
.td-step { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.td-step h2 { font-weight: 400; font-size: 26px; margin: 0 0 24px; }
.td-step h2 span { font-size: 13px; color: var(--muted); margin-right: 14px; letter-spacing: .1em; }
.pick-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.pick span { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; transition: all .3s var(--ease); }
.pick img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .8s var(--ease-out); }
.pick b { font-weight: 500; font-size: 14px; padding: 12px 12px 0; }
.pick small { font-size: 12px; color: var(--muted); padding: 0 12px 12px; }
.pick:hover img { transform: scale(1.05); }
.pick input:checked + span { border: 2px solid var(--ink); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.date-scroller { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 20px; scrollbar-width: thin; }
.date-pill span { display: flex; flex-direction: column; align-items: center; width: 74px; padding: 12px 0; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: all .3s; }
.date-pill b { font-size: 24px; font-weight: 400; }
.date-pill small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.date-pill input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.date-pill input:checked + span small { color: rgba(255,255,255,.6); }
.slot-row { display: flex; flex-wrap: wrap; gap: 10px; }
.slot span { display: block; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 14px; transition: all .3s; }
.slot input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slot input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.td-summary { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.td-summary h3 { font-family: var(--display); font-weight: 400; letter-spacing: .24em; text-transform: uppercase; font-size: 16px; margin: 0 0 12px; }
.td-summary p { margin: 0 0 6px; }
.td-summary .btn { margin: 20px 0 12px; }
.td-done { text-align: center; padding: 80px var(--pad) 120px; max-width: 900px; margin: 0 auto; }
.td-ticket { display: grid; grid-template-columns: 280px 1fr; text-align: left; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 30px 0; animation: lbIn .8s var(--ease-out); }
.td-ticket img { width: 100%; height: 100%; object-fit: cover; }
.td-ticket > div { padding: 28px; }
.td-ticket h3 { font-family: var(--display); font-weight: 400; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 10px; }

/* ==========================================================================
   Full screen gallery
   ========================================================================== */
.page-gallery { overflow: hidden; background: #000; }
.fsg { position: fixed; inset: 0; background: #000; }
.fsg-track { display: flex; height: 100%; gap: 6px; will-change: transform; cursor: grab; user-select: none; }
.fsg-track.is-dragging { cursor: grabbing; }
.fsg-slide { position: relative; flex: 0 0 100vw; height: 100%; margin: 0; overflow: hidden; transition: flex-basis .6s var(--ease); }
.fsg-slide.is-out { display: none; }
.fsg-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease-out), filter 1s; filter: brightness(.65); pointer-events: none; }
.fsg-slide.is-active img { transform: scale(1); filter: brightness(.92); }
.fsg-cap { position: absolute; left: 11.5vw; bottom: 16vh; color: #fff; max-width: 640px; opacity: 0; transform: translateY(30px); transition: all 1s var(--ease-out) .3s; }
.fsg-slide.is-active .fsg-cap { opacity: 1; transform: none; }
.fsg-cap h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 60px); letter-spacing: .2em; margin: 18px 0 10px; text-shadow: 0 4px 40px rgba(0,0,0,.3); }
.fsg-cap p { font-size: 18px; font-weight: 300; margin: 0 0 26px; opacity: .9; }
.fsg-filters { position: fixed; top: calc(var(--header-h) + 16px); left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 8px; }
.fsg-pill { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.88); color: #0c0d0f; backdrop-filter: blur(14px); padding: 12px 22px; border-radius: 999px; font-size: 13px; font-variant-numeric: tabular-nums; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.fsg-bar { width: 140px; height: 2px; background: rgba(0,0,0,.12); position: relative; overflow: hidden; border-radius: 2px; }
.fsg-bar span { position: absolute; left: 0; top: 0; bottom: 0; background: #0c0d0f; width: 0; transition: width .6s var(--ease-out); }
.fsg-hint { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: #555; }

/* ==========================================================================
   Video platform
   ========================================================================== */
.theme-dark { background: #0b0c0e; color: #f2f1ee; }
.theme-dark .site-footer { border-color: rgba(255,255,255,.08); }
.vp-hero { position: relative; height: 88vh; min-height: 560px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.vp-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #0b0c0e 2%, rgba(11,12,14,.2) 45%, rgba(0,0,0,.35)), linear-gradient(90deg, rgba(0,0,0,.6), transparent 60%); }
.vp-hero-copy { position: relative; z-index: 2; padding: 0 var(--pad) 12vh; max-width: 900px; }
.vp-row { padding: 0 var(--pad) 50px; position: relative; z-index: 3; }
.vp-row-title { font-weight: 400; font-size: 22px; margin: 0 0 18px; }
.vp .film-card { flex-basis: min(340px, 70vw); }
.vp .film-card:hover .film-media { transform: scale(1.04); box-shadow: 0 20px 50px rgba(0,0,0,.5); z-index: 2; }
.vp .film-media { transition: transform .5s var(--ease-out), box-shadow .5s; border-radius: 6px; }
.vp .film-card h3 { font-size: 16px; }
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding: 30px var(--pad) 80px; max-width: 1800px; margin: 0 auto; }
.player { position: relative; background: #000; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 110px; height: 110px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); color: #fff; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; background: rgba(0,0,0,.3); backdrop-filter: blur(8px); transition: transform .4s var(--ease), opacity .4s; }
.player-big:hover { transform: translate(-50%, -50%) scale(1.06); }
.player.is-playing .player-big { opacity: 0; pointer-events: none; }
.player-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 16px; padding: 30px 20px 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; transition: opacity .4s; }
.player.is-playing:not(:hover) .player-bar { opacity: 0; }
.player-btn { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.player-time { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .85; }
.player-scrub { flex: 1; height: 4px; background: rgba(255,255,255,.25); position: relative; cursor: pointer; border-radius: 2px; }
.player-scrub span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; }
[data-player-buf] { background: rgba(255,255,255,.35); }
[data-player-prog] { background: var(--accent); }
.watch-info { padding: 28px 0; }
.watch-info .display { margin-bottom: 6px; }
.watch-next { display: flex; flex-direction: column; gap: 14px; }
.next-item { display: grid; grid-template-columns: 168px 1fr; gap: 14px; align-items: start; padding: 6px; border-radius: 8px; transition: background .3s; }
.next-item:hover { background: rgba(255,255,255,.05); }
.next-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 6px; }
.next-thumb img { width: 100%; height: 100%; object-fit: cover; }
.next-thumb i { position: absolute; right: 6px; bottom: 6px; font-style: normal; font-size: 11px; background: rgba(0,0,0,.7); padding: 2px 6px; }
.next-item b { display: block; font-weight: 400; font-size: 15px; line-height: 1.35; }
.next-item small { color: rgba(255,255,255,.5); font-size: 12px; }

/* ==========================================================================
   Articles
   ========================================================================== */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 200; width: 0; }
.article-hero { position: relative; height: 86vh; min-height: 540px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.article-hero-copy { position: relative; z-index: 2; padding: 0 11.5vw 10vh; max-width: 1300px; }
.prose { max-width: 760px; margin: 0 auto; padding: 80px 24px; font-size: 19px; font-weight: 300; line-height: 1.8; }
.prose h2 { font-weight: 400; font-size: 30px; margin: 56px 0 14px; line-height: 1.2; }
.prose blockquote { margin: 48px 0; padding: 0 0 0 30px; border-left: 2px solid var(--accent); font-size: 28px; line-height: 1.4; font-weight: 300; }
.prose img { width: 100%; margin: 30px 0; }
.prose a { text-decoration: underline; }
.byline { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* CMS blocks */
.blk-text { padding: clamp(70px, 10vw, 150px) 11.5vw; max-width: 1300px; }
.blk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.blk-stats > div { padding: 50px 11.5vw 50px; border-right: 1px solid var(--line); padding: 50px 40px; }
.blk-stats b { display: block; font-size: clamp(40px, 4.5vw, 70px); font-weight: 300; line-height: 1; margin-bottom: 12px; }
.blk-stats span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.blk-video { padding: clamp(60px, 8vw, 120px) var(--pad); max-width: 1500px; margin: 0 auto; }
.blk-video-frame video { width: 100%; border-radius: 6px; background: #000; }
.blk-cta { text-align: center; padding: clamp(80px, 12vw, 180px) var(--pad); background: var(--mist); }
.blk-cta .lead { margin: 0 auto 34px; }
.blk-quote { padding: clamp(80px, 10vw, 150px) 11.5vw; text-align: center; }
.blk-quote blockquote { font-size: clamp(26px, 3.2vw, 46px); font-weight: 300; line-height: 1.35; margin: 0 auto 20px; max-width: 1100px; }
.blk-quote cite { font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.preview-flag { position: fixed; top: calc(var(--header-h) + 10px); right: 20px; z-index: 150; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* shop */
.steps-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.step-item { padding: 40px var(--pad); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.step-item:last-child { border-right: 0; }
.step-item b { font-family: var(--display); font-weight: 400; color: var(--accent); font-size: 14px; letter-spacing: .2em; margin-bottom: 10px; }
.step-item span { font-size: 19px; }
.step-item small { color: var(--muted); }
.assurance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 90px var(--pad); background: var(--ink); color: var(--paper); }
.assurance h3 { font-weight: 400; font-size: 20px; margin: 0 0 10px; }
.assurance p { color: rgba(255,255,255,.6); margin: 0; font-size: 15px; }

/* search / support */
.search-inline { display: flex; gap: 12px; margin-bottom: 14px; }
.search-inline input { flex: 1; border: 0; border-bottom: 1px solid var(--ink); font-size: clamp(24px, 3vw, 40px); font-weight: 300; padding: 10px 0; outline: none; }
.search-group { margin: 40px 0 16px; }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.search-hit { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; border: 1px solid var(--line); padding: 10px; border-radius: 8px; transition: border-color .3s; }
.search-hit:hover { border-color: var(--ink); }
.search-hit img { aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.search-hit b { font-weight: 500; display: block; }
.search-hit small { color: var(--muted); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { cursor: pointer; font-size: 19px; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::after { content: 'Open'; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.faq-item[open] summary::after { content: 'Close'; }
.faq-item p { color: var(--muted); margin: 14px 0 0; }
.card-pad { border: 1px solid var(--line); border-radius: 12px; padding: 32px; }

/* ==========================================================================
   Auth + profiles (luxury PIN experience)
   ========================================================================== */
.auth { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 100vh; }
.auth-media { position: relative; overflow: hidden; background: #000; }
.auth-logo { position: absolute; top: 34px; left: 40px; color: #fff; z-index: 2; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 60px 40px; }
.auth-form { width: 100%; max-width: 420px; }
.auth-form .btn { margin: 6px 0 22px; }

.page-profiles { background: #07080a; color: #f4f1ea; }
.profiles { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; padding: 60px 24px; }
.profiles-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 110%, #3a2f1d 0%, #0b0b0d 55%, #050506 100%); }
.profiles-bg .fill-media { opacity: .22; filter: blur(14px) saturate(.6); transform: scale(1.1); }
.profiles-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, rgba(5,5,6,.85) 75%); }
.profiles-inner { position: relative; z-index: 2; text-align: center; width: 100%; max-width: 1100px; }
.profiles-logo { display: inline-block; font-size: 15px; color: rgba(244,241,234,.7); margin-bottom: 9vh; }
.profiles-title { font-family: var(--body); font-weight: 300; font-size: clamp(38px, 5vw, 68px); letter-spacing: .02em; margin: 0 0 12px; }
.profiles-sub { color: rgba(244,241,234,.55); margin: 0 0 56px; font-weight: 300; }
.profile-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(24px, 3.5vw, 52px); }
.profile-tile { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 170px; color: inherit; }
.mono { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 46px; color: #fff; position: relative; transition: transform .6s var(--ease-out), box-shadow .6s; box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.25); }
.mono::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(212,185,130,0); transition: border-color .5s, inset .5s var(--ease-out); }
.tone-onyx { background: radial-gradient(circle at 30% 25%, #4a4c52, #121316 70%); }
.tone-gold { background: radial-gradient(circle at 30% 25%, #f1dcae, #a8854e 55%, #5d4523); color: #1a1408; }
.tone-pearl { background: radial-gradient(circle at 30% 25%, #ffffff, #d8d3c8 55%, #8d877b); color: #2a2822; }
.tone-sapphire { background: radial-gradient(circle at 30% 25%, #6c8fd1, #1e3566 60%, #0c1630); }
.tone-emerald { background: radial-gradient(circle at 30% 25%, #6fb495, #1d4f3c 60%, #0b2219); }
.tone-garnet { background: radial-gradient(circle at 30% 25%, #c9727a, #6e1f2c 60%, #2e0b12); }
.mono-add { background: transparent; border: 1px dashed rgba(244,241,234,.35); box-shadow: none; font-family: var(--body); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: rgba(244,241,234,.7); }
.profile-tile:hover .mono, .profile-tile:focus-visible .mono { transform: translateY(-6px) scale(1.04); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(212,185,130,.4); }
.profile-tile:hover .mono::after { border-color: rgba(212,185,130,.55); inset: -12px; }
.profile-name { font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,241,234,.78); transition: color .3s; }
.profile-tile:hover .profile-name { color: #fff; }
.profile-tile small { font-size: 11px; color: rgba(244,241,234,.4); margin-top: -10px; }
.profiles-foot { margin-top: 70px; }
.pin-sheet { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(5,5,6,.7); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); animation: fade .4s; }
.pin-card { text-align: center; width: min(380px, 92vw); animation: lbIn .6s var(--ease-out); }
.pin-card .mono { width: 96px; height: 96px; font-size: 30px; margin: 0 auto 22px; }
.pin-card h2 { font-weight: 300; font-size: 30px; margin: 0 0 28px; letter-spacing: .02em; }
.pin-boxes { display: flex; justify-content: center; gap: 16px; margin-bottom: 14px; }
.pin-boxes i { width: 54px; height: 64px; border: 1px solid rgba(244,241,234,.25); border-radius: 10px; position: relative; transition: border-color .3s, background .3s; }
.pin-boxes i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: linear-gradient(135deg, #f1dcae, #a8854e); transform: scale(0); transition: transform .35s var(--ease-out); }
.pin-boxes i.is-filled { border-color: rgba(212,185,130,.7); background: rgba(212,185,130,.06); }
.pin-boxes i.is-filled::after { transform: scale(1); }
.pin-boxes.is-error { animation: shake .5s; }
.pin-boxes.is-error i { border-color: #c96a6a; }
.pin-boxes.is-ok i { border-color: #d4b982; background: rgba(212,185,130,.15); }
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.pin-error { color: #e19a9a; font-size: 14px; min-height: 22px; margin: 0 0 14px; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 270px; margin: 0 auto 24px; }
.keypad button { height: 66px; border-radius: 50%; width: 66px; justify-self: center; font-size: 24px; font-weight: 300; color: #f4f1ea; border: 1px solid rgba(244,241,234,.12); background: rgba(255,255,255,.03); transition: background .25s, transform .15s, border-color .25s; }
.keypad button:hover { background: rgba(255,255,255,.08); border-color: rgba(212,185,130,.4); }
.keypad button:active { transform: scale(.93); background: rgba(212,185,130,.18); }
.keypad .key-text { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; border-color: transparent; background: none; }
.pin-links { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.pin-setup .pin-boxes { margin-top: 10px; }
.profiles .mono { margin: 0 auto; }
.profiles-inner > .mono { margin-bottom: 26px; width: 110px; height: 110px; }

/* account */
.account { padding: 50px var(--pad) 100px; max-width: 1400px; margin: 0 auto; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.account-id { display: flex; align-items: center; gap: 22px; }
.account-id .mono { width: 76px; height: 76px; font-size: 24px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.account-id .display { margin: 0; }
.tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin-bottom: 40px; overflow-x: auto; }
.tabs a { padding: 16px 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.is-active { color: var(--ink); border-color: var(--ink); }
.tab-panel { animation: stepIn .5s var(--ease-out); }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: 12px; }
.empty h3 { font-weight: 400; font-size: 24px; margin: 0 0 8px; }
.order-card { display: grid; grid-template-columns: 220px 1fr auto; gap: 30px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; }
.order-card img { aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; width: 100%; }
.order-card h3 { font-weight: 400; font-size: 22px; margin: 0 0 4px; }
.order-track { display: flex; list-style: none; padding: 0; margin: 16px 0 0; gap: 4px; }
.order-track li { flex: 1; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); }
.order-track li.is-done { color: var(--ink); border-color: var(--accent); }
.build-card img { aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; width: 100%; margin-bottom: 14px; }
.build-card h3 { font-weight: 400; margin: 0; }
.build-card form { display: inline; }
.profile-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.pm-card { border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; }
.pm-card .mono { width: 76px; height: 76px; font-size: 24px; margin: 0 auto 20px; }
.pm-new .mono-add { border-color: var(--line); color: var(--muted); font-size: 10px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--paper); padding: 90px var(--pad) 40px; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand p { color: rgba(255,255,255,.55); max-width: 320px; margin-top: 20px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-cols .eyebrow { color: rgba(255,255,255,.45); }
.footer-cols a, .footer-btn { font-size: 14px; color: rgba(255,255,255,.82); transition: color .3s; text-align: left; }
.footer-cols a:hover, .footer-btn:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-top: 30px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom .footer-btn { font-size: 13px; color: rgba(255,255,255,.5); }

/* static pages */
.static-header { display: flex; justify-content: space-between; align-items: center; padding: 28px var(--pad); border-bottom: 1px solid var(--line); }
.static-prose { padding-top: 60px; }
.static-foot { display: flex; gap: 24px; justify-content: center; padding: 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.consent { position: fixed; left: 24px; bottom: 24px; z-index: 600; width: min(520px, calc(100vw - 48px)); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.25); border-radius: 12px; transform: translateY(140%); transition: transform .8s var(--ease-out); max-height: calc(100vh - 48px); overflow: auto; }
.consent.is-visible { transform: none; }
.consent-main { padding: 28px; }
.consent h3 { font-weight: 400; font-size: 22px; margin: 0 0 10px; }
.consent p { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { min-height: 44px; padding: 0 18px; font-size: 11px; }
.consent-prefs { margin-bottom: 18px; }

/* ==========================================================================
   Site tour
   ========================================================================== */
.tour { position: fixed; inset: 0; z-index: 700; }
.tour-spot { position: fixed; border-radius: 10px; box-shadow: 0 0 0 9999px rgba(8,8,10,.72); transition: all .6s var(--ease-out); pointer-events: none; outline: 1px solid rgba(212,185,130,.8); outline-offset: 4px; }
.tour-card { position: fixed; width: min(360px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); padding: 24px; border-radius: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.35); transition: top .6s var(--ease-out), left .6s var(--ease-out); }
.tour-card h4 { font-weight: 400; font-size: 22px; margin: 0 0 8px; }
.tour-card p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.tour-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tour-actions > span { display: flex; gap: 8px; }
.tour-invite { position: fixed; right: 24px; bottom: 24px; z-index: 590; background: var(--ink); color: var(--paper); padding: 18px 20px; border-radius: 12px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; max-width: calc(100vw - 48px); box-shadow: 0 20px 50px rgba(0,0,0,.3); animation: toastIn .8s var(--ease-out); }
.tour-invite p { margin: 0; font-size: 14px; }
.tour-invite .btn-dark { background: var(--paper); color: var(--ink); }
.tour-invite .text-link { color: rgba(255,255,255,.7); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .site-nav-left, .site-nav-right { display: none; }
  .nav-menu-btn { display: block; }
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .site-logo { grid-column: 2; }
  .cfg-body { grid-template-columns: 1fr 400px; }
  .cfg-bar-right { gap: 30px; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .tri { flex-direction: column; }
  .tri-content { transform: translateY(-50%); }
  .tri-title { margin-bottom: 16px; font-size: 22px; }
  .tri-top { padding: 20px; }
  .tri-scroll-hint { display: none; }
  .hero-content { padding-left: var(--pad); padding-right: var(--pad); }
  .hero-actions { gap: 14px; }
  .hero-actions .btn-lg { min-width: 0; width: 100%; }
  .hero-pause { right: 20px; bottom: 20px; }
  .split-feature, .split-feature.is-reverse { grid-template-columns: 1fr; }
  .split-feature.is-reverse .split-media { order: 0; }
  .grid-3, .cta-trio, .steps-strip, .assurance, .story-lead, .support-grid, .auth, .confirm-body, .footer-top { grid-template-columns: 1fr; }
  .cta-tile, .step-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .auth-media { min-height: 30vh; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .m0, .m3 { grid-column: span 2; grid-row: span 1; }
  .subnav-links, .subnav-name { display: none; }
  .subnav { justify-content: flex-end; }
  .cfg-body { grid-template-columns: 1fr; padding: 12px; }
  .cfg-stage { position: relative; top: 0; height: 52vh; }
  .cfg-bar { height: 84px; padding: 0 16px; }
  .cfg-bar-left span, .cfg-bar .link-sm { display: none; }
  .cfg-next { min-width: 0; padding: 0 20px; }
  .cfg-top { padding: 0 12px; } .cfg-inventory { display: none; }
  .checkout, .td-form, .watch { grid-template-columns: 1fr; }
  .co-summary { order: -1; }
  .co-summary-inner { position: static; }
  .td-summary { position: static; }
  .td-ticket { grid-template-columns: 1fr; }
  .order-card { grid-template-columns: 1fr; }
  .choice-3, .buy-types, .inspire-grid { grid-template-columns: 1fr; }
  .fsg-cap { left: var(--pad); right: var(--pad); bottom: 18vh; }
  .fsg-hint { display: none; }
  .fsg-filters .chip { white-space: nowrap; padding: 8px 12px; font-size: 10px; }
  .fsg-filters { top: calc(var(--header-h) + 10px); }
  .tour-invite { left: 24px; right: 24px; }
}
@media (max-width: 560px) {
  .wordmark { letter-spacing: .3em; font-size: 13px; }
  .grid-cards { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); }
  .mono { width: 110px; height: 110px; font-size: 34px; }
  .profile-tile { width: 120px; }
  .keypad button { width: 60px; height: 60px; }
  .pin-boxes i { width: 48px; height: 58px; }
}

/* Powered by credit */
.powered-by { color: inherit; text-decoration: underline; text-decoration-color: rgba(127,127,127,.4); text-underline-offset: 3px; transition: color .3s; }
.powered-by:hover { color: var(--accent); }
.footer-bottom .powered-by { margin-left: 14px; }
.cn-credit { padding: 26px var(--pad); text-align: center; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.page-profiles .cn-credit, .page-video .cn-credit { color: rgba(255,255,255,.5); background: #07080a; }
.page-home .cn-credit, .page-gallery .cn-credit, .page-profiles .cn-credit { position: fixed; right: 22px; bottom: 16px; z-index: 30; padding: 0; background: none; color: rgba(255,255,255,.6); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.page-build .cn-credit { padding-bottom: 130px; }
.page-build .cfg { padding-bottom: 0; }
.page-auth .cn-credit { position: fixed; left: 0; right: 0; bottom: 14px; padding: 0; pointer-events: none; }
.page-auth .cn-credit a { pointer-events: auto; }
@media (max-width: 760px) {
  .page-home .cn-credit, .page-gallery .cn-credit { right: 0; left: 0; bottom: 6px; text-align: center; font-size: 10px; }
  .page-gallery .fsg-pill { bottom: 30px; }
}
.page-home .cn-credit { right: auto; left: 22px; }

/* Installable app */
.install-card { position: fixed; right: 24px; bottom: 24px; z-index: 580; width: 380px; max-width: calc(100vw - 48px); background: var(--ink); color: var(--paper); padding: 22px 24px; border-radius: 12px; display: grid; gap: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35); animation: toastIn .8s var(--ease-out); border-top: 2px solid var(--accent); }
.install-card[hidden] { display: none; }
.install-copy b { display: block; font-family: var(--display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; margin-bottom: 8px; }
.install-copy p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.72); }
.install-actions { display: flex; align-items: center; gap: 18px; }
.install-card .text-link { color: rgba(255,255,255,.7); }
.mobile-install { font: inherit; font-size: 22px; font-weight: 300; padding: 14px 0; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--accent); cursor: pointer; }
.mobile-install[hidden], .footer-btn[hidden] { display: none; }
@media (max-width: 760px) { .install-card { left: 16px; right: 16px; bottom: 16px; width: auto; max-width: none; } }
/* Running as an installed app */
.is-app body { -webkit-tap-highlight-color: transparent; }

/* ==========================================================================
   Video Hub
   ========================================================================== */
.film-src { position: absolute; left: 10px; top: 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: rgba(0,0,0,.62); color: #fff; padding: 4px 8px; border-radius: 3px; backdrop-filter: blur(6px); }
.hub-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 34px var(--pad) 6px; }
.hub-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hub-search input { width: 300px; max-width: 80vw; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 12px 18px; border-radius: 999px; font: inherit; font-size: 14px; }
.hub-search input::placeholder { color: rgba(255,255,255,.5); }
.hub-search input:focus { outline: none; border-color: var(--accent); }
.hub-empty { padding: 40px var(--pad); color: rgba(255,255,255,.6); }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px 20px; padding: 0 var(--pad); }
.hub-grid .film-card { width: auto; }
.hub-grid .film-card[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.watch-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: rgba(255,255,255,.65); font-size: 14px; margin: 10px 0 22px; }
.watch-meta b { color: #fff; font-weight: 500; }
.watch-desc { margin-bottom: 26px; color: rgba(255,255,255,.8); line-height: 1.7; max-width: 820px; }
.watch-desc p { margin: 0 0 10px; overflow-wrap: anywhere; }
.watch-desc.is-clamped p { max-height: 7.2em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.next-item small { display: block; color: rgba(255,255,255,.55); font-size: 12px; margin-top: 3px; }

/* ---------- CarsNow player ---------- */
.cnp { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 10px; overflow: hidden; color: #fff; outline: none; user-select: none; -webkit-user-select: none; isolation: isolate; }
.cnp:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.cnp:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; }
.cnp-stage, .cnp-stage > *, .cnp-stage iframe, .cnp-stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.cnp-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s, transform 1.2s var(--ease-out); z-index: 1; }
.cnp:not(.is-started):hover .cnp-poster { transform: scale(1.03); }
.cnp.is-started .cnp-poster { opacity: 0; pointer-events: none; }
.cnp-shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 26%, transparent 62%, rgba(0,0,0,.7)); transition: opacity .4s; }
.cnp.is-playing:not(.is-awake) .cnp-shield { opacity: 0; cursor: none; }
.cnp-top { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 16px; padding: 20px 24px; pointer-events: none; transition: opacity .4s; }
.cnp-mark { font-family: var(--display); font-size: 11px; letter-spacing: .42em; opacity: .9; }
.cnp-title { font-size: 14px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cnp-big { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); width: 116px; height: 116px; border-radius: 50%; border: 1px solid rgba(255,255,255,.75); color: #fff; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; padding-left: .28em; background: rgba(12,13,15,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .5s var(--ease), opacity .4s, background .3s; cursor: pointer; }
.cnp-big:hover { transform: translate(-50%, -50%) scale(1.07); background: var(--accent); border-color: var(--accent); }
.cnp.is-playing .cnp-big { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.9); }
.cnp-loading { position: absolute; left: 50%; top: 50%; z-index: 3; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); border-top-color: var(--accent); animation: cnpSpin .9s linear infinite; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cnp[data-state="loading"] .cnp-loading { opacity: 1; }
@keyframes cnpSpin { to { transform: rotate(360deg); } }
.cnp-error { position: absolute; inset: auto 24px 50%; z-index: 4; transform: translateY(50%); text-align: center; margin: 0; font-size: 15px; display: none; }
.cnp.is-error .cnp-error { display: block; }
.cnp.is-error .cnp-big, .cnp.is-error .cnp-loading { display: none; }

.cnp-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 22px 14px; transition: opacity .4s, transform .4s var(--ease); }
.cnp:not(.is-started) .cnp-bar { opacity: 0; pointer-events: none; transform: translateY(8px); }
.cnp.is-playing:not(.is-awake) .cnp-bar, .cnp.is-playing:not(.is-awake) .cnp-top { opacity: 0; pointer-events: none; }
.cnp-scrub { position: relative; height: 22px; cursor: pointer; touch-action: none; outline: none; }
.cnp-rail { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(255,255,255,.22); border-radius: 2px; overflow: hidden; transition: height .2s, margin .2s; }
.cnp-scrub:hover .cnp-rail, .cnp-scrub:focus-visible .cnp-rail { height: 6px; margin-top: -3px; }
.cnp-buf, .cnp-prog { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.cnp-buf { background: rgba(255,255,255,.3); }
.cnp-prog { background: var(--accent); }
.cnp-knob { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .2s; box-shadow: 0 0 0 4px rgba(180,149,95,.35); }
.cnp-scrub:hover .cnp-knob, .cnp-scrub:focus-visible .cnp-knob { transform: scale(1); }
.cnp-tip { position: absolute; bottom: 24px; transform: translateX(-50%); font-size: 12px; font-variant-numeric: tabular-nums; background: rgba(12,13,15,.85); padding: 4px 8px; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.cnp-scrub:hover .cnp-tip { opacity: 1; }
.cnp-row { display: flex; align-items: center; gap: 18px; margin-top: 4px; }
.cnp-btn { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); white-space: nowrap; padding: 6px 0; cursor: pointer; transition: color .25s; }
.cnp-btn:hover, .cnp-btn:focus-visible { color: var(--accent); outline: none; }
.cnp-btn-main { color: #fff; font-weight: 600; min-width: 52px; text-align: left; }
.cnp-time { font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.75); }
.cnp-spacer { flex: 1; }
.cnp-vol { width: 84px; accent-color: var(--accent); height: 3px; cursor: pointer; }
/* Google Drive keeps its own controls */
.cnp.is-native.is-started .cnp-shield, .cnp.is-native.is-started .cnp-bar, .cnp.is-native.is-started .cnp-top, .cnp.is-native.is-started .cnp-big { display: none; }

.cnp-menu { position: absolute; z-index: 10; min-width: 248px; padding: 8px; background: rgba(16,17,20,.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.5); animation: cnpMenu .18s var(--ease-out); user-select: none; }
.cnp-menu[hidden] { display: none; }
@keyframes cnpMenu { from { opacity: 0; transform: scale(.97) translateY(-4px); } }
.cnp-menu button { display: block; width: 100%; text-align: left; padding: 10px 14px; font-size: 14px; color: rgba(255,255,255,.88); border-radius: 6px; cursor: pointer; }
.cnp-menu button[hidden] { display: none; }
.cnp-menu button:hover, .cnp-menu button:focus-visible { background: rgba(255,255,255,.08); color: #fff; outline: none; }
.cnp-menu hr { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: 6px 4px; }
.cnp-credit { margin: 0; padding: 10px 14px 8px; font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.55); }
.cnp-credit a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(180,149,95,.45); text-underline-offset: 3px; }
.cnp-credit a:hover, .cnp-credit a:focus-visible { color: #fff; outline: none; }

@media (max-width: 760px) {
  .cnp { border-radius: 0; margin: 0 calc(var(--pad) * -1); }
  .cnp-big { width: 84px; height: 84px; font-size: 10px; }
  .cnp-row { gap: 12px; }
  .cnp-vol, [data-cnp-back], [data-cnp-fwd], [data-cnp-rate] { display: none; }
  .cnp-bar { padding: 0 14px 10px; }
  .cnp-top { padding: 14px; }
  .hub-search input { width: 100%; }
  .hub-search { width: 100%; }
}
/* Player controls adapt to the player's own width */
.cnp { container-type: inline-size; }
.cnp-time, .cnp-btn { white-space: nowrap; flex-shrink: 0; }
@container (max-width: 720px) {
  .cnp-vol, .cnp [data-cnp-rate] { display: none; }
  .cnp-row { gap: 14px; }
}
@container (max-width: 560px) {
  .cnp [data-cnp-back], .cnp [data-cnp-fwd] { display: none; }
  .cnp-title { display: none; }
  .cnp-big { width: 88px; height: 88px; font-size: 10px; }
}
.cnp-menu.is-floating { position: fixed; z-index: 1200; }
.cnp-menu button { padding: 8px 12px; font-size: 13px; }
.cnp-credit { padding: 8px 12px 6px; }
.cnp:fullscreen .cnp-menu { position: fixed; }
.thumb-frame, .thumb-blank { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.next-thumb .thumb-frame, .next-thumb .thumb-blank { position: static; display: block; aspect-ratio: 16/9; }
.thumb-blank { display: grid; place-items: center; background: linear-gradient(135deg, #1a1b1f, #0c0d0f); font-family: var(--display); font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.5); text-transform: uppercase; }
/* YouTube shows its own title bar and suggestions when paused or finished; cover them with the thumbnail */
.cnp[data-source="youtube"].is-started[data-state="paused"] .cnp-poster,
.cnp[data-source="youtube"].is-started[data-state="ended"] .cnp-poster { opacity: 1; }
.cnp[data-source="youtube"].is-started[data-state="paused"] .cnp-shield,
.cnp[data-source="youtube"].is-started[data-state="ended"] .cnp-shield { background: rgba(0,0,0,.35); }

/* Up next: paged so it never runs past the player column */
.watch { align-items: start; }
.next-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.next-head .eyebrow { margin: 0; }
.next-pager { display: flex; align-items: center; gap: 14px; }
.next-pager[hidden] { display: none; }
.next-page-btn { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s, opacity .25s; cursor: pointer; }
.next-page-btn:hover:not(:disabled), .next-page-btn:focus-visible { color: var(--accent); border-color: var(--accent); outline: none; }
.next-page-btn:disabled { opacity: .3; cursor: default; }
.next-page-count { font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.55); min-width: 44px; text-align: center; }
.next-list { display: flex; flex-direction: column; gap: 14px; }
.next-list .next-item[hidden] { display: none; }
.next-list.is-turning { animation: nextTurn .45s var(--ease-out); }
@keyframes nextTurn { from { opacity: 0; transform: translateY(8px); } }

/* Watch page on phones and small tablets: the player is pinned directly under the header and the rest scrolls beneath it */
@media (max-width: 960px) {
  .page-video { --player-h: min(56.25vw, 46vh); }
  .page-video .site-header.is-hidden { transform: none; }            /* header stays so the player is always flush under it */
  .page-video .watch { padding-top: 0; }
  .page-video .watch-main { padding-top: var(--player-h); }          /* keeps the player's space in the page */
  .page-video .watch-main > .cnp {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 90;
    width: 100%; height: var(--player-h); aspect-ratio: auto; margin: 0; border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
  }
  .page-video .watch-main > .cnp:fullscreen { height: 100%; }
  .page-video .watch-info { padding-top: 22px; }
}
.mobile-menu, .mobile-menu a { color: var(--ink); }
