:root {
  color-scheme: dark;
  --ink: #05070a;
  --ink-soft: #0a0f16;
  --navy: #071423;
  --paper: #f1f3f5;
  --muted: #8c98a8;
  --blue: #3b91f4;
  --field: #5c8d59;
  --red: #b93036;
  --rail: 70px;
  --ease-out: cubic-bezier(0.2, 0.78, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 52% 6%, rgba(29, 48, 70, 0.2), transparent 24rem),
    var(--ink);
  color: var(--paper);
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.reader-rail {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  width: var(--rail);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 24px 0 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 10, 0.84);
  backdrop-filter: blur(14px);
}

.rail-title {
  display: flex;
  align-items: center;
  gap: 16px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.16em;
}

.rail-title span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
}

.rail-title strong {
  font-size: 10px;
  font-weight: 700;
}

.rail-progress {
  position: relative;
  width: 1px;
  height: min(36vh, 300px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.rail-progress span {
  position: absolute;
  inset: 0 0 auto;
  height: 0;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(59, 145, 244, 0.38);
}

.rail-count {
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: var(--muted);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.rail-count span {
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
}

.rail-count i {
  font-style: normal;
  opacity: 0.42;
}

.sound-console {
  position: fixed;
  z-index: 40;
  top: 20px;
  right: 20px;
  min-width: 178px;
  min-height: 47px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 8px 13px 8px 15px;
  border: 1px solid rgba(139, 178, 224, 0.35);
  border-radius: 0;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  background: rgba(5, 11, 19, 0.88);
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.sound-console:hover {
  border-color: rgba(82, 159, 249, 0.85);
  background: rgba(7, 20, 35, 0.95);
}

.sound-console:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.sound-kicker {
  grid-column: 1;
  color: #7f8da0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.sound-state {
  grid-column: 1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.equalizer {
  grid-area: 1 / 2 / 3 / 3;
  width: 29px;
  height: 19px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.equalizer i {
  width: 3px;
  height: 4px;
  background: #536071;
  transform-origin: bottom;
}

.sound-console[aria-pressed="true"] .sound-state {
  color: #8bc1ff;
}

.sound-console[aria-pressed="true"] .equalizer i {
  background: var(--blue);
  animation: meter 0.76s ease-in-out infinite alternate;
}

.sound-console[aria-pressed="true"] .equalizer i:nth-child(2) {
  animation-delay: -0.33s;
}

.sound-console[aria-pressed="true"] .equalizer i:nth-child(3) {
  animation-delay: -0.55s;
}

.sound-console[aria-pressed="true"] .equalizer i:nth-child(4) {
  animation-delay: -0.18s;
}

.home-console {
  position: fixed;
  z-index: 40;
  top: 77px;
  right: 20px;
  min-width: 178px;
  min-height: 47px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px 36px 8px 15px;
  border: 1px solid rgba(139, 178, 224, 0.28);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  background: rgba(5, 11, 19, 0.82);
  color: var(--paper);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.home-console::after {
  content: "→";
  position: absolute;
  right: 15px;
  top: 50%;
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
  transform: translateY(-50%);
}

.home-console:hover {
  border-color: rgba(82, 159, 249, 0.85);
  background: rgba(7, 20, 35, 0.95);
  transform: translateX(-3px);
}

.home-console:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.home-kicker {
  color: #7f8da0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.home-state {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

@keyframes meter {
  from {
    transform: scaleY(0.65);
  }
  to {
    transform: scaleY(4.5);
  }
}

main {
  margin-left: var(--rail);
  overflow: clip;
}

.scene {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(100px, 15svh, 190px);
  isolation: isolate;
}

.scene::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

.frame {
  position: relative;
  overflow: hidden;
  margin-inline: auto;
  background: #0b1017;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 66%, rgba(1, 3, 7, 0.18));
  mix-blend-mode: multiply;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.line {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: min(82vw, 860px);
  margin: 0 auto;
  color: var(--paper);
  text-wrap: balance;
  word-break: keep-all;
}

.dialogue {
  font-size: clamp(21px, 2.1vw, 34px);
  font-weight: 760;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.narration {
  color: #d5dae1;
  font-size: clamp(20px, 1.8vw, 29px);
  font-weight: 610;
  line-height: 1.65;
  letter-spacing: -0.025em;
}

.mobile-break {
  display: none;
}

.cut-01 {
  min-height: 123svh;
  padding-top: 8svh;
  padding-bottom: 19svh;
}

.cut-01::before {
  background: radial-gradient(circle at 50% 40%, rgba(29, 47, 66, 0.24), transparent 54%);
}

.frame-01 {
  width: min(84vw, 980px);
  aspect-ratio: 1 / 1;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.58);
}

.frame-01 img {
  object-position: center 58%;
}

.line-01 {
  margin-top: clamp(46px, 7svh, 88px);
  text-align: center;
}

.cut-02 {
  min-height: 118svh;
  background: linear-gradient(180deg, var(--ink), #080b10 42%, var(--ink));
}

.frame-02 {
  width: min(69vw, 770px);
  aspect-ratio: 0.88;
  translate: -7vw 0;
}

.frame-02 img {
  object-position: center 62%;
}

.line-02 {
  margin-top: clamp(56px, 9svh, 105px);
  translate: 12vw 0;
}

.cut-03 {
  min-height: 127svh;
}

.cut-03::before {
  background: radial-gradient(circle at 50% 46%, rgba(54, 98, 78, 0.18), transparent 55%);
}

.frame-03 {
  width: min(88vw, 1230px);
  aspect-ratio: 3 / 2;
  box-shadow: 0 36px 105px rgba(74, 123, 100, 0.14);
}

.line-03 {
  margin-top: clamp(42px, 6svh, 76px);
  translate: -10vw 0;
}

.cut-04 {
  min-height: 167svh;
  justify-content: flex-start;
  padding-top: 22svh;
  padding-bottom: 20svh;
}

.frame-04 {
  width: min(94vw, 1280px);
  aspect-ratio: 1.18;
  margin-top: 17svh;
}

.frame-04 img {
  object-position: center 56%;
}

.cut-04 .first {
  margin-left: 18vw;
}

.cut-04 .second {
  margin-top: 19svh;
  margin-right: 15vw;
}

.cut-05 {
  min-height: 151svh;
  justify-content: flex-start;
  padding-top: 18svh;
  background: linear-gradient(180deg, #05070a, #060a10 50%, #040507);
}

.frame-05 {
  width: min(64vw, 720px);
  aspect-ratio: 0.88;
  margin-top: 13svh;
  translate: 11vw 0;
}

.frame-05 img {
  object-position: 50% 50%;
}

.cut-05 .first {
  margin-left: 14vw;
}

.cut-05 .second {
  margin-top: 17svh;
  margin-right: 13vw;
}

.cut-06 {
  min-height: 111svh;
  background: radial-gradient(circle at 35% 48%, rgba(43, 57, 67, 0.2), transparent 45%);
}

.frame-06 {
  width: min(64vw, 730px);
  aspect-ratio: 0.9;
  translate: -10vw 0;
}

.frame-06 img {
  object-position: 51% 40%;
}

.line-06 {
  margin-top: 7svh;
  translate: 15vw 0;
}

.cut-07 {
  min-height: 145svh;
  padding-bottom: 25svh;
}

.frame-07 {
  width: min(77vw, 1040px);
  aspect-ratio: 1.45;
  translate: 5vw 0;
}

.call-beats {
  width: min(75vw, 780px);
  min-height: 48svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  margin: 12svh auto 0;
  color: #cbd1d9;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 650;
  letter-spacing: 0.08em;
}

.call-beats span:nth-child(2) {
  align-self: center;
  color: #59616d;
}

.call-beats span:last-child {
  align-self: flex-end;
}

.threshold {
  position: relative;
  height: 47svh;
  background: #030405;
}

.threshold span {
  position: absolute;
  inset: auto 50% 8svh;
  width: 1px;
  height: 15svh;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.11));
}

.cut-08 {
  min-height: 112svh;
  padding: 0;
  background: #020304;
}

.frame-08 {
  width: 100%;
  height: 112svh;
}

.frame-08 img {
  object-position: center 38%;
}

.frame-08::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.24)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 34%, rgba(0, 0, 0, 0.42));
}

.cut-09,
.cut-10 {
  min-height: 121svh;
}

.frame-09,
.frame-10 {
  width: min(61vw, 700px);
  aspect-ratio: 0.92;
}

.frame-09 {
  margin-left: 9vw;
}

.frame-09 img {
  object-position: 50% 38%;
}

.line-09 {
  margin-top: 7svh;
  margin-left: 55vw;
}

.cut-10 {
  background: linear-gradient(180deg, #05070a, #0c0909 58%, #05070a);
}

.frame-10 {
  margin-right: 8vw;
}

.frame-10 img {
  object-position: 50% 35%;
  transform: scale(1.9);
  transform-origin: 50% 18%;
}

.line-10 {
  margin-top: 8svh;
  margin-right: 15vw;
  text-align: right;
}

.cut-11 {
  min-height: 203svh;
  justify-content: flex-start;
  padding-top: 17svh;
  background: radial-gradient(circle at 48% 44%, rgba(64, 24, 28, 0.18), transparent 48%);
}

.frame-11 {
  width: min(94vw, 1320px);
  aspect-ratio: 1.25;
  margin-top: 16svh;
}

.frame-11 img {
  object-position: 50% 32%;
}

.cut-11 .taunt.first {
  margin-left: 15vw;
}

.cut-11 .taunt.second {
  margin-top: 17svh;
  margin-right: 12vw;
  text-align: right;
}

.punchline {
  margin-top: 29svh;
  color: #fff;
  font-size: clamp(48px, 8.2vw, 124px);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.cut-12 {
  min-height: 136svh;
  padding-bottom: 22svh;
}

.frame-12 {
  width: min(86vw, 1090px);
  aspect-ratio: 1.15;
}

.frame-12 img {
  object-position: center 56%;
  transform: scale(1.12);
  transform-origin: 40% 55%;
}

.line-12 {
  margin-top: 11svh;
  color: #aeb5bf;
}

.interlude {
  position: relative;
  width: 100%;
  min-height: 106svh;
  display: grid;
  place-items: center;
  overflow: clip;
  padding-block: 10svh;
  background: #000;
  isolation: isolate;
}

.interlude-frame {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
}

.interlude-frame img {
  width: 100%;
  height: auto;
}

.interlude-rain {
  min-height: 126svh;
  padding-block: 13svh 19svh;
}

.interlude-frame-rain {
  width: min(72vw, 900px);
}

.interlude-void {
  min-height: 112svh;
}

.interlude-frame-void {
  width: min(64vw, 800px);
}

.interlude-ball {
  min-height: 108svh;
  padding-block: 8svh;
}

.interlude-frame-ball {
  width: min(84vw, 1000px);
}

.interlude-shatter {
  min-height: 108svh;
  padding-block: 6svh 0;
}

.interlude-frame-shatter {
  width: min(88vw, 1080px);
}

.restart-gap {
  height: 72svh;
  background: #000;
}

.blackout {
  height: 90svh;
  background: #000;
}

.blackout span {
  display: block;
  width: 1px;
  height: 1px;
}

.cut-13 {
  min-height: 116svh;
  padding: 0;
  background: #d8e6e5;
}

.frame-13 {
  width: 100%;
  height: 116svh;
  background: #d8e6e5;
}

.frame-13 img {
  object-position: 52% center;
}

.frame-13::after {
  background: linear-gradient(180deg, rgba(240, 250, 255, 0.08), transparent 62%, rgba(3, 10, 15, 0.2));
}

.cut-14 {
  min-height: 95svh;
  padding: 0;
  background: #cbdcca;
}

.frame-14 {
  width: 100%;
  height: 95svh;
}

.frame-14 img {
  object-position: center;
}

.bat-sfx {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 7vw, 110px);
  bottom: clamp(52px, 11svh, 140px);
  color: #f8fbff;
  font-size: clamp(64px, 14vw, 210px);
  font-style: italic;
  font-weight: 1000;
  line-height: 0.8;
  letter-spacing: -0.09em;
  text-shadow: 4px 6px 0 rgba(14, 42, 72, 0.82);
  transform: skew(-7deg) rotate(-4deg);
}

.cut-15 {
  min-height: 106svh;
  background: linear-gradient(180deg, #081019, #05070a);
}

.frame-15 {
  width: min(62vw, 820px);
  aspect-ratio: 1.46;
  translate: -7vw 0;
}

.whisper {
  margin-top: 9svh;
  translate: 18vw 0;
  color: #d9e2e8;
  font-size: clamp(21px, 2vw, 31px);
  font-weight: 570;
  letter-spacing: 0.01em;
}

.cut-16 {
  min-height: 134svh;
  background: radial-gradient(circle at 50% 42%, rgba(86, 127, 77, 0.2), transparent 56%);
}

.frame-16 {
  width: min(91vw, 1190px);
  aspect-ratio: 1.22;
}

.frame-16 img {
  object-position: 47% 48%;
}

.line-16 {
  margin-top: 9svh;
  text-align: center;
}

.final-breath {
  height: 39svh;
  background: linear-gradient(180deg, #05070a, #020305);
}

.finale {
  position: relative;
  min-height: 112svh;
  display: grid;
  place-items: center;
  padding: 10svh 5vw;
  background:
    radial-gradient(circle at 50% 50%, rgba(37, 91, 147, 0.2), transparent 28rem),
    linear-gradient(180deg, #020305, #06101b 55%, #020408);
  overflow: hidden;
}

.finale::before,
.finale::after {
  content: "";
  position: absolute;
  width: 55vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(89, 158, 237, 0.28), transparent);
}

.finale::before {
  transform: translateY(-24svh);
}

.finale::after {
  transform: translateY(24svh);
}

.title-lockup {
  width: min(74vw, 900px);
  text-align: center;
}

.title-lockup img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(10, 72, 143, 0.26));
}

.title-lockup p {
  margin: clamp(18px, 4svh, 38px) 0 0;
  color: #7e91a9;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.38em;
}

.js .scene-reveal {
  opacity: 0;
}

.js .reveal-focus {
  filter: blur(10px) brightness(0.72);
  transform: scale(1.015);
  transition: opacity 1.4s ease, filter 1.7s ease, transform 1.8s var(--ease-out);
}

.js .reveal-line {
  clip-path: inset(0 100% 0 0);
  opacity: 1;
  transition: clip-path 0.9s var(--ease-out) 120ms;
}

.js .reveal-drift {
  transform: translateY(32px);
  transition: opacity 1.05s ease, transform 1.2s var(--ease-out);
}

.js .reveal-memory {
  filter: brightness(0.46) saturate(0.65);
  transition: opacity 0.8s ease, filter 1.45s ease;
}

.js .reveal-quiet {
  transform: translateY(16px);
  transition: opacity 1.2s ease, transform 1.25s var(--ease-out);
}

.js .reveal-wide {
  clip-path: inset(0 8% 0 8%);
  transform: scale(0.985);
  transition: opacity 1.05s ease, clip-path 1.35s var(--ease-out), transform 1.35s var(--ease-out);
}

.js .reveal-still {
  transition: opacity 1.5s ease;
}

.js .reveal-close,
.js .reveal-pressure {
  transform: scale(1.055);
  transition: opacity 0.72s ease, transform 1.45s var(--ease-out);
}

.js .reveal-call {
  transition: opacity 0.8s ease;
}

.js .reveal-call:nth-child(2) {
  transition-delay: 180ms;
}

.js .reveal-call:nth-child(3) {
  transition-delay: 360ms;
}

.js .reveal-punch {
  transform: translateY(22px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.55s var(--ease-out);
}

.js .reveal-flash {
  filter: brightness(2) saturate(0.4);
  transform: scale(1.02);
  transition: opacity 0.12s linear, filter 0.56s ease, transform 1.25s var(--ease-out);
}

.js .reveal-strike {
  clip-path: inset(0 100% 0 0);
  opacity: 1;
  transition: clip-path 0.38s cubic-bezier(0.16, 0.74, 0.2, 1);
}

.js .reveal-strike .bat-sfx {
  opacity: 0;
  transform: translateX(-50px) skew(-7deg) rotate(-4deg) scale(1.16);
  transition: opacity 0.08s linear 0.24s, transform 0.28s var(--ease-out) 0.24s;
}

.js .reveal-title {
  clip-path: inset(0 50% 0 50%);
  filter: brightness(0.55);
  transition: opacity 1s ease, clip-path 1.5s var(--ease-out), filter 1.7s ease;
}

.js .reveal-interlude-rain {
  filter: brightness(0.48) saturate(0.66);
  transform: translateY(34px) scale(0.985);
  transition: opacity 1.7s ease, filter 2.1s ease, transform 2.1s var(--ease-out);
}

.js .reveal-interlude-void {
  filter: brightness(0.24) blur(4px);
  transform: scale(0.94);
  transition: opacity 1.8s ease, filter 2.2s ease, transform 2.5s var(--ease-out);
}

.js .reveal-interlude-ball {
  filter: brightness(0.3) saturate(0.62);
  transform: scale(0.9);
  transition: opacity 0.72s ease, filter 0.88s ease, transform 1.05s var(--ease-out);
}

.js .reveal-interlude-shatter {
  filter: brightness(1.85) contrast(1.15);
  transform: scale(0.955);
  transition: opacity 0.3s ease, filter 0.62s ease, transform 0.74s var(--ease-out);
}

.js .scene-reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
  clip-path: inset(0 0 0 0);
}

.js .reveal-strike.is-visible .bat-sfx {
  opacity: 1;
  transform: skew(-7deg) rotate(-4deg) scale(1);
}

@media (max-width: 860px) {
  :root {
    --rail: 0px;
  }

  html {
    scroll-behavior: auto;
  }

  .reader-rail {
    display: none;
  }

  main,
  .threshold,
  .blackout,
  .final-breath,
  .finale {
    margin-left: 0;
  }

  .sound-console {
    top: max(10px, env(safe-area-inset-top));
    right: 10px;
    min-width: 135px;
    min-height: 42px;
    padding: 7px 10px 7px 12px;
    column-gap: 10px;
  }

  .sound-kicker {
    font-size: 7px;
  }

  .sound-state {
    font-size: 10px;
  }

  .home-console {
    top: calc(max(10px, env(safe-area-inset-top)) + 50px);
    right: 10px;
    min-width: 135px;
    min-height: 42px;
    padding: 7px 30px 7px 12px;
  }

  .home-kicker {
    font-size: 7px;
  }

  .home-state {
    font-size: 10px;
  }

  .equalizer {
    width: 23px;
    height: 15px;
  }

  .equalizer i {
    width: 2px;
  }

  .scene {
    min-height: auto;
    padding-block: 15svh;
  }

  .line {
    max-width: calc(100vw - 42px);
  }

  .dialogue {
    font-size: clamp(19px, 5.2vw, 25px);
    line-height: 1.58;
  }

  .narration {
    font-size: clamp(18px, 4.8vw, 23px);
  }

  .mobile-break {
    display: initial;
  }

  .cut-01 {
    min-height: 112svh;
    justify-content: flex-start;
    padding-top: 11svh;
    padding-bottom: 14svh;
  }

  .frame-01 {
    width: 91vw;
    aspect-ratio: 0.9;
  }

  .line-01 {
    margin-top: 8svh;
    text-align: left;
  }

  .cut-02 {
    min-height: 103svh;
  }

  .frame-02 {
    width: 74vw;
    aspect-ratio: 0.78;
    translate: -7vw 0;
  }

  .line-02 {
    margin-top: 9svh;
    translate: 16vw 0;
  }

  .cut-03 {
    min-height: 108svh;
  }

  .frame-03 {
    width: 92vw;
    aspect-ratio: 0.92;
  }

  .frame-03 img {
    object-position: 56% center;
  }

  .line-03 {
    margin-top: 7svh;
    translate: -2vw 0;
  }

  .cut-04 {
    min-height: 139svh;
    padding-top: 19svh;
    padding-bottom: 18svh;
  }

  .frame-04 {
    width: 100vw;
    aspect-ratio: 0.84;
    margin-top: 13svh;
  }

  .cut-04 .first {
    margin-left: 22px;
  }

  .cut-04 .second {
    margin-top: 15svh;
    margin-right: 24px;
  }

  .cut-05 {
    min-height: 136svh;
    padding-top: 17svh;
  }

  .frame-05 {
    width: 68vw;
    aspect-ratio: 0.72;
    margin-top: 12svh;
    translate: 10vw 0;
  }

  .cut-05 .first {
    margin-left: 23px;
  }

  .cut-05 .second {
    margin-top: 16svh;
    margin-right: 22px;
  }

  .cut-06 {
    min-height: 101svh;
  }

  .frame-06 {
    width: 71vw;
    aspect-ratio: 0.72;
    translate: -8vw 0;
  }

  .frame-06 img {
    object-position: 52% 32%;
  }

  .line-06 {
    margin-top: 8svh;
    translate: 11vw 0;
  }

  .cut-07 {
    min-height: 127svh;
    padding-top: 14svh;
    padding-bottom: 19svh;
  }

  .frame-07 {
    width: 82vw;
    aspect-ratio: 0.84;
    translate: 5vw 0;
  }

  .frame-07 img {
    object-position: 60% center;
  }

  .call-beats {
    width: calc(100vw - 50px);
    min-height: 38svh;
    margin-top: 10svh;
    font-size: 20px;
  }

  .threshold {
    height: 43svh;
  }

  .cut-08 {
    min-height: 92svh;
  }

  .frame-08 {
    height: 92svh;
  }

  .frame-08 img {
    object-position: 50% 38%;
  }

  .cut-09,
  .cut-10 {
    min-height: 108svh;
  }

  .frame-09,
  .frame-10 {
    width: 66vw;
    aspect-ratio: 0.72;
  }

  .frame-09 {
    margin-left: 0;
  }

  .line-09 {
    margin-top: 8svh;
    margin-left: 61vw;
  }

  .frame-10 {
    margin-right: 0;
  }

  .line-10 {
    margin-top: 9svh;
    margin-right: 22px;
  }

  .cut-11 {
    min-height: 181svh;
    padding-top: 16svh;
    padding-bottom: 20svh;
  }

  .frame-11 {
    width: 100vw;
    aspect-ratio: 0.82;
    margin-top: 14svh;
  }

  .frame-11 img {
    object-position: 50% 28%;
  }

  .cut-11 .taunt.first {
    margin-left: 22px;
  }

  .cut-11 .taunt.second {
    margin-top: 15svh;
    margin-right: 22px;
  }

  .punchline {
    margin-top: 24svh;
    font-size: clamp(54px, 18vw, 78px);
  }

  .cut-12 {
    min-height: 122svh;
  }

  .frame-12 {
    width: 89vw;
    aspect-ratio: 0.84;
  }

  .line-12 {
    margin-top: 11svh;
  }

  .blackout {
    height: 94svh;
  }

  .interlude {
    min-height: 100svh;
    padding-block: 10svh;
  }

  .interlude-rain {
    min-height: 112svh;
    padding-block: 9svh 15svh;
  }

  .interlude-frame-rain,
  .interlude-frame-ball,
  .interlude-frame-shatter {
    width: 100vw;
  }

  .interlude-void {
    min-height: 108svh;
  }

  .interlude-frame-void {
    width: 92vw;
  }

  .interlude-ball,
  .interlude-shatter {
    min-height: 100svh;
    padding-block: 4svh;
  }

  .restart-gap {
    height: 86svh;
  }

  .cut-13,
  .frame-13 {
    min-height: 104svh;
    height: 104svh;
  }

  .frame-13 img {
    object-position: 57% center;
  }

  .cut-14,
  .frame-14 {
    min-height: 69svh;
    height: 69svh;
  }

  .frame-14 img {
    object-position: 48% center;
  }

  .bat-sfx {
    left: 20px;
    bottom: 8svh;
    font-size: clamp(66px, 23vw, 100px);
  }

  .cut-15 {
    min-height: 102svh;
  }

  .frame-15 {
    width: 67vw;
    aspect-ratio: 0.82;
    translate: -9vw 0;
  }

  .frame-15 img {
    object-position: 54% center;
  }

  .whisper {
    margin-top: 10svh;
    translate: 16vw 0;
  }

  .cut-16 {
    min-height: 118svh;
    padding-top: 13svh;
    padding-bottom: 18svh;
  }

  .frame-16 {
    width: 96vw;
    aspect-ratio: 0.87;
  }

  .frame-16 img {
    object-position: 39% 50%;
  }

  .line-16 {
    max-width: calc(100vw - 36px);
    margin-top: 9svh;
  }

  .final-breath {
    height: 34svh;
  }

  .finale {
    min-height: 101svh;
    padding-inline: 16px;
  }

  .title-lockup {
    width: min(94vw, 620px);
  }

  .title-lockup p {
    font-size: 8px;
    letter-spacing: 0.3em;
  }
}

@media (max-width: 420px) {
  .line-09 {
    margin-left: 55vw;
  }

  .frame-08 img {
    object-position: 52% 42%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .scene-reveal,
  .js .reveal-strike .bat-sfx {
    opacity: 1;
    filter: none;
    transform: none;
    clip-path: none;
  }
}
