:root {
  --paper: #efddc5;
  --paper-light: #fff8ed;
  --paper-deep: #d8b797;
  --ink: #322126;
  --ink-soft: #715957;
  --rose: #a84c59;
  --rose-dark: #71343c;
  --gold: #c18845;
  --sage: #416158;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --hand: "Kaiti SC", "STKaiti", KaiTi, var(--serif);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

html {
  background: var(--paper);
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

::selection {
  color: var(--paper-light);
  background: var(--rose);
}

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 5px;
}

.scene img {
  color: transparent;
  font-size: 0;
}

.scene img.is-image-failed {
  visibility: hidden !important;
}

.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;
}

.paper-grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

/* Password entrance */

.gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 32px 20px;
  overflow-y: auto;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(51, 34, 37, 0.08) 50%, transparent 50.2%),
    radial-gradient(circle at 50% 18%, #fff9ef 0, #f4e4cf 39%, #dfc1a1 100%);
  transition: opacity 650ms ease, visibility 650ms ease;
}

.gate::before,
.gate::after {
  content: "";
  position: absolute;
  width: min(26vw, 280px);
  aspect-ratio: 1;
  border: 1px solid rgba(113, 51, 61, 0.12);
  border-radius: 50%;
}

.gate::before {
  top: -12vw;
  left: -9vw;
  box-shadow: 0 0 0 22px rgba(169, 77, 89, 0.035), 0 0 0 50px rgba(169, 77, 89, 0.02);
}

.gate::after {
  right: -10vw;
  bottom: -15vw;
  box-shadow: 0 0 0 18px rgba(65, 97, 88, 0.035), 0 0 0 48px rgba(65, 97, 88, 0.02);
}

.gate__glow {
  position: absolute;
  width: min(64vw, 720px);
  height: min(64vw, 720px);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.55);
  filter: blur(16px);
}

.gate__card {
  position: relative;
  width: min(100%, 660px);
  padding: 70px 68px 56px;
  text-align: center;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.3), transparent 30%),
    var(--paper-light);
  border: 1px solid rgba(113, 51, 61, 0.23);
  box-shadow:
    0 28px 80px rgba(71, 43, 41, 0.17),
    8px 8px 0 rgba(169, 77, 89, 0.08);
  transform: rotate(-0.45deg);
}

.gate__card::before {
  content: "";
  position: absolute;
  inset: 11px;
  pointer-events: none;
  border: 1px solid rgba(113, 51, 61, 0.12);
}

.gate.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate__seal {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: -96px auto 24px;
  color: var(--paper-light);
  background: var(--rose);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--paper-light), 0 0 0 6px rgba(169, 77, 89, 0.22);
  transform: rotate(5deg);
}

.gate__seal svg {
  width: 27px;
  fill: currentColor;
}

.gate__to {
  margin: 0 0 13px;
  color: var(--rose-dark);
  font-family: var(--hand);
  font-size: 18px;
  letter-spacing: 0.28em;
}

.gate h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 5.6vw, 49px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.015em;
}

.gate__instruction {
  margin: 28px 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.unlock-form {
  width: min(100%, 460px);
  margin: 0 auto;
}

.passcode-row {
  display: flex;
  gap: 9px;
  padding: 7px;
  background: #f0e4d6;
  border: 1px solid rgba(51, 34, 37, 0.12);
}

.passcode-row input {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  color: var(--ink);
  background: rgba(255, 248, 238, 0.88);
  border: 1px solid rgba(51, 34, 37, 0.14);
  border-radius: 0;
  font-family: Baskerville, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: 0.19em;
  text-align: center;
}

.passcode-row input::placeholder {
  color: #a69187;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.passcode-row button {
  flex: 0 0 auto;
  padding: 13px 20px;
  color: var(--paper-light);
  background: var(--rose-dark);
  border: 1px solid var(--rose-dark);
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: background 180ms ease, transform 180ms ease;
}

.passcode-row button:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.passcode-row button:active {
  transform: translateY(1px);
}

.gate__hint,
.gate__error {
  min-height: 22px;
  margin: 8px 0 0;
  font-size: 12px;
}

.gate__hint {
  color: #92786e;
}

.gate__error {
  color: var(--rose-dark);
}

.unlock-form.is-wrong .passcode-row {
  animation: wrong-passcode 370ms ease;
}

@keyframes wrong-passcode {
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

.gate__postmark {
  position: absolute;
  right: -34px;
  bottom: 38px;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  color: rgba(113, 51, 61, 0.54);
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(11deg);
}

.gate__postmark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed currentColor;
  border-radius: inherit;
}

.gate__postmark span {
  margin-top: 7px;
  font-family: Baskerville, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1;
}

.gate__postmark small {
  margin-top: -15px;
  font-size: 10px;
  letter-spacing: 0.22em;
}

.gate__footer {
  position: absolute;
  bottom: 18px;
  margin: 0;
  color: rgba(51, 34, 37, 0.5);
  font-family: var(--hand);
  font-size: 13px;
}

/* One-scene-at-a-time story */

.experience {
  display: none;
  width: 100%;
  height: 100svh;
}

body.is-unlocked .experience {
  display: block;
  animation: develop-frame 850ms ease both;
}

@keyframes develop-frame {
  from {
    opacity: 0;
    filter: sepia(0.8) brightness(1.35);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(4%) scale(0.992);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.72, 0.2, 1),
    transform 800ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.scene.is-before {
  opacity: 0;
  transform: translateX(-4%) scale(0.992);
}

.scene.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.scene--opening {
  color: var(--ink);
  background: #dbb98f;
}

.scene__ambient {
  position: absolute;
  inset: -8%;
  z-index: -3;
  background-image: url("assets/photos/web/chat-2025-10-31.jpg");
  background-position: center 57%;
  background-size: cover;
  filter: blur(35px) saturate(0.72) sepia(0.12);
  opacity: 0.34;
  transform: scale(1.08);
}

.scene__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(111deg, rgba(255, 247, 233, 0.97) 0 38%, rgba(245, 223, 197, 0.88) 58%, rgba(195, 144, 113, 0.66)),
    radial-gradient(circle at 79% 16%, rgba(255, 223, 167, 0.58), transparent 26rem);
}

.scene__veil::before {
  content: "";
  position: absolute;
  top: -14%;
  left: 47%;
  width: 20%;
  height: 132%;
  background: linear-gradient(90deg, transparent, rgba(255, 248, 231, 0.52), transparent);
  filter: blur(18px);
  transform: rotate(14deg);
}

.scene__veil::after {
  content: "";
  position: absolute;
  right: -9%;
  bottom: -48%;
  width: 55vw;
  aspect-ratio: 1;
  border: 1px solid rgba(83, 54, 48, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(113, 52, 60, 0.025);
}

.scene__top {
  position: absolute;
  top: max(28px, env(safe-area-inset-top));
  right: clamp(24px, 5vw, 72px);
  left: clamp(24px, 5vw, 72px);
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(50, 33, 38, 0.67);
  font-family: Baskerville, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.scene__top p {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
}

.scene__top b {
  color: var(--rose-dark);
  font-family: var(--hand);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.scene__top b::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: currentColor;
}

.scene__top time {
  font-size: 13px;
}

.opening__layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(440px, 1.22fr);
  align-items: center;
  gap: clamp(34px, 6.5vw, 106px);
  width: min(1240px, calc(100vw - 12vw));
  height: 100%;
  margin: 0 auto;
  padding: 82px 0 70px;
}

.opening__copy {
  position: relative;
  z-index: 4;
  padding-bottom: 18px;
}

.scene__kicker {
  margin: 0 0 17px;
  color: var(--rose-dark);
  font-family: var(--hand);
  font-size: 15px;
  letter-spacing: 0.1em;
}

.scene__kicker::before {
  content: "✦";
  margin-right: 8px;
  color: var(--gold);
}

.opening__copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(65px, 7.5vw, 112px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.opening__copy h2 span {
  position: relative;
  display: inline-block;
  color: var(--rose-dark);
}

.opening__copy h2 span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 4px;
  height: 7px;
  background:
    linear-gradient(173deg, transparent 0 38%, rgba(193, 136, 69, 0.52) 40% 57%, transparent 60%),
    linear-gradient(7deg, transparent 0 42%, rgba(168, 76, 89, 0.24) 44% 56%, transparent 58%);
}

.opening__lead {
  max-width: 27em;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-family: var(--hand);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.95;
}

.opening__lead strong {
  color: var(--rose-dark);
  font-family: Baskerville, "Times New Roman", var(--hand);
  font-size: 1.08em;
  font-weight: 500;
}

.next-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 48px;
  padding: 11px 21px;
  color: var(--paper-light);
  background: var(--rose-dark);
  border: 1px solid var(--rose-dark);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(113, 52, 60, 0.16);
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.scene-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 33px;
}

.scene-actions--center {
  justify-content: center;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 10px 17px;
  color: var(--ink-soft);
  background: rgba(255, 248, 237, 0.4);
  border: 1px solid rgba(113, 52, 60, 0.24);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.back-button:hover {
  color: var(--rose-dark);
  background: rgba(255, 248, 237, 0.78);
  border-color: rgba(113, 52, 60, 0.44);
  transform: translateY(-2px);
}

.back-button i {
  position: relative;
  width: 19px;
  height: 1px;
  background: currentColor;
}

.back-button i::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg);
}

