:root {
  color-scheme: light dark;
  --ink: #0a0908;
  --stage: #171412;
  --paper: #f2e5c5;
  --paper-soft: #fff1cf;
  --muted: #8e795c;
  --line: rgb(10 9 8 / 0.18);
  --red: #e6451c;
  --red-hot: #ff5a2c;
  --teal: #087e89;
  --teal-deep: #055c64;
  --gold: #fff1c9;
  --mustard: #efbe2a;
  --light-level: 0;
  --shell: min(100% - 40px, 1120px);
  --sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --display: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 6% 5%, rgb(230 69 28 / 0.13), transparent 18rem),
    radial-gradient(circle at 92% 22%, rgb(8 126 137 / 0.13), transparent 23rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body.entry-locked {
  overflow: hidden;
}

body.stage-lit {
  --light-level: 1;
}

img {
  display: block;
  max-width: 100%;
}

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

.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(18px, 4vw, 42px);
  background:
    linear-gradient(90deg, rgb(230 69 28 / 0.13) 1px, transparent 1px),
    linear-gradient(rgb(8 126 137 / 0.1) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px, 44px 44px, auto;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.site-entered .entry-gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry-frame {
  position: relative;
  display: grid;
  width: min(100%, 1220px);
  min-height: min(900px, calc(100svh - 36px));
  padding: clamp(10px, 1.8vw, 22px);
  border: clamp(2px, 0.3vw, 4px) solid var(--ink);
  background:
    linear-gradient(90deg, var(--teal) 0 22%, transparent 22%),
    linear-gradient(180deg, transparent 0 66%, var(--red) 66% 100%),
    var(--paper-soft);
  box-shadow: 14px 14px 0 var(--ink), 0 28px 90px rgb(10 9 8 / 0.18);
}

.entry-window {
  position: relative;
  display: grid;
  min-height: 0;
  align-content: space-between;
  overflow: hidden;
  border: 2px solid var(--ink);
  padding: clamp(18px, 4vw, 54px);
  background: var(--ink);
  isolation: isolate;
}

.entry-window > img:first-child,
.entry-window-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.entry-window > img:first-child {
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.34) brightness(0.38) contrast(1.18);
  scale: 1.06;
  transition: filter 1000ms ease, scale 1400ms ease;
}

.site-entered .entry-window > img:first-child {
  filter: grayscale(0.18) brightness(0.82) contrast(1.12);
  scale: 1;
}

.entry-window-shade {
  z-index: -1;
  background:
    radial-gradient(ellipse at 54% 8%, rgb(255 241 201 / 0.48), transparent 34%),
    linear-gradient(180deg, rgb(10 9 8 / 0.12), rgb(10 9 8 / 0.86));
}

.entry-type {
  display: grid;
  align-content: space-between;
  width: clamp(196px, 31vw, 380px);
  min-height: clamp(164px, 23vw, 282px);
  padding: clamp(16px, 2.4vw, 28px);
  background:
    linear-gradient(135deg, var(--paper-soft) 0 52%, transparent 52%),
    var(--teal);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--red);
}

.entry-type span {
  justify-self: end;
  color: var(--red);
  font-size: clamp(1.1rem, 3vw, 3rem);
  font-weight: 950;
  line-height: 1;
}

.entry-type b {
  max-width: 4ch;
  font-size: clamp(2rem, 5.8vw, 5.8rem);
  font-weight: 950;
  line-height: 0.96;
}

.entry-copy {
  align-self: end;
  max-width: 680px;
}

.entry-copy h1 {
  max-width: none;
  margin-bottom: 0;
  color: var(--paper-soft);
  font-size: clamp(3.2rem, 11vw, 10rem);
  line-height: 0.92;
  text-transform: none;
}

.entry-console {
  position: absolute;
  right: clamp(28px, 6vw, 88px);
  bottom: clamp(28px, 6vw, 82px);
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.entry-console p {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--shell), 1160px);
  margin: 12px auto 0;
  padding: 13px 16px;
  border: 1px solid rgb(255 241 201 / 0.24);
  background: rgb(10 9 8 / 0.76);
  color: var(--paper-soft);
  backdrop-filter: blur(14px);
  mix-blend-mode: normal;
}

.brand {
  display: grid;
  gap: 1px;
  min-width: 0;
  text-transform: uppercase;
}

