/* ============================================================
   PRESTIGE BIMMER — Component styles
   ============================================================ */

/* ---------------- Logo ---------------- */
.pb-logo { display: flex; align-items: center; gap: 12px; }
.pb-logo-txt { display: flex; flex-direction: column; line-height: 1; }
.pb-logo-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: 0.18em; }
.pb-logo-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.42em; color: var(--blue-bright); margin-top: 3px; }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s var(--ease-out), border-color .5s, backdrop-filter .5s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav-scrolled {
  background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-scrolled .nav-inner { height: 70px; }
.nav-brand { transition: opacity .3s; }
.nav-brand:hover { opacity: 0.8; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 9px 16px; font-size: 14.5px; font-weight: 500;
  color: var(--text-dim); border-radius: 100px; transition: color .3s;
}
.nav-link span { position: relative; z-index: 1; }
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-admin {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text-dim); transition: all .3s var(--ease-out);
}
.nav-admin:hover { color: var(--blue-bright); border-color: var(--blue); transform: translateY(-2px); }
.nav-burger { display: none; width: 44px; height: 44px; place-items: center; color: var(--text); }

.nav-mobile {
  position: fixed; inset: 0 0 auto 0; top: 70px; background: rgba(6,8,12,0.97);
  backdrop-filter: blur(20px); border-bottom: 1px solid var(--line);
  padding: 22px var(--gutter) 30px; flex-direction: column; gap: 4px;
  display: none; transform: translateY(-12px); opacity: 0; transition: opacity .3s, transform .3s;
}
.nav-open .nav-mobile { display: flex; transform: none; opacity: 1; }
.nav-mobile-link { padding: 15px 4px; font-size: 19px; font-weight: 600; border-bottom: 1px solid var(--line); }

