:root {
  --blue: #1c3fa8;
  --red: #e63a21;
  --paper: #ededea;
  --font: 'Inter', system-ui, sans-serif; /* swapped to Neue Haas later — change here only */
  --e: cubic-bezier(0.16, 0.84, 0.24, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  overscroll-behavior: none;
}
body {
  font-family: var(--font);
  color: var(--blue);
  -webkit-font-smoothing: antialiased;
  touch-action: none;
  user-select: none;
}
canvas#gl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.ui {
  position: fixed;
  z-index: 20;
  transition: opacity 0.9s var(--e);
}
body:not(.intro) .ui.i,
body.pod .ui.i {
  opacity: 0;
  pointer-events: none;
}
#logo {
  top: 32px;
  left: 34px;
}
#logo .w {
  font-size: clamp(23px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: 0.02em;
}
#logo .w i {
  font-style: normal;
  color: var(--red);
}
#logo .tag {
  margin-top: 12px;
}
#logo .tag b {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  line-height: 1.9;
}
#logo .tag b:last-child {
  color: var(--red);
}
#names {
  top: 38px;
  right: 34px;
  display: flex;
  gap: 24px;
}
#names span {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
#hintS {
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}
#hintS .t {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
}
#hintS .arr {
  width: 1.5px;
  height: 76px;
  background: var(--blue);
  margin: 12px auto 0;
  position: relative;
  animation: arr 2.6s var(--e) infinite;
}
#hintS .arr::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  transform: translateX(-50%) rotate(45deg);
}
@keyframes arr {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(9px);
    opacity: 0.5;
  }
}
#nav {
  left: 34px;
  top: 52%;
  transform: translateY(-40%);
}
#nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  padding: 8px 0;
}
#nav a .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transition: 0.25s;
}
#nav a[data-on] .d,
#nav a:hover .d {
  opacity: 1;
}
#scene {
  right: 34px;
  bottom: 96px;
  text-align: right;
  /* the plate is a photograph now: the card has to stay legible over whatever
     the room happens to put behind it */
  text-shadow: 0 0 16px rgba(237, 237, 234, 0.62);
}
#scene .n {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--red);
}
#scene .nm {
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 3px 0 2px;
}
#scene .sb {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  opacity: 0.55;
}
#listen {
  margin-top: 12px;
  background: none;
  border: 1.5px solid var(--blue);
  border-radius: 2px;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--blue);
  padding: 10px 24px;
  cursor: pointer;
  transition: 0.3s;
}
#listen:hover {
  background: var(--blue);
  color: var(--paper);
}
#listen[disabled] {
  opacity: 0.35;
  cursor: default;
}
#footL {
  bottom: 30px;
  left: 34px;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 18px;
}
#sound {
  background: none;
  border: 1.5px solid var(--red);
  border-radius: 2px;
  font-family: inherit;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--red);
  padding: 8px 16px;
  cursor: pointer;
  transition: 0.3s;
}
#sound:hover {
  background: var(--red);
  color: var(--paper);
}
#footL .cp {
  align-self: center;
}
#footR {
  bottom: 30px;
  right: 34px;
  display: flex;
  gap: 22px;
}
#footR a {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

/* idle projection — the manifesto thrown onto the wall */
#proj {
  position: fixed;
  z-index: 19;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s var(--e);
}
#proj.on {
  opacity: 1;
}
#proj span {
  font-size: clamp(20px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--blue);
  mix-blend-mode: multiply;
  opacity: 0;
  filter: blur(0.4px);
  transition: opacity 1.4s var(--e);
  padding: 0 6vw;
}
#proj.on span.lit {
  opacity: 0.82;
}

.bar {
  position: fixed;
  left: 0;
  right: 0;
  height: 0;
  background: #000;
  z-index: 30;
  transition: height 1.1s var(--e);
}
#barT {
  top: 0;
}
#barB {
  bottom: 0;
}
body.film .bar {
  height: 9vh;
}
#film {
  position: fixed;
  z-index: 31;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--e);
}
body.film #film {
  opacity: 1;
}
#filmV {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: none;
}
/* the picture is a projection, not a screen: it sits at slightly less
   than full strength so the room — and the two of them — ghost through */
