@font-face {
  font-family: "Brotheric Ink";
  src: url("../fonts/BrothericInkBleed.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Brotheric";
  src: url("../fonts/BrothericRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  /* Near-black with a warm undertone — not brown, not green */
  --field: #070605;
  --field-lift: #12100e;
  --type: #8f6e42;
  --type-soft: rgba(143, 110, 66, 0.85);
  --brass: rgba(196, 168, 120, 0.38);
  --brass-strong: rgba(214, 186, 138, 0.55);
  --blood: rgba(92, 28, 28, 0.55);
  --ink: #000000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  background: var(--ink);
  overflow: hidden;
}

body {
  display: block;
}

html:not(.is-ready) .deck-fit,
html:not(.is-ready) .deck-osd {
  visibility: hidden;
}

.deck-boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #070605;
  transition: opacity 0.7s ease;
}

html.is-ready .deck-boot {
  opacity: 0;
  pointer-events: none;
}

.deck-boot-field {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 48% at 50% 42%, #14110e 0%, transparent 70%),
    #070605;
}

.deck-boot-frame {
  position: absolute;
  inset: 4.5%;
  pointer-events: none;
}

.deck-boot-frame::before,
.deck-boot-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(168, 128, 82, 0.32);
}

.deck-boot-frame::after {
  inset: 0.55%;
  border-color: rgba(196, 168, 120, 0.42);
}

.deck-boot-inner {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 28rem;
  padding: 0 24px;
  text-align: center;
  animation: boot-rise 0.8s ease both;
}

.deck-boot-mark {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(220, 198, 158, 0.52);
}

.deck-boot-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.62em;
  margin: 0;
  padding: 0.2em 0.15em;
  font-family: "Brotheric Ink", serif;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
  background: linear-gradient(
    165deg,
    #e0c592 0%,
    #c4a06a 40%,
    #b08a52 65%,
    #d4b47a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0.12cqi 0.35cqi rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 0.55cqi rgba(168, 128, 82, 0.28));
}

