@font-face {
  font-family: "MindSync Korean";
  src: url("./assets/NotoSansKR-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink-0: #030507;
  --ink-1: #070c11;
  --ink-2: #0b1219;
  --ink-3: #111b24;
  --line: rgba(202, 225, 235, 0.14);
  --line-strong: rgba(202, 225, 235, 0.25);
  --text: #f2f6f7;
  --muted: #91a2aa;
  --soft: #c4d0d4;
  --brand-blue: #1684ff;
  --brand-violet: #7f3cff;
  --cyan: #5fcfff;
  --cyan-bright: #b0eaff;
  --cyan-dim: rgba(61, 153, 255, 0.13);
  --amber: #e7b678;
  --success: #78e6bb;
  --danger: #ff947d;
  --radius-lg: 24px;
  --radius-md: 14px;
  --shadow: 0 36px 100px rgba(0, 0, 0, 0.48);
  font-family: "MindSync Korean", Inter, Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink-0);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(9, 16, 22, 0.36), rgba(3, 5, 7, 0.92)),
    radial-gradient(circle at 50% -20%, #17243d 0, #070b12 38%, #030507 72%);
  letter-spacing: -0.015em;
}

button,
a,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.ambient {
  position: fixed;
  z-index: 0;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.08;
}

.ambient-cyan {
  top: 10vh;
  left: -28vw;
  background: var(--brand-blue);
}

.ambient-amber {
  right: -34vw;
  bottom: -20vw;
  background: var(--brand-violet);
}

.brand-world-bg {
  position: fixed;
  z-index: 0;
  top: -9vw;
  right: -2vw;
  width: min(1280px, 88vw);
  aspect-ratio: 16 / 9;
  pointer-events: none;
  background: url("./assets/mindsync-world.png") center / cover no-repeat;
  filter: saturate(0.95) brightness(0.84) blur(0.2px);
  opacity: 0.2;
  -webkit-mask-image: radial-gradient(ellipse at 58% 38%, #000 0%, rgba(0, 0, 0, 0.78) 38%, transparent 78%);
  mask-image: radial-gradient(ellipse at 58% 38%, #000 0%, rgba(0, 0, 0, 0.78) 38%, transparent 78%);
  mix-blend-mode: screen;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.topbar {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1520px, calc(100% - 64px));
  min-height: 112px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  color: var(--text);
  text-decoration: none;
}

.brand-logo-frame {
  position: relative;
  display: block;
  width: 170px;
  height: 98px;
  overflow: hidden;
}

.brand-logo {
  position: absolute;
  top: -32px;
  left: 0;
  display: block;
  width: 170px;
  height: 170px;
  filter:
    brightness(1.72)
    saturate(1.16)
    drop-shadow(0 0 1px rgba(228, 237, 255, 0.72))
    drop-shadow(0 0 12px rgba(65, 119, 255, 0.2));
}

.mode-switch {
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 5, 7, 0.48);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.mode-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  color: #81939b;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition: 180ms ease;
}

.mode-button:hover {
  color: var(--soft);
}

.mode-button.is-active {
  color: #eef8fa;
  background: #15212a;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.05);
}

.mode-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-violet));
  box-shadow: 0 0 12px rgba(61, 148, 255, 0.8);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.connection-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(3, 7, 10, 0.5);
  font-size: 11px;
  font-weight: 600;
}

.connection-light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #68767c;
}

.connection-pill.is-ready .connection-light {
  background: var(--success);
  box-shadow: 0 0 10px rgba(120, 230, 187, 0.74);
}

.connection-pill.is-warning .connection-light {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(231, 182, 120, 0.58);
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #9babb2;
  background: rgba(5, 10, 14, 0.7);
  cursor: pointer;
  place-items: center;
  transition: 180ms ease;
}

.icon-button:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--ink-3);
}

.icon-button svg,
.fullscreen-button svg,
.primary-button svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.game-hero {
  position: relative;
  display: grid;
  min-height: clamp(700px, 94svh, 900px);
  overflow: hidden;
  border-bottom: 1px solid rgba(101, 160, 255, 0.16);
  isolation: isolate;
  place-items: center;
}

.game-hero-image,
.game-hero-glow {
  position: absolute;
  pointer-events: none;
}

.game-hero-image {
  z-index: -3;
  inset: -2%;
  background: url("./assets/case24-cover.png") center 28% / cover no-repeat;
  filter: brightness(0.62) saturate(1.22) contrast(1.05);
  animation: game-hero-breathe 16s ease-in-out infinite alternate;
}

.game-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 5, 9, 0.96) 0%, rgba(2, 6, 11, 0.84) 32%, rgba(3, 7, 13, 0.26) 69%, rgba(2, 5, 9, 0.68) 100%),
    linear-gradient(180deg, rgba(2, 5, 9, 0.36) 0%, rgba(3, 6, 10, 0.05) 42%, #03070b 86%, #030507 100%);
  content: "";
}

.game-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(126, 189, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 189, 255, 0.15) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 52%);
  mask-image: linear-gradient(90deg, #000, transparent 52%);
  content: "";
}

.game-hero-glow {
  z-index: -1;
  top: 6%;
  right: 8%;
  width: min(650px, 48vw);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.23;
  background: radial-gradient(circle, rgba(79, 159, 255, 0.56), rgba(94, 63, 255, 0.13) 42%, transparent 70%);
  filter: blur(24px);
  animation: game-hero-glow 5s ease-in-out infinite;
}

.game-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 176px 0 126px;
}

.game-hero-copy {
  max-width: 820px;
}

.game-hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #a9b9c4;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.2em;
}

.game-hero-kicker span {
  width: 33px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(95, 207, 255, 0.75);
}

.game-hero-copy h1 {
  margin: 0;
  font-size: clamp(54px, 6.2vw, 94px);
  font-weight: 720;
  letter-spacing: -0.072em;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 10px 45px rgba(0, 0, 0, 0.42);
}

.game-hero-copy h1 span {
  color: #aab6c1;
  font-weight: 430;
}

.game-hero-lead {
  margin: 31px 0 0;
  color: #c0ccd2;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 390;
  letter-spacing: -0.035em;
  line-height: 1.65;
}

.game-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 37px;
}

.game-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 174px;
  min-height: 55px;
  padding: 0 22px 0 26px;
  border: 1px solid rgba(164, 224, 255, 0.42);
  border-radius: 9px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, #176dff, #6645ed);
  box-shadow: 0 16px 42px rgba(41, 86, 236, 0.3), inset 0 1px rgba(255, 255, 255, 0.18);
  font-size: 14px;
  font-weight: 740;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.game-hero-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 18px 48px rgba(41, 113, 255, 0.42), inset 0 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.game-hero-primary svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.game-hero-duration {
  color: #70838e;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.18em;
}

.hero-control-guide {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, minmax(112px, 1fr));
  align-items: stretch;
  width: min(820px, 100%);
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(153, 207, 234, 0.2);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(6, 15, 23, 0.88), rgba(9, 16, 29, 0.72));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26), inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
}

.hero-control-guide-title,
.hero-control-item {
  min-width: 0;
  min-height: 94px;
  padding: 17px 16px;
}

.hero-control-guide-title {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(153, 207, 234, 0.14);
  background: linear-gradient(135deg, rgba(26, 102, 190, 0.2), rgba(83, 56, 176, 0.13));
}

.hero-control-guide-title span {
  color: var(--cyan);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-control-guide-title strong {
  color: #f3f8fb;
  font-size: 15px;
  font-weight: 740;
  letter-spacing: -0.025em;
}

.hero-control-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  border-right: 1px solid rgba(153, 207, 234, 0.1);
  text-align: center;
}

.hero-control-item:last-child {
  border-right: 0;
}

.hero-control-item-first {
  background: rgba(95, 207, 255, 0.045);
}

.hero-control-item p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.hero-control-item b {
  color: #eaf4f8;
  font-size: 11px;
  font-weight: 720;
}

.hero-control-item small {
  color: #82959e;
  font-size: 8px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.guide-mouse {
  position: relative;
  display: block;
  width: 22px;
  height: 31px;
  border: 1px solid rgba(176, 234, 255, 0.72);
  border-radius: 11px;
  box-shadow: 0 0 18px rgba(95, 207, 255, 0.15);
}

.guide-mouse::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 12px;
  background: rgba(176, 234, 255, 0.5);
  content: "";
}

.guide-mouse::after {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(95, 207, 255, 0.75);
  content: "";
  transform: translateX(-50%);
}

.guide-keys {
  display: grid;
  grid-template-columns: repeat(3, 17px);
  grid-template-rows: repeat(2, 17px);
  gap: 2px;
}

.guide-keys kbd {
  display: grid;
  height: 17px;
  padding: 0;
  border: 1px solid rgba(173, 213, 232, 0.28);
  border-radius: 4px;
  color: #dceaf0;
  background: rgba(8, 18, 27, 0.85);
  box-shadow: inset 0 -2px rgba(0, 0, 0, 0.26);
  font-family: inherit;
  font-size: 8px;
  font-weight: 720;
  line-height: 1;
  place-items: center;
}

.guide-keys kbd:first-child {
  grid-column: 2;
}

.guide-keys kbd:nth-child(2) {
  grid-column: 1;
}

.guide-keys kbd:nth-child(3) {
  grid-column: 2;
}

.guide-keys kbd:nth-child(4) {
  grid-column: 3;
}

.guide-number-keys {
  display: flex;
  gap: 3px;
}

.guide-number-keys kbd {
  display: grid;
  width: 22px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(173, 213, 232, 0.3);
  border-radius: 6px;
  color: #dceaf0;
  background: rgba(8, 18, 27, 0.85);
  box-shadow: inset 0 -3px rgba(0, 0, 0, 0.28);
  font-family: inherit;
  font-size: 9px;
  font-weight: 780;
  place-items: center;
}

.game-hero-flow {
  display: grid;
  grid-template-columns: auto minmax(42px, 100px) auto minmax(42px, 100px) auto;
  align-items: center;
  width: min(690px, 100%);
  margin-top: 78px;
}

.game-hero-flow div {
  display: grid;
  gap: 6px;
}

.game-hero-flow b {
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.game-hero-flow span {
  color: #bac7cc;
  font-size: 11px;
  font-weight: 650;
}

.game-hero-flow i {
  height: 1px;
  margin: 0 18px;
  background: linear-gradient(90deg, rgba(95, 207, 255, 0.12), rgba(95, 207, 255, 0.62), rgba(95, 207, 255, 0.12));
}

.game-hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #647781;
  text-decoration: none;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.22em;
  transform: translateX(-50%);
}

