:root {
  color-scheme: dark;
  --night: #11141d;
  --night-soft: #1b1b27;
  --paper: #f2e9dc;
  --paper-ink: #30242a;
  --paper-muted: #76666b;
  --rose: #b94f68;
  --rose-dark: #84344a;
  --rose-light: #e8a1a5;
  --moon: #e4c59c;
  --line: rgba(58, 38, 45, 0.13);
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 18% 48%, rgba(79, 45, 63, 0.36), transparent 38rem),
    radial-gradient(ellipse at 83% 12%, rgba(74, 73, 104, 0.18), transparent 34rem),
    var(--night);
  color: #f4ede7;
  font-family: "Manrope", "Avenir Next", Avenir, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--moon);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  border-radius: 2px;
  background: var(--paper);
  color: var(--paper-ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.night-sky {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 23%, rgba(248, 226, 203, 0.8) 99%, transparent),
    radial-gradient(1px 1px at 82% 32%, rgba(248, 226, 203, 0.55) 99%, transparent),
    radial-gradient(1px 1px at 72% 82%, rgba(248, 226, 203, 0.5) 99%, transparent),
    radial-gradient(1px 1px at 39% 73%, rgba(248, 226, 203, 0.45) 99%, transparent);
  background-size: 271px 241px, 319px 287px, 367px 341px, 223px 293px;
  opacity: 0.7;
}

.sky-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #f4d8b0;
  box-shadow: 0 0 12px 3px rgba(228, 197, 156, 0.35);
  animation: starPulse 4.5s ease-in-out infinite alternate;
}

.sky-star--one { top: 18%; left: 8%; }
.sky-star--two { top: 76%; left: 14%; animation-delay: -2s; }
.sky-star--three { top: 22%; right: 12%; animation-delay: -1s; }
.sky-star--four { right: 7%; bottom: 20%; animation-delay: -3s; }

.sky-haze {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 48vw;
  height: 48vw;
  min-width: 420px;
  min-height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 111, 130, 0.09), transparent 68%);
}

.experience {
  width: min(100% - 72px, 1220px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 0 20px;
}

.topbar,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  min-height: 34px;
  margin-bottom: 34px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(245, 236, 229, 0.78);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  cursor: pointer;
}

.wordmark-seal {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(232, 161, 165, 0.5);
  border-radius: 50%;
  color: var(--rose-light);
  font-size: 11px;
  transition: transform 450ms var(--ease), background 450ms var(--ease);
}

.wordmark:hover .wordmark-seal {
  transform: rotate(-12deg) scale(1.12);
  background: rgba(185, 79, 104, 0.2);
}

.topbar-note,
.site-footer {
  color: rgba(237, 225, 219, 0.48);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.88fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.story-side {
  display: flex;
  min-height: 665px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0 8px;
}

.eyebrow,
.page-kicker,
.step-name,
.page-footnote,
.scene-caption,
.letter-kicker,
.letter-foot,
.panel-colophon,
.site-footer {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: rgba(237, 225, 219, 0.62);
}

.eyebrow span,
.scene-caption span {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--rose-light);
}

.story-heading h1,
.page h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
}

