:root {
  color-scheme: dark;
  --black: #030403;
  --ink: #fff8ed;
  --soft: rgba(255, 248, 237, 0.68);
  --faint: rgba(255, 248, 237, 0.18);
  --green: #18c300;
  --green-soft: rgba(24, 195, 0, 0.72);
  --warm: #d7c7a2;
  --stage-max: 430px;
  --cn: "Songti SC", "STSong", "Noto Serif CJK SC", "Times New Roman", serif;
  --display: Georgia, "Times New Roman", serif;
  --script: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #0b0b0b;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.stage {
  position: relative;
  width: 100%;
  max-width: var(--stage-max);
  height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--black);
  box-shadow: 0 0 0 1px rgba(255, 248, 237, 0.05), 0 30px 120px rgba(0, 0, 0, 0.65);
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.stage::-webkit-scrollbar {
  display: none;
}

.screen {
  position: relative;
  display: grid;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 248, 237, 0.03), transparent 11%, transparent 89%, rgba(255, 248, 237, 0.025)),
    linear-gradient(180deg, rgba(255, 248, 237, 0.03), transparent 12%, transparent 88%, rgba(255, 248, 237, 0.026));
  mix-blend-mode: screen;
}

.full-image-wrap,
.duo-image-wrap,
.plate-image-wrap,
.chapter-image-wrap,
.ending-image-wrap {
  display: block;
  width: 100%;
  height: 100%;
}

.full-image,
.duo-image,
.plate-image,
.chapter-image,
.ending-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-image-wrap {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 36%, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.88)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.26) 38%, rgba(0, 0, 0, 0.78));
}

.top-brand {
  position: absolute;
  top: calc(1.25rem + env(safe-area-inset-top));
  left: 1.4rem;
  z-index: 8;
  pointer-events: none;
}

.brand-main {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.25rem, 10.4vw, 3rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.56);
  transform: scaleX(0.94);
  transform-origin: left center;
}

.brand-sub {
  margin: 0.36rem 0 0 0.08rem;
  color: rgba(255, 248, 237, 0.6);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.42em;
}

.kicker,
.photo-index {
  margin: 0;
  color: var(--green);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.title,
.photo-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--cn);
  font-weight: 520;
  letter-spacing: -0.1em;
  line-height: 0.88;
  text-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
}

.text,
.photo-text {
  max-width: 13.5rem;
  margin: 0.86rem 0 0;
  color: var(--soft);
  font-size: 0.83rem;
  line-height: 1.7;
  line-break: loose;
  word-break: normal;
}

.copy {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 820ms ease, transform 820ms ease;
}

.is-visible .copy,
.is-visible .plate-frame,
.is-visible .duo-a,
.is-visible .duo-b,
.is-visible .chapter-left,
.is-visible .chapter-right,
.is-visible .ending-main,
.is-visible .ending-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.petal-field {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.petal-field span {
  position: absolute;
  display: block;
  width: 0.92rem;
  height: 2.25rem;
  border-radius: 80% 10% 80% 10%;
  background:
    radial-gradient(circle at 45% 16%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.2) 28%, transparent 50%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), var(--green) 60%, rgba(24, 195, 0, 0));
  filter: blur(0.6px) drop-shadow(0 0 12px rgba(24, 195, 0, 0.7));
  opacity: 0;
  transform: translate3d(0, 16px, 0) rotate(25deg) scale(0.6);
}

.petal-field span:nth-child(1) { top: 46%; left: 45%; animation-delay: 0.2s; }
.petal-field span:nth-child(2) { top: 51%; left: 61%; animation-delay: 0.38s; transform: rotate(-20deg); }
.petal-field span:nth-child(3) { top: 56%; left: 35%; animation-delay: 0.52s; }
.petal-field span:nth-child(4) { top: 37%; left: 72%; animation-delay: 0.66s; transform: rotate(45deg); }
.petal-field span:nth-child(5) { top: 68%; left: 52%; animation-delay: 0.82s; }
.petal-field span:nth-child(6) { top: 33%; left: 22%; animation-delay: 0.98s; transform: rotate(-38deg); }
.petal-field span:nth-child(7) { top: 74%; left: 24%; animation-delay: 1.14s; }
.petal-field span:nth-child(8) { top: 24%; left: 64%; animation-delay: 1.3s; transform: rotate(62deg); }
.petal-field span:nth-child(9) { top: 83%; left: 78%; animation-delay: 1.46s; }
.petal-field span:nth-child(10) { top: 18%; left: 36%; animation-delay: 1.62s; transform: rotate(-48deg); }
.petal-field span:nth-child(11) { top: 42%; left: 13%; animation-delay: 1.78s; }
.petal-field span:nth-child(12) { top: 60%; left: 82%; animation-delay: 1.94s; transform: rotate(78deg); }

