:root {
  --bg: #060606;
  --panel: rgba(12, 12, 12, 0.78);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f4f1ea;
  --muted: #aba59a;
  --accent: #d8d1c1;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #020202 0%, #080808 50%, #030303 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

body.policy-page {
  overflow: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.04));
  opacity: 0.3;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient,
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-left {
  background: radial-gradient(circle at 18% 34%, rgba(255, 255, 255, 0.06), transparent 25%);
}

.ambient-right {
  background: radial-gradient(circle at 80% 26%, rgba(255, 255, 255, 0.05), transparent 24%);
}

.scanlines {
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 9px
  );
  opacity: 0.06;
}

.topbar {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  padding: 14px 18px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.62);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.brand-text,
.topnav a,
.eyebrow,
.flow-number,
.status-row span {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-text {
  overflow: hidden;
  font-family: "Syncopate", sans-serif;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topnav {
  display: flex;
  gap: 20px;
}

.topnav a {
  font-size: 0.68rem;
  color: var(--muted);
}

.deck {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.slide {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 108px 24px 44px;
}

.slide-with-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.62;
  pointer-events: none;
}

.slide::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1180px, calc(100% - 24px));
  height: calc(100% - 48px);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero-slide::after {
  background-image:
    linear-gradient(180deg, rgba(4, 4, 4, 0.34), rgba(4, 4, 4, 0.5)),
    url("./assets/hero-bg.png");
}

.what-slide::after {
  background-image:
    linear-gradient(180deg, rgba(4, 4, 4, 0.38), rgba(4, 4, 4, 0.54)),
    url("./assets/what-bg.png");
}

.lore-slide::after {
  background-image:
    linear-gradient(180deg, rgba(4, 4, 4, 0.32), rgba(4, 4, 4, 0.5)),
    url("./assets/lore-bg.png");
}

.loop-slide::after {
  background-image:
    linear-gradient(180deg, rgba(4, 4, 4, 0.34), rgba(4, 4, 4, 0.5)),
    url("./assets/loop-bg.png");
}

.slide-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
}

.title-layout,
.game-layout,
.lore-layout {
  display: grid;
  place-items: center;
}

.lore-split {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: stretch;
  gap: 24px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.title-block {
  max-width: 840px;
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.4), rgba(8, 8, 8, 0.58));
  text-align: center;
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  color: var(--muted);
}

.title-block h1,
.panel h2,
.section-heading h2 {
  margin: 0;
  font-family: "Syncopate", sans-serif;
  font-weight: 700;
  line-height: 1.08;
}

.studio-title h1 {
  font-size: clamp(2.4rem, 6.8vw, 5.8rem);
}

.title-tag {
  margin: 24px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.panel {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.slide-with-art .panel {
  background: rgba(8, 8, 8, 0.64);
}

.game-card {
  max-width: 760px;
  text-align: center;
}

.game-card h2 {
  margin-bottom: 14px;
  font-size: clamp(3.8rem, 9vw, 7rem);
}

.game-line {
  margin-top: 0;
  color: var(--text);
  font-size: 1.04rem;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.status-row span {
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  font-size: 0.66rem;
}

.lore-layout .panel {
  max-width: 960px;
}

.lore-split .panel {
  max-width: none;
}

.panel h2,
.section-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.panel p,
.flow-body p,
.responsibility p {
  color: var(--muted);
  line-height: 1.85;
}

.story-copy {
  display: grid;
  gap: 18px;
}

.lore-highlights {
  align-self: end;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.68), rgba(10, 10, 10, 0.56));
}

.highlight-list {
  display: grid;
  gap: 12px;
}

.highlight-pill {
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  line-height: 1.5;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.flow-stack {
  display: grid;
  gap: 18px;
}

.flow-row,
.responsibility {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
}

.flow-row {
  grid-template-columns: 92px 1fr;
  align-items: start;
}

.flow-number {
  padding-top: 4px;
  color: var(--accent);
  font-family: "Syncopate", sans-serif;
  font-size: 0.88rem;
}

.flow-body h3,
.responsibility h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.responsibility-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.policy-shell {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 118px 0 48px;
}

.policy-card h1 {
  margin: 0;
  font-family: "Syncopate", sans-serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.08;
}

.policy-updated {
  margin: 16px 0 34px;
  color: var(--accent);
}

.policy-card section {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.policy-card section + section {
  margin-top: 24px;
}

.policy-card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.policy-card p {
  margin: 0;
}

@media (max-width: 900px) {
  .two-column,
  .lore-split,
  .responsibility-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .topbar {
    top: 12px;
    width: calc(100% - 16px);
    padding: 14px;
    border-radius: 24px;
  }

  .topnav {
    display: none;
  }

  .brand-text {
    font-size: 0.68rem;
  }

  .deck {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    scroll-snap-type: y proximity;
  }

  .slide {
    min-height: auto;
    padding: 100px 16px 28px;
  }

  .slide::before {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }

  .studio-title h1 {
    font-size: 2.2rem;
  }

  .game-card h2 {
    font-size: 3.2rem;
  }

  .panel,
  .flow-row,
  .responsibility {
    padding: 20px;
  }

  .flow-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