.game-hero-scroll i {
  position: relative;
  width: 1px;
  height: 29px;
  overflow: hidden;
  background: rgba(143, 196, 219, 0.19);
}

.game-hero-scroll i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 70%;
  background: var(--cyan);
  animation: game-hero-scroll 2s ease-in-out infinite;
  content: "";
}

.main-content {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 82px 0 72px;
  scroll-margin-top: 16px;
}

.hero-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 27px;
}

.eyebrow {
  margin: 0 0 11px;
  color: #7c8c94;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--cyan);
}

.hero-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 57px);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 1;
}

.hero-summary {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin: 0 0 4px;
  color: #91a0a6;
  font-size: clamp(11px, 0.86vw, 13px);
  line-height: 1.75;
  text-align: right;
  white-space: nowrap;
}

.scenario-picker {
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid rgba(135, 181, 203, 0.13);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(18, 35, 47, 0.72), rgba(6, 11, 16, 0.9)),
    rgba(6, 11, 16, 0.92);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.scenario-picker-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}

.scenario-picker-heading h2 {
  margin: 0;
  color: #edf8fa;
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 570;
  letter-spacing: -0.04em;
}

.scenario-picker-heading > p {
  max-width: 420px;
  margin: 0 0 2px;
  color: #7e929b;
  font-size: 10px;
  line-height: 1.55;
  text-align: right;
}

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

.scenario-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(155px, 0.42fr) minmax(0, 0.58fr);
  min-height: 184px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(141, 177, 192, 0.15);
  border-radius: 15px;
  color: inherit;
  background: rgba(3, 8, 12, 0.72);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.scenario-card:hover,
.scenario-card:focus-visible {
  border-color: rgba(115, 220, 234, 0.5);
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.25);
  outline: none;
  transform: translateY(-2px);
}

.scenario-card.is-selected {
  border-color: rgba(110, 219, 240, 0.72);
  box-shadow: 0 0 0 1px rgba(91, 180, 245, 0.18), 0 17px 42px rgba(5, 49, 86, 0.3);
}

.scenario-card:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.scenario-card-art {
  position: relative;
  display: block;
  min-height: 184px;
  overflow: hidden;
  border-right: 1px solid rgba(158, 196, 211, 0.11);
  background: #07131d;
}

.scenario-card-art::before,
.scenario-card-art::after,
.scenario-card-art i {
  position: absolute;
  display: block;
  content: "";
}

.scenario-card-art-restaurant {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(1, 5, 8, 0.5)),
    radial-gradient(circle at 50% 23%, rgba(255, 173, 90, 0.36), transparent 32%),
    linear-gradient(145deg, #243334, #0b161d 66%);
}

.scenario-card-art-restaurant::before {
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 38px, rgba(191, 143, 83, 0.09) 39px 40px);
}

.restaurant-table {
  left: 8%;
  right: 8%;
  bottom: 12%;
  height: 37%;
  border-radius: 50% 50% 7px 7px;
  background: linear-gradient(180deg, #71412e, #2d1c18);
  box-shadow: 0 15px 23px rgba(0, 0, 0, 0.5);
}

.restaurant-light {
  top: 4%;
  left: 50%;
  width: 4px;
  height: 34%;
  background: rgba(242, 186, 117, 0.5);
  box-shadow: 0 0 28px 15px rgba(255, 170, 73, 0.15);
}

.restaurant-phone {
  right: 19%;
  bottom: 29%;
  width: 19px;
  height: 34px;
  border: 2px solid #485d67;
  border-radius: 4px;
  background: linear-gradient(160deg, #112a3b, #05080b);
  box-shadow: 0 0 12px rgba(91, 180, 245, 0.4);
  transform: rotate(12deg);
}

.scenario-card-art-subway {
  background:
    linear-gradient(180deg, rgba(1, 7, 13, 0.08), rgba(1, 4, 8, 0.46)),
    linear-gradient(135deg, #17364c, #07141e 72%);
}

.scenario-card-art-subway::before {
  top: 12%;
  right: 10%;
  bottom: 12%;
  left: 10%;
  border: 2px solid rgba(141, 190, 211, 0.32);
  border-radius: 20px 20px 5px 5px;
  background: linear-gradient(90deg, rgba(9, 24, 34, 0.7) 49%, rgba(125, 177, 201, 0.2) 50% 51%, rgba(9, 24, 34, 0.7) 52%);
}

.scenario-card-art-subway::after {
  right: 0;
  bottom: 17%;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #337edc, #78dce9, #337edc);
  box-shadow: 0 0 13px rgba(86, 202, 235, 0.5);
}

.subway-window {
  top: 23%;
  left: 16%;
  width: 24%;
  height: 35%;
  border: 1px solid rgba(155, 215, 236, 0.26);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(53, 115, 149, 0.3), rgba(2, 7, 11, 0.7));
}

.subway-door {
  top: 14%;
  right: 13%;
  width: 36%;
  height: 68%;
  border: 1px solid rgba(167, 211, 226, 0.22);
  background: linear-gradient(90deg, transparent 48%, rgba(183, 219, 231, 0.24) 49% 51%, transparent 52%);
}

.subway-line {
  top: 8%;
  left: 18%;
  width: 64%;
  height: 3px;
  border-radius: 10px;
  background: #7bc7e5;
  box-shadow: 0 0 12px rgba(104, 203, 235, 0.58);
}

.scenario-card-copy {
  display: flex;
  min-width: 0;
  padding: 22px 23px 20px;
  flex-direction: column;
}

.scenario-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}

.scenario-card-meta b {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.scenario-card-meta small {
  color: #61747d;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.scenario-card-copy > strong {
  color: #edf7fa;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 590;
  letter-spacing: -0.04em;
}

.scenario-card-copy > span:not(.scenario-card-meta) {
  margin-top: 7px;
  color: #9fb0b7;
  font-size: 11px;
}

.scenario-card-copy > em {
  margin-top: auto;
  padding-top: 16px;
  color: #647880;
  font-size: 10px;
  font-style: normal;
  line-height: 1.55;
}

.scenario-card-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(127, 174, 191, 0.22);
  border-radius: 50%;
  color: transparent;
  background: rgba(2, 7, 11, 0.58);
  place-items: center;
  font-size: 11px;
}

.scenario-card.is-selected .scenario-card-check {
  border-color: rgba(127, 226, 240, 0.62);
  color: #e8fcff;
  background: linear-gradient(135deg, #187dd8, #5c55e7);
}

.scenario-badge {
  max-width: 220px;
  overflow: hidden;
  padding: 5px 8px;
  border: 1px solid rgba(112, 208, 229, 0.22);
  border-radius: 999px;
  color: #bfeaf1;
  background: rgba(31, 126, 166, 0.12);
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-scenario-id="case25"] .scenario-badge {
  border-color: rgba(151, 135, 255, 0.3);
  color: #d8d2ff;
  background: rgba(94, 74, 209, 0.14);
}

.stage-shell {
  overflow: hidden;
  border: 1px solid rgba(113, 151, 255, 0.17);
  border-radius: var(--radius-lg);
  background: rgba(7, 12, 16, 0.92);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.025);
}

.stage-topline,
.stage-footer {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 20px 0 24px;
}

.stage-topline {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.stage-identity,
.stage-actions,
.footer-metadata,
.control-legend,
.live-indicator {
  display: flex;
  align-items: center;
}

.stage-identity {
  gap: 13px;
  color: #7f8f96;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.live-indicator {
  gap: 8px;
  color: #c8d5d9;
}

.live-indicator i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 10px rgba(255, 148, 125, 0.68);
}

.stage-shell[data-mode="dev"] .live-indicator i {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(115, 220, 234, 0.68);
}

.stage-divider {
  width: 1px;
  height: 14px;
  background: var(--line);
}

.stage-actions {
  gap: 8px;
}

.text-button,
.fullscreen-button {
  border: 0;
  color: #93a3aa;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.text-button {
  padding: 9px 10px;
}

.text-button:hover {
  color: var(--text);
}

.danger-text-button {
  color: rgba(255, 147, 132, 0.86);
}

.danger-text-button:hover {
  color: #ffad9f;
}

.fullscreen-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.fullscreen-button:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.fullscreen-button svg {
  width: 14px;
}

.media-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: #040607;
}

.stage-poster,
.quest-video,
.development-frame,
.poster-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-poster {
  z-index: 0;
  object-fit: cover;
  filter: saturate(0.68) brightness(0.42) contrast(1.08);
  transform: scale(1.01);
}

.poster-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 7, 9, 0.4), transparent 38%, rgba(3, 6, 8, 0.16)),
    linear-gradient(180deg, rgba(2, 5, 7, 0.1), rgba(2, 5, 7, 0.45));
  backdrop-filter: blur(1.5px);
}

.quest-video {
  z-index: 4;
  display: none;
  border: 0;
  background: #000;
  object-fit: contain;
}

.development-frame {
  z-index: 4;
  display: none;
  border: 0;
  background: #020304;
}

.media-stage.has-live-video .quest-video,
.media-stage.has-development .development-frame {
  display: block;
}

.stage-placeholder {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(700px, calc(100% - 44px));
  transform: translate(-50%, -50%);
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.placeholder-glyph {
  position: relative;
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 25px;
  border: 1px solid rgba(108, 126, 255, 0.3);
  border-radius: 50%;
  background: rgba(5, 19, 23, 0.52);
  box-shadow: 0 0 54px rgba(87, 103, 255, 0.15);
  place-items: center;
}

.placeholder-glyph span {
  position: absolute;
  width: 1px;
  height: 24px;
  background: var(--cyan);
  opacity: 0.75;
}

.placeholder-glyph span:first-child {
  transform: translateX(-7px) scaleY(0.6);
}

.placeholder-glyph span:nth-child(2) {
  transform: scaleY(1.15);
}

.placeholder-glyph span:last-child {
  transform: translateX(7px) scaleY(0.8);
}

.code-glyph {
  color: var(--cyan-bright);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.placeholder-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.2em;
}

.stage-placeholder h2 {
  margin: 0;
  font-size: clamp(24px, 2.65vw, 36px);
  font-weight: 520;
  letter-spacing: -0.05em;
}

.stage-placeholder > p:not(.placeholder-kicker):not(.secure-note) {
  max-width: 440px;
  margin: 14px 0 25px;
  color: #a1b0b6;
  font-size: 13px;
  line-height: 1.7;
}

.primary-button,
.secondary-button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: 180ms ease;
}

