.tour-page { --bar-height: 62px; }
.tour-opening, .tour-stage { position: relative; isolation: isolate; overflow: hidden; color: #fffdf4; background: #26291f; }
.tour-opening { display: grid; align-items: end; min-height: clamp(30rem, 73svh, 52rem); }
.tour-opening > img, .tour-visual, .tour-visual > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-opening > img, .tour-visual { z-index: -2; }
.tour-opening::before, .tour-stage::before {
  content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #11160fe0 0%, #171c135c 48%, transparent 75%), linear-gradient(0deg, #171c136b, transparent 40%, transparent 75%, #13191170);
}
.tour-opening-content { padding-block: 9rem clamp(3.5rem, 6vw, 7rem); }
.tour-opening h1 { font: 400 clamp(4rem, 7.6vw, 8.5rem)/1.04 var(--serif); letter-spacing: -.06em; }
.tour-opening p { max-width: 29rem; margin: 1.4rem 0 1.65rem; font-size: clamp(1.08rem, 1.35vw, 1.45rem); line-height: 1.44; text-wrap: pretty; }
.tour-opening .action-primary .arrow { rotate: 90deg; }
.tour-collection { position: relative; }
.tour-bar { position: sticky; z-index: 5; top: 0; color: var(--ink); background: var(--paper); border-bottom: 1px solid #cbc7b8; }
.tour-bar-inner, .tour-bar nav { display: flex; align-items: center; }
.tour-bar-inner { justify-content: space-between; min-height: var(--bar-height); gap: .8rem; }
.tour-bar nav { gap: clamp(1.5rem, 3vw, 4.2rem); }
.tour-bar nav > a, .tour-home-menu summary { display: inline-flex; align-items: center; position: relative; min-height: var(--bar-height); font-size: clamp(.9rem, 1.22vw, 1.16rem); }
.tour-bar nav > a[aria-current]::after, .tour-bar nav > a:hover::after, .tour-home-menu:has(a[aria-current]) summary::after { position: absolute; bottom: -1px; inset-inline: 0; height: 3px; background: var(--gold); content: ''; }
.tour-home-menu { position: relative; }
.tour-home-menu summary { cursor: pointer; gap: .5rem; list-style: none; }
.tour-home-menu summary::-webkit-details-marker { display: none; }
.tour-home-menu[open] .chevron { transform: translateY(1px) rotate(225deg); }
.tour-home-chapters { position: absolute; inset: 100% auto auto 0; width: min(15rem, 75vw); padding: .45rem; background: var(--paper); border: 1px solid #c4c0b3; box-shadow: 0 .5rem 1rem #25291d1a; }
.tour-home-chapters a { display: flex; align-items: center; min-height: 44px; padding: .4rem .8rem; }
.tour-home-chapters a:hover, .tour-home-chapters a:focus-visible { background: #e7e3d7; }
.tour-home-chapters a[aria-current] { font-weight: 600; background: #e7e3d7; }
.tour-short-name { display: none; }
.tour-mode, .tour-play { appearance: none; border-radius: 0; background: transparent; min-height: 40px; padding: .35rem .8rem; font-size: .9rem; line-height: 1.25; white-space: nowrap; }
.tour-mode { color: var(--ink); border: 1px solid #a9a89a; }
.tour-mode:hover { background: #e6e3d7; }
.tour-chapter { position: relative; scroll-margin-top: calc(var(--bar-height) + 1px); background: #22261f; }
.tour-stage::before { background: linear-gradient(0deg, #0e130fef 0%, #1116119c 26%, transparent 74%), linear-gradient(90deg, #11160f88, transparent 69%); }
.tour-stage { display: flex; align-items: end; min-height: calc(100svh - var(--bar-height)); }
.tour-stage-inner { padding-block: clamp(4rem, 9vh, 8rem) clamp(1.6rem, 4vh, 3.8rem); }
.tour-film { opacity: 0; pointer-events: none; }
.tour-stage[data-film-ready] .tour-film { opacity: 1; }
.tour-system { display: inline-flex; align-items: center; gap: .85rem; font-size: .9rem; letter-spacing: .025em; font-weight: 400; }
.tour-system span { display: inline-block; padding-right: .85rem; border-right: 1px solid rgb(255 255 255 / 60%); font-variant-numeric: tabular-nums; }
.tour-caption h2 { margin-block: .55rem; font: 400 clamp(2.6rem, 5.4vw, 6.5rem)/1.04 var(--serif); letter-spacing: -.055em; }
.tour-shot-copy { min-height: 3em; max-width: 32rem; font-size: clamp(1.05rem,1.25vw,1.35rem); line-height: 1.45; text-wrap: pretty; }
.tour-product-link, .tour-finish-link { display: inline-flex; align-items: center; min-height: 44px; gap: .9rem; border-bottom: 1px solid currentColor; }
.tour-product-link { font-size: 1rem; margin-top: .4rem; }
.tour-film-status:not(:empty) { margin: .7rem 0 0; padding-left: .8rem; border-left: 2px solid #ebce95; font-size: .96rem; }
.tour-product-link:hover, .tour-play:hover { color: #ecdab7; }
.tour-transport { display: flex; align-items: end; gap: clamp(1rem, 3vw, 4rem); margin-top: clamp(1.1rem, 3.5vh, 3.5rem); }
.tour-shots { display: flex; flex: 1; gap: .7rem; list-style: none; margin: 0; padding: 0; }
.tour-shots li { flex: 1; position: relative; }
.shot-choice, .shot-static { display: block; width: 100%; min-height: 44px; padding: .75rem 0; color: inherit; text-align: left; font-weight: 400; border: 0; border-top: 2px solid rgb(255 255 255 / 48%); background: transparent; }
.shot-choice { font-size: clamp(.85rem, 1.05vw, 1.02rem); }
.shot-choice[aria-pressed='true']::after { content: ''; position: absolute; top: 0; left: 0; width: var(--shot-progress, 100%); min-width: 8px; height: 2px; background: #ebce95; }
.shot-choice[aria-pressed='true'] { color: #ffe7bc; }
.tour-shots li[data-complete] .shot-choice { border-color: #ddbf84; }
.tour-play { align-self: start; min-width: 6.5rem; border: 1px solid rgb(255 255 255 / 72%); color: inherit; }
.tour-play span { margin-right: .3rem; }
.tour-finish .frame { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(3rem, 6vw, 7rem); }
.tour-finish h2 { font: 400 clamp(2.4rem,4.4vw,5rem)/1.05 var(--serif); letter-spacing: -.045em; }
.tour-ready:not([data-stills]) .tour-chapter { min-height: calc(100svh - var(--bar-height) + var(--chapter-travel, 130svh)); }
.tour-ready:not([data-stills]) .tour-stage { position: sticky; top: calc(var(--bar-height) + 1px); }
.tour-ready .tour-shots p, .tour-ready .shot-static { display: none; }
@media (max-width: 720px) {
  .tour-page { --bar-height: 54px; }
  .tour-bar nav { gap: clamp(.85rem, 4vw, 1.8rem); }
  .tour-short-name { display: inline; }
  .tour-long-name { display: none; }
  .tour-mode { min-height: 35px; font-size: .8rem; padding-inline: .6rem; }
  .tour-opening { min-height: min(75svh, 44rem); }
  .tour-opening > img { object-position: 59% center; }
  .tour-opening h1 { font-size: clamp(3.35rem, 11vw, 5.4rem); }
  .tour-stage-inner { padding-block: 3rem 1.5rem; }
  .tour-stage { min-height: min(calc(100svh - var(--bar-height)), 64rem); }
  .tour-stage::before { background: linear-gradient(0deg, #0a100df2 0%, #111710b7 37%, #10161030 76%); }
  .tour-caption h2 { max-width: 12em; }
  .tour-transport { flex-wrap: wrap; gap: .4rem; }
  .tour-shots { flex-basis: 100%; gap: .45rem; }
  .tour-shots li { min-width: 0; }
  .tour-ready .tour-shots:has(li:nth-child(4)) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }
  .tour-play { min-height: 35px; font-size: .85rem; }
  .tour-page:not(.tour-ready) .tour-shots { flex-direction: column; }
  .tour-finish .frame { display: grid; gap: 1rem; justify-items: start; }
}
@media (max-width: 720px) and (max-height: 620px), (max-width: 380px) and (max-height: 740px) {
  .tour-ready .tour-shots:has(li:nth-child(4)) { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .tour-ready .tour-shots:has(li:nth-child(4)) li { flex: 0 0 6.4rem; }
}
@media (max-width: 720px) and (orientation: portrait) {
  .tour-stage { flex-direction: column; justify-content: center; align-items: stretch; background: #20251f; }
  .tour-stage::before { display: none; }
  .tour-visual { position: relative; inset: auto; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 16 / 9; z-index: 0; }
  .tour-visual > * { object-fit: contain; }
  .tour-stage-inner { padding-block: clamp(1.3rem, 3.5svh, 2.5rem); }
  .tour-shot-copy { min-height: 3em; }
}
@media (max-height:520px) and (min-width:600px) {
  .tour-page { --bar-height: 45px; }
  .tour-stage-inner { padding-block: 1.1rem; }
  .tour-caption h2 { font-size: 2.4rem; margin-block: .2rem; }
  .tour-shot-copy { min-height: 0; }
  .tour-transport { margin-top: .55rem; }
}
@media (max-width: 380px) and (max-height: 680px) and (orientation: portrait) {
  .tour-stage-inner { padding-block: 1rem; }
}
