:root {
  --ink: #11100e;
  --night: #080807;
  --paper: #f2e6c3;
  --paper-bright: #f7edcf;
  --paper-dim: #d8c79a;
  --red: #c72420;
  --red-bright: #e23229;
  --teal: #178f92;
  --mustard: #efb71c;
  --line: rgba(241, 229, 195, 0.23);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --display: Impact, "Arial Narrow", "Franklin Gothic Condensed", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--sans);
}

body {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.logo-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.045), transparent 38%),
    #000;
  transition: opacity 540ms ease, visibility 540ms ease;
}

.logo-gate::before {
  position: absolute;
  inset: 0;
  background-image: url("assets/art-000.jpg");
  background-size: cover;
  opacity: 0.035;
  filter: grayscale(1) contrast(1.5);
  content: "";
}

.logo-trigger {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(78vw, 900px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transform: translateY(-1vh);
  transition: transform 280ms ease, filter 280ms ease, opacity 440ms ease;
}

.logo-trigger::before {
  position: absolute;
  inset: 9% 12% 16%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(197, 31, 26, 0.13);
  filter: blur(60px);
  content: "";
}

.logo-trigger:hover {
  transform: translateY(-1vh) scale(1.025);
  filter: brightness(1.08);
}

.logo-trigger:active {
  transform: translateY(-1vh) scale(0.985);
}

.logo-trigger img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.7));
  user-select: none;
}

.open-cue {
  position: absolute;
  bottom: 0.4%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 210px;
  padding: 12px 24px 11px;
  border: 2px solid #d2b37d;
  outline: 2px solid rgba(18, 9, 7, 0.92);
  background: linear-gradient(180deg, #bd302b 0%, #8e1917 56%, #6f100f 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 232, 180, 0.17),
    0 7px 0 rgba(0, 0, 0, 0.38),
    0 16px 30px rgba(0, 0, 0, 0.55);
  color: #fff0c8;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateX(-50%) rotate(-0.45deg);
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}

.open-cue i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: #f0c55e;
  box-shadow: 0 0 0 0 rgba(240, 197, 94, 0.58);
  transform: rotate(45deg);
  animation: cuePulse 1.8s infinite;
}

.open-cue i:last-child {
  animation-delay: 0.35s;
}

.gate-help {
  position: absolute;
  bottom: 24px;
  z-index: 2;
  margin: 0;
  color: rgba(244, 232, 199, 0.52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gate-help span {
  padding-inline: 8px;
  color: var(--red-bright);
}

.leaf-bomb {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.burst-leaf {
  position: absolute;
  left: var(--origin-x);
  top: var(--origin-y);
  width: var(--size);
  height: calc(var(--size) * 1.12);
  color: var(--leaf-color);
  fill: currentColor;
  opacity: 0;
  filter: drop-shadow(0 8px 4px rgba(0, 0, 0, 0.3));
  transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
}

.detonating .burst-leaf {
  animation: leafBurst var(--duration) cubic-bezier(0.12, 0.62, 0.24, 1) var(--delay) forwards;
}

.detonating .logo-trigger {
  opacity: 0;
  transform: translateY(-1vh) scale(1.2);
  filter: brightness(1.8) blur(8px);
}

.logo-gate.is-gone {
  visibility: hidden;
  opacity: 0;
}

@keyframes cuePulse {
  70% { box-shadow: 0 0 0 9px rgba(226, 50, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 50, 41, 0); }
}

@keyframes leafBurst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.15) rotate(0deg); }
  8% { opacity: 1; }
  72% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(var(--scale)) rotate(var(--rot)); }
}

.deck-app {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: 62px minmax(0, 1fr) 86px;
  background:
    radial-gradient(circle at 50% 42%, rgba(50, 44, 32, 0.35), transparent 52%),
    var(--night);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 520ms ease, transform 520ms ease;
}

.deck-app.is-ready {
  opacity: 1;
  transform: none;
}

.deck-app.is-pseudo-fullscreen {
  grid-template-rows: 0 minmax(0, 1fr) 64px;
}

.is-pseudo-fullscreen .app-bar {
  visibility: hidden;
  overflow: hidden;
  padding: 0;
  border: 0;
  opacity: 0;
}

.is-pseudo-fullscreen .slide-stage {
  width: min(100%, calc((100vh - 88px) * 16 / 9));
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(20px, 2.2vw, 36px);
  border-bottom: 1px solid rgba(242, 230, 195, 0.15);
  background: rgba(8, 8, 7, 0.92);
}