.deck-boot-title .word {
  font-size: clamp(2.6rem, 7.2vw, 5.2rem);
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.deck-boot-title .join {
  font-size: clamp(1.95rem, 5.4vw, 3.9rem);
  letter-spacing: 0.06em;
  padding-inline: 0.06em;
  line-height: 1.35;
}

.deck-boot-line {
  margin: 8px 0 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(230, 214, 186, 0.72);
}

.deck-boot-track {
  width: min(14rem, 56vw);
  height: 1px;
  margin-top: 10px;
  background: rgba(168, 128, 82, 0.22);
}

.deck-boot-fill {
  width: 0;
  height: 100%;
  background: #c4a06a;
  transition: width 0.24s ease;
}

@keyframes boot-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.deck-boot-frame .tick {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(214, 186, 138, 0.55);
  border-style: solid;
}

.deck-boot-frame .tick.tl {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.deck-boot-frame .tick.tr {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.deck-boot-frame .tick.bl {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}

.deck-boot-frame .tick.br {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.deck-fit {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stage {
  width: min(100vw, calc((100vh - 56px) * 16 / 9));
  aspect-ratio: 16 / 9;
  height: auto;
  background: var(--field);
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  container-name: slide;
  isolation: isolate;
}

/* Detective desk — cover crop to 16:9 (type punch later) */
.desk {
  position: absolute;
  inset: 0;
  background: url("../assets/overlays/desk-collage.png") center 38% / cover
    no-repeat;
  filter: blur(6px) saturate(0.85) brightness(0.75) contrast(1.02);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

/* Mist floor — bottom third only */
.mist {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -4%;
  height: 52%;
  background: url("../assets/overlays/Overlay-maybe.png") center bottom / cover
    no-repeat;
  opacity: 0.88;
  mix-blend-mode: screen;
  filter: contrast(1.4) brightness(0.62) saturate(0.55);
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 42%,
    transparent 88%
  );
  mask-image: linear-gradient(to top, #000 0%, #000 42%, transparent 88%);
}

/* Soft edge falloff — light touch */
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    78% 72% at 50% 46%,
    transparent 42%,
    rgba(0, 0, 0, 0.38) 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* Film grain — very light, premium print feel */
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  z-index: 4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

/* Double hairline Victorian frame — CSS only until Figma corners land */
.frame {
  position: absolute;
  inset: 3.4%;
  pointer-events: none;
  z-index: 5;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--brass);
}

.frame::before {
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(92, 28, 28, 0.25);
}

.frame::after {
  inset: 0.55%;
  border-color: var(--brass-strong);
  opacity: 0.85;
}

/* Corner ticks — stand-ins until Streamline corners arrive */
.frame .tick {
  position: absolute;
  width: 1.6cqi;
  height: 1.6cqi;
  border-color: var(--brass-strong);
  border-style: solid;
  opacity: 0.9;
}

.frame .tick.tl {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.frame .tick.tr {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.frame .tick.bl {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}

.frame .tick.br {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

/* Cream-on-black PNG — screen knocks out the black plate */
.studio-mark {
  position: absolute;
  width: 9.5cqi;
  height: auto;
  opacity: 0.88;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 7;
  user-select: none;
  filter: brightness(1.15) contrast(1.05);
}

.studio-mark.br {
  right: 5.2%;
  bottom: 5.4%;
}

.studio-mark.tr {
  right: 4.2%;
  top: 4.8%;
  bottom: auto;
}

.studio-mark.tl {
  left: 4.2%;
  top: 4.8%;
  right: auto;
  bottom: auto;
}

.badge-aaa {
  margin: 0;
  padding: 0.45cqi 1.35cqi;
  color: rgba(232, 214, 186, 0.72);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.05cqi;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.15;
  white-space: nowrap;
  user-select: none;
  background: rgba(22, 14, 10, 0.28);
  border: 1px solid rgba(168, 128, 82, 0.42);
  border-radius: 999px;
  box-shadow: none;
}

.tag-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7cqi;
  flex-wrap: nowrap;
}

.title-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6cqi;
  z-index: 6;
  transform: translateY(-1.5%);
  overflow: visible;
}

.presents-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 92%;
  padding-inline: 0.6cqi;
}

.presents {
  margin: 0;
  color: rgba(236, 220, 192, 0.9);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.95cqi;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}

.presents-rule {
  width: 100%;
  height: 1px;
  margin: 0.85cqi 0 0.55cqi;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(168, 128, 82, 0.15) 12%,
    rgba(196, 152, 96, 0.7) 50%,
    rgba(168, 128, 82, 0.15) 88%,
    transparent 100%
  );
  position: relative;
}

.presents-rule::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.35cqi;
  height: 0.35cqi;
  transform: translate(-50%, -50%) rotate(45deg);
  background: rgba(196, 152, 96, 0.75);
  box-shadow: 0 0 0 1px rgba(22, 14, 10, 0.4);
}

.title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.62em;
  margin: 0;
  padding: 1.4cqi 1.2cqi 1.1cqi;
  font-family: "Brotheric Ink", serif;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
  user-select: none;
  overflow: visible;
  background: linear-gradient(
    165deg,
    #e0c592 0%,
    #c4a06a 40%,
    #b08a52 65%,
    #d4b47a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0.12cqi 0.35cqi rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 0.55cqi rgba(168, 128, 82, 0.28));
}

.title .word {
  font-size: 9.1667cqi;
  letter-spacing: 0.02em;
  line-height: 1.35;
  overflow: visible;
}

.title .join {
  font-size: 6.875cqi;
  letter-spacing: 0.06em;
  padding-inline: 0.06em;
  line-height: 1.35;
  overflow: visible;
}

.tagline {
  margin: 0;
  padding: 0.45cqi 1.6cqi;
  color: rgba(232, 214, 186, 0.72);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.05cqi;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.15;
  white-space: nowrap;
  user-select: none;
  background: rgba(22, 14, 10, 0.28);
  border: 1px solid rgba(168, 128, 82, 0.42);
  border-radius: 999px;
  box-shadow: none;
}

/* ——— Slide shell ——— */
.stage[hidden] {
  display: none !important;
}

/* ——— Slide 2: Characters ——— */
.char-field {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 50% at 50% 58%, #16120f 0%, transparent 70%),
    #070605;
  z-index: 0;
}

.corner-shade {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background: linear-gradient(
    128deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.42) 10%,
    rgba(0, 0, 0, 0.18) 20%,
    rgba(0, 0, 0, 0.06) 30%,
    rgba(0, 0, 0, 0) 40%
  );
}

.mist-soft {
  opacity: 0.45;
  filter: contrast(1.2) brightness(0.55) saturate(0.45);
}

.slide-head {
  position: absolute;
  top: 5.2%;
  left: 5.5%;
  z-index: 8;
  max-width: 52%;
  padding: 0;
  background: none;
  pointer-events: none;
  overflow: visible;
}

.stage[data-slide="2"] .slide-head {
  top: 3.2%;
  left: 3.6%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stage[data-slide="2"] .slide-title {
  padding: 0.1em 0.3em 0.15em !important;
  margin-inline: -0.1em;
}

.slide-title {
  margin: 0;
  padding: 0.3cqi 0.15cqi;
  font-family: "Brotheric Ink", serif;
  font-size: 4.2cqi;
  font-weight: 400;
  line-height: 1.2;
  background: linear-gradient(
    165deg,
    #d0ae78 0%,
    #9a794c 38%,
    #7a5d36 62%,
    #c49d68 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0.1cqi 0.3cqi rgba(0, 0, 0, 0.55));
}

.slide-line {
  margin: 0.55cqi 0 0;
  padding-left: 1.6cqi;
  max-width: 40cqi;
  color: rgba(236, 220, 192, 0.78);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.25cqi;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  line-height: 1.35;
  text-shadow: 0 0.12cqi 0.55cqi rgba(0, 0, 0, 0.9);
}

/* Tagline parked bottom-right — “to be continued” */
.slide-continue {
  position: absolute;
  right: 5.2%;
  bottom: 5.4%;
  z-index: 8;
  margin: 0;
  max-width: 46cqi;
  text-align: right;
  color: rgba(236, 220, 192, 0.58);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.05cqi;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.4;
  pointer-events: none;
  text-shadow: 0 0.12cqi 0.55cqi rgba(0, 0, 0, 0.9);
}

.stage:has(> .studio-mark.br) .slide-continue {
  right: 15.5%;
  bottom: 5.8%;
}

.stage[data-slide="2"] .slide-continue {
  position: static;
  right: auto;
  bottom: auto;
  max-width: none;
  margin-inline: -0.1em;
  margin-block: 0.15cqi 0;
  padding: 0.15em 0.3em 0;
  text-align: left;
}

.phalanx {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  pointer-events: none;
}

.bust {
  margin: 0;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
}

.bust-slot {
  position: relative;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(232, 204, 150, 0.28);
  background: #0a0806;
  overflow: visible;
  box-shadow:
    0 0 0 1px rgba(20, 14, 10, 0.55),
    0 0.25cqi 0 rgba(214, 186, 138, 0.14),
    0 1cqi 2.4cqi rgba(0, 0, 0, 0.65),
    0 2.4cqi 5cqi rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.bust-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bust-slot img,
.bust-slot .bust-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

.bust-slot .bust-vid {
  pointer-events: none;
}

.bust-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 5cqi 0.7cqi 2.2cqi;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(4, 3, 2, 0) 0%,
    rgba(4, 3, 2, 0.78) 38%,
    rgba(2, 1, 1, 0.97) 100%
  );
  pointer-events: none;
}

.bust-name {
  display: block;
  color: rgba(236, 220, 192, 0.94);
  font-family: "Brotheric Ink", serif;
  font-size: 1.55cqi;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.2;
}

.bust-role {
  display: block;
  margin-top: 0.22cqi;
  color: rgba(196, 152, 96, 0.72);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.82cqi;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.15;
}

.bust.a2 .bust-name {
  letter-spacing: 0.14em;
}

/* Crowley — same card; raise the portrait in-frame */
.bust.crowley {
  flex: 1.12 1 0;
  z-index: 6;
  margin-inline: -3cqi;
}

.bust.crowley .bust-slot {
  border-color: rgba(240, 214, 168, 0.92);
  box-shadow:
    0 0 0 1px rgba(20, 14, 10, 0.95),
    0 0.4cqi 0 rgba(214, 186, 138, 0.48),
    0 1.4cqi 3.2cqi rgba(0, 0, 0, 0.8),
    0 3.2cqi 7cqi rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(0, 0, 0, 0.55);
}

.bust.crowley img,
.bust.crowley .bust-vid {
  object-position: 49% 28%;
  transform: scale(1.38) translateY(-6%) translateX(1%);
  transform-origin: center 30%;
  filter: brightness(0.78) contrast(1.05);
}

.bust.crowley .bust-name {
  font-size: 1.85cqi;
}

/* Flanking — mirrored overlap L/R; border fades outward */
.bust.angled {
  z-index: 3;
}

.bust.a2 .bust-slot,
.bust.a3 .bust-slot {
  border-color: rgba(232, 204, 150, 0.52);
  box-shadow:
    0 0 0 1px rgba(20, 14, 10, 0.75),
    0 0.3cqi 0 rgba(214, 186, 138, 0.28),
    0 1.1cqi 2.6cqi rgba(0, 0, 0, 0.7),
    0 2.6cqi 5.5cqi rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(0, 0, 0, 0.45);
}

.bust.a1,
.bust.a4 {
  z-index: 2;
}

.bust.a2,
.bust.a3 {
  flex: 1.06 1 0;
  z-index: 5;
}

.bust.a1 {
  margin-right: -2.8cqi;
  transform: translateX(-2.2cqi);
}

.bust.a2 {
  margin-right: -3cqi;
  transform: translateX(-1.2cqi);
}

.bust.a3 {
  margin-left: -3cqi;
  transform: translateX(1.2cqi);
}

.bust.a4 {
  margin-left: -2.8cqi;
  transform: translateX(2.2cqi);
}

.bust.a1 img,
.bust.a1 .bust-vid {
  object-position: center 14%;
  transform: scale(1.12) translateX(13%);
  transform-origin: center 18%;
  filter: brightness(1.18) contrast(1.04);
}

.bust.a2 img,
.bust.a2 .bust-vid {
  object-position: 42% 6%;
  transform: none;
  filter: brightness(1.12) contrast(1.05);
}

.bust.a3 img,
.bust.a3 .bust-vid {
  object-position: 40% 10%;
  filter: brightness(0.68) contrast(1.05);
}

.bust.a2 .bust-meta {
  transform: translateX(-2.2cqi);
}

.bust.a3 .bust-meta {
  transform: translateX(2.2cqi);
}

.bust.a4 img,
.bust.a4 .bust-vid {
  object-position: center 6%;
  filter: brightness(0.68) contrast(1.05);
}

/* Ghost wings — tucked under outer edges */
.bust.ghost {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12cqi;
  height: auto;
  flex: none;
  z-index: 0;
  opacity: 0.18;
  filter: blur(0.2cqi);
  pointer-events: none;
}

.bust.ghost .bust-slot {
  height: 100%;
  border: none;
  box-shadow: none;
}

.bust.g1 {
  left: 0;
}

.bust.g2 {
  right: 0;
}

.ghost-slot {
  background: linear-gradient(
    180deg,
    rgba(30, 24, 18, 0.4) 0%,
    rgba(8, 6, 5, 0.9) 100%
  ) !important;
}

/* No brass frame on characters */
.stage[data-slide="2"] .frame {
  display: none;
}

/* ——— Slide 3: Crowley hero ——— */
.hero-still {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #050403;
  overflow: hidden;
}

.hero-still img,
.hero-still .hero-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 16%;
  transform: scale(1.34);
  transform-origin: right 18%;
  display: block;
  filter: brightness(0.92) contrast(1.04);
}

.hero-still .hero-vid {
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.48) 22%,
    rgba(0, 0, 0, 0.12) 42%,
    rgba(0, 0, 0, 0) 58%
  );
}