.back-button--light {
  color: rgba(255, 246, 234, 0.82);
  background: transparent;
  border-color: rgba(255, 246, 234, 0.34);
}

.back-button--light:hover {
  color: #fff6ea;
  background: rgba(255, 246, 234, 0.08);
  border-color: rgba(255, 246, 234, 0.62);
}

.next-button:hover {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 13px 30px rgba(50, 33, 38, 0.2);
  transform: translateY(-2px);
}

.next-button--gold {
  color: #fff8ee;
  background: #9a6128;
  border-color: #b57a36;
}

.next-button--gold:hover {
  color: #fff8ee;
  background: #704319;
  border-color: #704319;
}

.next-button i {
  position: relative;
  width: 23px;
  height: 1px;
  background: currentColor;
}

.next-button i::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.chat-keepsake {
  position: relative;
  z-index: 2;
  width: min(100%, 690px);
  padding: 17px 17px 52px;
  margin: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.6), transparent 42%),
    #fffaf0;
  box-shadow:
    0 28px 65px rgba(74, 47, 41, 0.23),
    8px 10px 0 rgba(113, 52, 60, 0.075);
  transform: rotate(1.8deg);
}

.chat-keepsake::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(50, 33, 38, 0.08);
}

.chat-keepsake__photo {
  position: relative;
  aspect-ratio: 1170 / 386;
  overflow: hidden;
  background: #3a2b2b;
}

.chat-keepsake__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-keepsake__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 25px rgba(44, 26, 25, 0.16);
}

.chat-keepsake__tape {
  position: absolute;
  top: -14px;
  left: 49%;
  z-index: 5;
  width: 112px;
  height: 33px;
  background: rgba(214, 190, 151, 0.79);
  box-shadow: 0 2px 5px rgba(66, 41, 38, 0.08);
  transform: translateX(-50%) rotate(-2deg);
}

.chat-keepsake figcaption {
  position: absolute;
  right: 23px;
  bottom: 13px;
  left: 23px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-soft);
  font-family: var(--hand);
}

.chat-keepsake figcaption span {
  color: var(--rose-dark);
  font-size: 18px;
  letter-spacing: 0.12em;
}

.chat-keepsake figcaption time {
  font-family: Baskerville, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.09em;
}

.doodle {
  position: absolute;
  z-index: 1;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  pointer-events: none;
}

.doodle--glass {
  top: 14%;
  left: 43%;
  width: clamp(84px, 9vw, 142px);
  color: rgba(113, 52, 60, 0.31);
  transform: rotate(-9deg);
}

.doodle--branch {
  bottom: -8%;
  left: -3%;
  width: clamp(150px, 19vw, 260px);
  color: rgba(65, 97, 88, 0.32);
  transform: rotate(-7deg);
}

.doodle--heart {
  top: 18%;
  right: 6.5%;
  width: 44px;
  color: rgba(168, 76, 89, 0.4);
  transform: rotate(14deg);
}