/* ---------------- Section heads ---------------- */
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .display-l, .sec-head .display-m { margin-top: 18px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head-cta { flex-shrink: 0; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  padding-bottom: clamp(50px, 8vh, 100px); padding-top: 120px; overflow: hidden;
}
.hero-stage { position: absolute; inset: -6%; z-index: 0; transition: transform .5s var(--ease-out); will-change: transform; }
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: translateY(calc(var(--sy, 0px) * 0.25)) scale(1.06);
  animation: heroZoom 16s var(--ease-in-out) infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.12) translateY(-2%); } }
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,7,11,0.92) 0%, rgba(5,7,11,0.62) 34%, rgba(5,7,11,0.12) 64%, rgba(5,7,11,0.30) 100%),
    linear-gradient(0deg, rgba(5,7,11,0.95) 0%, rgba(5,7,11,0.30) 30%, transparent 56%, rgba(5,7,11,0.45) 100%),
    radial-gradient(130% 95% at 78% 38%, transparent 26%, rgba(5,7,11,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-kicker-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-loc { font-size: 12px; color: var(--text-dim); display: inline-flex; align-items: center; gap: 7px; }

.hero-title { margin-bottom: 28px; }
.hero-title .hl { display: block; overflow: hidden; }
.hero-title .hl > * , .hero-title .hl { }
.hero-accent { color: transparent; background: linear-gradient(100deg, var(--blue-bright), var(--cyan)); -webkit-background-clip: text; background-clip: text; }

/* staggered reveal for hero lines */
.hero-title .hl { opacity: 0; transform: translateY(110%); animation: heroLine 1.1s var(--ease-out) forwards; animation-delay: calc(0.15s + var(--i) * 0.13s); }
@keyframes heroLine { to { opacity: 1; transform: none; } }

.hero-lede { animation: fadeUp 1s var(--ease-out) .55s both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; animation: fadeUp 1s var(--ease-out) .7s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-stats { display: flex; gap: clamp(28px, 5vw, 72px); margin-top: 56px; flex-wrap: wrap; animation: fadeUp 1s var(--ease-out) .85s both; }
.hero-stat-n { font-weight: 800; line-height: 1; display: flex; align-items: baseline; }
.hero-stat-suf { font-size: 0.42em; color: var(--blue-bright); margin-left: 2px; font-family: var(--font-mono); }
.hero-stat-l { color: var(--text-dim); font-size: 13.5px; margin-top: 8px; max-width: 18ch; }

.hero-scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.3em; color: var(--text-faint); }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--blue-bright), transparent); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: var(--cyan); animation: scrollDot 1.8s var(--ease-in-out) infinite; }
@keyframes scrollDot { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

/* ---------------- Marquee ---------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--bg-2); position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 16%; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 34s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 38px; padding-right: 38px; font-size: 15px; letter-spacing: 0.14em; color: var(--text-dim); }
.marquee-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

/* ---------------- Process ---------------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.process-card { padding: 36px 30px 34px; transition: transform .5s var(--ease-out), border-color .5s, background .5s; }
.process-card:hover { transform: translateY(-6px); border-color: var(--line-2); background: linear-gradient(180deg, var(--surface-2), var(--bg-2)); }
.process-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.process-num { font-size: 13px; color: var(--text-faint); letter-spacing: 0.2em; }
.process-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue-bright); border: 1px solid rgba(31,109,255,0.2); }
.process-title { font-size: 22px; margin-bottom: 12px; }
.process-body { font-size: 15.5px; line-height: 1.6; }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-copy .kicker { margin-bottom: 22px; display: inline-flex; }
.about-copy .display-l { margin-bottom: 26px; }
.about-stats { display: flex; gap: clamp(24px, 4vw, 50px); margin-top: 44px; flex-wrap: wrap; }
.about-stats > div { display: flex; flex-direction: column; }
.about-stats strong { line-height: 1; color: var(--text); }
.about-stats span { color: var(--text-dim); font-size: 13.5px; margin-top: 8px; }
.about-media { position: relative; }
.about-photo { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.about-badge {
  position: absolute; bottom: -22px; left: -22px; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--surface-2); color: var(--amber);
  box-shadow: 0 22px 50px -20px rgba(0,0,0,0.7);
}
.about-badge > div { display: flex; flex-direction: column; line-height: 1.3; }
.about-badge strong { color: var(--text); font-size: 14px; }
.about-badge span { font-size: 10px; color: var(--text-dim); letter-spacing: 0.2em; margin-top: 3px; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-intro .kicker { margin-bottom: 22px; display: inline-flex; }
.contact-intro .display-l { margin-bottom: 24px; }
.contact-details { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row-ic { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue-bright); }
.contact-row > div { display: flex; flex-direction: column; }
.contact-row-l { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 3px; }
.contact-row-v { color: var(--text); font-weight: 500; }

.contact-form-wrap { padding: clamp(28px, 4vw, 44px); }
.contact-form-title { font-size: 22px; margin-bottom: 24px; font-family: var(--font-display); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--bg-2);
  border: 1px solid var(--line); color: var(--text); transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); background: var(--surface);
}
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23586374' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-fineprint { text-align: center; font-size: 11px; color: var(--text-faint); letter-spacing: 0.1em; }

.contact-sent { text-align: center; padding: 30px 10px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.contact-sent-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(56,211,159,0.12); color: var(--green); border: 1px solid rgba(56,211,159,0.3); animation: pop .5s var(--spring); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.contact-sent p { max-width: 36ch; }
.contact-sent .btn { margin-top: 8px; }

/* ---------------- Footer ---------------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(60px, 7vw, 90px) 36px; background: var(--bg-2); position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-title { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.footer-link { color: var(--text-dim); font-size: 14.5px; transition: color .3s, transform .3s; width: fit-content; }
.footer-link:hover { color: var(--blue-bright); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 11.5px; letter-spacing: 0.06em; color: var(--text-faint); }

/* ---------------- Vehicle card ---------------- */
.vcard {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  transform: perspective(1000px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
  transition: border-color .5s, box-shadow .5s, transform .2s var(--ease-out);
  transform-style: preserve-3d;
}
.vcard:hover { border-color: var(--line-2); box-shadow: 0 30px 70px -34px rgba(0,0,0,0.8), 0 0 0 1px rgba(31,109,255,0.18); }
.vcard-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.vcard-photo { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .8s var(--ease-out); }
.vcard:hover .vcard-photo { transform: scale(1.07); }
.vcard-badge { position: absolute; top: 14px; left: 14px; z-index: 2; backdrop-filter: blur(6px); }
.vcard-fav { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-bright); background: rgba(6,8,12,0.6); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(31,109,255,0.25); }
.vcard-series { position: absolute; bottom: 12px; left: 14px; z-index: 2; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); background: rgba(6,8,12,0.5); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 6px; }
.vcard-body { padding: 22px 22px 20px; position: relative; z-index: 1; }
.vcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.vcard-year { font-size: 12px; color: var(--text-faint); letter-spacing: 0.1em; }
.vcard-title { font-size: 20px; margin-top: 4px; line-height: 1.1; }
.vcard-price { font-family: var(--font-display); font-weight: 700; font-size: 21px; white-space: nowrap; }
.vcard-specs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.spec { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-dim); background: var(--bg-2); border: 1px solid var(--line); padding: 6px 10px; border-radius: 8px; letter-spacing: 0.02em; }
.spec svg { color: var(--blue-bright); }
.vcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.vcard-cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--text); transition: gap .3s, color .3s; }
.vcard:hover .vcard-cta { color: var(--blue-bright); gap: 11px; }
.vcard-color { font-size: 11px; color: var(--text-faint); }
.vcard-glow { position: absolute; inset: 0; border-radius: var(--radius-lg); pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(400px 200px at 50% 0%, rgba(31,109,255,0.1), transparent 70%); }
.vcard:hover .vcard-glow { opacity: 1; }