.presentation-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.preview-actions {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.preview-actions .secondary-button {
  margin-top: 0;
}

.preview-note {
  min-height: 14px;
}

.casting-link {
  display: inline-flex;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  align-items: center;
  gap: 9px;
  color: #c0cdd1;
  background: rgba(5, 11, 15, 0.78);
  font-size: 11px;
  font-weight: 680;
  text-decoration: none;
  transition: 180ms ease;
}

.casting-link:hover {
  border-color: rgba(115, 220, 234, 0.36);
  color: var(--cyan-bright);
  background: rgba(11, 24, 29, 0.88);
}

.casting-link span,
.button-step {
  display: grid;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
  place-items: center;
}

.casting-link b {
  color: #71838a;
  font-weight: 500;
}

.button-step {
  border-color: rgba(255, 255, 255, 0.42);
  flex: 0 0 18px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(181, 198, 255, 0.36);
  color: #fff;
  background: linear-gradient(125deg, #147ff4 0%, #5657f5 52%, #8539ef 100%);
  box-shadow: 0 10px 34px rgba(75, 76, 231, 0.22);
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 13px 42px rgba(88, 82, 239, 0.32);
}

.primary-button:disabled {
  cursor: not-allowed;
  filter: saturate(0.1);
  opacity: 0.45;
}

.primary-button svg {
  width: 17px;
}

.secondary-button {
  margin-top: 9px;
  border: 1px solid var(--line);
  color: #aab8bd;
  background: rgba(5, 10, 13, 0.7);
}

.secure-note {
  margin: 13px 0 0;
  color: #718188;
  font-size: 9px;
}

.secure-note span {
  margin-right: 5px;
  color: var(--success);
  font-size: 7px;
}

.web-name-tool {
  position: absolute;
  z-index: 9;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(145px, 1fr) minmax(145px, 0.9fr) auto auto;
  width: min(670px, calc(100% - 90px));
  min-height: 72px;
  padding: 10px 10px 10px 16px;
  border: 1px solid rgba(95, 207, 255, 0.46);
  border-radius: 15px;
  align-items: center;
  gap: 11px;
  background: rgba(4, 14, 22, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48), 0 0 28px rgba(71, 157, 255, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.web-name-tool.is-applied {
  border-color: rgba(120, 230, 187, 0.58);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48), 0 0 30px rgba(120, 230, 187, 0.12);
}

.web-name-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.web-name-copy span {
  color: var(--cyan);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.17em;
}

.web-name-copy strong {
  color: #eef7f9;
  font-size: 12px;
  font-weight: 720;
}

.web-name-copy small {
  overflow: hidden;
  color: #7f969f;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-name-field input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(195, 228, 238, 0.22);
  border-radius: 10px;
  outline: 0;
  color: #fff;
  background: rgba(0, 4, 8, 0.8);
  font-size: 14px;
  font-weight: 650;
}

.web-name-field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(95, 207, 255, 0.12);
}

.web-name-apply,
.web-name-reopen {
  border: 1px solid rgba(95, 207, 255, 0.36);
  border-radius: 10px;
  color: #061015;
  background: linear-gradient(135deg, #73dcef, #6ca7ff);
  cursor: pointer;
  font-size: 10px;
  font-weight: 820;
}

.web-name-apply {
  height: 42px;
  padding: 0 15px;
  white-space: nowrap;
}

.web-name-apply:disabled {
  cursor: wait;
  opacity: 0.58;
}

.web-name-close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #82969e;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.web-name-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.web-name-reopen {
  position: absolute;
  z-index: 9;
  top: 17px;
  right: 18px;
  min-height: 36px;
  padding: 0 13px;
  color: #dffaff;
  background: rgba(5, 24, 34, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stream-overlay {
  position: absolute;
  z-index: 6;
  right: 20px;
  bottom: 17px;
  left: 20px;
  display: none;
  align-items: end;
  justify-content: space-between;
  pointer-events: none;
  text-shadow: 0 2px 12px #000;
}

.media-stage.has-live-video .stream-overlay,
.media-stage.has-development .stream-overlay {
  display: flex;
}

.stream-overlay > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.overlay-label {
  padding: 4px 7px;
  border-radius: 4px;
  color: #2c0803;
  background: var(--danger);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.stage-shell[data-mode="dev"] .overlay-label {
  color: #021316;
  background: var(--cyan);
}

.overlay-title,
.overlay-clock {
  color: rgba(244, 249, 250, 0.84);
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.12em;
}

.stage-footer {
  gap: 22px;
  border-top: 1px solid var(--line);
}

.footer-status {
  display: grid;
  min-width: 116px;
  gap: 2px;
}

.footer-status-label {
  color: #65777f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer-status strong {
  font-size: 11px;
  font-weight: 650;
}

.footer-metadata {
  gap: 10px;
  color: #798a91;
  font-size: 10px;
}

.metadata-dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #59686e;
}

.control-legend {
  margin-left: auto;
  gap: 12px;
  color: #82939a;
  font-size: 9px;
}

kbd {
  padding: 3px 5px;
  border: 1px solid var(--line-strong);
  border-bottom-color: rgba(197, 223, 232, 0.36);
  border-radius: 4px;
  color: #d7e2e5;
  background: #101820;
  box-shadow: 0 1px rgba(255, 255, 255, 0.05);
  font-family: inherit;
  font-size: 8px;
}

.experience-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  color: #73848b;
}

.note-index,
.note-duration {
  color: #607079;
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.12em;
}

.experience-note p {
  margin: 0;
  font-size: 11px;
}

.experience-note strong {
  margin-right: 7px;
  color: #a6b3b8;
  font-weight: 650;
}

.note-line {
  height: 1px;
  background: var(--line);
  flex: 1;
}

.perspective-rail {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 40px;
  margin-top: 48px;
  padding: 30px 32px;
  border: 1px solid rgba(95, 207, 255, 0.13);
  border-radius: 18px;
  background:
    radial-gradient(circle at 48% 50%, rgba(29, 112, 255, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(10, 18, 26, 0.9), rgba(5, 9, 14, 0.82));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.rail-heading {
  align-self: center;
}

.rail-heading .eyebrow {
  margin-bottom: 8px;
}

.rail-heading h2 {
  margin: 0;
  color: #eaf4f7;
  font-size: 23px;
  font-weight: 560;
  letter-spacing: -0.04em;
}

.rail-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
}

.rail-step {
  position: relative;
  min-height: 126px;
  padding: 17px 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(7, 13, 18, 0.68);
}

.rail-step::after {
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(95, 207, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.rail-index {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.15em;
}

.rail-step strong {
  display: block;
  color: #dae6e9;
  font-size: 13px;
  font-weight: 650;
}

.rail-step p {
  margin: 8px 0 0;
  color: #74868e;
  font-size: 10px;
  line-height: 1.6;
}

.rail-step-final {
  border-color: rgba(120, 230, 187, 0.17);
}

.rail-step-final .rail-index {
  color: var(--success);
}

.rail-portal {
  position: relative;
  display: grid;
  min-height: 126px;
  place-items: center;
}

.rail-portal::before,
.rail-portal span,
.rail-portal i {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.rail-portal::before {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(130, 220, 255, 0.84);
  box-shadow:
    0 0 10px rgba(63, 139, 255, 0.88),
    0 0 28px rgba(45, 75, 255, 0.58),
    inset 0 0 16px rgba(111, 226, 255, 0.54);
  animation: portal-pulse 2.4s ease-in-out infinite;
}

.rail-portal span {
  width: 38px;
  height: 38px;
  border: 1px dashed rgba(180, 239, 255, 0.9);
  box-shadow: inset 0 0 18px rgba(41, 72, 255, 0.52);
  animation: portal-spin 5s linear infinite;
}

.rail-portal i {
  width: 9px;
  height: 9px;
  background: #d6f8ff;
  box-shadow:
    22px 4px 0 -3px #63a7ff,
    -22px -5px 0 -3px #63a7ff,
    5px 24px 0 -3px #a9eaff,
    -7px -24px 0 -3px #a9eaff;
}

.rail-portal b {
  position: absolute;
  bottom: 5px;
  color: #587487;
  font-size: 7px;
  letter-spacing: 0.16em;
}

.story-debrief {
  position: relative;
  margin: 96px 0 110px;
  padding-top: 72px;
  border-top: 1px solid rgba(116, 202, 231, 0.13);
}

.story-debrief::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(95, 207, 255, 0.42);
  content: "";
}

.debrief-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(280px, 0.6fr);
  justify-content: space-between;
  align-items: end;
  gap: 58px;
  margin-bottom: 55px;
}

.debrief-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -37px;
}

.debrief-heading h2 {
  margin: 0;
  color: #edf7f9;
  font-size: clamp(31px, 4.1vw, 52px);
  font-weight: 560;
  line-height: 1.13;
  letter-spacing: -0.055em;
}

.debrief-heading > p:last-child {
  margin: 0 0 5px;
  color: #7c8f97;
  font-size: 13px;
  line-height: 1.85;
}

.debrief-list {
  display: grid;
  gap: 28px;
}

.debrief-card {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(280px, 0.72fr);
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(113, 174, 198, 0.16);
  border-radius: 21px;
  background:
    radial-gradient(circle at 84% 20%, rgba(56, 132, 255, 0.09), transparent 31%),
    linear-gradient(135deg, rgba(10, 18, 25, 0.96), rgba(5, 10, 15, 0.9));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.025);
}

.debrief-card-reverse {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.36fr);
}

.debrief-card-reverse .debrief-visual {
  grid-column: 2;
  grid-row: 1;
}

.debrief-card-reverse .debrief-copy {
  grid-column: 1;
  grid-row: 1;
}

.debrief-visual {
  position: relative;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  background: #03070a;
}

.debrief-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 58%, rgba(5, 10, 15, 0.7)),
    linear-gradient(180deg, transparent 55%, rgba(3, 7, 11, 0.62));
  content: "";
  pointer-events: none;
}

.debrief-card-reverse .debrief-visual::after {
  background:
    linear-gradient(270deg, transparent 58%, rgba(5, 10, 15, 0.7)),
    linear-gradient(180deg, transparent 55%, rgba(3, 7, 11, 0.62));
}

.debrief-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04) brightness(0.82);
  transform: scale(1.015);
  transition: 700ms cubic-bezier(.2,.8,.2,1);
}

.debrief-card:hover .debrief-visual img {
  filter: saturate(1.04) contrast(1.02) brightness(0.94);
  transform: scale(1.045);
}

.debrief-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 19px;
  bottom: 17px;
  color: rgba(218, 239, 245, 0.66);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.18em;
}