body.film #filmV {
  display: block;
  opacity: 0.9;
}
/* ---- the projection ritual: the picture arrives as static thrown onto
   the room, flickers like a projector finding its loop, and settles ---- */
#noise {
  position: absolute;
  inset: -12%;
  pointer-events: none;
  display: none;
  opacity: 0.045;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/><feComponentTransfer><feFuncR type="discrete" tableValues="0 0.2 0.8 1"/><feFuncG type="discrete" tableValues="0 0.2 0.8 1"/><feFuncB type="discrete" tableValues="0 0.2 0.8 1"/></feComponentTransfer></filter><rect width="180" height="180" filter="url(%23n)"/></svg>');
  background-size: 180px 180px;
  animation: grainJitter 0.6s steps(4) infinite;
}
body.film #noise {
  display: block; /* a living grain rides every projected picture */
}
body.film.audio #noise {
  display: none; /* sound only: nothing is being projected */
}
body.film.reveal #film {
  transition: none;
  opacity: 1;
}
body.film.reveal #filmV {
  animation: filmIn 1.6s steps(1, end) both;
}
body.film.reveal #noise {
  animation: noiseReveal 1.6s steps(3, end) both;
}
@keyframes grainJitter {
  0% {
    background-position: 0 0;
  }
  25% {
    background-position: -46px 83px;
  }
  50% {
    background-position: 71px -29px;
  }
  75% {
    background-position: -32px -64px;
  }
  100% {
    background-position: 58px 41px;
  }
}
@keyframes noiseReveal {
  0% {
    opacity: 0.92;
    background-position: 0 0;
  }
  14% {
    opacity: 0.6;
    background-position: -64px 38px;
  }
  27% {
    opacity: 0.85;
    background-position: 82px -26px;
  }
  43% {
    opacity: 0.38;
    background-position: -28px -74px;
  }
  60% {
    opacity: 0.58;
    background-position: 54px 66px;
  }
  78% {
    opacity: 0.2;
    background-position: -86px 12px;
  }
  100% {
    opacity: 0.045;
    background-position: 34px -52px;
  }
}
@keyframes filmIn {
  0% {
    opacity: 0;
    filter: brightness(2.4) contrast(1.7);
  }
  9% {
    opacity: 0.5;
    filter: brightness(2) contrast(1.6);
  }
  15% {
    opacity: 0.1;
    filter: brightness(2) contrast(1.6);
  }
  27% {
    opacity: 0.68;
    filter: brightness(1.5) contrast(1.3);
  }
  38% {
    opacity: 0.28;
    filter: brightness(1.5) contrast(1.3);
  }
  54% {
    opacity: 0.8;
    filter: brightness(1.15) contrast(1.12);
  }
  68% {
    opacity: 0.55;
    filter: brightness(1.2) contrast(1.15);
  }
  100% {
    opacity: 0.9;
    filter: none;
  }
}
/* The dock: Mixcloud's licensed player, at the bottom of the frame. The
   sound is always Mixcloud's; when a silent picture is registered it
   plays behind, started and kept in step by the widget's own events. */
#dock {
  position: absolute;
  inset: auto 0 calc(9vh + 26px) 0;
  height: 132px;
  display: none;
  justify-content: center;
}
body.film.dock #dock {
  display: flex;
  pointer-events: auto;
}
#dockFrame {
  width: min(92vw, 660px);
  height: 132px;
  border: 0;
  display: block;
}
/* the poster sits at 33 for the shop; the docked player has to clear it */
body.film.dock #film {
  z-index: 35;
}
body.film.dock .bar {
  height: 9vh;
}
/* SKIP has to sit clear of the docked player, and above it */
body.film.dock #skip {
  z-index: 36;
  bottom: calc(9vh + 172px);
}
/* sound only: the room stays on screen behind the player */
body.film.audio #filmV,
body.film.audio #film .tc {
  display: none;
}
body.film.audio #poster {
  opacity: 1;
}
/* sound and picture together: the timecode moves clear of the dock */
body.film.sync #film .tc {
  bottom: calc(9vh + 172px);
}
#film .tc {
  position: absolute;
  left: 34px;
  bottom: calc(9vh + 18px);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #fff;
  mix-blend-mode: difference;
}
#skip {
  position: fixed;
  z-index: 32;
  right: 34px;
  bottom: calc(9vh + 14px);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  color: #fff;
  mix-blend-mode: difference;
  font-family: inherit;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  font-weight: 800;
  padding: 9px 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s;
}
body.film #skip {
  opacity: 1;
  pointer-events: auto;
}
#card {
  position: fixed;
  inset: 0;
  z-index: 33;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
}
#card.on {
  animation: card 4.6s var(--e) forwards;
}
@keyframes card {
  12% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
#card .a {
  font-size: clamp(26px, 5.4vw, 64px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  mix-blend-mode: difference;
}
#card .b {
  font-size: 10px;
  letter-spacing: 0.34em;
  font-weight: 700;
  color: #fff;
  mix-blend-mode: difference;
}