.brand-button {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.brand-button img {
  width: 48px;
  height: 40px;
  flex: 0 0 48px;
  object-fit: contain;
}

.brand-button span {
  display: block;
  flex: 0 0 auto;
  border-left: 1px solid rgba(242, 230, 195, 0.28);
  padding-left: 12px;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.08em;
  text-align: left;
  white-space: nowrap;
}

.app-actions {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.text-button,
.download-button,
.drawer-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(242, 230, 195, 0.24);
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.text-button {
  background: transparent;
}

.download-button {
  border-color: var(--red);
  background: var(--red);
}

.download-button--treatment {
  border-color: rgba(242, 230, 195, 0.32);
  background: transparent;
}

.text-button:hover,
.drawer-download:hover {
  background: rgba(242, 230, 195, 0.09);
}

.download-button:hover {
  background: var(--red-bright);
}

.download-button--treatment:hover {
  border-color: rgba(242, 230, 195, 0.56);
  background: rgba(242, 230, 195, 0.09);
}

.text-button svg,
.download-button svg,
.drawer-download svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.presentation-shell {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  min-height: 0;
  padding: clamp(12px, 2vh, 24px) clamp(6px, 1vw, 16px);
}

.slide-wrap {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
}

.slide-stage {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 16 / 9;
  width: min(100%, calc((100vh - 190px) * 16 / 9));
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(242, 230, 195, 0.16);
  touch-action: pan-y;
}

.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--paper);
}

.slide::after {
  position: absolute;
  inset: 0;
  z-index: 8;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(0deg, rgba(49, 37, 15, 0.02) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 14% 20%, rgba(83, 54, 12, 0.07) 0 0.5px, transparent 0.8px);
  background-size: auto, 5px 5px;
  content: "";
  pointer-events: none;
  mix-blend-mode: multiply;
}

.slide--dark {
  background: #11110f;
  color: var(--paper-bright);
}

.slide--teal {
  background: var(--teal);
  color: #fff7dc;
}

.slide-number {
  position: absolute;
  right: 2.2cqw;
  bottom: 1.6cqw;
  z-index: 9;
  color: currentColor;
  font-size: 0.9cqw;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0.58;
}

.slide-footer {
  position: absolute;
  left: 2.1cqw;
  bottom: 1.6cqw;
  z-index: 9;
  color: currentColor;
  font-size: 0.68cqw;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.55;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 2.1cqw;
  padding: 0.3cqw 0.75cqw;
  background: var(--red);
  color: #fff2d0;
  font-size: 0.72cqw;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3cqw;
  padding: 0.45cqw 1.4cqw;
  border: 0.15cqw solid currentColor;
  color: var(--red);
  font-family: var(--serif);
  font-size: 0.83cqw;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-1.3deg);
}

.cover-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  height: 100%;
}

.cover-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2.1cqw;
  padding: 5cqw 4.3cqw;
}

.cover-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: 5cqw;
  line-height: 0.91;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.cover-copy p {
  max-width: 31ch;
  margin: 0;
  font-size: 1.3cqw;
  font-weight: 700;
  line-height: 1.35;
}

.cover-copy .byline {
  color: var(--teal);
  font-size: 0.9cqw;
  font-weight: 800;
}

.cover-art,
.spotlight-art {
  position: relative;
  overflow: hidden;
}

.cover-art img,
.spotlight-art img,
.full-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-art img {
  object-position: 73% center;
}

.cover-art::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(90deg, var(--paper), transparent);
  content: "";
}

.split-manifesto {
  display: grid;
  grid-template-columns: 55% 45%;
  height: 100%;
}

.manifesto-head,
.manifesto-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5cqw;
}

