/* Branko Čeak — the page is a studio. The photographs are the set. */

@property --amb {
  syntax: "<color>";
  inherits: true;
  initial-value: #100e0c;
}
@property --gel {
  syntax: "<color>";
  inherits: true;
  initial-value: #e0a15a;
}
@property --rim {
  syntax: "<color>";
  inherits: true;
  initial-value: #d5deea;
}

:root {
  --amb: #100e0c;
  --gel: #e0a15a;
  --rim: #d5deea;
  --ink: #f4efe6;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --aim-x: 50vw;
  --aim-y: 40vh;
  --soft-scale: 0.86;
  --soft-cone: 0.42;
}

* { box-sizing: border-box; }

html {
  background: var(--amb);
  scroll-behavior: smooth;
  transition: --amb 1.7s ease, --gel 1.7s ease, --rim 1.7s ease;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 48% at 50% -10%, color-mix(in srgb, var(--gel) 18%, transparent), transparent 58%),
    radial-gradient(ellipse 42% 36% at 100% 100%, color-mix(in srgb, var(--rim) 12%, transparent), transparent 70%),
    var(--amb);
  font-family: "Bodoni Moda", "Times New Roman", serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-lb,
body.is-chamber { overflow: hidden; }

::selection {
  background: color-mix(in srgb, var(--gel) 65%, #000);
  color: #fff;
}

:focus-visible {
  outline: 1px solid var(--gel);
  outline-offset: 4px;
}

img { max-width: 100%; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 40;
  background: var(--ink);
  color: #111;
  padding: 8px 12px;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 12px;
}
.skip:focus { top: 12px; }

/* ---------- rig ---------- */

.rig { pointer-events: none; }

.truss {
  position: fixed;
  z-index: 6;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  background:
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(255, 255, 255, 0.055) 52px 53px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(255, 255, 255, 0.04) 24px 25px);
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
}

.softbox {
  position: fixed;
  z-index: 7;
  top: 0;
  left: 50%;
  width: min(360px, 40vw);
  height: 200px;
  transform: translateX(-50%) scale(var(--soft-scale));
  transform-origin: top center;
  transition: transform 1.15s var(--ease);
}
html.is-deep {
  --soft-scale: 0.7;
  --soft-cone: 0.28;
}
html.is-chamber {
  --soft-scale: 1.02;
  --soft-cone: 0.62;
}

.softbox__yoke {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 0;
  width: 9px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 1px;
  background: linear-gradient(90deg, #141414 0%, #9a9a9a 42%, #3a3a3a 62%, #111 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.softbox__yoke::before,
.softbox__yoke::after {
  content: "";
  position: absolute;
  top: 26px;
  width: 34px;
  height: 5px;
  border-radius: 1px;
  background: linear-gradient(#6a6a6a, #1a1a1a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.softbox__yoke::before { right: 6px; transform: rotate(16deg); transform-origin: left center; }
.softbox__yoke::after { left: 6px; transform: rotate(-16deg); transform-origin: right center; }

.softbox__shell {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 32px;
  width: 204px;
  height: 98px;
  transform: translateX(-50%) perspective(460px) rotateX(24deg) rotateY(var(--lean, 0deg));
  transition: transform 1.15s var(--ease);
  background: linear-gradient(180deg, #3c3c3c 0%, #161616 22%, #070707 100%);
  clip-path: polygon(7% 0, 93% 0, 100% 16%, 100% 84%, 93% 100%, 7% 100%, 0 84%, 0 16%);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -10px 18px rgba(0, 0, 0, 0.72);
}
.softbox__shell::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: #040404;
  clip-path: polygon(6% 0, 94% 0, 100% 14%, 100% 86%, 94% 100%, 6% 100%, 0 86%, 0 14%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.softbox__face {
  position: absolute;
  inset: 16px 18px 18px;
  overflow: hidden;
  clip-path: polygon(5% 0, 95% 0, 100% 12%, 100% 88%, 95% 100%, 5% 100%, 0 88%, 0 12%);
  background:
    radial-gradient(ellipse at 50% 44%, #fff 0%, #fff 10%, #fff6ea 26%, var(--gel) 58%, #120e0a 100%),
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(0, 0, 0, 0.16) 20px 21px),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(0, 0, 0, 0.14) 14px 15px);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.55),
    0 0 26px color-mix(in srgb, var(--gel) 80%, transparent);
}
.softbox__core {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 42%;
  height: 34%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0%, #fff 28%, rgba(255, 255, 255, 0.15) 68%, transparent 72%);
  filter: blur(0.6px);
}
html.is-live .softbox__core { animation: core 4.4s ease-in-out infinite; }
@keyframes core {
  0%, 100% { opacity: 0.72; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

.barn {
  position: absolute;
  z-index: 2;
  background: linear-gradient(180deg, #4a4a4a 0%, #1c1c1c 38%, #0a0a0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 10px 16px rgba(0, 0, 0, 0.4);
}
.barn--l,
.barn--r {
  top: 46px;
  width: 40px;
  height: 76px;
  transition: transform 1.25s var(--ease);
}
.barn--l {
  left: calc(50% - 152px);
  transform-origin: right center;
  transform: perspective(320px) rotateY(62deg);
}
.barn--r {
  right: calc(50% - 152px);
  transform-origin: left center;
  transform: perspective(320px) rotateY(-62deg);
}
html.is-chamber .barn--l { transform: perspective(320px) rotateY(22deg); }
html.is-chamber .barn--r { transform: perspective(320px) rotateY(-22deg); }
.barn--t {
  left: 50%;
  top: 14px;
  width: 148px;
  height: 16px;
  transform: translateX(-50%) perspective(280px) rotateX(68deg);
  transform-origin: center bottom;
  transition: transform 1.25s var(--ease);
}
html.is-chamber .barn--t {
  transform: translateX(-50%) perspective(280px) rotateX(38deg);
}

.softbox__cone {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 112px;
  width: min(68vw, 820px);
  height: 38vh;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--gel) 34%, transparent), transparent 78%);
  clip-path: polygon(47% 0, 53% 0, 92% 100%, 8% 100%);
  filter: blur(14px);
  opacity: var(--soft-cone);
  pointer-events: none;
  transition: width 1.2s var(--ease), height 1.2s var(--ease), opacity 1.2s var(--ease);
}
html.is-chamber .softbox__cone {
  width: min(96vw, 1280px);
  height: 88vh;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
}

.tube {
  position: fixed;
  z-index: 7;
  top: 7vh;
  bottom: 8vh;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #fff 10%, #fff 88%, transparent);
  box-shadow:
    0 0 6px #fff,
    0 0 16px var(--gel),
    0 0 48px color-mix(in srgb, var(--gel) 75%, transparent);
}
.tube--l { left: 10px; }
.tube--r { right: 10px; }
.tube--l2 {
  left: 24px;
  top: auto;
  bottom: 7vh;
  height: 24vh;
  opacity: 0.55;
}
.tube--r2 {
  right: 28px;
  top: 24vh;
  bottom: auto;
  height: 30vh;
  opacity: 0.5;
}

.bar {
  position: fixed;
  z-index: 6;
  top: 104px;
  left: 50%;
  width: min(36vw, 480px);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #fff 15%, #fff 85%, transparent);
  box-shadow: 0 0 10px #fff, 0 0 32px var(--gel);
  transition: width 1.15s var(--ease), opacity 1.15s ease;
}
.bar--ghost {
  top: 114px;
  width: min(20vw, 280px);
  height: 1px;
  opacity: 0.4;
}
html.is-deep .bar { width: min(28vw, 360px); opacity: 0.72; }
html.is-chamber .bar { width: min(52vw, 720px); opacity: 1; }

.spar {
  position: fixed;
  z-index: 6;
  height: 2px;
  width: 72px;
  background: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
  box-shadow: 0 0 8px #fff, 0 0 18px var(--gel);
  pointer-events: none;
}
.spar--a { left: 18px; top: 16vh; width: 54px; }
.spar--b { right: 22px; top: 34vh; width: 88px; }
.spar--c { right: 18px; top: 63vh; width: 46px; }
.spar--d { left: 16px; bottom: 14vh; top: auto; width: 64px; }

.track {
  position: fixed;
  z-index: 4;
  left: 0;
  top: 0;
  height: 2px;
  width: 40px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent);
  box-shadow: 0 0 8px #fff, 0 0 24px var(--gel);
  transition: opacity 0.7s ease;
}
html.is-deep .track { opacity: 0.85; }

.spot {
  position: fixed;
  z-index: 7;
  top: 46px;
  right: 12vw;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--gel) 55%, transparent 72%);
  box-shadow: 0 0 18px #fff, 0 0 40px var(--gel);
}

.cyc {
  position: fixed;
  z-index: 0;
  left: -18vw;
  right: -18vw;
  bottom: -30vh;
  height: 54vh;
  transform: perspective(680px) rotateX(68deg);
  transform-origin: center top;
  opacity: 0.95;
  transition: opacity 1.15s ease;
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--gel) 45%, transparent), transparent 64%),
    repeating-linear-gradient(90deg, transparent 0 92px, rgba(255, 255, 255, 0.035) 92px 93px);
}
html.is-deep .cyc {
  animation: none;
  opacity: 0;
}

