/* Standalone, server-rendered scene card. Shared showroom styles load first. */
html:has(body.scene-page) {
  height: auto;
  min-height: 100%;
  overflow: auto;
  overscroll-behavior: auto;
  scroll-padding-top: 112px;
  background: #131c15;
}

body.scene-page {
  --app-top: 92px;
  --app-bottom: 0px;
  --paper: #172219;
  --ink: #f4eddf;
  --gold: #d1b484;
  --muted: #bdc7b4;
  --line: #d1b4842b;
  height: auto;
  min-height: 100svh;
  overflow: visible;
  overscroll-behavior: auto;
  background: #131c15;
  color: var(--ink);
}

.scene-page > header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--app-top);
  padding-inline: 4%;
  z-index: 6;
  background: #141a14;
  border-bottom: 1px solid #d1b48424;
  color: #f7f0e2;
}

.scene-page #main.scene-main {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: calc(100svh - 78px);
  margin: 0;
  padding: var(--app-top) 0 0;
  overflow: visible;
  background: #131c15;
}

.scene-page .scene-card {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.scene-page .scene-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 30px;
  min-height: 71px;
  padding: 16px 4%;
  border-bottom: 1px solid #d1b48420;
}

.scene-page .scene-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
  font: 400 11px/1.65 Manrope, Arial, sans-serif;
  color: #97a78f;
}

.scene-page .scene-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scene-page .scene-breadcrumbs li + li::before {
  content: "/";
  margin-right: 7px;
  color: #67785f;
}

.scene-page .scene-breadcrumbs a:hover,
.scene-page .scene-footer a:hover,
.scene-page .scene-footer button:hover {
  color: #f2d6a6;
}

.scene-page .scene-breadcrumbs [aria-current] {
  color: #c4cebc;
}

.scene-page .scene-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  min-height: 36px;
  color: #d8c19a;
  font: 500 11px/1.5 Manrope, Arial, sans-serif;
  text-decoration: none;
  transition: color .2s ease;
}

.scene-page .scene-back:hover { color: #fff1d7; }
.scene-page .scene-back svg { width: 17px; height: 17px; flex: none; }

.scene-page .scene-stage {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  background: #172219;
}

.scene-page .scene-visual {
  position: sticky;
  top: var(--app-top);
  min-width: 0;
  margin: 0;
  background: #101810;
}

.scene-page .scene-visual picture { display: block; width: 100%; }
.scene-page .scene-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
}

.scene-page .scene-copy {
  min-width: 0;
  padding: clamp(30px, 3.6vw, 64px) clamp(28px, 3.5vw, 64px);
}

.scene-page .scene-eyebrow {
  margin: 0 0 28px;
  font: 500 9px/1.6 Manrope, Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #bba77f;
}

.scene-page .scene-title {
  margin: 0 0 24px;
  color: #f5eddb;
  font: 500 clamp(36px, 3.1vw, 57px)/1.08 var(--serif);
  letter-spacing: -.5px;
  overflow-wrap: break-word;
}

.scene-page .scene-model {
  display: block;
  margin-bottom: 15px;
  font: 500 12px/1.7 Manrope, Arial, sans-serif;
  color: #c8d1be;
  letter-spacing: .3px;
}

