@import url("./nordwind/motion/nordwind-motion.css");
.room-controls { display:flex; flex-wrap:wrap; gap:.4rem 1rem; }
.room-controls button { background:transparent; color:inherit; border:0; border-bottom:1px solid #9c8a67; border-radius:0; min-height:36px; padding:.3rem .15rem; font:400 .875rem/1.4 var(--sans); text-align:left; cursor:pointer; }
.room-controls button:hover { color:inherit; background:#aa967c14; }
.room-controls button:disabled { color:inherit; opacity:.8; cursor:default; }
.foot .room-controls { margin-top:.7rem; }
body:has(#reader-room) .foot, .desk-page .foot { flex-wrap:wrap; }
body:has(#reader-room) .foot > .room-controls, .desk-page .foot > .room-controls { flex-basis:100%; }
.rd-table > .room-controls { color:#f5ebd5; width:fit-content; padding:.25rem .6rem; margin:1rem 0; background:#15271f; }
.desk-copy > .room-controls { margin-top:1.4rem; color:#e3d7be; }
.trailer-room { position:relative; isolation:isolate; color:#f4e9d4; background:#15221b; }

.trailer-wrap { width:min(1056px,calc(100% - 80px)); margin:auto; }
.trailer-heading { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:1rem 2rem; margin-bottom:1.3rem; }
.trailer-heading .eyebrow { margin-bottom:.5rem; }
.trailer-heading h2 { font:500 clamp(2rem,3.3vw,3.1rem)/1.07 var(--serif); letter-spacing:-.025em; color:#f6ebd6; }
.trailer-heading .room-controls { color:#d5c6a9; }
.trailer-frame { position:relative; margin:0; padding:6px; border:1px solid #9d8254; border-radius:2px; background:#292a20; box-shadow:0 15px 40px #030c0999,inset 0 0 0 1px #121d17; }
.trailer-start { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); display:inline-flex; align-items:center; justify-content:center; gap:.75rem; min-height:48px; white-space:nowrap; padding:.8rem 1.25rem; color:#1c2a21; background:#ecd4a0f5; border:1px solid #fff0cc; border-radius:2px; box-shadow:0 3px 18px #07130b80; font:600 .95rem/1.4 var(--sans); cursor:pointer; }
.trailer-start:hover { background:#fff0c9; }
.trailer-start:focus-visible { outline:3px solid #fff4d9; outline-offset:5px; }
.trailer-start span { width:0; height:0; border:7px solid transparent; border-left:11px solid currentColor; margin-right:-7px; }
.trailer-frame video { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; background:#111a16; color-scheme:dark; }
.trailer-frame video:focus-visible { outline:3px solid #f3d9a0; outline-offset:5px; }
.trailer-frame video:fullscreen { width:100%; height:100%; object-fit:contain; background:#000; }
.offer.is-selected { border-color:#6c5936; box-shadow:0 8px 20px #201c1745,inset 0 0 0 1px #a89163; }
@media(max-width:640px) {
  .trailer-wrap { width:calc(100% - 24px); }
  .trailer-heading { padding-inline:7px; gap:.6rem; }
  .trailer-heading h2 { font-size:2rem; }
  .trailer-frame { padding:3px; }
}

@media print { .room-controls,.trailer-room { display:none!important; } }
/* Each stage contains its own image alongside its masks in the same coordinate system. */
.archive-art { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
html[data-room-motion="off"] {scroll-behavior:auto}
.hero-exposure { top:auto; bottom:0; transform:translateX(-55%); }
.art-hero { z-index:1; }
.hero-picture { max-width:calc(2.65 * clamp(485px,40vw,610px)); right:0; left:auto; width:81%; }
.arrival, .process, .desk-arrival, .trailer-theatre { position:relative; isolation:isolate; overflow:hidden; }
.arrival, .process, .desk-arrival { background-image:none; }
.arrival-inner, .process>.wrap, .desk-width, .trailer-seat { position:relative; z-index:1; }
.arrival::before, .process::before, .desk-arrival::before {
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
}
.arrival::before { background:linear-gradient(90deg,transparent 28%,#14231e25 43%,#14231ee0 64%,#14231ef5 100%); }
.art-harbor { top:0; bottom:auto; height:100%; }
.process .art-lamp { inset:0; }
.process::before { background:linear-gradient(0deg,#0e1915bd 0%,#10181385 46%,#151a1870 76%,#151a1833); }
.process .wrap { text-shadow:0 1px 4px #13150fec; }
.process-grid p, .process .timeline p { color:#f3ecdc; }
.desk-arrival::before { background:linear-gradient(90deg,#102019f5 5%,#102019e6 34%,#10201955 62%,transparent 84%); }
.trailer-wrap { padding-block:clamp(1.6rem,3.2vw,3rem) 1.25rem; }
.trailer-heading { margin:0; display:grid; grid-template-columns:1fr auto 1fr; text-align:center; align-items:center; column-gap:1rem; }
.trailer-heading > :first-child { grid-column:2; }
.trailer-heading .room-controls { justify-self:end; }
.trailer-theatre { padding:clamp(3.2rem,7vw,7rem) clamp(2.25rem,7vw,8.2rem) clamp(2.3rem,4.4vw,4.7rem); background:#271f17; }
.trailer-theatre:after { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; background:linear-gradient(0deg,#171a14e0,transparent 55%,#161b1550); }
.trailer-seat { width:min(100%,62vw,940px); margin-inline:auto; }
@media(max-width:640px) {
  .hero-picture { width:100%; max-width:none; left:auto; height:clamp(196px,53vw,328px); }
  .hero-exposure { width:max(110cqw,150cqh); top:auto; bottom:0; left:63%; transform:translateX(-63%); }
  .hero-shade { height:clamp(197px,53vw,328px); background:linear-gradient(0deg,#111b15,transparent 6%); }
  .trailer-wrap { padding:1.4rem 0 1rem; }
  .trailer-theatre { padding:29vw 12px 1.65rem; }
  .trailer-theatre .art-trailer { inset:0 0 auto; aspect-ratio:1672/941; }
  .trailer-heading { grid-template-columns:1fr; justify-items:center; }
  .trailer-heading > :first-child { grid-column:auto; }
  .trailer-heading .room-controls { justify-self:center; }
  .trailer-seat { width:100%; }
  .trailer-theatre:after { background:linear-gradient(0deg,#1b2019,transparent 65%); }
  .art-harbor { height:auto; aspect-ratio:660/540; }
  .arrival-inner { padding-top:calc(100vw * 540 / 660 + 1.2rem); }
  .arrival::before { background:linear-gradient(to bottom,transparent calc(100vw * 540 / 660 - 2rem),#172620 calc(100vw * 540 / 660)); }
  .process .art-lamp { inset:0 0 auto; aspect-ratio:660/540; mask-image:linear-gradient(to bottom,#000 70%,transparent); }
  .process::before { background:linear-gradient(90deg,#11211966 0%,#11211955 58%,#11211926); }
}
@media print { .archive-art {display:none} }