.brand span {
  font-size: 0.95rem;
  font-weight: 800;
}

.brand small {
  color: rgb(255 241 201 / 0.68);
  font-size: 0.62rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgb(255 241 201 / 0.88);
  font-size: 0.82rem;
}

nav a,
footer a {
  transition: color 180ms ease;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--red-hot);
}

.nav-nina {
  padding: 5px 12px;
  border: 1px solid rgb(230 69 28 / 0.5);
  border-radius: 2px;
  color: var(--red-hot);
  font-weight: 700;
  letter-spacing: .04em;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.nav-nina:hover,
.nav-nina:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper) !important;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(680px, 96svh);
  align-content: end;
  overflow: hidden;
  padding: 132px max(20px, calc((100vw - 1120px) / 2)) 52px;
  background: var(--ink);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: clamp(10px, 1.4vw, 18px);
  background:
    linear-gradient(90deg, var(--red) 0 33%, var(--paper-soft) 33% 67%, var(--teal) 67%);
  content: "";
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  z-index: -3;
  object-fit: cover;
  object-position: 40% center;
  filter: grayscale(calc(0.26 - var(--light-level) * 0.16))
    brightness(calc(0.44 + var(--light-level) * 0.42))
    contrast(1.14);
  scale: 1.04;
  transition: filter 900ms ease, scale 1200ms ease;
}

.stage-lit .hero-photo {
  scale: 1;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgb(10 9 8 / 0.62), transparent 28%, rgb(10 9 8 / 0.88)),
    linear-gradient(90deg, rgb(10 9 8 / 0.42), transparent 72%);
}

.hero::before {
  position: absolute;
  top: clamp(96px, 13vw, 170px);
  right: max(20px, calc((100vw - 1120px) / 2));
  z-index: -1;
  display: grid;
  width: clamp(108px, 17vw, 224px);
  aspect-ratio: 1;
  place-items: start end;
  padding: 10px;
  background: var(--teal);
  color: var(--paper-soft);
  content: "1995";
  font-size: clamp(1.1rem, 3.2vw, 3.6rem);
  font-weight: 950;
  line-height: 0.9;
}

.beam {
  position: absolute;
  pointer-events: none;
  opacity: calc(0.14 + var(--light-level) * 0.86);
  transition: opacity 800ms ease, filter 800ms ease;
}