.hero-copy {
  position: absolute;
  left: 6.2%;
  top: 50%;
  transform: translateY(-52%);
  z-index: 8;
  max-width: 38cqi;
  pointer-events: none;
}

.hero-kicker {
  margin: 0 0 1.1cqi;
  color: rgba(196, 152, 96, 0.72);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.95cqi;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
}

.hero-name {
  margin: 0;
  padding: 0.3cqi 0.15cqi;
  font-family: "Brotheric Ink", serif;
  font-size: 6.4cqi;
  font-weight: 400;
  line-height: 1.05;
  background: linear-gradient(
    165deg,
    #d0ae78 0%,
    #9a794c 38%,
    #7a5d36 62%,
    #c49d68 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0.15cqi 0.4cqi rgba(0, 0, 0, 0.65));
}

.hero-role {
  margin: 0.55cqi 0 0;
  padding-left: 1.6cqi;
  color: rgba(236, 220, 192, 0.78);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.35cqi;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.2;
}

.hero-line {
  margin: 1.4cqi 0 0;
  padding-left: 1.6cqi;
  max-width: 34cqi;
  color: rgba(236, 220, 192, 0.74);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.2cqi;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.55;
  text-shadow: 0 0.12cqi 0.5cqi rgba(0, 0, 0, 0.85);
}

.stage[data-slide="3"] .studio-mark.tr {
  z-index: 9;
}

/* ——— Slide 4: Vesper — mirrored Crowley ——— */
.hero-still--mirror {
  background: #000;
}

.hero-still--mirror .hero-sil {
  position: absolute;
  left: 8%;
  bottom: 0;
  width: auto;
  height: 88%;
  max-width: 48%;
  object-fit: contain;
  object-position: left bottom;
  transform: none;
  display: block;
  mix-blend-mode: normal;
  filter: brightness(0.72) contrast(1.06) sepia(0.42) saturate(0.75)
    hue-rotate(-12deg) blur(0.2px);
  opacity: 0.92;
}

.hero-shade--mirror {
  background: linear-gradient(
    -105deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(8, 10, 14, 0.5) 22%,
    rgba(0, 0, 0, 0.14) 44%,
    rgba(0, 0, 0, 0) 60%
  );
}

.hero-copy--mirror {
  left: auto;
  right: 6.2%;
  text-align: right;
}

.hero-copy--mirror .hero-role,
.hero-copy--mirror .hero-line {
  padding-left: 0;
  padding-right: 1.6cqi;
  margin-left: auto;
}

.hero-copy--mirror .hero-line {
  max-width: 32cqi;
}

.hero-copy--mirror .hero-name {
  color: #c4a06a;
  -webkit-text-fill-color: #c4a06a;
  background: none;
}

.stage[data-slide="4"] .studio-mark.tl {
  z-index: 9;
}

/* ——— Slide 5: Environments & World ——— */
.env-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 55% at 55% 60%, #14110e 0%, transparent 72%),
    #070605;
}

