/* Match the approved full-bleed editorial composition, not a boxed art card. */
:root { --ink: #29130f; --paper: #fffcf7; }
.wrap { width: min(1530px, calc(100% - 104px)); }
.site-header { min-height: 92px; gap: 24px; }
.site-header nav { gap: 42px; font-size: 18px; }
.header-actions { min-width: 138px; justify-content: flex-end; }
.language-link { background: #fffcf7ef; border: 1px solid #b9a08c; border-radius: 30px; padding: 10px 24px; min-height: 42px; font: 15px/1.4 var(--serif); text-decoration: none; }
.hero { position: relative; display: grid; grid-template-columns: 36% 64%; min-height: clamp(570px, 46vw, 760px); padding: 0; align-items: start; }
.hero-copy { padding: clamp(60px, 5.6vw, 94px) 0 55px; width: calc(100% + 64px); }
.hero .eyebrow { font-size: 12px; letter-spacing: 1.8px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(56px, 4.65vw, 78px); line-height: 1.08; max-width: 570px; margin-bottom: 28px; letter-spacing: -.045em; }
html:lang(zh) .hero h1 { font-size: clamp(50px, 4.8vw, 78px); font-weight: 700; line-height: 1.19; letter-spacing: -.045em; -webkit-text-stroke: .2px currentColor; }
.hero-description, html:lang(zh) .hero-description { font-size: 18px; line-height: 1.65; color: #51392f; max-width: 410px; }
.hero-actions { margin-top: 30px; gap: 18px; }
.hero-actions .button { min-height: 70px; padding: 16px 35px; gap: 30px; font-size: 26px; font-weight: 500; background: linear-gradient(110deg, #e95f79, #ee647d); box-shadow: inset 0 1px 12px #ff9aa85e; border: 0; }
.hero-actions .button:hover { background: #df536f; }
.hero-app-note { font-size: 15px; color: #674a3d; margin: -2px 0 0; }
.hero-links { gap: 25px; }
.hero-art { position: absolute; z-index: 0; left: 30%; right: calc((100vw - 100%) / -2); top: -92px; bottom: 0; margin: 0; }
.scene-stage { position: absolute; inset: 0 0 63px; aspect-ratio: auto; }
.scene-stage figure { width: 100%; height: 100%; }
.hero-art .scene-stage img { height: 100%; width: 100%; object-fit: cover; mask-image: url('assets/scene-edge.svg'); mask-size: 100% 100%; mask-repeat: no-repeat; mask-composite: add; }
.scene-footer { position: absolute; inset: auto 27px 0 130px; min-height: 57px; padding: 0; gap: 28px; }
.scene-footer > p { color: #3b241c; font-size: 18px; }
.scene-controls button { font-size: 30px; }
.scene-controls [aria-current] span { background: #ea637b; }
.scene-status { position: absolute; bottom: 0; right: 30px; }
.chapter-divider { border-color: #ebdacc; padding-block: 13px; }
.arrival { outline: none; }
.arrival::after { background: radial-gradient(ellipse 55% 42% at 0% 100%, #fffcf7 18%, #fffcf7ed 37%, transparent 75%); }
.arrival-logo { left: 42px; top: 28px; background: none; border-radius: 0; padding: 0; }
.arrival-skip { top: 28px; right: 35px; border-color: #c7b4a3; padding: 9px 22px; min-height: 42px; }
.arrival-copy { left: 44px; bottom: 38px; font-size: clamp(22px, 2vw, 30px); line-height: 1.5; color: #29130f; text-shadow: none; }
.arrival-light { background: radial-gradient(ellipse at 58% 47%, #fffdf6 15%, #fffcf7 80%); }
@media (min-width: 901px) and (max-width: 1180px) {
  .wrap { width: calc(100% - 72px); }
  .site-header nav { gap: 24px; font-size: 16px; }
  .header-actions { min-width: 100px; }
  .hero-copy { width: calc(100% + 45px); }
  html:lang(zh) .hero h1 { font-size: 48px; }
  .hero h1 { font-size: 53px; }
  .hero-description, html:lang(zh) .hero-description { max-width: 325px; font-size: 16px; }
  .hero-actions .button { font-size: 24px; padding-inline: 27px; }
  .scene-footer > p { font-size: 16px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .site-header nav { gap: 22px; font-size: 15px; }
  .header-actions { min-width: auto; }
  .language-link { padding: 8px 18px; font-size: 14px; }
  .hero { display: flex; flex-direction: column; min-height: 0; padding-block: 15px 18px; }
  .hero-copy { width: 100%; padding: 15px 0 18px; }
  .hero h1 { font-size: clamp(46px, 8vw, 64px); }
  html:lang(zh) .hero h1 { font-size: clamp(42px, 7.4vw, 62px); }
  .hero-art { position: relative; inset: auto; width: auto; align-self: stretch; margin: 0 -24px; }
  .scene-stage { position: relative; inset: auto; aspect-ratio: 1.5; }
  .scene-footer { position: static; padding: 0 23px; min-height: 55px; gap: 12px; justify-content: space-between; }
  .scene-footer > p { font-size: 15px; }
  .hero-description, html:lang(zh) .hero-description { max-width: 500px; font-size: 17px; }
  .hero-art .scene-stage img { object-fit: cover; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 92px; padding-block: 20px 10px; }
  .site-header nav { border: 0; padding-top: 10px; gap: 28px; font-size: 14px; }
  .hero .eyebrow { margin-bottom: 17px; font-size: 11px; }
  .hero h1 { margin-bottom: 22px; }
  .hero-copy { padding-top: 13px; }
  .hero-description, html:lang(zh) .hero-description { font-size: 16px; }
  .hero-actions { margin-top: 24px; gap: 14px; }
  .hero-actions .button { font-size: 24px; min-height: 62px; padding: 14px 27px; gap: 23px; }
  .hero-app-note { font-size: 13px; }
  .hero-art { margin-inline: -20px; }
  .scene-footer { padding-inline: 20px 12px; gap: 4px; }
  .scene-footer > p { font-size: 13px; }
  .arrival-logo { top: 23px; left: 22px; }
  .arrival-copy { left: 25px; bottom: 38px; font-size: 23px; }
  .arrival-skip { top: 22px; right: 18px; font-size: 13px; padding: 9px 14px; }
  .arrival::after { background: radial-gradient(ellipse 120% 40% at 0% 100%, #fffcf7 15%, #fffcf7e8 43%, transparent 80%); }
}
.wordmark { --logo-width: 185px; position: relative; display: block; width: var(--logo-width); height: calc(var(--logo-width) * .36); flex-shrink: 0; overflow: hidden; }
.wordmark img { position: absolute; width: calc(var(--logo-width) * 1.16); max-width: none; height: auto; left: calc(var(--logo-width) * -.085); top: calc(var(--logo-width) * -.12); }
.arrival-logo { position: absolute; }
.site-footer .wordmark { --logo-width: 145px; }
@media (max-width: 700px) { .wordmark { --logo-width: 140px; } }

.arrival:focus-visible { outline: none; }

/* #8: measured against the user's 1208 × 636 reference, not a new layout. */
@media (min-width: 901px) {
  .wrap { width: min(1640px, calc(100% - 5.6vw)); }
  .site-header { min-height: clamp(72px, 6.8vw, 104px); }
  .wordmark { --logo-width: clamp(130px, 12.5vw, 190px); }
  .site-header nav { gap: clamp(36px, 4vw, 62px); font-size: clamp(16px, 1.55vw, 22px); }
  .language-link { font-size: clamp(15px, 1.5vw, 21px); padding: 7px 22px; }
  .language-link::after { content: '⌄'; margin-left: 12px; font-size: .85em; }
  .hero { min-height: calc(52.65vw - clamp(72px, 6.8vw, 104px)); }
  .hero-copy { padding-top: clamp(44px, 5.3vw, 88px); width: calc(100% + 78px); }
  .hero .eyebrow { display: none; }
  .hero h1 { font-size: clamp(49px, 5.05vw, 80px); margin-bottom: 1.5vw; line-height: 1.08; color: #160905; }
  html:lang(zh) .hero h1 { font-size: clamp(48px, 5.2vw, 84px); font-weight: 900; line-height: 1.13; letter-spacing: -.045em; -webkit-text-stroke: .45px currentColor; }
  .hero-description, html:lang(zh) .hero-description { max-width: 520px; font-size: clamp(16px, 1.5vw, 24px); line-height: 1.55; color: #3f2a20; }
  .hero-actions { margin-top: clamp(22px, 2.4vw, 38px); gap: clamp(14px, 1.4vw, 22px); }
  .hero-actions .button { width: clamp(290px, 29vw, 452px); min-height: clamp(61px, 5.6vw, 84px); padding: 13px 24px; font-size: clamp(24px, 2.2vw, 34px); background: linear-gradient(100deg, #ec6078, #ee6378); box-shadow: inset 0 0 14px #ffa7ad80; }
  .hero-app-note { font-size: clamp(15px, 1.5vw, 23px); line-height: 1.4; margin: 0; }
  .hero-links { gap: 22px; }
  .hero-links a, .replay-arrival { font-size: clamp(12px, 1vw, 15px); }
  .hero-art { top: calc(-1 * clamp(72px, 6.8vw, 104px)); }
  .scene-footer { bottom: -10px; min-height: 44px; }
}
@media (max-width: 900px) { .hero .eyebrow { display: none; } }
@media (min-width: 901px) {
  .hero-art { left: calc((100vw - 100%) / -2); }
  .scene-stage { bottom: 0; }
  .scene-stage figure:not(:first-child) { position: absolute; inset: 0 0 0 30%; width: 70%; }
  .hero-art .scene-stage figure:first-child img { mask-image: none; object-fit: contain; object-position: top right; }
  .scene-footer { left: 55%; z-index: 1; right: 18px; }
}
@media (max-width: 900px) {
  .hero-art .scene-stage figure:first-child img { mask-image: none; object-fit: cover; object-position: right center; }
}
@media (min-width: 901px) {
  .site-header .wordmark { transform: translate(.6vw, .7vw); }
  .site-header nav { transform: translateX(-2.2vw); }
  .hero-copy { padding-top: clamp(46px, 5.5vw, 92px); padding-bottom: 0; }
  html:lang(zh) .hero h1 { line-height: 1.16; }
  .hero-description, html:lang(zh) .hero-description { font-size: clamp(17px, 1.65vw, 25px); }
  .hero-actions { margin-top: clamp(25px, 2.8vw, 43px); }
  .hero-actions .button { margin-left: -.5vw; }
  .scene-footer { bottom: 3px; }
}
@media (min-width: 1101px) {
  html:lang(en) .hero h1 { font-size: clamp(48px, 4.2vw, 70px); max-width: 34vw; }
  html:lang(en) .hero-description { max-width: 30vw; }
}
.scene-footer { isolation: isolate; }
.scene-footer::before { content: ''; position: absolute; inset: 1px -14px -5px; background: #fffcf7ed; filter: blur(9px); z-index: -1; pointer-events: none; }
@media (min-width: 901px) and (max-width: 1100px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { width: 100%; padding: 26px 0 20px; }
  .hero h1, html:lang(zh) .hero h1 { max-width: 700px; font-size: 58px; }
  .hero-description, html:lang(zh) .hero-description { max-width: 580px; font-size: 18px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button { width: 350px; margin-left: 0; }
  .hero-art { position: relative; inset: auto; align-self: stretch; margin-inline: -2.8vw; }
  .scene-stage { position: relative; inset: auto; aspect-ratio: 1.5; }
  .scene-stage figure:not(:first-child) { position: relative; inset: auto; width: 100%; }
  .hero-art .scene-stage figure:first-child img { object-fit: cover; object-position: right center; }
  .scene-footer { position: relative; inset: auto; padding-inline: 26px; justify-content: space-between; }
}
.scene-footer::before { inset: 1px 0 -5px; }
/* #9: every scene has the same full-canvas frame and exposure. */
.hero-art .scene-stage figure { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 900ms ease-in-out; pointer-events: none; }
.hero-art .scene-stage figure.is-current { opacity: 1; }
.hero-art .scene-stage figure[data-scene] img { width: 100%; height: 100%; object-fit: contain; object-position: top right; mask-image: none; }
.scene-controls [data-scene-dot] { width: 24px; }
.scene-controls [data-scene-playback] { width: 40px; font: 17px var(--sans); margin-left: 4px; }
.scene-footer { gap: 16px; }
.scene-footer > p { font-size: 15px; }
@media (max-width: 1100px) { .hero-art .scene-stage figure[data-scene] img { object-fit: cover; object-position: right center; } }
@media (max-width: 700px) {
  .scene-footer { flex-wrap: wrap; justify-content: space-between; gap: 0 4px; }
  .scene-footer > p { font-size: 13px; }
  .scene-controls button { width: 34px; }
  .scene-controls [data-scene-dot] { width: 22px; }
  .scene-controls [data-scene-playback] { width: 34px; }
}
@media (prefers-reduced-motion: reduce) { .hero-art .scene-stage figure { transition: none; } }
@media (max-width: 1100px) { .scene-footer { position: relative; inset: auto; } }
@media (max-width: 700px) {
  .scene-footer { display: grid; grid-template-columns: 1fr; gap: 0; min-height: 76px; padding-top: 3px; }
  .scene-footer > p { min-height: 24px; line-height: 1.5; }
  .scene-controls { justify-self: end; }
}
