.atmosphere { display:none }
html[data-look] {
  --ink:#0b1210; --paper:#f4f7ed; --acid:#92f9cc; --line:#3d5146; --blue:#233b32;
  background:var(--ink);
}
html[data-look="admission"] {
  --ink:#18140f; --paper:#f6e4c4; --acid:#ff995e; --line:#5c4a37; --blue:#493a2b;
}
[data-look] header {background:var(--ink)}
[data-look] .hero-scene {position:relative;isolation:isolate;overflow:hidden;background:var(--ink)}
[data-look] .atmosphere {
  display:block;position:absolute;inset:0;z-index:-1;
  background:var(--ink) url(/art/night-signal.webp) center 54% / cover no-repeat;
}
[data-look="admission"] .atmosphere {background-image:url(/art/last-admission.webp)}
[data-look] .atmosphere canvas {display:block;width:100%;height:100%;opacity:0}
[data-look] .atmosphere.playing canvas {opacity:1}
[data-look] .hero {display:flex;align-items:center;min-height:clamp(465px,46vw,690px);padding-block:50px}
[data-look] .hero-copy {width:51%;max-width:580px}
[data-look] .hero .sleeve {display:none}
[data-look] .hero h1 {font-size:clamp(83px,9vw,145px);letter-spacing:-.035em}
[data-look] .hero-copy p {color:#edece1;text-shadow:0 1px 5px #000b;max-width:36ch}
[data-look] .primary:hover,[data-look] .file-button:hover {background:color-mix(in srgb,var(--acid) 72%,white)}
[data-look] .atlas {background-color:#121d18;background-image:radial-gradient(#58766030 .8px,transparent .9px);background-size:6px 6px}
[data-look="admission"] .atlas {background-color:#231c15;background-image:repeating-linear-gradient(116deg,transparent 0 4px,#fabe7310 5px,transparent 6px)}
[data-look] .po-atlas {--atlas-ink:#0d1512;--atlas-signal:var(--acid);--atlas-line:var(--line)}
[data-look="admission"] .po-atlas {--atlas-ink:#1b1712;--atlas-paper:#f5e1bc}
[data-look="admission"] .hero-scene::after {
  content:"";position:absolute;inset:auto 0 0;height:8px;
  background:linear-gradient(135deg,transparent 50%,#231c15 51%) 0 0/16px 8px repeat-x,
             linear-gradient(225deg,transparent 50%,#231c15 51%) 0 0/16px 8px repeat-x;
}
[data-look="admission"] .hero h1 {color:#f4e3bf;transform:rotate(-2deg);transform-origin:left center}
[data-look="admission"] .hero h1 em {color:#ff8451}
[data-look="admission"] .hero .primary {border-radius:0;box-shadow:3px 3px 0 #341e12,3px 3px 0 1px #e9ae75}
[data-look] .poster-wrap {background:repeating-linear-gradient(-45deg,var(--ink) 0 3px,var(--line) 4px)}
@media(max-width:760px) and (min-width:601px) {
  [data-look] .hero h1 {font-size:clamp(66px,9vw,85px)}
}
@media(max-width:600px) {
  [data-look] .hero {min-height:0;padding-block:28px clamp(190px,53vw,265px)}
  [data-look] .hero-copy {width:100%;max-width:none}
  [data-look] .hero h1 {font-size:clamp(72px,16vw,99px);margin:15px 0}
  [data-look] .hero-copy p {max-width:34ch}
  [data-look] .hero .text-link {background:#0a0c09db;border-radius:3px;padding:9px 7px;margin-left:4px}
  [data-look] .atmosphere {
    background-size:auto 74%;background-position:right bottom;
    background-image:linear-gradient(180deg,var(--ink) 0 32%,transparent 63%),url(/art/night-signal.webp);
    background-size:100% 100%,auto 74%;
  }
  [data-look="admission"] .atmosphere {background-image:linear-gradient(180deg,var(--ink) 0 32%,transparent 63%),url(/art/last-admission.webp)}
}
@media(prefers-reduced-motion:reduce){[data-look] .atmosphere canvas{display:none}}

#signal-field, .map-expand {display:none}
html[data-look="night"] {
  --ink:#101415; --paper:#f2f6f4; --acid:#a9ff65; --line:#404c46;
  color-scheme:dark;
}
[data-look="night"] header {
  background:linear-gradient(110deg,#202629ee,#151b1aee);
  border-bottom:1px solid #ffffff23;
}
[data-look="night"] #home {
  position:relative;isolation:isolate;overflow:hidden;
  padding:0 max(4vw,calc((100% - 1250px)/2)) clamp(30px,5vw,72px);
  background:
    radial-gradient(ellipse at 77% 18%,#334a3e 0,transparent 46%),
    radial-gradient(ellipse at 4% 74%,#293334 0,transparent 52%),
    linear-gradient(125deg,#202627,#111916 72%,#1b2223);
}
[data-look="night"] #signal-field {display:block;position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
[data-look="night"] .hero-scene,[data-look="night"] .hero,[data-look="night"] #atlas {
  background:none;border:0;min-height:0;padding:0;overflow:visible;
}
[data-look="night"] .atmosphere {display:none}
[data-look="night"] .hero {margin:0;padding:clamp(25px,3.5vw,50px) 0 clamp(24px,3.3vw,48px)}
[data-look="night"] .hero-copy {width:100%;max-width:none}
[data-look="night"] .hero h1 {font-size:clamp(58px,7.8vw,118px);line-height:.95;letter-spacing:-.025em;margin:14px 0 9px}
[data-look="night"] .hero h1 br {display:none}
[data-look="night"] .hero h1 em {display:inline;color:var(--acid);margin-left:.14em}
[data-look="night"] .hero-copy>p {max-width:43ch;font-size:17px;line-height:1.4;margin-bottom:14px;color:#e2e9e4;text-shadow:0 1px 6px #141a17}
[data-look="night"] #home .primary {
  border-radius:100px;border:1px solid #d7ffbd;background:linear-gradient(170deg,#c7ff92,#9bf865);
  color:#0f2013;box-shadow:inset 0 1px 1px #efffe2,0 4px 16px #10181155;
}
[data-look="night"] #home .text-link {background:transparent;margin:0 0 0 12px;padding:8px 6px;color:#edf4ee;text-shadow:0 1px 5px #0c1411}
[data-look="night"] #atlas {position:relative;scroll-margin-top:12px}
[data-look="night"] #atlas>.wrap,#map-viewer {
  max-width:none;padding:clamp(16px,2.5vw,34px);border-radius:clamp(19px,2.25vw,34px);
  border:1px solid #aab9b24d;border-top-color:#e7fff080;
  background:linear-gradient(130deg,#34423def,#1a2624f7 52%,#26342cf7);
  box-shadow:inset 0 1px 1px #effff02e,inset 0 -1px 2px #baffd01c,0 18px 45px #050b0b55;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  [data-look="night"] #atlas>.wrap,#map-viewer {
    background:linear-gradient(135deg,rgba(105,124,116,.30),rgba(22,33,31,.72) 50%,rgba(61,80,66,.41));
    -webkit-backdrop-filter:blur(30px) saturate(1.27);
    backdrop-filter:blur(30px) saturate(1.27);
  }
}
[data-look="night"] #atlas>.wrap {
  position:relative;isolation:isolate;overflow:hidden;
  background:linear-gradient(140deg,#34443ffc,#1b2625fc 52%,#26362ffc);
}
.map-reflection {
  position:absolute;inset:0;z-index:-1;width:100%;height:100%;
  pointer-events:none;filter:blur(17px);opacity:.68;
}
[data-look="night"] .section-head,.map-viewer-head {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
[data-look="night"] .section-head .kicker {display:none}
[data-look="night"] .section-head h2,.map-viewer-head h2 {font-size:clamp(32px,3.8vw,56px);line-height:.98;letter-spacing:-.025em;margin:0}
[data-look="night"] .section-head p {display:none}
[data-look="night"] .map-expand,#map-viewer button:not(.po-atlas-pin) {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:1px solid #d6eae04f;border-radius:50px;background:linear-gradient(150deg,#ffffff21,#ffffff0b);
  box-shadow:inset 0 1px 0 #ffffff28;min-height:42px;padding:8px 14px;color:#f1f6f0;font-size:14px;white-space:nowrap;
}
[data-look="night"] .map-expand span {font-size:20px;line-height:1}
[data-look="night"] .po-atlas {
  --atlas-signal:#b3ff68;--atlas-ink:transparent;--atlas-paper:#f0f6f0;
  background:none;border:0;overflow:visible;
}
.map-viewport {overflow-x:auto;overscroll-behavior-x:contain}
[data-look="night"] .po-atlas-field {margin:0}
[data-look="night"] .po-atlas-field::before,[data-look="night"] .po-atlas-field::after {display:none}
[data-look="night"] .po-atlas-land {display:block;width:100%;height:auto}
[data-look="night"] .po-atlas-key {
  border-top:1px solid #cde6da38;padding:8px 0 0;margin-top:4px;min-height:30px;
  font:500 13px/1.4 Plex,monospace;color:#e7efe8;
}
[data-look="night"] .po-atlas-pin::before {box-shadow:0 0 0 2px #163023,0 0 9px #99ff5299}
#map-viewer {width:min(96vw,1550px);max-height:95svh;overflow:auto;color:#f2f6f3;margin:auto}
#map-viewer::backdrop {background:#070b0ddc}
#map-viewer .map-viewer-head>div {display:flex;gap:7px}
#map-viewer .map-viewport {max-height:72svh;overflow:auto;overscroll-behavior:contain}
#map-viewer.magnified .po-atlas-field {width:max(175%,780px)}
html:has(#map-viewer[open]) {overflow:hidden}
@media(min-width:741px) {
  [data-look="night"] .hero .text-link {display:inline-block}
}
@media(max-width:740px) {
  [data-look="night"] #home {padding-inline:10px;padding-bottom:24px}
  [data-look="night"] .hero {display:block;padding:25px 10px 23px}
  [data-look="night"] .hero h1 {font-size:clamp(52px,12vw,80px);margin:13px 0}
  [data-look="night"] .hero h1 br {display:block}
  [data-look="night"] .hero h1 em {margin-left:0}
  [data-look="night"] .hero-copy>p {max-width:34ch;font-size:16px}
  [data-look="night"] #atlas>.wrap {padding:16px 8px 12px}
  [data-look="night"] .section-head {padding:0 5px}
  [data-look="night"] .section-head h2 {font-size:clamp(29px,7vw,38px)}
  [data-look="night"] .map-expand,#map-viewer button:not(.po-atlas-pin) {font-size:13px;min-height:42px;padding:7px 10px}
  [data-look="night"] .po-atlas-key {padding:8px 4px 0}
  #map-viewer {padding:15px 9px;width:calc(100% - 12px)}
  #map-viewer .map-viewer-head h2 {font-size:30px}
}

/* The homepage is one show poster. Its admission slip doubles as wayfinding. */
.admit-strip {display:contents}
.map-stub {display:none}
html[data-look="night"] body:has(#home:not([hidden]))>header {display:none}
[data-look="night"] .hero {padding-block:clamp(34px,4.5vw,72px) clamp(25px,3vw,48px)}
[data-look="night"] .hero .kicker {width:fit-content;color:#dce8db;letter-spacing:.13em}
[data-look="night"] .hero .kicker b {
  width:25px;height:18px;border-radius:0;background:repeating-linear-gradient(95deg,#b7ff78 0 2px,transparent 2px 4px);
  transform:skew(-8deg)
}
[data-look="night"] .hero h1 {font-size:clamp(80px,8.5vw,130px);letter-spacing:-.04em;line-height:.82;margin:22px 0}
[data-look="night"] .hero h1 br {display:block}
[data-look="night"] .hero h1 em {margin:0;display:inline-block;transform:skew(-8deg);transform-origin:bottom left}
[data-look="night"] .hero-copy>p {max-width:39ch;margin-bottom:21px}
[data-look="night"] .admit-strip {
  display:inline-flex;vertical-align:middle;align-items:stretch;position:relative;isolation:isolate;max-width:100%;
  transform:rotate(-1.4deg);transform-origin:12% 50%;filter:drop-shadow(1px 4px 3px #08100a59);
}
[data-look="night"] #home .admit-strip>* {
  display:flex;position:relative;align-items:center;justify-content:center;gap:.5em;min-height:59px;
  color:#182318;background:#c8ff96;border:0;border-radius:2px;box-shadow:none;text-shadow:none;
  mask:radial-gradient(circle at 0 50%,transparent 4px,#000 4.8px) left/51% 100% no-repeat,
       radial-gradient(circle at 100% 50%,transparent 4px,#000 4.8px) right/51% 100% no-repeat;
}
[data-look="night"] #home .admit-strip #start {padding:10px 22px;font-weight:750}
[data-look="night"] #home .admit-strip .map-stub {
  padding:10px 18px 10px 14px;border-left:2px dashed #354a32;
  background:#e3e8cf;font:500 13px/1 Plex,monospace;text-decoration:none;
}
[data-look="night"] .map-stub span {font:700 19px/1 Arial}
[data-look="night"] #home .admit-strip>*:hover,[data-look="night"] #home .admit-strip>*:focus-visible {background:white}
[data-look="night"] #home .admit-strip>*:focus-visible {outline:3px solid #263127;outline-offset:-5px}
[data-look="night"] #home .hero .text-link {display:block;color:#d5dfd3;font-size:14px;margin:10px 0 0;padding:6px 0;text-underline-offset:3px}
[data-look="night"] #home .hero .text-link[hidden] {display:none}
@media(max-width:740px) {
  [data-look="night"] .hero {padding:30px 10px 20px}
  [data-look="night"] .hero h1 {font-size:clamp(67px,17.4vw,96px);margin:19px 0 15px}
  [data-look="night"] .hero-copy>p {max-width:min(31ch,83%);margin-bottom:18px}
  [data-look="night"] #home .admit-strip>* {min-height:52px}
  [data-look="night"] #home .admit-strip #start {padding-inline:13px}
  [data-look="night"] #home .admit-strip .map-stub {padding-inline:12px}
}
@media(max-width:740px) {
  [data-look="night"] #signal-field {mask-image:linear-gradient(90deg,transparent 0 55%,#0008 73%,#000 88%)}
}