.debrief-card-reverse .debrief-visual figcaption {
  right: auto;
  left: 19px;
}

.debrief-copy {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 46px 42px;
}

.debrief-index {
  position: absolute;
  top: 25px;
  right: 27px;
  color: rgba(107, 192, 231, 0.22);
  font-size: 45px;
  font-weight: 260;
  letter-spacing: -0.06em;
}

.debrief-kicker {
  margin: 0 0 13px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.debrief-copy h3 {
  max-width: 330px;
  margin: 0;
  color: #e4eff2;
  font-size: clamp(21px, 2.2vw, 29px);
  font-weight: 580;
  line-height: 1.34;
  letter-spacing: -0.045em;
}

.debrief-copy > p:last-child {
  max-width: 390px;
  margin: 22px 0 0;
  color: #84969d;
  font-size: 12px;
  line-height: 1.88;
}

.debrief-card-final {
  border-color: rgba(120, 230, 187, 0.2);
  background:
    radial-gradient(circle at 18% 28%, rgba(81, 190, 157, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(8, 19, 21, 0.96), rgba(5, 10, 15, 0.92));
}

.debrief-card-final .debrief-kicker {
  color: var(--success);
}

/* Post-experience editorial journey */
.reveal-section {
  position: relative;
}

body.js-reveal-ready .reveal-section {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(.2,.75,.2,1);
}

body.js-reveal-ready .reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.editorial-heading {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(250px, 0.54fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 36px;
}

.editorial-heading h2,
.journey-heading h2 {
  margin: 7px 0 0;
  color: #edf7f9;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.055em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.editorial-heading > p {
  max-width: 470px;
  margin: 0 0 4px;
  color: #7f9299;
  font-size: 12px;
  line-height: 1.85;
}

.reflection-question {
  display: grid;
  min-height: 430px;
  margin: 110px 0 96px;
  padding: 72px 70px;
  overflow: hidden;
  border: 1px solid rgba(99, 188, 232, 0.18);
  border-radius: 26px;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(40, 105, 217, 0.19), transparent 34%),
    linear-gradient(150deg, rgba(10, 18, 27, 0.98), rgba(3, 7, 12, 0.95));
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.035);
}

.reflection-question::before,
.reflection-question::after {
  position: absolute;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 207, 255, 0.58), transparent);
  content: "";
}

.reflection-question::before {
  top: 0;
  left: 11%;
}

.reflection-question::after {
  right: 9%;
  bottom: 0;
}

.reflection-question .eyebrow {
  margin-bottom: 19px;
}

.reflection-question h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #eaf3f5;
  font-size: clamp(28px, 4.15vw, 52px);
  font-weight: 480;
  line-height: 1.35;
  letter-spacing: -0.06em;
}

.reflection-question h2 em {
  color: #a7e6ff;
  font-style: normal;
  text-shadow: 0 0 30px rgba(57, 155, 255, 0.24);
}

.reflection-question > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  margin: 25px 0 0;
  color: #7f929a;
  font-size: 12px;
}

.reflection-pause {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  margin-top: 35px;
  color: #59727e;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.18em;
}

.reflection-pause i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px rgba(95, 207, 255, 0.8);
  animation: portal-pulse 2.4s ease-in-out infinite;
}

.reflection-orbit,
.reflection-orbit span,
.reflection-orbit i {
  position: absolute;
  border: 1px solid rgba(95, 207, 255, 0.08);
  border-radius: 50%;
}

.reflection-orbit {
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
}

.reflection-orbit span {
  inset: 62px;
  border-style: dashed;
  animation: portal-spin 32s linear infinite;
}

.reflection-orbit i {
  inset: 138px;
  box-shadow: inset 0 0 90px rgba(35, 102, 211, 0.06);
}

.two-minds {
  margin: 0 0 104px;
}

.mind-contrast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px minmax(0, 1fr);
  align-items: stretch;
}

.mind-card {
  position: relative;
  min-height: 285px;
  padding: 42px 42px 38px;
  overflow: hidden;
  border: 1px solid rgba(110, 182, 213, 0.18);
  background: linear-gradient(145deg, rgba(11, 25, 37, 0.96), rgba(5, 11, 17, 0.94));
  transition: 350ms ease;
}

.mind-card::after {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.13;
  content: "";
}

.mind-card-self {
  border-radius: 22px 4px 4px 22px;
}

.mind-card-self::after {
  right: -90px;
  bottom: -105px;
  background: #1684ff;
}

.mind-card-other {
  border-color: rgba(240, 136, 191, 0.2);
  border-radius: 4px 22px 22px 4px;
  background: linear-gradient(215deg, rgba(42, 14, 34, 0.68), rgba(8, 12, 20, 0.96));
}

.mind-card-other::after {
  bottom: -105px;
  left: -90px;
  background: #e878b4;
}

.mind-card:hover {
  z-index: 1;
  border-color: rgba(156, 222, 248, 0.35);
  transform: translateY(-4px);
}

.mind-card-other:hover {
  border-color: rgba(247, 157, 205, 0.38);
}

.mind-role {
  display: block;
  margin-bottom: 12px;
  color: #6baed2;
  font-size: 9px;
  font-weight: 740;
  letter-spacing: 0.13em;
}

.mind-card-other .mind-role {
  color: #da8fba;
}

.mind-card > strong {
  color: #dfe9ed;
  font-size: 12px;
  font-weight: 570;
}

.mind-card blockquote {
  position: relative;
  z-index: 1;
  margin: 31px 0 18px;
  color: #f2f7f8;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 530;
  line-height: 1.4;
  letter-spacing: -0.045em;
}

.mind-card > p {
  position: relative;
  z-index: 1;
  max-width: 390px;
  margin: 0;
  color: #7f929a;
  font-size: 11px;
  line-height: 1.75;
}

.contrast-axis {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #526d79;
  background: rgba(5, 10, 15, 0.68);
}

.contrast-axis span {
  font-size: 7px;
  font-weight: 720;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.contrast-axis i {
  width: 1px;
  height: 37px;
  background: linear-gradient(180deg, transparent, rgba(113, 205, 240, 0.38), transparent);
}

.contrast-axis b {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(118, 202, 234, 0.2);
  border-radius: 50%;
  place-items: center;
  color: #a0dff8;
  font-size: 17px;
  font-weight: 400;
  box-shadow: 0 0 24px rgba(48, 122, 215, 0.12);
}

.contrast-revelation {
  margin: 42px auto 0;
  color: #82959d;
  font-size: 17px;
  line-height: 1.65;
  text-align: center;
}

.contrast-revelation strong {
  color: #ddecf0;
  font-size: 20px;
  font-weight: 570;
}

.choice-trace {
  margin: 0 0 118px;
  padding: 50px;
  border: 1px solid rgba(108, 196, 230, 0.16);
  border-radius: 25px;
  background:
    radial-gradient(circle at 82% 82%, rgba(120, 230, 187, 0.08), transparent 27%),
    linear-gradient(145deg, rgba(9, 17, 24, 0.94), rgba(4, 8, 12, 0.92));
}

.choice-heading {
  margin-bottom: 29px;
}

.trace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trace-card {
  position: relative;
  min-height: 196px;
  padding: 27px 25px;
  overflow: hidden;
  border: 1px solid rgba(169, 199, 210, 0.1);
  border-radius: 15px;
  opacity: 0.46;
  background: rgba(5, 11, 16, 0.72);
  transition: opacity 450ms ease, transform 450ms ease, border-color 450ms ease, background 450ms ease;
}

.trace-card.is-selected {
  border-color: rgba(95, 207, 255, 0.38);
  opacity: 1;
  background: linear-gradient(145deg, rgba(16, 52, 73, 0.72), rgba(6, 14, 21, 0.9));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 16px 45px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.trace-card-final.is-selected {
  border-color: rgba(120, 230, 187, 0.4);
  background: linear-gradient(145deg, rgba(18, 67, 55, 0.7), rgba(6, 17, 18, 0.92));
}

.trace-number {
  color: #5b707a;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.trace-light {
  position: absolute;
  top: 27px;
  right: 25px;
  width: 7px;
  height: 7px;
  border: 1px solid #58707c;
  border-radius: 50%;
}

.trace-card.is-selected .trace-light {
  border-color: transparent;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(95, 207, 255, 0.82);
}

.trace-card-final.is-selected .trace-light {
  background: var(--success);
  box-shadow: 0 0 16px rgba(120, 230, 187, 0.78);
}

.trace-card p {
  margin: 33px 0 12px;
  color: #dbe7ea;
  font-size: 18px;
  font-weight: 560;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.trace-card small {
  color: #71848c;
  font-size: 10px;
  line-height: 1.7;
}

.personal-result {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  padding: 22px 25px;
  border-top: 1px solid rgba(124, 199, 227, 0.13);
  color: #9aacb3;
}

.result-label {
  color: #5e7681;
  font-size: 8px;
  font-weight: 740;
  letter-spacing: 0.16em;
}

.personal-result p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.personal-result strong {
  color: #dff4fa;
  font-weight: 650;
}

.hidden-details {
  margin: 0 0 120px;
}

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

.detail-card {
  overflow: hidden;
  border: 1px solid rgba(125, 183, 206, 0.15);
  border-radius: 17px;
  background: rgba(7, 13, 19, 0.86);
  transition: 380ms ease;
}

.detail-card:hover {
  border-color: rgba(95, 207, 255, 0.34);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  transform: translateY(-6px);
}

.detail-card figure {
  height: 160px;
  margin: 0;
  overflow: hidden;
  background: #03070a;
}

.detail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.67) saturate(0.84);
  transform: scale(1.08);
  transition: 650ms ease;
}

.detail-card:hover img {
  filter: brightness(0.84) saturate(1.05);
  transform: scale(1.14);
}

.detail-card-warm img {
  object-position: 22% 78%;
  filter: sepia(0.12) brightness(0.62) saturate(0.74);
}

.detail-card-portal img {
  object-position: center;
}

.detail-card-sleeve img {
  object-position: 50% 75%;
}

.detail-card > div {
  min-height: 180px;
  padding: 23px 22px 26px;
}

.detail-card span {
  color: #5e9bb8;
  font-size: 7px;
  font-weight: 740;
  letter-spacing: 0.15em;
}

.detail-card h3 {
  margin: 11px 0 12px;
  color: #dce8eb;
  font-size: 18px;
  font-weight: 570;
}

.detail-card p {
  margin: 0;
  color: #74878f;
  font-size: 10px;
  line-height: 1.75;
}

.emotion-journey {
  --journey-progress: 0;
  margin: 0 0 120px;
  padding: 63px 50px 55px;
  overflow: hidden;
  border: 1px solid rgba(132, 191, 214, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at calc(var(--journey-progress) * 100%) 80%, rgba(255, 151, 81, 0.12), transparent 21%),
    linear-gradient(110deg, rgba(9, 28, 43, 0.94), rgba(11, 18, 26, 0.95) 50%, rgba(40, 22, 13, 0.9));
}

.journey-heading {
  margin-bottom: 58px;
}

.journey-heading h2 {
  max-width: 630px;
}

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  padding-top: 32px;
}

