/* Home: hero room, manifesto, cassette sampler, hallway, journal, story. */

/* ================= HERO ================= */
.hero { position: relative; }
.hero__pin {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--lacquer);
  isolation: isolate;
}
/* print grain over the whole room so the gradients never look airbrushed */
.hero__pin::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .1;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .3  0 0 0 0 .2  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.room { position: absolute; inset: 0; z-index: 0; }
.room > * { position: absolute; pointer-events: none; }
.room__sky {
  inset: 0;
  background:
    radial-gradient(42% 38% at 50% 40%, rgba(255, 214, 150, .9) 0%, rgba(255, 214, 150, 0) 70%),
    linear-gradient(180deg, #fffaf3 0%, #fff0df 34%, #ffdcb6 58%, #ffc890 66%, #fff1e2 66.3%, #fbe3cc 100%);
}
.room__strip {
  top: 8.5%;
  left: 14%;
  right: 14%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #fff4e6);
  box-shadow: 0 0 22px 6px rgba(255, 236, 205, .95), 0 24px 70px 18px rgba(255, 168, 80, .35);
}
.room__fins { top: 0; bottom: 0; width: 34%; perspective: 900px; }
.room__fins--l { left: 0; }
.room__fins--r { right: 0; }
.room__fins i {
  position: absolute;
  top: calc(12% + var(--k) * 4%);
  height: calc(56% - var(--k) * 8%);
  width: calc(36% - var(--k) * 7%);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 22%),
    linear-gradient(90deg, rgba(255, 108, 18, .92), rgba(255, 150, 62, .62) 42%, rgba(255, 120, 30, .85) 78%, rgba(226, 80, 12, .95));
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, .8), inset -1px 0 0 rgba(160, 50, 0, .35), 0 40px 90px -30px rgba(255, 110, 20, .7);
}
.room__fins--l i { left: calc(var(--k) * 30%); transform: rotateY(58deg); transform-origin: left center; }
.room__fins--r i { right: calc(var(--k) * 30%); transform: rotateY(-58deg); transform-origin: right center; }
.room__fins i:nth-child(1) { --k: 0; }
.room__fins i:nth-child(2) { --k: 1; opacity: .9; }
.room__fins i:nth-child(3) { --k: 2; opacity: .75; }
.room__floor {
  left: -30%;
  right: -30%;
  top: 66%;
  height: 80%;
  transform-origin: 50% 0;
  transform: perspective(600px) rotateX(64deg);
  background: linear-gradient(180deg, #fff2e3, #fffaf4 60%);
  overflow: hidden;
}
.room__floor::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  top: 0;
  height: 60%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255, 140, 40, .55), rgba(255, 140, 40, 0) 70%);
  mix-blend-mode: multiply;
}
.room__beam {
  inset: 0;
  mix-blend-mode: soft-light;
  background:
    linear-gradient(112deg, transparent 22%, rgba(255, 255, 255, .9) 30%, transparent 40%),
    linear-gradient(112deg, transparent 50%, rgba(255, 255, 255, .7) 55%, transparent 61%);
}