.wave {
  position: fixed;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: linear-gradient(100deg, transparent 32%, color-mix(in srgb, var(--gel) 45%, #fff) 50%, transparent 68%);
  transform: translateX(-70%);
}

.aim {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 78vw;
  height: 68vh;
  transform: translate(calc(var(--aim-x) - 39vw), calc(var(--aim-y) - 28vh));
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--gel) 22%, transparent), transparent 70%);
  transition: transform 1.5s var(--ease);
  pointer-events: none;
}

.mote {
  position: fixed;
  z-index: 6;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  filter: blur(0.3px);
}
html.is-live .mote { animation: mote 11s linear infinite; }
@keyframes mote {
  0% { opacity: 0; transform: translateY(0); }
  12% { opacity: 0.75; }
  100% { opacity: 0; transform: translateY(62vh); }
}

.grain {
  position: fixed;
  z-index: 12;
  inset: -20%;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-size: 180px 180px;
}

.progress {
  position: fixed;
  z-index: 8;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
}
.progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top center;
  background: #fff;
  box-shadow: 0 0 10px var(--gel);
}

/* ignition — about seven seconds, same order, a third shorter */

html.is-arming .softbox { animation: strike 1.89s 0.25s both; }
html.is-arming .tube--l { animation: strike 1.61s 1.19s both; }
html.is-arming .tube--r { animation: strike 1.61s 1.82s both; }
html.is-arming .tube--l2 { animation: strike 1.4s 2.94s both; }
html.is-arming .tube--r2 { animation: strike 1.4s 3.5s both; }
html.is-arming .bar { animation: strike 1.47s 2.66s both; }
html.is-arming .bar--ghost { animation: strike 1.26s 3.22s both; }
html.is-arming .spar { animation: strike 1.05s both; }
html.is-arming .spar--a { animation-delay: 2.17s; }
html.is-arming .spar--b { animation-delay: 3.29s; }
html.is-arming .spar--c { animation-delay: 4.41s; }
html.is-arming .spar--d { animation-delay: 5.25s; }
html.is-arming .cyc { animation: strike 1.75s 3.5s both; }
html.is-arming .spot { animation: strike 1.05s 4.34s both; }
html.is-arming .barn--l { animation: barn-l 1.26s 0.74s both; }
html.is-arming .barn--r { animation: barn-r 1.26s 0.81s both; }
html.is-arming .barn--t { animation: barn-t 1.12s 0.91s both; }
html.is-live .tube,
html.is-live .spar,
html.is-live .bar { animation: filament 6.8s ease-in-out infinite; }
html.is-live .tube--r { animation-delay: -2.1s; }
html.is-live .tube--l2 { animation-delay: -3.4s; }
html.is-live .tube--r2 { animation-delay: -1.2s; }
html.is-live .spar--b { animation-delay: -1.8s; }
html.is-live .spar--c { animation-delay: -4s; }
html.is-live .bar--ghost { animation-delay: -2.6s; }
html.is-deep .cyc {
  animation: none !important;
  opacity: 0 !important;
}
html.is-arming .rail { opacity: 0; animation: fade 0.91s 5.74s forwards; }
html.is-arming .set .print { animation: rise 1.68s 3.78s both; }
html.is-arming .set__line,
html.is-arming .set__meta { animation: rise 1.26s 4.55s both; }
html.is-arming .wordmark__branko { animation: sweep-fast 1.05s 1.15s cubic-bezier(0.2, 0.75, 0.2, 1) forwards; }
html.is-arming .wordmark__ceak { animation: sweep-slow 2.85s 2.05s linear forwards; }