.beam-hero {
  z-index: -1;
  inset: -12% -12% auto auto;
  width: min(94vw, 980px);
  height: 124%;
  background:
    radial-gradient(ellipse at 88% 4%, rgb(255 247 216 / 0.9), transparent 16%),
    linear-gradient(
      128deg,
      transparent 12%,
      rgb(244 213 148 / 0.08) 26%,
      rgb(244 213 148 / 0.42) 48%,
      rgb(244 213 148 / 0.14) 66%,
      transparent 82%
    );
  clip-path: polygon(55% 0, 100% 0, 68% 100%, 2% 100%);
  filter: blur(5px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
}

.hero-name {
  margin-bottom: 12px;
  color: var(--paper-soft);
  font-size: clamp(1.2rem, 3.6vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
}

.heritage-mark {
  position: absolute;
  right: max(20px, calc((100vw - 1120px) / 2));
  bottom: clamp(122px, 18vw, 188px);
  z-index: 2;
  width: clamp(58px, 6vw, 82px);
  margin: 0;
  padding: 4px;
  border: 1px solid rgb(10 9 8 / 0.42);
  background: rgb(255 241 201 / 0.7);
  opacity: 0.68;
}

.heritage-mark img {
  width: 100%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

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

h1,
h2,
blockquote {
  font-family: var(--display);
  font-weight: 800;
}

h1 {
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 9vw, 5.6rem);
  line-height: 1.02;
}

.hero-copy h1 {
  color: var(--paper-soft);
  white-space: nowrap;
}

.hero-copy > p:last-child {
  max-width: 23rem;
  margin-bottom: 0;
  color: rgb(255 241 201 / 0.9);
  font-size: clamp(1rem, 3.2vw, 1.28rem);
  line-height: 1.7;
  text-wrap: balance;
}

.light-console {
  position: absolute;
  right: max(20px, calc((100vw - 1120px) / 2));
  bottom: 50px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgb(255 241 201 / 0.22);
  background: rgb(10 9 8 / 0.66);
  color: var(--paper-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.power-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: clamp(150px, 18vw, 220px);
  height: clamp(56px, 6vw, 72px);
  padding: 7px;
  border: 0;
  border-radius: 999px;
  background: var(--stage);
  color: var(--paper-soft);
  font-family: "Impact", "Arial Narrow", var(--sans);
  font-size: clamp(1.02rem, 2vw, 1.48rem);
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 5px 5px 0 rgb(10 9 8 / 0.22);
  transition: background 360ms ease, box-shadow 360ms ease, translate 360ms ease;
}

.switch-slider {
  position: absolute;
  inset: 7px auto 7px 7px;
  z-index: 0;
  width: calc(50% - 7px);
  border-radius: inherit;
  background: var(--paper-soft);
  box-shadow: 0 7px 18px rgb(0 0 0 / 0.28);
  translate: 100% 0;
  transition: translate 520ms cubic-bezier(0.2, 0.85, 0.2, 1),
    background 520ms ease;
}

.switch-on,
.switch-off {
  position: relative;
  z-index: 1;
  line-height: 1;
  transition: color 360ms ease;
}

.switch-on {
  color: rgb(255 241 201 / 0.36);
}

.switch-off {
  color: #090909;
}

.power-switch[aria-pressed="true"] {
  background: var(--stage);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.09), 5px 5px 0 rgb(230 69 28 / 0.32);
}

.power-switch[aria-pressed="true"] .switch-slider {
  translate: 0 0;
  background: var(--gold);
}

.power-switch[aria-pressed="true"] .switch-on {
  color: #090909;
}

.power-switch[aria-pressed="true"] .switch-off {
  color: rgb(245 240 231 / 0.34);
}

.power-switch:hover,
.power-switch:focus-visible {
  translate: 0 -2px;
}

.power-switch:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 4px;
}

.light-switch {
  width: 146px;
  height: 54px;
  padding: 6px;
  font-size: 1rem;
}

.light-switch .switch-slider {
  inset: 6px auto 6px 6px;
  width: calc(50% - 6px);
}

.intro,
.works,
.archive,
.actors {
  width: var(--shell);
  margin: 0 auto;
  scroll-margin-top: 118px;
}

.intro {
  position: relative;
  display: grid;
  gap: 32px;
  margin-top: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 5vw, 58px);
  border: 2px solid var(--ink);
  background:
    linear-gradient(90deg, transparent 0 68%, rgb(8 126 137 / 0.12) 68%),
    var(--paper-soft);
  box-shadow: 10px 10px 0 var(--ink);
}

.about-page {
  opacity: calc(0.6 + var(--light-level) * 0.4);
  translate: 0 calc(18px - var(--light-level) * 18px);
  transition: opacity 900ms ease, translate 900ms ease;
}

.beam-about {
  top: 24px;
  left: -22vw;
  z-index: -1;
  width: min(92vw, 880px);
  height: 660px;
  background: radial-gradient(ellipse at 42% 12%, rgb(230 69 28 / 0.12), transparent 56%);
  filter: blur(14px);
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 7vw, 4.2rem);
  line-height: 1.05;
}

.intro-copy {
  max-width: 710px;
  color: rgb(10 9 8 / calc(0.56 + var(--light-level) * 0.44));
  font-family: var(--sans);
  font-size: clamp(1.08rem, 3.3vw, 1.62rem);
  font-weight: 400;
  line-height: 1.85;
  transition: color 800ms ease, text-shadow 800ms ease;
}