.manifesto-head h2,
.promise-main h2,
.format-main h2,
.guide-title,
.sell-main h2 {
  margin: 1.7cqw 0 0;
  font-family: var(--serif);
  font-size: 5cqw;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.manifesto-body {
  background: var(--teal);
  color: #fff7dc;
}

.manifesto-body .big-copy {
  max-width: 22ch;
  margin: 0;
  font-size: 1.85cqw;
  font-weight: 800;
  line-height: 1.18;
}

.manifesto-body .small-copy {
  max-width: 34ch;
  margin: 3cqw 0 4cqw;
  font-size: 1cqw;
  line-height: 1.45;
}

.promise-layout {
  display: grid;
  grid-template-columns: 1fr 25%;
  gap: 5cqw;
  height: 100%;
  padding: 4.4cqw;
}

.promise-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.promise-main h2 {
  max-width: 14ch;
  font-size: 5.3cqw;
}

.promise-main .red-line {
  margin-top: auto;
  color: var(--red-bright);
  font-family: var(--serif);
  font-size: 2cqw;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.promise-steps {
  align-self: center;
  padding: 2.8cqw 2.2cqw;
  background: var(--mustard);
  color: var(--ink);
}

.promise-step {
  display: grid;
  grid-template-columns: 2.2cqw 1fr;
  gap: 1cqw;
  padding: 1.25cqw 0;
  border-bottom: 1px solid rgba(17, 16, 14, 0.25);
}

.promise-step:last-child {
  border-bottom: 0;
}

.promise-step b {
  color: var(--red);
  font-size: 1.15cqw;
}

.promise-step strong {
  display: block;
  margin-bottom: 0.35cqw;
  font-size: 0.9cqw;
  text-transform: uppercase;
}

.promise-step span {
  display: block;
  font-size: 0.72cqw;
  line-height: 1.28;
}

.format-layout {
  height: 100%;
  padding: 4.4cqw;
}

.format-main h2 {
  max-width: 16ch;
  font-size: 4.4cqw;
}

.format-grid {
  display: grid;
  grid-template-columns: 12cqw 1fr;
  gap: 2.8cqw;
  margin-top: 3cqw;
}

.runtime-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: var(--red);
  color: #fff3d0;
}

.runtime-box strong {
  font-family: var(--serif);
  font-size: 5cqw;
  line-height: 0.8;
}

.runtime-box span {
  margin-top: 1cqw;
  font-size: 0.9cqw;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.format-rows {
  display: grid;
}

.format-row {
  display: grid;
  grid-template-columns: 10cqw 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(17, 16, 14, 0.24);
}

.format-row b {
  color: var(--red);
  font-size: 0.78cqw;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.format-row span {
  font-size: 1.05cqw;
  font-weight: 700;
}

.format-tagline {
  margin-top: 2.5cqw;
  text-align: center;
}

.guide-layout {
  height: 100%;
  padding: 4.4cqw;
}

.guide-title {
  max-width: 20ch;
  font-size: 3.8cqw;
}

.guide-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5cqw;
  margin-top: 2.1cqw;
}

.guide-item {
  display: grid;
  grid-template-columns: 2.4cqw 1fr;
  align-items: center;
  min-height: 2.6cqw;
  border-bottom: 1px solid rgba(17, 16, 14, 0.19);
}

.guide-item b {
  color: var(--red);
  font-size: 0.86cqw;
}

.guide-item span {
  font-size: 0.92cqw;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-stamp {
  position: absolute;
  right: 7cqw;
  bottom: 4cqw;
}

.spotlight-layout {
  display: grid;
  grid-template-columns: 49% 51%;
  height: 100%;
}

.spotlight-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 3.2cqw 4.2cqw;
}

.spotlight-copy h2 {
  max-width: 13ch;
  margin: 3cqw 0 0;
  font-family: var(--serif);
  font-size: 4.35cqw;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.spotlight-copy p {
  max-width: 33ch;
  margin: auto 0 2.2cqw;
  font-size: 1.12cqw;
  line-height: 1.42;
}

.slide--dark .spotlight-copy .stamp {
  color: var(--red-bright);
}

.spotlight-art img {
  object-position: 70% center;
  transform: scale(1.02);
}

.spotlight-art::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 12%;
  background: linear-gradient(90deg, var(--paper), transparent);
  content: "";
}

.slide--dark .spotlight-art::before {
  background: linear-gradient(90deg, #11110f, transparent);
}

.trilogy-layout,
.year-layout {
  height: 100%;
  background: #172329;
  color: var(--paper-bright);
}

.trilogy-layout .full-art,
.year-layout .full-art {
  position: absolute;
  inset: 0;
}

.trilogy-layout .full-art::after,
.year-layout .full-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 15, 0.3), transparent 32%, rgba(10, 14, 15, 0.08) 62%, #172329 84%);
  content: "";
}

.trilogy-layout h2,
.year-layout h2 {
  position: absolute;
  top: 2.7cqw;
  left: 26cqw;
  z-index: 2;
  margin: 0;
  font-family: var(--serif);
  font-size: 2.8cqw;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.trilogy-layout .kicker,
.year-layout .kicker {
  position: absolute;
  top: 2.5cqw;
  left: 3cqw;
  z-index: 2;
}

.triptych,
.year-captions {
  position: absolute;
  right: 3cqw;
  bottom: 3.1cqw;
  left: 3cqw;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5cqw;
}

.triptych b,
.year-captions b {
  display: block;
  margin-bottom: 0.4cqw;
  color: var(--red-bright);
  font-size: 0.84cqw;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.triptych p,
.year-captions p {
  margin: 0;
  font-size: 0.82cqw;
  line-height: 1.35;
}

.year-layout h2 {
  left: 26cqw;
  font-size: 2.3cqw;
}

.year-layout .full-art img {
  object-position: center 28%;
}

.year-captions {
  grid-template-columns: 1fr 1fr;
  gap: 6cqw;
}

.sell-layout {
  display: grid;
  grid-template-columns: 1fr 27%;
  gap: 4cqw;
  height: 100%;
  padding: 4.3cqw;
}

.sell-main h2 {
  max-width: 15ch;
  font-size: 4.8cqw;
}

.sell-quote {
  max-width: 42ch;
  margin-top: 3cqw;
  padding-top: 2.4cqw;
  border-top: 0.15cqw solid var(--ink);
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.6cqw;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.sell-points {
  align-self: center;
  padding: 2.8cqw 2.2cqw;
  background: var(--red);
  color: #fff1cc;
}

.sell-point {
  margin-bottom: 1.7cqw;
}

.sell-point:last-child {
  margin-bottom: 0;
}

.sell-point b {
  display: block;
  margin-bottom: 0.4cqw;
  font-size: 0.9cqw;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sell-point span {
  display: block;
  font-size: 0.74cqw;
  line-height: 1.34;
}

.edge-nav {
  display: grid;
  place-items: center;
  width: 42px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(242, 230, 195, 0.15);
  background: rgba(242, 230, 195, 0.035);
  color: rgba(242, 230, 195, 0.7);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.edge-nav:hover:not(:disabled) {
  border-color: rgba(242, 230, 195, 0.45);
  background: rgba(242, 230, 195, 0.08);
  color: var(--paper);
}

.edge-nav:disabled,
.dock-nav:disabled {
  opacity: 0.24;
  cursor: default;
}

.edge-nav svg,
.dock-nav svg,
.icon-button svg,
.drawer-close svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.control-dock {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px clamp(14px, 2vw, 32px);
  border-top: 1px solid rgba(242, 230, 195, 0.15);
  background: #0b0b0a;
}

.dock-nav,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 1px solid rgba(242, 230, 195, 0.26);
  background: transparent;
  color: var(--paper);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.dock-nav {
  min-width: 120px;
  padding: 0 18px;
}

.dock-nav--next {
  border-color: var(--red);
  background: var(--red);
}

.dock-nav:hover:not(:disabled),
.icon-button:hover {
  background: rgba(242, 230, 195, 0.08);
}

.dock-nav--next:hover:not(:disabled) {
  background: var(--red-bright);
}

.icon-button {
  width: 46px;
  padding: 0;
}

.sound-button .sound-off,
.sound-button.is-muted .sound-on {
  display: none;
}

.sound-button.is-muted .sound-off {
  display: block;
}

.sound-button:not(.is-muted) {
  border-color: rgba(239, 183, 28, 0.55);
  color: var(--mustard);
}

.progress-region {
  min-width: 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: rgba(242, 230, 195, 0.72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress-label span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-track {
  display: grid;
  grid-template-columns: repeat(18, minmax(4px, 1fr));
  gap: 4px;
}

.progress-dot {
  height: 5px;
  padding: 0;
  border: 0;
  background: rgba(242, 230, 195, 0.2);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.progress-dot:hover {
  background: var(--paper-dim);
  transform: scaleY(1.8);
}

.progress-dot.is-past {
  background: rgba(199, 36, 32, 0.48);
}

.progress-dot.is-current {
  background: var(--red-bright);
  transform: scaleY(1.8);
}

.episode-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}

.episode-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  transition: opacity 260ms ease;
}

.is-open .drawer-scrim {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(460px, 92vw);
  padding: 28px;
  border-left: 1px solid rgba(242, 230, 195, 0.18);
  background: #10100e;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
  transform: translateX(102%);
  transition: transform 320ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.is-open .drawer-panel {
  transform: none;
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(242, 230, 195, 0.17);
}

.drawer-header p {
  margin: 0 0 8px;
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.drawer-header h2 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.drawer-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(242, 230, 195, 0.2);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.episode-list {
  overflow-y: auto;
  padding: 14px 0;
}

.episode-link {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  width: 100%;
  padding: 13px 8px;
  border: 0;
  border-bottom: 1px solid rgba(242, 230, 195, 0.11);
  background: transparent;
  color: rgba(242, 230, 195, 0.72);
  text-align: left;
  cursor: pointer;
}

.episode-link:hover,
.episode-link.is-current {
  background: rgba(242, 230, 195, 0.055);
  color: var(--paper);
}

.episode-link.is-current .episode-num {
  color: var(--red-bright);
}

.episode-num {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 800;
}

.episode-name {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.drawer-download {
  justify-content: space-between;
  padding: 0 18px;
  border-color: var(--red);
}

.drawer-downloads {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.drawer-download--primary {
  background: var(--red);
}

.drawer-download--primary:hover {
  background: var(--red-bright);
}

.drawer-download--universe {
  border-color: var(--mustard);
  background: rgba(239, 183, 28, 0.08);
  color: var(--paper-bright);
}

.drawer-download--universe:hover {
  background: rgba(239, 183, 28, 0.16);
}

/* The Weird Universe */
.universe-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: 66px minmax(0, 1fr);
  visibility: hidden;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(199, 36, 32, 0.22), transparent 40%),
    #061521;
  color: var(--paper);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 320ms ease, transform 320ms ease, visibility 320ms ease;
}

.universe-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.universe-header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 3vw, 44px);
  border-bottom: 1px solid rgba(242, 230, 195, 0.2);
  background: rgba(5, 17, 28, 0.95);
}

.universe-back,
.universe-close,
.universe-footer button {
  border: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}

.universe-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.universe-back svg,
.universe-close svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.universe-mark {
  color: var(--mustard);
  font-size: 22px;
}

.universe-close {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 230, 195, 0.24);
}

.universe-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.universe-intro {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(46px, 7vw, 92px) 0 clamp(34px, 5vw, 64px);
  text-align: center;
}

.universe-intro > p {
  margin: 0 0 18px;
  color: var(--paper-dim);
  font-family: var(--serif);
  font-size: clamp(15px, 1.45vw, 21px);
  font-style: italic;
}

.universe-intro h1 {
  margin: 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(54px, 8.6vw, 126px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.35);
}

.universe-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 26px;
  color: var(--red-bright);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.universe-categories i {
  width: 5px;
  height: 5px;
  background: var(--mustard);
  transform: rotate(45deg);
}

.universe-feature {
  position: relative;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  border: 1px solid rgba(239, 183, 28, 0.68);
  background: #eadcb9;
  box-shadow:
    0 0 0 7px #061521,
    0 0 0 8px rgba(239, 183, 28, 0.42),
    0 30px 70px rgba(0, 0, 0, 0.38);
}

.universe-feature img {
  display: block;
  width: 100%;
  height: auto;
}

.universe-feature figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 19px 24px;
  background: #a7211f;
  color: #fff1cc;
}

.universe-feature figcaption strong {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: clamp(16px, 1.65vw, 23px);
  text-transform: uppercase;
}

.universe-feature figcaption span {
  max-width: 62ch;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.universe-chapter {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(0, 0.62fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(92px, 10vw, 150px) 0;
}

.universe-chapter-copy {
  position: relative;
}

.universe-index {
  display: block;
  margin-bottom: 13px;
  color: var(--red-bright);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.universe-chapter h2,
.universe-more h2 {
  margin: 0 0 20px;
  color: var(--paper-bright);
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.universe-chapter-copy > p {
  margin: 0 0 17px;
  color: rgba(242, 230, 195, 0.8);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.62;
}

.universe-note {
  color: var(--mustard) !important;
  font-size: 10px !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.universe-feature--merch {
  width: 100%;
  margin: 0;
}

.universe-chapter--spin {
  grid-template-columns: minmax(0, 0.53fr) minmax(300px, 0.47fr);
  border-top: 1px solid rgba(242, 230, 195, 0.17);
}

.universe-chapter--tour {
  grid-template-columns: minmax(300px, 0.46fr) minmax(0, 0.54fr);
  border-top: 1px solid rgba(242, 230, 195, 0.17);
}

.tour-poster {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  padding: 34px clamp(24px, 4vw, 54px) 28px;
  border: 9px solid #e7d2a4;
  outline: 2px solid rgba(239, 183, 28, 0.72);
  background:
    radial-gradient(circle at 50% 38%, rgba(239, 183, 28, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 48%),
    #861918;
  color: #f4e7c4;
  text-align: center;
  box-shadow:
    inset 0 0 0 3px #0b1b28,
    inset 0 0 0 6px rgba(239, 183, 28, 0.64),
    0 30px 70px rgba(0, 0, 0, 0.42);
}

.tour-poster::before,
.tour-poster::after {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(247, 218, 155, 0.2);
  border-radius: 50%;
  content: "";
}

.tour-poster::before {
  top: -102px;
  left: -96px;
}

.tour-poster::after {
  right: -96px;
  bottom: -102px;
}

.tour-poster-topline,
.tour-poster-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #f2c45b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tour-poster-topline {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(244, 231, 196, 0.4);
}

.tour-maple {
  width: 56px;
  height: 62px;
  margin: 24px auto 10px;
  color: #f0c45c;
  fill: currentColor;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.28));
}

.tour-kicker {
  margin: 0 auto 19px;
  color: rgba(244, 231, 196, 0.82);
  font-family: var(--serif);
  font-size: clamp(13px, 1.2vw, 17px);
  font-style: italic;
}

.tour-poster h3 {
  margin: 0;
  color: #f6e7bf;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.3);
}

.tour-poster h3 span,
.tour-poster h3 strong {
  display: block;
}

.tour-poster h3 span {
  font-size: clamp(48px, 5.4vw, 82px);
}

.tour-poster h3 strong {
  margin: 11px -10px 13px;
  padding: 12px 7px 9px;
  background: #071a28;
  color: #f1bb3e;
  font-size: clamp(48px, 6vw, 90px);
  transform: rotate(-1.2deg);
}

.tour-poster-bill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 22px;
  color: #f3cb73;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tour-poster-bill i {
  width: 5px;
  height: 5px;
  background: currentColor;
  transform: rotate(45deg);
}

.tour-tagline {
  margin: 0;
  color: #f7ebcd;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.tour-poster-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 231, 196, 0.4);
}

.tour-poster-foot b {
  color: #f4e7c4;
}

.spinoff-art {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 10px;
  border: 1px solid rgba(239, 183, 28, 0.55);
  background: #efe3c4;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.spinoff-art img {
  display: block;
  width: 100%;
}

.world-spinoff-art {
  position: relative;
  grid-template-rows: auto minmax(180px, 1fr) auto auto;
  min-height: 590px;
  padding: 30px;
  overflow: hidden;
  border: 9px solid #e7d2a4;
  outline: 2px solid rgba(239, 183, 28, 0.72);
  background:
    radial-gradient(circle at 20% 18%, rgba(239, 183, 28, 0.13) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 32%, rgba(242, 230, 195, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 76%, rgba(226, 50, 41, 0.2) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 44%, rgba(23, 143, 146, 0.24), transparent 46%),
    linear-gradient(155deg, #081e2b, #03090e 72%);
  color: var(--paper);
  text-align: center;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 3px #9c201d,
    inset 0 0 0 6px rgba(239, 183, 28, 0.55),
    0 30px 70px rgba(0, 0, 0, 0.44);
  transition: transform 220ms ease, filter 220ms ease;
}

.world-spinoff-art:hover {
  filter: brightness(1.08);
  transform: translateY(-4px);
}

.world-deck-eyebrow {
  justify-self: stretch;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(242, 230, 195, 0.3);
  color: var(--mustard);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.world-globe {
  align-self: center;
  width: min(78%, 330px);
  margin: 10px auto 6px;
  fill: none;
  stroke: #e8d6ac;
  stroke-width: 2.2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.world-globe .world-orbit {
  stroke: var(--red-bright);
  stroke-width: 4;
}

.world-globe .world-orbit-dot {
  fill: var(--mustard);
  stroke: #061521;
  stroke-width: 3;
}

.world-spinoff-art strong,
.world-spinoff-art strong span {
  display: block;
}

.world-spinoff-art strong {
  font-family: var(--display);
  font-size: clamp(38px, 4.2vw, 63px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.34);
}

.world-spinoff-art strong span:last-child {
  margin-top: 8px;
  color: var(--red-bright);
}

.world-spinoff-art small {
  margin-top: 22px;
  color: rgba(242, 230, 195, 0.7);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.universe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.universe-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff1cc;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.universe-cta:hover {
  background: var(--red-bright);
}

.universe-cta--ghost {
  border-color: rgba(242, 230, 195, 0.32);
  background: transparent;
}

.universe-cta--ghost:hover {
  background: rgba(242, 230, 195, 0.08);
}

.universe-chapter--podcast {
  grid-template-columns: minmax(0, 0.5fr) minmax(300px, 0.5fr);
  border-top: 1px solid rgba(242, 230, 195, 0.17);
}

.podcast-card {
  position: relative;
  min-height: 590px;
  padding: 30px clamp(24px, 4vw, 48px);
  overflow: hidden;
  border: 9px solid #e7d2a4;
  outline: 2px solid rgba(239, 183, 28, 0.72);
  background:
    radial-gradient(circle at 50% 38%, rgba(239, 183, 28, 0.2), transparent 31%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 11px),
    #9a211d;
  color: #f5e8c5;
  text-align: center;
  box-shadow:
    inset 0 0 0 3px #061521,
    inset 0 0 0 6px rgba(239, 183, 28, 0.52),
    0 30px 70px rgba(0, 0, 0, 0.4);
}

.podcast-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(245, 232, 197, 0.4);
  color: #f2c45b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.podcast-mic {
  display: block;
  width: 128px;
  height: 160px;
  margin: 38px auto 18px;
  fill: #061521;
  stroke: #f0c45c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.25));
}

.podcast-card > p {
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.podcast-card h3 {
  margin: 0;
  color: var(--mustard);
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.3);
}

.podcast-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 48px;
  margin: 18px 0 8px;
}

.podcast-wave i {
  width: 4px;
  height: 16px;
  background: #f5e8c5;
}

.podcast-wave i:nth-child(2n) { height: 30px; }
.podcast-wave i:nth-child(3n) { height: 44px; background: var(--mustard); }
.podcast-wave i:nth-child(5) { height: 38px; }

.podcast-card small {
  color: rgba(245, 232, 197, 0.75);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.universe-more {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 0 0 clamp(90px, 10vw, 150px);
}

.universe-more h2 {
  max-width: 10ch;
}

.universe-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid rgba(239, 183, 28, 0.5);
  border-bottom: 1px solid rgba(239, 183, 28, 0.5);
}

.universe-rail span {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 16px;
  border-right: 1px solid rgba(239, 183, 28, 0.25);
  color: var(--paper);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.universe-rail span:last-child {
  border-right: 0;
}

.universe-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px max(28px, calc((100vw - 1180px) / 2));
  background: var(--red);
  color: #fff1cc;
}

.universe-footer strong {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  text-transform: uppercase;
}

.universe-footer button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 241, 204, 0.55);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* In-site PDF viewer */
.document-viewer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: 72px minmax(0, 1fr);
  visibility: hidden;
  background: rgba(3, 4, 4, 0.96);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
}

.document-viewer.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.document-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(16px, 3vw, 36px);
  border-bottom: 1px solid rgba(242, 230, 195, 0.2);
  background: #0d0e0d;
}

.document-viewer-header p {
  margin: 0 0 3px;
  color: var(--red-bright);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.document-viewer-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1;
  text-transform: uppercase;
}

.document-viewer-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.document-viewer-actions a,
.document-viewer-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(242, 230, 195, 0.3);
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.document-viewer-actions a {
  gap: 8px;
  padding: 0 14px;
  border-color: var(--red);
  background: var(--red);
}

.document-viewer-actions button {
  width: 42px;
  padding: 0;
}

.document-viewer-actions svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.document-viewer-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(10px, 2vw, 22px);
  background:
    radial-gradient(circle at 50% 20%, rgba(23, 143, 146, 0.12), transparent 48%),
    #050505;
}

.document-viewer-stage iframe {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  height: 100%;
  border: 1px solid rgba(242, 230, 195, 0.22);
  background: #222;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.document-preview {
  position: relative;
  z-index: 2;
  display: block;
  width: min(900px, 100%);
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(242, 230, 195, 0.28);
  background: #080908;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.document-preview[hidden],
.document-gallery[hidden],
.document-viewer-stage iframe[hidden],
.document-fallback[hidden] {
  display: none;
}

.document-viewer.is-image-preview .document-viewer-stage,
.document-viewer.is-gallery-preview .document-viewer-stage {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
}

.document-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.document-gallery figure {
  margin: 0;
  border: 1px solid rgba(242, 230, 195, 0.28);
  background: #efe6d1;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}

.document-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.document-gallery figcaption {
  padding: 10px 14px;
  background: #0d0e0d;
  color: rgba(242, 230, 195, 0.62);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: right;
}

.document-fallback {
  position: absolute;
  z-index: 1;
  margin: 0;
  color: rgba(242, 230, 195, 0.48);
  font-size: 11px;
}

noscript {
  position: fixed;
  inset: 20px;
  z-index: 200;
  padding: 30px;
  background: #111;
  color: white;
}

@media (max-width: 1100px) {
  .text-button {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .download-button {
    padding-inline: 10px;
    font-size: 9px;
  }
}

@media (max-width: 760px) {
  .logo-trigger {
    width: 94vw;
  }

  .open-cue {
    bottom: -0.5%;
    min-width: 176px;
    gap: 10px;
    padding: 10px 18px 9px;
    font-size: 10px;
  }

  .deck-app {
    grid-template-rows: 54px minmax(0, 1fr) 76px;
  }

  .brand-button span,
  .text-button span,
  .text-button {
    font-size: 0;
  }

  .brand-button img {
    width: 40px;
    height: 34px;
    flex-basis: 40px;
  }

  .text-button {
    width: 42px;
    padding: 0;
  }

  .download-button {
    min-height: 38px;
    padding: 0 10px;
    font-size: 9px;
  }

  .download-button svg {
    display: none;
  }

  .universe-panel {
    grid-template-rows: 58px minmax(0, 1fr);
  }

  .universe-header {
    padding-inline: 14px;
  }

  .universe-back {
    font-size: 0;
  }

  .universe-back svg {
    width: 22px;
  }

  .universe-intro,
  .universe-feature,
  .universe-chapter,
  .universe-more {
    width: min(100% - 28px, 680px);
  }

  .universe-intro {
    padding-top: 44px;
  }

  .universe-intro h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .universe-feature figcaption {
    display: block;
    padding: 16px;
  }

  .universe-feature figcaption span {
    display: block;
    margin-top: 8px;
    text-align: left;
  }

  .universe-chapter,
  .universe-chapter--spin,
  .universe-chapter--tour,
  .universe-chapter--podcast {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 76px 0;
  }

  .universe-feature--merch {
    order: -1;
  }

  .universe-chapter h2,
  .universe-more h2 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .spinoff-art {
    min-height: 0;
    padding: 24px;
  }

  .world-spinoff-art {
    min-height: 520px;
  }

  .podcast-card {
    min-height: 520px;
    padding: 24px 20px;
  }

  .podcast-card h3 {
    font-size: clamp(62px, 22vw, 92px);
  }

  .tour-poster {
    min-height: 590px;
    padding: 28px 21px 24px;
  }

  .tour-poster h3 span,
  .tour-poster h3 strong {
    font-size: clamp(43px, 14vw, 66px);
  }

  .universe-rail {
    grid-template-columns: 1fr;
  }

  .universe-rail span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(239, 183, 28, 0.2);
  }

  .universe-rail span:last-child {
    border-bottom: 0;
  }

  .universe-footer {
    display: block;
    padding: 28px 18px;
  }

  .universe-footer button {
    margin-top: 17px;
  }

  .document-viewer {
    grid-template-rows: 62px minmax(0, 1fr);
  }

  .document-viewer-header {
    padding-inline: 12px;
  }

  .document-viewer-header p {
    display: none;
  }

  .document-viewer-header h2 {
    max-width: 26vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .document-viewer-actions a {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .document-viewer-actions a svg {
    width: 18px;
  }

  .presentation-shell {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .slide-stage {
    width: 100%;
  }

  .edge-nav {
    display: none;
  }

  .control-dock {
    grid-template-columns: auto minmax(70px, 1fr) auto auto auto;
    gap: 7px;
    padding: 9px;
  }

  .dock-nav {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .dock-nav span {
    display: none;
  }

  .progress-track {
    gap: 2px;
  }

  .progress-label {
    font-size: 8px;
  }

  .progress-label span:last-child {
    display: none;
  }
}

@media (max-height: 650px) and (orientation: landscape) {
  .deck-app {
    grid-template-rows: 48px minmax(0, 1fr) 64px;
  }

  .brand-button img {
    width: 36px;
    height: 30px;
  }

  .slide-stage {
    width: min(100%, calc((100vh - 132px) * 16 / 9));
  }

  .control-dock {
    padding-block: 7px;
  }

  .dock-nav,
  .icon-button {
    min-height: 42px;
  }
}

/* Legacy in-site spin-off deck shell */
body.american-deck-page {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% -10%, rgba(197, 36, 32, 0.2), transparent 32rem),
    linear-gradient(rgba(7, 12, 15, 0.96), rgba(3, 5, 6, 0.99)),
    url("assets/art-000.jpg") center top / 1200px auto;
  color: var(--paper);
}

.legacy-world-redirect {
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: auto;
  padding: 24px;
  background: radial-gradient(circle at 50% 30%, rgba(23, 143, 146, 0.3), transparent 38%), #061521;
  text-align: center;
}

.legacy-world-redirect main {
  width: min(760px, 100%);
}

.legacy-world-redirect p {
  color: var(--mustard);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legacy-world-redirect h1 {
  margin: 18px 0 30px;
  font-family: var(--display);
  font-size: clamp(56px, 10vw, 108px);
  line-height: 0.88;
  text-transform: uppercase;
}

.legacy-world-redirect a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  background: var(--red-bright);
  color: #fff1cc;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.american-deck-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 10px clamp(14px, 3vw, 42px);
  border-bottom: 1px solid rgba(242, 230, 195, 0.2);
  background: rgba(8, 8, 7, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.american-back,
.american-download {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(242, 230, 195, 0.3);
  color: var(--paper);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.american-back svg,
.american-download svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.american-download {
  justify-self: end;
  border-color: var(--red-bright);
  background: var(--red-bright);
}

.american-deck-identity {
  min-width: 0;
  text-align: center;
  text-transform: uppercase;
}

.american-deck-identity p {
  margin: 0 0 4px;
  color: var(--red-bright);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.american-deck-identity strong {
  display: block;
  max-width: 46vw;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(14px, 1.6vw, 21px);
  letter-spacing: 0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.american-deck-main {
  width: 100%;
}

.american-deck-intro {
  display: grid;
  justify-items: center;
  min-height: min(640px, calc(100svh - 76px));
  padding: clamp(70px, 11vw, 150px) 24px 80px;
  text-align: center;
}

.american-deck-kicker {
  align-self: end;
  margin-bottom: 20px;
  color: var(--mustard);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.american-deck-intro h1 {
  max-width: 1100px;
  margin: 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 132px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.84;
  text-transform: uppercase;
  text-shadow: 0 7px 0 rgba(0, 0, 0, 0.4);
}

.american-deck-intro p {
  max-width: 640px;
  margin: 30px auto 24px;
  color: rgba(242, 230, 195, 0.7);
  font-family: var(--serif);
  font-size: clamp(15px, 2vw, 21px);
  line-height: 1.5;
}

.american-deck-intro > a {
  align-self: start;
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.american-page-gallery {
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 clamp(70px, 9vw, 130px);
}

.american-page-gallery figure {
  scroll-margin-top: 98px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 230, 195, 0.28);
  background: #0d0e0d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.american-page-gallery img {
  display: block;
  width: 100%;
  height: auto;
  background: #efe6d1;
}

.american-page-gallery figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 15px;
  color: rgba(242, 230, 195, 0.5);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.american-page-gallery figcaption strong {
  color: var(--paper);
}

.american-deck-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px clamp(18px, 5vw, 70px);
  border-top: 1px solid rgba(242, 230, 195, 0.2);
  background: #080807;
}

.american-deck-footer p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 700;
}

.american-deck-footer div {
  display: flex;
  gap: 10px;
}

.american-deck-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(242, 230, 195, 0.28);
  color: var(--paper);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .american-deck-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 64px;
    padding-inline: 10px;
  }

  .american-back,
  .american-download {
    width: 42px;
    min-width: 42px;
    padding: 0;
    justify-content: center;
  }

  .american-back span,
  .american-download span,
  .american-deck-identity p {
    display: none;
  }

  .american-deck-identity strong {
    max-width: 62vw;
    font-size: 12px;
  }

  .american-deck-intro {
    min-height: min(520px, calc(100svh - 64px));
    padding: 70px 16px 55px;
  }

  .american-deck-intro h1 {
    font-size: clamp(48px, 17vw, 78px);
  }

  .american-page-gallery {
    width: calc(100% - 18px);
    gap: 18px;
  }

  .american-page-gallery figure {
    scroll-margin-top: 78px;
  }

  .american-page-gallery figcaption {
    min-height: 34px;
  }

  .american-deck-footer {
    display: block;
    padding: 30px 16px;
    text-align: center;
  }

  .american-deck-footer div {
    display: grid;
    margin-top: 24px;
  }

  .american-deck-footer a {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