@keyframes strike {
  0% { opacity: 0; filter: brightness(0.15); }
  8% { opacity: 1; filter: brightness(1.85); }
  14% { opacity: 0.12; filter: brightness(0.35); }
  22% { opacity: 0.92; filter: brightness(1.35); }
  30% { opacity: 0.28; }
  46% { opacity: 1; filter: brightness(1.08); }
  100% { opacity: 1; filter: brightness(1); }
}
@keyframes barn-l {
  from { transform: perspective(320px) rotateY(8deg); }
  to { transform: perspective(320px) rotateY(62deg); }
}
@keyframes barn-r {
  from { transform: perspective(320px) rotateY(-8deg); }
  to { transform: perspective(320px) rotateY(-62deg); }
}
@keyframes barn-t {
  from { transform: translateX(-50%) perspective(280px) rotateX(8deg); }
  to { transform: translateX(-50%) perspective(280px) rotateX(68deg); }
}
@keyframes filament {
  0%, 100% { opacity: 0.62; filter: brightness(0.82); }
  50% { opacity: 1; filter: brightness(1.28); }
}
@keyframes glint {
  0% { opacity: 0; transform: translateX(-36%); }
  22% { opacity: 0.9; }
  100% { opacity: 0; transform: translateX(36%); }
}
@keyframes sweep {
  0% { opacity: 0; transform: translateX(-75%); }
  18% { opacity: 0.5; }
  100% { opacity: 0; transform: translateX(75%); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes sweep-fast {
  0% { background-position: 130% 0; }
  100% {
    background-position: 0% 0;
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
  }
}
@keyframes sweep-slow {
  0% { background-position: 140% 0; }
  18% { background-position: 86% 0; }
  46% { background-position: 34% 0; }
  100% {
    background-position: 0% 0;
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
  }
}


/* ---------- rail ---------- */

.rail {
  position: fixed;
  z-index: 14;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  transform-style: preserve-3d;
  perspective: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  max-height: min(78vh, 640px);
  padding: 0.85rem 1rem 0.85rem 0.55rem;
  isolation: isolate;
}
.rail::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0.35rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  border-radius: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--gel) 55%, #fff) 18%,
    #fff 50%,
    color-mix(in srgb, var(--gel) 55%, #fff) 82%,
    transparent
  );
  box-shadow:
    0 0 10px color-mix(in srgb, var(--gel) 55%, transparent),
    0 0 28px color-mix(in srgb, var(--gel) 30%, transparent);
  opacity: 0.85;
  pointer-events: none;
}
.rail::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 42px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--amb) 55%, transparent), transparent 85%);
  opacity: 0.55;
  pointer-events: none;
}
.rail a {
  --prox: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(244, 239, 230, 0.72);
  text-decoration: none;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.48rem 0.75rem 0.48rem 0.55rem;
  min-height: 1.45rem;
  cursor: none;
  transform: translateZ(-18px) scale(0.88);
  transform-origin: left center;
  opacity: 0.82;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.55);
  transition:
    color 0.35s var(--ease),
    transform 0.4s var(--ease),
    opacity 0.35s var(--ease),
    font-size 0.35s var(--ease),
    gap 0.35s var(--ease);
}
.rail a span {
  max-width: 5.2rem;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0.88;
  transition: max-width 0.45s var(--ease), opacity 0.35s ease;
}
.rail a i {
  display: block;
  flex: 0 0 auto;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 0 0 8px color-mix(in srgb, var(--gel) 35%, transparent);
  transition: width 0.45s var(--ease), height 0.35s, box-shadow 0.45s ease, background 0.4s ease;
}
.rail a.is-on {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.22em;
  opacity: 1;
  transform: translateZ(36px) scale(1.18);
  gap: 0.75rem;
  z-index: 3;
  text-shadow:
    0 0 18px color-mix(in srgb, var(--gel) 55%, transparent),
    0 0 36px color-mix(in srgb, var(--rim) 35%, transparent);
}
.rail a.is-on span { max-width: 7rem; opacity: 1; }
.rail a.is-on i {
  width: 28px;
  height: 3px;
  background: #fff;
  box-shadow:
    0 0 10px var(--gel),
    0 0 22px color-mix(in srgb, var(--gel) 55%, transparent),
    0 0 40px color-mix(in srgb, var(--rim) 35%, transparent);
}
.rail.is-aiming a:not(.is-on) {
  opacity: calc(0.55 + (var(--prox) * 0.42));
  color: rgba(255, 255, 255, calc(0.42 + (var(--prox) * 0.55)));
  transform:
    translateZ(calc(-18px + (var(--prox) * 42px)))
    scale(calc(0.86 + (var(--prox) * 0.26)));
  gap: calc(0.5rem + (var(--prox) * 0.22rem));
}
.rail.is-aiming a:not(.is-on) span {
  max-width: calc(4.2rem + (var(--prox) * 3.2rem));
  opacity: calc(0.4 + (var(--prox) * 0.6));
}
.rail.is-aiming a:not(.is-on) i {
  width: calc(6px + (var(--prox) * 16px));
  background: currentColor;
  box-shadow: 0 0 calc(var(--prox) * 12px) rgba(255, 255, 255, calc(var(--prox) * 0.55));
}
.rail.is-aiming a.is-on {
  opacity: 1;
  color: #fff;
  transform: translateZ(40px) scale(1.2);
}
.rail.is-aiming a.is-on span { max-width: 7.5rem; opacity: 1; }
.rail a:focus-visible {
  color: #fff;
  opacity: 1;
  outline: none;
  transform: translateZ(30px) scale(1.14);
}
.rail a:focus-visible span { max-width: 7.5rem; opacity: 1; }
.rail a:focus-visible i {
  width: 22px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

/* ---------- opening ---------- */

.set {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.78fr);
  gap: 4vw;
  align-items: end;
  padding: 20vh 7vw 12vh max(8vw, 118px);
}
.wordmark {
  position: relative;
  margin: 0;
  font-weight: 500;
  font-size: clamp(4.6rem, 10.4vw, 9.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.wordmark__line { display: block; color: var(--ink); }
html.is-arming .wordmark__line {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    100deg,
    #f4efe6 0%,
    #f4efe6 34%,
    #fff 46%,
    #fff8ee 50%,
    transparent 62%,
    transparent 100%
  );
  background-size: 320% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
}
.wordmark em {
  display: block;
  margin-top: 0.1em;
  padding-top: 0.1em;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  padding-left: 0.16em;
}
.set__line {
  margin: 1.3rem 0 0;
  max-width: 16ch;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1.15;
  color: rgba(244, 239, 230, 0.9);
}
.set__meta {
  margin: 1rem 0 0;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 70%, var(--gel));
}
.set .print {
  width: min(36vw, 480px);
  margin: 0 0 0 auto;
}