.journey-track::before,
.journey-fill {
  position: absolute;
  top: 9px;
  left: 7px;
  height: 2px;
  border-radius: 2px;
  content: "";
}

.journey-track::before {
  right: 7px;
  background: rgba(147, 176, 187, 0.13);
}

.journey-fill {
  width: calc((100% - 14px) * var(--journey-progress));
  background: linear-gradient(90deg, #288ad7, #66cbeb 48%, #f0a56a 78%, #ffd099);
  box-shadow: 0 0 18px rgba(86, 178, 232, 0.35);
  transition: width 100ms linear;
}

.journey-step {
  position: relative;
  opacity: 0.36;
  transition: opacity 350ms ease, transform 350ms ease;
}

.journey-step.is-active {
  opacity: 1;
  transform: translateY(-3px);
}

.journey-step i {
  position: absolute;
  top: -28px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid #1b3443;
  border-radius: 50%;
  background: #0a1118;
  transition: 350ms ease;
}

.journey-step.is-active i {
  border-color: #72cbe9;
  background: #d2f5ff;
  box-shadow: 0 0 18px rgba(80, 174, 233, 0.65);
}

.journey-step:nth-child(n+6).is-active i,
.journey-step:last-child.is-active i {
  border-color: #ffc18b;
  background: #ffe5bd;
  box-shadow: 0 0 18px rgba(255, 157, 94, 0.62);
}

.journey-step span {
  color: #56707b;
  font-size: 8px;
  font-weight: 740;
  letter-spacing: 0.13em;
}

.journey-step strong {
  display: block;
  margin-top: 10px;
  color: #d7e4e8;
  font-size: 16px;
  font-weight: 580;
}

.journey-step small {
  display: block;
  max-width: 130px;
  margin-top: 8px;
  color: #6f838b;
  font-size: 9px;
  line-height: 1.55;
}

.perspective-manifesto {
  display: grid;
  min-height: 440px;
  margin: 0 0 120px;
  padding: 78px 72px;
  overflow: hidden;
  border-radius: 27px;
  place-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(4, 8, 12, 0.18), rgba(4, 8, 12, 0.84)),
    url("./assets/perspective-portal.png") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(151, 221, 249, 0.18), 0 42px 110px rgba(0, 0, 0, 0.32);
}

.perspective-manifesto::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(36, 99, 207, 0.13), rgba(2, 5, 9, 0.78) 68%);
  backdrop-filter: blur(2px);
  content: "";
}

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

.manifesto-mark {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  color: rgba(170, 231, 255, 0.055);
  font-size: 230px;
  font-weight: 720;
  letter-spacing: -0.12em;
  transform: translate(-52%, -54%);
}

.perspective-manifesto h2 {
  margin: 15px 0 22px;
  color: #f0f8fa;
  font-size: clamp(31px, 4.3vw, 54px);
  font-weight: 520;
  letter-spacing: -0.06em;
}

.perspective-manifesto > p:last-child {
  margin: 0;
  color: #9aabb1;
  font-size: 15px;
  line-height: 1.9;
}

.perspective-manifesto strong {
  color: #d9f1f8;
  font-weight: 610;
}

.experience-closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 60px;
  margin: 0 0 115px;
  padding: 62px;
  border: 1px solid rgba(148, 200, 219, 0.17);
  border-radius: 25px;
  background:
    radial-gradient(circle at 12% 20%, rgba(47, 136, 230, 0.11), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(255, 151, 81, 0.09), transparent 29%),
    rgba(7, 13, 19, 0.88);
}

.closing-copy h2 {
  margin: 10px 0 20px;
  color: #eff8fa;
  font-size: clamp(34px, 4.5vw, 57px);
  font-weight: 540;
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.closing-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 0;
  color: #81939a;
  font-size: 12px;
  line-height: 1.85;
}

.closing-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.replay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 166px;
  min-height: 52px;
  margin-top: 0;
  gap: 13px;
  border: 1px solid rgba(154, 227, 255, 0.36);
  border-radius: 9px;
  color: #eefaff;
  background: linear-gradient(110deg, #147ee7, #6650ee);
  box-shadow: 0 14px 38px rgba(27, 81, 210, 0.24), inset 0 1px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 690;
  transition: 250ms ease;
}

.scenario-change-button {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(159, 196, 209, 0.2);
  border-radius: 9px;
  color: #9fb0b7;
  background: rgba(4, 10, 15, 0.56);
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
  transition: 220ms ease;
}

.scenario-change-button:hover,
.scenario-change-button:focus-visible {
  border-color: rgba(135, 214, 233, 0.45);
  color: #edf9fb;
  outline: none;
  transform: translateY(-2px);
}

.scenario-change-button:disabled {
  cursor: wait;
  opacity: 0.5;
  transform: none;
}

.replay-button:hover {
  box-shadow: 0 18px 46px rgba(35, 101, 231, 0.38), inset 0 1px rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.replay-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.experience-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(160, 197, 211, 0.12);
  border-radius: 17px;
}

.experience-facts div {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 128px;
  padding: 22px;
  border-right: 1px solid rgba(160, 197, 211, 0.1);
  border-bottom: 1px solid rgba(160, 197, 211, 0.1);
  background: rgba(5, 10, 15, 0.58);
}

.experience-facts div:nth-child(2n) {
  border-right: 0;
}

.experience-facts div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.experience-facts span {
  margin-bottom: 10px;
  color: #5d7580;
  font-size: 7px;
  font-weight: 740;
  letter-spacing: 0.15em;
}

.experience-facts strong {
  color: #cfdde1;
  font-size: 10px;
  font-weight: 690;
  letter-spacing: 0.04em;
}

.experience-facts small {
  margin-top: 5px;
  color: #687b83;
  font-size: 9px;
}

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

@keyframes portal-pulse {
  0%, 100% { opacity: 0.72; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes game-hero-breathe {
  from { transform: scale(1.025); }
  to { transform: scale(1.065); }
}

@keyframes game-hero-glow {
  0%, 100% { opacity: 0.18; transform: scale(0.94); }
  50% { opacity: 0.3; transform: scale(1.04); }
}

@keyframes game-hero-scroll {
  0% { transform: translateY(0); }
  55%, 100% { transform: translateY(285%); }
}

.operator-panel {
  position: fixed;
  z-index: 20;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: 220ms ease;
}

.operator-panel.is-open {
  visibility: visible;
  opacity: 1;
}

.operator-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 2, 4, 0.7);
  backdrop-filter: blur(7px);
}

.operator-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(430px, calc(100% - 22px));
  height: 100%;
  overflow-y: auto;
  padding: 30px;
  border-left: 1px solid var(--line);
  background: rgba(8, 14, 19, 0.98);
  box-shadow: -32px 0 90px rgba(0, 0, 0, 0.42);
  transform: translateX(30px);
  transition: 260ms ease;
}

.operator-panel.is-open .operator-sheet {
  transform: translateX(0);
}

.operator-heading,
.section-title-row,
.diagnostic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.operator-heading {
  margin-bottom: 31px;
}

.operator-heading .eyebrow {
  margin-bottom: 6px;
}

.operator-heading h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 550;
  letter-spacing: -0.045em;
}

.operator-section {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.operator-section h3 {
  margin: 0 0 17px;
  color: #cbd6da;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: start;
  gap: 11px;
}

.steps li > span {
  display: grid;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 750;
  place-items: center;
}

.steps p {
  margin: 1px 0 0;
  color: #8fa0a7;
  font-size: 11px;
  line-height: 1.65;
}

.operator-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  margin-top: 20px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #b9c7cc;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.018);
  font-size: 11px;
  font-weight: 650;
}

.operator-link:hover {
  border-color: rgba(115, 220, 234, 0.3);
  color: var(--cyan-bright);
}

.section-title-row h3 {
  margin-bottom: 0;
}

.section-badge {
  padding: 4px 7px;
  border-radius: 999px;
  color: #809198;
  background: #111a20;
  font-size: 8px;
}

.release-highlight {
  display: grid;
  margin-top: 17px;
  padding: 16px;
  border: 1px solid rgba(115, 220, 234, 0.17);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(70, 193, 210, 0.09), rgba(10, 17, 22, 0.8));
}

.release-label {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.release-highlight strong {
  font-size: 22px;
  font-weight: 580;
}

.release-highlight small {
  margin-top: 4px;
  color: #75868d;
  font-size: 9px;
}

.release-list {
  display: grid;
  margin-top: 10px;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.release-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 12px 13px;
  background: #0a1116;
}

.release-row > div {
  display: grid;
  gap: 3px;
}

.release-row strong {
  color: #b9c6ca;
  font-size: 10px;
  font-weight: 660;
}

.release-row small,
.release-row time {
  color: #687981;
  font-size: 8px;
}

.release-state {
  align-self: center;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--success);
  background: rgba(120, 230, 187, 0.08);
  font-size: 8px;
}

.compact-section {
  padding-bottom: 0;
}

.diagnostic-row {
  min-height: 30px;
  color: #7d8d94;
  font-size: 10px;
}

.diagnostic-row strong {
  color: #b6c3c7;
  font-size: 9px;
  font-weight: 650;
}

.toast-region {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: min(360px, calc(100% - 48px));
  gap: 9px;
  pointer-events: none;
}

.toast {
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: #dce6e8;
  background: rgba(12, 20, 26, 0.96);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.36);
  font-size: 11px;
  line-height: 1.5;
  animation: toast-in 220ms ease both;
}

.toast.is-error {
  border-color: rgba(255, 148, 125, 0.32);
}

.is-hidden {
  display: none !important;
}

body.is-kiosk .topbar,
body.is-kiosk .game-hero,
body.is-kiosk .hero-copy,
body.is-kiosk .scenario-picker,
body.is-kiosk .experience-note,
body.is-kiosk .perspective-rail,
body.is-kiosk .story-debrief,
body.is-kiosk .reflection-question,
body.is-kiosk .two-minds,
body.is-kiosk .choice-trace,
body.is-kiosk .hidden-details,
body.is-kiosk .emotion-journey,
body.is-kiosk .perspective-manifesto,
body.is-kiosk .experience-closing,
body.is-kiosk .stage-topline,
body.is-kiosk .stage-footer {
  display: none;
}