.hero__stage {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 40%;
  width: min(58svh, 78vw);
  aspect-ratio: 1;
  translate: -50% -50%;
}
.hero__disc { position: absolute; inset: 0; }
.hero__disc::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 110, .8) 0%, rgba(255, 150, 50, .32) 38%, rgba(255, 150, 50, 0) 66%);
  pointer-events: none;
}
.hero__sun { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Without WebGL the sun is drawn in CSS and simply turns. */
.hero__sun-css {
  position: absolute;
  inset: .75%;
  border-radius: 50%;
  background: linear-gradient(180deg,
    var(--sun-1) 0 19.2%, transparent 19.2% 20.4%,
    var(--sun-2) 20.4% 39.2%, transparent 39.2% 40.4%,
    var(--sun-3) 40.4% 59.2%, transparent 59.2% 60.4%,
    var(--sun-4) 60.4% 79.2%, transparent 79.2% 80.4%,
    var(--sun-5) 80.4% 100%);
}
.has-gl .hero__sun-css { display: none; }

.hud { position: absolute; inset: -16%; width: 132%; height: 132%; max-width: none; opacity: 0; overflow: visible; }
.hud circle, .hud path { fill: none; vector-effect: non-scaling-stroke; }
.hud__ring { transform-origin: 300px 300px; }
.hud__ring--a circle { stroke: rgba(226, 80, 12, .55); stroke-width: 1.5; stroke-dasharray: 2 10; }
.hud__ring--b circle { stroke: rgba(255, 255, 255, .95); stroke-width: 3; stroke-dasharray: 120 40 12 40; }
.hud__ring--c circle { stroke: rgba(226, 80, 12, .4); stroke-width: 1; }
.hud__ticks circle { stroke: rgba(200, 53, 42, .5); stroke-width: 10; stroke-dasharray: 1.2 8; }
.hud__arc { stroke: #fff; stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 170, 80, .9)); }
.hud__arc--2 { stroke: var(--acrylic); stroke-width: 3; }

.arm {
  position: absolute;
  z-index: 2;
  right: -21%;
  top: -10%;
  width: 17%;
  height: auto;
  transform-origin: 58% 9.5%;
  transform: rotate(-42deg);
  opacity: 0;
  filter: drop-shadow(-10px 18px 18px rgba(120, 40, 0, .25));
}

.hero__temple {
  position: absolute;
  z-index: 3;
  left: 4%;
  top: 27%;
  width: 92%;
  filter: drop-shadow(0 30px 30px rgba(120, 45, 10, .28));
}
.pyr { width: 100%; height: auto; overflow: visible; }
.pyr__rungs rect { fill: #d3d4bd; }
.pyr__door { transition: filter .6s; }

.hero__copy {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: max(3svh, 18px);
  text-align: center;
  pointer-events: none;
}
.hero__title { display: grid; justify-items: center; }
.hero__word {
  display: block;
  font-size: min(11.6vw, 15.5svh);
  font-weight: 900;
  line-height: .84;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: -.005em;
  font-variation-settings: "wdth" 64;
  color: var(--sun-5);
  background: linear-gradient(180deg, #ee5a2c 0%, #cf3a29 48%, #a92619 52%, #c8352a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .7)) drop-shadow(0 14px 20px rgba(160, 40, 10, .25));
}
.hero__word .char { display: inline-block; -webkit-text-fill-color: transparent; background: inherit; -webkit-background-clip: text; background-clip: text; }
.hero__script {
  display: block;
  margin-top: -.42em;
  margin-left: 42%;
  font-family: var(--f-script);
  font-size: min(6.4vw, 8.4svh);
  line-height: 1;
  color: var(--script);
  transform: rotate(-7deg);
  text-shadow: 0 2px 0 #fff, 0 10px 18px rgba(160, 90, 10, .3);
}
.hero__lede {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  top: 31%;
  max-width: 230px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.hero__lede span { display: block; margin-top: 10px; font-weight: 700; color: var(--acrylic-deep); }

.hero__readouts .ro {
  position: absolute;
  z-index: 5;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 125;
  color: var(--ink-2);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 244, .55);
  box-shadow: inset 0 0 0 1px rgba(217, 72, 15, .22);
  backdrop-filter: blur(6px);
}
.hero__readouts b { color: var(--acrylic-deep); font-weight: 900; font-variant-numeric: tabular-nums; }
.ro--tl { top: 92px; left: var(--gutter); }
.ro--tr { top: 92px; right: var(--gutter); }
.ro--bl { bottom: 26%; left: var(--gutter); }
.ro--br { bottom: 26%; right: var(--gutter); }

.hero__cta {
  position: absolute;
  z-index: 6;
  left: 16px;
  right: 16px;
  bottom: 9svh;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 700px) {
  .hero__stage { top: 38%; }
  .hero__lede { display: none; }
  .ro--tr, .ro--br { display: none; }
  .ro--bl { bottom: auto; top: 136px; left: auto; right: var(--gutter); }
  .room__fins { width: 26%; }
}

/* ================= MANIFESTO ================= */
.manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 14vw, 180px) var(--gutter) 0;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(255, 210, 150, .55), rgba(255, 210, 150, 0) 60%),
    linear-gradient(180deg, #ff8a2a 0%, #f26a14 45%, #d9480f 100%);
  color: #fff;
  isolation: isolate;
}
/* the glossy lacquer seam where the white room meets the orange wall */
.manifesto::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, #fff, transparent); opacity: .8; }
.manifesto .rings i:nth-child(1) { --s: 150px; left: 6%; top: 14%; }
.manifesto .rings i:nth-child(2) { --s: 110px; left: calc(6% + 128px); top: 9%; }
.manifesto .rings i:nth-child(3) { --s: 110px; left: calc(6% + 110px); top: calc(14% + 120px); }
.manifesto .rings i:nth-child(4) { --s: 64px; right: 9%; top: 20%; }
.manifesto .rings { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.manifesto__line {
  display: grid;
  justify-items: center;
  text-align: center;
  font-size: clamp(64px, 15vw, 250px);
  font-weight: 900;
  line-height: .82;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.manifesto__line span { display: block; font-variation-settings: "wdth" 62; text-shadow: 0 2px 0 rgba(255, 255, 255, .35), 0 24px 40px rgba(120, 25, 0, .35); will-change: font-variation-settings; }
.manifesto__line em { font-family: var(--f-script); font-style: normal; text-transform: none; font-weight: 400; color: #fff3d6; font-size: .7em; letter-spacing: 0; }
.ticker { margin: clamp(60px, 9vw, 120px) calc(var(--gutter) * -1) 0; padding: 18px 0; background: var(--ink); color: #ffd9b0; overflow: hidden; }
.ticker__track { display: flex; gap: 28px; width: max-content; align-items: center; animation: ticker 38s linear infinite; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-variation-settings: "wdth" 120; font-weight: 600; white-space: nowrap; }
.ticker__track b { color: var(--acrylic); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ================= SAMPLER ================= */
.sampler { position: relative; background: #2a0e05; }
.sampler__pin { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.sampler__room {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(255, 196, 120, .55), rgba(255, 196, 120, 0) 70%),
    linear-gradient(180deg, #ff9a3c 0%, #f26a14 38%, #c9420e 64%, #3a1206 64.2%, #1c0703 100%);
}
.sampler__room .rings { position: absolute; inset: 0; }
.sampler__room .rings i:nth-child(1) { --s: 128px; left: 7%; top: 16%; }
.sampler__room .rings i:nth-child(2) { --s: 92px; left: calc(7% + 110px); top: 11%; }
.sampler__room .rings i:nth-child(3) { --s: 92px; left: calc(7% + 96px); top: calc(16% + 104px); }
.sampler__room .rings i:nth-child(4) { --s: 70px; right: 8%; top: 18%; }
.sampler__floor { position: absolute; left: 0; right: 0; top: 64%; bottom: 0; background: linear-gradient(180deg, rgba(255, 150, 60, .35), rgba(255, 150, 60, 0) 40%); }
.sampler__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; opacity: 0; transition: opacity 1s; }
.sampler.is-3d .sampler__gl { opacity: 1; }
.sampler.is-flat .sampler__gl { display: none; }
.sampler__gl.is-grab { cursor: grab; }
.sampler__gl.is-grabbing { cursor: grabbing; }

.sampler__head { position: absolute; z-index: 2; top: 104px; left: var(--gutter); max-width: 360px; color: #fff; pointer-events: none; }
.sampler__head .label { color: #ffe1bf; }
.sampler__head .label b { color: #fff; }
.sampler__head h2 { margin: 12px 0 14px; font-size: clamp(38px, 4.6vw, 64px); text-transform: uppercase; font-variation-settings: "wdth" 66; text-shadow: 0 10px 30px rgba(120, 25, 0, .35); }
.sampler__head h2 em { font-family: var(--f-script); font-style: normal; text-transform: none; font-weight: 400; font-size: .74em; color: #fff3d6; display: inline-block; margin-top: 6px; }
.sampler__head p { font-size: 15px; color: #fff3e6; max-width: 300px; }

.tapes-ui { position: absolute; z-index: 2; right: var(--gutter); bottom: 24px; display: grid; justify-items: end; gap: 10px; max-width: min(780px, 62%); }
.sampler__hint { padding: 6px 12px; border-radius: 999px; background: rgba(255, 250, 244, .8); font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-variation-settings: "wdth" 125; color: var(--acrylic-deep); transition: opacity .5s; }
.sampler__hint-touch { display: none; }
@media (pointer: coarse) { .sampler__hint span:first-child { display: none; } .sampler__hint-touch { display: inline; } }
.tape-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tape-list button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(30, 10, 4, .55);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 112;
  box-shadow: inset 0 0 0 1px rgba(255, 190, 120, .3);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .3s, box-shadow .3s, transform .4s var(--ease);
}
.tape-list button i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 10px var(--c); }
.tape-list button:hover, .tape-list button[aria-pressed="true"] { background: rgba(255, 122, 26, .45); box-shadow: inset 0 0 0 1px rgba(255, 220, 180, .7); transform: translateY(-2px); }

/* now playing card: white lacquer with an acrylic edge */
.np {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: var(--gutter);
  width: min(360px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px 14px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 252, 248, .94), rgba(255, 241, 226, .88));
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 rgba(255, 122, 26, .55), 0 30px 60px -24px rgba(40, 10, 0, .7), 0 0 0 1px rgba(255, 122, 26, .25);
  color: var(--ink);
}
.np[hidden] { display: none; }
.np__art img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: var(--ink); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); }
.np__meta { align-self: center; min-width: 0; }
.np__meta h3 { margin: 4px 0 2px; font-size: 22px; text-transform: uppercase; font-variation-settings: "wdth" 70; }
.np__artist { font-size: 13px; color: var(--muted); }
.np__source { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--lacquer-3); box-shadow: inset 0 2px 4px rgba(100, 40, 10, .18); }
.np__source button { border: 0; border-radius: 999px; padding: 8px 10px; background: transparent; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-variation-settings: "wdth" 118; cursor: pointer; color: var(--muted); transition: background .35s, color .35s, box-shadow .35s; }
.np__source button[aria-pressed="true"] { background: linear-gradient(180deg, #ffb04a, #ff6a12); color: #fff; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), 0 4px 10px -4px rgba(226, 80, 12, .8); }
.np__source button:disabled { opacity: .35; cursor: not-allowed; }
.np__spotify { grid-column: 1 / -1; border-radius: 12px; overflow: hidden; }
.np__spotify:empty, .np__spotify[hidden] { display: none; }
.np__spotify iframe { display: block; width: 100%; border: 0; }
.np__controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.np__btn { width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: linear-gradient(180deg, #fff, #f3e4d4); box-shadow: inset 0 -3px 6px rgba(160, 70, 20, .15), 0 4px 10px -4px rgba(80, 30, 0, .5), 0 0 0 1px rgba(217, 72, 15, .2); cursor: pointer; }
.np__btn:hover { background: linear-gradient(180deg, #ffd4a6, #ffb26b); }
.np__link { margin-left: auto; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; font-variation-settings: "wdth" 112; color: var(--acrylic-deep); text-decoration: none; }
.np__link:hover span { display: inline-block; translate: 4px 0; transition: translate .3s; }
.np__note { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.np__note:empty { display: none; }
.sampler__noscript { position: absolute; inset: auto 0 40% 0; text-align: center; color: #fff; }

@media (max-width: 860px) {
  .sampler__head { top: 92px; max-width: none; right: var(--gutter); }
  .sampler__head p { display: none; }
  .np { bottom: 112px; left: 50%; translate: -50% 0; grid-template-columns: 56px 1fr; }
  .tapes-ui { right: 50%; translate: 50% 0; justify-items: center; max-width: calc(100% - 32px); width: max-content; }
  .tape-list { justify-content: center; }
  .np__art img { width: 56px; height: 56px; }
}

/* ================= HALLWAY ================= */
.corridor { position: relative; background: #fff6ec; }
.corridor__pin { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.corridor__head { position: absolute; z-index: 5; top: 104px; left: var(--gutter); pointer-events: none; }
.corridor__head h2 { margin-top: 12px; font-size: clamp(40px, 5.4vw, 84px); text-transform: uppercase; font-variation-settings: "wdth" 64; color: var(--ink); }
.corridor__view { position: absolute; inset: 0; perspective: 640px; perspective-origin: 50% 46%; }
.corridor__world { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.cw { position: absolute; transform-style: preserve-3d; }
/* hall is 760 wide, 560 tall, 2600 deep; the camera starts at z = 0 looking down -z */
.cw--floor {
  width: 760px; height: 2600px; left: -380px; top: 280px;
  transform-origin: 50% 0; transform: rotateX(-90deg);
  background: linear-gradient(180deg, #fff 0%, #fff4e8 100%);
}
.cw--floor .shards { position: absolute; inset: 0; }
.cw--ceil {
  width: 760px; height: 2600px; left: -380px; top: -280px;
  transform-origin: 50% 0; transform: rotateX(-90deg);
  background: #fffaf4;
}
.cw--ceil i { position: absolute; left: 16%; right: 16%; height: 70px; top: calc(var(--n) * 25% + 8%); background: #fff; border-radius: 4px; box-shadow: 0 0 40px 10px rgba(255, 220, 180, .9), inset 0 -10px 18px rgba(255, 170, 80, .35); }
.cw--ceil i:nth-child(1) { --n: 0; } .cw--ceil i:nth-child(2) { --n: 1; } .cw--ceil i:nth-child(3) { --n: 2; } .cw--ceil i:nth-child(4) { --n: 3; }
.cw--left, .cw--right {
  width: 2600px; height: 560px; top: -280px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, #fffaf4, #f8eadb);
}
.cw--left { left: -380px; transform-origin: 0 50%; transform: rotateY(90deg); }
.cw--right { left: 380px; transform-origin: 0 50%; transform: rotateY(-90deg) translateX(-2600px); }
.cw--end {
  width: 760px; height: 560px; left: -380px; top: -280px;
  transform: translateZ(-2600px);
  display: grid; place-content: center; justify-items: center; gap: 18px;
  background: radial-gradient(60% 70% at 50% 45%, #fff6c8 0%, #ffcf6b 40%, #ff9a2e 75%, #f26a14 100%);
  text-decoration: none; color: #fff;
  box-shadow: inset 0 0 0 26px #ff7a1a, inset 0 0 0 30px rgba(255, 255, 255, .7);
}
.cw__mark { width: 190px; height: 190px; filter: drop-shadow(0 10px 30px rgba(150, 50, 0, .45)); }
.cw--end span { font-size: 40px; font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 70; letter-spacing: .04em; text-shadow: 0 4px 20px rgba(150, 50, 0, .5); }

.door {
  position: absolute;
  top: 70px;
  left: var(--at);
  width: 300px;
  height: 490px;
  transform-style: preserve-3d;
  text-decoration: none;
  color: #fff;
}
.door--r { left: auto; right: var(--at); }
.door__light {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #fffbe8, #ffd690 60%, #ffb347);
  box-shadow: 0 0 60px 20px rgba(255, 200, 120, .55);
  opacity: .9;
}
.door__leaf {
  position: absolute; inset: 0;
  display: grid; align-content: end; gap: 6px; padding: 28px;
  transform-origin: 0 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 18%),
    linear-gradient(90deg, #ff6a12, #ff9a3c 45%, #ff7a1a 80%, #e2550f);
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, .85), inset -10px 0 20px rgba(150, 40, 0, .25), 0 0 0 6px #fff;
  transition: transform 1s var(--ease), box-shadow .6s;
  backface-visibility: hidden;
}
.door--r .door__leaf { transform-origin: 100% 50%; }
.door__leaf b { font-size: 64px; line-height: .9; font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 66; text-shadow: 0 3px 0 rgba(160, 40, 0, .3); }
.door__leaf small { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-variation-settings: "wdth" 115; font-weight: 650; color: #fff3e2; }
.door:hover .door__leaf, .door:focus-visible .door__leaf { transform: rotateY(-62deg); box-shadow: inset 3px 0 0 rgba(255, 255, 255, .85), -30px 0 60px rgba(255, 180, 90, .6), 0 0 0 6px #fff; }
.door--r:hover .door__leaf, .door--r:focus-visible .door__leaf { transform: rotateY(62deg); }
.corridor__fallback { display: none; }
@media (max-width: 700px) {
  .corridor__view { perspective: 420px; }
}

/* ================= JOURNAL ================= */
.journal { padding: clamp(90px, 11vw, 150px) var(--gutter); background: var(--lacquer); }
.journal__head { max-width: 1180px; margin: 0 auto 48px; display: flex; flex-wrap: wrap; align-items: end; gap: 16px 32px; }
.journal__head h2 { flex: 1; font-size: clamp(44px, 6vw, 96px); text-transform: uppercase; font-variation-settings: "wdth" 64; }
.journal__head .label { flex-basis: 100%; }
.journal__grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.jcard {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 0 0 24px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(217, 72, 15, .14), 0 20px 40px -28px rgba(120, 45, 10, .55);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.jcard > *:not(canvas) { padding: 0 22px; }
.jcard__art { width: 100%; height: 170px; transition: transform 1.2s var(--ease); transform-origin: top; }
.jcard__code { margin-top: 8px; font-size: 10.5px; letter-spacing: .22em; font-variation-settings: "wdth" 125; font-weight: 650; color: var(--muted); }
.jcard__kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-variation-settings: "wdth" 120; font-weight: 750; color: var(--acrylic-deep); }
.jcard h3 { font-size: 26px; line-height: 1; text-transform: uppercase; font-variation-settings: "wdth" 72; }
.jcard p { font-size: 15px; color: var(--ink-2); }
.jcard__more { margin-top: 6px; font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--acrylic-deep); }
.jcard:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 0 0 1px rgba(217, 72, 15, .4), 0 40px 60px -30px rgba(200, 70, 10, .6); }
.jcard:hover .jcard__art { transform: scaleY(1.12); }

/* ================= STORY ================= */
.story { position: relative; overflow: hidden; padding: clamp(100px, 14vw, 200px) var(--gutter); background: linear-gradient(180deg, var(--lacquer) 0%, #ffe9d2 100%); }
.story__sun {
  position: absolute;
  right: -14vw;
  top: 50%;
  width: 62vw;
  max-width: 820px;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sun-1) 0 19.2%, transparent 19.2% 20.4%, var(--sun-2) 20.4% 39.2%, transparent 39.2% 40.4%, var(--sun-3) 40.4% 59.2%, transparent 59.2% 60.4%, var(--sun-4) 60.4% 79.2%, transparent 79.2% 80.4%, var(--sun-5) 80.4% 100%);
  opacity: .9;
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.story__inner { position: relative; max-width: 1180px; margin: 0 auto; }
.story h2 { margin: 14px 0 34px; font-size: clamp(44px, 7vw, 120px); text-transform: uppercase; font-variation-settings: "wdth" 64; max-width: 12ch; }
.story h2 em { font-family: var(--f-script); font-style: normal; font-weight: 400; text-transform: none; color: var(--acrylic-deep); font-size: .72em; }
.story__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 40px; max-width: 760px; font-size: 18px; }
.story__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ================= 404 ================= */
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 120px var(--gutter); text-align: center; background: radial-gradient(60% 50% at 50% 40%, #ffd6a8, var(--lacquer) 70%); }
.lost h1 { font-size: clamp(64px, 14vw, 200px); text-transform: uppercase; font-variation-settings: "wdth" 62; color: var(--sun-5); }
.lost .mark { width: 140px; height: 140px; }

/* ================= REDUCED MOTION / NO JS ================= */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}
html:not(.js) .hero__cta { opacity: 1; visibility: visible; }
html:not(.js) .corridor__view { display: none; }
html:not(.js) .corridor__fallback { display: flex; }