/* ---------- chapters ---------- */

.chapter {
  position: relative;
  z-index: 3;
  padding: 16vh 0 6vh;
}
.chapter__head {
  max-width: 22em;
  margin: 0 0 7vh max(8vw, 120px);
  padding-right: 6vw;
  cursor: none;
}
.chapter__head[data-chamber] {
  position: relative;
}
.chapter__open {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: color-mix(in srgb, var(--ink) 72%, var(--gel));
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: none;
}
.chapter__open i {
  display: block;
  width: 28px;
  height: 1px;
  background: #fff;
  box-shadow: 0 0 10px var(--gel);
  transition: width 0.8s var(--ease);
}
.chapter__head:hover .chapter__open i,
.chapter__head:focus-within .chapter__open i {
  width: 52px;
}
.chapter__open span {
  transition: color 0.5s ease;
}
.chapter__head:hover .chapter__open span {
  color: #fff;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gel);
}
.kicker i {
  display: block;
  width: 0;
  height: 2px;
  background: #fff;
  box-shadow: 0 0 10px var(--gel);
  transition: width 1.1s var(--ease);
}
.chapter.is-on .kicker i { width: 58px; }
.chapter h2 {
  margin: 0.7rem 0 0;
  max-width: 16ch;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.85rem, 3.5vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.tags {
  margin: 1.15rem 0 0;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 62%, var(--gel));
}

/* ---------- prints ---------- */

.print {
  position: relative;
  width: min(74vw, 1080px);
  margin: 10vh auto;
}
.print--stage {
  width: min(90vw, 1380px);
  margin: 8vh auto 12vh;
}
.print--left {
  width: min(66vw, 980px);
  margin: 10vh auto 10vh max(7vw, 112px);
}
.print--right {
  width: min(62vw, 920px);
  margin: 10vh 8vw 10vh auto;
}
.print--strip {
  width: min(94vw, 1500px);
  margin: 8vh auto;
}
.print--well {
  width: min(40vw, 520px);
  margin: 10vh auto;
}
.pair {
  width: min(88vw, 1180px);
  margin: 14vh auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: end;
}
.pair .print {
  width: 100%;
  margin: 0;
}

.print__bleed {
  position: absolute;
  z-index: 0;
  left: -20%;
  right: -20%;
  top: -12%;
  bottom: -14%;
  background-position: center;
  background-size: cover;
  filter: blur(46px) saturate(1.35) brightness(0.95);
  opacity: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 48%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 48%, #000 10%, transparent 72%);
  transition: opacity 1.2s ease;
}
.print.is-near .print__bleed {
  background-image: var(--bleed);
  opacity: 0.92;
}
.print.is-hot .print__bleed { opacity: 1; }

.print__open {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: none;
}
.print__open img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 68%, rgba(0, 0, 0, 0.55) 86%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 68%, rgba(0, 0, 0, 0.55) 86%, transparent 100%);
  transition: transform 1.8s var(--ease);
}
.print--strip .print__open img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.print.is-hot .print__open img { transform: scale(1.02); }
.print__open::after {
  content: "";
  position: absolute;
  inset: 6% 4%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: linear-gradient(102deg, transparent 36%, rgba(255, 255, 255, 0.34) 50%, transparent 64%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 60%, transparent 100%);
}
.print.is-hot .print__open::after { animation: glint 3.4s var(--ease); }