.story-heading h1 {
  max-width: 640px;
  margin: 0;
  color: #f3e8df;
  font-size: clamp(3.4rem, 6.4vw, 6.1rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.story-heading h1 em {
  color: #e5a1a5;
  font-weight: 400;
  white-space: nowrap;
}

.story-intro {
  max-width: 360px;
  margin: 21px 0 0;
  color: rgba(237, 225, 219, 0.62);
  font-size: 14px;
  line-height: 1.8;
}

.scene-visual {
  position: relative;
  display: grid;
  min-height: 300px;
  margin: 14px 0 0;
  place-items: center;
  perspective: 1000px;
}

.moon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(228, 197, 156, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(221, 175, 143, 0.14), rgba(185, 79, 104, 0.06) 48%, transparent 72%);
  box-shadow: 0 0 100px rgba(192, 113, 127, 0.08);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(228, 197, 156, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  pointer-events: none;
}

.orbit--outer {
  width: 410px;
  height: 170px;
}

.orbit--inner {
  width: 320px;
  height: 126px;
  transform: translate(-50%, -50%) rotate(31deg);
  border-color: rgba(232, 161, 165, 0.16);
}

.orbit span {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--moon);
  box-shadow: 0 0 13px rgba(228, 197, 156, 0.9);
}

.orbit--inner span {
  right: 7%;
  left: auto;
  width: 5px;
  height: 5px;
  background: var(--rose-light);
  box-shadow: 0 0 10px rgba(232, 161, 165, 0.9);
}

.constellation {
  position: absolute;
  z-index: 1;
  color: var(--moon);
  font-size: 14px;
  opacity: 0.75;
}

.constellation i {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 5px 4px;
  transform: rotate(-22deg);
  background: rgba(228, 197, 156, 0.45);
}

.constellation--one { top: 18%; right: 14%; }
.constellation--two { bottom: 23%; left: 12%; transform: rotate(-14deg); }

.mail-wrap {
  position: relative;
  z-index: 2;
  width: clamp(260px, 30vw, 350px);
  aspect-ratio: 1.47;
  transform-style: preserve-3d;
  animation: letterFloat 7s ease-in-out infinite;
}

.mail-tilt {
  position: absolute;
  inset: 0;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 420ms var(--ease);
}

.letter-shadow {
  position: absolute;
  z-index: 0;
  inset: 18% 8% -4%;
  transform: translateZ(-26px);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  filter: blur(20px);
}

.letter {
  position: absolute;
  z-index: 1;
  top: 2%;
  left: 10%;
  display: flex;
  width: 80%;
  height: 95%;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 18px;
  transform: translateY(15%) translateZ(-8px);
  border: 1px solid rgba(80, 52, 48, 0.18);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(114, 74, 68, 0.05) 50%, transparent 50.2%),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(120, 84, 76, 0.055) 25px 26px),
    #f1e4d3;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
  color: #60414a;
  transition: transform 950ms var(--ease);
  transform-style: preserve-3d;
}

.letter-rule {
  width: 100%;
  height: 1px;
  margin-bottom: 12px;
  background: rgba(132, 52, 74, 0.42);
}

.letter-kicker,
.letter-foot {
  color: #8c6b6b;
  font-size: 7px;
  letter-spacing: 0.17em;
}

.letter-flower {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 13px 0 1px;
  transform-style: preserve-3d;
  animation: flowerTurn 24s linear infinite;
}