.is-visible .petal-field span {
  animation-name: petalIn;
  animation-duration: 3.8s;
  animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  animation-fill-mode: both;
}

.line-mark {
  position: absolute;
  z-index: 8;
  display: grid;
  gap: 0.34rem;
  pointer-events: none;
}

.line-mark i {
  display: block;
  width: 6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--green), rgba(255, 248, 237, 0.3), transparent);
  transform-origin: left center;
}

.line-mark i:nth-child(2) {
  width: 4.2rem;
  transform: translateX(1.15rem);
}

.line-mark i:nth-child(3) {
  width: 2.6rem;
  transform: translateX(2.05rem);
}

.cover {
  align-content: end;
  padding: 1.25rem 1.28rem 3.9rem;
}

.cover .full-image {
  filter: saturate(0.82) contrast(1.06) brightness(0.66);
  transform: none;
}

.cover-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.54) 70%, rgba(0, 0, 0, 0.88)),
    radial-gradient(ellipse at 50% 70%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72) 72%);
}

.cover-kicker {
  position: absolute;
  bottom: 53.2%;
  left: 1.3rem;
  z-index: 8;
  margin: 0;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  opacity: 0;
  text-shadow: 0 0 12px rgba(24, 195, 0, 0.4);
  transform: translateY(0.8rem);
  transition: opacity 820ms ease 150ms, transform 900ms ease 150ms;
}

.is-visible .cover-kicker {
  opacity: 1;
  transform: translateY(0);
}

.cover-title {
  position: absolute;
  right: 1.1rem;
  bottom: 18.4%;
  left: 1.15rem;
  z-index: 8;
  margin: 0;
  color: var(--ink);
  font-family: var(--cn);
  font-size: clamp(2.95rem, 14.8vw, 4.12rem);
  font-weight: 560;
  line-height: 0.94;
  letter-spacing: -0.1em;
  text-align: left;
  white-space: pre-line;
  text-shadow: 0 22px 40px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(1.1rem) scale(0.96);
  transition: opacity 760ms ease 260ms, transform 880ms ease 260ms;
}

.is-visible .cover-title {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cover-text {
  position: absolute;
  right: 1.2rem;
  left: 1.2rem;
  bottom: 9.5%;
  z-index: 8;
  width: min(18rem, calc(100% - 2.4rem));
  max-width: 18rem;
  margin: 0;
  color: rgba(255, 248, 237, 0.72);
  font-family: var(--cn);
  font-size: 0.78rem;
  line-height: 1.62;
  letter-spacing: 0.04em;
  text-align: left;
  white-space: normal;
}

.cover .line-mark {
  right: 1.2rem;
  bottom: 28.2%;
  transform: scaleX(0.68);
  transform-origin: right center;
}

.cover.mosaic .full-image {
  filter: saturate(0.92) contrast(1.05) brightness(0.84);
}

.cover.mosaic .cover-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.04) 30%, rgba(0, 0, 0, 0.28) 68%, rgba(0, 0, 0, 0.62)),
    radial-gradient(ellipse at 48% 67%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.42) 76%);
}

.cover.mosaic .cover-title {
  color: rgba(255, 248, 237, 0.84);
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.72);
}

.cover.mosaic .cover-text {
  color: rgba(255, 248, 237, 0.56);
}

.cover.hero .full-image {
  filter: saturate(0.92) contrast(1.05) brightness(0.6);
  transform: scale(1.04);
}

.cover.hero .cover-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1) 28%, rgba(0, 0, 0, 0.76) 78%, rgba(0, 0, 0, 0.94)),
    radial-gradient(ellipse at 50% 43%, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.36) 58%, rgba(0, 0, 0, 0.86) 92%);
}