/* ---------------- Featured / inventory grids ---------------- */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.inv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: clamp(70px, 9vw, 120px); }

/* ---------------- Inventory page ---------------- */
.inv-page { padding-top: 84px; }
.inv-hero { padding-block: clamp(50px, 7vw, 90px) clamp(30px, 4vw, 50px); border-bottom: 1px solid var(--line); }
.inv-hero .kicker { display: inline-flex; margin-bottom: 18px; }
.inv-hero .lede { margin-top: 16px; }
.inv-controls { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 30px; }
.inv-search { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .3s, box-shadow .3s; }
.inv-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.inv-search svg { color: var(--text-faint); flex-shrink: 0; }
.inv-search input { flex: 1; background: none; border: none; padding: 15px 0; color: var(--text); }
.inv-search input:focus { outline: none; }
.inv-search-clear { color: var(--text-faint); display: grid; place-items: center; }
.inv-search-clear:hover { color: var(--text); }
.inv-sort { display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--text-faint); }
.inv-sort select { background: none; border: none; color: var(--text); padding: 15px 22px 15px 0; cursor: pointer; appearance: none; }
.inv-sort select:focus { outline: none; }
.inv-filters { padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.inv-chips, .inv-chips-sub { display: flex; flex-wrap: wrap; gap: 9px; }
.inv-chips-sub { opacity: 0.92; }
.inv-count { padding-top: 30px; padding-bottom: 22px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.inv-empty { text-align: center; padding: 80px 20px; color: var(--text-faint); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.inv-empty h3 { color: var(--text-dim); font-family: var(--font-display); }

/* ---------------- Detail page ---------------- */
.detail { padding-top: 110px; }
.detail-crumb { display: flex; align-items: center; justify-content: space-between; padding-bottom: 26px; }
.detail-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-weight: 500; font-size: 14px; transition: color .3s, gap .3s; }
.detail-back:hover { color: var(--text); gap: 12px; }
.detail-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.detail-main-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.detail-photo { aspect-ratio: 16 / 11; width: 100%; }
.detail-status { position: absolute; top: 18px; left: 18px; backdrop-filter: blur(8px); }
.detail-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.detail-thumb { aspect-ratio: 16/11; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); opacity: 0.55; transition: opacity .3s, border-color .3s, transform .3s; }
.detail-thumb .ph { width: 100%; height: 100%; }
.detail-thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.detail-thumb.active { opacity: 1; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }

.detail-summary { position: sticky; top: 96px; }
.detail-feat { position: static; display: inline-flex; margin-bottom: 14px; }
.detail-year { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.detail-title { margin: 10px 0 14px; }
.detail-tagline { font-size: 16px; line-height: 1.5; margin-bottom: 24px; }
.detail-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 46px); margin-bottom: 28px; }
.detail-keyspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 28px; }
.detail-keyspec { display: flex; align-items: center; gap: 13px; padding: 18px 18px; background: var(--surface); color: var(--blue-bright); }
.detail-keyspec > div { display: flex; flex-direction: column; }
.detail-keyspec-v { color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.detail-keyspec-l { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-top: 3px; }
.detail-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.detail-assure { display: flex; flex-wrap: wrap; gap: 16px; font-size: 11.5px; color: var(--text-dim); }
.detail-assure span { display: inline-flex; align-items: center; gap: 7px; }
.detail-assure svg { color: var(--green); }

.detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); padding-block: clamp(56px, 8vw, 100px); }
.detail-h2 { font-size: 24px; margin-bottom: 26px; font-family: var(--font-display); }
.spec-table { display: flex; flex-direction: column; }
.spec-row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { color: var(--text-faint); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.spec-row dd { color: var(--text); font-weight: 500; text-align: right; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; margin-bottom: 30px; }
.feature-list li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--text-dim); }
.feature-list svg { color: var(--blue-bright); flex-shrink: 0; }
.detail-quote { display: flex; gap: 16px; padding: 22px 24px; align-items: flex-start; }
.detail-quote svg { color: var(--blue-bright); flex-shrink: 0; margin-top: 2px; }
.detail-quote p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
.detail-related { border-top: 1px solid var(--line); }
.detail-missing { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; color: var(--text-faint); padding: 120px 20px; }
.detail-missing .btn { margin-top: 10px; }

