:root {
  --red: #f20d46;
  --deep-red: #a9002e;
  --pink: #ff78a3;
  --hot-pink: #ff2e78;
  --blush: #ffd7e2;
  --cream: #fff5e9;
  --ink: #310016;
  --white: #fffaf6;
  --lime: #d9ff54;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Tahoma, "Noto Sans Thai", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

html[lang="th"] h1 {
  line-height: 0.9;
}

html[lang="th"] .big-line,
html[lang="th"] .outline-line {
  letter-spacing: -0.035em;
}

html[lang="th"] .section-heading h2,
html[lang="th"] .meter-copy h2,
html[lang="th"] .question-inner h2 {
  line-height: 0.96;
  letter-spacing: -0.035em;
}

html[lang="th"] .script-line,
html[lang="th"] .hero-subtitle,
html[lang="th"] .reason-card p,
html[lang="th"] .meter-copy > p:not(.eyebrow),
html[lang="th"] .meter-result,
html[lang="th"] .letter-preview,
html[lang="th"] .no-button,
html[lang="th"] .modal-card p {
  font-family: Tahoma, "Noto Sans Thai", Arial, sans-serif;
}

html[lang="th"] .eyebrow,
html[lang="th"] .mini-love,
html[lang="th"] .orbit span,
html[lang="th"] .sticker,
html[lang="th"] .section-heading > p,
html[lang="th"] .tape,
html[lang="th"] .question-kicker,
html[lang="th"] .tiny-print,
html[lang="th"] footer p,
html[lang="th"] footer span {
  letter-spacing: 0.02em;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--white);
  background: var(--red);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.09;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.36'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.floating-hearts {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}

.floating-heart {
  position: absolute;
  bottom: -80px;
  color: var(--heart-color, var(--pink));
  font-size: var(--heart-size, 24px);
  filter: drop-shadow(0 5px 0 rgba(115, 0, 39, 0.12));
  animation: float-up var(--heart-speed, 9s) linear forwards;
}

@keyframes float-up {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(0.6); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translate3d(var(--drift, 20px), -55vh, 0) rotate(18deg) scale(1); }
  100% { transform: translate3d(calc(var(--drift, 20px) * -0.5), -115vh, 0) rotate(-22deg) scale(0.8); opacity: 0; }
}

.burst-heart {
  position: fixed;
  z-index: 300;
  left: var(--x);
  top: var(--y);
  color: var(--burst-color, var(--red));
  font-size: var(--burst-size, 20px);
  pointer-events: none;
  animation: burst 850ms cubic-bezier(.15, .7, .3, 1) forwards;
}

@keyframes burst {
  from { transform: translate(-50%, -50%) scale(0.3); opacity: 1; }
  to { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--rotation)) scale(1.3); opacity: 0; }
}

.love-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 32px;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
  border-bottom: 2px solid var(--cream);
  font-size: 11px;
  font-weight: 900;
  line-height: 30px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 20s linear infinite;
}

.ticker-track span {
  min-width: max-content;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.site-header {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 4vw, 64px);
}

.logo {
  display: flex;
  align-items: center;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.1em;
  text-decoration: none;
}

.logo i {
  margin: 0 7px;
  color: var(--lime);
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  letter-spacing: 0;
}

.mini-love {
  padding-bottom: 5px;
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 245, 233, 0.6);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  min-height: 100svh;
  padding: 120px clamp(22px, 5vw, 80px) 64px;
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 48%, rgba(255, 186, 205, 0.23) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--red), #da003a 68%, #bd0034);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "♥";
  position: absolute;
  z-index: -1;
  right: -5vw;
  top: -25vh;
  color: rgba(255, 255, 255, 0.05);
  font-size: min(82vw, 1050px);
  line-height: 1;
  transform: rotate(-8deg);
}

