:root {
  --ink: #191614;
  --paper: #f1e7d2;
  --bone: #fff8e8;
  --ash: #6f6a60;
  --smoke: rgba(25, 22, 20, 0.68);
  --line: rgba(25, 22, 20, 0.16);
  --gold: #b9893b;
  --blue: #185a72;
  --green: #526a48;
  --red: #8a3a33;
  --shadow: 0 28px 80px rgba(18, 14, 9, 0.22);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.5), transparent 16rem),
    radial-gradient(circle at 82% 22%, rgba(24, 90, 114, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(185, 137, 59, 0.08), rgba(82, 106, 72, 0.08));
}

.rail {
  position: fixed;
  z-index: 10;
  inset: 0 auto 0 0;
  width: 240px;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: rgba(255, 248, 232, 0.78);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.sigil {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.08em;
}

#deckNav {
  display: grid;
  gap: 6px;
}

#deckNav a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 8px;
  border-left: 3px solid transparent;
  text-decoration: none;
  color: var(--ash);
  font-size: 13px;
}

#deckNav a.active {
  border-color: var(--gold);
  color: var(--ink);
  background: rgba(185, 137, 59, 0.1);
}

.rail-meta {
  margin-top: auto;
  display: grid;
  gap: 8px;
  color: var(--ash);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.deck {
  position: relative;
  z-index: 1;
  margin-left: 240px;
}

.slide {
  min-height: 100vh;
  padding: 64px 72px 88px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.cover {
  grid-template-columns: minmax(340px, 0.9fr) minmax(380px, 1fr);
  gap: 54px;
}

.hero-media {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: center;
}

.hero-media img {
  width: min(100%, 620px);
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(25, 22, 20, 0.22);
}

.pulse-rings {
  position: absolute;
  inset: 12% -4% auto auto;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(24, 90, 114, 0.45);
  box-shadow:
    0 0 0 24px rgba(24, 90, 114, 0.08),
    0 0 0 58px rgba(185, 137, 59, 0.08),
    0 0 0 96px rgba(82, 106, 72, 0.06);
}

.cover-copy {
  max-width: 720px;
}

.kicker,
.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 78px;
  line-height: 0.95;
  font-weight: 700;
}

h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1.02;
  font-weight: 700;
  max-width: 980px;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.15;
}