.scribble {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.scribble--one {
  top: 11%;
  left: 7%;
  width: 76px;
  height: 26px;
  border-top: 1px solid rgba(193, 136, 69, 0.38);
  border-bottom: 1px solid rgba(193, 136, 69, 0.2);
  transform: rotate(-17deg);
}

.scribble--two {
  right: 3%;
  bottom: 18%;
  width: 48px;
  height: 48px;
  border: 1px dashed rgba(113, 52, 60, 0.22);
}

.stage__footer {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: max(22px, env(safe-area-inset-bottom));
  left: clamp(24px, 5vw, 72px);
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(50, 33, 38, 0.5);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.scene-number {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scene-number b {
  color: var(--rose-dark);
  font-family: Baskerville, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
}

.scene-number i {
  width: 36px;
  height: 1px;
  background: rgba(50, 33, 38, 0.23);
}

.stage__hint {
  font-family: var(--hand);
  letter-spacing: 0.07em;
}

/* Second scene: the first meal together */

.scene--meal {
  color: #fff5e7;
  background: #32201d;
}

.meal__ambient {
  position: absolute;
  inset: -9%;
  z-index: -3;
  background-image: url("assets/photos/web/meal-2025-11-08.jpg");
  background-position: center 42%;
  background-size: cover;
  filter: blur(40px) saturate(0.76) brightness(0.62);
  opacity: 0.58;
  transform: scale(1.08);
}

.meal__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(104deg, rgba(45, 26, 22, 0.96) 0 42%, rgba(71, 40, 31, 0.82) 64%, rgba(105, 65, 45, 0.56)),
    radial-gradient(circle at 73% 21%, rgba(232, 158, 98, 0.28), transparent 27rem);
}

.meal__veil::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 46%;
  width: 1px;
  height: 155%;
  background: linear-gradient(transparent, rgba(255, 232, 200, 0.22), transparent);
  transform: rotate(16deg);
}

.scene__top--light {
  color: rgba(255, 245, 231, 0.62);
}

.scene__top--light b {
  color: #e6b37c;
}

.meal__layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(420px, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: clamp(40px, 8vw, 125px);
  width: min(1200px, calc(100vw - 10vw));
  height: 100%;
  margin: 0 auto;
  padding: 80px 0 68px;
}

.meal__photos {
  position: relative;
  width: min(100%, 560px);
  height: min(72svh, 680px);
  min-height: 420px;
  margin: 0 auto;
}

.meal-photo,
.game-photo {
  position: absolute;
  margin: 0;
  background: #fff8eb;
  box-shadow: 0 28px 65px rgba(17, 10, 9, 0.45);
}

.meal-photo {
  top: 0;
  left: 8%;
  z-index: 2;
  width: 57%;
  height: 82%;
  padding: 10px 10px 44px;
  transform: rotate(-2.8deg);
}

.meal-photo::after,
.game-photo::after {
  content: "";
  position: absolute;
  inset: 8px 8px auto;
  height: calc(100% - 42px);
  border: 1px solid rgba(52, 31, 27, 0.08);
  pointer-events: none;
}

.meal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.meal-photo figcaption {
  position: absolute;
  right: 15px;
  bottom: 9px;
  left: 15px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #633d38;
  font-family: var(--hand);
}

.meal-photo figcaption span {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.meal-photo figcaption time {
  font-family: Baskerville, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.meal-photo__tape {
  position: absolute;
  top: -13px;
  left: 41%;
  z-index: 3;
  width: 94px;
  height: 28px;
  background: rgba(218, 188, 143, 0.77);
  transform: translateX(-50%) rotate(2deg);
}

.game-photo {
  right: 0;
  bottom: 1%;
  z-index: 4;
  width: 52%;
  padding: 8px 8px 34px;
  transform: rotate(4.2deg);
}

.game-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.game-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  color: #7b5149;
  font-family: var(--hand);
  font-size: 11px;
  text-align: right;
}

.meal__copy {
  position: relative;
  z-index: 5;
}

.scene__kicker--light {
  color: #dcb58c;
}

.meal__copy h2 {
  max-width: 7.5em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.meal__place {
  position: relative;
  display: inline-block;
  color: #f1c58f;
}

.meal__place::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 7px;
  background: linear-gradient(174deg, transparent 28%, rgba(232, 158, 98, 0.56) 31% 57%, transparent 60%);
}

.meal__lead {
  max-width: 26em;
  margin: 30px 0 0;
  color: rgba(255, 245, 231, 0.72);
  font-family: var(--hand);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.95;
}

.doodle--steam {
  top: -35px;
  left: 19%;
  width: 80px;
  color: rgba(255, 235, 205, 0.24);
  transform: rotate(-4deg);
}

.doodle--chili {
  right: 2%;
  bottom: 6%;
  width: clamp(100px, 11vw, 156px);
  color: rgba(224, 116, 78, 0.3);
  transform: rotate(-11deg);
}

.stage__footer--light {
  color: rgba(255, 245, 231, 0.44);
}

.stage__footer--light .scene-number b {
  color: #e6b37c;
}

.stage__footer--light .scene-number i {
  background: rgba(255, 245, 231, 0.22);
}

/* Third scene: our first movie */

.scene--cinema {
  color: #fff8ee;
  background: #10222c;
}

.cinema__ambient {
  position: absolute;
  inset: -9%;
  z-index: -3;
  background-image: url("assets/photos/web/movie-theater-2025-12-07.jpg");
  background-position: center 48%;
  background-size: cover;
  filter: blur(44px) saturate(0.74) brightness(0.53);
  opacity: 0.62;
  transform: scale(1.08);
}

.cinema__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(102deg, rgba(7, 22, 31, 0.97) 0 43%, rgba(13, 42, 54, 0.87) 67%, rgba(48, 69, 66, 0.54)),
    radial-gradient(circle at 78% 23%, rgba(233, 185, 103, 0.22), transparent 27rem);
}

.cinema__veil::after {
  content: "";
  position: absolute;
  top: -31%;
  left: 52%;
  width: 1px;
  height: 158%;
  background: linear-gradient(transparent, rgba(255, 228, 167, 0.24), transparent);
  transform: rotate(-17deg);
}

.scene__kicker--gold {
  color: #e5bc79;
}

.cinema__layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(38px, 7vw, 112px);
  width: min(1200px, calc(100vw - 10vw));
  height: 100%;
  margin: 0 auto;
  padding: 80px 0 68px;
}

.cinema__copy {
  position: relative;
  z-index: 5;
}

.cinema__copy h2 {
  max-width: 8em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.cinema__copy h2 span {
  display: block;
  margin-bottom: 5px;
  color: #e9bf7d;
  font-family: Baskerville, var(--serif);
  font-size: 0.57em;
  letter-spacing: 0.01em;
}

.cinema__lead {
  max-width: 27em;
  margin: 28px 0 0;
  color: rgba(255, 248, 238, 0.72);
  font-family: var(--hand);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.95;
}

.back-button--gold {
  color: rgba(255, 248, 238, 0.84);
  background: transparent;
  border-color: rgba(229, 188, 121, 0.48);
}

.back-button--gold:hover {
  color: #fff8ee;
  background: rgba(229, 188, 121, 0.09);
  border-color: rgba(229, 188, 121, 0.72);
}

.cinema__photos {
  position: relative;
  width: min(100%, 560px);
  height: min(72svh, 680px);
  min-height: 420px;
  margin: 0 auto;
}

.ticket-photo,
.theater-photo {
  position: absolute;
  margin: 0;
  background: #fff9ef;
  box-shadow: 0 28px 65px rgba(2, 13, 18, 0.5);
}

.theater-photo {
  top: 0;
  right: 0;
  z-index: 3;
  width: 68%;
  height: 87%;
  padding: 9px 9px 43px;
  transform: rotate(2.4deg);
}

.theater-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.theater-photo figcaption,
.ticket-photo figcaption {
  position: absolute;
  right: 13px;
  bottom: 9px;
  left: 13px;
  color: #46616a;
  font-family: var(--hand);
  text-align: right;
}

.theater-photo figcaption {
  font-size: 11px;
}

.ticket-photo {
  bottom: 0;
  left: 0;
  z-index: 4;
  width: 39%;
  height: 64%;
  padding: 8px 8px 37px;
  transform: rotate(-4deg);
}

.ticket-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 37%;
}

.ticket-photo figcaption {
  font-size: 10px;
  text-align: center;
}

.ticket-photo__tape {
  position: absolute;
  top: -14px;
  left: 44%;
  z-index: 3;
  width: 84px;
  height: 27px;
  background: rgba(220, 190, 142, 0.78);
  transform: translateX(-50%) rotate(2deg);
}