.practical {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: #fff;
  opacity: 0;
  box-shadow:
    0 0 6px #fff,
    0 0 18px var(--gel),
    0 0 46px color-mix(in srgb, var(--gel) 60%, transparent);
}
.print--left .practical,
.print--stage .practical,
.print--well .practical {
  right: -26px;
  top: 12%;
  width: 2px;
  height: 52%;
  transform: scaleY(0.12);
  transform-origin: top center;
}
.print--right .practical {
  left: -26px;
  top: 14%;
  width: 2px;
  height: 48%;
  transform: scaleY(0.12);
  transform-origin: top center;
}
.print--strip .practical {
  left: 8%;
  right: 8%;
  top: -18px;
  width: auto;
  height: 2px;
  transform: scaleX(0.08);
  transform-origin: left center;
}
.print.is-hot .practical {
  opacity: 0.95;
  transform: scale(1);
  transition: opacity 0.7s ease, transform 1.15s var(--ease);
}

.print figcaption {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: baseline;
  margin: -0.4rem 0 0;
  padding-left: 2%;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 78%, var(--gel));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}
.print.is-hot figcaption,
.print:focus-within figcaption,
.print:hover figcaption {
  opacity: 1;
  transform: none;
}
.print figcaption b {
  font-weight: 400;
  color: rgba(244, 239, 230, 0.45);
}

html.js .chapter .print {
  opacity: 0;
  transform: translateY(26px);
}
html.js .chapter .print.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 1.25s ease, transform 1.35s var(--ease);
}

/* ---------- call sheet ---------- */

.call {
  margin-left: max(16vw, 220px);
  padding-right: 8vw;
  max-width: 860px;
}
.call__aside {
  margin: 0;
  max-width: 28ch;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.3;
  color: rgba(244, 239, 230, 0.78);
}
.call__label {
  margin: 2.2rem 0 0.15rem;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gel);
}
.call a.big {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-style: italic;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  border-bottom: 1px solid transparent;
}
.call a.big:hover {
  color: #fff;
  text-shadow: 0 0 18px var(--gel);
  border-bottom-color: color-mix(in srgb, var(--gel) 70%, transparent);
}
.call__note {
  margin: 3rem 0 0;
  max-width: 28ch;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.3;
}
.credits-lead {
  margin: 8vh 0 1rem;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
}
.credits {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 2.5rem;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(244, 239, 230, 0.78);
}
.credits span {
  display: block;
  color: rgba(244, 239, 230, 0.42);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.whisper {
  margin: 7vh 0 10vh;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.38);
}

/* ---------- lightbox ---------- */

.lb {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background:
    radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--lb-gel, var(--gel)) 20%, transparent), transparent 62%),
    color-mix(in srgb, var(--lb-amb, var(--amb)) 82%, #000);
}
.lb[hidden] { display: none; }
.lb__hit {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: none;
}
.lb__fig {
  position: relative;
  z-index: 1;
  margin: 0;
  justify-self: center;
  max-width: min(92vw, 1500px);
  pointer-events: none;
}
.lb__fig img {
  display: block;
  max-width: min(92vw, 1500px);
  max-height: 82vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 86%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 86%, transparent 100%);
}
.lb__fig figcaption {
  margin-top: 0.8rem;
  text-align: center;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 80%, var(--lb-gel, var(--gel)));
}
.lb__nav, .lb__x {
  position: relative;
  z-index: 2;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: "Fragment Mono", ui-monospace, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 10px;
  cursor: none;
}
.lb__nav {
  width: 72px;
  height: 100%;
}
.lb__nav i {
  display: block;
  width: 36px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 10px var(--lb-gel, var(--gel));
}
.lb__x {
  position: absolute;
  top: 22px;
  right: 28px;
}
.lb__x i {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  box-shadow: 0 0 8px var(--lb-gel, var(--gel));
  transform: rotate(45deg);
}
.lb__x i + i {
  margin-top: -2px;
  transform: rotate(-45deg);
}

/* ---------- cursor ---------- */

@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button {
    cursor: none;
  }
}
.cursor, .cursor__gel {
  position: fixed;
  z-index: 40;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
}
html.has-cursor .cursor,
html.has-cursor .cursor__gel { opacity: 1; }
.cursor {
  width: 7px;
  height: 7px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
}
.cursor__gel {
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gel) 32%, transparent), transparent 68%);
}

/* ---------- story beats ---------- */

.beat {
  position: relative;
  z-index: 3;
  max-width: 14em;
  margin: 14vh 8vw 10vh max(14vw, 180px);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  cursor: none;
}
.beat[data-chamber] {
  transition: transform 0.9s var(--ease);
}
.beat[data-chamber]:hover {
  transform: translateX(6px);
}
.beat i {
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 0.9rem;
  background: #fff;
  box-shadow: 0 0 12px var(--gel);
  transition: width 0.8s var(--ease);
}
.beat[data-chamber]:hover i { width: 68px; }
.beat__open {
  display: block;
  margin-top: 0.85rem;
  padding: 0;
  border: 0;
  background: none;
  color: color-mix(in srgb, var(--ink) 55%, var(--gel));
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: none;
  opacity: 0.75;
  transition: opacity 0.5s ease, color 0.5s ease;
}
.beat[data-chamber]:hover .beat__open {
  opacity: 1;
  color: #fff;
}

/* ---------- commission ---------- */

.offer {
  list-style: none;
  margin: 4vh 0 8vh;
  padding: 0 8vw 0 max(10vw, 140px);
  display: grid;
  gap: 0;
}
.offer li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  max-width: 720px;
  padding: 1.35rem 0;
  border-top: 1px solid color-mix(in srgb, var(--gel) 35%, transparent);
}
.offer li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--gel) 35%, transparent); }
.offer span {
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gel);
}
.offer p {
  margin: 0;
  font-style: italic;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.12;
}

/* ---------- team ---------- */

