/* The cue is the visitor’s first look at the actual instrument in each place. */
.shellbar { position: sticky; top: 0; z-index: 18; }
.nav-control small { display: none; }
.nav-control.nav-atlas {min-height:44px;gap:.48em;padding:.3em .8em;font-weight:650;font-size:.99rem;color:#f1efd7;border:1px solid #8a9c806e;border-radius:2rem;background:#25392e77}
.nav-control.nav-atlas .ico,.hero-actions .atlas-entry .ico {width:23px;height:23px;flex:none;color:#d5e7b8}
.nav-atlas .atlas-rim,.atlas-entry .atlas-rim {stroke-width:1;opacity:.6}
.atlas-ties {stroke-width:1.2}
.atlas-trace {opacity:0;stroke:#ffdc9b;stroke-width:2.3;stroke-dasharray:22 110}
.hero-actions .btn.atlas-entry {min-height:46px;gap:.55em;padding-inline:1.05em;font-size:1rem;font-weight:650;border:1.5px solid #c7d7ac;background:linear-gradient(120deg,#253d30ed,#13281fe8);color:#fff7e2}
.hero-actions .atlas-entry:is(:hover,:focus-visible),.nav-control.nav-atlas:is(:hover,:focus-visible) {background:#354c39;color:#fffbe8;border-color:#f0d6a7}
@media(prefers-reduced-motion:no-preference){
  .atlas-trace {animation:atlas-entry-pulse 1.65s ease-in-out .6s both}
  .atlas-entry .atlas-trace {animation-delay:.92s}
  body:is(.motion-paused,.film-suspended,.page-hidden) .atlas-trace {animation-play-state:paused}
  @keyframes atlas-entry-pulse {0%{opacity:0;stroke-dashoffset:23}15%{opacity:1}75%{stroke-dashoffset:-79;opacity:1}100%{stroke-dashoffset:-100;opacity:0}}
}
.study-cue {
  --cue-width: clamp(108px,10.5vw,164px);
  position: absolute; z-index: 2; right: var(--pad); bottom: clamp(69px,12.5%,104px);
  display: block; width: var(--cue-width); color: #fff3dd; isolation: isolate;
  filter: drop-shadow(0 4px 12px #0b100bb3);
}
.cue-plate {
  position:relative; display:grid; place-items:center; width:100%; aspect-ratio:1.72;
  padding: 3px; border:1px solid #c1c8afaf; background:#15211de6; overflow:hidden;
  transition: border-color .3s, transform .35s;
}
.cue-plate img { width:100%; height:100%; object-fit:contain; }
.scene-hide .cue-plate img,.scene-gates .cue-plate img { object-fit:cover; }
.cue-plate i { position:absolute; inset:4px; border:1px solid var(--scene-color); opacity:.76; clip-path:polygon(0 0,15% 0,15% 1%,1% 1%,1% 15%,0 15%,0 0,100% 0,100% 100%,82% 100%,82% 98%,98% 98%,98% 82%,100% 82%,100% 0); }
.cue-line { position:absolute; top:42%; right:99%; width:clamp(18px,4.5vw,100px); border-top:1px solid var(--scene-color); transform:rotate(20deg); transform-origin:right; opacity:.85; }
.cue-line::before { content:''; position:absolute; top:-3px; left:0; border-radius:50%; width:5px; height:5px; background:var(--scene-color); box-shadow:0 0 0 2px #1620167a; }
.cue-caption {display:flex;align-items:center;justify-content:space-between;gap:3px;background:#141f1aeb;padding:3px 6px;font:500 .72rem/1.35 var(--sans);border:1px solid #bcbd9d61;border-top:0;}
.cue-caption b {color:var(--scene-color);font:400 .85rem/1 var(--sans);}
.study-cue:hover .cue-plate,.study-cue:focus-visible .cue-plate { transform:translateY(-2px);border-color:var(--scene-color); }
.cue-plate::after { content:'';display:block;position:absolute;pointer-events:none; }
.cue-read .cue-plate::after,.cue-map .cue-plate::after { inset:0 auto 0 -12%;width:10%; background:linear-gradient(90deg,transparent,#e5ffd259,transparent);animation:plate-scan 8.7s ease-in-out infinite; }
.cue-map .cue-plate::after {background:linear-gradient(90deg,transparent,#b5dab95c,transparent);animation-delay:1s;}
.cue-projector .cue-plate img {animation:projector-arrival 7.4s ease-in-out infinite alternate;}
.cue-lens .cue-plate::after { width:34%; aspect-ratio:1; border:1px solid #f4dfc8a8;border-radius:50%;left:48%;top:21%;animation:read-lens 6.5s ease-in-out infinite alternate; }
.cue-network{display:block;height:100%;max-width:100%}.cue-weeks,.cue-hours{font-family:var(--serif);font-size:1.15rem;line-height:1.05;color:#edcdab;text-align:center}
.cue-weeks span{display:block;text-transform:uppercase;font:500 .55rem var(--sans);letter-spacing:.12em;color:#c0c2a9}.cue-weeks strong{font-weight:500}
.cue-hours{width:85%;display:flex;align-items:center;gap:5px;justify-content:center;color:#d4cced}.cue-hours span{border:1px solid #acabd287;border-radius:4px;padding:5px 3px}.cue-hours i{flex:1;border-top:1px solid #c1b8e0;position:static;clip-path:none;inset:auto}
@keyframes plate-scan { 0%,26%{transform:translateX(0);opacity:0}40%{opacity:.9}77%,100%{transform:translateX(1200%);opacity:0} }
@keyframes projector-arrival { 0%,17% {transform:scale(1)} 90%,100% {transform:scale(1.08)} }
@keyframes read-lens { to { transform:translate(-19%,9%) scale(.87); } }
#cut { overflow:hidden; }
#cut img { width:100%;height:100%;object-fit:cover;opacity:.84; }
#cut i{position:absolute;display:block;inset:58% 0 auto;height:1px;opacity:0;box-shadow:0 0 16px #e8c09c;}
#cut.passing[data-match="horizon"]{animation:cut-horizon .75s ease-out forwards}
#cut.passing[data-match="glass"]{animation:cut-glass .7s ease-out forwards}
#cut.passing[data-match="family"]{animation:cut-family .66s ease-out forwards}
#cut.passing[data-match="horizon"] i{background:linear-gradient(90deg,transparent,#dbc99e,transparent);animation:cut-light .7s both}
#cut.passing[data-match="glass"] i{inset:0 auto 0 62%;width:1px;height:auto;background:linear-gradient(transparent,#ecb386,transparent);animation:cut-light .65s both;}
@keyframes cut-horizon{0%{opacity:.94;clip-path:inset(0)}63%{opacity:.32;clip-path:inset(47% 0 33%)}100%{opacity:0;clip-path:inset(58% 0 42%)}}
@keyframes cut-glass{0%{opacity:.9;clip-path:inset(0)}65%{opacity:.3;clip-path:inset(0 27% 0 51%)}100%{opacity:0;clip-path:inset(0 38% 0 62%)}}
@keyframes cut-family{from{opacity:.85;clip-path:circle(110% at 63% 43%)}75%{opacity:.15}to{opacity:0;clip-path:circle(1% at 63% 43%)}}
@keyframes cut-light{0%,100%{opacity:0}45%{opacity:.82}}
.desk-detail{position:relative;}
.desk-detail img.desk-match{position:absolute;inset:0;z-index:1;pointer-events:none;width:100%;height:100%;object-fit:cover;transform-origin:68% 39%;animation:through-screen 1.05s cubic-bezier(.28,.3,.36,1) both}
@keyframes through-screen{0%,11%{transform:scale(1);opacity:1}62%{opacity:.94;transform:scale(2.9)}100%{opacity:0;transform:scale(5)}}
.coauthors-open{margin:6px 0 16px}.coauthor-plate{position:relative;background:radial-gradient(ellipse at center,#233b34,#0d1615 76%);border:1px solid var(--fine);margin:22px 0;padding:17px 0}
.coauthor-plate img{width:100%;height:auto}.coauthor-plate svg{position:absolute;inset:17px 0;width:100%;height:calc(100% - 34px);pointer-events:none}
.coauthor-plate path{fill:none;stroke:#f4d5a5;stroke-width:1.6;stroke-dasharray:6 94;stroke-dashoffset:0;animation:coauthor-pulse 7.5s linear infinite;animation-delay:var(--phase)}
.coauthor-plate text{font:600 12px var(--sans);fill:#18251e}
@keyframes coauthor-pulse{to{stroke-dashoffset:-100}}
@media(max-width:650px){
 .study-cue{--cue-width:94px;top:20px;right:15px;bottom:auto}
 .cue-caption{font-size:.65rem;min-height:21px}.cue-line{width:20px}
 .desk-target{z-index:2;}
}
@media(max-width:520px){
 .shellbar{padding-inline:12px;gap:2px}.brand{white-space:nowrap}.topnav{gap:1px;flex:none}
 .topnav .nav-control{position:relative;width:40px;min-height:44px;flex-direction:column;gap:1px;padding:2px 0;line-height:1.05}
 .nav-control>span{display:none}.nav-control small{display:block;font-size:.60rem;line-height:1.2}.nav-control .ico{width:16px;height:16px}
 .nav-control i{position:absolute;right:-1px;top:1px;min-width:12px;text-align:center;font-size:.55rem}
 .topnav .sound-control,.topnav .motion-control{width:37px;height:44px;margin-left:0;border:0}
 .bird-reference{top:12%}
}
@media(max-width:350px){.shellbar{padding-inline:7px}.topnav .nav-control{width:37px}.topnav .round-control{width:32px}.brand{font-size:.93rem;gap:5px}}
@media(max-width:520px){
  .topnav .nav-control.nav-atlas {width:49px;min-height:44px;gap:1px;padding:.1rem .15rem;border-radius:.65rem}
  .topnav .nav-atlas small {font-size:.78rem;font-weight:650;line-height:1.05}
  .topnav .nav-atlas .ico {width:21px;height:21px}
  .hero-actions .btn.atlas-entry {font-size:.94rem;padding-inline:.78em}
}
@media(max-width:365px){
  .topnav .nav-control.nav-atlas {width:45px}
  .mast-copy .hero-actions .atlas-entry {font-size:.9rem;gap:.36em;padding-inline:.58em}
}
@media(min-width:560px) and (max-height:480px){
 :root{--header:47px}.shellbar{height:var(--header)}.topnav{gap:14px}
 .scene-stage,.desk-stage,.home-hero{min-height:0;height:max(280px,calc(100svh - var(--header)))}
 .scene-intro,.desk-copy,.mast-copy{padding-top:12px;padding-bottom:19px}.scene-intro .film-name{margin-bottom:5px;font-size:1rem}
 .scene-intro h1,.desk-copy h1,.mast-copy h1{font-size:clamp(3.3rem,7vw,5rem);margin:5px 0 8px}
 .scene-intro>p,.desk-copy>p,.mast-copy>p{font-size:.94rem}.hero-actions{margin-top:12px}.btn{min-height:39px}
 .study-cue{--cue-width:97px;bottom:50px}
}
@media(prefers-reduced-motion:reduce){.desk-detail img.desk-match,#cut{display:none}.cue-plate::after,.coauthor-plate path{animation:none}}
body.motion-paused .desk-detail img.desk-match{display:none}
.trip-menu{border-top:1px solid var(--fine);margin-top:20px;padding-top:11px}
.trip-menu summary{cursor:pointer;color:var(--paper);font:500 1.4rem var(--serif);width:fit-content;min-height:38px}
.trip-menu>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.trip-card{display:flex;align-items:center;gap:11px;text-align:left;color:var(--paper);border:1px solid var(--fine);background:#18221b;padding:8px;min-width:0}
.trip-stills{width:55px;height:53px;display:flex;overflow:hidden;flex:none}
.trip-stills img{height:100%;width:33.33%;object-fit:cover}
.trip-card>span:nth-child(2){flex:1;min-width:0}
.trip-card strong{font:500 1.15rem/1.1 var(--serif);display:block}
.trip-card small{display:block;color:var(--dim);font-size:.71rem;line-height:1.36;margin-top:3px}
.trip-card>.ico{width:13px}.trip-card:hover,.trip-card:focus-visible{border-color:var(--copper)}
.trip-progress{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding:8px 12px;border-left:2px solid var(--copper);background:#273125}
.trip-progress>span{display:flex;align-items:center;gap:10px;font:500 1.28rem var(--serif)}
.trip-progress small{color:var(--copper);font:500 .71rem var(--sans);white-space:nowrap}
.trip-progress>.text-button{margin-left:auto;text-align:left}.trip-leave{min-height:36px;padding:4px;color:var(--sub)}.trip-leave .ico{width:14px}
@media(max-width:620px){.trip-menu>div{grid-template-columns:1fr}.trip-progress{display:grid;grid-template-columns:1fr auto;gap:2px}.trip-progress>.text-button{margin:0;justify-self:start;min-height:28px}.trip-leave{grid-row:1 / span 2;grid-column:2}}
.age-passage{position:absolute;z-index:4;pointer-events:none;right:var(--pad);top:20px;display:grid;grid-template-columns:auto minmax(24px,3vw) auto;align-items:center;gap:.45rem;max-width:calc(100% - var(--pad)*2);padding:6px 12px 6px 6px;border:1px solid #e6d39b54;background:#10211eee;color:#eee9d7;box-shadow:0 3px 22px #0c141447;animation:age-passage 2.8s both}
.age-passage span{display:flex;align-items:center;gap:.5rem;font:500 .8rem/1.2 var(--sans)}.age-passage img{width:41px;height:32px;object-fit:cover}
.age-passage i{position:relative;height:1px;background:#cfb789}.age-passage i::after{content:"";position:absolute;top:-2px;left:0;width:5px;height:5px;background:#f6d39b;border-radius:50%;box-shadow:0 0 8px #ffce89;animation:age-cross 1.6s .18s both}
@keyframes age-passage{0%{opacity:0;transform:translateY(-5px)}16%,78%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-3px)}}@keyframes age-cross{from{left:0}to{left:100%}}
.motion-paused .age-passage,.film-suspended .age-passage,.page-hidden .age-passage{display:none}
@media(max-width:600px){.age-passage{top:12px;right:auto;left:var(--pad)}.age-passage img{width:34px;height:28px}}
@media(prefers-reduced-motion:reduce){.age-passage{display:none}}