.lede {
  max-width: 660px;
  color: var(--smoke);
  font-size: 24px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.metric-strip button {
  min-height: 92px;
  padding: 16px;
  text-align: left;
  background: rgba(255, 248, 232, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-strip span,
.three-up span,
.team-grid span,
.funding-board span {
  display: block;
  color: var(--ash);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.split,
.image-left,
.visual {
  grid-template-columns: minmax(340px, 0.75fr) minmax(460px, 1fr);
  gap: 54px;
}

.copy-col p {
  color: var(--smoke);
  font-size: 20px;
  max-width: 680px;
}

.copy-col.wide {
  max-width: 920px;
}

.claim-list {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.claim,
.realm-toggle button,
.filter-row button,
.character {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.68);
  padding: 10px 16px;
  text-align: left;
}

.claim.active,
.realm-toggle button.active,
.filter-row button.active,
.character.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.proof-col,
.panel,
.character-card,
.ask-card {
  background: rgba(255, 248, 232, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof-col {
  min-height: 390px;
  padding: 34px;
  display: grid;
  align-items: center;
}

.panel,
.realm-card,
.beat-card {
  display: none;
}

.panel.active,
.realm-card.active,
.beat-card.active {
  display: block;
}

.panel {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.panel p,
.realm-card p,
.beat-card p,
.character-card p,
.funding-board p,
.team-grid p,
.inventory-grid p,
.ask-steps p {
  color: var(--smoke);
  font-size: 18px;
}

.portrait-frame img {
  width: min(100%, 520px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(25, 22, 20, 0.22);
  box-shadow: var(--shadow);
}

.three-up,
.team-grid,
.funding-board,
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.three-up article,
.team-grid article,
.funding-board article,
.inventory-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 232, 0.62);
  border-radius: 8px;
}

.section-head {
  align-self: end;
  margin-bottom: 28px;
}

.realm-toggle,
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.realm-stage {
  position: relative;
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(360px, 0.7fr) 1fr;
  gap: 36px;
  align-items: center;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 248, 232, 0.62);
  border-radius: 8px;
}

.realm-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--smoke);
  font-size: 17px;
}

.vibration-map {
  position: relative;
  height: 320px;
}

.vibration-map span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(24, 90, 114, 0.32);
  transform: translate(-50%, -50%);
}

.vibration-map span:nth-child(2) { width: 56%; border-color: rgba(185, 137, 59, 0.4); }
.vibration-map span:nth-child(3) { width: 40%; border-color: rgba(82, 106, 72, 0.45); }
.vibration-map span:nth-child(4) { width: 24%; border-color: rgba(138, 58, 51, 0.45); }
.vibration-map span:nth-child(5) {
  width: 10%;
  background: var(--ink);
  border-color: var(--ink);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}

.beat {
  min-height: 112px;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 248, 232, 0.64);
  border-radius: 8px;
}

.beat span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beat.active {
  color: var(--paper);
  background: var(--ink);
}

.beat.active span {
  color: var(--gold);
}

.beat-card {
  max-width: 900px;
  min-height: 230px;
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 232, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.character-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.character-card {
  max-width: 980px;
  min-height: 300px;
  padding: 36px;
}

.visual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.visual-tags span {
  padding: 10px 14px;
  background: rgba(24, 90, 114, 0.1);
  border: 1px solid rgba(24, 90, 114, 0.18);
  border-radius: 999px;
  font-weight: 800;
}

.gallery-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.gallery-card {
  position: relative;
  min-height: 450px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(25, 22, 20, 0.22);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  display: block;
}

.gallery-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 38px;
  padding: 10px 12px;
  color: var(--paper);
  background: rgba(25, 22, 20, 0.74);
  border-radius: 6px;
  text-align: left;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-grid article {
  min-height: 320px;
}

.funding-board article:nth-child(1) { border-top: 6px solid var(--blue); }
.funding-board article:nth-child(2) { border-top: 6px solid var(--gold); }
.funding-board article:nth-child(3) { border-top: 6px solid var(--green); }

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.asset-card {
  display: grid;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.74);
  text-decoration: none;
}

.asset-card img {
  width: 100%;
  height: 164px;
  object-fit: cover;
  background: rgba(25, 22, 20, 0.08);
}

.asset-card .asset-copy {
  padding: 14px;
}

.asset-card strong {
  display: block;
  line-height: 1.15;
}

.asset-card span {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.asset-card[data-type="video"] span { background: var(--red); }
.asset-card[data-type="docs"] span { background: var(--green); }
.asset-card[data-type="local"] span { background: var(--ink); }

.inventory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inventory-grid article {
  min-height: 230px;
}

.ask {
  min-height: calc(100vh - 0px);
  place-items: center;
}

.ask-card {
  width: min(1080px, 100%);
  padding: 44px;
}

.ask-card h2 {
  max-width: 860px;
}

.ask-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.ask-steps article {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(185, 137, 59, 0.09);
}

.ask-steps span {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 900;
}

.controls {
  position: fixed;
  z-index: 20;
  left: 268px;
  right: 28px;
  bottom: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.controls button,
.modal-close {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(25, 22, 20, 0.24);
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.88);
  backdrop-filter: blur(14px);
  font-weight: 800;
}

.progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(25, 22, 20, 0.12);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--green));
}

dialog {
  width: min(92vw, 1040px);
  border: 0;
  padding: 18px;
  background: var(--bone);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(25, 22, 20, 0.72);
}

dialog img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

.modal-close {
  margin-bottom: 12px;
}

@media (max-width: 1080px) {
  .rail {
    inset: 0 0 auto 0;
    width: auto;
    height: 72px;
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
  }

  #deckNav {
    display: none;
  }

  .rail-meta {
    margin-left: auto;
    margin-top: 0;
  }

  .deck {
    margin-left: 0;
    padding-top: 72px;
  }

  .slide {
    padding: 42px 26px 84px;
  }

  .cover,
  .split,
  .image-left,
  .visual,
  .realm-stage {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media img,
  .portrait-frame img {
    width: min(100%, 520px);
  }

  .three-up,
  .team-grid,
  .funding-board,
  .inventory-grid,
  .timeline,
  .asset-grid,
  .ask-steps {
    grid-template-columns: 1fr 1fr;
  }

  .controls {
    left: 16px;
    right: 16px;
  }
}