.crew-grid {
  list-style: none;
  margin: 2vh 6vw 10vh max(8vw, 120px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 7vh 4vw;
}
.crew-grid li { text-align: left; }
.crew-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 180px);
  aspect-ratio: 3 / 4;
  margin-bottom: 1rem;
  border: 1px solid color-mix(in srgb, var(--gel) 28%, rgba(255, 255, 255, 0.18));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--amb) 70%, #000), color-mix(in srgb, var(--amb) 92%, #000));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 24px color-mix(in srgb, var(--gel) 12%, transparent);
}
.crew-frame__oval {
  display: block;
  width: 62%;
  aspect-ratio: 3 / 4;
  border: 1px dashed color-mix(in srgb, var(--ink) 28%, var(--gel));
  border-radius: 50% / 42%;
  opacity: 0.7;
  box-shadow: inset 0 0 28px color-mix(in srgb, var(--gel) 12%, transparent);
}
.crew-frame__tag {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%);
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 48%, var(--gel));
  white-space: nowrap;
}
.crew-grid strong {
  display: block;
  font-weight: 500;
  font-style: italic;
  font-size: 1.35rem;
}
.crew-grid em {
  display: block;
  margin-top: 0.25rem;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 60%, var(--gel));
}

/* ---------- the note ---------- */

.call__direct {
  margin: 0 0 5vh;
  max-width: 760px;
}
.note {
  position: relative;
  margin: 2vh 0 4vh;
  max-width: 760px;
  padding: 2.4rem 0 0;
  border-top: 1px solid color-mix(in srgb, var(--gel) 28%, transparent);
}
.note__eyebrow {
  margin: 0 0 0.85rem;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gel);
}
.note__ask {
  margin: 0;
  max-width: 14ch;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.note__hint {
  margin: 0.85rem 0 0;
  max-width: 36ch;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.55;
  color: color-mix(in srgb, var(--ink) 55%, var(--gel));
}
.note__picked {
  min-height: 1.2em;
  margin: 0.85rem 0 0;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 70%, var(--gel));
}
.note__fields { margin-top: 0.4rem; }
.lamps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.6rem 0 0.4rem;
  padding: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--gel) 28%, transparent);
  background: color-mix(in srgb, var(--amb) 55%, rgba(0, 0, 0, 0.35));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.lamps::before { display: none; }
.note__choose {
  margin: 1.6rem 0 0;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gel);
}
.lamp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 118px;
  padding: 0.95rem 0.85rem 0.85rem;
  cursor: none;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 2px;
  background: color-mix(in srgb, var(--amb) 70%, transparent);
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}
.lamp:hover {
  border-color: color-mix(in srgb, var(--gel) 45%, transparent);
  background: color-mix(in srgb, var(--gel) 8%, transparent);
}
.lamp input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: none;
  margin: 0;
}
.lamp__tube {
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 1px;
  margin-bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  transform-origin: left center;
  transition: width 0.7s var(--ease), box-shadow 0.7s ease, background 0.7s ease;
  pointer-events: none;
}
.lamp__name {
  margin-top: 0;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.62);
  transition: color 0.5s ease;
  pointer-events: none;
}
.lamp__sub {
  margin-top: 0.4rem;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-align: left;
  line-height: 1.35;
  color: rgba(244, 239, 230, 0.38);
  pointer-events: none;
  transition: color 0.5s ease;
}
.lamp:hover .lamp__tube {
  width: 58px;
  background: linear-gradient(90deg, #fff, color-mix(in srgb, var(--gel) 60%, #fff));
  box-shadow: 0 0 10px color-mix(in srgb, var(--gel) 70%, transparent);
}
.lamp input:checked + .lamp__tube {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, #fff 0%, var(--gel) 100%);
  box-shadow:
    0 0 6px #fff,
    0 0 18px var(--gel),
    0 0 36px var(--gel);
}
.lamp input:checked ~ .lamp__name { color: #fff; }
.lamp input:checked ~ .lamp__sub { color: color-mix(in srgb, var(--ink) 70%, var(--gel)); }
.lamp input:focus-visible + .lamp__tube { outline: 1px solid var(--gel); outline-offset: 6px; }
.lamp:has(input:checked) {
  border-color: color-mix(in srgb, var(--gel) 65%, transparent);
  background: color-mix(in srgb, var(--gel) 14%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--gel) 18%, transparent);
}
.line {
  position: relative;
  display: block;
  max-width: 40rem;
  margin: 2.8rem 0 0;
  padding-top: 0.4rem;
}
.line::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -12%;
  right: 8%;
  top: -10%;
  bottom: -20%;
  background: radial-gradient(ellipse at 12% 80%, color-mix(in srgb, var(--gel) 32%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.line:focus-within::before { opacity: 1; }
.line > span {
  position: relative;
  z-index: 1;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gel);
}
.line input,
.line textarea {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0.15rem 0 0;
  padding: 0 0 0.55rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  resize: none;
  outline: none;
}
.line textarea { min-height: 4.8rem; }
.line input::placeholder,
.line textarea::placeholder {
  color: color-mix(in srgb, var(--ink) 30%, transparent);
  opacity: 1;
  font-style: italic;
}
.line i {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 14%;
  height: 2px;
  background: #fff;
  opacity: 0.28;
  box-shadow: 0 0 12px var(--gel);
  transition: width 1s var(--ease), opacity 0.6s ease;
}
.line:focus-within i,
.line:hover i {
  width: min(100%, 36rem);
  opacity: 1;
}
.note__hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.strike {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.6rem;
  padding: 0.95rem 0 0.85rem;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--gel) 55%, transparent);
  background: none;
  color: #fff;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: none;
  transition: border-color 0.4s ease, color 0.4s ease;
}
.strike__face {
  display: block;
  width: 36px;
  height: 1px;
  background: #fff;
  box-shadow: 0 0 10px var(--gel);
  clip-path: none;
  transition: width 0.7s var(--ease);
}
.strike:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.strike:hover .strike__face,
.note.is-sent .strike__face {
  width: 58px;
  transform: none;
  filter: none;
}
.strike:disabled {
  opacity: 0.55;
}
.note__status {
  min-height: 1.4em;
  margin: 1rem 0 0;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 72%, var(--gel));
}
.rimlight {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 42vw;
  height: 48vh;
  pointer-events: none;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--rim) 18%, transparent), transparent 70%);
  transform: translate(calc(100vw - var(--aim-x) - 21vw), calc(var(--aim-y) - 8vh));
  transition: transform 1.8s var(--ease);
}
.spar,
.tube--l2,
.tube--r2 {
  transform: translateY(calc(var(--drift, 0px) * -0.25));
}