/* shop — the film's last frame, frozen */
#poster {
  position: fixed;
  z-index: 33;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--e);
}
body.shop #poster {
  opacity: 1;
}
#shopHint {
  position: fixed;
  z-index: 34;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--e);
  width: min(56vw, 620px);
}
body.shop #shopHint {
  opacity: 1;
}
#shopHint .a {
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--red);
}
#shopHint .b {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-top: 6px;
  color: var(--blue);
}
.mk {
  position: fixed;
  z-index: 35;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border: 1.5px solid var(--red);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--e);
  background: rgba(237, 237, 234, 0.14);
}
.mk::after {
  content: '';
  position: absolute;
  inset: 50%;
  width: 6px;
  height: 6px;
  margin: -3px;
  border-radius: 50%;
  background: var(--red);
}
.mk::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  animation: mk 2.4s var(--e) infinite;
}
@keyframes mk {
  to {
    transform: scale(2.1);
    opacity: 0;
  }
}
body.shop .mk {
  opacity: 1;
  pointer-events: auto;
}
.mk:hover {
  background: var(--red);
}
#prod {
  /* above CART and CLOSE (37): the open sheet owns its corner, and its
     ✕ must not be intercepted by the shop's CLOSE underneath */
  position: fixed;
  z-index: 38;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--paper);
  border-left: 1.5px solid var(--blue);
  padding: 96px 30px 30px;
  transform: translateX(102%);
  transition: transform 0.7s var(--e);
}
#prod.on {
  transform: none;
}
#prod .k {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--red);
}
#prod h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 8px 0 4px;
}
#prod .pr {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
#prod p {
  font-size: 11.5px;
  line-height: 1.9;
  font-weight: 500;
  margin: 18px 0 26px;
  color: #3a4a86;
}
#add {
  width: 100%;
  background: var(--blue);
  border: 0;
  border-radius: 2px;
  color: var(--paper);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 800;
  padding: 15px;
  cursor: pointer;
}
#add:hover {
  background: var(--red);
}
#prod .via {
  font-size: 9px;
  letter-spacing: 0.16em;
  font-weight: 700;
  opacity: 0.5;
  margin-top: 12px;
  text-align: center;
}
#pclose {
  position: absolute;
  top: 34px;
  right: 30px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--blue);
  cursor: pointer;
}
#cart {
  position: fixed;
  z-index: 37;
  top: 34px;
  right: 128px;
  border: 1.5px solid var(--blue);
  border-radius: 2px;
  background: var(--paper);
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--blue);
  padding: 9px 16px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.6s var(--e);
}
body.shop #cart {
  opacity: 1;
  pointer-events: auto;
}
#cart b {
  color: var(--red);
}
#exit {
  position: fixed;
  z-index: 37;
  top: 34px;
  right: 34px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--blue);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.6s var(--e);
}
body.shop #exit {
  opacity: 1;
  pointer-events: auto;
}

/* EXPASS checkout confirmation */
#via {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 12vh;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--paper);
  border-radius: 2px;
  padding: 13px 26px;
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--e);
}
#via.on {
  opacity: 1;
}