.env-grid {
  position: absolute;
  left: 4.8%;
  right: 4.8%;
  top: 22%;
  bottom: 9%;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-areas:
    "a a a a b b b b c c c c"
    "d d d e e e f f f g g g"
    "h h h h i i i i j j j j";
  gap: 1cqi;
}

.env-window {
  margin: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55cqi;
}

.env-window[data-slot="env-a"] { grid-area: a; }
.env-window[data-slot="env-b"] { grid-area: b; }
.env-window[data-slot="env-c"] { grid-area: c; }
.env-window[data-slot="env-d"] { grid-area: d; }
.env-window[data-slot="env-e"] { grid-area: e; }
.env-window[data-slot="env-f"] { grid-area: f; }
.env-window[data-slot="env-g"] { grid-area: g; }
.env-window[data-slot="env-h"] { grid-area: h; }
.env-window[data-slot="env-i"] { grid-area: i; }
.env-window[data-slot="env-j"] { grid-area: j; }

.env-frame {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #0a0908;
  border: 1px solid rgba(168, 128, 82, 0.38);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.55);
}

.env-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.env-frame img[hidden] {
  display: none;
}

.env-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.05cqi;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(196, 168, 120, 0.28);
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 0.55cqi,
      rgba(168, 128, 82, 0.04) 0.55cqi,
      rgba(168, 128, 82, 0.04) 1.1cqi
    );
  pointer-events: none;
  user-select: none;
}

.env-window.is-filled .env-empty {
  display: none;
}

.env-label {
  margin: 0;
  padding-left: 0.15cqi;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.95cqi;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 220, 192, 0.72);
  line-height: 1;
}

.stage[data-slide="6"] .studio-mark.tr,
.stage[data-slide="7"] .studio-mark.tr {
  z-index: 9;
}

/* Concept Art — card shape matches the sheet */
.concept-grid {
  position: absolute;
  left: 3.5%;
  right: 3.5%;
  top: 17%;
  bottom: 4%;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7cqi;
}

.concept-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex: 0 0 auto;
  gap: 0.7cqi;
  min-height: 0;
}

.concept-row-wide {
  height: 30%;
}

.concept-row-five,
.concept-row-four {
  height: 32%;
}

.concept-row .env-window {
  flex: none;
  gap: 0;
  margin: 0;
  height: 100%;
  width: auto;
}

.concept-row-wide .env-window {
  aspect-ratio: 16 / 9;
}

.concept-row-five .env-window,
.concept-row-four .env-window {
  aspect-ratio: 2 / 3;
}

.concept-grid .env-frame {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.concept-grid .env-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.concept-grid .env-empty {
  font-size: 0.85cqi;
  letter-spacing: 0.22em;
}

/* ——— Slide 7: Monster / mythic ——— */
.myth-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(55% 50% at 42% 58%, #120c0c 0%, transparent 70%),
    #060405;
}

.myth-grid {
  position: absolute;
  left: 3.5%;
  right: 3.5%;
  top: 17%;
  bottom: 4%;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7cqi;
}

.myth-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex: 0 0 auto;
  gap: 0.7cqi;
  min-height: 0;
}

.myth-row-wide {
  height: 30%;
}

.myth-row-four,
.myth-row-three {
  height: 32%;
}

.myth-row .env-window {
  flex: none;
  gap: 0;
  margin: 0;
  height: 100%;
  width: auto;
}

.myth-row-wide .env-window {
  aspect-ratio: 1024 / 809;
}

.myth-row-four .env-window,
.myth-row-three .env-window {
  aspect-ratio: 2 / 3;
}

.myth-frame {
  border-color: rgba(140, 70, 70, 0.42);
  background: #080505;
}

.myth-grid .env-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.myth-grid .env-empty {
  color: rgba(180, 110, 110, 0.32);
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 0.55cqi,
      rgba(140, 70, 70, 0.05) 0.55cqi,
      rgba(140, 70, 70, 0.05) 1.1cqi
    );
}

.stage[data-slide="8"] .studio-mark.tr {
  z-index: 9;
}

/* ——— Slide 9: Play (gameplay + interactions) ——— */
.play-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(58% 52% at 38% 60%, #12100e 0%, transparent 72%),
    #070605;
}

.play-grid {
  position: absolute;
  left: 6.5%;
  right: 6.5%;
  top: 22%;
  bottom: 10.5%;
  z-index: 6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 1.2cqi;
  align-items: stretch;
}

.play-shot,
.play-panel {
  position: relative;
  min-height: 0;
}

.play-frame {
  border-color: rgba(168, 128, 82, 0.4);
}

.play-shot .play-frame img,
.play-panel .play-frame img {
  object-fit: contain;
  object-position: center;
}

.play-grid .env-empty {
  letter-spacing: 0.2em;
}

.stage[data-slide="9"] .studio-mark.tr {
  z-index: 9;
}

/* ——— Slide 9: Score ——— */
.score-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(50% 55% at 22% 58%, #16120f 0%, transparent 70%),
    radial-gradient(45% 50% at 72% 48%, #12100e 0%, transparent 68%),
    #070605;
}

.score-layout {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  pointer-events: auto;
}

.score-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3.2cqi;
  padding: 8% 8% 10% 4%;
}

.score-copy .slide-title {
  font-size: 4.4cqi;
}

.score-copy .slide-line {
  max-width: 38cqi;
  padding-left: 0;
  margin-top: 0.45cqi;
}