body.is-kiosk .main-content {
  width: 100%;
  height: 100vh;
  padding: 0;
}

body.is-kiosk .stage-shell,
body.is-kiosk .media-stage {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
    width: min(100% - 34px, 760px);
  }

  .game-hero {
    min-height: 780px;
  }

  .game-hero-image {
    inset: -3%;
    background-position: 57% center;
  }

  .game-hero::before {
    background:
      linear-gradient(90deg, rgba(2, 5, 9, 0.93), rgba(2, 6, 11, 0.63) 58%, rgba(2, 5, 9, 0.58)),
      linear-gradient(180deg, rgba(2, 5, 9, 0.44), transparent 35%, #03070b 83%, #030507);
  }

  .game-hero-inner {
    width: min(100% - 44px, 760px);
    padding: 160px 0 132px;
  }

  .game-hero-copy {
    max-width: 670px;
  }

  .game-hero-flow {
    margin-top: 72px;
  }

  .hero-control-guide {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-control-guide-title {
    grid-column: 1 / -1;
    align-items: center;
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(153, 207, 234, 0.14);
    text-align: center;
  }

  .mode-switch {
    position: fixed;
    z-index: 10;
    bottom: 18px;
    left: 50%;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.52);
    transform: translateX(-50%);
  }

  .connection-pill {
    display: none;
  }

  .brand-logo-frame {
    width: 135px;
    height: 78px;
    border-radius: 13px;
  }

  .brand-logo {
    top: -25px;
    width: 135px;
    height: 135px;
  }

  .main-content {
    width: min(100% - 34px, 760px);
    padding-top: 43px;
  }

  .hero-summary {
    display: none;
  }

  .stage-topline {
    padding-left: 17px;
  }

  .stage-version,
  .stage-divider,
  #stageVersion,
  #refreshButton {
    display: none;
  }

  .stage-footer {
    min-height: 50px;
    padding: 0 16px;
  }

  .footer-metadata {
    margin-left: auto;
  }

  .control-legend {
    display: none !important;
  }

  .perspective-rail {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rail-track {
    grid-template-columns: 1fr 62px 1fr;
  }

  .rail-step-final {
    grid-column: 1 / -1;
    min-height: 94px;
  }

  .story-debrief {
    margin-top: 76px;
  }

  .debrief-heading {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .debrief-heading .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .debrief-heading > p:last-child {
    max-width: 560px;
  }

  .debrief-card,
  .debrief-card-reverse {
    grid-template-columns: 1fr;
  }

  .debrief-card-reverse .debrief-visual,
  .debrief-card-reverse .debrief-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .debrief-card-reverse .debrief-visual {
    order: 0;
  }

  .debrief-card-reverse .debrief-copy {
    order: 1;
  }
}

@media (max-width: 600px) {
  .web-name-tool {
    top: 10px;
    grid-template-columns: 1fr auto auto;
    width: calc(100% - 24px);
    min-height: 64px;
    padding-left: 12px;
    gap: 7px;
  }

  .web-name-copy {
    display: none;
  }

  .web-name-field input {
    height: 40px;
    font-size: 12px;
  }

  .web-name-apply {
    height: 40px;
    padding: 0 11px;
  }

  .game-hero {
    min-height: 980px;
  }

  .game-hero-image {
    background-position: 60% center;
    filter: brightness(0.5) saturate(1.14);
  }

  .game-hero::after {
    display: none;
  }

  .game-hero-glow {
    top: 18%;
    right: -26%;
    width: 100vw;
  }

  .game-hero-inner {
    width: min(100% - 36px, 520px);
    padding: 146px 0 118px;
  }

  .game-hero-kicker {
    margin-bottom: 18px;
    font-size: 9px;
  }

  .game-hero-copy h1 {
    font-size: clamp(43px, 13vw, 63px);
    line-height: 1.02;
  }

  .game-hero-lead {
    margin-top: 25px;
    font-size: 16px;
  }

  .game-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
  }

  .hero-control-guide {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 26px;
  }

  .hero-control-guide-title {
    grid-column: 1 / -1;
    min-height: 54px;
    padding: 12px 14px;
  }

  .hero-control-item {
    min-height: 88px;
    padding: 13px 10px;
  }

  .hero-control-item:nth-child(3) {
    border-right: 0;
  }

  .hero-control-item:nth-child(2),
  .hero-control-item:nth-child(3) {
    border-bottom: 1px solid rgba(153, 207, 234, 0.1);
  }

  .game-hero-primary {
    min-width: 162px;
    min-height: 51px;
  }

  .game-hero-flow {
    grid-template-columns: 1fr 20px 1fr 20px 1fr;
    width: 100%;
    margin-top: 66px;
  }

  .game-hero-flow i {
    margin: 0 5px;
  }

  .game-hero-flow span {
    font-size: 10px;
  }

  .game-hero-scroll {
    bottom: 22px;
  }

  .experience-note,
  .footer-status,
  #audioStatus,
  .metadata-dot {
    display: none;
  }

  .perspective-rail {
    padding: 23px 20px;
  }

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

  .rail-portal {
    min-height: 86px;
  }

  .rail-step-final {
    grid-column: auto;
  }

  .story-debrief {
    margin: 63px 0 82px;
    padding-top: 48px;
  }

  .debrief-heading {
    margin-bottom: 34px;
  }

  .debrief-heading h2 {
    font-size: 34px;
  }

  .debrief-heading > p:last-child {
    font-size: 11px;
    line-height: 1.75;
  }

  .debrief-list {
    gap: 18px;
  }

  .debrief-card,
  .debrief-visual,
  .debrief-visual img {
    min-height: 0;
  }

  .debrief-visual {
    aspect-ratio: 16 / 9;
  }

  .debrief-copy {
    padding: 34px 25px 36px;
  }

  .debrief-index {
    top: 17px;
    right: 20px;
    font-size: 36px;
  }

  .debrief-copy h3 {
    padding-right: 30px;
    font-size: 23px;
  }

  .debrief-copy > p:last-child {
    margin-top: 17px;
    font-size: 11px;
  }

  .topbar {
    min-height: 94px;
  }

  .brand-logo-frame {
    width: 116px;
    height: 68px;
    border-radius: 11px;
  }

  .brand-logo {
    top: -22px;
    width: 116px;
    height: 116px;
  }

  .topbar-actions {
    gap: 0;
  }

  .hero-copy {
    margin-bottom: 18px;
  }

  .stage-shell {
    border-radius: 16px;
  }

  .stage-topline {
    min-height: 49px;
  }

  .fullscreen-button {
    width: 34px;
    padding: 0 9px;
    overflow: hidden;
    color: transparent;
    gap: 0;
  }

  .fullscreen-button svg {
    color: #aebcc1;
    flex: 0 0 14px;
  }

  .stage-placeholder {
    transform: translate(-50%, -50%) scale(0.83);
  }

  .placeholder-glyph {
    margin-bottom: 16px;
  }

  .stage-placeholder > p:not(.placeholder-kicker):not(.secure-note),
  .secure-note {
    display: none;
  }

  .presentation-actions {
    gap: 6px;
  }

  .casting-link,
  .primary-button {
    min-height: 42px;
    padding: 0 12px;
    font-size: 10px;
  }

  .casting-link b,
  .primary-button svg {
    display: none;
  }

  .stage-placeholder h2 {
    margin-bottom: 17px;
  }

  .footer-metadata {
    width: 100%;
    justify-content: center;
  }

  .operator-sheet {
    padding: 24px 21px 34px;
  }
}

@media (max-width: 900px) {
  .editorial-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .editorial-heading > p {
    max-width: 600px;
  }

  .reflection-question {
    min-height: 390px;
    margin-top: 80px;
    padding: 58px 35px;
  }

  .mind-contrast {
    grid-template-columns: 1fr 78px 1fr;
  }

  .mind-card {
    padding: 34px 28px;
  }

  .choice-trace {
    padding: 38px 30px;
  }

  .trace-grid {
    grid-template-columns: 1fr;
  }

  .trace-card {
    min-height: 142px;
  }

  .trace-card p {
    margin-top: 23px;
  }

  .personal-result {
    grid-template-columns: 1fr;
    gap: 9px;
  }

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

  .journey-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 42px;
  }

  .journey-track::before,
  .journey-fill {
    display: none;
  }

  .journey-step {
    opacity: 0.5;
  }

  .journey-step i {
    top: 2px;
    left: auto;
    right: 8px;
  }

  .experience-closing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .reflection-question {
    min-height: 365px;
    margin: 65px 0 62px;
    padding: 48px 20px;
    border-radius: 19px;
  }

  .reflection-question h2 {
    font-size: 28px;
  }

  .reflection-question > p:not(.eyebrow) {
    font-size: 10px;
    line-height: 1.7;
  }

  .reflection-orbit {
    width: 390px;
    height: 390px;
  }

  .two-minds,
  .choice-trace,
  .hidden-details,
  .emotion-journey,
  .perspective-manifesto {
    margin-bottom: 76px;
  }

  .editorial-heading h2,
  .journey-heading h2 {
    font-size: 31px;
  }

  .editorial-heading > p {
    font-size: 10px;
  }

  .mind-contrast {
    grid-template-columns: 1fr;
  }

  .mind-card {
    min-height: 235px;
    padding: 32px 25px;
  }

  .mind-card-self,
  .mind-card-other {
    border-radius: 16px;
  }

  .contrast-axis {
    min-height: 86px;
    flex-direction: row;
  }

  .contrast-axis span {
    writing-mode: horizontal-tb;
  }

  .contrast-axis i {
    width: 34px;
    height: 1px;
  }

  .contrast-revelation {
    margin-top: 30px;
    font-size: 14px;
  }

  .contrast-revelation strong {
    font-size: 16px;
  }

  .choice-trace {
    padding: 29px 18px 22px;
    border-radius: 19px;
  }

  .trace-card p {
    font-size: 16px;
  }

  .personal-result {
    padding: 20px 8px 5px;
  }

  .personal-result p {
    font-size: 11px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-card {
    display: grid;
    grid-template-columns: 42% 58%;
  }

  .detail-card figure {
    height: 100%;
    min-height: 180px;
  }

  .detail-card > div {
    min-height: 180px;
    padding: 23px 18px;
  }

  .emotion-journey {
    padding: 40px 23px;
    border-radius: 19px;
  }

  .journey-heading {
    margin-bottom: 40px;
  }

  .journey-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .journey-step strong {
    font-size: 15px;
  }

  .perspective-manifesto {
    min-height: 430px;
    padding: 55px 24px;
    border-radius: 20px;
  }

  .perspective-manifesto h2 {
    font-size: 32px;
  }

  .perspective-manifesto > p:last-child {
    font-size: 12px;
  }

  .manifesto-mark {
    font-size: 130px;
  }

  .experience-closing {
    margin-bottom: 78px;
    padding: 38px 23px;
    border-radius: 19px;
  }

  .closing-copy h2 {
    font-size: 38px;
  }

  .experience-facts div {
    min-height: 105px;
    padding: 16px;
  }
}

