/* Each composition follows the open space in its photograph. */
:root .cinema-hero .cinema-copy {
  position: absolute; inset: 0; width: 100%; max-width: none;
  margin: 0; padding: 0; pointer-events: none;
}
:root .cinema-hero .cinema-copy h1 {
  position: absolute; margin: 0; max-width: 86%;
  font-family: 'Baskerville', 'Palatino Linotype', 'Yu Mincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
  font-weight: 500; line-height: 1.2; letter-spacing: .07em;
  color: #fff; text-shadow: 0 2px 16px #0008;
  transition: opacity .3s ease, transform .6s ease;
}
.cinema-hero .hero-line { display: block; }
.cinema-hero .hero-accent { color: #e5c47f; }
:root .cinema-hero .cinema-copy h1.is-changing { opacity: 0; transform: translateY(6px); }

/* Evening showroom: two vertical columns, set off against the sky. */
:root .cinema-hero[data-scene="home"] h1 {
  top: 9%; right: 7%; writing-mode: vertical-rl; text-orientation: upright;
  font-size: clamp(24px, 3.1vw, 58px); line-height: 1.55; letter-spacing: .14em;
}
.cinema-hero[data-scene="home"] .hero-accent { font-size: 1.22em; }

/* Demo cars: a compact opening and a larger gold second line. */
:root .cinema-hero[data-scene="garage"] h1 {
  top: 9%; left: 7%; font-size: clamp(28px, 4.4vw, 78px); letter-spacing: .09em;
}
.cinema-hero[data-scene="garage"] .hero-line:first-child { font-size: .65em; margin-bottom: .24em; }
.cinema-hero[data-scene="garage"] .hero-accent { font-size: 1.15em; }

/* The road photograph has a light band of sky above the car. */
:root .cinema-hero[data-scene="road"] h1 {
  top: 5%; left: 7%; display: flex; align-items: baseline; gap: .25em;
  color: #111; font-size: clamp(24px, 3.1vw, 56px); line-height: 1.1;
  text-shadow: 0 1px 12px #ffffff80; letter-spacing: .05em;
}
.cinema-hero[data-scene="road"] .hero-line:first-child { font-size: .7em; }
.cinema-hero[data-scene="road"] .hero-accent { color: #111; font-size: 1.3em; }
.cinema-hero[data-scene="road"] .cinema-shade { background: linear-gradient(180deg, #ffffff45, transparent 27%); }

/* Engine detail: the centre of the engine remains unobstructed. */
:root .cinema-hero[data-scene="craft"] h1 {
  top: 11%; left: 6%; writing-mode: vertical-rl; text-orientation: upright;
  font-size: clamp(24px, 2.8vw, 50px); line-height: 1.55; letter-spacing: .13em;
  color: #e5c47f; text-shadow: 0 2px 12px #000, 0 0 3px #000b;
}
.cinema-hero[data-scene="craft"] .hero-accent { font-size: 1.15em; color: #fff; }
.cinema-hero[data-scene="craft"] .cinema-shade { background: linear-gradient(90deg, #0007, transparent 38%); }

/* Cockpit: lower left, below the steering wheel and instruments. */
:root .cinema-hero[data-scene="drive"] h1 {
  bottom: 9%; left: 7%; font-size: clamp(28px, 3.7vw, 66px); letter-spacing: .1em;
}
.cinema-hero[data-scene="drive"] .hero-line:first-child { font-size: .65em; margin-bottom: .2em; }
.cinema-hero[data-scene="drive"] .hero-accent { font-size: 1.4em; }

/* Collection: an asymmetric, right-aligned closing composition. */
:root .cinema-hero[data-scene="collection"] h1 {
  top: 10%; right: 7%; text-align: right;
  font-size: clamp(30px, 4.2vw, 74px); letter-spacing: .1em;
}
.cinema-hero[data-scene="collection"] .hero-line:first-child { font-size: .72em; margin-bottom: .15em; }
.cinema-hero[data-scene="collection"] .hero-accent { font-size: 1.1em; }
.cinema-hero[data-scene="collection"] .cinema-shade { background: linear-gradient(215deg, #0008, transparent 60%); }

/* English keeps complete words horizontal, with the same photographic anchors. */
:root[lang="en"] .cinema-hero:is([data-scene="home"], [data-scene="craft"]) h1 {
  writing-mode: horizontal-tb; text-orientation: mixed;
  font-size: clamp(30px, 4.2vw, 70px); line-height: 1.08; letter-spacing: -.025em;
}
:root[lang="en"] .cinema-hero[data-scene="home"] h1 { text-align: right; max-width: 52%; }
:root[lang="en"] .cinema-hero[data-scene="craft"] h1 { max-width: 65%; }
:root[lang="en"] .cinema-hero:is([data-scene="home"], [data-scene="craft"]) .hero-line:first-child { font-size: .65em; margin-bottom: .2em; }
:root[lang="en"] .cinema-hero .hero-accent { font-style: italic; }
:root[lang="en"] .cinema-hero .cinema-copy h1 { letter-spacing: -.015em; }

@media (max-width: 700px) {
  :root .cinema-hero[data-scene="home"] h1 { font-size: clamp(15px, 4.5vw, 24px); right: 6%; }
  :root .cinema-hero[data-scene="garage"] h1 { font-size: clamp(22px, 6.5vw, 38px); top: 8%; }
  :root .cinema-hero[data-scene="road"] h1 { font-size: clamp(17px, 5vw, 29px); top: 5%; left: 6%; }
  :root .cinema-hero[data-scene="craft"] h1 { font-size: clamp(15px, 4.2vw, 23px); left: 5%; top: 9%; }
  :root .cinema-hero[data-scene="drive"] h1 { font-size: clamp(22px, 6vw, 36px); }
  :root .cinema-hero[data-scene="collection"] h1 { font-size: clamp(23px, 6.7vw, 40px); }
  :root[lang="en"] .cinema-hero:is([data-scene="home"], [data-scene="craft"]) h1 { font-size: clamp(23px, 6.7vw, 40px); }
  :root[lang="en"] .cinema-hero[data-scene="collection"] h1 { font-size: clamp(22px, 6.2vw, 38px); }
}
@media (prefers-reduced-motion: reduce) {
  :root .cinema-hero .cinema-copy h1 { transition: none; }
}