.hero::after {
  content: "YAEM • YAEM • YAEM • YAEM • YAEM •";
  position: absolute;
  left: -20px;
  bottom: 3px;
  color: rgba(255, 245, 233, 0.2);
  font-size: clamp(18px, 2.2vw, 34px);
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hero-copy {
  position: relative;
  z-index: 5;
  align-self: center;
  padding-top: 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  padding: 6px 9px;
  color: var(--red);
  background: var(--lime);
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}

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

h1 {
  margin-bottom: 28px;
  line-height: 0.77;
}

.script-line {
  display: block;
  margin: 0 0 -0.05em 0.1em;
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 7.8vw, 126px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.08em;
  transform: rotate(-5deg);
  transform-origin: left bottom;
}

.big-line,
.outline-line {
  display: block;
  font-size: clamp(64px, 10.2vw, 164px);
  font-weight: 950;
  letter-spacing: -0.095em;
  white-space: nowrap;
}

.outline-line {
  color: transparent;
  -webkit-text-stroke: 2px var(--cream);
  text-shadow: 5px 5px 0 rgba(49, 0, 22, 0.18);
}

.hero-subtitle {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 245, 233, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.4vw, 19px);
  font-style: italic;
  line-height: 1.55;
}

.heart-button,
.test-button,
.yes-button,
.modal-kiss {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.heart-button {
  min-width: 225px;
  padding: 12px 12px 12px 23px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--ink);
}

.heart-button b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--cream);
  background: var(--red);
  border-radius: 50%;
  font-size: 17px;
}

.heart-button:hover,
.test-button:hover,
.yes-button:hover,
.modal-kiss:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: 9px 9px 0 var(--ink);
}

.hero-art {
  position: relative;
  z-index: 3;
  align-self: center;
  min-height: 610px;
}

.giant-heart {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(320px, 34vw, 540px);
  aspect-ratio: 1;
  color: var(--red);
  background: var(--blush);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M256 470C235 444 48 305 48 163C48 67 166 33 256 131C346 33 464 67 464 163C464 305 277 444 256 470Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M256 470C235 444 48 305 48 163C48 67 166 33 256 131C346 33 464 67 464 163C464 305 277 444 256 470Z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(20px 25px 0 rgba(83, 0, 29, 0.3));
  transform: translate(-50%, -50%) rotate(5deg);
  animation: heartbeat 2.8s ease-in-out infinite;
}

@supports not (mask: url("")) {
  .giant-heart {
    border-radius: 48% 48% 46% 46%;
  }
}

.giant-heart::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 2px dashed rgba(242, 13, 70, 0.35);
  border-radius: 50%;
}

.giant-heart span {
  position: relative;
  z-index: 2;
  margin-top: -15px;
  font-size: clamp(58px, 7vw, 105px);
  font-weight: 950;
  letter-spacing: -0.09em;
  line-height: 0.9;
}

.giant-heart small {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.35em;
}

.heart-shine {
  position: absolute;
  top: 20%;
  left: 25%;
  width: 23%;
  height: 10%;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: rotate(-28deg);
}