.doodle--cinema-star {
  top: 9%;
  left: 1%;
  width: 48px;
  color: rgba(229, 188, 121, 0.4);
  transform: rotate(-11deg);
}

/* Fourth scene: Christmas at Bund Origin */

.scene--christmas {
  color: #fff7e9;
  background: #0c241f;
}

.christmas__ambient {
  position: absolute;
  inset: -9%;
  z-index: -3;
  background-image: url("assets/photos/web/christmas-tree-2025-12-27.jpg");
  background-position: center 40%;
  background-size: cover;
  filter: blur(45px) saturate(0.76) brightness(0.43);
  opacity: 0.6;
  transform: scale(1.08);
}

.christmas__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(103deg, rgba(6, 28, 23, 0.97) 0 43%, rgba(14, 49, 38, 0.86) 67%, rgba(83, 59, 35, 0.53)),
    radial-gradient(circle at 81% 18%, rgba(244, 193, 91, 0.28), transparent 25rem);
}

.christmas__veil::after {
  content: "";
  position: absolute;
  top: -32%;
  left: 52%;
  width: 1px;
  height: 160%;
  background: linear-gradient(transparent, rgba(255, 215, 139, 0.28), transparent);
  transform: rotate(-16deg);
}

.christmas__layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(350px, 0.9fr) minmax(450px, 1.1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 112px);
  width: min(1200px, calc(100vw - 10vw));
  height: 100%;
  margin: 0 auto;
  padding: 80px 0 68px;
}

.christmas__copy {
  position: relative;
  z-index: 5;
}

.christmas__copy h2 {
  max-width: 8em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 4.7vw, 64px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.christmas__copy h2 span {
  color: #edc477;
}

.christmas__lead {
  max-width: 27em;
  margin: 28px 0 0;
  color: rgba(255, 247, 233, 0.72);
  font-family: var(--hand);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.95;
}

.christmas__photos {
  position: relative;
  width: min(100%, 570px);
  height: min(72svh, 680px);
  min-height: 420px;
  margin: 0 auto;
}

.christmas-tree-photo,
.christmas-selfie-photo,
.mulled-wine-photo {
  position: absolute;
  margin: 0;
  background: #fff9ed;
  box-shadow: 0 28px 65px rgba(1, 13, 10, 0.48);
}

.christmas-tree-photo {
  top: 0;
  left: 0;
  z-index: 2;
  width: 49%;
  height: 88%;
  padding: 9px 9px 41px;
  transform: rotate(-2.6deg);
}

.christmas-tree-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.christmas-tree-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  color: #5c4d31;
  font-family: var(--hand);
  font-size: 11px;
  text-align: center;
}

.christmas-tree-photo__tape {
  position: absolute;
  top: -13px;
  left: 45%;
  z-index: 3;
  width: 88px;
  height: 27px;
  background: rgba(219, 190, 140, 0.79);
  transform: translateX(-50%) rotate(2deg);
}

.christmas-selfie-photo {
  top: 5%;
  right: 0;
  z-index: 6;
  width: 58%;
  height: 69%;
  padding: 8px 8px 37px;
  transform: rotate(3.1deg);
}

.christmas-selfie-photo img {
  width: 100%;
  height: 100%;
  background: #fff9ed;
  object-fit: contain;
  object-position: center;
}

.christmas-selfie-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  color: #5b604c;
  font-family: var(--hand);
  font-size: 10px;
  text-align: right;
}

.mulled-wine-photo {
  right: 8%;
  bottom: 0;
  z-index: 5;
  width: 40%;
  height: 39%;
  padding: 7px 7px 31px;
  transform: rotate(-3.2deg);
}

.mulled-wine-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mulled-wine-photo figcaption {
  position: absolute;
  right: 9px;
  bottom: 7px;
  left: 9px;
  color: #7a4738;
  font-family: var(--hand);
  font-size: 9px;
  text-align: center;
}

.doodle--lights {
  top: -7%;
  right: -4%;
  width: 63%;
  color: rgba(240, 190, 91, 0.43);
}

.doodle--lights circle {
  fill: currentColor;
  stroke: none;
}

/* Fifth scene: Valentine's Day */

.scene--valentines {
  color: #fff8ef;
  background: #102f3a;
}

.valentines__ambient {
  position: absolute;
  inset: -9%;
  z-index: -3;
  background-image: url("assets/photos/web/valentines-couple-2026-02-14.jpg");
  background-position: center 35%;
  background-size: cover;
  filter: blur(44px) saturate(0.8) brightness(0.55);
  opacity: 0.72;
  transform: scale(1.08);
}

.valentines__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(104deg, rgba(10, 38, 48, 0.97) 0 42%, rgba(27, 75, 87, 0.82) 66%, rgba(122, 73, 73, 0.44)),
    radial-gradient(circle at 84% 14%, rgba(255, 217, 221, 0.3), transparent 25rem);
}

.valentines__veil::after {
  content: "";
  position: absolute;
  top: -28%;
  left: 54%;
  width: 1px;
  height: 158%;
  background: linear-gradient(transparent, rgba(255, 231, 233, 0.3), transparent);
  transform: rotate(-17deg);
}

.valentines__layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(350px, 0.9fr) minmax(450px, 1.1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 112px);
  width: min(1200px, calc(100vw - 10vw));
  height: 100%;
  margin: 0 auto;
  padding: 80px 0 68px;
}

.valentines__copy {
  position: relative;
  z-index: 5;
}