/* ---------- chamber (in-page expand) ---------- */

.chamber {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 8vh 6vw 6vh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.85s var(--ease), visibility 0.85s;
}
.chamber.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.chamber__hit {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 8%, color-mix(in srgb, var(--gel) 28%, transparent), transparent 58%),
    color-mix(in srgb, var(--amb) 88%, #000);
  cursor: none;
}
.chamber__stage {
  position: relative;
  z-index: 1;
  width: min(1240px, 96vw);
  max-height: min(92vh, 1100px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2.8rem) 3rem;
  text-align: center;
  transform: translateY(28px) scale(0.96);
  opacity: 0;
  filter: blur(8px);
  transition:
    transform 1.05s var(--ease) 0.08s,
    opacity 0.9s var(--ease) 0.08s,
    filter 1s var(--ease) 0.08s;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--gel) 45%, transparent) transparent;
}
.chamber.is-open .chamber__stage {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
}
.chamber__x {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: none;
}
.chamber__x i {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 1px;
  background: #fff;
  box-shadow: 0 0 8px var(--gel);
}
.chamber__x i:first-child { transform: rotate(45deg); }
.chamber__x i:last-child { transform: rotate(-45deg); }
.chamber__kicker {
  margin: 0 auto 0.8rem;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gel);
}
.chamber__title {
  margin: 0 auto;
  max-width: 14ch;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.chamber__line {
  margin: 1.4rem auto 0;
  max-width: 28ch;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.25;
  color: color-mix(in srgb, var(--ink) 82%, var(--gel));
}
.chamber__constellation {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 1.1fr;
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: end;
  margin: 3rem auto 0;
  max-width: min(1180px, 96%);
  min-height: 280px;
  width: 100%;
}
.chamber__gallery {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: center;
  margin: 3rem auto 0;
  max-width: min(1100px, 94%);
  width: 100%;
}
.chamber__print {
  position: relative;
  margin: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition:
    opacity 0.9s var(--ease),
    transform 1.1s var(--ease);
}
.chamber.is-open .chamber__print {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.chamber.is-open .chamber__constellation .chamber__print:nth-child(1) { transition-delay: 0.18s; }
.chamber.is-open .chamber__constellation .chamber__print:nth-child(2) { transition-delay: 0.3s; }
.chamber.is-open .chamber__constellation .chamber__print:nth-child(3) { transition-delay: 0.42s; }
.chamber.is-open .chamber__gallery .chamber__print:nth-child(1) { transition-delay: 0.55s; }
.chamber.is-open .chamber__gallery .chamber__print:nth-child(2) { transition-delay: 0.68s; }
.chamber__constellation .chamber__print:nth-child(2) { transform: translateY(-18px) scale(0.94); }
.chamber.is-open .chamber__constellation .chamber__print:nth-child(2) { transform: translateY(-12px) scale(1); }
.chamber__print img {
  display: block;
  width: 100%;
  height: clamp(320px, 48vh, 620px);
  object-fit: cover;
  object-position: center 42%;
  -webkit-mask-image: radial-gradient(ellipse 54% 56% at 50% 48%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 54% 56% at 50% 48%, #000 60%, transparent 100%);
}
.chamber__print::before {
  content: "";
  position: absolute;
  inset: -18% -14%;
  z-index: -1;
  background: var(--bleed) center / cover;
  filter: blur(28px) saturate(1.3);
  opacity: 0.75;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}
.chamber__print figcaption {
  position: relative;
  z-index: 2;
  margin: 0.7rem 0 0;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 70%, var(--gel));
  text-align: left;
  opacity: 0.9;
}
.chamber__print figcaption b {
  margin-right: 0.55rem;
  color: var(--gel);
  font-weight: 400;
}
.chamber__copy {
  margin: 2.6rem auto 0;
  max-width: 38em;
  text-align: left;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease) 0.35s, transform 1s var(--ease) 0.35s;
}
.chamber.is-open .chamber__copy {
  opacity: 1;
  transform: translateY(0);
}
.chamber__copy p {
  margin: 0 0 1.15rem;
  font-style: italic;
  font-size: clamp(1.05rem, 1.85vw, 1.35rem);
  line-height: 1.45;
  color: color-mix(in srgb, var(--ink) 86%, var(--gel));
}
.chamber__copy p:last-child { margin-bottom: 0; }
.chamber__points {
  list-style: none;
  margin: 2.2rem auto 0;
  padding: 0;
  max-width: 34em;
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s var(--ease) 0.48s, transform 1s var(--ease) 0.48s;
}
.chamber.is-open .chamber__points {
  opacity: 1;
  transform: translateY(0);
}
.chamber__points li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-top: 1px solid color-mix(in srgb, var(--gel) 28%, transparent);
  font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.3;
}
.chamber__points li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--gel) 28%, transparent);
}
.chamber__points span {
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gel);
}
.chamber__close-line {
  margin: 2.4rem auto 0;
  max-width: 28ch;
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  color: #fff;
  opacity: 0;
  transition: opacity 0.8s ease 0.6s;
}
.chamber.is-open .chamber__close-line { opacity: 1; }
.chamber__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.8rem;
  padding: 0.85rem 0;
  color: #fff;
  text-decoration: none;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid color-mix(in srgb, var(--gel) 55%, transparent);
  cursor: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease) 0.65s, transform 0.9s var(--ease) 0.65s, border-color 0.4s ease;
}
.chamber.is-open .chamber__cta {
  opacity: 1;
  transform: translateY(0);
}
.chamber__cta::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: #fff;
  box-shadow: 0 0 10px var(--gel);
  transition: width 0.7s var(--ease);
}
.chamber__cta:hover::after { width: 58px; }
.chamber__whisper {
  margin: 1.1rem 0 0;
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 45%, var(--gel));
  opacity: 0;
  transition: opacity 0.8s ease 0.75s;
}
.chamber.is-open .chamber__whisper { opacity: 1; }