@media (max-width: 1120px) {
  #stageVersion,
  .stage-identity .stage-divider:last-of-type {
    display: none;
  }

  .scenario-card {
    grid-template-columns: minmax(135px, 0.38fr) minmax(0, 0.62fr);
  }
}

@media (max-width: 900px) {
  .scenario-picker-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .scenario-picker-heading > p {
    max-width: none;
    text-align: left;
  }

  .scenario-card-grid {
    grid-template-columns: 1fr;
  }

  .scenario-card {
    grid-template-columns: minmax(170px, 0.34fr) minmax(0, 0.66fr);
  }

  .scenario-badge {
    max-width: 150px;
  }

  #changeScenarioButton,
  #refreshButton {
    display: none;
  }
}

@media (max-width: 600px) {
  .scenario-picker {
    padding: 16px;
    border-radius: 16px;
  }

  .scenario-picker-heading h2 {
    font-size: 21px;
  }

  .scenario-card {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 164px;
  }

  .scenario-card-art {
    min-height: 164px;
  }

  .scenario-card-copy {
    padding: 18px 17px 16px;
  }

  .scenario-card-meta {
    margin-bottom: 13px;
  }

  .scenario-card-meta small,
  .scenario-card-copy > em {
    display: none;
  }

  .scenario-card-copy > span:not(.scenario-card-meta) {
    line-height: 1.5;
  }

  .scenario-badge {
    max-width: 116px;
    padding: 4px 7px;
    font-size: 8px;
  }

  .stage-identity {
    gap: 7px;
  }

  .stage-identity > .stage-divider:first-of-type {
    display: none;
  }

  .live-indicator {
    display: none;
  }

  .closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .replay-button,
  .scenario-change-button {
    width: 100%;
  }
}

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

/* Windows public demo integration */
.demo-badge .mode-button {
  cursor: default;
  white-space: nowrap;
}

.demo-launch-form {
  display: grid;
  width: min(560px, 100%);
  gap: 14px;
  justify-items: center;
}

.demo-name-field {
  display: grid;
  grid-template-columns: auto minmax(150px, 260px);
  align-items: center;
  gap: 12px;
}

.demo-name-field > span {
  color: #9babb2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.demo-name-field input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(195, 228, 238, 0.24);
  border-radius: 10px;
  outline: 0;
  color: #fff;
  background: rgba(0, 4, 8, 0.78);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.demo-name-field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(95, 207, 255, 0.12);
}

.demo-start-button {
  justify-content: center;
  min-width: 210px;
}

.open-experience-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  text-decoration: none;
}

.operator-help {
  margin: 16px 0 0;
  color: #82939a;
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .demo-badge .mode-button {
    padding: 0 11px;
    font-size: 9px;
  }

  .demo-launch-form {
    gap: 11px;
  }

  .demo-name-field {
    grid-template-columns: 1fr;
    width: min(250px, 100%);
    gap: 6px;
  }

  .demo-name-field > span {
    display: none;
  }

  .demo-start-button {
    min-width: 190px;
  }
}

/* Expanded project story */
.project-story {
  margin: 0 0 118px;
}

.project-story-heading {
  margin-bottom: 34px;
}

.project-thesis {
  position: relative;
  display: grid;
  min-height: 370px;
  padding: 62px 64px;
  overflow: hidden;
  border: 1px solid rgba(109, 203, 238, 0.19);
  border-radius: 26px;
  align-content: center;
  background:
    radial-gradient(circle at 82% 28%, rgba(77, 100, 229, 0.18), transparent 31%),
    radial-gradient(circle at 18% 88%, rgba(71, 211, 194, 0.08), transparent 27%),
    linear-gradient(145deg, rgba(9, 19, 29, 0.98), rgba(5, 9, 15, 0.96));
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.29), inset 0 1px rgba(255, 255, 255, 0.035);
}

.project-thesis::after {
  position: absolute;
  top: 0;
  right: 9%;
  width: 210px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 218, 255, 0.62), transparent);
  content: "";
}

.project-thesis-label {
  position: relative;
  z-index: 1;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.18em;
}

.project-thesis blockquote {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 24px 0 27px;
  color: #f0f7f9;
  font-size: clamp(28px, 3.7vw, 48px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.058em;
}

.project-thesis blockquote em {
  color: #a8e7ff;
  font-style: normal;
}

.project-thesis > p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: #8da0a8;
  font-size: 12px;
  line-height: 1.9;
}

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

.project-principles article {
  position: relative;
  min-height: 292px;
  padding: 34px 31px 30px;
  overflow: hidden;
  border: 1px solid rgba(132, 193, 215, 0.13);
  border-radius: 17px;
  background: linear-gradient(150deg, rgba(11, 23, 32, 0.93), rgba(5, 10, 15, 0.92));
  transition: transform 350ms ease, border-color 350ms ease, background 350ms ease;
}

.project-principles article::after {
  position: absolute;
  right: -58px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(64, 172, 236, 0.08);
  filter: blur(4px);
  content: "";
}

.project-principles article:nth-child(2)::after {
  background: rgba(150, 102, 229, 0.1);
}

.project-principles article:nth-child(3)::after {
  background: rgba(70, 218, 173, 0.09);
}

.project-principles article:hover {
  border-color: rgba(121, 214, 246, 0.3);
  background: linear-gradient(150deg, rgba(14, 31, 43, 0.96), rgba(6, 12, 18, 0.94));
  transform: translateY(-4px);
}

.project-principles span {
  color: #68a9c6;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.project-principles h3 {
  position: relative;
  z-index: 1;
  margin: 26px 0 18px;
  color: #e7f0f3;
  font-size: clamp(22px, 2.1vw, 29px);
  font-weight: 540;
  line-height: 1.4;
  letter-spacing: -0.045em;
}

.project-principles p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #7f929a;
  font-size: 10px;
  line-height: 1.85;
}

.scenario-interpretation {
  margin: 0 0 112px;
}

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

.interpretation-card {
  position: relative;
  min-height: 510px;
  padding: 43px 40px 38px;
  overflow: hidden;
  border: 1px solid rgba(126, 190, 215, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(63, 142, 230, 0.15), transparent 30%),
    linear-gradient(150deg, rgba(10, 24, 35, 0.97), rgba(5, 11, 17, 0.96));
}

.interpretation-card-subway {
  border-color: rgba(139, 126, 232, 0.2);
  background:
    radial-gradient(circle at 90% 9%, rgba(109, 84, 229, 0.19), transparent 30%),
    linear-gradient(150deg, rgba(19, 20, 48, 0.96), rgba(6, 11, 19, 0.97));
}

.interpretation-number {
  color: #64bce3;
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.17em;
}

.interpretation-card-subway .interpretation-number {
  color: #9b91ee;
}

.interpretation-place {
  margin: 25px 0 8px;
  color: #718790;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.interpretation-card h3 {
  margin: 0;
  color: #edf5f7;
  font-size: clamp(29px, 3vw, 39px);
  font-weight: 570;
  letter-spacing: -0.055em;
}

.interpretation-card blockquote {
  margin: 29px 0 30px;
  color: #b9dce9;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.interpretation-card-subway blockquote {
  color: #c9c6f4;
}

.interpretation-shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid rgba(157, 200, 217, 0.11);
  border-bottom: 1px solid rgba(157, 200, 217, 0.11);
}

.interpretation-shift p {
  margin: 0;
  color: #9aa9af;
  font-size: 10px;
  line-height: 1.7;
}

.interpretation-shift span {
  display: block;
  margin-bottom: 7px;
  color: #5f7781;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.interpretation-shift i {
  color: #4f8ba4;
  font-size: 18px;
  font-style: normal;
}

.interpretation-note {
  margin: 25px 0 0;
  color: #7c9098;
  font-size: 10px;
  line-height: 1.8;
}

.interpretation-footnote {
  max-width: 850px;
  margin: 34px auto 0;
  color: #7d9199;
  font-size: 13px;
  line-height: 1.85;
  text-align: center;
}

.interpretation-footnote strong {
  color: #d7e8ed;
  font-weight: 570;
}

@media (max-width: 900px) {
  .project-principles {
    grid-template-columns: 1fr;
  }

  .project-principles article {
    min-height: 220px;
  }

  .interpretation-grid {
    grid-template-columns: 1fr;
  }

  .interpretation-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .project-story,
  .scenario-interpretation {
    margin-bottom: 76px;
  }

  .project-thesis {
    min-height: 390px;
    padding: 43px 23px;
    border-radius: 19px;
  }

  .project-thesis blockquote {
    font-size: 27px;
    line-height: 1.42;
  }

  .project-thesis > p {
    font-size: 10px;
  }

  .project-principles article {
    min-height: auto;
    padding: 29px 24px 27px;
  }

  .project-principles h3 {
    font-size: 23px;
  }

  .interpretation-card {
    padding: 34px 24px 31px;
    border-radius: 18px;
  }

  .interpretation-card h3 {
    font-size: 31px;
  }

  .interpretation-card blockquote {
    font-size: 19px;
  }

  .interpretation-shift {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .interpretation-shift i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .interpretation-footnote {
    font-size: 11px;
  }
}

/* Social impact and evaluation */
.social-impact {
  margin: 0 0 118px;
}

.social-impact-heading {
  margin-bottom: 35px;
}

.impact-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 58px;
  padding: 48px 50px;
  border: 1px solid rgba(100, 211, 177, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 25%, rgba(71, 211, 170, 0.11), transparent 31%),
    linear-gradient(145deg, rgba(8, 24, 26, 0.95), rgba(5, 11, 17, 0.96));
}

.impact-statement span {
  color: var(--success);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.16em;
}