.cover-script {
  position: absolute;
  top: calc(-1.25rem + env(safe-area-inset-top));
  left: -0.9rem;
  z-index: 8;
  margin: 0;
  color: var(--green);
  font-family: var(--script);
  font-size: clamp(5.5rem, 25vw, 7.4rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.08em;
  opacity: 0;
  text-shadow: 0 0 16px rgba(24, 195, 0, 0.5);
  transform: translateY(-0.55rem) rotate(-7deg);
  transition: opacity 820ms ease 120ms, transform 980ms ease 120ms;
}

.is-visible .cover-script {
  opacity: 1;
  transform: translateY(0) rotate(-7deg);
}

.cover-side {
  position: absolute;
  z-index: 8;
  margin: 0;
  color: rgba(255, 248, 237, 0.7);
  font-family: var(--cn);
  font-size: 0.68rem;
  line-height: 1.45;
  letter-spacing: 0.1em;
  white-space: pre-line;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.cover-side-left {
  top: 38.5%;
  left: 4.65rem;
}

.cover-side-right {
  right: 1.72rem;
  bottom: 34.2%;
}

.cover.hero .cover-title {
  right: 0;
  bottom: 40.4%;
  left: 0;
  color: rgba(255, 248, 237, 0.94);
  font-size: clamp(5.9rem, 28vw, 7.25rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
  text-align: center;
}

.cover.hero .line-mark {
  display: none;
}

.cover-bottom {
  position: absolute;
  bottom: -0.72rem;
  left: 0.78rem;
  z-index: 8;
  margin: 0;
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(4.2rem, 20vw, 5.65rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.08em;
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 820ms ease 420ms, transform 900ms ease 420ms;
  pointer-events: none;
}

.is-visible .cover-bottom {
  opacity: 1;
  transform: translateY(0);
}

.statement {
  align-content: end;
  padding: 1.3rem 1.38rem 5.2rem;
}

.statement .full-image {
  filter: saturate(0.68) brightness(0.7) contrast(1.08);
  transform: scale(1.02);
}

.statement.mosaic-bg .full-image {
  filter: saturate(0.96) brightness(1.02) contrast(1.05);
  transform: scale(1.18);
}

.statement-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.15) 42%, rgba(0, 0, 0, 0.88)),
    radial-gradient(circle at 58% 48%, transparent 0, rgba(0, 0, 0, 0.5) 62%);
}

.statement.mosaic-bg .statement-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02) 34%, rgba(0, 0, 0, 0.52)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.02) 58%, rgba(0, 0, 0, 0.16)),
    radial-gradient(ellipse at 35% 71%, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.48) 31%, rgba(0, 0, 0, 0.04) 58%);
}

.statement .line-mark {
  right: 1.3rem;
  bottom: 16rem;
}

.statement-title {
  max-width: 17.4rem;
  margin: 0.9rem 0 0;
  color: var(--ink);
  font-family: var(--cn);
  font-size: clamp(2.35rem, 11vw, 3.55rem);
  font-weight: 520;
  letter-spacing: -0.08em;
  line-height: 1.02;
}

.launch {
  align-content: start;
  justify-items: center;
  padding: calc(3.15rem + env(safe-area-inset-top)) 1.35rem 4.3rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(255, 248, 237, 0.13), transparent 17%),
    #18bd04;
  color: #070707;
}