/* ---------------- CTA band ---------------- */
.ctaband { padding-block: clamp(40px, 6vw, 90px); }
.ctaband-inner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: clamp(40px, 6vw, 70px); background: linear-gradient(120deg, var(--surface-2), var(--bg-2)); }
.ctaband-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 300px at 85% 120%, rgba(31,109,255,0.22), transparent 70%); }
.ctaband-copy { position: relative; z-index: 1; }
.ctaband-copy .kicker { display: inline-flex; margin-bottom: 18px; }
.ctaband-actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Banner ---------------- */
.banner {
  position: relative;
  min-height: clamp(440px, 62vh, 660px);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-block: clamp(20px, 4vw, 60px);
}
.banner-media { position: absolute; inset: -8% 0; z-index: 0; }
.banner-media image-slot {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  transform: translateY(var(--py, 0px)) scale(1.08);
  transition: transform .15s linear;
}
/* placeholder styling for the empty slot so it reads as a banner, not a tiny box */
.banner-media image-slot::part(empty) { background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); }
.banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(6,8,12,0.92) 0%, rgba(6,8,12,0.66) 42%, rgba(6,8,12,0.18) 100%),
    linear-gradient(0deg, rgba(6,8,12,0.6), transparent 55%),
    radial-gradient(120% 100% at 100% 50%, rgba(31,109,255,0.18), transparent 60%);
}
.banner-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(150,175,210,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(150,175,210,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
          mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.banner-content { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; }
.banner-content .kicker { display: inline-flex; margin-bottom: 22px; }
.banner-title { margin-bottom: 22px; }
.banner-lede { margin-bottom: 32px; max-width: 46ch; }


.page-transition { opacity: 1; }
.pt-enter { opacity: 0; transform: translateY(12px); }
.pt-in { opacity: 1; transform: none; transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }

/* ---------------- Scroll progress ---------------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: transparent; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px var(--blue-glow); }

.page-pad-top { padding-top: 84px; }

/* ---------------- Motion intensity (Tweaks) ---------------- */
/* Cinematic = default. Subtle/Balanced dial things back. */
[data-motion="subtle"] .hero-photo,
[data-motion="subtle"] .hero-stage { animation: none !important; transform: none !important; }
[data-motion="subtle"] [data-reveal] { transform: translateY(14px); transition-duration: .5s; }
[data-motion="subtle"] [data-reveal="scale"],
[data-motion="subtle"] [data-reveal="left"],
[data-motion="subtle"] [data-reveal="right"] { transform: translateY(14px); }
[data-motion="subtle"] .hero-title .hl { animation-duration: .6s; }
[data-motion="subtle"] .vcard { transform: none !important; }
[data-motion="subtle"] .marquee-track { animation-duration: 64s; }

[data-motion="balanced"] .hero-photo { animation-duration: 26s; }
[data-motion="balanced"] [data-reveal] { transition-duration: .7s; }
[data-motion="balanced"] .marquee-track { animation-duration: 46s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-book { display: none; }
  .nav-burger { display: grid; }
  .process-grid, .featured-grid, .inv-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .detail-top, .detail-body { grid-template-columns: 1fr; }
  .detail-summary { position: static; }
  .about-media { max-width: 460px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 620px) {
  .process-grid, .featured-grid, .inv-grid, .feature-list, .detail-keyspecs, .field-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .inv-controls { flex-direction: column; }
}