.valentines__copy h2 {
  max-width: 8em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 4.7vw, 64px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.valentines__copy h2 span {
  color: #f2b9bf;
}

.valentines__lead {
  max-width: 27em;
  margin: 28px 0 0;
  color: rgba(255, 248, 239, 0.75);
  font-family: var(--hand);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.95;
}

.back-button--valentine {
  color: rgba(255, 248, 239, 0.88);
  background: transparent;
  border-color: rgba(242, 185, 191, 0.52);
}

.back-button--valentine:hover {
  color: #fff8ef;
  background: rgba(242, 185, 191, 0.1);
  border-color: rgba(242, 185, 191, 0.8);
}

.next-button--valentine {
  color: #fff8ef;
  background: #ad586a;
  border-color: #c06a7c;
}

.next-button--valentine:hover {
  color: #fff8ef;
  background: #8f4051;
  border-color: #8f4051;
}

.valentines__photos {
  position: relative;
  width: min(100%, 570px);
  height: min(72svh, 680px);
  min-height: 420px;
  margin: 0 auto;
}

.valentines-couple-photo,
.valentines-gifts-photo,
.valentines-hair-photo,
.valentines-closeup-photo {
  position: absolute;
  margin: 0;
  background: #fffdf6;
  box-shadow: 0 28px 65px rgba(3, 21, 27, 0.48);
}

.valentines-couple-photo {
  top: 5%;
  left: 3%;
  z-index: 2;
  width: 54%;
  height: 70%;
  padding: 9px 9px 41px;
  transform: rotate(-2.4deg);
}

.valentines-couple-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.valentines-couple-photo figcaption,
.valentines-gifts-photo figcaption,
.valentines-hair-photo figcaption,
.valentines-closeup-photo figcaption {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  font-family: var(--hand);
  text-align: center;
}

.valentines-couple-photo figcaption {
  color: #70544d;
  font-size: 10px;
}

.valentines-couple-photo__tape {
  position: absolute;
  top: -13px;
  left: 44%;
  z-index: 3;
  width: 88px;
  height: 27px;
  background: rgba(235, 188, 194, 0.8);
  transform: translateX(-50%) rotate(2deg);
}

.valentines-gifts-photo {
  top: 0;
  right: 0;
  z-index: 4;
  width: 43%;
  height: 46%;
  padding: 8px 8px 35px;
  transform: rotate(3.2deg);
}

.valentines-gifts-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.valentines-gifts-photo figcaption {
  color: #7f5350;
  font-size: 8px;
}

.valentines-hair-photo {
  right: 0;
  bottom: 2%;
  z-index: 5;
  width: 43%;
  height: 45%;
  padding: 8px 8px 34px;
  transform: rotate(-2.2deg);
}

.valentines-hair-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.valentines-hair-photo figcaption {
  color: #3e4a4f;
  font-size: 9px;
}

.valentines-closeup-photo {
  bottom: -4%;
  left: 2%;
  z-index: 6;
  width: 44%;
  height: 50%;
  padding: 7px 7px 30px;
  transform: rotate(3.7deg);
}

.valentines-closeup-photo img {
  width: 100%;
  height: 100%;
  background: #fffdf6;
  object-fit: contain;
  object-position: center;
}

.valentines-closeup-photo figcaption {
  color: #755754;
  font-size: 8px;
}

.doodle--valentine-heart {
  top: -8%;
  right: 15%;
  width: clamp(82px, 10vw, 126px);
  color: rgba(247, 183, 190, 0.48);
  transform: rotate(9deg);
}

.doodle--valentine-heart path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Sixth scene: first camping trip */

.scene--camping {
  color: #fff9ec;
  background: #173c33;
}

.scene__place {
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.76;
}

.camping__ambient {
  position: absolute;
  inset: -9%;
  z-index: -3;
  background-image: url("assets/photos/web/camping-riverside.jpg");
  background-position: center 48%;
  background-size: cover;
  filter: blur(44px) saturate(0.86) brightness(0.65);
  opacity: 0.68;
  transform: scale(1.08);
}

.camping__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(102deg, rgba(16, 57, 49, 0.97) 0 43%, rgba(41, 91, 68, 0.82) 67%, rgba(168, 137, 73, 0.4)),
    radial-gradient(circle at 82% 15%, rgba(255, 231, 149, 0.38), transparent 24rem);
}

.camping__veil::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 51%;
  width: 1px;
  height: 160%;
  background: linear-gradient(transparent, rgba(255, 240, 184, 0.33), transparent);
  transform: rotate(-15deg);
}

.camping__layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(350px, 0.9fr) minmax(450px, 1.1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 112px);
  width: min(1200px, calc(100vw - 10vw));
  height: 100%;
  margin: 0 auto;
  padding: 80px 0 68px;
}

.camping__copy {
  position: relative;
  z-index: 5;
}

.camping__copy h2 {
  max-width: 8em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 4.7vw, 64px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.camping__copy h2 span {
  color: #f2d98d;
}

.camping__lead {
  max-width: 27em;
  margin: 28px 0 0;
  color: rgba(255, 249, 236, 0.78);
  font-family: var(--hand);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.95;
}

.back-button--camping {
  color: rgba(255, 249, 236, 0.88);
  background: transparent;
  border-color: rgba(242, 217, 141, 0.54);
}

.back-button--camping:hover {
  color: #fff9ec;
  background: rgba(242, 217, 141, 0.1);
  border-color: rgba(242, 217, 141, 0.82);
}

.camping__photos {
  position: relative;
  width: min(100%, 570px);
  height: min(72svh, 680px);
  min-height: 420px;
  margin: 0 auto;
}

.camping-riverside-photo,
.camping-picnic-photo {
  position: absolute;
  margin: 0;
  background: #fffdf6;
  box-shadow: 0 28px 65px rgba(5, 26, 20, 0.46);
}

.camping-riverside-photo {
  top: 5%;
  left: 0;
  z-index: 3;
  width: 68%;
  height: 50%;
  padding: 9px 9px 37px;
  transform: rotate(-2.2deg);
}

.camping-riverside-photo img {
  width: 100%;
  height: 100%;
  background: #fffdf6;
  object-fit: contain;
  object-position: center;
}

.camping-riverside-photo figcaption,
.camping-picnic-photo figcaption {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  font-family: var(--hand);
  text-align: center;
}

.camping-riverside-photo figcaption {
  color: #65543d;
  font-size: 9px;
}

.camping-riverside-photo__tape {
  position: absolute;
  top: -13px;
  left: 45%;
  z-index: 4;
  width: 84px;
  height: 26px;
  background: rgba(238, 219, 137, 0.82);
  transform: translateX(-50%) rotate(2deg);
}

.camping-picnic-photo {
  right: 0;
  bottom: 0;
  z-index: 5;
  width: 46%;
  height: 56%;
  padding: 8px 8px 35px;
  transform: rotate(3deg);
}

.camping-picnic-photo img {
  width: 100%;
  height: 100%;
  background: #fffdf6;
  object-fit: contain;
  object-position: center;
}

.camping-picnic-photo figcaption {
  color: #6a503c;
  font-size: 8px;
}

.doodle--camping-sun {
  top: -7%;
  right: 17%;
  width: clamp(68px, 8vw, 106px);
  color: rgba(251, 221, 119, 0.58);
  transform: rotate(12deg);
}

.doodle--camping-sun circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.doodle--camping-sun path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

/* Question between scenes */

.question-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(34, 21, 20, 0.67);
  backdrop-filter: blur(10px);
  animation: question-appear 350ms ease both;
}

@keyframes question-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

.question-card {
  position: relative;
  width: min(100%, 520px);
  padding: 50px 45px 42px;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.55), transparent 38%),
    var(--paper-light);
  border: 1px solid rgba(113, 52, 60, 0.27);
  box-shadow: 0 32px 80px rgba(24, 14, 14, 0.35);
  transform: rotate(-0.6deg);
}

.question-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(113, 52, 60, 0.1);
}

