:root {
  /* Typography compliance notes: Playfair Display behind frosted glass; Playfair Display** with high contrast and generous letterspacing. */
  --midnight-cocoa: #24151B;
  --cherry-cordial: #8E1F3F;
  --rose-cream: #F7D7D8;
  --buttercream: #FFF1CE;
  --burnt-caramel: #B86A28;
  --gilded-sugar: #D9A441;
  --pistachio-glass: #AFCFAD;
  --espresso-ink: #3B241C;
  --title-font: "Playfair Display", Georgia, "Times New Roman", serif;
  --prose-font: "Cormorant Garamond", Garamond, Georgia, serif;
  --ui-font: "Nunito Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --script-font: "Imperial Script", "Brush Script MT", cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--midnight-cocoa); }

body {
  margin: 0;
  color: var(--buttercream);
  background: radial-gradient(circle at 50% 0%, rgba(142, 31, 63, .45), transparent 34rem), var(--midnight-cocoa);
  font-family: var(--prose-font);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 241, 206, .12) 0 1px, transparent 1.5px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
  opacity: .45;
}

.salon-scene {
  position: relative;
  min-height: 100vh;
  padding: 7vh 9vw;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(217, 164, 65, .28);
}

.wallpaper {
  position: absolute;
  inset: -8%;
  z-index: -3;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(217, 164, 65, .18), transparent 20rem),
    radial-gradient(ellipse at 78% 80%, rgba(247, 215, 216, .12), transparent 26rem),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 28px, rgba(255, 241, 206, .035) 29px 31px),
    linear-gradient(135deg, var(--midnight-cocoa), var(--espresso-ink));
  transform: translateY(calc(var(--scene-shift, 0) * -18px));
}