.paper-tear {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 4.8rem;
  background:
    radial-gradient(circle at 18% 92%, transparent 0 0.52rem, #f8f4ea 0.56rem),
    radial-gradient(circle at 47% 88%, transparent 0 0.76rem, #f8f4ea 0.8rem),
    radial-gradient(circle at 74% 94%, transparent 0 0.58rem, #f8f4ea 0.62rem),
    linear-gradient(180deg, #fffdf6, #eee7da);
  clip-path: polygon(0 0, 100% 0, 100% 54%, 91% 58%, 84% 50%, 73% 64%, 63% 55%, 52% 69%, 43% 56%, 31% 66%, 21% 53%, 11% 61%, 0 50%);
  filter: drop-shadow(0 0.4rem 0.42rem rgba(0, 0, 0, 0.18));
}

.paper-tear::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(18, 18, 18, 0.12) 0.8px, transparent 0.8px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 16%, rgba(255, 255, 255, 0.18) 44%, transparent);
  background-size: 5px 5px, 100% 100%;
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.launch-top {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 10.2rem;
  text-align: center;
}

.launch-kicker,
.launch-headline {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.82;
  text-transform: none;
  white-space: pre-line;
}

.launch-kicker {
  font-size: clamp(3.55rem, 15vw, 4.85rem);
}

.launch-headline {
  margin-top: -0.58rem;
  font-size: clamp(2.76rem, 12vw, 3.95rem);
}

.launch-script {
  position: absolute;
  top: 2.75rem;
  right: 1.05rem;
  z-index: 3;
  margin: 0;
  color: rgba(255, 248, 237, 0.96);
  font-family: var(--script);
  font-size: clamp(3.45rem, 15vw, 5rem);
  line-height: 0.72;
  letter-spacing: -0.075em;
  transform: rotate(-11deg);
  text-shadow: 0 0 0.9rem rgba(2, 65, 6, 0.14);
}

.launch-title {
  display: grid;
  gap: 0.22rem;
  margin: 4.55rem 0 0;
  color: var(--ink);
  font-family: var(--cn);
  font-size: clamp(4.5rem, 19vw, 6rem);
  font-weight: 520;
  letter-spacing: -0.12em;
  line-height: 0.94;
  text-align: center;
  text-shadow: 0 0.22rem 0 rgba(0, 0, 0, 0.1);
}

.launch-title span {
  display: block;
}

.launch-label {
  margin: 5.05rem 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.12rem, 4.8vw, 1.46rem);
  font-weight: 700;
  line-height: 1.02;
  text-align: center;
  white-space: pre-line;
}

.launch-text {
  position: absolute;
  right: 1.25rem;
  bottom: 5.25rem;
  left: 1.25rem;
  margin: 0;
  color: #050505;
  font-family: var(--cn);
  font-size: clamp(0.96rem, 4vw, 1.18rem);
  font-weight: 520;
  line-height: 1.28;
  text-align: center;
  white-space: pre-line;
}

.launch .next span {
  color: rgba(255, 248, 237, 0.92);
  border-width: 0 2px 2px 0;
}

.flash {
  background: #050505;
}

.flash-stage {
  position: absolute;
  inset: 0;
  z-index: -4;
  margin: 0;
  overflow: hidden;
  background: #080808;
}

.flash-image-wrap {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.055);
  transition: opacity 90ms steps(1, end), transform 520ms ease;
}

.flash-image-wrap.is-active {
  opacity: 1;
  transform: scale(1.015);
}

.flash-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) brightness(0.78) contrast(1.08);
}

.flash-image-wrap.is-mono .flash-image {
  filter: grayscale(1) saturate(0.18) brightness(0.68) contrast(1.12);
}

.flash-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.02) 33%, rgba(0, 0, 0, 0.18) 70%, rgba(0, 0, 0, 0.72)),
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.06) 44%, rgba(0, 0, 0, 0.54) 84%);
}

.flash-brand {
  position: absolute;
  top: calc(2.4rem + env(safe-area-inset-top));
  right: 4.9rem;
  left: 1.55rem;
  z-index: 7;
  margin: 0;
  color: rgba(255, 248, 237, 0.74);
  font-family: var(--sans);
  font-size: clamp(0.66rem, 2.8vw, 0.82rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  text-shadow: 0 0.22rem 0.8rem rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.flash .next span {
  color: rgba(255, 248, 237, 0.92);
}

.set-pair {
  background: #0a0908;
}

.pair-bg-wrap {
  position: absolute;
  inset: -1.8rem;
  z-index: -4;
  display: block;
  overflow: hidden;
}

.pair-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) brightness(0.96) contrast(1.03);
  transform: scale(1.16);
}

.pair-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 38%, rgba(0, 0, 0, 0.22) 71%, rgba(0, 0, 0, 0.62)),
    radial-gradient(ellipse at 52% 52%, rgba(255, 248, 237, 0.05), rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.32) 82%);
}