.letter-flower span {
  position: absolute;
  top: 9px;
  left: 25px;
  width: 22px;
  height: 36px;
  transform-origin: 50% 88%;
  border: 1px solid rgba(112, 43, 61, 0.25);
  border-radius: 70% 70% 45% 45%;
  background: linear-gradient(145deg, #d98287, #9e3f56 75%);
  box-shadow: inset 2px 2px 5px rgba(255, 218, 202, 0.22);
}

.letter-flower span:nth-child(1) { transform: rotate(0deg) translateZ(4px); }
.letter-flower span:nth-child(2) { transform: rotate(72deg) translateZ(1px); }
.letter-flower span:nth-child(3) { transform: rotate(144deg) translateZ(-2px); }
.letter-flower span:nth-child(4) { transform: rotate(216deg) translateZ(1px); }
.letter-flower span:nth-child(5) { transform: rotate(288deg) translateZ(4px); }

.letter-flower i {
  position: absolute;
  top: 31px;
  left: 31px;
  display: grid;
  width: 11px;
  height: 11px;
  place-items: center;
  border-radius: 50%;
  background: #f0c28e;
  color: #844054;
  font-size: 7px;
  font-style: normal;
  box-shadow: 0 1px 4px rgba(69, 28, 40, 0.3);
}

.letter-script {
  margin: 4px 0 auto;
  color: #7b4755;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(14px, 1.6vw, 18px);
  font-style: italic;
}

.letter-foot {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  font-size: 6px;
}

.envelope {
  position: absolute;
  z-index: 3;
  inset: 21% 0 0;
  transform: translateZ(12px);
  transform-style: preserve-3d;
  filter: drop-shadow(0 18px 15px rgba(21, 10, 17, 0.35));
}

.envelope-back,
.envelope-left,
.envelope-right,
.envelope-front,
.envelope-flap {
  position: absolute;
  inset: 0;
}

.envelope-back {
  border: 1px solid rgba(242, 207, 183, 0.32);
  border-radius: 4px;
  background: linear-gradient(145deg, #a54b60, #743448);
}

.envelope-left,
.envelope-right {
  z-index: 2;
  background: linear-gradient(135deg, #c36c79, #9b4358);
}

.envelope-left {
  clip-path: polygon(0 0, 52% 56%, 0 100%);
}

.envelope-right {
  clip-path: polygon(100% 0, 48% 56%, 100% 100%);
}

.envelope-front {
  z-index: 3;
  clip-path: polygon(0 100%, 0 0, 50% 59%, 100% 0, 100% 100%);
  background: linear-gradient(155deg, #b45b70, #8b3a51 76%);
}

.envelope-flap {
  z-index: 4;
  transform-origin: 50% 0;
  clip-path: polygon(0 0, 100% 0, 50% 73%);
  background: linear-gradient(165deg, #d07b83, #aa5266);
  backface-visibility: hidden;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.wax-seal {
  position: absolute;
  z-index: 5;
  top: 40%;
  left: 50%;
  display: grid;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%) translateZ(8px);
  place-items: center;
  border: 1px solid rgba(255, 224, 184, 0.56);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 27%, #e6a184, #9e4053 72%);
  color: #f6d5bd;
  font-size: 15px;
  box-shadow: 0 3px 8px rgba(37, 14, 23, 0.28), inset 0 0 0 3px rgba(72, 29, 42, 0.15);
  transition: opacity 400ms ease, transform 700ms var(--ease);
}

.scene-visual.is-open .envelope-flap {
  transform: rotateX(180deg);
}

.scene-visual.is-open .letter {
  transform: translateY(-29%) translateZ(52px) rotateX(-3deg);
}

.scene-visual.is-open .wax-seal {
  transform: translate(-50%, -50%) translateZ(8px) scale(0.5) rotate(25deg);
  opacity: 0;
}

.scene-caption {
  position: absolute;
  right: 2%;
  bottom: 1%;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(237, 225, 219, 0.48);
  font-size: 7px;
}

.scene-caption span {
  width: 15px;
}

.side-footer {
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(237, 225, 219, 0.65);
}

.footer-star {
  color: var(--moon);
  font-size: 23px;
}

.side-footer p {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 16px;
  line-height: 1.35;
}

.side-footer p em {
  color: #e5a1a5;
  font-weight: 400;
}

.side-signature {
  margin-left: auto;
  color: rgba(237, 225, 219, 0.43);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.flow-panel {
  position: relative;
  min-height: 570px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(250, 231, 207, 0.54);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 44%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(90, 56, 55, 0.035) 31px 32px),
    var(--paper);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.26), 0 3px 0 rgba(255, 255, 255, 0.08);
  color: var(--paper-ink);
}

.flow-panel::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(118, 79, 76, 0.12);
  content: "";
  pointer-events: none;
}

.flow-top,
.step-copy,
.progress-dots,
.page-actions,
.answer-actions,
.calendar-header {
  display: flex;
  align-items: center;
}

.flow-top {
  position: relative;
  justify-content: space-between;
  margin-bottom: clamp(38px, 5vw, 60px);
}

.step-copy {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.step-count {
  color: var(--rose-dark);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 21px;
  letter-spacing: 0.02em;
}

.step-count i {
  color: #ad9792;
  font-size: 15px;
  font-style: normal;
}

.step-name {
  color: #8b7b76;
  font-size: 8px;
}

.progress-dots {
  gap: 6px;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background: rgba(132, 52, 74, 0.2);
  transition: width 450ms var(--ease), background 450ms var(--ease);
}

.dot.active {
  width: 24px;
  background: var(--rose);
}

.dot.done {
  background: rgba(132, 52, 74, 0.55);
}

.page {
  position: relative;
  display: none;
  animation: pageArrive 550ms var(--ease) both;
}

.page.active {
  display: block;
}

@keyframes pageArrive {
  from { opacity: 0; transform: translateY(11px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-kicker {
  margin: 0 0 13px;
  color: var(--rose-dark);
  font-size: 8px;
}

.page h2 {
  max-width: 450px;
  margin: 0;
  color: #32242b;
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.page-description {
  max-width: 390px;
  margin: 13px 0 0;
  color: var(--paper-muted);
  font-size: 13px;
  line-height: 1.75;
}

.answer-actions {
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.btn-primary,
.btn-quiet,
.btn-back {
  min-height: 48px;
  cursor: pointer;
  transition:
    color 280ms var(--ease),
    background 280ms var(--ease),
    transform 280ms var(--ease),
    box-shadow 280ms var(--ease);
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid var(--rose-dark);
  border-radius: 2px;
  background: var(--rose-dark);
  color: #fff7ed;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(132, 52, 74, 0.13);
}

.btn-primary::before {
  position: absolute;
  inset: 0;
  transform: translateX(-102%);
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.17), transparent);
  content: "";
  transition: transform 650ms var(--ease);
}

.btn-primary span,
.btn-primary i {
  position: relative;
}

.btn-primary i {
  font-size: 16px;
  font-style: normal;
  transition: transform 280ms var(--ease);
}

@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    background: #703044;
    box-shadow: 0 12px 25px rgba(132, 52, 74, 0.24);
  }

  .btn-primary:hover::before {
    transform: translateX(102%);
  }

  .btn-primary:hover i {
    transform: translate(3px, -2px);
  }
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  box-shadow: none;
}

.btn-quiet,
.btn-back {
  border: 0;
  background: transparent;
  color: #76666b;
  font-size: 11px;
  font-weight: 600;
}

.btn-quiet {
  padding: 0 8px;
  text-decoration: underline;
  text-decoration-color: rgba(118, 102, 107, 0.32);
  text-underline-offset: 4px;
}

.btn-quiet:hover,
.btn-quiet:focus-visible {
  color: var(--rose-dark);
  text-decoration-color: currentColor;
}

.no-message,
.inline-error {
  margin: 13px 0 0;
  color: #73354a;
  font-size: 11px;
  line-height: 1.6;
}

.page-footnote {
  margin: 34px 0 0;
  color: #927f79;
  font-size: 7px;
}

.page-footnote span {
  margin-right: 5px;
  color: var(--rose);
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 25px;
}

.food-item {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(87, 60, 59, 0.13);
  border-radius: 2px;
  background: rgba(255, 252, 246, 0.46);
  color: #58474b;
  cursor: pointer;
  transition: border-color 260ms var(--ease), background 260ms var(--ease), transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.food-item .emoji {
  font-size: 20px;
  line-height: 1;
}

.food-item .label {
  font-size: 10px;
  font-weight: 600;
}

@media (hover: hover) {
  .food-item:hover {
    transform: translateY(-2px);
    border-color: rgba(132, 52, 74, 0.42);
  }
}

.food-item.selected {
  transform: translateY(-2px);
  border-color: var(--rose-dark);
  background: rgba(185, 79, 104, 0.11);
  color: var(--rose-dark);
  box-shadow: inset 0 -2px var(--rose-dark);
}

.page-actions {
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.btn-back span,
.btn-back > span:first-child {
  transition: transform 260ms var(--ease);
}

.btn-back:hover,
.btn-back:focus-visible {
  color: var(--rose-dark);
}

.btn-back:hover > span:first-child {
  transform: translateX(-3px);
}

.calendar {
  margin-top: 24px;
}

.calendar-header {
  justify-content: space-between;
  margin-bottom: 12px;
}

.month-year {
  color: var(--paper-ink);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 17px;
}

.nav-btn {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 252, 246, 0.55);
  color: #69575b;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}

.nav-btn:hover {
  transform: translateY(-1px);
  border-color: var(--rose);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.day-label,
.day,
.calendar-spacer {
  display: grid;
  min-width: 0;
  aspect-ratio: 1;
  place-items: center;
}

.day-label {
  color: #8b7b76;
  font-size: 9px;
  font-weight: 700;
}

.day {
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #52454a;
  cursor: pointer;
  font-size: 11px;
  transition: background 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}

.day:not(:disabled):hover {
  transform: scale(1.08);
  border-color: rgba(132, 52, 74, 0.38);
}

.day.selected {
  border-color: var(--rose-dark);
  background: var(--rose-dark);
  color: #fff7ed;
}

.day:disabled {
  cursor: default;
  color: rgba(82, 69, 74, 0.28);
}

.time-section {
  margin-top: 18px;
}

.section-label {
  margin: 0 0 9px;
  color: #8b7b76;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.time-item {
  min-height: 35px;
  border: 1px solid rgba(87, 60, 59, 0.16);
  border-radius: 2px;
  background: rgba(255, 252, 246, 0.44);
  color: #625158;
  cursor: pointer;
  font-size: 9px;
  font-weight: 600;
  transition: border-color 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}

.time-item:hover {
  border-color: rgba(132, 52, 74, 0.5);
}

.time-item.selected {
  border-color: var(--rose-dark);
  background: var(--rose-dark);
  color: #fff7ed;
}

.email-disclosure {
  margin: 15px 0 0;
  color: #76666b;
  font-size: 10px;
  line-height: 1.6;
}

.email-status {
  margin: 10px 0 0;
  color: #84344a;
  font-size: 10px;
  line-height: 1.6;
}

.page-confirmation {
  text-align: center;
}

.page-confirmation .page-kicker {
  margin-bottom: 6px;
}

.page-confirmation h2,
.page-confirmation .page-description {
  margin-right: auto;
  margin-left: auto;
}

.confirmation-heart {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  place-items: center;
  border: 1px solid rgba(132, 52, 74, 0.25);
  border-radius: 50%;
  background: rgba(185, 79, 104, 0.08);
  color: var(--rose);
  font-size: 22px;
  animation: sealBloom 700ms var(--ease) both;
}

.confirmation-details {
  display: grid;
  gap: 8px;
  margin-top: 25px;
  text-align: left;
}

.confirmation-detail {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 13px;
  padding: 9px 13px;
  border: 1px solid rgba(87, 60, 59, 0.14);
  background: rgba(255, 252, 246, 0.44);
}

.detail-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(132, 52, 74, 0.2);
  border-radius: 50%;
  color: var(--rose-dark);
  font-size: 15px;
}

.confirmation-detail div {
  display: grid;
  gap: 3px;
}

.detail-label {
  color: #8b7b76;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.confirmation-detail strong {
  color: #403037;
  font-size: 11px;
  font-weight: 600;
}

.final-note {
  margin: 22px 0 0;
  color: #76666b;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 15px;
  font-style: italic;
}

.email-success {
  margin: 12px 0 0;
  color: var(--rose-dark);
  font-size: 10px;
  font-weight: 600;
}

.retry-email-button {
  justify-content: center;
  margin: 7px auto 0;
}

.whatsapp-button {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  text-decoration: none;
}

.reset-button {
  margin-top: 16px;
}

.reset-button:hover > span:first-child {
  transform: rotate(-28deg);
}

.panel-colophon {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: #8b7b76;
  font-size: 7px;
}

.panel-colophon span:last-child {
  color: var(--rose);
}

.site-footer {
  margin-top: 28px;
  padding-bottom: 12px;
  font-size: 8px;
}

.site-footer i {
  margin: 0 4px;
  color: var(--rose-light);
  font-style: normal;
}

.confetti-overlay {
  position: fixed;
  z-index: 10;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: -24px;
  width: 8px;
  height: 8px;
  opacity: 0;
  animation: confettiDrift linear forwards;
}

@keyframes letterFloat {
  0%, 100% { transform: translateY(0) rotateZ(-1deg); }
  50% { transform: translateY(-8px) rotateZ(1deg); }
}

@keyframes flowerTurn {
  to { transform: rotateY(360deg) rotateZ(360deg); }
}

@keyframes starPulse {
  from { opacity: 0.3; transform: scale(0.8); }
  to { opacity: 0.9; transform: scale(1.2); }
}

@keyframes confettiDrift {
  0% { opacity: 0; transform: translate3d(0, -4vh, 0) rotate(0); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--drift), 108vh, 0) rotate(550deg); }
}

@keyframes sealBloom {
  from { opacity: 0; transform: scale(0.65) rotate(-18deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (min-width: 1300px) {
  .story-heading h1 {
    font-size: 6.2rem;
  }
}

@media (max-width: 900px) {
  .experience {
    width: min(100% - 48px, 680px);
    padding-top: 25px;
  }

  .story-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .story-side {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    column-gap: 12px;
    padding: 6px 0 0;
  }

  .story-heading h1 {
    font-size: clamp(3rem, 8vw, 5rem);
  }

  .story-intro {
    max-width: 340px;
    font-size: 12px;
  }

  .scene-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 290px;
    margin: 0;
  }

  .mail-wrap {
    width: clamp(235px, 36vw, 310px);
  }

  .moon-glow {
    width: 220px;
    height: 220px;
  }

  .orbit--outer {
    width: 330px;
    height: 135px;
  }

  .orbit--inner {
    width: 260px;
    height: 105px;
  }

  .scene-caption {
    right: -2%;
    bottom: 0;
  }

  .side-footer {
    grid-column: 1 / -1;
    margin-top: 7px;
  }

  .flow-panel {
    min-height: 0;
  }

  .panel-colophon {
    margin-top: 28px;
  }
}

@media (max-width: 560px) {
  .experience {
    width: min(100% - 34px, 440px);
    padding-top: 20px;
  }

  .topbar {
    margin-bottom: 23px;
  }

  .wordmark {
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .wordmark-seal {
    width: 23px;
    height: 23px;
  }

  .topbar-note {
    max-width: 120px;
    font-size: 7px;
    letter-spacing: 0.1em;
    text-align: right;
  }

  .story-layout {
    gap: 18px;
  }

  .story-side {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 7px;
  }

  .story-heading h1 {
    font-size: clamp(3.15rem, 13vw, 4.4rem);
    line-height: 0.92;
  }

  .story-intro {
    max-width: 330px;
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.65;
  }

  .scene-visual {
    grid-column: 1;
    grid-row: auto;
    min-height: 245px;
    margin-top: 1px;
  }

  .mail-wrap {
    width: min(72vw, 290px);
  }

  .moon-glow {
    width: 190px;
    height: 190px;
  }

  .orbit--outer {
    width: 300px;
    height: 125px;
  }

  .orbit--inner {
    width: 235px;
    height: 95px;
  }

  .constellation--one {
    top: 6%;
    right: 14%;
  }

  .constellation--two {
    bottom: 13%;
  }

  .scene-caption {
    right: 0;
    bottom: 0;
    font-size: 6px;
  }

  .side-footer {
    margin-top: 0;
  }

  .side-footer p {
    font-size: 14px;
  }

  .side-signature {
    font-size: 11px;
  }

  .flow-panel {
    padding: 27px 22px 20px;
  }

  .flow-panel::before {
    inset: 7px;
  }

  .flow-top {
    margin-bottom: 34px;
  }

  .page h2 {
    font-size: clamp(2.35rem, 10vw, 3.1rem);
  }

  .page-description {
    font-size: 12px;
  }

  .answer-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: 25px;
  }

  .btn-primary {
    min-height: 47px;
  }

  .btn-quiet {
    min-height: 40px;
  }

  .page-footnote {
    margin-top: 25px;
    font-size: 6px;
  }

  .food-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 20px;
  }

  .food-item {
    min-height: 64px;
  }

  .food-item .emoji {
    font-size: 18px;
  }

  .food-item .label {
    font-size: 9px;
  }

  .time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-actions {
    margin-top: 20px;
  }

  .page-actions .btn-primary {
    gap: 12px;
    padding: 0 13px;
    font-size: 10px;
  }

  .whatsapp-button {
    gap: 12px;
    padding: 0 13px;
    font-size: 10px;
  }

  .calendar-grid {
    gap: 2px;
  }

  .day-label {
    font-size: 8px;
  }

  .day {
    font-size: 10px;
  }

  .site-footer {
    gap: 10px;
    margin-top: 19px;
    font-size: 6px;
    letter-spacing: 0.1em;
  }

  .site-footer span:last-child {
    text-align: right;
  }
}

@media (max-width: 359px) {
  .experience {
    width: calc(100% - 24px);
  }

  .story-heading h1 {
    font-size: 2.95rem;
  }

  .scene-visual {
    min-height: 220px;
  }

  .orbit--outer {
    width: 270px;
    height: 112px;
  }

  .orbit--inner {
    width: 210px;
    height: 84px;
  }

  .flow-panel {
    padding: 24px 17px 18px;
  }

  .food-item {
    min-height: 59px;
  }

  .panel-colophon {
    font-size: 6px;
  }
}

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

  .mail-tilt {
    transform: none !important;
  }
}