.stage-lit .intro-copy {
  text-shadow: 0 0 24px rgb(244 213 148 / 0.08);
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.intro-copy strong {
  color: var(--red);
  font-weight: 700;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding-top: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.facts div {
  min-width: 0;
  min-height: 122px;
  padding: clamp(14px, 2vw, 22px);
}

.facts div:nth-child(odd) {
  border-right: 1px solid var(--ink);
}

.facts div:nth-child(-n+2) {
  border-bottom: 1px solid var(--ink);
}

.facts div:nth-child(3) {
  background: var(--mustard);
  color: var(--ink);
}

.facts div:last-child {
  background: var(--teal);
  color: var(--paper-soft);
}

.facts dt {
  margin-bottom: 8px;
  color: currentColor;
  opacity: 0.62;
  font-size: 0.76rem;
  font-weight: 800;
}

.facts dd {
  margin: 0;
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 700;
}

.statement {
  padding: clamp(64px, 9vw, 104px) max(20px, calc((100vw - 1120px) / 2));
  margin-top: clamp(54px, 8vw, 96px);
  border-block: 2px solid var(--ink);
  background:
    linear-gradient(90deg, var(--red) 0 min(24vw, 320px), transparent min(24vw, 320px)),
    var(--ink);
  color: var(--paper-soft);
}

blockquote {
  width: min(100%, 880px);
  margin: 0;
  font-size: clamp(1.7rem, 5.4vw, 4rem);
  line-height: 1.22;
  text-wrap: balance;
}

.works {
  padding: clamp(78px, 11vw, 126px) 0;
}

.works-gallery {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.work-panel {
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper-soft);
  transition: flex 740ms cubic-bezier(0.2, 0.82, 0.2, 1),
    background 420ms ease;
}

.work-panel.is-active {
  background:
    linear-gradient(135deg, rgb(230 69 28 / 0.16), transparent 40%),
    var(--paper-soft);
  box-shadow: 8px 8px 0 var(--red);
}

.work-tab {
  display: grid;
  width: 100%;
  gap: 8px;
  padding: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.work-tab span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.work-tab b {
  max-width: 14ch;
  font-family: var(--display);
  font-size: clamp(1.36rem, 4.6vw, 2.2rem);
  line-height: 1.15;
  word-break: keep-all;
}

.work-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}

.work-scene {
  display: grid;
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 760ms cubic-bezier(0.2, 0.82, 0.2, 1), opacity 420ms ease;
}

.work-panel.is-active .work-scene {
  max-height: 1120px;
  opacity: 1;
}

.work-image {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.08;
  background: #111;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.08);
  transition: scale 700ms ease, filter 700ms ease;
}

.hamlet-image img {
  object-position: center 30%;
}

.work-panel:hover .work-image img,
.work-panel:focus-within .work-image img {
  filter: saturate(1.08) contrast(1.1);
  scale: 1.03;
}

.work-year {
  margin-bottom: 9px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
}

.work-detail {
  padding: 18px;
}

.work-detail h3,
.awards h3 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  line-height: 1.2;
}

.work-detail h3 {
  word-break: keep-all;
}

.work-detail p:last-child {
  max-width: 28rem;
  margin-bottom: 0;
  color: rgb(10 9 8 / 0.72);
  line-height: 1.8;
}

.hamlet-note {
  max-width: 32rem;
  margin-top: 16px;
  border: 1px solid var(--ink);
  background: rgb(255 241 201 / 0.66);
}

.hamlet-note summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 62px 10px 14px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.hamlet-note summary::-webkit-details-marker {
  display: none;
}

.hamlet-note summary::after {
  position: absolute;
  right: 10px;
  display: grid;
  width: 42px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--ink);
  content: "OPEN";
  font-size: 0.56rem;
  line-height: 1;
}

.hamlet-note[open] summary::after {
  background: var(--red);
  color: var(--paper-soft);
  content: "READ";
}

.hamlet-note-body {
  display: grid;
  gap: 14px;
  padding: 15px 14px 18px;
  animation: note-rise 360ms ease both;
}

.hamlet-note dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.hamlet-note dl div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

.hamlet-note dt {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
}

.hamlet-note dd,
.hamlet-note p {
  margin: 0;
}

.hamlet-note dd {
  font-size: 0.9rem;
  font-weight: 800;
}

.hamlet-note p {
  color: rgb(10 9 8 / 0.76);
  font-size: 0.96rem;
  line-height: 1.72;
}

@keyframes note-rise {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.archive {
  display: grid;
  gap: 42px;
  padding-bottom: clamp(82px, 14vw, 150px);
}

.timeline,
.awards ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline {
  border-top: 2px solid var(--ink);
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(72px, 116px) 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink);
}

.timeline div {
  display: grid;
  gap: 6px;
}

.timeline strong {
  font-size: clamp(1rem, 2.3vw, 1.28rem);
  line-height: 1.4;
  word-break: keep-all;
}