@keyframes heartbeat {
  0%, 100% { transform: translate(-50%, -50%) rotate(5deg) scale(1); }
  8% { transform: translate(-50%, -50%) rotate(5deg) scale(1.035); }
  16% { transform: translate(-50%, -50%) rotate(5deg) scale(1); }
  24% { transform: translate(-50%, -50%) rotate(5deg) scale(1.025); }
  36% { transform: translate(-50%, -50%) rotate(5deg) scale(1); }
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(42vw, 630px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 245, 233, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-spin 18s linear infinite;
}

.orbit span,
.orbit i {
  position: absolute;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.orbit span { top: 12%; left: 7%; }
.orbit i { right: 5%; bottom: 18%; color: var(--cream); background: var(--ink); }
.orbit-two { width: min(49vw, 720px); animation-direction: reverse; animation-duration: 24s; }
.orbit-two span { top: auto; bottom: 4%; left: 25%; background: var(--blush); }
.orbit-two i { top: 20%; right: 2%; bottom: auto; }

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.sticker {
  position: absolute;
  z-index: 8;
  display: grid;
  width: 92px;
  aspect-ratio: 1;
  place-items: center;
  padding: 15px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
}

.sticker-one { left: 5%; top: 18%; transform: rotate(-13deg); }
.sticker-two { right: 0; bottom: 16%; color: var(--cream); background: var(--hot-pink); transform: rotate(11deg); }

.spark {
  position: absolute;
  color: var(--cream);
  font-family: Georgia, serif;
  font-size: 44px;
  animation: sparkle 1.8s ease-in-out infinite alternate;
}

.spark-one { top: 15%; right: 13%; }
.spark-two { bottom: 12%; left: 14%; color: var(--lime); font-size: 29px; animation-delay: -0.7s; }
.spark-three { top: 56%; left: 2%; font-size: 21px; animation-delay: -1.2s; }

@keyframes sparkle {
  to { transform: rotate(45deg) scale(0.6); opacity: 0.4; }
}

.scroll-note {
  position: absolute;
  z-index: 7;
  right: 24px;
  bottom: 75px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right bottom;
}

.scroll-note i {
  color: var(--lime);
  font-size: 18px;
  font-style: normal;
}

.declaration {
  position: relative;
  padding: clamp(90px, 12vw, 170px) clamp(22px, 5vw, 80px);
  background:
    linear-gradient(rgba(242, 13, 70, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 13, 70, 0.055) 1px, transparent 1px),
    var(--cream);
  background-size: 38px 38px;
}

.section-heading {
  margin-bottom: 65px;
}

.section-heading > p {
  margin-bottom: 17px;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.meter-copy h2,
.question-inner h2 {
  margin-bottom: 0;
  font-size: clamp(53px, 7.5vw, 108px);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-transform: uppercase;
}

.section-heading h2 em,
.meter-copy h2 em,
.question-inner h2 em {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 30px);
}

.reason-card {
  position: relative;
  min-height: 390px;
  padding: clamp(28px, 3vw, 46px);
  background: var(--blush);
  border: 2px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.reason-card:nth-child(1) { transform: rotate(-1.5deg); }
.reason-card:nth-child(2) { transform: translateY(25px) rotate(1deg); }
.reason-card:nth-child(3) { transform: rotate(-0.8deg); }

.reason-card:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 15px 16px 0 var(--ink);
}

.reason-card.hot-card {
  color: var(--cream);
  background: var(--red);
}

.card-number {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 11px;
  font-weight: 900;
}

.card-icon {
  display: grid;
  width: 83px;
  height: 83px;
  margin-bottom: 60px;
  place-items: center;
  color: var(--cream);
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 5px 5px 0 var(--ink);
  font-family: Georgia, serif;
  font-size: 42px;
}

.hot-card .card-icon {
  color: var(--red);
  background: var(--lime);
}

.reason-card h3 {
  margin-bottom: 13px;
  font-size: clamp(29px, 2.8vw, 44px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.reason-card p {
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.5;
}

.tape {
  position: absolute;
  left: 50%;
  bottom: -12px;
  min-width: 150px;
  padding: 7px 13px;
  color: var(--ink);
  background: rgba(217, 255, 84, 0.9);
  border: 1px solid rgba(49, 0, 22, 0.4);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%) rotate(-2deg);
}

.love-meter-section {
  padding: 0 clamp(22px, 5vw, 80px) clamp(90px, 12vw, 170px);
  background: var(--cream);
}

.meter-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 610px;
  color: var(--cream);
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--pink);
  overflow: hidden;
}

.meter-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(36px, 6vw, 90px);
}

.meter-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(48px, 6vw, 88px);
}

.meter-copy h2 em {
  color: var(--pink);
}

.meter-copy > p:not(.eyebrow) {
  max-width: 480px;
  color: rgba(255, 245, 233, 0.68);
  font-family: Georgia, serif;
  line-height: 1.6;
}

.test-button {
  margin-top: 15px;
  padding: 18px 25px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 6px 6px 0 var(--pink);
}

.meter-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background:
    radial-gradient(circle, var(--pink) 1.5px, transparent 1.5px),
    var(--red);
  background-size: 19px 19px;
  border-left: 2px solid var(--cream);
}

.meter-heart {
  position: relative;
  display: grid;
  width: min(350px, 75vw);
  aspect-ratio: 1;
  place-items: center;
  background: rgba(49, 0, 22, 0.28);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 350 350'%3E%3Cpath fill='black' d='M175 321C160 304 33 209 33 111C33 45 113 22 175 90C237 22 317 45 317 111C317 209 190 304 175 321Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 350 350'%3E%3Cpath fill='black' d='M175 321C160 304 33 209 33 111C33 45 113 22 175 90C237 22 317 45 317 111C317 209 190 304 175 321Z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(12px 14px 0 rgba(49, 0, 22, 0.7));
}

.meter-fill {
  position: absolute;
  inset: auto 0 0;
  height: var(--meter, 0%);
  background: var(--blush);
  transition: height 1.5s cubic-bezier(.16, 1, .3, 1);
}

.meter-value {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 950;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px var(--cream);
}

.meter-result {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--cream);
  font-family: Georgia, serif;
  font-style: italic;
  text-align: center;
}