@media (max-width: 680px) {
  .brand span:last-child {
    display: none;
  }

  .rail {
    height: 64px;
  }

  .deck {
    padding-top: 64px;
  }

  .slide {
    padding: 34px 18px 86px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 31px;
  }

  .lede,
  .copy-col p {
    font-size: 18px;
  }

  .metric-strip,
  .three-up,
  .team-grid,
  .funding-board,
  .inventory-grid,
  .timeline,
  .asset-grid,
  .ask-steps,
  .gallery-stack {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card img {
    min-height: 320px;
  }
}

/* Cinematic studio-read layer */
:root {
  --ink: #f7efe1;
  --paper: #090b0f;
  --bone: #141820;
  --ash: #bcb2a3;
  --smoke: rgba(247, 239, 225, 0.74);
  --line: rgba(247, 239, 225, 0.16);
  --gold: #d7a341;
  --blue: #5cc5da;
  --green: #89a85e;
  --red: #d55749;
  --violet: #7161ff;
  --shadow: 0 34px 120px rgba(0, 0, 0, 0.54);
  color-scheme: dark;
}

body {
  background:
    radial-gradient(circle at 64% 12%, rgba(92, 197, 218, 0.14), transparent 28rem),
    radial-gradient(circle at 18% 72%, rgba(215, 163, 65, 0.12), transparent 24rem),
    linear-gradient(145deg, #07080b 0%, #11171e 45%, #090b0f 100%);
}

body.intro-active {
  overflow: hidden;
}

.grain {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 74% 18%, rgba(92, 197, 218, 0.16), transparent 24rem),
    radial-gradient(circle at 20% 82%, rgba(213, 87, 73, 0.12), transparent 20rem);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.portal-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 0.78fr);
  gap: 5vw;
  align-items: center;
  padding: 5vw 6vw;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 28% 22%, rgba(92, 197, 218, 0.22), transparent 24rem),
    radial-gradient(circle at 74% 80%, rgba(215, 163, 65, 0.14), transparent 26rem),
    #050608;
  transition: opacity 480ms ease, visibility 480ms ease;
}

.portal-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.portal-world {
  position: relative;
  min-height: min(80vh, 820px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(247, 239, 225, 0.18);
  box-shadow: var(--shadow);
  background: #07080b;
}

.portal-world img {
  width: 100%;
  height: 100%;
  min-height: min(80vh, 820px);
  object-fit: cover;
  transform-origin: 50% 22%;
  filter: saturate(1.1) contrast(1.06);
}

.portal-intro.is-entering .portal-world img {
  animation: portalZoom 1850ms cubic-bezier(0.76, 0, 0.19, 1) forwards;
}

.portal-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 22%, transparent 0 7%, rgba(92, 197, 218, 0.18) 8%, transparent 16%),
    radial-gradient(circle at 50% 22%, transparent 0 32%, rgba(0, 0, 0, 0.72) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.portal-target {
  position: absolute;
  left: 50%;
  top: 22%;
  width: 16%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(92, 197, 218, 0.74);
  box-shadow:
    0 0 0 18px rgba(92, 197, 218, 0.08),
    0 0 0 44px rgba(215, 163, 65, 0.08),
    0 0 52px rgba(92, 197, 218, 0.38);
  animation: targetPulse 2200ms ease-in-out infinite;
}

.portal-copy {
  position: relative;
  z-index: 2;
  max-width: 670px;
  transition: transform 600ms ease, opacity 500ms ease;
}

.portal-intro.is-entering .portal-copy {
  opacity: 0;
  transform: translateY(20px);
}

.portal-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.86;
}

.portal-copy p:not(.kicker) {
  max-width: 540px;
  color: var(--smoke);
  font-size: 24px;
}

.portal-copy button {
  margin-top: 32px;
  min-height: 56px;
  padding: 14px 22px;
  border: 1px solid rgba(215, 163, 65, 0.6);
  border-radius: 999px;
  color: #08090c;
  background: linear-gradient(135deg, #f2c76b, var(--gold));
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 18px 60px rgba(215, 163, 65, 0.24);
}

@keyframes portalZoom {
  0% {
    transform: scale(1);
    filter: saturate(1.1) contrast(1.06);
  }
  68% {
    transform: scale(5.5);
    filter: saturate(1.45) contrast(1.18) brightness(1.08);
  }
  100% {
    transform: scale(9.4);
    filter: saturate(1.8) contrast(1.28) brightness(1.25);
  }
}

@keyframes targetPulse {
  0%, 100% { opacity: 0.64; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.rail {
  background: rgba(7, 8, 11, 0.72);
  border-right: 1px solid rgba(247, 239, 225, 0.12);
  box-shadow: 22px 0 80px rgba(0, 0, 0, 0.22);
}

.brand,
#deckNav a.active {
  color: var(--ink);
}

.sigil {
  color: #08090c;
  background: linear-gradient(135deg, #f2c76b, var(--gold));
  border-color: rgba(215, 163, 65, 0.74);
}

#deckNav a {
  color: rgba(247, 239, 225, 0.55);
}

#deckNav a.active {
  background: rgba(92, 197, 218, 0.12);
  border-color: var(--blue);
}

.slide {
  position: relative;
  border-bottom: 1px solid rgba(247, 239, 225, 0.11);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 86% 22%, rgba(92, 197, 218, 0.08), transparent 24rem);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(215, 163, 65, 0.1), transparent 22%, transparent 78%, rgba(92, 197, 218, 0.08));
  opacity: 0.72;
}