.timeline span {
  max-width: 40rem;
  color: rgb(10 9 8 / 0.68);
  line-height: 1.65;
  word-break: keep-all;
}

.timeline .play {
  white-space: nowrap;
}

.timeline time,
.awards b {
  color: var(--red);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.awards {
  padding: clamp(24px, 5vw, 42px) 0;
  padding: clamp(24px, 5vw, 42px);
  border: 2px solid var(--ink);
  background: var(--teal);
  color: var(--paper-soft);
  box-shadow: 8px 8px 0 var(--ink);
}

.awards ul {
  display: grid;
  gap: 15px;
  color: rgb(255 241 201 / 0.96);
  line-height: 1.7;
}

.awards li {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.awards b {
  flex: 0 0 64px;
}

.award-subtitle {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 241 201 / 0.44);
}

.actors {
  margin-bottom: clamp(44px, 8vw, 92px);
}

.actor-stage {
  position: relative;
  overflow: visible;
}

.actor-intro {
  position: relative;
  isolation: isolate;
}

.actors-console {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  z-index: 2;
}

.actor-art {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 3.5vw, 48px) clamp(150px, 22vw, 220px) clamp(22px, 3.5vw, 48px) clamp(24px, 4vw, 60px);
  overflow: hidden;
  background: #2a2a0d;
  color: var(--gold);
}

.actors-switch {
  width: clamp(126px, 18vw, 188px);
  height: clamp(48px, 6vw, 62px);
}

.actor-roster {
  position: relative;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(0 0 100%);
  translate: 0 -10px;
  border: 2px solid transparent;
  background:
    linear-gradient(90deg, rgb(10 9 8 / 0.08) 1px, transparent 1px),
    var(--paper-soft);
  background-size: clamp(80px, 10vw, 128px) 100%, auto;
  color: var(--ink);
  box-shadow: 0 0 0 transparent;
  transform-origin: top;
  transition:
    max-height 920ms cubic-bezier(0.2, 0.82, 0.2, 1),
    opacity 540ms ease,
    clip-path 760ms cubic-bezier(0.2, 0.82, 0.2, 1),
    translate 640ms ease,
    margin-top 640ms ease,
    padding 640ms ease,
    border-color 360ms ease,
    box-shadow 640ms ease;
}

body.actors-open .actor-roster {
  max-height: 2400px;
  margin-top: clamp(24px, 5vw, 52px);
  padding: clamp(18px, 3vw, 34px);
  border-color: var(--ink);
  opacity: 1;
  clip-path: inset(0);
  translate: 0;
  box-shadow: 8px 8px 0 var(--teal);
}

.actor-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0 clamp(14px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.actor-list li {
  min-height: 50px;
  padding: 13px 0 11px;
  border-top: 1px solid rgb(10 9 8 / 0.3);
  color: var(--ink);
  font-size: clamp(1rem, 2.2vw, 1.24rem);
  font-weight: 850;
  letter-spacing: 0;
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity 420ms ease calc(var(--actor-index) * 16ms),
    translate 460ms ease calc(var(--actor-index) * 16ms);
}

body.actors-open .actor-list li {
  opacity: 1;
  translate: 0;
}

.gallery {
  display: grid;
  gap: clamp(10px, 2vw, 20px);
  padding: clamp(10px, 2vw, 20px);
  border-top: 2px solid var(--ink);
  background: var(--ink);
}

.world-port {
  position: relative;
  width: var(--shell);
  margin: 0 auto clamp(44px, 8vw, 92px);
}

.world-port-art {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 3.5vw, 48px) clamp(150px, 22vw, 220px) clamp(22px, 3.5vw, 48px) clamp(24px, 4vw, 60px);
  overflow: hidden;
  background: #0a2d3a;
  color: var(--gold);
}

.art-eyebrow {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 8.5vw, 5.6rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgb(255 241 201 / 0.94);
}

.art-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.art-title {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 800;
  color: var(--paper);
}

.art-note {
  margin: 0;
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  font-weight: 400;
  color: rgb(242 229 197 / 0.62);
  letter-spacing: 0.01em;
}

.book-port {
  position: relative;
  width: var(--shell);
  margin: 0 auto clamp(44px, 8vw, 92px);
}