.letter-section {
  position: relative;
  padding: clamp(90px, 12vw, 165px) clamp(22px, 5vw, 80px) clamp(130px, 17vw, 235px);
  background: var(--blush);
  border-top: 2px solid var(--ink);
  overflow: hidden;
}

.letter-section::before,
.letter-section::after {
  position: absolute;
  color: rgba(242, 13, 70, 0.1);
  font-size: min(38vw, 550px);
  line-height: 1;
}

.letter-section::before { content: "♥"; left: -8vw; bottom: -15vw; transform: rotate(12deg); }
.letter-section::after { content: "♡"; right: -8vw; top: -9vw; transform: rotate(-12deg); }

.centered {
  position: relative;
  z-index: 2;
  text-align: center;
}

.envelope-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 390px;
}

.envelope {
  position: relative;
  display: block;
  width: min(590px, 89vw);
  height: min(360px, 57vw);
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  perspective: 1200px;
}

.envelope-back,
.envelope-front {
  position: absolute;
  inset: 0;
  border: 2px solid var(--ink);
  filter: drop-shadow(12px 14px 0 var(--ink));
}

.envelope-back {
  background: #ff95b6;
}

.envelope-front {
  z-index: 4;
  background: var(--red);
  clip-path: polygon(0 23%, 50% 62%, 100% 23%, 100% 100%, 0 100%);
}

.envelope-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(130, 0, 40, 0.13);
  clip-path: polygon(0 22%, 50% 62%, 0 100%);
}

.envelope-flap {
  position: absolute;
  z-index: 6;
  inset: 0;
  background: var(--hot-pink);
  border: 2px solid var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 64%);
  transform-origin: top;
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1), z-index 100ms 300ms;
}

.envelope-seal {
  position: absolute;
  z-index: 7;
  top: 49%;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--cream);
  background: var(--ink);
  border: 3px double var(--pink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 31px;
  font-style: italic;
  transform: translate(-50%, -50%) rotate(-8deg);
  transition: opacity 200ms ease, transform 300ms ease;
}

.letter-preview {
  position: absolute;
  z-index: 3;
  left: 7%;
  right: 7%;
  bottom: 5%;
  display: flex;
  flex-direction: column;
  min-height: 86%;
  padding: 36px clamp(25px, 6vw, 65px);
  color: var(--ink);
  background:
    repeating-linear-gradient(transparent 0 31px, rgba(242, 13, 70, 0.13) 32px),
    var(--white);
  border: 2px solid var(--ink);
  text-align: left;
  transform: translateY(5%);
  transition: transform 750ms 180ms cubic-bezier(.16, 1, .3, 1);
}