@media (max-width: 820px) {
  #names {
    display: none;
  }
  #logo {
    left: 22px;
    top: 24px;
  }
  /* the wording sat across the logo; on a phone the arrow alone says it */
  #hintS {
    top: auto;
    bottom: 96px;
  }
  #hintS .t {
    display: none;
  }
  #nav {
    top: auto;
    bottom: 218px;
    transform: none;
    left: 22px;
  }
  #scene {
    right: 22px;
    bottom: 170px;
    max-width: 62vw;
  }
  /* one quiet row: the sound control on the left, the links on the right */
  #footL {
    left: 22px;
    bottom: 24px;
  }
  #footL .cp {
    display: none;
  }
  #footR {
    right: 22px;
    bottom: 26px;
    gap: 16px;
  }
  #footR a {
    font-size: 9px;
  }
  /* the shop header was landing under CART and CLOSE, and those two
     were landing on each other */
  #shopHint {
    top: 84px;
    width: 92vw;
  }
  #exit {
    right: 22px;
  }
  #cart {
    right: 112px;
  }
  #hintS .arr {
    height: 46px;
  }
  #prod {
    padding-top: 84px;
  }
  #film .tc {
    left: 22px;
  }
  #skip {
    right: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #hintS .arr,
  .mk::before {
    animation: none;
  }
  /* the projection arrives as a plain fade: no static, no flicker */
  #noise,
  body.film.reveal #noise {
    animation: none;
    display: none;
  }
  body.film.reveal #filmV {
    animation: none;
  }
  body.film.reveal #film {
    transition: opacity 0.8s var(--e);
  }
}

/* PASS — membership panel (same voice as the product panel) */
#pass {
  position: fixed;
  z-index: 38;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--paper);
  border-left: 1.5px solid var(--blue);
  padding: 96px 30px 30px;
  transform: translateX(102%);
  transition: transform 0.7s var(--e);
}
#pass.on {
  transform: none;
}
#pass .k {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--red);
}
#pass h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 8px 0 18px;
}
#pass p {
  font-size: 11.5px;
  line-height: 1.9;
  font-weight: 500;
  margin: 0 0 22px;
  color: #3a4a86;
}
#passClose {
  position: absolute;
  top: 34px;
  right: 30px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--blue);
  cursor: pointer;
}
#pass input {
  width: 100%;
  background: none;
  border: 1.5px solid var(--blue);
  border-radius: 2px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--blue);
  padding: 13px 14px;
  margin-bottom: 12px;
  outline: none;
}
#pass input::placeholder {
  color: var(--blue);
  opacity: 0.4;
  letter-spacing: 0.2em;
}
#pass .pbtn {
  width: 100%;
  background: var(--blue);
  border: 0;
  border-radius: 2px;
  color: var(--paper);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 800;
  padding: 15px;
  cursor: pointer;
}
#pass .pbtn:hover {
  background: var(--red);
}
#pass .plink {
  display: block;
  margin: 26px auto 0;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.55;
  cursor: pointer;
}
#pass .note {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-top: 12px;
  color: var(--red);
  min-height: 14px;
}
#pass .st {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  font-weight: 800;
  margin-bottom: 10px;
  word-break: break-all;
}
#pass .st.off {
  color: var(--red);
  margin-bottom: 20px;
}
#pass .st.on {
  color: var(--red);
  margin-bottom: 24px;
}
#pass .k2 {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.55;
  margin-bottom: 10px;
}
#orders {
  max-height: 40vh;
  overflow-y: auto;
}
#orders .row {
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 700;
  line-height: 1.7;
  padding: 8px 0;
  border-top: 1px solid rgba(28, 63, 168, 0.25);
}
#orders .row b {
  color: var(--red);
}
@media (max-width: 820px) {
  #pass {
    padding-top: 84px;
  }
}

#add[disabled] {
  opacity: 0.35;
  cursor: default;
}
#add[disabled]:hover {
  background: var(--blue);
}

/* ARCHIVE — where the sessions happened, by country then spot */
#archive {
  position: fixed;
  z-index: 38;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--paper);
  border-left: 1.5px solid var(--blue);
  padding: 96px 30px 30px;
  transform: translateX(102%);
  transition: transform 0.7s var(--e);
  overflow-y: auto;
}
#archive.on {
  transform: none;
}
#archive .k {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--red);
}
#archive h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 8px 0 26px;
}
#arClose {
  position: absolute;
  top: 34px;
  right: 30px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--blue);
  cursor: pointer;
}
#arList .cy {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.5;
  margin: 24px 0 8px;
}
#arList button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid rgba(28, 63, 168, 0.25);
  font-family: inherit;
  color: var(--blue);
  padding: 13px 0;
  cursor: pointer;
}
#arList button:hover .sp {
  color: var(--red);
}
#arList .sp {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: 0.25s;
}
#arList .mt {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  opacity: 0.55;
  margin-top: 4px;
}
#arList .mt b {
  color: var(--red);
  font-weight: 700;
}