.impact-statement h3 {
  margin: 22px 0 0;
  color: #edf6f3;
  font-size: clamp(26px, 3.25vw, 42px);
  font-weight: 520;
  line-height: 1.38;
  letter-spacing: -0.052em;
}

.impact-statement > p {
  margin: 0 0 4px;
  color: #82979a;
  font-size: 11px;
  line-height: 1.9;
}

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

.impact-grid article {
  position: relative;
  min-height: 340px;
  padding: 34px 31px 31px;
  overflow: hidden;
  border: 1px solid rgba(132, 193, 215, 0.13);
  border-radius: 17px;
  background: linear-gradient(150deg, rgba(11, 23, 32, 0.94), rgba(5, 10, 15, 0.93));
}

.impact-grid article::after {
  position: absolute;
  right: -74px;
  bottom: -78px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(48, 175, 225, 0.065);
  filter: blur(4px);
  content: "";
}

.impact-grid article:nth-child(2)::after {
  background: rgba(126, 91, 222, 0.075);
}

.impact-grid article:nth-child(3)::after {
  background: rgba(76, 213, 170, 0.075);
}

.impact-index {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(101, 199, 229, 0.23);
  border-radius: 50%;
  place-items: center;
  color: #73c4df;
  font-size: 8px;
  font-weight: 760;
}

.impact-area {
  margin: 27px 0 8px;
  color: #607b84;
  font-size: 8px;
  font-weight: 740;
  letter-spacing: 0.12em;
}

.impact-grid h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 19px;
  color: #e5eff2;
  font-size: clamp(22px, 2.15vw, 29px);
  font-weight: 540;
  line-height: 1.42;
  letter-spacing: -0.045em;
}

.impact-grid article > p:last-child {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #7f929a;
  font-size: 10px;
  line-height: 1.85;
}

.impact-evaluation {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  margin-top: 14px;
  padding: 48px 50px;
  border: 1px solid rgba(122, 153, 232, 0.15);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 90%, rgba(74, 92, 213, 0.09), transparent 32%),
    linear-gradient(145deg, rgba(10, 17, 31, 0.95), rgba(5, 10, 16, 0.96));
}

.impact-evaluation-copy h3 {
  margin: 17px 0 20px;
  color: #e7eff3;
  font-size: clamp(24px, 2.75vw, 35px);
  font-weight: 530;
  line-height: 1.42;
  letter-spacing: -0.05em;
}

.impact-evaluation-copy > p:last-child {
  margin: 0;
  color: #7e9199;
  font-size: 10px;
  line-height: 1.85;
}

.impact-loop {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.impact-loop li {
  position: relative;
  display: grid;
  grid-template-columns: 70px 135px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 88px;
  border-bottom: 1px solid rgba(150, 185, 204, 0.1);
}

.impact-loop li:last-child {
  border-bottom: 0;
}

.impact-loop span {
  color: #647e8a;
  font-size: 8px;
  font-weight: 770;
  letter-spacing: 0.12em;
}

.impact-loop strong {
  color: #dbe8ec;
  font-size: 12px;
  font-weight: 590;
}

.impact-loop small {
  color: #778a92;
  font-size: 9px;
  line-height: 1.65;
}

.impact-uses {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: 20px 25px;
  border-top: 1px solid rgba(133, 185, 204, 0.12);
  border-bottom: 1px solid rgba(133, 185, 204, 0.12);
}

.impact-uses > span {
  color: #69828c;
  font-size: 8px;
  font-weight: 770;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.impact-uses ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.impact-uses li {
  padding: 8px 12px;
  border: 1px solid rgba(120, 194, 216, 0.15);
  border-radius: 999px;
  color: #93a6ad;
  background: rgba(11, 22, 29, 0.68);
  font-size: 9px;
}

@media (max-width: 900px) {
  .impact-statement,
  .impact-evaluation {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid article {
    min-height: 250px;
  }
}

@media (max-width: 600px) {
  .social-impact {
    margin-bottom: 76px;
  }

  .impact-statement,
  .impact-evaluation {
    padding: 34px 23px;
    border-radius: 19px;
  }

  .impact-statement h3 {
    font-size: 28px;
  }

  .impact-statement > p,
  .impact-evaluation-copy > p:last-child {
    font-size: 10px;
  }

  .impact-grid article {
    min-height: auto;
    padding: 29px 24px 27px;
  }

  .impact-grid h3 {
    font-size: 23px;
  }

  .impact-loop li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 15px 0;
  }

  .impact-loop small {
    grid-column: 2;
  }

  .impact-uses {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 0;
  }
}

/* Expanded experience sequence */
.experience-sequence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 26px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(111, 181, 208, 0.14);
  border-radius: 18px;
  list-style: none;
  background: rgba(96, 160, 185, 0.12);
}

.experience-sequence li {
  position: relative;
  min-height: 145px;
  padding: 25px 24px 23px;
  background: linear-gradient(150deg, rgba(9, 20, 29, 0.98), rgba(5, 11, 17, 0.97));
}

.experience-sequence li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -8px;
  z-index: 1;
  display: grid;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(103, 194, 226, 0.2);
  border-radius: 50%;
  place-items: center;
  color: #6abbd8;
  background: #071018;
  font-size: 8px;
  content: "›";
  transform: translateY(-50%);
}

.experience-sequence span {
  color: #61b9d9;
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.14em;
}

.experience-sequence strong {
  display: block;
  margin: 16px 0 9px;
  color: #dce9ed;
  font-size: 14px;
  font-weight: 590;
}

.experience-sequence small {
  display: block;
  color: #71858d;
  font-size: 9px;
  line-height: 1.65;
}

/* Technical implementation */
.technology-showcase {
  margin: 0 0 118px;
}

.technology-heading {
  margin-bottom: 35px;
}

.architecture-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(100, 174, 224, 0.2);
  border-radius: 24px;
  background: #030913;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.035);
}

.architecture-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.architecture-figure figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  padding: 21px 25px;
  border-top: 1px solid rgba(105, 178, 220, 0.12);
  background: rgba(5, 13, 22, 0.96);
}

.architecture-figure figcaption span {
  color: #67bfe2;
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.architecture-figure figcaption p {
  margin: 0;
  color: #7f929a;
  font-size: 10px;
  line-height: 1.75;
}

.technology-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(110, 179, 209, 0.15);
  border-radius: 18px;
  background: rgba(102, 167, 193, 0.12);
}

.technology-metrics div {
  min-height: 130px;
  padding: 25px 23px;
  background: linear-gradient(145deg, rgba(10, 23, 32, 0.97), rgba(5, 11, 17, 0.96));
}

.technology-metrics span,
.technology-metrics strong,
.technology-metrics small {
  display: block;
}

.technology-metrics span {
  color: #62818e;
  font-size: 7px;
  font-weight: 770;
  letter-spacing: 0.13em;
}

.technology-metrics strong {
  margin-top: 17px;
  color: #dce9ed;
  font-size: 16px;
  font-weight: 600;
}

.technology-metrics small {
  margin-top: 7px;
  color: #6f838b;
  font-size: 8px;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.technology-grid article {
  position: relative;
  min-height: 315px;
  padding: 38px 37px 34px;
  overflow: hidden;
  border: 1px solid rgba(119, 185, 213, 0.14);
  border-radius: 19px;
  background:
    radial-gradient(circle at 92% 11%, rgba(64, 134, 231, 0.1), transparent 30%),
    linear-gradient(150deg, rgba(10, 23, 33, 0.96), rgba(5, 10, 16, 0.95));
}

.technology-grid article:nth-child(2),
.technology-grid article:nth-child(4) {
  background:
    radial-gradient(circle at 92% 11%, rgba(116, 83, 225, 0.11), transparent 30%),
    linear-gradient(150deg, rgba(17, 18, 40, 0.94), rgba(5, 10, 16, 0.96));
}

.technology-grid article > span {
  color: #64bce0;
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.14em;
}

.technology-grid h3 {
  margin: 27px 0 19px;
  color: #e8f1f4;
  font-size: clamp(23px, 2.4vw, 32px);
  font-weight: 540;
  line-height: 1.42;
  letter-spacing: -0.047em;
}

.technology-grid p {
  margin: 0;
  color: #7f929a;
  font-size: 10px;
  line-height: 1.85;
}

.technology-grid b {
  color: #b9dce8;
  font-weight: 600;
}

.technical-notes {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 52px;
  margin-top: 14px;
  padding: 42px 46px;
  border: 1px solid rgba(83, 213, 170, 0.17);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 50%, rgba(58, 211, 164, 0.09), transparent 33%),
    linear-gradient(145deg, rgba(8, 25, 25, 0.94), rgba(5, 11, 17, 0.96));
}

.technical-notes h3 {
  margin: 15px 0 0;
  color: #e7f2ef;
  font-size: clamp(23px, 2.35vw, 31px);
  font-weight: 540;
  line-height: 1.4;
  letter-spacing: -0.045em;
}

.technical-notes > p {
  margin: 0;
  color: #83969c;
  font-size: 10px;
  line-height: 1.9;
}

.technology-boundary {
  max-width: 900px;
  margin: 28px auto 0;
  color: #80939a;
  font-size: 12px;
  line-height: 1.85;
  text-align: center;
}

.technology-boundary strong {
  color: #d2e4e9;
  font-weight: 590;
}

@media (max-width: 900px) {
  .experience-sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-sequence li:nth-child(2)::after {
    display: none;
  }

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

  .technology-grid {
    grid-template-columns: 1fr;
  }

  .technology-grid article {
    min-height: 250px;
  }

  .technical-notes {
    grid-template-columns: 1fr;
    gap: 23px;
  }
}

@media (max-width: 600px) {
  .experience-sequence {
    grid-template-columns: 1fr;
    border-radius: 15px;
  }

  .experience-sequence li {
    min-height: 120px;
    padding: 22px 21px;
  }

  .experience-sequence li::after {
    display: none !important;
  }

  .technology-showcase {
    margin-bottom: 76px;
  }

  .architecture-figure {
    border-radius: 18px;
  }

  .architecture-figure img {
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }

  .architecture-figure figcaption {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }

  .architecture-figure figcaption span {
    white-space: normal;
  }

  .technology-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .technology-metrics div {
    min-height: 118px;
    padding: 20px 17px;
  }

  .technology-metrics strong {
    font-size: 13px;
  }

  .technology-grid article {
    min-height: auto;
    padding: 31px 24px 29px;
  }

  .technology-grid h3 {
    font-size: 24px;
  }

  .technical-notes {
    padding: 32px 23px;
    border-radius: 18px;
  }

  .technology-boundary {
    font-size: 10px;
  }
}
