@font-face { font-family: "Assistant"; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/b30-sequence-copy/fonts/assistant-400.ttf') format('truetype'); }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/b30-sequence-copy/fonts/assistant-500.ttf') format('truetype'); }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/b30-sequence-copy/fonts/assistant-600.ttf') format('truetype'); }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; background: #080b0e; overscroll-behavior-y: none; }
body { color: #fff; font-family: "Assistant", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.sequence { position: relative; width: 100%; height: 100svh; min-height: 320px; touch-action: auto; outline: none; color: #fff; background: #080b0e; isolation: isolate; }
.sequence:focus-visible { outline: 2px solid #ffffffa0; outline-offset: -3px; }
.sequence-stage { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #1b2629, #080b0e 75%); }
.sequence-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transform: scale(1.12); filter: blur(22px) saturate(.88); }
.sequence-visual { position: absolute; inset: 0; }
.sequence-poster, .sequence-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sequence-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sequence-canvas { opacity: 0; }
.sequence-stage.is-ready .sequence-canvas { opacity: 1; }
.sequence-stage.is-ready .sequence-poster { visibility: hidden; }
.sequence-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, #080b0e61 0%, #080b0e29 26%, #080b0e00 52%); }
.sequence-copy { position: absolute; z-index: 2; top: clamp(104px,15vh,164px); inset-inline: 7%; text-align: center; color: #fff; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 300ms ease, transform 380ms cubic-bezier(.2,.7,.2,1), visibility 300ms; }
.sequence-copy.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sequence-copy h2 { display: flex; flex-direction: column; gap: 10px; max-width: 660px; margin: 0 auto; color: #fff; font-weight: 500; line-height: 1.18; text-wrap: balance; text-shadow: 0 2px 3px #0009, 0 6px 18px #0007; }
.copy-main { font-size: clamp(30px,3vw,46px); font-weight: 500; }
.copy-detail, .copy-label { font-size: clamp(19px,1.7vw,25px); font-weight: 400; line-height: 1.35; }
.copy-value { font-size: clamp(24px,2.25vw,32px); font-weight: 400; line-height: 1; white-space: nowrap; }
.copy-value bdi { font-size: clamp(40px,4.3vw,64px); font-weight: 500; }
.sequence-copy bdi { white-space: nowrap; }
.sequence-copy-logo { inset-inline: 7% auto; width: clamp(190px,21vw,300px); }
.sequence-copy-logo h1 { margin: 0; line-height: 0; }
.sequence-copy-logo img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1) drop-shadow(0 2px 3px #0008) drop-shadow(0 7px 18px #0005); }
@media (max-width: 767px) {
  .sequence-copy { top: clamp(112px,15vh,150px); inset-inline: 24px; }
  .sequence-copy h2 { max-width: 440px; gap: 9px; }
  .copy-main { font-size: clamp(26px,6vw,34px); line-height: 1.25; }
  .copy-detail, .copy-label { font-size: clamp(18px,4.1vw,22px); }
  .copy-value { font-size: 25px; }
  .copy-value bdi { font-size: clamp(38px,9vw,52px); }
  .sequence-copy-logo { width: min(58vw,244px); margin-inline: auto; }
}
@media (max-height: 500px) {
  .sequence-copy { top: 88px; }
  .sequence-copy h2 { gap: 6px; }
  .copy-main { font-size: 28px; }
  .copy-detail, .copy-label { font-size: 18px; }
  .copy-value { font-size: 24px; }
  .copy-value bdi { font-size: 38px; }
  .sequence-copy-logo { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .sequence-copy { transition: none; transform: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; right: 16px; z-index: 110; padding: 12px 18px; background: #fff; color: #111; }
.skip-link:focus { top: 8px; }
.site-header { --header-height: 72px; position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-height); padding: 0 clamp(18px,3vw,48px); display: flex; align-items: center; gap: 24px; color: #fff; background: transparent; }
.site-header a { color: inherit; text-decoration: none; }
.site-header button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.site-header .brand { display: block; flex: 0 0 80px; }
.site-header .brand img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1) drop-shadow(0 1px 4px #0009); }
.site-header nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px,3vw,46px); flex: 1; height: 100%; font-size: 16px; font-weight: 500; }
.site-header nav > a, .site-header .nav-link { display: flex; align-items: center; height: 100%; white-space: nowrap; padding: 0; text-shadow: 0 1px 5px #0008; }
.site-header nav > a:hover, .site-header .nav-link:hover { text-decoration: underline; text-underline-offset: 7px; }
.site-header .language { flex: 0 0 60px; text-align: left; font-size: 14px; text-shadow: 0 1px 5px #000c; }
.site-header .menu-toggle { display: none; width: 44px; height: 44px; padding: 9px; }
.site-header .menu-toggle svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 1px 3px #000b); }
.site-header .nav-models { display: flex; align-items: center; height: 100%; }
.site-header .mega-menu { position: absolute; inset: var(--header-height) 0 auto; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; padding: 24px 5vw 30px; background: #080b0ef2; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; }
.site-header .mega-group { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 24px; padding: 10px 0 20px; margin-bottom: 12px; border-bottom: 1px solid #ffffff30; }
.site-header .mega-group h3 { margin: 0; font-size: 16px; font-weight: 600; }
.site-header .mega-cars { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; max-width: 900px; }
.site-header .mega-cars a { display: flex; flex-direction: column; align-items: center; gap: 6px; border-radius: 4px; padding: 8px; }
.site-header .mega-cars a:hover, .site-header .mega-cars a:focus-visible { background: #ffffff16; }
.site-header .mega-cars img { width: 100%; max-width: 190px; height: 84px; object-fit: contain; }
.site-header .all-models { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; }
.site-header .all-models svg { width: 20px; height: 20px; }
@media (max-width: 1050px) {
  .site-header { gap: 18px; padding-inline: 20px; }
  .site-header nav { gap: 22px; font-size: 15px; }
  .site-header .language { flex-basis: 44px; }
}
@media (max-width: 900px) {
  .site-header { --header-height: 64px; gap: 16px; padding-inline: 18px; }
  .site-header .brand { flex-basis: 80px; }
  .site-header .language { margin-inline-start: auto; }
  .site-header .menu-toggle { display: block; }
  .site-header.open .menu-toggle svg path { d: path("M5 5L19 19M19 5L5 19"); }
  .site-header nav { display: none; position: absolute; inset: var(--header-height) 0 auto; height: auto; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; padding: 14px 24px 24px; background: #080b0ef2; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .site-header.open nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header nav > a, .site-header .nav-link { height: auto; min-height: 48px; width: 100%; font-size: 18px; text-shadow: none; }
  .site-header .nav-models { display: block; height: auto; }
  .site-header .mega-menu { position: static; max-height: none; padding: 0 0 8px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible; }
  .site-header .mega-group { display: block; padding: 10px 0 14px; }
  .site-header .mega-group h3 { margin-bottom: 8px; text-align: right; font-size: 13px; color: #c7cbcf; }
  .site-header .mega-cars { gap: 8px; }
  .site-header .mega-cars a { padding: 6px 0; font-size: 14px; }
  .site-header .mega-cars img { height: 60px; }
}

/* The full model page follows the cinematic introduction in normal document flow. */
html { scroll-behavior: smooth; overflow-x: clip; }
body.sequence-page { --story-header: 72px; color: #181a1c; background: #fff; }
body.sequence-page #main { padding-top: 0; }
#model-content { background: #fff; outline: none; }
body.sequence-page .site-header { position: fixed; height: var(--header-height); background: #080b0eed; color: #fff; box-shadow: none; animation: none; }
body.sequence-page.sequence-in-view .site-header { background: transparent; }
.sequence-page .site-header nav { padding-inline: 0; }
.sequence-page .site-header nav a:hover, .sequence-page .site-header nav button:hover { color: #fff; }
.sequence-page .site-header .brand img { filter: brightness(0) invert(1) drop-shadow(0 1px 4px #0009); }
body.sequence-in-view .quick-links { visibility: hidden; opacity: 0; pointer-events: none; }
.sequence-page .model-subnav { top: var(--story-header); }
.sequence-copy { top: clamp(90px,12.5svh,140px); }
.sequence-copy h2 { width: fit-content; line-height: 1.16; }
.sequence-copy[data-copy-point="1"] { top: clamp(86px,11svh,124px); }
.sequence-copy-logo { top: clamp(148px,21svh,230px); }
.sequence-copy[data-copy-point="2"] { inset-inline: auto 5%; width: 23%; top: clamp(100px,18svh,220px); }
.sequence-copy[data-copy-point="3"] { inset-inline: 5% auto; width: 38%; top: clamp(108px,19svh,230px); }
.sequence-copy[data-copy-point="3"] .copy-main { font-size: clamp(26px,2.7vw,42px); }
.sequence-copy[data-copy-point="4"] { top: clamp(90px,13svh,150px); }
.sequence-copy[data-copy-point="5"] { top: clamp(108px,17svh,200px); }
/* Portrait scenes use a larger subject and continuous sky/ground backdrops. */
@media (max-width: 767px), (max-aspect-ratio: 4/3) {
  .sequence-backdrop { opacity: 1; }
  .sequence-visual { --visual-space: calc(100svh - max(220px,29svh) - 6svh); inset: 56% auto auto 50%; width: min(100%,calc(var(--visual-space) * 1.7777778)); height: auto; aspect-ratio: 16 / 9; transform: translate(-50%,-50%) scale(var(--frame-zoom,1)) translateX(var(--frame-pan,0%)); mask-image: linear-gradient(transparent, #000 17%, #000 87%, transparent); will-change: transform; }
  .sequence-shade { background: linear-gradient(180deg, #0710146b 0%, #07101435 29%, transparent 48%, transparent 70%, #07101461 100%); }
  .sequence-copy, .sequence-copy[data-copy-point] { top: clamp(112px,19svh,220px); inset-inline: 24px; width: auto; }
  .sequence-copy h2 { max-width: 500px; }
  .sequence-copy .copy-main { font-size: clamp(28px,5.2vw,40px); }
  .sequence-copy .copy-detail, .sequence-copy .copy-label { font-size: clamp(20px,3.4vw,26px); }
  .sequence-copy .copy-value bdi { font-size: clamp(42px,9.5vw,58px); }
  .sequence-copy-logo[data-copy-point] { top: clamp(144px,22svh,250px); width: min(58vw,270px); margin-inline: auto; }
}
/* Short landscape screens use separate text and image columns. */
@media (max-height: 500px) and (min-aspect-ratio: 4/3), (min-aspect-ratio: 5/2) {
  .sequence-backdrop { opacity: .65; }
  .sequence-visual { inset: 64px 0 0 28%; width: auto; height: auto; aspect-ratio: auto; transform: none; mask-image: none; }
  .sequence-poster img { object-fit: contain; }
  .sequence-copy, .sequence-copy[data-copy-point] { inset: 38% auto auto 3%; width: 26%; }
  .sequence-copy h2 { gap: 8px; }
  .sequence-copy .copy-main { font-size: clamp(19px,2.6vw,27px); }
  .sequence-copy .copy-label, .sequence-copy .copy-detail { font-size: 17px; }
  .sequence-copy .copy-value { font-size: 19px; }
  .sequence-copy .copy-value bdi { font-size: 34px; }
  .sequence-copy-logo[data-copy-point] { width: 25%; margin: 0; }
}
@media (max-width: 900px) { body.sequence-page { --story-header: 64px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .sequence { display: none !important; } }

/* Held frames render at their final size, avoiding a scaled canvas texture. */
.sequence-still { position: absolute; z-index: 0; pointer-events: none; }
.sequence-still img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.sequence-stage.has-sharp-still .sequence-canvas { opacity: 0; }

.sequence-scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 7px; transform: translateX(-50%); color: #fff; font-size: 15px; font-weight: 400; line-height: 1.2; white-space: nowrap; text-shadow: 0 2px 8px #000c; pointer-events: none; opacity: .9; transition: opacity 240ms ease; }
.sequence-scroll-hint svg { width: 20px; height: 28px; filter: drop-shadow(0 2px 4px #0009); animation: sequence-scroll-down 2s ease-in-out infinite; }
.sequence-stage[data-phase="motion"] .sequence-scroll-hint { opacity: 0; }
@keyframes sequence-scroll-down { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(7px); opacity: 1; } }
@media (max-height: 500px) { .sequence-scroll-hint { bottom: 15px; flex-direction: row; gap: 9px; font-size: 13px; } .sequence-scroll-hint svg { height: 22px; } }
@media (prefers-reduced-motion: reduce) { .sequence-scroll-hint { transition: none; } .sequence-scroll-hint svg { animation: none; } }
