@charset "UTF-8";
@font-face {
  font-family: Pretendard;
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
  src: url("assets/fonts/pretendard.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Serif KR";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/noto-serif-kr.woff2") format("woff2");
}
:root {
  color-scheme: dark;
  --canvas: #09090b;
  --surface: #121217;
  --raised: #1a1a22;
  --text: #fafafa;
  --muted: #b5b5c0;
  --accent: #c7b4ff;
  --accent-hover: #ded3ff;
  --line: #2b2b35;
  --control: #707081;
  --paper: #eeeef3;
  --ink: #17171d;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1:focus,
h2:focus,
h3:focus,
main:focus {
  outline: none;
}
.container {
  width: min(100% - 8rem, 80rem);
  margin-inline: auto;
}
.section {
  padding-block: 8rem;
}
h1,
h2,
h3 {
  font-weight: 600;
}
h2 {
  font-size: clamp(2rem, 3.35vw, 3rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.035em;
}
.square {
  flex-shrink: 0;
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
}
.section-index {
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.status {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 1rem;
  border-radius: 6px;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 9, 11, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 4.5rem;
  width: min(100% - 8rem, 80rem);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  font-weight: 600;
  flex-shrink: 0;
}
.brand-mark {
  width: 1.7rem;
  height: 1.9rem;
  color: var(--accent);
}
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
}
nav > a:not(.header-cta) {
  color: var(--muted);
  transition: color 0.15s;
}
nav > a:hover {
  color: var(--text);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--control);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.header-cta:hover {
  background: var(--raised);
  border-color: var(--accent);
}
.mobile-label {
  display: none;
}
.hero {
  position: relative;
  padding-top: 6.2rem;
  padding-bottom: 3.75rem;
}
.hero h1 {
  font-size: clamp(3.8rem, 6.7vw, 6rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-top: 1.65rem;
  max-width: 54rem;
}
.hero-copy {
  margin-top: 2rem;
}
.hero-emotion {
  font-size: 1.25rem;
  line-height: 1.7;
}
.description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 0.6rem;
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 6px;
  transition: background 0.15s;
}
.button > span {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.button-primary {
  background: var(--text);
  color: var(--canvas);
}
.button-primary:hover {
  background: var(--accent-hover);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.text-link:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}
.hero .status {
  margin-top: 1rem;
}
.hero-side-note {
  position: absolute;
  right: 0.2rem;
  top: 6.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  writing-mode: vertical-rl;
  font-family: monospace;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.side-line {
  height: 7rem;
  width: 1px;
  background: var(--line);
}
.mobile-break {
  display: none;
}
.world-window {
  position: relative;
  margin-inline: 1.5rem;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 2.1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.world-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.world-window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(9, 9, 11, 0.65), transparent 50%);
}
.world-topline,
.world-bottomline {
  position: absolute;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-family: monospace;
  color: #eeeef3;
  text-shadow: 0 1px 8px #09090b;
}
.world-topline {
  top: 1.5rem;
}
.world-topline > span:last-child {
  font-size: 1.5rem;
}
.world-bottomline {
  bottom: 1.5rem;
  font-size: 0.75rem;
}
.world-bottomline > span:last-child {
  font-family: Pretendard, sans-serif;
  letter-spacing: 0;
}
.preview-frame {
  position: absolute;
  bottom: 16%;
  left: 50%;
  transform: translateX(-50%);
  width: min(33rem, calc(100% - 4rem));
  background: rgba(18, 18, 23, 0.96);
  border: 1px solid var(--control);
  border-radius: 10px;
  box-shadow: 0 12px 64px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}
.frame-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}
.frame-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
}
.preview-body {
  padding: 1.5rem 2rem 1.75rem;
}
.preview-time {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}
.preview-body > p:nth-child(2) {
  margin-top: 0.75rem;
  font-family: "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  font-size: 1.25rem;
  line-height: 1.85;
}
.preview-cursor {
  display: block;
  width: 0.5rem;
  height: 0.8rem;
  margin-top: 1rem;
  background: var(--accent);
}
.roles {
  border-bottom: 1px solid var(--line);
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
}
.role {
  padding-right: 2.5rem;
}
.role + .role {
  border-left: 1px solid var(--line);
  padding-left: 2.5rem;
}
.item-number {
  display: block;
  font-family: monospace;
  color: var(--accent);
  font-size: 0.875rem;
  margin-bottom: 2.25rem;
}
.role p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 1rem;
}
.scene-section {
  position: relative;
  padding-bottom: 6rem;
  background-image: linear-gradient(
    90deg,
    transparent calc(50% - 1px),
    rgba(43, 43, 53, 0.35) 50%,
    transparent calc(50% + 1px)
  );
  background-size: 100% 100%;
}
.scene-heading {
  max-width: 58rem;
  padding-bottom: 3.5rem;
}
.scene-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.35;
}
.demo-note {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 1.5rem;
  max-width: 40rem;
}
.scene-frame {
  width: min(100% - 8rem, 50rem);
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.scene-frame > .frame-bar {
  padding: 1.1rem 2.5rem;
}
.frame-chapter {
  font-family: monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.scene-context {
  margin: 2rem 2.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.scene-context > span + span::before {
  content: "/";
  margin-right: 1.1rem;
  color: var(--control);
}
.scene-prose {
  max-width: 41rem;
  margin: auto;
  padding: 2.5rem 2.5rem 3rem;
  font-family: "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  font-size: 1.25rem;
  line-height: 1.85;
  color: #e6e6eb;
}
.scene-prose p {
  margin-bottom: 1.5rem;
}
.scene-prose p:last-child {
  margin: 3rem 0 0;
  color: var(--text);
  font-size: 2rem;
  line-height: 1.4;
}
.scene-prose .dialogue {
  color: var(--accent-hover);
  border-left: 1px solid var(--accent);
  padding-left: 1.3rem;
  margin-block: 2.25rem;
}
.choices {
  padding: 0 2.5rem 2.5rem;
}
.choice-instruction {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.choice {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: var(--raised);
  border: 1px solid var(--control);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: left;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.choice + .choice {
  margin-top: 0.75rem;
}
.choice:hover {
  border-color: var(--accent);
  background: #23222e;
}
.choice-number {
  font: 0.875rem/1.5 monospace;
  color: var(--muted);
  padding-top: 0.25rem;
}
.choice-copy {
  display: block;
  flex: 1;
  min-width: 0;
}
.choice-copy > span {
  display: block;
}
.choice-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.choice-gain {
  font-size: 1rem;
  line-height: 1.65;
  margin-top: 0.75rem;
}
.choice-cost {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 0.3rem;
}
.choice-arrow {
  font-size: 1.4rem;
  line-height: 1.4;
}
.scene-result {
  background: var(--paper);
  color: var(--ink);
  padding: 3rem 3rem 2.75rem;
  border-top: 1px solid var(--accent);
  animation: result-in 0.22s var(--ease);
}
.selected-action {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.result-heading h3 {
  font-size: 1.75rem;
  line-height: 1.3;
}
.result-time {
  font-size: 0.875rem;
  margin-top: 0.6rem;
  line-height: 1.6;
}
.result-prose {
  font-family: "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  font-size: 1.25rem;
  line-height: 1.85;
  max-width: 36rem;
  margin-top: 2rem;
}
.result-question {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.7;
  margin: 1.5rem 0 1rem;
}
.button-ink {
  background: var(--ink);
  color: var(--text);
}
.button-ink:hover {
  background: var(--raised);
}
.scene-result a:focus-visible,
.scene-result button:focus-visible {
  outline-color: var(--ink);
}
.result-status {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}
.reset-button {
  display: block;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 1rem;
}
.reset-button:hover {
  text-decoration-thickness: 2px;
}
.scene-footnote {
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: center;
  color: var(--muted);
  margin: 2rem 1.25rem 0;
}
.no-script-results {
  padding: 2.5rem;
  background: var(--paper);
  color: var(--ink);
}
.no-script-note {
  font-size: 1rem;
  line-height: 1.7;
}
.static-branch {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid #707081;
}
.static-cost {
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1rem;
}
.static-branch .result-prose {
  margin-top: 1.5rem;
}
.how {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}
.section-aside {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 3.5rem 0 0;
}
.steps li {
  padding-top: 1.5rem;
  border-top: 1px solid var(--control);
}
.step-number {
  font-family: monospace;
  color: var(--accent);
  font-size: 0.875rem;
}
.steps h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
}
.steps p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 0.9rem;
  max-width: 23rem;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 5rem;
  border-bottom: 1px solid var(--line);
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 5rem;
  padding: 1.4rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
}
summary::-webkit-details-marker {
  display: none;
}
summary:hover {
  color: var(--accent-hover);
}
.faq-icon {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}
.faq-icon::after {
  transform: rotate(90deg);
}
details[open] .faq-icon::after {
  transform: rotate(0deg);
}
details[open] summary {
  color: var(--accent);
}
details > p {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.85;
  padding-bottom: 1.75rem;
  max-width: 38rem;
}
.play {
  position: relative;
  isolation: isolate;
  min-height: 35rem;
}
.play h2 {
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  line-height: 1.2;
  margin: 1.5rem 0 2rem;
  letter-spacing: -0.025em;
}
.play-content {
  max-width: 36rem;
}
.play-content p:not(.status) {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted);
}
.play-content .button {
  margin-top: 2rem;
}
.play-content .play-selected-action {
  color: var(--text) !important;
  margin-bottom: 0.8rem;
}
.play .reset-button {
  color: var(--muted);
}
.play-status {
  margin-top: 1.25rem;
}
.end-door {
  position: absolute;
  right: 7%;
  top: 9rem;
  width: 12rem;
  height: 18rem;
  z-index: -1;
  color: var(--accent);
}
.door-page {
  position: absolute;
  inset: 0 3.5rem 0 0;
  border: 1px solid var(--line);
  border-top-color: var(--control);
  transform: skewY(-8deg);
}
.door-slit {
  position: absolute;
  top: -1rem;
  bottom: 0;
  right: 3.4rem;
  width: 0.3rem;
  background: var(--accent);
  box-shadow: 0 0 32px rgba(199, 180, 255, 0.25);
}
.end-door > span {
  position: absolute;
  bottom: -3rem;
  left: 0;
  font: 0.625rem/1.5 monospace;
  letter-spacing: 0.1em;
  color: var(--muted);
  width: 100%;
  white-space: normal;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
}
.site-footer p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.site-footer .wordmark {
  font-size: 1.125rem;
}
.site-footer .brand-mark {
  width: 1.4rem;
  height: 1.6rem;
}
@keyframes result-in {
  from {
    opacity: 0.75;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .hero h1 {
    animation: hero-in 0.5s var(--ease);
  }
  .world-image {
    animation: world-in 0.7s var(--ease);
  }
  @keyframes hero-in {
    from {
      opacity: 0.6;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes world-in {
    from {
      transform: scale(1.03);
    }
    to {
      transform: scale(1);
    }
  }
}
@media (max-width: 1023px) {
  .container,
  .header-inner {
    width: calc(100% - 4rem);
  }
  .section {
    padding-block: 5.5rem;
  }
  .header-inner {
    height: 4rem;
  }
  .hero {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }
  .hero h1 {
    font-size: 4.6rem;
  }
  .hero-side-note {
    display: none;
  }
  .world-window {
    aspect-ratio: 1.65;
    margin-inline: 1rem;
  }
  .preview-frame {
    bottom: 12%;
    width: 30rem;
  }
  .role {
    padding-right: 1.5rem;
  }
  .role + .role {
    padding-left: 1.5rem;
  }
  .role h3 {
    font-size: 1.3rem;
  }
  .role p {
    font-size: 1rem;
  }
  .scene-frame {
    width: calc(100% - 4rem);
  }
  .scene-heading {
    padding-bottom: 2.5rem;
  }
  .scene-heading h2 {
    font-size: 2.4rem;
  }
  .section-heading-row {
    display: block;
  }
  .section-aside {
    margin-top: 1rem;
  }
  .steps {
    gap: 1.5rem;
  }
  .steps p {
    font-size: 1rem;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .end-door {
    right: 0;
    opacity: 0.6;
    width: 9rem;
    height: 14rem;
  }
  .play-content {
    max-width: 32rem;
  }
  .play h2 {
    font-size: 3.25rem;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 5.25rem;
  }
  .container,
  .header-inner {
    width: calc(100% - 2.5rem);
  }
  .header-inner {
    height: 3.75rem;
    gap: 1rem;
  }
  nav {
    gap: 0;
  }
  .desktop-nav,
  .desktop-label {
    display: none !important;
  }
  .mobile-label {
    display: inline;
  }
  .header-cta {
    gap: 1rem;
    font-size: 0.875rem;
    padding: 0.55rem 0.8rem;
  }
  .wordmark {
    font-size: 1.125rem;
    gap: 0.5rem;
  }
  .brand-mark {
    width: 1.45rem;
    height: 1.7rem;
  }
  .section {
    padding-block: 4.5rem;
  }
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 2.75rem;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 10.8vw, 3rem);
    margin-top: 1.5rem;
    line-height: 1.18;
  }
  .hero-copy {
    margin-top: 1.5rem;
  }
  .hero-emotion {
    font-size: 1.125rem;
  }
  .description {
    font-size: 1rem;
    margin-top: 0.75rem;
  }
  .desktop-break {
    display: none;
  }
  .mobile-break {
    display: block;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.75rem;
  }
  .hero-actions .text-link {
    align-self: flex-start;
  }
  .hero .status {
    margin-top: 0.5rem;
  }
  .world-window {
    margin-inline: 0;
    aspect-ratio: 4/5;
    border-inline: 0;
    border-radius: 0;
  }
  .world-topline,
  .world-bottomline {
    left: 1.25rem;
    right: 1.25rem;
  }
  .world-topline {
    font-size: 0.6rem;
    top: 1.1rem;
  }
  .world-bottomline {
    bottom: 1rem;
    font-size: 0.65rem;
  }
  .world-bottomline > span:last-child {
    display: none;
  }
  .preview-frame {
    width: calc(100% - 2.5rem);
    bottom: 12%;
  }
  .frame-bar {
    padding: 0.9rem 1.1rem;
    gap: 0.75rem;
  }
  .preview-body {
    padding: 1.25rem 1.4rem;
  }
  .preview-body > p:nth-child(2) {
    font-size: 1.125rem;
  }
  .role-grid {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }
  .role {
    padding: 1.75rem 0;
    border-top: 1px solid var(--line);
  }
  .role + .role {
    border-left: none;
    padding: 1.75rem 0;
  }
  .role h3 {
    font-size: 1.375rem;
  }
  .item-number {
    margin-bottom: 1rem;
  }
  .role p {
    font-size: 1rem;
    margin-top: 0.75rem;
  }
  .section-index {
    margin-bottom: 1.5rem;
  }
  h2 {
    font-size: 1.9rem;
  }
  .scene-heading h2 {
    font-size: 1.9rem;
    line-height: 1.4;
  }
  .scene-frame {
    width: calc(100% - 2.5rem);
  }
  .scene-frame > .frame-bar {
    padding: 1rem 1.4rem;
  }
  .frame-chapter {
    display: none;
  }
  .scene-context {
    margin: 1.5rem 1.4rem 0;
    gap: 0.45rem 0.7rem;
  }
  .scene-context > span + span::before {
    margin-right: 0.7rem;
  }
  .scene-prose {
    padding: 1.75rem 1.4rem 2.5rem;
    font-size: 1.125rem;
    line-height: 1.85;
  }
  .scene-prose p {
    margin-bottom: 1.3rem;
  }
  .scene-prose .dialogue {
    padding-left: 1rem;
    margin-block: 1.75rem;
  }
  .scene-prose p:last-child {
    margin-top: 2.5rem;
    font-size: 1.75rem;
  }
  .choices {
    padding: 0 1.4rem 1.5rem;
  }
  .choice {
    padding: 1.2rem 1rem;
    gap: 0.8rem;
  }
  .choice-number {
    font-size: 0.75rem;
  }
  .choice-title {
    font-size: 1.125rem;
  }
  .choice-gain,
  .choice-cost {
    font-size: 1rem;
  }
  .choice-arrow {
    display: none;
  }
  .scene-result {
    padding: 2rem 1.4rem;
  }
  .selected-action {
    margin-bottom: 1.5rem;
  }
  .result-heading h3 {
    font-size: 1.5rem;
  }
  .result-prose {
    font-size: 1.125rem;
    margin-top: 1.5rem;
  }
  .result-question {
    font-size: 1rem;
  }
  .result-next .button {
    width: 100%;
    gap: 0.8rem;
    padding-inline: 1rem;
  }
  .result-status {
    font-size: 0.875rem;
  }
  .no-script-results {
    padding: 2rem 1.4rem;
  }
  .steps {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
    gap: 2rem;
  }
  .steps li {
    position: relative;
    padding-top: 1.5rem;
    padding-left: 2.75rem;
  }
  .step-number {
    position: absolute;
    left: 0;
    top: 1.65rem;
  }
  .steps h3 {
    margin-top: 0;
    font-size: 1.25rem;
  }
  .steps p {
    font-size: 1rem;
    margin-top: 0.6rem;
  }
  .faq {
    gap: 2rem;
  }
  summary {
    font-size: 1rem;
    min-height: 4.5rem;
  }
  details > p {
    font-size: 1rem;
  }
  .play {
    min-height: 0;
  }
  .play h2 {
    font-size: 2.5rem;
    max-width: 100%;
  }
  .play-content p:not(.status) {
    font-size: 1rem;
  }
  .play-content .button {
    width: 100%;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .end-door {
    display: none;
  }
  .site-footer {
    flex-wrap: wrap;
    padding-block: 2rem;
    gap: 1.5rem 1rem;
  }
  .site-footer .wordmark {
    order: 0;
  }
  .site-footer .text-link {
    order: 1;
    margin-left: auto;
  }
  .site-footer p {
    order: 2;
    width: 100%;
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Three views of the same moment, with all prose as real text. */
.scene-frame {
  width: min(100% - 8rem, 64rem);
}
.illustrated-scene {
  padding-top: 2rem;
}
.story-beat {
  margin: 0;
}
.story-art {
  margin: 0;
  background: #1a1a22;
  border-block: 1px solid var(--line);
}
.story-art img {
  display: block;
  width: 100%;
  height: auto;
  /* Keep hands, restraints and the full citizen/food contrast visible. */
}
.story-copy {
  max-width: 42rem;
  margin: auto;
  padding: 2.5rem 3rem 3rem;
  font-family: "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  font-size: 1.25rem;
  line-height: 1.85;
  color: #e6e6eb;
}
.story-copy p + p {
  margin-top: 1.25rem;
}
.story-copy .dialogue {
  color: var(--accent-hover);
  border-left: 1px solid var(--accent);
  padding-left: 1.2rem;
  margin-block: 1.75rem;
}
.story-copy .story-handoff {
  font-size: 2rem;
  line-height: 1.4;
  margin-top: 2.5rem;
  color: var(--text);
}
.choices {
  max-width: 49rem;
  margin-inline: auto;
}
.full-scene {
  border-top: 1px solid var(--line);
  border-bottom: none;
}
.full-scene > summary {
  padding: 1.25rem 2.5rem;
  min-height: 4.5rem;
  color: var(--muted);
  font-size: 1rem;
}
.full-scene[open] > summary {
  border-bottom: 1px solid var(--line);
}
.full-scene .scene-prose {
  padding-top: 2rem;
}
.scene-result {
  padding-inline: max(3rem, calc((100% - 36rem) / 2));
}
@media (max-width: 1023px) {
  .scene-frame {
    width: calc(100% - 4rem);
  }
}
@media (max-width: 767px) {
  .scene-frame {
    width: calc(100% - 2.5rem);
  }
  .illustrated-scene {
    padding-top: 1.5rem;
  }
  .story-copy {
    padding: 1.5rem 1.4rem 2rem;
    font-size: 1.125rem;
  }
  .story-copy p + p {
    margin-top: 1rem;
  }
  .story-copy .dialogue {
    padding-left: 1rem;
    margin-block: 1.5rem;
  }
  .story-copy .story-handoff {
    font-size: 1.75rem;
    margin-top: 2rem;
  }
  .full-scene > summary {
    padding-inline: 1.4rem;
  }
  .scene-result {
    padding-inline: 1.4rem;
  }
}