#page {
  transition: filter 0.9s var(--ease), opacity 0.9s var(--ease);
}
html.is-chamber #page {
  filter: blur(10px) brightness(0.45);
  opacity: 0.55;
  pointer-events: none;
}
html.is-chamber .rail {
  opacity: 0.25;
  pointer-events: none;
}

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  .tube { top: 72px; bottom: auto; height: 34vh; opacity: 0.65; }
  .tube--l2, .tube--r2, .spar, .track, .bar--ghost, .barn { display: none; }
  .softbox {
    top: 26px;
    width: 360px;
    height: 200px;
    --soft-scale: 0.42;
  }
  html.is-deep { --soft-scale: 0.34; }
  html.is-chamber { --soft-scale: 0.52; }
  .softbox__cone { height: 32vh; }
  .bar { width: 36vw; top: 88px; }
  .spot { right: 16px; top: 86px; }
  .truss { height: 46px; }
  .set {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
    padding: 18vh 6vw 6vh;
    gap: 4vh;
  }
  .set .print,
  .print, .print--stage, .print--left, .print--right, .print--well, .print--strip {
    width: 94vw;
    margin: 7vh auto;
  }
  .set .print { margin-top: 1vh; }
  .print__open {
    min-height: 78svh;
    min-height: 78vh;
  }
  .print__open img {
    width: 100%;
    height: 78svh;
    height: 78vh;
    object-fit: cover;
    object-position: center 40%;
  }
  .print--strip .print__open {
    min-height: 48svh;
    min-height: 48vh;
  }
  .print--strip .print__open img {
    height: 48svh;
    height: 48vh;
    object-position: center;
  }
  .print--well .print__open {
    min-height: 88svh;
    min-height: 88vh;
  }
  .print--well .print__open img {
    height: 88svh;
    height: 88vh;
    object-position: center top;
  }
  .pair { width: 94vw; grid-template-columns: 1fr; gap: 2vh; }
  .pair .print__open {
    min-height: 82svh;
    min-height: 82vh;
  }
  .pair .print__open img {
    height: 82svh;
    height: 82vh;
  }
  .chapter__head { margin-left: 6vw; padding-right: 6vw; }
  .call { margin-left: 6vw; padding-right: 6vw; }
  .wordmark { font-size: clamp(3.6rem, 20vw, 5.6rem); }
  .practical { display: none; }
  .progress { display: none; }
  .credits { grid-template-columns: 1fr; }
  .beat { margin-left: 8vw; margin-right: 8vw; }
  .offer { padding-left: 6vw; padding-right: 6vw; }
  .crew-grid { grid-template-columns: 1fr 1fr; margin-left: 6vw; }
  .crew-frame { width: 100%; }
  .lamps {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    padding: 0.65rem;
  }
  .lamp { min-height: 96px; cursor: pointer; padding: 0.8rem; }
  .lamp__tube { width: 28px; }
  .lamp input:checked + .lamp__tube { width: 52px; }
  .lamp__sub { font-size: 8px; }
  .strike, .lamp, .rail a { cursor: pointer; }
  .lb__nav { width: 44px; }
  .cursor, .cursor__gel { display: none; }
  .chamber { padding: 8vh 3vw 3vh; align-items: start; }
  .chamber__stage { max-height: 92vh; width: 96vw; text-align: left; }
  .chamber__title, .chamber__line, .chamber__close-line { text-align: left; }
  .chamber__constellation {
    grid-template-columns: 1fr;
    min-height: 0;
    max-width: 100%;
  }
  .chamber__constellation .chamber__print:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }
  .chamber__gallery { grid-template-columns: 1fr; max-width: 100%; }
  .chamber__print img { height: 58vh; }
  .chapter__open, .beat__open, .rail a { cursor: pointer; }
  .rail {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    transform: none;
    perspective: none;
    flex-direction: row;
    gap: 4px;
    max-height: none;
    padding: 12px 10px 26px;
    overflow-x: auto;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
  }
  .rail a {
    transform: none !important;
    opacity: 0.55;
    font-size: 9px;
    letter-spacing: 0.12em;
    flex: 0 0 auto;
    padding: 0.35rem 0.45rem;
  }
  .rail a.is-on {
    transform: none !important;
    font-size: 10px;
    opacity: 1;
  }
  .rail.is-aiming a:not(.is-on) { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .softbox,
  .softbox__cone,
  .barn--l,
  .barn--r,
  .barn--t,
  .bar,
  .chamber,
  .chamber__stage,
  .chamber__print,
  .chamber__cta,
  .chamber__whisper,
  #page {
    transition: none !important;
  }
  html.is-arming .softbox,
  html.is-arming .tube,
  html.is-arming .bar,
  html.is-arming .spot,
  html.is-arming .cyc,
  html.is-arming .wave,
  html.is-arming .barn--l,
  html.is-arming .barn--r,
  html.is-arming .set .print,
  html.is-arming .set__line,
  html.is-arming .set__meta,
  html.is-arming .wordmark,
  html.is-live .mote,
  .print.is-hot .print__open img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
  }
  html.is-arming .rail {
    animation: none !important;
    opacity: 1 !important;
  }
  html.is-arming .wave { opacity: 0 !important; }
  html.js .chapter .print {
    opacity: 1;
    transform: none;
  }
  .aim, .print figcaption, .kicker i, .print__bleed { transition: none; }
}