.book-port-art {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  min-width: 0;
  margin: 0;
  padding: clamp(22px, 3.5vw, 48px) clamp(150px, 22vw, 220px) clamp(22px, 3.5vw, 48px) clamp(24px, 4vw, 60px);
  overflow: hidden;
  background: #2a1018;
  color: var(--gold);
}

.book-console {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  z-index: 1;
}

.book-switch {
  width: clamp(126px, 18vw, 188px);
  height: clamp(48px, 6vw, 62px);
}

.world-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 7vw, 5rem);
  line-height: 1.02;
}

.world-hero p,
.world-lead p {
  margin-bottom: 0;
  font-size: clamp(1rem, 2.8vw, 1.28rem);
  line-height: 1.75;
}

.world-console {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  z-index: 1;
}

.world-switch {
  width: clamp(126px, 18vw, 188px);
  height: clamp(48px, 6vw, 62px);
}

.gallery figure {
  min-height: 0;
  margin: 0;
  border: 2px solid var(--paper-soft);
  background: var(--ink);
}

.gallery img {
  width: 100%;
  height: clamp(330px, 72vw, 760px);
  object-fit: cover;
  filter: brightness(0.92) contrast(1.08);
}

.gallery figure:first-child img {
  object-position: center;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: var(--shell);
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
}

.world-body {
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgb(230 69 28 / 0.11) 1px, transparent 1px),
    linear-gradient(rgb(8 126 137 / 0.09) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px, 48px 48px, auto;
}

.world-page {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) 0 clamp(72px, 10vw, 120px);
}

.world-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: var(--paper-soft);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--red);
}

.world-hero {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  align-items: end;
  margin-top: clamp(34px, 6vw, 72px);
  padding: clamp(26px, 5vw, 58px);
  border: 2px solid var(--ink);
  background:
    linear-gradient(90deg, transparent 0 60%, rgb(8 126 137 / 0.16) 60%),
    var(--paper-soft);
  box-shadow: 12px 12px 0 var(--ink);
}

.world-hero-mark {
  display: grid;
  min-height: clamp(140px, 24vw, 250px);
  align-content: space-between;
  padding: clamp(16px, 3vw, 28px);
  border: 2px solid var(--ink);
  background: var(--teal);
  color: var(--paper-soft);
}

.world-hero-mark b {
  font-size: clamp(2rem, 7vw, 5.2rem);
  line-height: 0.94;
}

.world-hero-mark span {
  justify-self: end;
  color: var(--gold);
  font-weight: 950;
}

.world-lead {
  display: grid;
  gap: 16px;
  margin: clamp(48px, 8vw, 88px) 0 28px;
}

.world-lead h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1.08;
}

.world-records {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.world-record {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper-soft);
  box-shadow: 8px 8px 0 var(--red);
}

.world-record img {
  width: 100%;
  height: auto;
  background: var(--ink);
}

.world-record figcaption {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-top: 2px solid var(--ink);
}

.world-record b {
  color: var(--red);
  font-size: 0.82rem;
}

.world-record span {
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 900;
}

.book-hero {
  align-items: center;
}

.book-cover {
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--red);
}

.book-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.book-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(20px, 3vw, 32px) 0 0;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.book-meta div {
  padding: clamp(10px, 1.8vw, 16px);
  border-right: 1px solid var(--ink);
}

.book-meta div:last-child {
  border-right: 0;
}

.book-meta dt {
  margin: 0 0 4px;
  color: currentColor;
  opacity: 0.6;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.book-meta dd {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 800;
}

.book-toc {
  margin: clamp(40px, 7vw, 80px) 0 clamp(40px, 7vw, 80px);
}

.book-toc h2 {
  margin: 0 0 clamp(18px, 3vw, 28px);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.08;
}

.book-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.book-toc-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: clamp(12px, 2vw, 18px) clamp(4px, 1vw, 12px);
  border-bottom: 1px solid var(--ink);
  counter-increment: toc;
}

.book-toc-list li::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.book-toc-list span {
  flex: 1;
  min-width: 0;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
}

.book-toc-list b {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
  opacity: 0.6;
  letter-spacing: 0.05em;
}

.book-toc-list {
  counter-reset: toc;
}

.book-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: clamp(8px, 2vw, 16px) 0 0;
}

