/* The product owns the spectral facets. Publisher, controls, and captions stay neutral. */
html { scroll-padding-top: 18px; }
.mast { gap:24px; }
.publisher { display:inline-flex; align-items:center; gap:10px; font-size:15px; font-weight:600; letter-spacing:-.04em; white-space:nowrap; }
.publisher img { width:40px; height:auto; }
.mast nav { gap:clamp(14px,2.2vw,31px); }
.hero-copy h1 { margin:28px 0; line-height:1; }
.product-lockup { display:block; width:min(100%,405px); height:auto; }
.hero { grid-template-columns:.77fr 1.23fr; }
.hero-fan { position:absolute; inset:0; pointer-events:none; overflow:clip; opacity:1; transition:opacity .16s ease; }
.stage[data-turned=true] .hero-fan { opacity:0; }
.exhibit[data-specimen=volume] .wing-right { border-radius:3%; }
.stage,.stage *,.choices,.choices * {
  -webkit-user-select:none; user-select:none; -webkit-tap-highlight-color:transparent;
}
.stage img,.choices img {
  -webkit-user-drag:none; -webkit-touch-callout:none; pointer-events:none;
}
/* Keep the DOM print plate drawable, while routing input to its card stage. */
.stage canvas { pointer-events:none; }
.hero .exhibit-bar { flex-wrap:wrap; }
.hero .choices { display:grid; grid-template-columns:repeat(8,auto); }
/* An empty hover label must never become a ninth cell and shift the picker. */
#choice-hint { position:absolute; pointer-events:none; }
.hero .tools { flex:none; }
.tools #foil { min-width:83px; }
#try-hologram[hidden] { display:none; }
.wing { position:absolute; height:71%; width:auto; max-width:38%; object-fit:contain; top:50%; transform-origin:center 65%; filter:brightness(.81) drop-shadow(0 12px 10px #0008); }
.wing-left { left:29%; transform:translate(-53%,-46%) rotate(-14deg); }
.wing-right { right:28%; transform:translate(52%,-47%) rotate(13deg); }
.chapter { border-top:1px solid var(--line); padding-block:clamp(48px,6.2vw,90px); }
.chapter-head { display:flex; gap:32px; justify-content:space-between; align-items:flex-end; margin-bottom:26px; }
.chapter-head h2,.capabilities .section-title h2 { font:400 clamp(43px,5.45vw,78px)/.96 Barlow,"Arial Narrow",sans-serif; letter-spacing:-.045em; margin-top:9px; }
.chapter-head>p,.body-copy,.viewer-foot p { color:var(--muted); font-size:15px; line-height:1.55; max-width:400px; }
.filter-list { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.filter-list button,.study-types button { color:var(--muted); min-height:38px; padding:6px 12px; border:1px solid var(--line); border-radius:4px; font-size:13px; line-height:1.25; }
.filter-list button[aria-pressed=true],.study-types button[aria-pressed=true] { color:#f2f6fa; background:#1a2227; border-color:#6c9c9d; }
.filter-list button:hover,.study-types button:hover { color:white; border-color:#9bafb8; }
#filters { margin-bottom:22px; }
.gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px 16px; }
.gallery-tile,.screen-tile { display:block; text-align:left; background:none; padding:0; border:0; }
.gallery-tile[hidden] { display:none; }
.card-window,.screen-window { position:relative; display:grid; place-items:center; overflow:hidden; isolation:isolate; }
.card-window { border:1px solid #252733; aspect-ratio:4/5; background:radial-gradient(ellipse at 48% 72%,#1c1e2b,#0d0f16 80%); border-radius:5px; }
.card-window img { display:block; width:84%; height:88%; object-fit:contain; transition:transform .25s ease; filter:drop-shadow(0 10px 11px #0007); }
.gallery-tile:hover .card-window img,.gallery-tile:focus-visible .card-window img { transform:translateY(-3px) scale(1.025); }
.tile-title { display:block; font:400 clamp(21px,2.1vw,32px)/1.12 Barlow,"Arial Narrow",sans-serif; letter-spacing:-.015em; margin:10px 0 3px; }
.tile-meta { display:block; color:var(--muted); font-size:12px; line-height:1.45; }
#materials.material-chapter { display:block; }
.study-layout { display:grid; grid-template-columns:.82fr 1.18fr; gap:clamp(22px,5vw,76px); align-items:center; background:#0d0f15; border:1px solid var(--line); border-radius:6px; padding:clamp(16px,2.5vw,38px); }
.study-types { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:24px; }
.study-types button { padding-inline:10px; }
#study-title,.viewer-foot h2 { font:400 clamp(32px,3.3vw,48px)/1 Barlow,"Arial Narrow",sans-serif; letter-spacing:-.025em; }
#study-copy { margin-block:10px 20px; }
.study-figure { display:flex; flex-direction:column; align-items:center; width:100%; margin:0; }
#study-image { height:clamp(235px,31vw,405px); width:100%; object-fit:contain; border-radius:4px; }
#study-label { align-self:center; margin-top:8px; font-size:12px; color:#c1c4ce; }
#pack-opening { scroll-margin-top:0; }
.pack-player { border:1px solid #2b2c39; width:100%; aspect-ratio:16/9; max-height:none; background:#07090e; object-fit:contain; border-radius:5px; }
.film-bar { display:flex; justify-content:space-between; align-items:center; gap:16px; padding-top:10px; color:var(--muted); font-size:12px; }
.film-bar button { margin:0; color:var(--white); }
.screens-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:26px 16px; }
.screen-tile { grid-column:span 2; align-self:start; }
.screen-tile:nth-child(-n+2) { grid-column:span 3; }
.screen-window { background:#0d0e13; border:1px solid var(--line); border-radius:4px; aspect-ratio:16/9; }
.screen-window img { object-fit:contain; width:100%; height:100%; }
#capabilities { display:grid; grid-template-columns:1fr 1.25fr; gap:8%; }
.capabilities details>p { max-width:65ch; }
.studio-footer { padding-block:27px; align-items:center; }
.studio-footer>a>img { display:block; width:154px; height:auto; }
.studio-footer div { text-align:right; }
.studio-footer p { font-size:14px; margin-bottom:5px; }
.studio-footer div a { display:inline-block; margin:4px 0 4px 14px; padding:5px 0; color:var(--muted); text-underline-offset:4px; text-decoration:underline; }
#viewer { width:min(1060px,95vw); max-height:95svh; padding:clamp(12px,2.4vw,24px); overflow:auto; }
.viewer-head,.viewer-foot { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.viewer-image { display:block; width:100%; height:min(64svh,720px); object-fit:contain; background:radial-gradient(ellipse,#181b27,#0a0b11 75%); margin-block:12px; border-radius:4px; }
.viewer-foot p { margin-top:4px; max-width:72ch; }
.viewer-foot button,.viewer-close { min-width:42px; min-height:42px; padding:6px 12px; border:1px solid var(--line); border-radius:5px; }
.viewer-foot [role=group] { display:flex; gap:6px; }
.media-error { color:var(--muted); padding-block:12px; }
@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.study-layout{grid-template-columns:.94fr 1.06fr;gap:22px}.chapter-head>p{max-width:340px}.mast nav{gap:16px}.publisher{font-size:13px}}
@media(max-width:700px){
 .mast { height:auto; min-height:72px; display:flex; flex-flow:row wrap; align-content:center; gap:6px 20px; padding-block:10px; }
 .mast nav { gap:16px; flex-wrap:wrap; }
 .publisher img { width:36px; }.hero-copy h1{margin:11px 0 12px}.product-lockup{width:235px}
 .stage{height:clamp(310px,46svh,450px)}.wing{height:65%}.wing-left{left:24%}.wing-right{right:24%}
 .hero .exhibit-bar{align-items:center;flex-wrap:wrap;gap:9px}.choices{gap:5px}.choices button{width:36px;height:42px}.tools{gap:5px}.tools button{padding:0 10px}
 .chapter-head{display:block;margin-bottom:18px}.chapter-head>p{margin-top:12px;max-width:52ch}
 .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.filter-list{gap:5px}.filter-list button{min-height:40px}
 #materials.material-chapter{padding-block:48px}.study-layout{display:flex;flex-direction:column;align-items:stretch}.study-types{margin-bottom:15px}#study-image{height:clamp(230px,58vw,360px)}
 .screens-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.screen-tile,.screen-tile:nth-child(-n+2){grid-column:span 1}.screen-tile:first-child{grid-column:span 2}
 #capabilities{grid-template-columns:1fr;gap:22px}.studio-footer{flex-wrap:nowrap;justify-content:space-between;gap:12px}.studio-footer>a>img{width:140px}
 .viewer-foot{align-items:flex-start}.viewer-foot p{font-size:13px}.viewer-image{height:53svh}
}
@media(max-width:470px){
 .hero .exhibit-bar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
 .hero .choices { grid-template-columns:repeat(4,minmax(0,44px)); gap:4px; }
 .hero .choices button { width:100%; height:44px; min-width:0; }
 .hero .tools { display:grid; grid-template-columns:83px 33px; gap:4px; }
 .hero .tools #flip,.hero .tools #foil { grid-column:1; }
 .hero .tools #reset { grid-column:2; grid-row:1 / 3; align-self:center; }
 .mast{display:grid;grid-template-columns:1fr;gap:7px}.mast nav{justify-content:space-between;gap:8px;flex-wrap:nowrap}.mast nav a{font-size:12px;white-space:nowrap}
 .exhibit-bar .tools button{min-width:33px;padding:0 9px}.film-bar{align-items:flex-start}.studio-footer p{font-size:12px}.studio-footer div a{margin-left:8px}
}
@media(prefers-reduced-motion:reduce){.card-window img,.hero-fan{transition:none}}

#study-motion{width:100%;height:clamp(235px,31vw,405px);object-fit:contain;border-radius:4px;background:#07080a}
#study-motion[hidden],#study-image[hidden]{display:none}
@media(max-width:700px){#study-motion{height:clamp(230px,58vw,360px)}}