.pinstripe { background-image: repeating-linear-gradient(90deg, rgba(255,241,206,.05) 0 1px, transparent 1px 28px), linear-gradient(150deg, #24151B, #8E1F3F 70%, #3B241C); }
.damask { background-image: radial-gradient(circle at 35% 35%, rgba(175,207,173,.14), transparent 18rem), repeating-radial-gradient(ellipse at 50% 50%, rgba(255,241,206,.035) 0 6px, transparent 7px 38px), linear-gradient(120deg, #24151B, #3B241C); }
.velvet-paper { background-image: radial-gradient(circle at 50% 70%, rgba(142,31,63,.55), transparent 26rem), repeating-linear-gradient(0deg, rgba(247,215,216,.035) 0 2px, transparent 3px 18px), linear-gradient(150deg, #3B241C, #24151B); }
.glass-paper { background-image: linear-gradient(105deg, transparent 0 30%, rgba(175,207,173,.12) 31% 35%, transparent 36% 60%, rgba(217,164,65,.1) 61% 62%, transparent 63%), linear-gradient(145deg, #24151B, #3B241C); }
.glaze-paper { background-image: radial-gradient(circle at 75% 35%, rgba(184,106,40,.28), transparent 16rem), linear-gradient(140deg, #24151B, #8E1F3F 55%, #3B241C); }
.finale-paper { background-image: radial-gradient(circle at 50% 12%, rgba(217,164,65,.35), transparent 18rem), linear-gradient(180deg, #24151B 0%, #8E1F3F 55%, #24151B 100%); }

.sugar-arch {
  position: relative;
  width: min(78vw, 860px);
  min-height: 68vh;
  padding: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 2px solid var(--gilded-sugar);
  border-radius: 48% 48% 28px 28px / 22% 22% 28px 28px;
  background: linear-gradient(180deg, rgba(255,241,206,.08), rgba(36,21,27,.64));
  box-shadow: inset 0 0 0 10px rgba(255,241,206,.035), 0 30px 90px rgba(0,0,0,.45), 0 0 60px rgba(217,164,65,.13);
  transform: translateY(36px) scale(.96);
  opacity: .72;
  transition: transform 900ms cubic-bezier(.19,1,.22,1), opacity 900ms ease, filter 900ms ease;
}

.salon-scene.active .sugar-arch { transform: translateY(0) scale(1); opacity: 1; filter: saturate(1.08); }
.sugar-arch::before, .sugar-arch::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,241,206,.45); border-radius: inherit; pointer-events: none; }
.sugar-arch::after { inset: 31px; border-color: rgba(217,164,65,.22); background: repeating-radial-gradient(circle at 50% 0%, rgba(255,241,206,.22) 0 3px, transparent 4px 28px); mask-image: linear-gradient(#000, transparent 18%); }
.wide { width: min(86vw, 1050px); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; text-align: left; }
.narrow { width: min(55vw, 640px); margin-left: 28vw; }
.offset { margin-left: -20vw; }

h1, h2 {
  margin: 0;
  font-family: var(--title-font);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: .9;
  color: var(--buttercream);
  text-shadow: 0 0 18px rgba(217,164,65,.45), 0 3px 0 rgba(36,21,27,.8);
}
h1 { font-size: clamp(3rem, 9vw, 8.5rem); text-transform: none; letter-spacing: .035em; }
h2 { font-size: clamp(2.5rem, 7vw, 7rem); }
.scene-line { max-width: 620px; margin: 1.6rem auto 0; font-size: clamp(1.25rem, 2.6vw, 2.15rem); line-height: 1.18; color: var(--rose-cream); }
.script-flourish, .script-note { font-family: var(--script-font); font-size: clamp(2rem, 4vw, 4.3rem); color: var(--gilded-sugar); margin: 0 0 .5rem; text-transform: none; letter-spacing: 0; }
.script-note { position: absolute; right: 13vw; bottom: 18vh; transform: rotate(-12deg); opacity: .8; }

.frosted-window {
  padding: 3rem 2rem;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(175,207,173,.18), rgba(247,215,216,.12));
  backdrop-filter: blur(7px);
  border: 1px solid rgba(255,241,206,.5);
  box-shadow: inset 0 0 55px rgba(255,241,206,.08);
}
.cherry-lamp { position: absolute; top: 12vh; right: 19%; width: 38px; height: 70px; border-left: 2px solid var(--gilded-sugar); }
.cherry-lamp span { position: absolute; bottom: 0; left: -17px; width: 34px; height: 34px; border-radius: 50%; background: var(--cherry-cordial); box-shadow: 0 0 18px #8E1F3F, 0 0 35px #D9A441; animation: flicker 1.8s infinite steps(4); }

.sugar-dust { position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; }
.dust { position: absolute; top: -20px; width: 4px; height: 4px; border-radius: 50%; background: var(--buttercream); opacity: .75; animation: fall linear forwards; box-shadow: 0 0 9px var(--gilded-sugar); }

.pearl-nav { position: fixed; z-index: 40; top: 50%; right: 28px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.pearl-nav::before { content: ""; position: absolute; top: -16px; bottom: -16px; left: 50%; width: 1px; background: rgba(217,164,65,.35); }
.pearl { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--gilded-sugar); background: radial-gradient(circle at 35% 28%, #FFF1CE 0 18%, #F7D7D8 19% 45%, #8E1F3F 46% var(--fill, 46%), rgba(36,21,27,.85) var(--fill, 46%)); box-shadow: 0 0 12px rgba(217,164,65,.24); transition: transform .28s ease, --fill .3s ease; }
.pearl::after { content: attr(data-label); position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-family: var(--ui-font); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--buttercream); opacity: 0; white-space: nowrap; transition: opacity .25s ease; }
.pearl:hover, .pearl.is-active { transform: scale(1.35); --fill: 100%; }
.pearl:hover::after, .pearl.is-active::after { opacity: .85; }

.dessert-cart { position: fixed; z-index: 35; left: 8vw; bottom: 8vh; width: 136px; height: 98px; pointer-events: none; transform: translate3d(0,0,0); transition: filter .4s ease; }
.cart-dome { position: absolute; left: 28px; top: 0; width: 78px; height: 48px; border-radius: 80px 80px 8px 8px; border: 2px solid rgba(175,207,173,.8); background: linear-gradient(115deg, rgba(175,207,173,.38), rgba(255,255,255,.04)); box-shadow: inset 14px 4px 18px rgba(255,241,206,.16); }
.cart-plate { position: absolute; left: 16px; top: 48px; width: 104px; height: 10px; border-radius: 20px; background: var(--gilded-sugar); }
.cart-base { position: absolute; left: 7px; top: 60px; width: 122px; height: 15px; border-radius: 20px; background: var(--burnt-caramel); }
.cart-wheel { position: absolute; bottom: 0; width: 25px; height: 25px; border: 3px solid var(--buttercream); border-radius: 50%; background: var(--midnight-cocoa); animation: wheel 2s linear infinite; }
.cart-wheel.left { left: 20px; } .cart-wheel.right { right: 20px; }
.caramel-trail { position: absolute; right: 120px; top: 70px; width: 160px; height: 7px; border-radius: 50%; background: linear-gradient(90deg, transparent, #B86A28, #D9A441); filter: blur(2px); opacity: .8; }

.menu-slip, .annotated { position: absolute; z-index: 5; padding: 1rem 1.2rem; color: var(--espresso-ink); background: var(--buttercream); border: 1px solid var(--gilded-sugar); box-shadow: 0 15px 35px rgba(0,0,0,.28); font-family: var(--ui-font); font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; transform: rotate(-6deg); }
.menu-slip em { display: block; margin-top: .4rem; font-family: var(--prose-font); text-transform: none; letter-spacing: .04em; font-size: 1rem; color: var(--cherry-cordial); }
.left-slip { left: 8vw; top: 24vh; } .right-slip { right: 8vw; bottom: 18vh; transform: rotate(8deg); } .tag-one { left: 12vw; bottom: 17vh; transform: rotate(5deg); }
.dessert-silhouette { position: absolute; left: 7vw; bottom: -35px; width: 280px; height: 190px; border-radius: 48% 48% 10% 10%; background: linear-gradient(#8E1F3F, #24151B); opacity: .75; }
.dessert-silhouette::before { content: ""; position: absolute; left: 40px; top: -44px; width: 190px; height: 55px; border-radius: 50%; background: var(--rose-cream); box-shadow: inset 0 -12px #B86A28; }

.bead-curtain { position: absolute; inset: 0; z-index: 8; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,241,206,.9) 29px 33px, transparent 34px 58px); mask-image: repeating-radial-gradient(circle at 50% 18px, #000 0 6px, transparent 7px 24px); opacity: .72; transition: transform 1.2s cubic-bezier(.19,1,.22,1), opacity 1.2s ease; }
body.has-entered .bead-curtain { transform: scaleX(1.85); opacity: .18; }
.oval-doily { position: absolute; right: 8vw; bottom: 8vh; width: 280px; height: 150px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255,241,206,.8) 0 5px, transparent 6px 18px); opacity: .2; }
.frosting-divider svg { width: min(55vw, 500px); margin-top: 1.5rem; } .frosting-divider path { fill: none; stroke: var(--rose-cream); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 620; stroke-dashoffset: 620; transition: stroke-dashoffset 1.4s ease; } .active .frosting-divider path { stroke-dashoffset: 0; }

.cloche-glass { position: relative; width: min(36vw, 390px); height: 360px; border: 2px solid rgba(175,207,173,.82); border-radius: 50% 50% 18px 18px / 38% 38% 18px 18px; background: linear-gradient(120deg, rgba(175,207,173,.22), rgba(247,215,216,.08)); overflow: hidden; justify-self: center; }
.touch-fog::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--fog-x, 50%) var(--fog-y, 50%), rgba(255,241,206,.46), transparent 28%); opacity: var(--fog, .18); transition: opacity .5s ease; }
.mirror-cake { position: absolute; left: 50%; bottom: 58px; width: 210px; height: 112px; transform: translateX(-50%); border-radius: 50% 50% 18px 18px; background: linear-gradient(135deg, #F7D7D8, #8E1F3F 58%, #3B241C); box-shadow: inset -24px 12px 30px rgba(255,241,206,.22); }
.mirror-cake span { position: absolute; inset: 18px 44px auto; height: 14px; border-radius: 20px; background: var(--gilded-sugar); }
.glass-sweep { position: absolute; inset: -30% auto -30% -40%; width: 34%; background: linear-gradient(90deg, transparent, rgba(255,241,206,.45), transparent); transform: rotate(18deg); animation: sweep 4.5s ease-in-out infinite; }

.velvet-booth { position: absolute; left: 8vw; bottom: 9vh; width: 48vw; height: 46vh; border-radius: 46% 46% 20px 20px; background: repeating-linear-gradient(90deg, rgba(142,31,63,.9) 0 34px, rgba(36,21,27,.9) 35px 42px); box-shadow: inset 0 28px 55px rgba(255,241,206,.08); }
.espresso-cup { position: absolute; left: 28%; top: 25%; width: 190px; height: 125px; border-radius: 0 0 68px 68px; background: var(--buttercream); box-shadow: inset 0 -22px #B86A28; }
.crema-moon { position: absolute; left: 35px; top: -20px; width: 122px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 65% 40%, #FFF1CE 0 12%, #D9A441 13% 34%, #3B241C 35%); }
.steam { position: absolute; top: -92px; width: 22px; height: 90px; border-left: 3px solid rgba(247,215,216,.65); border-radius: 50%; animation: steam 3.4s ease-in-out infinite; } .s1{left:50px}.s2{left:84px;animation-delay:.8s}.s3{left:120px;animation-delay:1.5s}

.cabinet-frame { width: min(82vw, 980px); }
.bonbon-grid { width: min(78vw, 760px); margin-top: 2rem; display: flex; justify-content: center; gap: clamp(1rem,3vw,2rem); perspective: 900px; }
.bonbon-charm { width: 100px; height: 130px; border-radius: 50%; border: 2px solid var(--gilded-sugar); background: linear-gradient(145deg, rgba(255,241,206,.85), rgba(247,215,216,.9)); box-shadow: inset 0 0 0 12px rgba(142,31,63,.12), 0 18px 35px rgba(0,0,0,.25); animation: bonbonTurn 5s ease-in-out infinite; }
.bonbon-charm span { display: block; width: 42px; height: 42px; margin: 43px auto; border-radius: 50%; background: radial-gradient(circle, #D9A441 0 20%, #8E1F3F 21% 48%, #3B241C 49%); }
.charm-b { animation-delay: .5s; } .charm-c { animation-delay: 1s; } .charm-d { animation-delay: 1.5s; } .charm-e { animation-delay: 2s; }
.bonbon-charm:hover { filter: drop-shadow(0 0 12px #D9A441); }

.macaron-shaker { position: absolute; right: 10vw; top: 20vh; width: 330px; height: 330px; transform: rotate(10deg); }
.macaron { position: absolute; left: 35px; width: 260px; height: 92px; border-radius: 50%; background: linear-gradient(#F7D7D8, #B86A28); box-shadow: inset 0 -14px rgba(62,36,28,.3); }
.macaron.top { top: 35px; animation: shakerTop 4s ease-in-out infinite; } .macaron.bottom { top: 186px; background: linear-gradient(#FFF1CE, #D9A441); }
.cream-layer { position: absolute; left: 55px; top: 130px; width: 220px; height: 85px; border-radius: 45%; background: var(--buttercream); box-shadow: 0 0 40px rgba(255,241,206,.2); }
.pour-line { position: absolute; right: -18px; bottom: 80px; width: 5px; height: 170px; border-radius: 8px; background: linear-gradient(#D9A441, #B86A28, transparent); transform: rotate(-28deg); animation: pour 2.8s ease-in-out infinite; }
.stained-parfait { position: absolute; left: 12vw; bottom: 12vh; width: 170px; height: 245px; border-radius: 85px 85px 20px 20px; border: 2px solid var(--pistachio-glass); background: linear-gradient(180deg, rgba(175,207,173,.18), rgba(247,215,216,.2)), repeating-linear-gradient(45deg, rgba(217,164,65,.75) 0 20px, rgba(142,31,63,.75) 21px 42px, rgba(255,241,206,.8) 43px 62px); }

.cherry-chandelier { position: absolute; top: 0; width: min(84vw, 780px); height: 45vh; display: flex; justify-content: space-between; padding: 0 5vw; }
.cherry-chandelier::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 160px; border: 1px solid rgba(217,164,65,.45); border-top: 0; border-radius: 0 0 50% 50%; }
.cherry-chandelier i { position: relative; width: 24px; height: var(--stem, 130px); border-left: 2px solid var(--gilded-sugar); }
.cherry-chandelier i::after { content: ""; position: absolute; bottom: -26px; left: -15px; width: 32px; height: 32px; border-radius: 50%; background: #8E1F3F; box-shadow: 0 0 var(--glow, 7px) #D9A441; transition: box-shadow .45s ease, background .45s ease; }
.cherry-chandelier i:nth-child(2n) { --stem: 190px; } .cherry-chandelier i:nth-child(3n) { --stem: 155px; }
.cherry-chandelier i.lit::after { background: #F7D7D8; box-shadow: 0 0 24px #D9A441, 0 0 52px #8E1F3F; }
.finale-arch { margin-top: 18vh; }
.closing-card { margin-top: 2rem; padding: 1.2rem 1.5rem; border: 1px solid var(--gilded-sugar); color: var(--espresso-ink); background: linear-gradient(135deg, #FFF1CE, #F7D7D8); font-family: var(--ui-font); letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }

@keyframes flicker { 0%,100%{opacity:1} 50%{opacity:.55} 70%{opacity:.9} }
@keyframes fall { to { transform: translateY(110vh) rotate(180deg); opacity: 0; } }
@keyframes wheel { to { transform: rotate(360deg); } }
@keyframes sweep { 0%{left:-45%} 45%,100%{left:120%} }
@keyframes steam { 0%{transform:translateY(20px) scale(.8);opacity:0} 45%{opacity:.8} 100%{transform:translateY(-35px) translateX(30px) scale(1.18);opacity:0} }
@keyframes bonbonTurn { 0%,100%{transform:rotateY(-14deg)} 50%{transform:rotateY(18deg) translateY(-8px)} }
@keyframes shakerTop { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-24px) rotate(-8deg)} }
@keyframes pour { 0%,100%{opacity:.15; height:70px} 50%{opacity:1; height:170px} }

@media (max-width: 760px) {
  .salon-scene { padding: 7vh 5vw; }
  .wide { grid-template-columns: 1fr; text-align: center; }
  .narrow, .offset { width: min(88vw, 640px); margin-left: 0; }
  .pearl-nav { right: 10px; }
  .dessert-cart { transform: scale(.72); left: -4vw; bottom: 2vh; }
  .menu-slip, .annotated, .script-note { display: none; }
  .velvet-booth { width: 84vw; left: 4vw; opacity: .42; }
  .macaron-shaker { opacity: .42; right: -18vw; }
  .cloche-glass { width: 72vw; }
  .bonbon-grid { flex-wrap: wrap; }
}