.pair-top {
  position: absolute;
  top: calc(2.35rem + env(safe-area-inset-top));
  right: 5.15rem;
  left: 1.25rem;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 248, 237, 0.92);
  font-family: var(--display);
  font-size: clamp(0.9rem, 4vw, 1.18rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 0.28rem 0.8rem rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.pair-card {
  position: absolute;
  top: 21%;
  left: 50%;
  z-index: 4;
  width: min(82%, 22.3rem);
  height: min(68dvh, 38.5rem);
  min-height: 28rem;
  margin: 0;
  overflow: hidden;
  background: #090909;
  box-shadow: 0 1.35rem 3.8rem rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

.pair-main-wrap {
  display: block;
  width: 100%;
  height: 100%;
}

.pair-main {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) brightness(0.94) contrast(1.04);
}

.pair-word {
  position: absolute;
  right: 0.62rem;
  bottom: 5.7rem;
  left: 0.62rem;
  z-index: 6;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 248, 237, 0.62);
  font-family: Didot, "Bodoni 72", "Times New Roman", serif;
  font-size: clamp(3.72rem, 17.4vw, 4.86rem);
  font-weight: 520;
  line-height: 0.82;
  letter-spacing: -0.035em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 0.18rem 0 rgba(255, 248, 237, 0.16),
    0 0.24rem 0.82rem rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.set-pair .next span {
  color: rgba(255, 248, 237, 0.9);
}

.duo {
  grid-template-rows: 52% 48%;
  gap: 1px;
  background: #070706;
}

.duo-a,
.duo-b {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(1.4rem) scale(1.02);
  transition: opacity 800ms ease, transform 1000ms ease;
}

.duo-b {
  transition-delay: 120ms;
}

.duo-image {
  filter: saturate(0.72) contrast(1.04) brightness(0.86);
}

.duo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent 0 52%, rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.duo-copy {
  position: absolute;
  right: 1.35rem;
  bottom: 4.5rem;
  left: 1.35rem;
  z-index: 8;
}

.duo-script,
.plate-script,
.ending-script {
  margin: 0 0 -0.2rem;
  color: var(--green);
  font-family: var(--script);
  font-size: clamp(3.3rem, 16vw, 4.9rem);
  line-height: 0.62;
  text-shadow: 0 0 14px rgba(24, 195, 0, 0.42);
}

.duo .title,
.plate .title,
.ending .title {
  font-size: clamp(4.2rem, 18vw, 5.8rem);
}

.plate {
  padding: 7.6rem 1.38rem 4.8rem;
  background:
    linear-gradient(180deg, rgba(24, 195, 0, 0.08), transparent 18%),
    #050505;
}

.plate-frame {
  position: relative;
  width: 78%;
  height: 57dvh;
  min-height: 350px;
  margin: 0 auto;
  overflow: hidden;
  opacity: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.72);
  transform: translateY(1.2rem) scale(0.96);
  transition: opacity 820ms ease, transform 1000ms ease;
}

.plate-image {
  filter: saturate(0.7) brightness(0.88) contrast(1.08);
}

.plate .line-mark {
  top: 6.3rem;
  right: 1.3rem;
}

.plate-copy {
  position: relative;
  z-index: 8;
  margin-top: -2.2rem;
}

.chapter {
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1.1rem 1.1rem 4.6rem;
  background: var(--black);
}

.chapter-left,
.chapter-right {
  align-self: center;
  height: 62dvh;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 820ms ease, transform 1000ms ease;
}

.chapter-right {
  margin-top: 6.6rem;
  transition-delay: 120ms;
}

.chapter-image {
  filter: grayscale(1) brightness(0.88) contrast(1.1);
}

.chapter-copy {
  position: absolute;
  right: 1.25rem;
  bottom: 3.2rem;
  left: 1.25rem;
  z-index: 8;
}

.chapter-title {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3.2rem, 14vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.08em;
}

.photo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  align-content: end;
  padding: 1.35rem 1.28rem 4.85rem;
}

.photo .full-image {
  filter: saturate(0.75) brightness(0.82) contrast(1.06);
  transform: scale(1.025);
}

.photo.warm .full-image {
  filter: saturate(0.86) brightness(0.88) contrast(1.02);
}

.photo.mono .full-image {
  filter: grayscale(1) contrast(1.08) brightness(0.84);
}

.photo.green .full-image {
  filter: saturate(0.72) hue-rotate(5deg) brightness(0.82) contrast(1.06);
}

.photo-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 35%, rgba(0, 0, 0, 0.82)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 42%, rgba(0, 0, 0, 0.25));
}

.photo.right .photo-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 36%, rgba(0, 0, 0, 0.84)),
    linear-gradient(270deg, rgba(0, 0, 0, 0.58), transparent 42%, rgba(0, 0, 0, 0.22));
}

