/* Velvet Wreath (DRAFT 2026-12-03) — design touches over site/gatefold/style.css, scoped to html.vw-on.
   Palette: ivory plaster (paper), deep pine green, burgundy velvet (the bow), antique gold (the bow's edge). */
/* the occasion title inside the wreath: engraved-looking Roman capitals in antique gold, a warm ivory halo on the lit plaster */
html.vw-on .hero .hn-k { font-family: 'Cinzel', var(--serif), serif; font-weight: 600; color: #6a4719;
  text-shadow: 0 0 8px rgba(255, 246, 232, .95), 0 0 2px rgba(255, 246, 232, .9); }
/* the names: deep burgundy script, a soft ivory glow behind (never a hard outline) */
html.vw-on .hero .hn-names { color: #5a1421; text-shadow: 0 0 12px rgba(255, 246, 234, .9), 0 0 3px rgba(255, 246, 234, .8); }
html.vw-on .hero .hn-names .amp { color: #8a6326; }
/* the date: the same Roman capitals, a little smaller, burgundy-brown */
html.vw-on .hero .hn-date { font-family: 'Cinzel', var(--serif), serif; font-weight: 600; color: #5a2a22; }
/* the themed hint pill: velvet-burgundy letters on warm ivory, a hairline antique-gold edge */
html.vw-on .hero .hint { font-family: 'Cinzel', var(--serif), serif; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(168, 130, 62, .55), 0 6px 18px rgba(30, 20, 15, .22); }
/* the wreath's opening is round: wide-tracked capitals at its narrow top / bottom chords squeezed the names (320 px: 10 px names) —
   a calmer tracking by default (the engine's ovalFit may still set its own --hn-ks inline) */
html.vw-on .hero .hn { --hn-ks: .16em; }
html.vw-on .hero .hn-date { letter-spacing: .14em; }
/* ── photoreal page art (owner 2026-12-03: one premium set with the film) ── */
/* the fir-and-velvet garland divider: wide enough to read as a garland, not a sprig */
html.vw-on .divider.dimg { width: min(70%, 270px); }
/* the pieces carry their own soft contact shadow (painted in the PNG): no CSS drop shadow on top — it also made WebKit re-blur these big
   transparent pictures on every scroll tile (smooth.js 2026-12-03: 40+ frames over 34 ms) */
html.vw-on .decor.big, html.vw-on .decor.big img, html.vw-on .guests img, html.vw-on .venue-art img, html.vw-on .note-art img { filter: none !important; }
html.vw-on .decor.big:not(.s):not(.xs):not(.wide) { width: min(64%, 260px); }
/* the mulled-wine still life inside the Good to Know card */
html.vw-on .note-card .note-art { width: min(52%, 150px); margin: 18px auto 10px; } /* room above the mugs for the steam */
html.vw-on .note-card .note-art img { animation: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
/* the fabric swatches under the dress-code title */
html.vw-on .guests { width: min(92%, 380px); }
/* ── living moments (velvet.js): opacity / transform only, loops run only while on screen (.vw-live) ── */
html.vw-on .vw-stage { position: relative; display: block; -webkit-tap-highlight-color: transparent; }
html.vw-on .vw-stage > img:first-child { display: block; width: 100%; height: auto; }
html.vw-on .vw-ov { position: absolute; display: block; max-width: none; opacity: 0; pointer-events: none; transition: opacity 1.1s cubic-bezier(.3, .1, .3, 1); will-change: opacity; }
html.vw-on .vw-ov.on { opacity: 1; }
html.vw-on .vw-f { transition-duration: .55s; }
html.vw-on .vw-full { transition-duration: 1.6s; }
html.vw-on .vw-candles, html.vw-on .vw-gift { cursor: pointer; }
html.vw-on .vw-stage i { position: absolute; pointer-events: none; display: block; }
/* a living flame: a soft warm core over the still's own flame, flickering from its base */
html.vw-on .vw-flame { width: var(--fw); height: 0; padding-bottom: var(--fh); margin-left: calc(var(--fw) / -2); transform: translateY(-62%); opacity: 0; transition: opacity .5s ease; }
html.vw-on .vw-flame::before { content: ''; position: absolute; inset: 0; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse 50% 60% at 50% 66%, rgba(255, 251, 238, .9) 0, rgba(255, 226, 160, .62) 38%, rgba(255, 170, 70, .22) 62%, rgba(255, 150, 50, 0) 76%);
  transform-origin: 50% 92%; will-change: transform, opacity; }
html.vw-on .vw-flame.on { opacity: 1; }
html.vw-on .vw-live .vw-flame.on::before { animation: vwFlick var(--fd, 1.6s) ease-in-out infinite alternate; }
@keyframes vwFlick { 0% { transform: scale(1, 1) rotate(0); opacity: .92; } 23% { transform: scale(.96, 1.07) rotate(-2deg); opacity: 1; } 41% { transform: scale(1.03, .95) rotate(1.4deg); opacity: .86; }
  67% { transform: scale(.97, 1.04) rotate(-.8deg); opacity: .97; } 100% { transform: scale(1.02, .98) rotate(1deg); opacity: .9; } }
/* the warm halo it throws on the brass and the paper: breathes slowly */
html.vw-on .vw-halo { width: var(--hs); height: 0; padding-bottom: var(--hs); margin-left: calc(var(--hs) / -2); transform: translateY(-50%); opacity: 0; transition: opacity 1.2s ease;
  background: radial-gradient(circle, rgba(255, 205, 130, .34) 0, rgba(255, 190, 110, .14) 34%, rgba(255, 180, 100, 0) 68%); border-radius: 50%; will-change: opacity, transform; }
html.vw-on .vw-halo.on { opacity: 1; }
html.vw-on .vw-live .vw-halo.on { animation: vwBreathe var(--hd, 3.4s) ease-in-out infinite alternate; }
@keyframes vwBreathe { from { opacity: .72; transform: translateY(-50%) scale(.96); } to { opacity: 1; transform: translateY(-50%) scale(1.05); } }
html.vw-on .vw-halo.small { background: radial-gradient(circle, rgba(255, 205, 130, .3) 0, rgba(255, 190, 110, .1) 38%, rgba(255, 180, 100, 0) 70%); }
/* the house's lanterns after the lights come on */
html.vw-on .vw-lantern { width: 9%; height: 0; padding-bottom: 9%; margin-left: -4.5%; transform: translateY(-50%); border-radius: 50%; opacity: 0; transition: opacity 1.4s ease;
  background: radial-gradient(circle, rgba(255, 214, 140, .5) 0, rgba(255, 196, 110, .18) 36%, rgba(255, 190, 100, 0) 70%); will-change: opacity; }
html.vw-on .vw-lantern.on { opacity: .8; }
html.vw-on .vw-live .vw-lantern.on { animation: vwLan var(--ld, 3.6s) ease-in-out infinite alternate; }
@keyframes vwLan { from { opacity: .55; } to { opacity: .9; } }
/* steam over the mulled wine: soft elongated wisps that rise, sway and fade */
html.vw-on .vw-steam { width: var(--sw); height: 0; padding-bottom: calc(var(--sw) * 1.7); margin-left: calc(var(--sw) / -2); transform: translateY(-100%); opacity: 0;
  /* (white steam vanished on the ivory paper: a faint warm-grey veil with a light core reads as steam on a light page) */
  background: radial-gradient(ellipse 34% 50% at 50% 55%, rgba(252, 249, 244, .8) 0, rgba(130, 110, 98, .2) 36%, rgba(130, 110, 98, .09) 56%, rgba(140, 120, 108, 0) 74%); border-radius: 50%; will-change: transform, opacity; }
html.vw-on .vw-live .vw-steam { animation: vwSteam var(--sd, 6s) cubic-bezier(.35, .1, .4, 1) var(--sdel, 0s) infinite; }
@keyframes vwSteam { 0% { transform: translate(0, -45%) scale(.6, .55); opacity: 0; } 22% { opacity: .8; } 60% { transform: translate(var(--sx), -75%) scale(.95, 1) rotate(4deg); opacity: .45; }
  100% { transform: translate(calc(var(--sx) * -1), -105%) scale(1.25, 1.2) rotate(-5deg); opacity: 0; } }
/* the garland's tiny warm lights */
html.vw-on .vw-tw { width: 3%; height: 0; padding-bottom: 3%; margin-left: -1.5%; transform: translateY(-50%) scale(.4); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(255, 250, 230, 1) 0, rgba(255, 214, 140, .8) 26%, rgba(255, 190, 100, .25) 50%, rgba(255, 190, 100, 0) 72%); will-change: transform, opacity; }
html.vw-on .vw-live .vw-tw { animation: vwTw var(--td, 5s) ease-in-out var(--tdel, 0s) infinite; }
@keyframes vwTw { 0%, 40%, 100% { opacity: 0; transform: translateY(-50%) scale(.4); } 58% { opacity: .95; transform: translateY(-50%) scale(1); } 74% { opacity: .55; transform: translateY(-50%) scale(.8); } }
/* the gift: a slow sheen over the box and the velvet, a gentle lift on a tap */
html.vw-on .vw-sheen { inset: 0; overflow: hidden; -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
html.vw-on .vw-sheen b { position: absolute; top: -10%; bottom: -10%; left: -60%; width: 45%; transform: translateX(-30%) skewX(-18deg); opacity: 0;
  background: linear-gradient(90deg, rgba(255, 244, 222, 0), rgba(255, 244, 222, .42) 50%, rgba(255, 244, 222, 0)); will-change: transform, opacity; }
html.vw-on .vw-gift.sheen .vw-sheen b { animation: vwSheen 1.9s cubic-bezier(.4, .1, .3, 1) both; }
@keyframes vwSheen { 0% { transform: translateX(-30%) skewX(-18deg); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(420%) skewX(-18deg); opacity: 0; } }
html.vw-on .vw-gift.lift > img:first-child { animation: vwLift 1.1s cubic-bezier(.3, .1, .25, 1) both; }
@keyframes vwLift { 0% { transform: none; } 40% { transform: translateY(-6%) rotate(-1.5deg); } 70% { transform: translateY(-1%) rotate(.4deg); } 100% { transform: none; } }
/* the small themed cues under the candles and the gift */
html.vw-on .vw-cue { display: block; margin: 10px auto 2px; padding: 7px 16px; border: 0; border-radius: 999px; background: rgba(250, 244, 234, .9); color: #6e1a26;
  font: 500 10.5px/1.3 'Cinzel', var(--serif), serif; letter-spacing: .14em; white-space: nowrap; font-size: min(10.5px, 3vw); text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(168, 130, 62, .5); cursor: pointer;
  transition: opacity .6s ease, transform .6s ease; }
html.vw-on .vw-cue.gone { opacity: 0; transform: translateY(-4px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { html.vw-on .vw-stage *, html.vw-on .vw-stage *::before { animation: none !important; } html.vw-on .vw-steam, html.vw-on .vw-tw { display: none !important; } }
/* the engine's decorations ignore taps (.decor { pointer-events: none }): the candles, the gift and their cues take them */
html.vw-on .decor .vw-candles, html.vw-on .decor .vw-gift, html.vw-on .decor .vw-cue { pointer-events: auto; position: relative; z-index: 2; }