.book-buy-link {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 clamp(20px, 4vw, 36px);
  border: 2px solid var(--ink);
  background: var(--teal);
  color: var(--paper-soft);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 8px 8px 0 var(--ink);
  transition: translate 220ms ease, box-shadow 220ms ease;
}

.book-buy-link:hover,
.book-buy-link:focus-visible {
  translate: -2px -2px;
  box-shadow: 12px 12px 0 var(--ink);
}

.book-buy-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

footer p {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 800;
}

.footer-nina-link {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: .04em;
  border-bottom: 1px solid rgb(230 69 28 / 0.35);
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-nina-link:hover {
  color: var(--red-hot);
  border-color: var(--red-hot);
}

.instagram-link {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--paper-soft);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--red);
}

.instagram-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

@media (min-width: 760px) {
  :root {
    --shell: min(100% - 80px, 1120px);
  }

  .stage-header {
    padding-top: 28px;
  }

  .hero {
    min-height: 96svh;
    padding-bottom: 76px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .light-console {
    bottom: 78px;
  }

  .intro {
    grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1fr);
    column-gap: 52px;
  }

  .facts {
    grid-column: 2;
  }

  .works-gallery {
    display: flex;
    gap: 12px;
    min-height: min(68vw, 760px);
    align-items: stretch;
  }

  .work-panel {
    position: relative;
    flex: 0.78;
    min-width: 0;
  }

  .work-panel.is-active {
    flex: 2.34;
  }

  .work-tab {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    align-content: end;
    width: min(184px, 30%);
    padding: 24px;
    background: linear-gradient(90deg, rgb(0 0 0 / 0.84), transparent);
    color: var(--paper-soft);
  }

  .work-panel:not(.is-active) .work-tab {
    width: 100%;
    background: linear-gradient(180deg, transparent, rgb(0 0 0 / 0.84));
  }

  .work-panel:not(.is-active) .work-tab b {
    font-size: clamp(1.18rem, 2.3vw, 1.8rem);
  }

  .work-tab span {
    color: var(--gold);
  }

  .work-scene,
  .work-panel.is-active .work-scene {
    max-height: none;
    height: 100%;
  }

  .work-scene {
    position: absolute;
    inset: 0;
    grid-template-rows: 1fr auto;
  }

  .work-panel:not(.is-active) .work-scene {
    opacity: 0.58;
  }

  .work-detail {
    margin-left: min(184px, 30%);
    border-top: 2px solid var(--ink);
    background: rgb(255 241 201 / 0.94);
    backdrop-filter: blur(10px);
  }

  .work-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .work-panel:nth-child(1) .work-image img {
    object-position: center;
  }

  .archive {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
    column-gap: 64px;
  }

  .archive .section-head {
    grid-column: 1 / -1;
  }

  .world-hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  }

  .book-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  }

  .world-records {
    grid-template-columns: 1fr 1fr;
  }

  .world-record:last-child {
    grid-column: 1 / -1;
  }

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

  .gallery img {
    height: min(56vw, 720px);
  }
}

@media (max-width: 460px) {
  .entry-frame {
    min-height: calc(100svh - 36px);
  }

  .entry-window {
    padding: 18px;
  }

  .entry-window > img:first-child {
    object-position: 58% center;
  }

  .entry-type {
    width: 188px;
    min-height: 176px;
  }

  .entry-copy {
    margin-bottom: 112px;
  }

  .entry-console {
    right: 18px;
    bottom: 18px;
  }

  .entry-switch {
    width: 172px;
  }

  .stage-header {
    justify-content: flex-end;
  }

  .brand {
    display: none;
  }

  nav {
    gap: 10px;
  }

  .hero {
    min-height: 89svh;
    padding-bottom: 128px;
  }

  .hero-photo {
    object-position: 40% center;
  }

  .light-console {
    right: 20px;
    bottom: 48px;
  }

  .heritage-mark {
    right: 20px;
    bottom: 134px;
    width: 58px;
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .facts div {
    min-height: 88px;
  }

  .facts div:nth-child(odd) {
    border-right: 0;
  }

  .facts div:not(:last-child) {
    border-bottom: 1px solid var(--ink);
  }

  .facts div:last-child {
    border-bottom: 0;
  }

  .intro {
    padding-top: 48px;
  }

  .timeline li {
    grid-template-columns: 56px 1fr;
  }

  footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