.scene-page .scene-heading { display: block; }
.scene-page .scene-title-separator {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.scene-page .scene-caption {
  margin: 0 0 24px;
  font: 400 14px/1.85 Manrope, Arial, sans-serif;
  color: #dfe6d6;
}

.scene-page .scene-description {
  color: #bfcab5;
  font: 400 13px/1.9 Manrope, Arial, sans-serif;
  overflow-wrap: break-word;
}

.scene-page .scene-description p { margin: 0 0 18px; }
.scene-page .scene-description > :last-child { margin-bottom: 0; }
.scene-page .scene-description h2,
.scene-page .scene-description h3 {
  margin: 28px 0 12px;
  color: #eee2cc;
  font: 600 23px/1.25 var(--serif);
}
.scene-page .scene-description strong { font-weight: 600; color: #e2e9d9; }
.scene-page .scene-description ul,
.scene-page .scene-description ol { padding-left: 20px; }
.scene-page .scene-description li { margin-bottom: 7px; }
.scene-page .scene-description a { color: #ddc393; text-underline-offset: 4px; }

.scene-page .scene-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  margin: 28px 0 0;
  padding: 17px 24px;
  border: 1px solid #d1b484;
  border-radius: 3px;
  background: #d1b484;
  color: #172219;
  font: 600 1rem/1.5 Manrope, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.scene-page .scene-more:hover {
  background: #e5c99c;
  border-color: #e5c99c;
  color: #172219;
}
.scene-page .scene-more:active { background: #c8aa77; }
.scene-page .scene-more:focus-visible {
  outline: 2px solid #f7e6c9;
  outline-offset: 5px;
}
.scene-page .scene-more-note {
  margin: 10px 0 0;
  color: #bfcab5;
  font: 400 .875rem/1.7 Manrope, Arial, sans-serif;
  text-align: center;
}

.scene-page .scene-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid #d1b4842b;
}
.scene-page .scene-facts > div { min-width: 0; }
.scene-page .scene-facts dt { font-size: 10px; line-height: 1.7; color: #9dac91; }
.scene-page .scene-facts dd { margin: 5px 0 0; color: #ecdfc6; font: 500 18px/1.4 var(--serif); }

.scene-page .scene-audio {
  margin-top: 30px;
  padding-top: 23px;
  border-top: 1px solid #d1b4842b;
}
.scene-page .scene-audio-title {
  display: block;
  margin: 0 0 12px;
  color: #d0b58a;
  font: 500 10px/1.7 Manrope, Arial, sans-serif;
  letter-spacing: 1.2px;
}
.scene-page .scene-audio audio { display: block; width: 100%; height: 42px; color-scheme: dark; }
.scene-page .scene-audio-status { margin: 9px 0 0; color: #b7c2ac; font-size: 11px; line-height: 1.7; }
.scene-page .scene-audio-status:empty { display: none; }

.scene-page .scene-vehicle-summary {
  position: relative;
  width: 100%;
  padding: clamp(34px, 4.2vw, 64px) 4% clamp(38px, 4.5vw, 68px);
  border-top: 1px solid #d1b4842b;
  background: #152017;
  color: #f4eddf;
}
.scene-page .scene-summary-eyebrow {
  margin: 0 0 12px;
  color: #bba77f;
  font: 500 .75rem/1.7 Manrope, Arial, sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.scene-page .scene-summary-title {
  margin: 0 0 30px;
  color: #f5eddb;
  font: 500 clamp(28px, 2.5vw, 40px)/1.15 var(--serif);
  letter-spacing: -.2px;
  overflow-wrap: break-word;
}
.scene-page .scene-vehicle-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
}
.scene-page .scene-vehicle-facts > div {
  min-width: 0;
  padding: 20px 0 22px;
  border-top: 1px solid #d1b4842b;
}
.scene-page .scene-vehicle-facts dt {
  margin: 0 0 8px;
  color: #a9b69e;
  font: 400 .875rem/1.6 Manrope, Arial, sans-serif;
}
.scene-page .scene-vehicle-facts dd {
  margin: 0;
  color: #f1e6d0;
  font: 500 1.125rem/1.6 Manrope, Arial, sans-serif;
  overflow-wrap: anywhere;
}

.scene-page .scene-footer {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 25px;
  width: 100%;
  min-height: 78px;
  height: auto;
  margin: 0;
  padding: 22px 4% max(22px, env(safe-area-inset-bottom));
  border-top: 1px solid #d1b48420;
  background: #131c15;
  color: #98a58f;
  font: 400 10px/1.7 Manrope, Arial, sans-serif;
}
.scene-page .scene-footer p { margin: 0; }
.scene-page .scene-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.scene-page .scene-footer button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.scene-page :is(a, button, audio):focus-visible { outline: 2px solid #d7bd91; outline-offset: 5px; }
html:has(body.scene-menu-open) { overflow: hidden; }
.scene-page.scene-menu-open { overflow: hidden; }

@media (min-width: 1600px) {
  .scene-page .scene-visual { top: calc(var(--app-top) + 24px); }
  .scene-page .scene-stage { padding: 24px 2%; }
}

@media (max-width: 1023px) {
  .scene-page .scene-context { gap: 8px 20px; }
  .scene-page .scene-stage { grid-template-columns: minmax(0, 1fr); }
  .scene-page .scene-visual { position: relative; top: auto; }
  .scene-page .scene-copy { width: 100%; max-width: 820px; margin: 0 auto; padding: 37px 6% 45px; }
  .scene-page .scene-title { font-size: clamp(39px, 6vw, 57px); }
  .scene-page .scene-vehicle-summary { padding-inline: 6%; }
  .scene-page .scene-vehicle-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
}

@media (max-width: 650px) {
  body.scene-page { --app-top: 73px; }
  .scene-page > header { padding-inline: 18px; }
  .scene-page .scene-context { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 0; padding: 15px 21px 12px; }
  .scene-page .scene-breadcrumbs { font-size: 10px; line-height: 1.65; gap: 5px; }
  .scene-page .scene-back { min-height: 32px; font-size: 11px; }
  .scene-page .scene-copy { padding: 30px 25px 38px; }
  .scene-page .scene-eyebrow { margin-bottom: 23px; font-size: 8px; letter-spacing: 1.8px; }
  .scene-page .scene-title { font-size: clamp(37px, 9vw, 53px); line-height: 1.08; margin-bottom: 21px; }
  .scene-page .scene-model { font-size: 11px; margin-bottom: 13px; }
  .scene-page .scene-caption { font-size: 14px; line-height: 1.8; }
  .scene-page .scene-description { font-size: 13px; line-height: 1.85; }
  .scene-page .scene-footer { align-items: flex-start; flex-direction: column; padding-inline: 25px; gap: 8px; }
  .scene-page .scene-facts { gap: 20px; }
  .scene-page .scene-more { min-height: 58px; margin-top: 26px; }
  .scene-page .scene-vehicle-summary { padding: 32px 25px 36px; }
  .scene-page .scene-summary-title { margin-bottom: 24px; }
  .scene-page .scene-vehicle-facts { gap: 0 20px; }
  .scene-page .scene-vehicle-facts > div { padding: 18px 0 20px; }
  .scene-page .scene-vehicle-facts dd { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-page .scene-back { transition: none; }
  .scene-page .scene-more { transition: none; }
}

/* Both formats remain separate images in source order for content consumers. */
.scene-page .scene-visual .scene-portrait { display: none; aspect-ratio: 9 / 16; }
@media (max-width: 650px) {
 .scene-page .scene-has-portrait .scene-landscape { display: none; }
 .scene-page .scene-has-portrait .scene-portrait { display: block; }
}