.gramo {
  --disc-r: 36cqi;
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.gramo-disc {
  position: absolute;
  left: calc(-1 * var(--disc-r));
  top: 50%;
  width: calc(var(--disc-r) * 2);
  height: calc(var(--disc-r) * 2);
  margin-top: calc(-1 * var(--disc-r));
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 50% 50%,
      #4a4038 0 11%,
      #2a2420 11.2% 12%,
      #35302c 12% 100%
    );
  box-shadow:
    0 0 0 0.18cqi rgba(214, 186, 138, 0.55),
    0 0 0 0.55cqi rgba(20, 14, 10, 0.9),
    0 1.6cqi 4cqi rgba(0, 0, 0, 0.7);
  transform: rotate(0deg);
  will-change: transform;
}

.gramo-disc.is-spinning {
  animation: gramo-spin 3.2s linear infinite;
}

@keyframes gramo-spin {
  to {
    transform: rotate(360deg);
  }
}

.gramo-grooves {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    rgba(214, 186, 138, 0.16) 0 0.12cqi,
    rgba(8, 6, 5, 0.55) 0.12cqi 0.38cqi
  );
  pointer-events: none;
}

.gramo-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    118deg,
    rgba(255, 236, 200, 0.16) 0%,
    transparent 28%,
    transparent 62%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
}

.gramo-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #e2c48a 0%, #9a7340 58%, #5c4124 100%);
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 0 0 0.22cqi rgba(40, 28, 14, 0.4),
    0 0 0 0.35cqi #1a1612;
  pointer-events: none;
}

.gramo-label span {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.15cqi;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(28, 18, 10, 0.82);
}

.gramo-spindle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.35cqi;
  height: 1.35cqi;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(160deg, #f0d8a4, #8a6840);
  box-shadow: 0 0 0 0.18cqi rgba(40, 28, 14, 0.55);
  z-index: 2;
  pointer-events: none;
}

.gramo-mount {
  --arm-l: 36cqi;
  --arm-deg: 8deg;
  position: absolute;
  left: 47.4%;
  top: 24.3%;
  width: 5.8cqi;
  height: 5.8cqi;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.gramo-plinth {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, #3a3228 0%, #16120e 58%, #0a0806 100%);
  box-shadow:
    0 0 0 0.18cqi rgba(20, 14, 10, 0.95),
    0 0.45cqi 1.2cqi rgba(0, 0, 0, 0.55),
    inset 0 0.15cqi 0.35cqi rgba(214, 186, 138, 0.12);
}

.gramo-collar {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background:
    conic-gradient(
      from 210deg,
      #c4a878 0 8%,
      #7a5a32 18%,
      #e2c48a 32%,
      #6a4a26 48%,
      #d4b06c 62%,
      #5c4124 78%,
      #c4a878 100%
    );
  box-shadow:
    inset 0 0 0 0.12cqi rgba(40, 28, 14, 0.45),
    0 0 0 0.12cqi rgba(20, 14, 10, 0.7);
}

.gramo-cap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.35cqi;
  height: 2.35cqi;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #f0d8a4 0%, #9a7340 46%, #3e2c14 100%);
  box-shadow:
    0 0 0 0.16cqi rgba(20, 14, 10, 0.7),
    inset 0 0.12cqi 0.2cqi rgba(255, 236, 200, 0.28);
  pointer-events: none;
  z-index: 6;
}