.question-card__close {
  position: absolute;
  top: 14px;
  right: 17px;
  z-index: 2;
  width: 34px;
  height: 34px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: Baskerville, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.question-card__kicker {
  margin: 0 0 17px;
  color: var(--rose-dark);
  font-family: var(--hand);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.question-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.45;
}

.question-card__choices {
  padding: 0;
  margin: 25px 0 0;
  border: 0;
}

.question-card__choices legend {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 13px;
}

.choice-option {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 13px;
  margin-top: 8px;
  color: var(--ink);
  background: rgba(239, 221, 197, 0.36);
  border: 1px solid rgba(50, 33, 38, 0.16);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.choice-option:hover,
.choice-option:has(input:checked) {
  background: rgba(239, 221, 197, 0.68);
  border-color: rgba(113, 52, 60, 0.48);
}

.choice-option:has(input:focus-visible) .choice-letter {
  box-shadow: 0 0 0 3px rgba(65, 97, 88, 0.18);
}

.choice-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice-letter {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--rose-dark);
  border: 1px solid rgba(113, 52, 60, 0.33);
  border-radius: 50%;
  font-family: Baskerville, "Times New Roman", serif;
  font-size: 15px;
}

.choice-option:has(input:checked) .choice-letter {
  color: var(--paper-light);
  background: var(--rose-dark);
  border-color: var(--rose-dark);
}

.choice-text {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.question-card__answer label {
  display: block;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 13px;
}

.question-card__answer input {
  display: block;
  width: 100%;
  padding: 13px 15px;
  margin-top: 9px;
  color: var(--ink);
  background: rgba(239, 221, 197, 0.47);
  border: 1px solid rgba(50, 33, 38, 0.18);
  border-radius: 0;
  font-size: 17px;
  text-align: center;
}

.question-card__answer input::placeholder {
  color: #a18b82;
}

.question-card__error {
  min-height: 22px;
  margin: 7px 0 0;
  color: var(--rose-dark);
  font-size: 12px;
  text-align: center;
}

.question-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.question-card__submit,
.question-card__cancel {
  min-height: 43px;
  padding: 9px 17px;
  border: 1px solid var(--rose-dark);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}

.question-card__submit {
  color: var(--paper-light);
  background: var(--rose-dark);
}

.question-card__cancel {
  color: var(--rose-dark);
  background: transparent;
}

/* Music */

.music-toggle {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 18;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform-origin: center;
}

.music-toggle__icon {
  display: block;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 23px;
  line-height: 1;
  opacity: 0.72;
  filter: saturate(0.72) drop-shadow(0 2px 5px rgba(48, 28, 27, 0.18));
  transform-origin: center;
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.music-toggle:hover .music-toggle__icon,
.music-toggle:focus-visible .music-toggle__icon {
  opacity: 0.94;
  filter: saturate(0.92) drop-shadow(0 3px 8px rgba(48, 28, 27, 0.24));
  transform: translateY(-1px) scale(1.06);
}

.music-toggle.is-playing .music-toggle__icon {
  animation: music-icon-bob 1.9s ease-in-out infinite;
}

.music-toggle:focus-visible {
  outline: 2px solid rgba(113, 52, 60, 0.62);
  outline-offset: 1px;
}

@keyframes music-icon-bob {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.035);
  }
}

.gate .music-toggle {
  animation: gate-music-in 700ms cubic-bezier(0.16, 0.72, 0.22, 1) 180ms both;
}

@keyframes gate-music-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .music-toggle.is-playing,
  .music-toggle.is-playing .music-toggle__icon,
  .gate .music-toggle {
    animation: none;
  }
}

.noscript {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 60;
  padding: 16px;
  color: var(--paper-light);
  background: var(--rose-dark);
  text-align: center;
}

@media (max-width: 900px) {
  .opening__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: center;
    gap: clamp(24px, 4.5vh, 40px);
    width: min(680px, calc(100vw - 42px));
    padding: 70px 0 58px;
  }

  .chat-keepsake {
    order: 1;
    width: min(100%, 580px);
    padding: 12px 12px 43px;
    transform: rotate(-1.1deg);
  }

  .chat-keepsake figcaption {
    right: 16px;
    bottom: 10px;
    left: 16px;
  }

  .chat-keepsake figcaption span {
    font-size: 16px;
  }

  .opening__copy {
    order: 2;
    width: 100%;
    padding: 0;
  }

  .scene__kicker {
    margin-bottom: 11px;
    font-size: 13px;
  }

  .opening__copy h2 {
    font-size: clamp(52px, 11vw, 84px);
  }

  .opening__lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
  }

  .next-button {
    min-height: 45px;
  }

  .scene-actions {
    margin-top: 22px;
  }

  .doodle--glass {
    top: 30%;
    left: 2%;
    width: 86px;
    opacity: 0.76;
  }

  .doodle--branch {
    bottom: -8%;
    left: -20px;
    width: 160px;
  }

  .doodle--heart {
    top: 15%;
    right: 4%;
    width: 33px;
  }

  .scribble--one {
    top: 8%;
    left: 5%;
  }

  .meal__layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, auto) minmax(0, auto);
    align-content: center;
    justify-items: center;
    gap: clamp(19px, 3.2vh, 30px);
    width: min(650px, calc(100vw - 42px));
    padding: 70px 0 58px;
  }

  .meal__photos {
    order: 1;
    width: min(100%, 530px);
    height: min(41svh, 370px);
    min-height: 255px;
  }

  .meal__copy {
    order: 2;
    width: 100%;
  }

  .meal__copy h2 {
    font-size: clamp(48px, 8.4vw, 68px);
  }

  .meal__lead {
    margin-top: 17px;
    font-size: 15px;
    line-height: 1.75;
  }

  .doodle--chili {
    display: none;
  }

  .cinema__layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, auto) minmax(0, auto);
    align-content: center;
    justify-items: center;
    gap: clamp(19px, 3.2vh, 30px);
    width: min(650px, calc(100vw - 42px));
    padding: 70px 0 58px;
  }

  .cinema__photos {
    order: 1;
    width: min(100%, 530px);
    height: min(41svh, 370px);
    min-height: 255px;
  }

  .cinema__copy {
    order: 2;
    width: 100%;
  }

  .cinema__copy h2 {
    font-size: clamp(44px, 7.5vw, 64px);
  }

  .cinema__lead {
    margin-top: 17px;
    font-size: 15px;
    line-height: 1.75;
  }

  .christmas__layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, auto) minmax(0, auto);
    align-content: center;
    justify-items: center;
    gap: clamp(19px, 3.2vh, 30px);
    width: min(650px, calc(100vw - 42px));
    padding: 70px 0 58px;
  }

  .christmas__photos {
    order: 1;
    width: min(100%, 530px);
    height: min(41svh, 370px);
    min-height: 255px;
  }

  .christmas__copy {
    order: 2;
    width: 100%;
  }

  .christmas__copy h2 {
    font-size: clamp(45px, 7.8vw, 64px);
  }

  .christmas__lead {
    margin-top: 17px;
    font-size: 15px;
    line-height: 1.75;
  }

  .valentines__layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, auto) minmax(0, auto);
    align-content: center;
    justify-items: center;
    gap: clamp(19px, 3.2vh, 30px);
    width: min(650px, calc(100vw - 42px));
    padding: 70px 0 58px;
  }

  .valentines__photos {
    order: 1;
    width: min(100%, 530px);
    height: min(41svh, 370px);
    min-height: 255px;
  }

  .valentines__copy {
    order: 2;
    width: 100%;
  }

  .valentines__copy h2 {
    font-size: clamp(45px, 7.8vw, 64px);
  }

  .valentines__lead {
    margin-top: 17px;
    font-size: 15px;
    line-height: 1.75;
  }

  .camping__layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, auto) minmax(0, auto);
    align-content: center;
    justify-items: center;
    gap: clamp(19px, 3.2vh, 30px);
    width: min(650px, calc(100vw - 42px));
    padding: 70px 0 58px;
  }

  .camping__photos {
    order: 1;
    width: min(100%, 530px);
    height: min(41svh, 370px);
    min-height: 255px;
  }

  .camping__copy {
    order: 2;
    width: 100%;
  }

  .camping__copy h2 {
    font-size: clamp(45px, 7.8vw, 64px);
  }

  .camping__lead {
    margin-top: 17px;
    font-size: 15px;
    line-height: 1.75;
  }
}

