:root {
  color-scheme: dark;
  --ink: #fff5f3;
  --muted: #c7b0c3;
  --quiet: #8e788d;
  --pink: #f4a9c9;
  --rose: #e678a9;
  --rose-deep: #a84778;
  --plum: #251329;
  --wine: #170d1b;
  --night: #100913;
  --gold: #f0d39a;
  --line: rgba(245, 192, 214, .17);
  --serif: 'Bodoni 72', 'Didot', 'Times New Roman', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --script: 'Snell Roundhand', 'Apple Chancery', 'Brush Script MT', cursive;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  background: var(--night);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 81% 15%, rgba(101, 42, 79, .24), transparent 30rem),
    radial-gradient(ellipse at 4% 54%, rgba(62, 31, 65, .25), transparent 35rem),
    linear-gradient(160deg, #100913 0%, #160c1a 45%, #100913 100%);
  font-family: var(--sans);
  overflow-x: hidden;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { color: #170d1b; background: #f8c2d9; }

.page-glow, .grain, #petal-canvas { position: fixed; inset: 0; pointer-events: none; }
.page-glow { z-index: 0; opacity: .54; background: radial-gradient(circle at var(--pointer-x, 65%) var(--pointer-y, 35%), rgba(243, 149, 190, .12), transparent 29rem); transition: background-position .25s; }
#petal-canvas { z-index: 2; width: 100%; height: 100%; opacity: .73; }
.grain { z-index: 8; opacity: .08; 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='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1440px, 100%);
  padding: 27px clamp(22px, 5.6vw, 82px);
  margin-inline: auto;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .21em; white-space: nowrap; }
.wordmark-flower { color: var(--pink); font-size: 19px; line-height: 1; animation: turn 14s linear infinite; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 42px); margin-left: auto; }
.main-nav a { position: relative; color: #c7b2c5; font-size: 10px; letter-spacing: .09em; transition: color .25s ease; }
.main-nav a::after { position: absolute; content: ''; left: 0; bottom: -8px; width: 0; height: 1px; background: var(--pink); transition: width .35s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }
.sound-chip { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(245, 192, 214, .25); border-radius: 99px; background: rgba(33, 18, 37, .5); color: #f3dbe7; padding: 10px 13px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: border-color .3s ease, background .3s ease, transform .3s ease; }
.sound-chip:hover { transform: translateY(-2px); border-color: rgba(245, 192, 214, .7); background: rgba(60, 29, 56, .75); }
.sound-icon { color: var(--pink); font-size: 15px; }
.sound-bars { display: flex; align-items: center; gap: 2px; height: 12px; }
.sound-bars i, .dock-equalizer i { display: block; width: 2px; height: 4px; border-radius: 4px; background: var(--pink); transform-origin: center; }
.music-playing .sound-bars i, .music-playing .dock-equalizer i { animation: equalize .7s ease-in-out infinite alternate; }
.music-playing .sound-bars i:nth-child(2), .music-playing .dock-equalizer i:nth-child(2) { animation-delay: -.28s; }
.music-playing .sound-bars i:nth-child(3), .music-playing .dock-equalizer i:nth-child(3) { animation-delay: -.46s; }
.music-playing .sound-bars i:nth-child(4), .music-playing .dock-equalizer i:nth-child(4) { animation-delay: -.15s; }
.music-playing .dock-equalizer i:nth-child(5) { animation-delay: -.34s; }

.section-shell { position: relative; z-index: 1; width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.hero { min-height: 850px; height: min(100svh, 1040px); display: grid; grid-template-columns: 1fr .98fr; align-items: center; padding-top: 88px; padding-bottom: 94px; }
.hero-copy { position: relative; z-index: 3; padding: 24px 0 0 3.4%; }
.eyebrow, .section-kicker, .voice-overline, .tiny-label, .card-overline, .site-footer { color: var(--quiet); text-transform: uppercase; letter-spacing: .21em; font-size: 9px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; color: #dbc6d4; }
.eyebrow-line { width: 28px; height: 1px; background: var(--rose); }
.eyebrow-dot { color: var(--gold); font-size: 13px; }
.hero h1, h2 { font: 400 clamp(45px, 6.3vw, 88px)/.99 var(--serif); letter-spacing: -.055em; margin: 0; }
.hero h1 em, h2 em { color: var(--pink); font-weight: 400; }
.hero-name { position: relative; width: max-content; color: #fff0f7; margin: 22px 0 20px 4px; font: 400 clamp(38px, 5.7vw, 74px)/.9 var(--script); transform: rotate(-5deg); text-shadow: 0 5px 32px rgba(235, 121, 174, .17); }
.hero-name-star { display: inline-block; margin-left: 12px; color: var(--gold); font: 15px var(--sans); vertical-align: top; animation: turn 13s linear infinite; }
.hero-note { max-width: 385px; color: #bdacbc; font: 13px/1.8 var(--sans); letter-spacing: .015em; margin: 33px 0 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 52px; padding: 0 21px; border: 1px solid transparent; border-radius: 3px; font-size: 9px; letter-spacing: .17em; text-transform: uppercase; cursor: pointer; transition: transform .34s cubic-bezier(.2,.8,.2,1), box-shadow .34s ease, border-color .34s ease, background .34s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #27121f; background: linear-gradient(115deg, #f9c4d9, #ed9cbd 70%, #f4bed5); box-shadow: 0 10px 30px rgba(221, 107, 155, .16), inset 0 1px rgba(255,255,255,.6); }
.button-primary:hover { box-shadow: 0 15px 38px rgba(221, 107, 155, .28), inset 0 1px rgba(255,255,255,.8); }
.button-arrow { font-size: 16px; transition: transform .3s ease; }
.button:hover .button-arrow { transform: translate(3px, -3px); }
.hero-whisper { color: #856c83; margin: 24px 0 0 2px; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.whisper-heart { color: var(--rose); padding-right: 8px; }

.hero-art { position: relative; min-height: 650px; display: grid; place-items: center; perspective: 1200px; }
.hero-orbit { position: absolute; left: 50%; top: 52%; border: 1px solid rgba(245, 186, 209, .14); border-radius: 50%; transform: translate(-50%, -50%) rotate(-19deg); }
.orbit-one { width: min(45vw, 530px); aspect-ratio: 1; }
.orbit-two { width: min(52vw, 620px); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(32deg) scaleY(.58); border-color: rgba(245, 186, 209, .1); }
.hero-orbit::before { content: ''; position: absolute; left: 12%; top: 10%; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px rgba(239, 209, 154, .75); }
.portrait-halo { position: absolute; width: min(30vw, 370px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(234, 118, 167, .26), rgba(120, 61, 112, .12) 48%, transparent 71%); filter: blur(4px); animation: halo-breathe 7s ease-in-out infinite; }
.hero-photo-frame { position: relative; z-index: 2; width: min(29vw, 340px); height: min(42vw, 460px); min-width: 245px; min-height: 330px; padding: 10px; border: 1px solid rgba(250, 220, 234, .65); background: linear-gradient(140deg, rgba(255,245,249,.2), rgba(255,255,255,.04) 30%, rgba(142,77,117,.28)); box-shadow: 0 26px 85px rgba(0,0,0,.44), 0 0 65px rgba(223,111,166,.12); transform: rotate(2.8deg) translate(var(--hero-x, 0), var(--hero-y, 0)); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.hero-photo-frame::before { position: absolute; z-index: 2; content: ''; inset: 5px; border: 1px solid rgba(255,255,255,.11); pointer-events: none; }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(.82) contrast(1.04); }
.photo-stamp { position: absolute; z-index: 3; right: -38px; bottom: 28px; display: grid; place-items: center; width: 94px; height: 94px; padding: 12px; border: 1px solid rgba(243, 190, 215, .68); border-radius: 50%; color: #ffebf4; background: rgba(42, 20, 44, .75); box-shadow: 0 10px 26px rgba(0,0,0,.24); font: italic 14px/1.05 var(--serif); text-align: center; transform: rotate(11deg); }
.floating-note { position: absolute; z-index: 4; padding: 12px 15px; border: 1px solid rgba(245,192,214,.19); border-radius: 2px; color: #e6d2df; background: rgba(28, 15, 31, .81); box-shadow: 0 14px 35px rgba(0,0,0,.2); font: 10px var(--sans); letter-spacing: .04em; backdrop-filter: blur(12px); animation: float 6s ease-in-out infinite; }
.floating-note span { color: var(--pink); padding-right: 5px; }
.note-one { top: 20%; right: 7%; transform: rotate(4deg); }
.note-two { left: 8%; bottom: 20%; transform: rotate(-5deg); animation-delay: -2s; }
.blossom-branch { position: absolute; z-index: 3; right: -5%; bottom: 2%; width: min(39vw, 470px); filter: drop-shadow(0 6px 18px rgba(246, 157, 194, .16)); opacity: .9; transform: rotate(-2deg); animation: branch-sway 9s ease-in-out infinite alternate; transform-origin: 100% 100%; }
.branch-flower { transform-box: fill-box; transform-origin: center; animation: flower-breathe 4.2s ease-in-out infinite alternate; }
.branch-flower:nth-of-type(2n) { animation-delay: -1.4s; }
.hero-sparkle { position: absolute; z-index: 3; color: var(--gold); text-shadow: 0 0 15px rgba(241,207,147,.8); animation: sparkle 2.8s ease-in-out infinite; }
.sparkle-a { left: 17%; top: 18%; font-size: 18px; }
.sparkle-b { right: 10%; top: 39%; color: #f2b7d1; animation-delay: -1s; }
.sparkle-c { left: 13%; bottom: 32%; font-size: 11px; animation-delay: -1.9s; }
.hero-bottomline { position: absolute; bottom: 34px; left: 50%; display: flex; align-items: center; gap: 15px; color: #8c7488; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); }
.scroll-stem { display: block; width: 54px; height: 1px; background: linear-gradient(90deg, transparent, var(--rose), transparent); }

.section-kicker { display: flex; align-items: center; gap: 9px; color: #a991a5; }
.section-kicker span { color: var(--rose); }
.opening-note { padding-top: 135px; padding-bottom: 95px; }
.opening-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 8%; align-items: end; padding: 43px 0 58px; }
.opening-grid h2 { font-size: clamp(48px, 7vw, 92px); }
.opening-copy { max-width: 430px; padding: 0 0 4px; color: #c6b5c5; font-size: 13px; line-height: 1.95; }
.opening-copy p { margin: 0 0 14px; }
.script-line { color: var(--pink); font: 28px var(--script); transform: rotate(-3deg); }
.thin-rule { position: relative; height: 1px; background: linear-gradient(90deg, transparent, rgba(246,191,214,.25), transparent); text-align: center; }
.thin-rule span { position: relative; top: -12px; display: inline-block; padding: 0 16px; color: var(--rose); background: var(--night); font-size: 19px; }

.memories-section { padding-top: 90px; padding-bottom: 155px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 61px; }
.section-heading h2 { margin-top: 26px; font-size: clamp(48px, 6.6vw, 84px); }
.heading-aside { max-width: 235px; padding-bottom: 6px; margin: 0 2% 0 0; color: #ad9aae; font: 12px/1.9 var(--serif); font-style: italic; }
.memory-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 22px; align-items: start; }
.memory-card { position: relative; margin: 0; padding: 9px 9px 0; border: 1px solid rgba(246, 204, 224, .15); background: linear-gradient(145deg, rgba(62, 34, 63, .66), rgba(27, 14, 30, .87)); box-shadow: 0 18px 42px rgba(0,0,0,.22); transition: transform .6s cubic-bezier(.2,.8,.2,1), border-color .4s ease, box-shadow .4s ease; }
.memory-card:hover { z-index: 3; border-color: rgba(246,204,224,.46); box-shadow: 0 24px 52px rgba(0,0,0,.34), 0 0 36px rgba(226,110,166,.1); transform: translateY(-8px) rotate(0) scale(1.018); }
.memory-photo { position: relative; overflow: hidden; background: #2a1a2b; }
.memory-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.03); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s ease; }
.memory-card:hover .memory-photo img { transform: scale(1.06); filter: saturate(1) contrast(1.03); }
.memory-card figcaption { min-height: 46px; display: flex; align-items: center; justify-content: center; color: #d8c4d3; font: italic 12px var(--serif); letter-spacing: .015em; text-align: center; }
.photo-index { position: absolute; right: 10px; bottom: 9px; color: rgba(255,255,255,.74); text-shadow: 0 1px 8px rgba(0,0,0,.9); font: 9px var(--sans); letter-spacing: .12em; }
.memory-card:nth-child(1) { grid-column: 1 / span 3; margin-top: 26px; transform: rotate(-2.7deg); }
.memory-card:nth-child(2) { grid-column: 5 / span 3; margin-top: 70px; transform: rotate(2.2deg); }
.memory-card:nth-child(3) { grid-column: 9 / span 4; margin-top: 0; transform: rotate(-1.5deg); }
.memory-card:nth-child(4) { grid-column: 2 / span 3; margin-top: 20px; transform: rotate(2.7deg); }
.memory-card:nth-child(5) { grid-column: 6 / span 3; margin-top: 73px; transform: rotate(-2deg); }
.memory-card:nth-child(6) { grid-column: 10 / span 3; margin-top: 14px; transform: rotate(1.7deg); }
.memory-card-tall .memory-photo { aspect-ratio: .82 / 1; }
.memory-card-offset .memory-photo, .memory-card-offset-lower .memory-photo { aspect-ratio: .82 / 1; }
.memory-card-wide .memory-photo { aspect-ratio: 1.17 / 1; }
.memory-card-last .memory-photo { aspect-ratio: .77 / 1; }
.treasure-marker { position: absolute; z-index: 4; display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid rgba(255,224,196,.58); border-radius: 50%; color: #ffe1a8; background: rgba(49, 24, 45, .9); box-shadow: 0 0 0 4px rgba(241,171,197,.12), 0 0 24px rgba(238,178,140,.47); font-size: 17px; cursor: pointer; animation: treasure-glow 2.3s ease-in-out infinite; transition: transform .3s ease, background .3s ease; }
.treasure-marker:hover { transform: scale(1.15) rotate(18deg); background: #60334f; }
.memory-card > .treasure-marker { top: 48%; right: -16px; }
.memory-card > .treasure-marker.found, .letter-treasure.found, .cake-treasure.found { color: #fff6df; background: #8c456c; box-shadow: 0 0 28px rgba(243, 178, 204, .7); animation: found-pop .45s cubic-bezier(.2,1.6,.5,1) both; }
.gallery-footnote { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 75px 0 0; color: #967c94; font: italic 13px var(--serif); }
.gallery-footnote span { color: var(--rose); font-size: 17px; }

.letter-section { padding-top: 95px; padding-bottom: 155px; border-top: 1px solid rgba(240,191,212,.11); }
.letter-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(45px, 10vw, 150px); align-items: start; padding-top: 45px; }
.letter-intro h2 { margin: 0 0 27px; font-size: clamp(52px, 6.4vw, 83px); }
.letter-intro p { max-width: 265px; color: #b5a2b3; font: italic 14px/1.9 var(--serif); }
.letter-seal { position: relative; display: grid; place-items: center; width: 85px; height: 85px; margin: 53px 0 0 12px; border: 1px solid rgba(244, 178, 204, .58); border-radius: 50%; color: var(--pink); font: italic 35px var(--serif); transform: rotate(-11deg); }
.letter-seal::before { content: ''; position: absolute; inset: 6px; border: 1px dashed rgba(244,178,204,.5); border-radius: 50%; }
.letter-seal i { position: absolute; right: 10px; bottom: 7px; color: var(--gold); font-size: 15px; font-style: normal; }
.letter-wrap { position: relative; min-height: 345px; perspective: 1200px; }
.envelope { position: absolute; z-index: 3; left: 50%; top: 50%; width: min(100%, 540px); height: 310px; padding: 0; border: 1px solid rgba(245, 190, 214, .46); background: #40223b; box-shadow: 0 30px 70px rgba(0,0,0,.34), 0 0 70px rgba(203,99,149,.13); cursor: pointer; transform: translate(-50%, -50%); transition: opacity .45s ease, transform .7s cubic-bezier(.2,.8,.2,1), visibility .45s ease; overflow: hidden; }
.envelope::before { position: absolute; content: ''; inset: 11px; border: 1px solid rgba(255,236,244,.17); }
.envelope-body { position: absolute; inset: 0; background: linear-gradient(145deg, #4b2947, #321b34); clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); }
.envelope-top { position: absolute; inset: 0; background: linear-gradient(135deg, #63405c, #45253f); clip-path: polygon(0 0, 50% 57%, 100% 0); transition: transform .9s cubic-bezier(.2,.7,.2,1); transform-origin: top center; }
.envelope-flap { position: absolute; inset: 0; background: linear-gradient(150deg, #583451, #40223c); clip-path: polygon(0 100%, 50% 49%, 100% 100%); border-top: 1px solid rgba(255,255,255,.14); }
.envelope-seal { position: absolute; z-index: 2; left: 50%; top: 58%; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; color: #5b2a47; background: linear-gradient(140deg, #ffd0df, #e79ab9); box-shadow: 0 5px 15px rgba(0,0,0,.2); font-size: 19px; transform: translate(-50%, -50%); transition: opacity .35s ease; }
.envelope-invite { position: absolute; z-index: 2; left: 50%; bottom: 24px; color: #f6e4ef; font: italic 13px var(--serif); letter-spacing: .04em; transform: translateX(-50%); }
.envelope:hover .envelope-top { transform: rotateX(20deg); }
.letter-paper { position: relative; z-index: 2; width: min(100%, 540px); padding: 31px clamp(22px, 4vw, 45px) 37px; border: 1px solid rgba(99, 66, 77, .24); color: #4b343e; background: linear-gradient(110deg, #f7ece2 0%, #fff8ed 47%, #f8ecde 100%); box-shadow: 0 24px 72px rgba(0,0,0,.39), inset 0 0 35px rgba(194,132,120,.08); opacity: 0; visibility: hidden; transform: translateY(45px) rotateX(-9deg) scale(.97); transform-origin: top center; transition: opacity .6s ease, visibility .6s ease, transform .8s cubic-bezier(.2,.75,.2,1); }
.letter-open .envelope { opacity: 0; visibility: hidden; transform: translate(-50%, -45%) scale(.8); pointer-events: none; }
.letter-open .letter-paper { opacity: 1; visibility: visible; transform: translateY(0) rotateX(0) scale(1); }
.paper-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; margin-bottom: 23px; border-bottom: 1px solid rgba(141,88,101,.2); color: #9e717c; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.letter-copy { font: 14px/1.96 var(--serif); }
.letter-copy p { position: relative; margin: 0 0 18px; }
.darjeeling-line { padding-right: 32px; }
.letter-treasure { top: 4px; right: -2px; width: 28px; height: 28px; color: #9c496d; background: #fae2e7; font-size: 14px; box-shadow: 0 0 0 3px rgba(230,120,169,.1), 0 0 16px rgba(214,130,164,.34); }
.letter-signoff { position: relative; display: grid; justify-items: end; gap: 2px; margin-top: 25px; color: #906778; font: italic 13px var(--serif); }
.letter-signoff strong { color: #793b61; font: 400 28px var(--script); transform: rotate(-5deg); }
.signoff-heart { position: absolute; right: 0; bottom: -15px; color: #cf7195; font-size: 17px; }
.paper-corner { position: absolute; right: 18px; top: 10px; color: rgba(197,119,145,.2); font-size: 18px; }

.cake-section { padding-top: 105px; padding-bottom: 155px; border-top: 1px solid rgba(240,191,212,.11); }
.cake-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5%; align-items: center; padding-top: 48px; }
.cake-copy h2 { font-size: clamp(48px, 6.2vw, 77px); }
.cake-copy > p { max-width: 365px; color: #b9a7b6; font: 13px/1.9 var(--sans); margin: 24px 0 23px; }
.blow-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.text-button { padding: 3px 0; border: 0; color: #e8bfd2; background: transparent; font-size: 10px; letter-spacing: .1em; cursor: pointer; transition: color .25s ease, transform .25s ease; }
.text-button:hover { color: #fff3f8; transform: translateX(3px); }
.button:disabled, .text-button:disabled { opacity: .52; cursor: default; transform: none; }
.text-button span { color: var(--pink); padding-left: 5px; font-size: 15px; }
.mic-note { min-height: 34px; max-width: 390px; color: #896f86; font-size: 10px !important; }
.mic-note.mic-error { color: #e9a3bd; }
.cake-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: end; min-height: 460px; padding: 35px 0 45px; overflow: hidden; isolation: isolate; }
.cake-stage::before { position: absolute; content: ''; left: 50%; bottom: 56px; width: 85%; height: 60px; border-radius: 50%; background: radial-gradient(ellipse, rgba(226,128,171,.19), transparent 69%); filter: blur(12px); transform: translateX(-50%); }
.cake-stars { position: absolute; inset: 36px 8% auto; color: var(--gold); font-size: 17px; }
.cake-stars span { position: absolute; animation: sparkle 2.5s ease-in-out infinite; }
.cake-stars span:nth-child(1) { left: 11%; top: 76px; }.cake-stars span:nth-child(2) { left: 28%; top: 4px; color: var(--pink); animation-delay: -.6s; }.cake-stars span:nth-child(3) { right: 17%; top: 54px; animation-delay: -1.2s; }.cake-stars span:nth-child(4) { right: 8%; top: 150px; font-size: 32px; }.cake-stars span:nth-child(5) { left: 4%; top: 175px; color: var(--pink); animation-delay: -1.8s; }
.cake { display: none; }
.cake-tier { position: relative; z-index: 2; display: grid; place-items: center; border: 1px solid rgba(255,228,234,.42); background: linear-gradient(95deg, #9d476f, #d77a9f 22%, #994365 49%, #d881a5 77%, #87395f); box-shadow: inset 0 10px 19px rgba(255,221,229,.15), inset 0 -12px 22px rgba(70,24,57,.38), 0 8px 22px rgba(0,0,0,.22); }
.cake-tier::before { position: absolute; top: -9px; left: -3%; width: 106%; height: 17px; content: ''; border-radius: 50%; background: linear-gradient(120deg, #ffe5e8, #f2bdce 44%, #fff2e7); box-shadow: 0 4px 9px rgba(58,17,42,.22); }
.cake-top { width: 225px; height: 63px; border-radius: 50% 50% 13px 13px / 44% 44% 13px 13px; }
.cake-middle { width: 295px; height: 82px; border-radius: 18px 18px 12px 12px; }
.cake-bottom { width: 350px; height: 91px; border-radius: 18px 18px 22px 22px; }
.cake-middle span, .cake-bottom span { color: rgba(255,239,243,.88); font: italic 17px var(--script); text-shadow: 0 2px 5px rgba(64,14,47,.25); }
.cake-bottom span { font: 15px var(--serif); letter-spacing: .17em; text-transform: uppercase; }
.cake-plate { position: relative; z-index: 2; width: 390px; height: 22px; margin-top: -3px; border: 1px solid rgba(250,222,227,.48); border-radius: 50%; background: linear-gradient(180deg, #4a2945, #22152a); box-shadow: 0 12px 18px rgba(0,0,0,.3); }
.candles { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px 7px; width: 155px; height: 68px; margin-bottom: -4px; align-items: end; justify-items: center; }
.candle { position: relative; width: 8px; height: 29px; border-radius: 3px 3px 2px 2px; background: repeating-linear-gradient(135deg, #fae6d4 0 4px, #e78aad 4px 7px); box-shadow: inset -2px 0 rgba(115,39,76,.16); transition: opacity .45s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.candle:nth-child(3n) { height: 35px; background: repeating-linear-gradient(135deg, #fff0d0 0 4px, #d588a4 4px 7px); }
.flame { position: absolute; left: 50%; top: -14px; width: 10px; height: 15px; border-radius: 70% 35% 68% 35%; background: radial-gradient(ellipse at 60% 75%, #fff9d8 0 19%, #ffd98a 28%, #ff9c77 70%); filter: drop-shadow(0 0 5px rgba(255,193,120,.85)); transform: translateX(-50%) rotate(45deg); transform-origin: 50% 95%; animation: flicker .68s ease-in-out infinite alternate; transition: opacity .35s ease, transform .45s ease; }
.candle:nth-child(2n) .flame { animation-delay: -.26s; }
.candles-out .flame { opacity: 0; transform: translate(-50%, 11px) rotate(45deg) scale(.2); }
.candles-out .candle { transform: translateY(3px); }
.cake-treasure { z-index: 4; right: 14%; bottom: 85px; color: #ffdfed; font-size: 13px; }
.wish-note { position: absolute; left: 50%; bottom: 13px; width: max-content; max-width: 90%; color: #b595ad; font: italic 14px var(--script); opacity: 0; transform: translate(-50%, 8px); transition: opacity .5s ease, transform .5s ease; }
.wish-note.visible { opacity: 1; transform: translate(-50%, 0); }
.cake-stage.candles-out .wish-note { color: var(--pink); }
.blow-burst { position: absolute; z-index: 4; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); pointer-events: none; animation: burst 1s ease-out forwards; }

.game-section { padding-top: 105px; padding-bottom: 135px; border-top: 1px solid rgba(240,191,212,.11); }
.game-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 40px 0 55px; }
.game-heading h2 { font-size: clamp(51px, 6.5vw, 82px); }
.game-heading > p { max-width: 255px; margin: 0 3% 5px 0; color: #b09db0; font: 12px/1.9 var(--serif); font-style: italic; }
.games-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quiz-card, .treasure-card { position: relative; min-height: 365px; padding: 29px clamp(22px, 3vw, 38px); border: 1px solid rgba(244,190,214,.16); background: linear-gradient(148deg, rgba(46,27,48,.85), rgba(26,14,30,.94)); box-shadow: 0 20px 50px rgba(0,0,0,.2); overflow: hidden; }
.quiz-card::after, .treasure-card::after { position: absolute; right: -43px; bottom: -78px; width: 190px; height: 190px; content: ''; border: 1px solid rgba(242,179,205,.1); border-radius: 50%; box-shadow: 0 0 0 16px rgba(242,179,205,.025), 0 0 0 35px rgba(242,179,205,.018); pointer-events: none; }
.card-overline { display: flex; align-items: center; gap: 9px; justify-content: space-between; color: #a78da3; font-size: 8px; }
.live-dot { width: 6px; height: 6px; margin-right: auto; border-radius: 50%; background: #df91b3; box-shadow: 0 0 11px #df91b3; animation: pulse-dot 1.7s ease-in-out infinite; }
.treasure-spark { margin-right: auto; color: var(--gold); font-size: 14px; }
.quiz-heart { margin: 28px 0 10px; color: var(--rose); font: 48px var(--serif); animation: heart-beat 2.2s ease-in-out infinite; }
.quiz-card h3, .treasure-card h3 { position: relative; z-index: 1; max-width: 410px; margin: 5px 0 20px; color: #f9e9f1; font: 400 24px/1.25 var(--serif); }
.quiz-answers { display: grid; gap: 8px; }
.quiz-answer { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 13px; border: 1px solid rgba(245,192,214,.13); color: #cbb9cb; background: rgba(17,10,21,.4); font: 10px/1.5 var(--sans); text-align: left; cursor: pointer; transition: border .25s ease, color .25s ease, background .25s ease, transform .25s ease; }
.quiz-answer::before { content: '♡'; color: #ae7494; font-size: 13px; }
.quiz-answer:hover:not(:disabled) { color: #fff2f7; border-color: rgba(245,192,214,.45); background: rgba(87,42,69,.32); transform: translateX(4px); }
.quiz-answer:disabled { cursor: default; }
.quiz-answer.correct { color: #ffedf4; border-color: rgba(243,172,204,.8); background: rgba(147,66,105,.42); }
.quiz-answer.incorrect { color: #a28b9e; opacity: .66; }
.quiz-feedback, .treasure-feedback { position: relative; z-index: 1; min-height: 18px; color: #a98ba2; font: italic 11px var(--serif); }
.quiz-progress { position: relative; z-index: 1; height: 2px; margin-top: 13px; background: rgba(245,192,214,.13); }
.quiz-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #c76796, #f6c5d8); transition: width .55s cubic-bezier(.2,.7,.2,1); }
.quiz-next { position: relative; z-index: 1; margin-top: 9px; }
.quiz-next[hidden] { display: none; }
.treasure-card h3 { margin: 30px 0 9px; font-size: 28px; }
.treasure-hint { position: relative; z-index: 1; max-width: 390px; margin: 0 0 23px; color: #a991a7; font-size: 10px; line-height: 1.8; }
.clue-list { position: relative; z-index: 1; display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.clue-list li { display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 8px; padding: 11px 0; border-top: 1px solid rgba(244,190,214,.12); color: #c3b0c1; font-size: 10px; transition: color .35s ease; }
.clue-number { color: #8e758a; font-size: 8px; letter-spacing: .1em; }
.clue-mark { color: #8e758a; text-align: center; transition: color .3s ease, transform .3s ease; }
.clue-list li.found { color: #f5d9e6; }
.clue-list li.found .clue-mark { color: #f0b4cc; transform: scale(1.3); }
.treasure-feedback { margin-bottom: 0; }
.treasure-reward { position: relative; z-index: 2; display: grid; justify-items: center; margin-top: 12px; padding: 11px 0 0; color: #bca6b7; text-align: center; animation: reward-rise .65s cubic-bezier(.2,.8,.2,1) both; }
.treasure-reward[hidden] { display: none; }
.treasure-reward p { margin: 2px 0 4px; color: var(--pink); font: italic 15px var(--serif); }
.treasure-reward strong { color: #f8eaf0; font: 400 17px var(--serif); }
.treasure-reward .text-button { margin-top: 8px; }
.reward-halo { position: absolute; top: 4%; width: 160px; height: 80px; border-radius: 50%; background: radial-gradient(ellipse, rgba(236,129,175,.19), transparent 70%); filter: blur(10px); }
.couple-scene { position: relative; display: grid; place-items: center; width: 205px; height: 125px; }
.couple-scene svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.person { fill: none; stroke: #f3c7d9; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transform-box: fill-box; transform-origin: center bottom; }
.person .head { fill: #26152c; stroke: #f3c7d9; stroke-width: 3; }
.person .hair { stroke: #d88caf; stroke-width: 3; }
.person .body { stroke: #f3c7d9; stroke-width: 4; }
.person .face-smile { stroke: #f1c0d3; stroke-width: 1.8; }
.person .heart-shirt { fill: #e992b8; stroke: none; }
.person-one { animation: person-bounce 1.8s ease-in-out infinite; }
.person-two { animation: person-bounce 1.8s ease-in-out -0.9s infinite; }
.hugging .person-one { animation: lean-in-left .7s cubic-bezier(.2,.8,.2,1) both, person-bounce 1.8s ease-in-out .7s infinite; }
.hugging .person-two { animation: lean-in-right .7s cubic-bezier(.2,.8,.2,1) both, person-bounce 1.8s ease-in-out .7s infinite; }
.hug-sparkles { fill: none; stroke: #f1d599; stroke-width: 2; stroke-linecap: round; animation: sparkle 2s ease-in-out infinite; }
.dancing .person-one { animation: dance-left 1.4s ease-in-out infinite; }
.dancing .person-two { animation: dance-right 1.4s ease-in-out -0.7s infinite; }
.dance-heart, .dance-flower { position: absolute; z-index: 2; color: #f2abc9; animation: float 3s ease-in-out infinite; }
.dance-heart { right: 16%; top: 5%; font-size: 24px; }
.dance-flower { left: 10%; top: 18%; color: var(--gold); font-size: 18px; animation-delay: -1.2s; }
.couple-strip { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 228px; padding: 28px 8%; margin-top: 28px; border: 1px solid rgba(244,190,214,.13); background: radial-gradient(ellipse at 80% 30%, rgba(128,61,101,.26), transparent 35%), linear-gradient(115deg, rgba(42,24,47,.68), rgba(25,13,28,.76)); overflow: hidden; }
.couple-strip-copy { position: relative; z-index: 1; }
.tiny-label { color: #aa8ba3; font-size: 8px; }
.couple-strip-copy p { color: #e5d1e0; font: 400 24px/1.24 var(--serif); }
.couple-strip-copy em { color: var(--pink); }
.couple-strip .couple-scene { width: 280px; height: 190px; }
.strip-sparkle { position: absolute; right: 4%; bottom: 12%; color: var(--gold); font-size: 30px; opacity: .7; animation: sparkle 2.3s ease-in-out infinite; }

.voice-section { padding-top: 100px; padding-bottom: 145px; border-top: 1px solid rgba(240,191,212,.11); }
.voice-card { display: grid; grid-template-columns: .74fr 1.26fr; min-height: 390px; margin-top: 41px; border: 1px solid rgba(244,190,214,.17); background: linear-gradient(130deg, rgba(43,24,47,.85), rgba(22,13,26,.94)); box-shadow: 0 26px 70px rgba(0,0,0,.2); overflow: hidden; }
.voice-art { position: relative; display: grid; place-items: center; min-height: 320px; background: radial-gradient(ellipse, rgba(195,88,138,.26), rgba(54,28,59,.28) 43%, transparent 75%); overflow: hidden; }
.voice-art::before, .voice-art::after { position: absolute; content: ''; width: 230px; height: 230px; border: 1px solid rgba(247,186,209,.18); border-radius: 50%; transform: scaleY(.65) rotate(31deg); }
.voice-art::after { width: 300px; height: 300px; transform: scaleY(.42) rotate(-24deg); border-color: rgba(247,186,209,.11); }
.voice-orbit { position: absolute; width: 185px; height: 185px; border: 1px dashed rgba(245,190,214,.26); border-radius: 50%; animation: turn 34s linear infinite; }
.voice-heart { position: relative; z-index: 1; color: #f7c1d6; font: 112px/1 var(--serif); text-shadow: 0 0 36px rgba(234,135,175,.45); animation: heart-beat 2.6s ease-in-out infinite; }
.voice-flower { position: absolute; z-index: 2; right: 21%; bottom: 23%; color: #f2d7a0; font-size: 29px; animation: float 5s ease-in-out infinite; }
.voice-copy { align-self: center; padding: 40px clamp(28px, 5vw, 68px); }
.voice-overline { color: #c099b1; font-size: 8px; }
.voice-copy h2 { margin: 18px 0 17px; font-size: clamp(43px, 5.1vw, 65px); }
.voice-copy > p:not(.voice-overline):not(.voice-footer) { max-width: 430px; color: #b7a3b5; font-size: 11px; line-height: 1.9; }
.voice-player { display: flex; align-items: center; gap: 17px; max-width: 490px; padding: 14px 17px; margin-top: 25px; border: 1px solid rgba(243,183,207,.16); background: rgba(17,10,20,.6); }
.round-play, .dock-play { flex: 0 0 auto; display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(249,201,220,.55); border-radius: 50%; color: #2a1625; background: linear-gradient(145deg, #f7c3d8, #df91b2); cursor: pointer; transition: transform .3s ease, box-shadow .3s ease; }
.round-play:hover, .dock-play:hover { transform: scale(1.07); box-shadow: 0 0 22px rgba(244,166,198,.35); }
.play-symbol { padding-left: 2px; font-size: 11px; }
.voice-track-wrap { flex: 1; min-width: 0; }
.waveform { display: flex; align-items: center; justify-content: space-between; height: 24px; gap: 2px; overflow: hidden; }
.waveform i { flex: 1 1 2px; max-width: 3px; min-width: 2px; height: var(--wave-height, 8px); border-radius: 2px; background: rgba(232,163,192,.56); transform-origin: center; transition: background .2s ease; }
.voice-playing .waveform i { animation: voice-wave .72s ease-in-out infinite alternate; animation-delay: var(--wave-delay, 0ms); }
.waveform i.heard { background: #f4b5ce; }
.voice-seek { display: block; width: 100%; height: 3px; margin: 0; appearance: none; border-radius: 3px; background: linear-gradient(90deg, #e995b5 var(--seek-progress, 0%), rgba(249,209,225,.18) var(--seek-progress, 0%)); cursor: pointer; }
.voice-seek::-webkit-slider-thumb { width: 8px; height: 8px; appearance: none; border: 0; border-radius: 50%; background: #f9d2e1; box-shadow: 0 0 8px rgba(244,166,198,.5); }
.voice-seek::-moz-range-thumb { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #f9d2e1; }
.voice-time { display: flex; justify-content: space-between; gap: 12px; padding-top: 5px; color: #987f96; font-size: 8px; letter-spacing: .05em; }
.voice-live { color: #de83aa; font-size: 15px; animation: heart-beat 1.7s ease-in-out infinite; }
.voice-footer { color: #8f768b; margin: 12px 0 0; font: italic 11px var(--serif); }

.closing { display: grid; justify-items: center; padding: 85px 24px 105px; border-top: 1px solid rgba(240,191,212,.11); text-align: center; }
.closing-blossoms { margin: 0 0 25px; color: #efaac7; font-size: 16px; letter-spacing: .5em; animation: float 6s ease-in-out infinite; }
.closing .section-kicker { justify-content: center; }
.closing h2 { margin: 27px 0 20px; font-size: clamp(51px, 7vw, 88px); }
.closing > p:not(.section-kicker) { max-width: 360px; color: #ad99ac; font: italic 13px/1.9 var(--serif); }
.closing-signature { display: grid; justify-items: center; gap: 2px; margin-top: 19px; color: #b696ae; font: italic 13px var(--serif); }
.closing-signature strong { color: #f0b3cd; font: 400 31px var(--script); transform: rotate(-4deg); }
.back-to-top { display: inline-flex; align-items: center; gap: 10px; margin-top: 48px; color: #a88ea4; font-size: 8px; letter-spacing: .15em; text-transform: uppercase; transition: color .25s ease; }
.back-to-top span { color: var(--pink); font-size: 14px; transition: transform .25s ease; }
.back-to-top:hover { color: #f7e9f0; }.back-to-top:hover span { transform: translateY(-4px); }
.site-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; width: min(1220px, calc(100% - 64px)); padding: 21px 0 32px; margin: auto; border-top: 1px solid rgba(240,191,212,.1); color: #79647a; font-size: 8px; letter-spacing: .13em; }
.site-footer i { color: var(--rose); font-style: normal; }

.music-dock { position: fixed; z-index: 9; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 11px; min-width: 244px; padding: 9px 13px 9px 9px; border: 1px solid rgba(245,192,214,.2); border-radius: 3px; color: #ead8e3; background: rgba(24,13,29,.86); box-shadow: 0 12px 38px rgba(0,0,0,.28); backdrop-filter: blur(18px); transition: transform .4s ease, border-color .3s ease, opacity .4s ease; }
.music-dock:hover { border-color: rgba(245,192,214,.42); transform: translateY(-3px); }
.music-interrupted .music-dock { border-color: rgba(247,184,211,.72); box-shadow: 0 12px 38px rgba(0,0,0,.28), 0 0 25px rgba(229,125,171,.2); }
.dock-play { width: 30px; height: 30px; font-size: 9px; }
.dock-info { display: grid; gap: 3px; min-width: 0; }
.dock-info strong { color: #f7e7ef; font: 12px var(--serif); white-space: nowrap; }
.dock-info span { color: #947c92; font-size: 8px; letter-spacing: .06em; }
.dock-equalizer { display: flex; align-items: center; gap: 2px; height: 12px; margin-left: auto; }
.dock-equalizer i { height: 3px; background: #eda4c2; }
.dock-hint { position: absolute; right: 10px; top: -20px; padding: 4px 8px; border-radius: 2px; color: #f3c6d9; background: rgba(45,24,46,.92); font-size: 8px; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.needs-gesture .dock-hint { opacity: 1; transform: translateY(0); }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 91px; max-width: min(90vw, 440px); padding: 12px 18px; border: 1px solid rgba(245,192,214,.35); color: #fae9f1; background: rgba(43,22,43,.94); box-shadow: 0 12px 38px rgba(0,0,0,.3); font: 12px/1.4 var(--serif); text-align: center; opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease; backdrop-filter: blur(13px); }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.revealed { animation: section-rise .9s cubic-bezier(.2,.75,.2,1) both; }
.script-ready .reveal:not(.revealed) { opacity: 0; transform: translateY(18px); }
.script-ready .reveal.revealed { opacity: 1; transform: translateY(0); }
.mic-active .cake-stage { filter: drop-shadow(0 0 23px rgba(244,169,201,.15)); }
.mic-active #mic-blow { border-color: rgba(244,169,201,.66); }

@keyframes turn { to { transform: rotate(360deg); } }
@keyframes equalize { from { transform: scaleY(.42); } to { transform: scaleY(1.5); } }
@keyframes halo-breathe { 0%,100% { opacity: .55; transform: scale(.94); } 50% { opacity: .95; transform: scale(1.08); } }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes branch-sway { from { rotate: -1.5deg; } to { rotate: 1.8deg; } }
@keyframes flower-breathe { from { scale: .95; rotate: -5deg; } to { scale: 1.05; rotate: 5deg; } }
@keyframes sparkle { 0%,100% { opacity: .35; scale: .75; } 50% { opacity: 1; scale: 1.18; } }
@keyframes treasure-glow { 0%,100% { box-shadow: 0 0 0 3px rgba(241,171,197,.12), 0 0 14px rgba(238,178,140,.26); } 50% { box-shadow: 0 0 0 7px rgba(241,171,197,.08), 0 0 28px rgba(238,178,140,.64); } }
@keyframes found-pop { from { scale: .72; rotate: -30deg; } to { scale: 1; rotate: 0; } }
@keyframes flicker { 0% { rotate: -5deg; scale: .95 1.03; } 100% { rotate: 5deg; scale: 1.08 .93; } }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 5px #df91b3; } 50% { box-shadow: 0 0 15px #df91b3; } }
@keyframes heart-beat { 0%,100% { scale: 1; } 9% { scale: 1.11; } 19% { scale: .99; } 29% { scale: 1.06; } 42% { scale: 1; } }
@keyframes person-bounce { 0%,100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes dance-left { 0%,100% { rotate: -6deg; translate: -2px 0; } 50% { rotate: 9deg; translate: -2px -6px; } }
@keyframes dance-right { 0%,100% { rotate: 5deg; translate: 2px 0; } 50% { rotate: -8deg; translate: 2px -6px; } }
@keyframes lean-in-left { to { translate: 27px 0; rotate: 8deg; } }
@keyframes lean-in-right { to { translate: -27px 0; rotate: -8deg; } }
@keyframes voice-wave { from { transform: scaleY(.42); } to { transform: scaleY(1.5); } }
@keyframes reward-rise { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes section-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes burst { 0% { opacity: 1; transform: translate(0,0) scale(.5); } 100% { opacity: 0; transform: translate(var(--burst-x), var(--burst-y)) scale(.05); } }

@media (max-width: 960px) {
  .section-shell { width: min(100% - 48px, 760px); }
  .site-header { padding-inline: 26px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 9px; }
  .hero { min-height: 760px; height: auto; grid-template-columns: 1.05fr .95fr; }
  .hero-art { min-height: 580px; }
  .hero-photo-frame { min-width: 220px; min-height: 310px; }
  .blossom-branch { right: -9%; width: 42vw; }
  .memory-gallery { gap: 34px 16px; }
  .memory-card:nth-child(1) { grid-column: 1 / span 4; }
  .memory-card:nth-child(2) { grid-column: 5 / span 4; }
  .memory-card:nth-child(3) { grid-column: 9 / span 4; }
  .memory-card:nth-child(4) { grid-column: 1 / span 4; }
  .memory-card:nth-child(5) { grid-column: 5 / span 4; }
  .memory-card:nth-child(6) { grid-column: 9 / span 4; }
  .letter-layout { gap: 5%; }
  .cake-layout { grid-template-columns: .85fr 1.15fr; }
  .cake-stage { scale: .9; transform-origin: center; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 70px; }
  .section-shell { width: calc(100% - 40px); }
  .site-header { position: absolute; flex-wrap: wrap; gap: 12px; padding: 20px 20px; }
  .wordmark { font-size: 9px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; padding-top: 9px; }
  .main-nav a { color: #bca9ba; font-size: 8px; letter-spacing: .04em; }
  .sound-chip { margin-left: auto; padding: 8px 10px; font-size: 8px; }
  .hero { min-height: 900px; min-height: max(900px, 100svh); grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; padding-top: 145px; padding-bottom: 100px; }
  .hero-copy { padding: 5px 0 0; }
  .eyebrow { margin-bottom: 22px; font-size: 8px; }
  .hero h1 { font-size: clamp(47px, 13vw, 73px); }
  .hero-name { margin-top: 17px; margin-bottom: 14px; font-size: 55px; }
  .hero-note { max-width: 330px; margin: 24px 0 22px; font-size: 12px; }
  .hero-whisper { margin-top: 16px; font-size: 8px; }
  .hero-art { position: absolute; right: 0; bottom: 34px; left: 0; min-height: 395px; height: 45%; pointer-events: none; }
  .hero-photo-frame { width: min(54vw, 280px); height: min(70vw, 355px); min-width: 190px; min-height: 260px; margin-left: 11%; }
  .hero-orbit { top: 50%; }
  .orbit-one { width: min(76vw, 390px); }
  .orbit-two { width: min(88vw, 450px); }
  .portrait-halo { width: 60vw; }
  .photo-stamp { right: -28px; width: 72px; height: 72px; font-size: 11px; }
  .floating-note { padding: 10px 11px; font-size: 8px; }
  .note-one { right: 3%; top: 7%; }.note-two { left: 1%; bottom: 7%; }
  .blossom-branch { right: -3%; bottom: -1%; width: min(63vw, 310px); }
  .hero-sparkle { font-size: 13px; }
  .hero-bottomline { bottom: 24px; gap: 9px; font-size: 7px; }
  .scroll-stem { width: 32px; }
  .opening-note { padding-top: 88px; padding-bottom: 66px; }
  .opening-grid { grid-template-columns: 1fr; gap: 20px; padding: 31px 0 43px; }
  .opening-grid h2 { font-size: clamp(55px, 14vw, 75px); }
  .opening-copy { max-width: 400px; font-size: 12px; }
  .script-line { font-size: 26px; }
  .memories-section { padding-top: 68px; padding-bottom: 100px; }
  .section-heading { display: block; margin-bottom: 37px; }
  .section-heading h2 { margin-top: 21px; font-size: clamp(50px, 13vw, 75px); }
  .heading-aside { max-width: 255px; margin-top: 18px; font-size: 11px; }
  .memory-gallery { grid-template-columns: repeat(6, 1fr); gap: 23px 10px; }
  .memory-card { padding: 6px 6px 0; }
  .memory-card:nth-child(1) { grid-column: 1 / span 3; margin-top: 12px; transform: rotate(-2deg); }
  .memory-card:nth-child(2) { grid-column: 4 / span 3; margin-top: 48px; transform: rotate(2deg); }
  .memory-card:nth-child(3) { grid-column: 1 / span 4; margin-top: 8px; transform: rotate(1.4deg); }
  .memory-card:nth-child(4) { grid-column: 4 / span 3; margin-top: 29px; transform: rotate(-2deg); }
  .memory-card:nth-child(5) { grid-column: 1 / span 3; margin-top: 4px; transform: rotate(-2deg); }
  .memory-card:nth-child(6) { grid-column: 4 / span 3; margin-top: 38px; transform: rotate(1.8deg); }
  .memory-card figcaption { min-height: 43px; font-size: 10px; }
  .memory-card-wide .memory-photo { aspect-ratio: .9 / 1; }
  .memory-card > .treasure-marker { right: -9px; width: 29px; height: 29px; }
  .gallery-footnote { margin-top: 49px; font-size: 12px; }
  .letter-section, .cake-section, .game-section, .voice-section { padding-top: 73px; padding-bottom: 96px; }
  .letter-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 31px; }
  .letter-intro h2 { font-size: clamp(54px, 13vw, 75px); }
  .letter-intro p { max-width: 315px; font-size: 13px; }
  .letter-seal { position: absolute; right: 4px; top: 1px; width: 60px; height: 60px; margin: 0; font-size: 25px; }
  .letter-wrap { min-height: 290px; margin: 4px 0 0; }
  .envelope { height: 270px; }
  .letter-paper { padding: 24px 21px 30px; }
  .letter-copy { font-size: 13px; line-height: 1.86; }
  .paper-topline { font-size: 7px; }
  .letter-signoff strong { font-size: 25px; }
  .cake-layout { grid-template-columns: 1fr; gap: 13px; padding-top: 32px; }
  .cake-copy h2 { font-size: clamp(50px, 12.5vw, 70px); }
  .cake-copy > p { margin: 19px 0; }
  .cake-stage { width: 100%; min-height: 425px; margin-top: -7px; scale: .83; transform-origin: top center; margin-bottom: -68px; }
  .cake-treasure { right: 5%; }
  .game-heading { display: block; margin: 29px 0 34px; }
  .game-heading h2 { font-size: clamp(52px, 13vw, 72px); }
  .game-heading > p { max-width: 300px; margin-top: 16px; font-size: 11px; }
  .games-grid { grid-template-columns: 1fr; gap: 16px; }
  .quiz-card, .treasure-card { min-height: 345px; padding: 25px 22px; }
  .treasure-card { min-height: 390px; }
  .quiz-card h3, .treasure-card h3 { font-size: 23px; }
  .treasure-card h3 { font-size: 26px; }
  .couple-strip { min-height: 250px; padding: 22px 16px; }
  .couple-strip-copy p { font-size: 20px; }
  .couple-strip .couple-scene { width: 185px; height: 143px; margin-right: -11px; }
  .strip-sparkle { right: 5%; bottom: 8%; font-size: 20px; }
  .voice-card { grid-template-columns: 1fr; margin-top: 31px; }
  .voice-art { min-height: 205px; }
  .voice-orbit { width: 140px; height: 140px; }
  .voice-heart { font-size: 78px; }
  .voice-flower { right: 28%; bottom: 18%; }
  .voice-copy { padding: 32px 23px 34px; }
  .voice-copy h2 { font-size: clamp(47px, 12vw, 64px); }
  .voice-player { gap: 12px; padding: 12px; }
  .closing { padding: 68px 12px 83px; }
  .closing h2 { font-size: clamp(50px, 12.3vw, 74px); }
  .closing > p:not(.section-kicker) { max-width: 310px; font-size: 12px; }
  .site-footer { width: calc(100% - 40px); gap: 14px; font-size: 7px; letter-spacing: .08em; }
  .music-dock { right: 12px; bottom: 12px; min-width: unset; padding: 7px 9px 7px 7px; gap: 8px; }
  .dock-play { width: 28px; height: 28px; }
  .dock-info strong { font-size: 11px; }.dock-info span { font-size: 7px; }
  .dock-equalizer { display: none; }.dock-hint { font-size: 7px; }
  .toast { bottom: 70px; font-size: 11px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 44px; }
  .hero-art { bottom: 27px; }
  .memory-card figcaption { font-size: 9px; }
  .cake-stage { scale: .74; margin-bottom: -90px; }
  .couple-strip .couple-scene { width: 150px; }
  .couple-strip-copy p { font-size: 18px; }
  .dock-info span { display: none; }
}

@media (hover: none) {
  .memory-card:hover { transform: none; }
  .hero-photo-frame { transform: rotate(2.8deg); }
}

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