.photo-copy {
  position: absolute;
  bottom: 4.85rem;
  left: 1.28rem;
  z-index: 8;
  width: min(17.5rem, calc(100% - 2.56rem));
  max-width: none;
}

.photo.right .photo-copy {
  right: auto;
  left: 1.28rem;
  align-self: auto;
  justify-self: auto;
  text-align: left;
}

.photo.mid {
  justify-content: center;
  align-content: center;
}

.photo.mid .photo-copy {
  top: 50%;
  bottom: auto;
  transform: translateY(calc(-50% + 1.2rem));
}

.photo.mid.is-visible .photo-copy {
  transform: translateY(-50%);
}

.photo.low {
  align-content: end;
}

.photo-script {
  margin: 0.38rem 0 -0.18rem -0.2rem;
  color: var(--green);
  font-family: var(--script);
  font-size: clamp(3.3rem, 15vw, 4.8rem);
  line-height: 0.62;
  letter-spacing: -0.06em;
  opacity: 0.9;
  text-shadow: 0 0 12px rgba(24, 195, 0, 0.38);
}

.photo.right .photo-script {
  margin-left: -0.2rem;
  margin-right: -0.1rem;
}

.photo-title {
  font-size: clamp(4.15rem, 18vw, 5.9rem);
}

.photo-text {
  margin-top: 0.76rem;
}

.photo.right .photo-text {
  margin-left: 0;
}

.photo-index {
  color: rgba(24, 195, 0, 0.86);
}

.ending {
  padding: 6.7rem 1.32rem 3.1rem;
  background:
    linear-gradient(180deg, rgba(24, 195, 0, 0.07), transparent 22%),
    var(--black);
}

.ending-main,
.ending-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(1.2rem) scale(0.98);
  transition: opacity 820ms ease, transform 1000ms ease;
}

.ending-main {
  top: 6.9rem;
  right: 1.32rem;
  left: 1.32rem;
  height: 51dvh;
}

.ending-card {
  right: 1.32rem;
  bottom: 13rem;
  width: 34%;
  height: 20dvh;
  transition-delay: 130ms;
}

.ending-image {
  filter: saturate(0.75) brightness(0.86) contrast(1.04);
}

.ending-copy {
  position: absolute;
  right: 1.32rem;
  bottom: 2.75rem;
  left: 1.32rem;
  z-index: 8;
}

.share {
  min-height: 2.8rem;
  margin-top: 1.15rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(255, 248, 237, 0.34);
  border-radius: 999px;
  background: rgba(255, 248, 237, 0.03);
  color: var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.next {
  position: absolute;
  right: 0;
  bottom: calc(0.92rem + env(safe-area-inset-bottom));
  left: 0;
  z-index: 20;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  margin: auto;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.next span {
  width: 0.72rem;
  height: 0.72rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: 0.66;
  transform: rotate(45deg);
  animation: nextPulse 1500ms ease-in-out infinite;
}

.music-toggle {
  position: fixed;
  top: calc(0.86rem + env(safe-area-inset-top));
  right: max(0.78rem, calc((100vw - var(--stage-max)) / 2 + 0.78rem));
  z-index: 60;
  display: grid;
  width: 2.42rem;
  height: 2.42rem;
  place-items: center;
  border: 1px solid rgba(255, 248, 237, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.music-toggle::before {
  content: "";
  position: absolute;
  inset: 0.32rem;
  border: 1px solid rgba(24, 195, 0, 0.72);
  border-left-color: transparent;
  border-radius: inherit;
}

.music-toggle span::before {
  content: "♪";
  display: block;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1;
}

.music-toggle.is-playing::before {
  animation: spin 3.4s linear infinite;
}

.next:focus-visible,
.share:focus-visible,
.music-toggle:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

@keyframes petalIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0) rotate(20deg) scale(0.45);
  }

  28% {
    opacity: 0.98;
  }

  100% {
    opacity: 0;
    transform: translate3d(18px, -90px, 0) rotate(120deg) scale(1);
  }
}

@keyframes nextPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(-2px) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(5px) rotate(45deg);
  }
}

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

@media (max-width: 360px) {
  .screen {
    min-height: 560px;
  }

  .cover-title {
    font-size: 3.42rem;
  }

  .photo-title,
  .title {
    font-size: 3.9rem;
  }
}

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