/* PODCAST — the room, one episode at a time */
#pod {
  position: fixed;
  inset: 0;
  z-index: 22;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--e);
}
body.pod #pod {
  opacity: 1;
  pointer-events: auto;
}
#podHead {
  top: 32px;
  left: 34px;
}
#podHead .k {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--red);
}
#podHead .nm {
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-top: 3px;
}
#podCard {
  right: 34px;
  bottom: 96px;
  text-align: right;
  max-width: 62vw;
  text-shadow: 0 0 16px rgba(237, 237, 234, 0.62);
}
#podCard .n {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--red);
}
#podCard .nm {
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 3px 0 2px;
}
#podCard .sb {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  opacity: 0.55;
}
#podPlay {
  margin-top: 12px;
  background: none;
  border: 1.5px solid var(--blue);
  border-radius: 2px;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--blue);
  padding: 10px 24px;
  cursor: pointer;
  transition: 0.3s;
}
#podPlay:hover {
  background: var(--blue);
  color: var(--paper);
}
#podPlay[disabled] {
  opacity: 0.35;
  cursor: default;
}
.podArr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: none;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font: 700 20px/1 var(--font);
  cursor: pointer;
  transition: 0.25s;
}
.podArr:hover {
  background: var(--blue);
  color: var(--paper);
}
.podArr[disabled] {
  opacity: 0.25;
  cursor: default;
}
#podPrev {
  left: 34px;
}
#podNext {
  right: 34px;
}
#podExit {
  position: absolute;
  top: 34px;
  right: 34px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--blue);
  cursor: pointer;
}
@media (max-width: 820px) {
  #archive {
    padding-top: 84px;
  }
  #podHead {
    left: 22px;
    top: 24px;
  }
  #podCard {
    right: 22px;
    bottom: 120px;
  }
  #podExit {
    right: 22px;
    top: 26px;
  }
  #podPrev {
    left: 22px;
  }
  #podNext {
    right: 22px;
  }
  .podArr {
    width: 40px;
    height: 40px;
  }
}

/* ------------------------- the entrance ------------------------- */
/* LOGO → DOOR → SPACE. The overlay is the wall; the doorway is a real
   hole in it, and the live room waits behind from the first frame. If
   the script never arrives, the wall quietly steps aside on its own. */
#launch {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  perspective: 1200px;
  perspective-origin: 50% 47%;
  overflow: hidden;
  animation: launchSafety 0.6s 12s forwards;
}
@keyframes launchSafety {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
.lScene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: 50% 47%;
  will-change: transform;
}
.lScene > * {
  position: absolute;
}
.lWall {
  inset: 0;
  width: 100%;
  height: 100%;
}
.lIn {
  transform: translateZ(-30px);
  background: linear-gradient(180deg, #ffffff, #f3f2ef);
}
.lInShade {
  transform: translateZ(-29px);
  background: linear-gradient(180deg, rgba(26, 33, 64, 0.22), rgba(26, 33, 64, 0) 58%);
  opacity: 0;
}
.lJamb {
  overflow: visible;
  filter: drop-shadow(0 2px 10px rgba(20, 24, 44, 0.12));
}
.lWord {
  transform: translateX(-50%);
  font-weight: 800;
  letter-spacing: 0.34em;
  color: var(--blue);
  white-space: nowrap;
}
.lWord i {
  font-style: normal;
  color: var(--red);
}
/* while the wall stands, the room keeps its voice down */
body.launch .ui.i,
body.launch .bar,
body.launch #proj {
  opacity: 0 !important;
  transition: none;
}
body.launch #logo {
  pointer-events: none;
}
/* the wordmark is also the way back in */
#logo {
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  #launch * {
    transition: none !important;
  }
}
/* no WebGL: the room cannot render, but the door still opens onto a
   usable paper space — films, archive and shop all keep working */
body.flat canvas#gl {
  display: none;
}
