/* Exhibition grid: a full-bleed work, with type anchored to its margins. */
:root { --edge:clamp(26px,4.5vw,84px); }
.exhibit-edition { position:fixed;z-index:3;left:50%;top:calc(max(24px,env(safe-area-inset-top)) + 22px);transform:translate(-50%,-50%);display:flex;align-items:center;gap:12px;white-space:nowrap;color:#82979d;font:9px/1 SeaTypewriter,monospace;letter-spacing:.055em;pointer-events:none; }
.exhibit-edition span { opacity:.45; }
.exhibit-spine { position:fixed;right:29px;top:12vh;display:flex;align-items:center;gap:18px;writing-mode:vertical-rl;font:9px/1 SeaTypewriter,monospace;letter-spacing:.15em;color:#96adb1;pointer-events:none; }
.exhibit-spine i { width:1px;height:36px;background:#96adb150; }
.masthead { top:max(24px,env(safe-area-inset-top)); }
.wordmark img { width:24px; }
.brand-type strong { font-size:14px;letter-spacing:.22em; }
.brand-caption { font-size:9px;letter-spacing:.13em; }
.ocean-vignette,body[data-chapter="2"] .ocean-vignette { background:linear-gradient(0deg,#0610189c,transparent 30%),linear-gradient(90deg,#08101766,transparent 25%); }
.scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) { padding:0; }
.scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) .scene-copy { display:contents; }
.scene-heading { position:absolute;left:var(--edge);bottom:18vh;display:grid;justify-items:start; }
.scene-caption { position:absolute;left:70%;right:calc(var(--edge) + 30px);bottom:16vh;max-width:330px; }
.scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) .folio { position:static;translate:none;opacity:1;font:10px/1 SeaTypewriter,monospace;letter-spacing:.16em;margin-bottom:58px;color:#9cabb0;gap:12px; }
.scene .folio i { width:45px; }
.scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) :is(h1,h2) { position:relative;font:800 clamp(104px,10.6vw,164px)/1.03 SeaHeavy,sans-serif;letter-spacing:-.08em;margin:0;padding:0;transform:none;flex-direction:row;gap:0; }
.scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) :is(h1,h2) span { transform:none; }
.scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) :is(h1,h2) span+span { font-size:.70em;align-self:flex-end;transform:translate(.04em,.18em); }
.scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) :is(h1,h2)::before { left:3px;top:-31px;font:800 clamp(21px,2.5vw,36px)/1 SeaCondensed,sans-serif;letter-spacing:.025em;color:#bdd4cd;opacity:.58;-webkit-text-stroke:0;transform:none;writing-mode:horizontal-tb;background:none;mask-image:none; }
.scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) :is(h1,h2)::after { content:'';inset:auto auto -37px 4px;width:32px;height:1px;border:0;border-radius:0;background:var(--accent);transform:none;mask-image:none;opacity:.5; }
.scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) p { font:12px/2 SeaTypewriter,SeaText,monospace;letter-spacing:.08em;margin:0 0 13px;max-width:280px;color:#bacbcf; }
.scene-caption::before { content:'INTERACTION /';display:block;color:#829da3;font:9px/1 SeaTypewriter,monospace;letter-spacing:.18em;margin-bottom:14px; }
.scene .scene-tools { display:flex;gap:0 18px;flex-wrap:wrap; }
.scene :is(.scene-action,.quiet-action) { font-size:11px;letter-spacing:.12em;margin-top:0;min-height:40px; }
.scene .scene-action::before { width:4px;height:4px; }
.scene .print-actions { gap:15px; }
#fishChoices { margin-top:0; }
.scene:is(#stars,#letter) .scene-heading { top:21vh;bottom:auto; }
.scene:is(#stars,#letter) h2 { flex-direction:column;font-size:clamp(100px,8.6vw,135px);gap:5px; }
.scene:is(#stars,#letter) h2 span+span { align-self:flex-start;transform:translate(.28em,.03em); }
.scene:is(#stars,#letter) h2::before { left:calc(100% + 22px);top:6px;writing-mode:vertical-rl;font-size:24px;letter-spacing:.1em; }
.scene:is(#stars,#letter) .folio { margin-bottom:28px; }
.scene:is(#sea) .scene-heading { top:24vh;bottom:auto; }
.scene:is(#sea) .scene-caption { bottom:20vh; }
.console { bottom:max(22px,env(safe-area-inset-bottom));border-top:1px solid #bdd3d326;padding-top:12px; }
@media (min-width:1000px) { .chapter-nav { right:22px; } }
.scene:is(.is-entering,.is-leaving) .scene-copy { animation:none; }
.scene.is-entering .scene-heading { animation:exhibit-arrive 1.25s .32s cubic-bezier(.18,.7,.2,1) both; }
.scene.is-entering .scene-caption { animation:exhibit-arrive 1.05s .60s cubic-bezier(.18,.7,.2,1) both; }
.scene.is-leaving :is(.scene-heading,.scene-caption) { animation:exhibit-leave .55s ease both;pointer-events:none; }
.scene.is-active :is(h1,h2) span { animation:none; }
@keyframes exhibit-arrive { from { opacity:0;translate:0 22px;filter:blur(3px); } to { opacity:1;translate:0 0;filter:blur(0); } }
@keyframes exhibit-leave { to { opacity:0;translate:0 -14px;filter:blur(2px); } }
@media (max-width:999px) {
  .exhibit-spine { right:18px;font-size:8px; }
  .scene-caption { left:64%;right:var(--edge); }
  .scene-heading { bottom:24vh; }
  .exhibit-edition { font-size:8px;gap:9px; }
}
@media (max-width:720px) {
  :root { --edge:25px; }
  .masthead { top:max(20px,env(safe-area-inset-top)); }
  .brand-type strong { font-size:13px; }
  .brand-caption { font-size:8px; }
  .exhibit-edition { top:100px;font-size:7px;letter-spacing:.035em;gap:8px; }
  .exhibit-spine { right:15px;top:27vh;font-size:7px;gap:12px; }
  .exhibit-spine i { height:35px; }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) .scene-heading { top:21vh;bottom:auto; }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) .folio { margin-bottom:38px;font-size:8px;gap:8px; }
  .scene .folio i { width:24px; }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) :is(h1,h2) { font-size:clamp(72px,21vw,100px);flex-direction:row;gap:0; }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) :is(h1,h2)::before { top:-22px;left:2px;font-size:20px;writing-mode:horizontal-tb; }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) :is(h1,h2) span+span { align-self:flex-end;transform:translate(.04em,.16em); }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) :is(h1,h2)::after { bottom:-20px;width:21px; }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) .scene-caption { left:var(--edge);right:calc(var(--edge) + 12px);bottom:17vh;max-width:330px; }
  .scene-caption::before { font-size:8px;margin-bottom:8px; }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) p { font-size:11px;line-height:1.8;margin-bottom:2px;max-width:290px; }
  .scene :is(.scene-action,.quiet-action) { min-height:37px;font-size:11px; }
  .scene .scene-tools,#stars .scene-tools { gap:0 16px;max-width:100%; }
  .console { bottom:max(12px,env(safe-area-inset-bottom));padding-top:7px; }
  .ocean-vignette,body[data-chapter="2"] .ocean-vignette { background:linear-gradient(0deg,#061018cc,transparent 40%); }
}
@media (max-height:650px) {
  .exhibit-edition { display:none; }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) .scene-heading { top:20vh;bottom:auto; }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) :is(h1,h2) { font-size:74px;flex-direction:row; }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) .folio { margin-bottom:32px; }
  .scene:is(#wind,#form,#current,#vortex,#letter,#stars,#school,#sea) .scene-caption { bottom:22vh; }
}
@media (prefers-reduced-motion:reduce) { .scene :is(.scene-heading,.scene-caption) { animation:none!important; } }