@media (max-width: 680px) {
  .gate {
    padding: 84px 16px 44px;
  }

  .gate__card {
    padding: 58px 28px 46px;
  }

  .gate h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .gate__seal {
    margin-top: -85px;
  }

  .gate__postmark {
    right: 16px;
    bottom: -28px;
    width: 76px;
    height: 76px;
  }

  .gate__postmark span {
    font-size: 17px;
  }

  .gate__footer {
    position: relative;
    bottom: auto;
    margin-top: 58px;
  }

  .passcode-row {
    flex-direction: column;
  }

  .passcode-row button {
    width: 100%;
    padding-block: 14px;
  }

  .scene__top {
    top: max(17px, env(safe-area-inset-top));
    right: 20px;
    left: 20px;
    font-size: 9px;
  }

  .scene__top p {
    gap: 8px;
  }

  .scene__top b {
    font-size: 11px;
  }

  .scene__top b::before {
    width: 18px;
    margin-right: 8px;
  }

  .scene__top time {
    font-size: 11px;
  }

  .opening__layout {
    grid-template-rows: minmax(0, auto) minmax(0, auto);
    gap: clamp(18px, 3.4vh, 30px);
    width: calc(100vw - 38px);
    padding: 62px 0 52px;
  }

  .chat-keepsake {
    width: calc(100% - 10px);
    padding: 9px 9px 38px;
    transform: rotate(-1deg);
  }

  .chat-keepsake__tape {
    top: -10px;
    width: 84px;
    height: 25px;
  }

  .chat-keepsake figcaption {
    right: 12px;
    bottom: 8px;
    left: 12px;
  }

  .chat-keepsake figcaption span {
    font-size: 14px;
  }

  .chat-keepsake figcaption time {
    font-size: 10px;
  }

  .scene__kicker {
    margin-bottom: 9px;
    font-size: 12px;
  }

  .opening__copy h2 {
    font-size: clamp(47px, 14vw, 64px);
    line-height: 1;
  }

  .opening__lead {
    max-width: 26em;
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.75;
  }

  .next-button {
    min-height: 43px;
    padding: 9px 18px;
    font-size: 13px;
  }

  .scene-actions {
    gap: 9px;
    margin-top: 18px;
  }

  .back-button {
    min-height: 42px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .stage__footer {
    right: 20px;
    bottom: max(13px, env(safe-area-inset-bottom));
    left: 20px;
    font-size: 9px;
  }

  .scene-number b {
    font-size: 13px;
  }

  .scene-number i {
    width: 25px;
  }

  .doodle--glass {
    top: 33%;
    left: -12px;
    width: 72px;
  }

  .doodle--branch {
    display: none;
  }

  .doodle--heart {
    top: 12%;
    right: 4%;
    width: 30px;
  }

  .scribble--two {
    display: none;
  }

  .music-toggle {
    top: max(7px, env(safe-area-inset-top));
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .music-toggle__icon {
    font-size: 21px;
  }

  .meal__layout {
    gap: clamp(14px, 2.4vh, 23px);
    width: calc(100vw - 38px);
    padding: 58px 0 48px;
  }

  .meal__photos {
    height: min(39svh, 325px);
    min-height: 220px;
  }

  .meal-photo {
    left: 3%;
    width: 55%;
    padding: 7px 7px 35px;
  }

  .meal-photo figcaption {
    right: 10px;
    bottom: 7px;
    left: 10px;
  }

  .meal-photo figcaption span {
    font-size: 14px;
  }

  .meal-photo figcaption time {
    font-size: 8px;
  }

  .meal-photo__tape {
    top: -9px;
    width: 72px;
    height: 22px;
  }

  .game-photo {
    width: 49%;
    padding: 6px 6px 29px;
  }

  .game-photo figcaption {
    right: 8px;
    bottom: 7px;
    left: 8px;
    font-size: 9px;
  }

  .doodle--steam {
    top: -23px;
    left: 17%;
    width: 58px;
  }

  .meal__copy h2 {
    font-size: clamp(39px, 12vw, 52px);
    line-height: 1.08;
  }

  .meal__lead {
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.65;
  }

  .question-layer {
    padding: 15px;
  }

  .question-card {
    padding: 40px 24px 30px;
  }

  .question-card__close {
    top: 9px;
    right: 11px;
    width: 30px;
    height: 30px;
    font-size: 24px;
  }

  .question-card__kicker {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .question-card h2 {
    font-size: clamp(27px, 8.5vw, 36px);
    line-height: 1.4;
  }

  .question-card label {
    margin-top: 22px;
    font-size: 12px;
  }

  .question-card input {
    padding: 11px 12px;
    font-size: 16px;
  }

  .question-card__actions {
    flex-direction: column;
    gap: 7px;
    margin-top: 16px;
  }

  .question-card__submit,
  .question-card__cancel {
    width: 100%;
    min-height: 40px;
    padding-block: 8px;
    font-size: 12px;
  }

  .cinema__layout {
    gap: clamp(14px, 2.4vh, 23px);
    width: calc(100vw - 38px);
    padding: 58px 0 48px;
  }

  .cinema__photos {
    height: min(39svh, 325px);
    min-height: 220px;
  }

  .theater-photo {
    width: 67%;
    height: 87%;
    padding: 7px 7px 35px;
  }

  .theater-photo figcaption {
    right: 9px;
    bottom: 7px;
    left: 9px;
    font-size: 9px;
  }

  .ticket-photo {
    width: 39%;
    height: 63%;
    padding: 6px 6px 30px;
  }

  .ticket-photo figcaption {
    right: 7px;
    bottom: 7px;
    left: 7px;
    font-size: 8px;
  }

  .ticket-photo__tape {
    top: -9px;
    width: 65px;
    height: 21px;
  }

  .cinema__copy h2 {
    font-size: clamp(37px, 10.5vw, 48px);
    line-height: 1.15;
  }

  .cinema__lead {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.6;
  }

  .choice-option {
    min-height: 44px;
    margin-top: 6px;
    padding: 6px 11px;
  }

  .choice-letter {
    width: 27px;
    height: 27px;
  }

  .choice-text {
    font-size: 16px;
  }

  .christmas__layout {
    gap: clamp(14px, 2.4vh, 23px);
    width: calc(100vw - 38px);
    padding: 58px 0 48px;
  }

  .christmas__photos {
    height: min(39svh, 325px);
    min-height: 220px;
  }

  .christmas-tree-photo {
    width: 48%;
    height: 87%;
    padding: 7px 7px 34px;
  }

  .christmas-tree-photo figcaption {
    right: 8px;
    bottom: 7px;
    left: 8px;
    font-size: 9px;
  }

  .christmas-selfie-photo {
    width: 58%;
    height: 82%;
    padding: 6px 6px 29px;
  }

  .christmas-selfie-photo figcaption {
    right: 8px;
    bottom: 7px;
    left: 8px;
    font-size: 8px;
  }

  .mulled-wine-photo {
    width: 40%;
    height: 39%;
    padding: 6px 6px 27px;
  }

  .mulled-wine-photo figcaption {
    right: 7px;
    bottom: 6px;
    left: 7px;
    font-size: 8px;
  }

  .christmas__copy h2 {
    font-size: clamp(39px, 11vw, 52px);
    line-height: 1.1;
  }

  .christmas__lead {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.6;
  }

  .valentines__layout {
    gap: clamp(14px, 2.4vh, 23px);
    width: calc(100vw - 38px);
    padding: 58px 0 48px;
  }

  .valentines__photos {
    height: min(39svh, 325px);
    min-height: 220px;
  }

  .valentines-couple-photo {
    width: 54%;
    height: 76%;
    padding: 7px 7px 34px;
  }

  .valentines-couple-photo figcaption {
    right: 8px;
    bottom: 7px;
    left: 8px;
    font-size: 8px;
  }

  .valentines-couple-photo__tape {
    top: -9px;
    width: 72px;
    height: 22px;
  }

  .valentines-gifts-photo {
    width: 43%;
    height: 46%;
    padding: 6px 6px 29px;
  }

  .valentines-gifts-photo figcaption {
    right: 7px;
    bottom: 7px;
    left: 7px;
    font-size: 7px;
  }

  .valentines-hair-photo {
    width: 43%;
    height: 45%;
    padding: 6px 6px 28px;
  }

  .valentines-hair-photo figcaption {
    right: 7px;
    bottom: 6px;
    left: 7px;
    font-size: 8px;
  }

  .valentines-closeup-photo {
    width: 44%;
    height: 58%;
    padding: 6px 6px 25px;
  }

  .valentines-closeup-photo figcaption {
    right: 7px;
    bottom: 6px;
    left: 7px;
    font-size: 7px;
  }

  .valentines__copy h2 {
    font-size: clamp(39px, 11vw, 52px);
    line-height: 1.1;
  }

  .valentines__lead {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.6;
  }

  .doodle--valentine-heart {
    top: -5%;
    right: 17%;
    width: 64px;
  }

  .camping__layout {
    gap: clamp(14px, 2.4vh, 23px);
    width: calc(100vw - 38px);
    padding: 58px 0 48px;
  }

  .camping__photos {
    height: min(39svh, 325px);
    min-height: 220px;
  }

  .camping-riverside-photo {
    width: 72%;
    height: 78%;
    padding: 7px 7px 34px;
  }

  .camping-riverside-photo figcaption {
    right: 8px;
    bottom: 7px;
    left: 8px;
    font-size: 8px;
  }

  .camping-riverside-photo__tape {
    top: -9px;
    width: 70px;
    height: 22px;
  }

  .camping-picnic-photo {
    width: 46%;
    height: 82%;
    padding: 6px 6px 29px;
  }

  .camping-picnic-photo figcaption {
    right: 7px;
    bottom: 7px;
    left: 7px;
    font-size: 7px;
  }

  .camping__copy h2 {
    font-size: clamp(39px, 11vw, 52px);
    line-height: 1.1;
  }

  .camping__lead {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.6;
  }

  .scene__place {
    font-size: 9px;
  }

  .doodle--camping-sun {
    top: -4%;
    right: 18%;
    width: 58px;
  }
}

@media (max-height: 650px) and (max-width: 900px) {
  .opening__layout {
    gap: 14px;
    padding: 56px 0 42px;
  }

  .chat-keepsake {
    max-width: 500px;
    padding-bottom: 33px;
  }

  .chat-keepsake figcaption span {
    font-size: 13px;
  }

  .scene__kicker {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .opening__copy h2 {
    font-size: clamp(42px, 11.8vw, 54px);
  }

  .opening__lead {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.55;
  }

  .next-button {
    min-height: 39px;
    padding-block: 7px;
  }

  .scene-actions {
    margin-top: 11px;
  }

  .meal__layout {
    gap: 11px;
    padding: 53px 0 39px;
  }

  .meal__photos {
    height: 205px;
    min-height: 205px;
  }

  .meal__copy h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .meal__lead {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
  }

  .question-card {
    padding: 33px 22px 24px;
  }

  .question-card h2 {
    font-size: clamp(24px, 7.5vw, 31px);
  }

  .game-photo figcaption {
    display: none;
  }

  .cinema__layout {
    gap: 11px;
    padding: 53px 0 39px;
  }

  .cinema__photos {
    height: 205px;
    min-height: 205px;
  }

  .cinema__copy h2 {
    font-size: clamp(32px, 9.2vw, 39px);
  }

  .cinema__lead {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
  }

  .ticket-photo figcaption {
    display: none;
  }

  .question-card__choices {
    margin-top: 16px;
  }

  .choice-option {
    min-height: 39px;
    margin-top: 4px;
    padding-block: 4px;
  }

  .choice-text {
    font-size: 15px;
  }

  .christmas__layout {
    gap: 11px;
    padding: 53px 0 39px;
  }

  .christmas__photos {
    height: 205px;
    min-height: 205px;
  }

  .christmas__copy h2 {
    font-size: clamp(34px, 9.8vw, 40px);
  }

  .christmas__lead {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
  }

  .christmas-tree-photo figcaption,
  .mulled-wine-photo figcaption {
    display: none;
  }

  .valentines__layout {
    gap: 11px;
    padding: 53px 0 39px;
  }

  .valentines__photos {
    height: 205px;
    min-height: 205px;
  }

  .valentines__copy h2 {
    font-size: clamp(34px, 9.8vw, 40px);
  }

  .valentines__lead {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
  }

  .valentines-gifts-photo figcaption,
  .valentines-hair-photo figcaption,
  .valentines-closeup-photo figcaption {
    display: none;
  }

  .camping__layout {
    gap: 11px;
    padding: 53px 0 39px;
  }

  .camping__photos {
    height: 205px;
    min-height: 205px;
  }

  .camping-riverside-photo {
    height: 80%;
  }

  .camping-picnic-photo {
    height: 80%;
  }

  .camping__copy h2 {
    font-size: clamp(34px, 9.8vw, 40px);
  }

  .camping__lead {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
  }

  .camping-riverside-photo figcaption,
  .camping-picnic-photo figcaption {
    display: none;
  }
}

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