.gramo-arm {
  --arm-deg: inherit;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5.6cqi;
  height: var(--arm-l);
  transform: translateX(-50%) rotate(var(--arm-deg));
  transform-origin: 50% 0;
  cursor: grab;
  touch-action: none;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gramo-arm.is-dragging {
  cursor: grabbing;
  transition: none;
}

.gramo-arm-hit {
  position: absolute;
  left: 28%;
  top: -3.2cqi;
  right: 28%;
  bottom: -0.4cqi;
}

.gramo-counter {
  position: absolute;
  left: 50%;
  top: -3.55cqi;
  width: 2.55cqi;
  height: 2.15cqi;
  transform: translateX(-50%);
  border-radius: 0.35cqi;
  background:
    linear-gradient(180deg, #6a5840 0 28%, #2a2016 28% 42%, #1a140e 42% 100%);
  box-shadow:
    0 0.25cqi 0.5cqi rgba(0, 0, 0, 0.5),
    inset 0 0.08cqi 0.15cqi rgba(214, 186, 138, 0.18);
  pointer-events: none;
}

.gramo-rear {
  position: absolute;
  left: 50%;
  top: -1.55cqi;
  width: 0.7cqi;
  height: 2.1cqi;
  transform: translateX(-50%);
  border-radius: 0.2cqi;
  background: linear-gradient(90deg, #5c4124, #c4a878 45%, #7a582c);
  pointer-events: none;
}

.gramo-tube {
  position: absolute;
  left: 50%;
  top: 0.85cqi;
  width: 0.72cqi;
  height: calc(var(--arm-l) - 6.15cqi);
  transform: translateX(-50%);
  border-radius: 0.28cqi;
  background: linear-gradient(90deg, #5a4024, #d2b078 42%, #8a6534 78%, #3e2c14);
  box-shadow: 0 0.25cqi 0.55cqi rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.gramo-yoke {
  position: absolute;
  left: 50%;
  top: calc(var(--arm-l) - 5.2cqi);
  width: 1.15cqi;
  height: 1.05cqi;
  transform: translateX(-55%) rotate(18deg);
  border-radius: 0.22cqi;
  background: linear-gradient(160deg, #d4b06c, #6a4a26);
  box-shadow: 0 0.12cqi 0.28cqi rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.gramo-shell {
  position: absolute;
  left: 50%;
  top: calc(var(--arm-l) - 4.55cqi);
  width: 1.85cqi;
  height: 3.15cqi;
  transform: translateX(-68%) rotate(21deg);
  transform-origin: 50% 0;
  border-radius: 0.35cqi 0.35cqi 0.85cqi 0.85cqi;
  background:
    linear-gradient(180deg, rgba(255, 236, 200, 0.16) 0 18%, transparent 42%),
    linear-gradient(110deg, #c4a878 0%, #7a582c 42%, #3e2c14 100%);
  box-shadow:
    0 0.25cqi 0.5cqi rgba(0, 0, 0, 0.45),
    inset 0 0 0 0.1cqi rgba(40, 28, 14, 0.35);
  pointer-events: none;
}

.gramo-cart {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0.12cqi;
  height: 1.45cqi;
  border-radius: 0.18cqi 0.18cqi 0.28cqi 0.28cqi;
  background:
    linear-gradient(180deg, #2a241c 0 35%, #12100c 100%);
  box-shadow: inset 0 0 0 0.08cqi rgba(214, 186, 138, 0.18);
}

.gramo-stylus {
  position: absolute;
  left: 46%;
  bottom: -1.15cqi;
  width: 0.13cqi;
  height: 1.2cqi;
  background: linear-gradient(180deg, #c8c2b4, #6a665c);
  border-radius: 0.08cqi 0.08cqi 50% 50%;
  box-shadow: 0 0.12cqi 0.2cqi rgba(0, 0, 0, 0.5);
}

.gramo-stylus::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.12cqi;
  width: 0.28cqi;
  height: 0.28cqi;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f0ebe0, #8a8478);
  box-shadow: 0 0 0.18cqi rgba(0, 0, 0, 0.45);
}

.score-cues {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2cqi;
  max-width: 40cqi;
}

.score-cue {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6cqi;
  align-items: center;
}

.score-play {
  width: 5.6cqi;
  height: 5.6cqi;
  border-radius: 50%;
  border: 1px solid rgba(196, 168, 120, 0.55);
  background:
    radial-gradient(circle at 35% 30%, rgba(196, 168, 120, 0.18), transparent 55%),
    rgba(12, 10, 8, 0.92);
  box-shadow:
    0 0 0 0.35cqi rgba(0, 0, 0, 0.35),
    inset 0 0 0 0.15cqi rgba(214, 186, 138, 0.15);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.score-play:hover {
  border-color: rgba(214, 186, 138, 0.85);
}

.score-play.is-playing {
  border-color: rgba(214, 186, 138, 0.95);
  background:
    radial-gradient(circle at 35% 30%, rgba(196, 168, 120, 0.28), transparent 55%),
    rgba(22, 16, 12, 0.95);
}

.score-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.75cqi 0 0.75cqi 1.25cqi;
  border-color: transparent transparent transparent rgba(236, 220, 192, 0.9);
  margin-left: 0.25cqi;
}

.score-play.is-playing .score-play-icon {
  width: 1.05cqi;
  height: 1.2cqi;
  margin-left: 0;
  border: none;
  background:
    linear-gradient(
      90deg,
      rgba(236, 220, 192, 0.9) 0 0.35cqi,
      transparent 0.35cqi 0.7cqi,
      rgba(236, 220, 192, 0.9) 0.7cqi 1.05cqi
    );
}

.score-cue-name {
  margin: 0;
  font-family: "Brotheric Ink", serif;
  font-size: 2.4cqi;
  font-weight: 400;
  line-height: 1.1;
  background: linear-gradient(
    165deg,
    #d0ae78 0%,
    #9a794c 38%,
    #7a5d36 62%,
    #c49d68 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.score-cue-desc {
  margin: 0.45cqi 0 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.15cqi;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(236, 220, 192, 0.72);
  max-width: 28cqi;
}

.stage[data-slide="11"] .studio-mark.br {
  z-index: 9;
  right: 4.2%;
  bottom: 5.2%;
}

/* ——— Slide 9: World building ——— */
.lore-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(48% 55% at 42% 52%, rgba(168, 128, 82, 0.08) 0%, transparent 70%),
    radial-gradient(55% 50% at 78% 40%, #12100e 0%, transparent 72%),
    #070605;
}

.lore-graph {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color-scheme: only light;
  pointer-events: auto;
  /* Keep graph readable on the right; fade under left copy */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 18%,
    rgba(0, 0, 0, 0.35) 28%,
    #000 38%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 18%,
    rgba(0, 0, 0, 0.35) 28%,
    #000 38%,
    #000 100%
  );
}

.lore-copy {
  position: absolute;
  left: 5.5%;
  top: 6.5%;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35cqi;
  max-width: 34cqi;
  pointer-events: none;
}

.lore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9cqi;
  width: 100%;
}

.lore-text .slide-title {
  font-size: 4.2cqi;
  padding-left: 0 !important;
  padding-right: 0.25em !important;
  margin-inline: 0 !important;
}

.lore-text .slide-line {
  margin: 0;
  max-width: 32cqi;
  padding-left: 0.55cqi;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.15cqi;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-transform: none;
  color: rgba(236, 220, 192, 0.78);
  text-shadow: 0 0.2cqi 1.2cqi rgba(0, 0, 0, 0.85);
}

.lore-scale {
  margin: 0;
  max-width: 32cqi;
  padding-left: 0.55cqi;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.05cqi;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  color: rgba(196, 160, 106, 0.88);
  text-shadow: 0 0.2cqi 1.2cqi rgba(0, 0, 0, 0.85);
}

.lore-graph-hint {
  margin: 0;
  padding-left: 0.55cqi;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9cqi;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(236, 220, 192, 0.42);
}

.lore-capsules {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55cqi;
  max-width: 32cqi;
  padding-left: 0.55cqi;
  box-sizing: border-box;
}

.lore-capsule {
  padding: 0.4cqi 0.9cqi;
  border: 1px solid rgba(168, 128, 82, 0.32);
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95cqi;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: rgba(236, 220, 192, 0.72);
  background: rgba(7, 6, 5, 0.45);
}

.stage[data-slide="10"] .studio-mark.br {
  z-index: 9;
}

.stage[data-slide="10"] .frame {
  z-index: 7;
  pointer-events: none;
}

.stage[data-slide="10"] .vignette,
.stage[data-slide="10"] .grain,
.stage[data-slide="10"] .mist {
  z-index: 3;
  pointer-events: none;
}

/* ——— Slide 5: Lore + systems ——— */
.sys-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(48% 55% at 28% 42%, rgba(168, 128, 82, 0.07) 0%, transparent 70%),
    radial-gradient(50% 48% at 78% 62%, #12100e 0%, transparent 72%),
    #070605;
}

.sys-grid {
  position: absolute;
  left: 6.5%;
  right: 6.5%;
  top: 18%;
  bottom: 16%;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(30cqi, 0.78fr);
  column-gap: 3.4cqi;
  align-items: stretch;
}

.sys-copy {
  display: flex;
  flex-direction: column;
  gap: 1.7cqi;
  min-width: 0;
}

.sys-lore-lead {
  margin: 0;
  font-family: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 1.52cqi;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(236, 220, 192, 0.84);
}

.sys-scale {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(168, 128, 82, 0.32);
  border-bottom: 1px solid rgba(168, 128, 82, 0.32);
  padding: 0.85cqi 0;
}

.sys-stat {
  display: flex;
  flex-direction: column;
  gap: 0.12cqi;
  padding: 0 0.2cqi;
}

.sys-stat + .sys-stat {
  border-left: 1px solid rgba(168, 128, 82, 0.22);
  padding-left: 0.9cqi;
}

.sys-stat-num {
  margin: 0;
  font-family: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 2.15cqi;
  font-weight: 700;
  line-height: 1.15;
  color: #c4a06a;
}

.sys-stat-label {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.88cqi;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 220, 192, 0.46);
}

.sys-mech {
  min-height: 0;
}

.sys-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.sys-list li {
  display: grid;
  grid-template-columns: 6.4cqi 1fr;
  gap: 0.8cqi;
  align-items: baseline;
  padding: 0.55cqi 0;
  border-top: 1px solid rgba(168, 128, 82, 0.16);
  font-family: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 1.12cqi;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(236, 220, 192, 0.72);
}

.sys-list li:last-child {
  border-bottom: 1px solid rgba(168, 128, 82, 0.16);
}

.sys-verb {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.92cqi;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4a06a;
}

.sys-spec {
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 1.15cqi 1.35cqi 1.2cqi;
  border: 1px solid rgba(168, 128, 82, 0.38);
  background: rgba(18, 15, 12, 0.72);
  box-sizing: border-box;
}

.sys-kicker {
  margin: 0 0 0.55cqi;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.95cqi;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(196, 168, 120, 0.7);
}

.sys-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4cqi 0.5cqi;
}

.sys-mech .lore-capsule {
  max-width: 100%;
  font-size: 0.88cqi;
  letter-spacing: 0.04em;
  line-height: 1.3;
  padding: 0.35cqi 0.75cqi;
}

.sys-table {
  width: 100%;
  border-collapse: collapse;
}

.sys-table th,
.sys-table td {
  padding: 0.38cqi 0.35cqi;
  text-align: left;
  vertical-align: baseline;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.98cqi;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(236, 220, 192, 0.74);
  border-bottom: 1px solid rgba(168, 128, 82, 0.16);
}

.sys-table thead th {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.92cqi;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(196, 168, 120, 0.62);
  border-bottom: 1px solid rgba(168, 128, 82, 0.32);
}

.sys-table tbody th {
  width: 18%;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.92cqi;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 220, 192, 0.48);
}

.sys-spec-note {
  margin: auto 0 0;
  padding-top: 0.85cqi;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92cqi;
  font-weight: 400;
  color: rgba(236, 220, 192, 0.48);
}

.stage[data-slide="5"] .studio-mark.br {
  z-index: 9;
}

/* ——— Slide 13: Close / ask ——— */
.close-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(58% 52% at 50% 48%, #14110e 0%, transparent 72%),
    #070605;
}

.close-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 22%;
  opacity: 0.2;
  filter: blur(2px) saturate(0.6) brightness(0.48);
  pointer-events: none;
}

.close-layout {
  position: absolute;
  left: 6.5%;
  right: 6.5%;
  top: 14%;
  bottom: 10%;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(32cqi, 0.82fr);
  align-items: stretch;
  gap: 3.6cqi;
}

.close-mission,
.close-ask {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.close-mission {
  justify-content: flex-start;
  gap: 1.7cqi;
  padding: 0.4cqi 1cqi 0.2cqi 0;
}

.close-ask {
  justify-content: flex-start;
  gap: 0.85cqi;
  padding: 1.5cqi 1.7cqi 1.55cqi;
  border: 1px solid rgba(168, 128, 82, 0.38);
  background: rgba(12, 10, 8, 0.78);
}

.close-kicker {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.95cqi;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(196, 168, 120, 0.7);
}

.close-lead {
  margin: 0;
  max-width: 46cqi;
  font-family: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 1.48cqi;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(236, 220, 192, 0.86);
}

.close-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 42cqi;
  margin-top: auto;
  border-top: 1px solid rgba(168, 128, 82, 0.32);
  border-bottom: 1px solid rgba(168, 128, 82, 0.32);
  padding: 0.85cqi 0;
}

.close-stat {
  display: flex;
  flex-direction: column;
  gap: 0.12cqi;
  padding: 0 0.2cqi;
}

.close-stat + .close-stat {
  border-left: 1px solid rgba(168, 128, 82, 0.22);
  padding-left: 0.85cqi;
}

.close-stat-num {
  margin: 0;
  font-family: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 2.05cqi;
  font-weight: 700;
  line-height: 1.15;
  color: #c4a06a;
}

.close-stat-label {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.84cqi;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 220, 192, 0.46);
}

.close-amount {
  margin: 0.15cqi 0 0;
  font-family: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 5.4cqi;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #c4a06a;
}

.close-use {
  margin: 0;
  font-family: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 1.12cqi;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(236, 220, 192, 0.78);
}

.close-funds {
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
}

.close-funds div {
  display: grid;
  grid-template-columns: 8.4cqi 1fr;
  gap: 0.7cqi;
  align-items: baseline;
  padding: 0.62cqi 0;
  border-top: 1px solid rgba(168, 128, 82, 0.18);
}

.close-funds div:last-child {
  border-bottom: 1px solid rgba(168, 128, 82, 0.18);
}

.close-funds dt {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.88cqi;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4a06a;
}

.close-funds dd {
  margin: 0;
  font-family: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 1.02cqi;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(236, 220, 192, 0.72);
}

.stage[data-slide="13"] .studio-mark.br {
  z-index: 9;
}

.deck-chrome {
  position: absolute;
  width: min(100vw, calc((100vh - 56px) * 16 / 9));
  aspect-ratio: 16 / 9;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 40;
  container-type: inline-size;
}

.deck-music {
  pointer-events: auto;
  position: absolute;
  left: auto;
  top: auto;
  right: 16.2%;
  bottom: 5.8%;
  width: 3.1cqi;
  height: 3.1cqi;
  border-radius: 50%;
  border: 1px solid rgba(196, 168, 120, 0.28);
  background: rgba(8, 6, 5, 0.28);
  box-shadow: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.deck-music:hover,
.deck-music:focus-visible {
  opacity: 0.82;
  border-color: rgba(196, 168, 120, 0.4);
  background: rgba(8, 6, 5, 0.32);
}

.deck-music-icon {
  width: 1.5cqi;
  height: 1.5cqi;
  display: block;
  background: rgba(236, 220, 192, 0.82);
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.deck-music-icon.is-on-icon {
  -webkit-mask-image: url("../assets/icons/volume.svg");
  mask-image: url("../assets/icons/volume.svg");
}

.deck-music-icon.is-off-icon {
  -webkit-mask-image: url("../assets/icons/volume-off.svg");
  mask-image: url("../assets/icons/volume-off.svg");
}

.deck-music.is-hidden {
  display: none;
}

.deck-music.is-on .is-off-icon,
.deck-music:not(.is-on) .is-on-icon {
  display: none;
}

.deck-osd {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  height: 56px;
  overflow: hidden;
  pointer-events: none;
}

.deck-osd-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 56px;
  min-height: 56px;
  padding: 0 22px;
  background: #0c0a08;
  border-top: 1px solid rgba(168, 128, 82, 0.34);
}

.deck-osd-brand,
.deck-osd-title,
.deck-osd-page {
  margin: 0;
  color: rgba(230, 214, 186, 0.82);
}

.deck-osd-brand {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  overflow: visible;
  font-family: "Brotheric Ink", serif;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  color: #c4a06a;
}

.deck-osd-brand .word {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.deck-osd-brand .join {
  font-size: 14px;
  letter-spacing: 0.06em;
}

.deck-osd-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(230, 214, 186, 0.5);
}

.deck-osd-nav,
.deck-osd-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.deck-osd-page {
  min-width: 4.6em;
  text-align: center;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.deck-osd-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(230, 214, 186, 0.78);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.deck-osd-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.deck-osd-btn:hover,
.deck-osd-btn:focus-visible {
  color: #f0e2c4;
}

.deck-osd-btn[aria-pressed="true"] .is-enter,
.deck-osd-btn:not([aria-pressed="true"]) .is-exit {
  display: none;
}

.deck-osd-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
}

.deck-osd-dots .deck-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(196, 168, 120, 0.5);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  appearance: none;
  opacity: 0.75;
}

.deck-osd-dots .deck-dot.is-on {
  background: #c4a06a;
  border-color: #c4a06a;
  opacity: 1;
}

.deck-osd-dots .deck-dot:hover,
.deck-osd-dots .deck-dot:focus-visible {
  opacity: 1;
  border-color: #e6d3b0;
}

/*
  Brotheric Ink flourishes get sheared by background-clip:text + filter.
  Cover (.title) keeps the metallic clip; everywhere else uses solid brass fill.
*/
/* ——— Slide 12: Comps ——— */
.comp-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(48% 55% at 32% 40%, rgba(168, 128, 82, 0.07) 0%, transparent 70%),
    radial-gradient(50% 48% at 80% 68%, #12100e 0%, transparent 72%),
    #070605;
}

.comp-grid {
  position: absolute;
  left: 6.5%;
  right: 6.5%;
  top: 22%;
  bottom: 10.5%;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1cqi;
}

.comp-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.3cqi 1.25cqi 1.15cqi;
  border: 1px solid rgba(168, 128, 82, 0.3);
  background: rgba(8, 7, 6, 0.68);
}

.comp-name {
  margin: 0;
  font-family: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 1.75cqi;
  font-weight: 700;
  line-height: 1.25;
  color: #c4a06a;
}

.comp-why {
  margin: 0.55cqi 0 1.1cqi;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1cqi;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(236, 220, 192, 0.62);
}

.comp-stats {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55cqi;
  flex: 1;
}

.comp-stats div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.6cqi;
  padding-bottom: 0.4cqi;
  border-bottom: 1px solid rgba(168, 128, 82, 0.16);
}

.comp-stats dt {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 0.92cqi;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(236, 220, 192, 0.46);
}

.comp-stats dd {
  margin: 0;
  font-family: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 1.55cqi;
  font-weight: 400;
  line-height: 1.15;
  color: #c4a06a;
}

.comp-src {
  margin: 1cqi 0 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.82cqi;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(236, 220, 192, 0.38);
}

.stage[data-slide="12"] .studio-mark.br {
  z-index: 9;
}

.slide-title,
.hero-name,
.score-cue-name,
.sys-stat-num,
.comp-name,
.comp-stats dd,
.close-stat-num,
.close-amount {
  display: inline-block;
  max-width: 100%;
  box-sizing: content-box;
  padding: 0.4em 0.3em 0.35em !important;
  margin-inline: -0.1em;
  margin-block: -0.15em 0;
  line-height: 1.5 !important;
  overflow: visible !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #c4a06a !important;
  -webkit-text-fill-color: #c4a06a !important;
  filter: none !important;
  text-shadow:
    0 0.08em 0.16em rgba(0, 0, 0, 0.72),
    0 0 0.4em rgba(168, 128, 82, 0.26);
}

.slide-head,
.hero-copy,
.lore-copy,
.score-copy,
.close-card {
  overflow: visible !important;
}

.bust-name {
  line-height: 1.55 !important;
  padding: 0.4em 0.15em 0.32em !important;
  overflow: visible !important;
}

.bust-media > .bust-vid,
.bust-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