.letter-preview small {
  margin-bottom: 25px;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.letter-preview strong {
  margin-bottom: 19px;
  font-family: Georgia, serif;
  font-size: clamp(22px, 3vw, 35px);
  font-style: italic;
  line-height: 1.05;
}

.letter-preview > span {
  font-family: Georgia, serif;
  font-size: clamp(12px, 1.5vw, 16px);
  line-height: 1.55;
}

.letter-preview b {
  margin-top: auto;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

.envelope.open .envelope-flap {
  z-index: 1;
  transform: rotateX(180deg);
}

.envelope.open .letter-preview {
  z-index: 5;
  transform: translateY(-49%);
}

.envelope.open .envelope-seal {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(15deg) scale(0.2);
}

.envelope-hint {
  margin: 20px 0 0;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.big-question {
  position: relative;
  min-height: 84vh;
  display: grid;
  place-items: center;
  padding: 120px 22px;
  color: var(--cream);
  background:
    radial-gradient(circle at center, rgba(255, 120, 163, 0.25), transparent 44%),
    var(--red);
  border-top: 2px solid var(--ink);
  overflow: hidden;
}

.big-question::before,
.big-question::after {
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 245, 233, 0.22);
  font-family: Georgia, serif;
  font-size: min(48vw, 700px);
  line-height: 1;
}

.big-question::before { content: "♥"; left: -13vw; top: -18vw; }
.big-question::after { content: "♥"; right: -11vw; bottom: -24vw; transform: rotate(30deg); }

.question-inner {
  position: relative;
  z-index: 2;
  width: min(1050px, 100%);
  text-align: center;
}

.question-kicker {
  display: inline-block;
  margin-bottom: 30px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.question-inner h2 {
  font-size: clamp(53px, 8.5vw, 128px);
}

.question-inner h2 em {
  color: var(--lime);
}

.answer-zone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 135px;
  margin-top: 38px;
}

.yes-button {
  padding: 20px 30px;
  color: var(--red);
  background: var(--cream);
  box-shadow: 7px 7px 0 var(--ink);
}

.no-button {
  padding: 12px 18px;
  color: rgba(255, 245, 233, 0.72);
  background: transparent;
  border: 1px solid rgba(255, 245, 233, 0.5);
  border-radius: 999px;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 12px;
  transition: transform 140ms ease;
}

.tiny-print {
  margin: 0;
  color: rgba(255, 245, 233, 0.55);
  font-size: 9px;
  letter-spacing: 0.06em;
}

footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 170px;
  padding: 50px clamp(22px, 5vw, 80px);
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
}

footer p,
footer span {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer strong { color: var(--pink); }

.footer-heart {
  position: absolute;
  left: 50%;
  top: 48%;
  color: var(--red);
  font-size: 160px;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.love-modal[hidden] {
  display: none;
}

.love-modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(49, 0, 22, 0.78);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  padding: 55px clamp(28px, 6vw, 70px);
  color: var(--ink);
  background: var(--blush);
  border: 3px solid var(--ink);
  box-shadow: 14px 14px 0 var(--red);
  text-align: center;
  animation: modal-pop 450ms cubic-bezier(.16, 1, .3, 1);
}

@keyframes modal-pop {
  from { transform: scale(0.5) rotate(-8deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 34px;
  height: 34px;
  color: var(--cream);
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
}

.modal-emoji { display: block; margin-bottom: 10px; font-size: 64px; }
.modal-card h2 { margin-bottom: 15px; color: var(--red); font-size: clamp(37px, 7vw, 65px); letter-spacing: -0.07em; }
.modal-card p { font-family: Georgia, serif; line-height: 1.55; }
.modal-kiss { margin-top: 15px; padding: 15px 22px; color: var(--cream); background: var(--red); box-shadow: 5px 5px 0 var(--ink); }

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 100px;
  }

  .hero-copy { padding-top: 45px; }
  .hero-art { min-height: 590px; margin-top: -15px; }
  .orbit { width: min(82vw, 620px); }
  .orbit-two { width: min(92vw, 700px); }
  .reasons-grid { grid-template-columns: 1fr; gap: 28px; }
  .reason-card { min-height: 330px; }
  .reason-card:nth-child(2) { transform: rotate(1deg); }
  .card-icon { margin-bottom: 35px; }
  .meter-card { grid-template-columns: 1fr; }
  .meter-visual { border-top: 2px solid var(--cream); border-left: 0; }
}

@media (max-width: 640px) {
  .love-ticker { height: 28px; line-height: 26px; }
  .site-header { top: 28px; padding-top: 17px; }
  .mini-love { font-size: 9px; }
  .hero { padding-top: 105px; }
  .hero-copy { padding-top: 25px; }
  .script-line { margin-left: 0.02em; }
  .big-line, .outline-line { font-size: clamp(56px, 20vw, 91px); }
  .hero-subtitle br { display: none; }
  .hero-art { min-height: 460px; }
  .giant-heart { width: 330px; }
  .orbit { width: 420px; }
  .orbit-two { width: 480px; }
  .sticker { width: 72px; padding: 10px; font-size: 11px; }
  .sticker-one { left: 0; top: 14%; }
  .sticker-two { right: 0; bottom: 11%; }
  .scroll-note { display: none; }
  .section-heading { margin-bottom: 45px; }
  .section-heading h2, .meter-copy h2, .question-inner h2 { line-height: 0.88; }
  .reason-card { padding: 30px; }
  .meter-copy { padding: 55px 28px; }
  .meter-visual { padding: 40px 15px; }
  .letter-section { padding-bottom: 160px; }
  .envelope-wrap { min-height: 315px; }
  .letter-preview { padding: 20px; }
  .letter-preview small { margin-bottom: 12px; }
  .letter-preview strong { margin-bottom: 10px; }
  .letter-preview > span { font-size: 11px; line-height: 1.35; }
  .letter-preview b { font-size: 14px; }
  .answer-zone { flex-direction: column; }
  .no-button { position: absolute; right: 5px; bottom: 2px; }
  footer { flex-direction: column; justify-content: center; text-align: center; }
}

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