.slide > * {
  position: relative;
  z-index: 1;
}

.cover {
  grid-template-columns: minmax(380px, 0.8fr) minmax(420px, 0.85fr);
  background:
    radial-gradient(circle at 29% 20%, rgba(92, 197, 218, 0.2), transparent 28rem),
    radial-gradient(circle at 80% 80%, rgba(213, 87, 73, 0.12), transparent 24rem),
    #050608;
}

.poster-pull img,
.portrait-frame img,
.gallery-card,
.proof-col,
.beat-card,
.character-card,
.ask-card {
  border-color: rgba(247, 239, 225, 0.18);
  box-shadow: var(--shadow);
}

.poster-pull img {
  width: min(100%, 660px);
  border-radius: 0;
  filter: saturate(1.14) contrast(1.08);
}

.pulse-rings {
  border-color: rgba(92, 197, 218, 0.56);
  box-shadow:
    0 0 0 24px rgba(92, 197, 218, 0.08),
    0 0 0 58px rgba(215, 163, 65, 0.08),
    0 0 0 96px rgba(213, 87, 73, 0.06),
    0 0 90px rgba(92, 197, 218, 0.32);
}

.kicker,
.eyebrow,
.beat span {
  color: var(--gold);
}

h1,
h2 {
  text-wrap: balance;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.lede {
  color: rgba(247, 239, 225, 0.82);
}

.metric-strip button,
.claim,
.realm-toggle button,
.filter-row button,
.character,
.three-up article,
.team-grid article,
.funding-board article,
.inventory-grid article,
.asset-card,
.proof-col,
.beat-card,
.character-card,
.ask-card,
.realm-stage {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  border-color: rgba(247, 239, 225, 0.16);
  backdrop-filter: blur(16px);
}

.metric-strip button:hover,
.asset-card:hover,
.gallery-card:hover,
.claim:hover,
.character:hover,
.beat:hover {
  border-color: rgba(92, 197, 218, 0.55);
  transform: translateY(-2px);
}

.metric-strip button,
.asset-card,
.gallery-card,
.claim,
.character,
.beat {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.claim.active,
.realm-toggle button.active,
.filter-row button.active,
.character.active,
.beat.active {
  color: #07080b;
  background: linear-gradient(135deg, var(--blue), #d8f7ff);
  border-color: rgba(92, 197, 218, 0.76);
}

.beat.active span {
  color: #07080b;
}

.copy-col p,
.panel p,
.realm-card p,
.beat-card p,
.character-card p,
.funding-board p,
.team-grid p,
.inventory-grid p,
.ask-steps p,
.asset-card strong {
  color: rgba(247, 239, 225, 0.74);
}

.three-up article strong,
.metric-strip strong {
  color: var(--ink);
}

.case-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.case-board article {
  min-height: 300px;
  padding: 22px;
  border: 1px solid rgba(247, 239, 225, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 80% 0%, rgba(215, 163, 65, 0.12), transparent 12rem);
}

.case-board span {
  display: block;
  margin-bottom: 26px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.case-board p {
  color: rgba(247, 239, 225, 0.72);
  font-size: 17px;
}

.vibration-map span {
  border-color: rgba(92, 197, 218, 0.5);
  box-shadow: 0 0 40px rgba(92, 197, 218, 0.12);
}

.controls button,
.modal-close {
  color: var(--ink);
  background: rgba(7, 8, 11, 0.78);
  border-color: rgba(247, 239, 225, 0.2);
}

.progress {
  background: rgba(247, 239, 225, 0.12);
}

.progress span {
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--red), var(--green));
}

dialog {
  background: #090b0f;
}

@media (max-width: 1180px) {
  .portal-intro,
  .cover,
  .split,
  .image-left,
  .visual {
    grid-template-columns: 1fr;
  }

  .portal-world {
    min-height: 52vh;
  }

  .portal-world img {
    min-height: 52vh;
  }

  .case-board,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .rail {
    background: rgba(7, 8, 11, 0.84);
  }
}

@media (max-width: 680px) {
  .portal-intro {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .portal-copy h1 {
    font-size: 48px;
  }

  .portal-copy p:not(.kicker) {
    font-size: 18px;
  }

  .case-board {
    grid-template-columns: 1fr;
  }
}
