:root {
  /* Palette — taken from the invitation-card reference */
  --rose: #A43544;        /* dusty burgundy · cover */
  --wine: #8D0D22;        /* deep wine · satin ribbon */
  --wine-deep: #5e0816;   /* shade of wine */
  --olive: #535749;       /* dark olive · printed card */
  --olive-deep: #3b3e33;  /* shade of olive */
  --ivory: #D1C7C5;       /* warm ivory · neutral */
  --cream: #efe9e6;       /* light ivory paper */
  --paper: #e4dcd9;       /* mid ivory */
  --ink: #292923;         /* charcoal · text */
  --gold: #c2a05a;        /* foil accent */
  --gold-light: #e6d09a;
  --script: "Pinyon Script", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --caps: "Cinzel", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; height: 100vh; }

#petals {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 50;
}

/* ===================== INTRO / ENVELOPE ===================== */
#intro {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
  background:
    radial-gradient(ellipse at 50% 40%, #4a4d40 0%, var(--olive-deep) 45%, var(--ink) 100%);
  transition: opacity 1.4s ease 1.6s, visibility 0s linear 3s;
  overflow: hidden;
}
#intro.opened { opacity: 0; visibility: hidden; }
.intro-glow {
  position: absolute; width: 140vmax; height: 140vmax;
  background: conic-gradient(from 0deg, transparent, rgba(209,199,197,.07), transparent 30%, rgba(236,211,155,.06), transparent 60%);
  animation: spin 40s linear infinite;
}
.intro-kicker {
  position: relative;
  font-family: var(--caps); letter-spacing: .4em; text-transform: uppercase;
  font-size: clamp(.7rem, 2.4vw, .95rem); color: var(--gold-light);
  animation: fadeUp 1.4s ease both .3s;
  text-align: center; padding: 0 1rem;
}
.intro-hint {
  position: relative; color: rgba(236,211,155,.75); font-style: italic; font-size: 1.1rem;
  display: flex; align-items: center; gap: .6rem;
  animation: fadeUp 1.4s ease both 1s;
  transition: opacity .5s;
}
#intro.opened .intro-hint, #intro.opened .intro-kicker { opacity: 0; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light);
  box-shadow: 0 0 0 0 rgba(236,211,155,.7); animation: pulse 1.8s infinite;
}

.envelope {
  --w: min(84vw, 420px);
  --h: calc(var(--w) * .66);
  position: relative; width: var(--w); height: var(--h);
  border: 0; background: none; cursor: pointer;
  perspective: 1200px;
  animation: floatIn 1.6s cubic-bezier(.2,.8,.2,1) both .5s, bob 5s ease-in-out infinite 2.2s;
  -webkit-tap-highlight-color: transparent;
}
.envelope > span { position: absolute; display: block; }
.env-back {
  inset: 0; border-radius: 6px;
  background: linear-gradient(160deg, #8f2a38, #7a2230);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.env-letter {
  left: 6%; right: 6%; top: 6%; height: 88%;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(160deg, #5d6152, var(--olive) 55%, var(--olive-deep));
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  display: flex !important; align-items: center; justify-content: center;
  transition: transform 1.2s cubic-bezier(.6,.0,.2,1) .7s;
  z-index: 1;
}
.letter-inner {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  border: 1px solid var(--gold); inset: 6px; position: absolute; justify-content: center;
}
.letter-small { font-family: var(--caps); font-size: .65rem; letter-spacing: .3em; color: var(--gold-light); }
.letter-names { font-family: var(--script); font-size: clamp(1.6rem, 6vw, 2.4rem); color: var(--cream); }
.letter-names i { font-style: normal; color: var(--gold); }
.env-front {
  inset: 0; z-index: 2; border-radius: 0 0 6px 6px; pointer-events: none;
  background: linear-gradient(180deg, #b23d4d, var(--rose) 60%, #962e3c);
  clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%);
}
.env-flap {
  left: 0; right: 0; top: 0; height: 62%; z-index: 3;
  background: linear-gradient(180deg, #b8414f, #9a3040);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform .9s cubic-bezier(.5,0,.3,1) .25s, z-index 0s .7s;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.15));
}
.seal {
  left: 50%; top: 62%; z-index: 4;
  width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d9cfa0, var(--gold) 50%, #8a6d33);
  box-shadow: 0 6px 14px rgba(0,0,0,.4), inset 0 -4px 8px rgba(0,0,0,.35), inset 0 3px 6px rgba(255,255,255,.2);
  display: flex !important; align-items: center; justify-content: center;
  transition: transform .6s cubic-bezier(.5,-0.5,.5,1), opacity .5s;
}
.seal::before {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 1.5px dashed rgba(94,8,22,.45);
}
.seal span { font-family: var(--script); font-size: 1.9rem; color: var(--wine-deep); text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.seal em { font-style: normal; font-size: 1.3rem; margin: 0 1px; }
.envelope:hover .seal { transform: scale(1.08) rotate(-6deg); }

.envelope.open { animation: none; }
.envelope.open .seal { transform: scale(1.6) rotate(25deg); opacity: 0; }
.envelope.open .env-flap { transform: rotateX(180deg); z-index: 0; }
.envelope.open .env-letter { transform: translateY(-62%); }

/* Satin ribbon & bow */
.ribbon {
  left: -2%; right: -2%; top: 62%; height: 16%; margin-top: -8%; z-index: 4;
  background: linear-gradient(180deg, #6e0919 0%, var(--wine) 25%, #b0263c 48%, var(--wine) 70%, #5e0816 100%);
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
  transition: transform .7s cubic-bezier(.6,0,.4,1), opacity .5s .2s;
  transform-origin: right center;
}
.bow {
  left: 50%; top: 62%; width: 0; height: 0; z-index: 5;
  transition: transform .7s cubic-bezier(.5,-0.4,.5,1), opacity .5s .1s;
}
.bow i { position: absolute; display: block; }
.bow .loop {
  width: 64px; height: 44px; top: -22px;
  background: radial-gradient(ellipse at 40% 35%, #c0344a, var(--wine) 55%, #5e0816);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: inset 0 -6px 10px rgba(0,0,0,.35), 0 4px 8px rgba(0,0,0,.3);
}
.bow .loop.l { right: 14px; transform: rotate(-14deg); border-radius: 60% 30% 30% 60%; }
.bow .loop.r { left: 14px; transform: rotate(14deg); border-radius: 30% 60% 60% 30%; }
.bow .tail {
  width: 18px; height: 52px; top: 6px;
  background: linear-gradient(90deg, #6e0919, var(--wine) 50%, #a02035);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
}
.bow .tail.l { right: 0; transform: rotate(22deg); transform-origin: top right; }
.bow .tail.r { left: 0; transform: rotate(-22deg); transform-origin: top left; }
.bow .knot { display: none; }
.seal { z-index: 6; }
.envelope.open .ribbon { transform: scaleX(0); opacity: 0; }
.envelope.open .bow { transform: translateY(40px) scale(.4) rotate(30deg); opacity: 0; }

/* ===================== MAIN ===================== */
main { opacity: 0; transition: opacity 1.4s ease; }
main.show { opacity: 1; }

.anim { opacity: 0; }
main.show .anim { animation: fadeUp 1.2s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }

/* Hero */
.hero {
  min-height: 100svh; position: relative; display: grid; place-items: center; text-align: center;
  padding: 4rem 1.25rem; overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(255,255,255,.10), transparent 45%),
    radial-gradient(ellipse at 90% 90%, rgba(0,0,0,.28), transparent 50%),
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(0,0,0,.035) 38px 40px),
    var(--olive);
  color: var(--cream);
}
.rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(194,160,90,.35);
}
.r1 { width: min(92vw, 640px); aspect-ratio: 1; animation: breathe 9s ease-in-out infinite; }
.r2 { width: min(78vw, 540px); aspect-ratio: 1; border-style: dashed; animation: spin 80s linear infinite; }
.r3 { width: min(110vw, 780px); aspect-ratio: 1; border-color: rgba(209,199,197,.18); animation: breathe 12s ease-in-out infinite reverse; }

.hero-inner { position: relative; z-index: 1; }
.kicker {
  font-family: var(--caps); letter-spacing: .32em; text-transform: uppercase;
  font-size: clamp(.68rem, 2.2vw, .9rem); color: var(--ivory); max-width: 30ch; margin: 0 auto 1.4rem; line-height: 1.9;
}
.names { font-weight: 400; line-height: .95; }
.name {
  display: block; font-family: var(--script); font-weight: 400;
  font-size: clamp(3.6rem, 15vw, 8.5rem); color: var(--cream);
  text-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.name .ch {
  display: inline-block; opacity: 0; transform: translateY(.4em) rotate(8deg); filter: blur(8px);
}
main.show .name .ch { animation: letterIn 1s cubic-bezier(.2,.8,.2,1) forwards; }
.amp {
  display: block; font-family: var(--script); font-size: clamp(2.6rem, 9vw, 4.6rem);
  background: linear-gradient(100deg, #a77d3a 20%, #f6e3b4 40%, #c9a15b 60%, #a77d3a 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
main.show .amp { animation: fadeUp 1.2s ease both var(--d), shimmer 4s linear infinite 2.5s; }

.divider { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1.6rem auto 1.2rem; }
.divider span { height: 1px; width: 80px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider span:last-child { transform: scaleX(-1); }
.divider svg { width: 22px; fill: var(--gold); animation: spin 14s linear infinite; }

.hero-date {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-family: var(--caps); color: var(--ivory); letter-spacing: .2em; text-transform: uppercase; font-size: clamp(.78rem, 2.6vw, 1rem);
}
.hero-date b {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 10vw, 4rem); letter-spacing: 0;
  color: var(--gold-light); padding: 0 1rem; border-left: 1px solid var(--gold); border-right: 1px solid var(--gold); line-height: 1;
}
.hero-place { margin-top: 1rem; font-style: italic; font-size: clamp(1.05rem, 3.5vw, 1.35rem); color: var(--ivory); }

.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--caps); font-size: .65rem; letter-spacing: .35em; color: var(--gold-light); text-decoration: none;
}
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 10px; border-radius: 3px; background: var(--rose);
  animation: drip 2s ease-in-out infinite;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Families */
.families { padding: 6rem 1.25rem; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--cream), var(--ivory)); }
.card {
  position: relative; max-width: 760px; width: 100%; text-align: center;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.4rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(255,255,255,.09), transparent 50%),
    radial-gradient(ellipse at 10% 95%, rgba(0,0,0,.25), transparent 55%),
    var(--olive);
  color: var(--cream);
  border: 10px solid var(--rose);
  box-shadow: 0 30px 80px -30px rgba(141,13,34,.55), inset 0 0 0 1px rgba(0,0,0,.2);
  outline: 1px solid rgba(194,160,90,.55); outline-offset: -24px;
}
.corner { position: absolute; width: 44px; height: 44px; border: 2px solid var(--gold); }
.corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.eyebrow { font-family: var(--caps); letter-spacing: .3em; text-transform: uppercase; color: var(--rose); font-size: clamp(.68rem, 2.2vw, .85rem); line-height: 1.9; }
.card .eyebrow { color: var(--gold-light); }
.eyebrow.light { color: var(--ivory); }
.parents { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin: 2.2rem 0; flex-wrap: wrap; }
.parent { flex: 1 1 220px; }
.parent-label { font-style: italic; color: var(--ivory); font-size: 1.05rem; }
.parent-name { font-size: clamp(1.35rem, 4.4vw, 1.75rem); font-weight: 500; color: var(--cream); margin-top: .25rem; }
.parent-amp { font-family: var(--script); font-size: 2.8rem; color: var(--gold); }
.request { font-size: clamp(1.1rem, 3.6vw, 1.35rem); font-style: italic; max-width: 32ch; margin: 0 auto 1.6rem; color: var(--ivory); }
.couple { display: flex; flex-direction: column; align-items: center; }
.couple-name { font-family: var(--script); font-size: clamp(2.6rem, 10vw, 4.2rem); color: var(--cream); line-height: 1.1; }
.couple-amp { font-family: var(--caps); color: var(--gold); letter-spacing: .3em; margin: .2rem 0; }

/* Countdown */
.countdown-sec {
  padding: 5.5rem 1.25rem; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, var(--rose), var(--wine) 55%, var(--wine-deep));
  color: var(--cream);
}
.countdown { display: flex; justify-content: center; gap: clamp(.6rem, 3vw, 2rem); margin-top: 2rem; flex-wrap: wrap; }
.countdown div {
  width: clamp(72px, 20vw, 130px); padding: 1.1rem .4rem;
  border: 1px solid rgba(230,208,154,.4); border-radius: 999px 999px 12px 12px;
  background: rgba(255,255,255,.06); backdrop-filter: blur(4px);
}
.countdown b { display: block; font-weight: 300; font-size: clamp(2rem, 7vw, 3.4rem); color: var(--gold-light); font-variant-numeric: tabular-nums; }
.countdown b.tick { animation: tick .5s ease; }
.countdown span { font-family: var(--caps); font-size: clamp(.55rem, 1.8vw, .72rem); letter-spacing: .25em; text-transform: uppercase; opacity: .75; }
.countdown-done { margin-top: 1.4rem; font-family: var(--script); font-size: 2.6rem; color: var(--gold-light); }

/* Details */
.details { padding: 6rem 1.25rem; text-align: center; background: var(--cream); }
.section-title { font-family: var(--script); font-weight: 400; font-size: clamp(3rem, 10vw, 4.6rem); color: var(--rose); margin-bottom: 2.5rem; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.8rem; max-width: 860px; margin: 0 auto; }
.detail {
  background: #f6f2f0; padding: 2.6rem 1.8rem; border-radius: 200px 200px 14px 14px;
  border: 1px solid rgba(164,53,68,.35); box-shadow: 0 20px 50px -25px rgba(83,87,73,.55);
  transform-style: preserve-3d; transition: opacity 1.1s ease, transform .4s ease, box-shadow .4s;
}
.detail.in { transition: opacity 1.1s ease, transform .25s ease-out, box-shadow .4s; }
.detail:hover { box-shadow: 0 30px 60px -25px rgba(83,87,73,.7); }
.icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--olive); }
.icon svg { width: 34px; fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.detail h3 { font-family: var(--caps); font-weight: 400; letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; color: var(--olive); margin-bottom: .8rem; }
.detail .big { font-size: 1.6rem; font-weight: 500; color: var(--rose); margin-bottom: .3rem; }
.detail p { font-size: 1.15rem; color: var(--ink); line-height: 1.5; }

.btn {
  display: inline-block; margin-top: 1.4rem; padding: .85rem 1.8rem; border-radius: 999px;
  font-family: var(--caps); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--cream); background: linear-gradient(135deg, var(--wine), var(--rose));
  border: 0; cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 10px 24px -10px rgba(141,13,34,.7); transition: transform .3s, box-shadow .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transition: transform .8s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(141,13,34,.8); }
.btn:hover::after { transform: translateX(120%); }
.btn.ghost { background: transparent; color: var(--cream); border: 1px solid var(--gold-light); box-shadow: none; }
.btn.reveal.in:hover { transform: translateY(-2px); }

/* Closing */
.closing {
  padding: 7rem 1.25rem 6rem; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, rgba(164,53,68,.35), transparent 60%),
    linear-gradient(180deg, var(--olive), var(--olive-deep));
  color: var(--cream);
}
.closing-script { font-family: var(--script); font-size: clamp(2.6rem, 9vw, 4rem); color: var(--gold-light); }
.closing-text { font-size: clamp(1.15rem, 3.8vw, 1.45rem); font-style: italic; margin: 1rem auto 2rem; line-height: 1.6; color: var(--ivory); }
.closing-names { font-family: var(--caps); letter-spacing: .35em; text-transform: uppercase; color: var(--cream); font-size: clamp(.9rem, 3vw, 1.15rem); }
.closing-names span { color: var(--gold); }
.hearts { position: absolute; inset: 0; pointer-events: none; }
.hearts i {
  position: absolute; bottom: -30px; color: #c4505f; opacity: 0; font-style: normal;
  animation: rise linear infinite;
}
.toast {
  position: fixed; left: 50%; bottom: 2rem; translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--wine); color: var(--cream); padding: .8rem 1.4rem; border-radius: 999px;
  font-size: 1rem; transition: opacity .4s, translate .4s; z-index: 60;
}
.toast.show { opacity: 1; translate: -50% 0; }

footer { text-align: center; padding: 2rem; font-family: var(--caps); font-size: .7rem; letter-spacing: .3em; color: var(--ivory); background: var(--ink); }

/* Colours of the Day */
.colours {
  padding: 6rem 1.25rem; text-align: center;
  background: linear-gradient(180deg, var(--cream), var(--paper));
}
.colours .section-title { margin: .4rem 0 3rem; }
.swatches { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 5vw, 3rem); flex-wrap: wrap; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.chip {
  position: relative; display: block; overflow: hidden;
  width: clamp(140px, 36vw, 200px); aspect-ratio: 3 / 4;
  border-radius: 999px 999px 18px 18px;
  box-shadow: 0 24px 50px -22px rgba(41,41,35,.6), inset 0 0 0 6px rgba(255,255,255,.08);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.chip::before { /* satin fold lines */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(100deg, transparent 0 22px, rgba(255,255,255,.07) 26px, transparent 32px);
}
.chip::after { /* inner gold frame */
  content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(194,160,90,.6);
}
.ivory-sw .chip { background: linear-gradient(160deg, #f4efe9, #e8dfd6 45%, #d8cdc2); }
.olive-sw .chip { background: linear-gradient(160deg, #6a6e5d, var(--olive) 50%, var(--olive-deep)); }
.sheen {
  position: absolute; top: -20%; bottom: -20%; width: 45%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-15deg); animation: sheen 5s ease-in-out infinite;
}
.olive-sw .sheen { animation-delay: 2.5s; background: linear-gradient(100deg, transparent, rgba(255,255,255,.2), transparent); }
.swatch:hover .chip { transform: translateY(-8px) rotate(-2deg); }
.olive-sw:hover .chip { transform: translateY(-8px) rotate(2deg); }
.swatch figcaption b { display: block; font-family: var(--script); font-weight: 400; font-size: clamp(2.2rem, 7vw, 2.8rem); color: var(--ink); line-height: 1; }
.swatch figcaption small { display: block; margin-top: .4rem; font-family: var(--caps); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); }
.swatch-amp { font-family: var(--script); font-size: 3rem; color: var(--gold); }
.colours-note { margin: 2.8rem auto 0; max-width: 34ch; font-style: italic; font-size: clamp(1.1rem, 3.6vw, 1.35rem); color: var(--olive); line-height: 1.6; }

/* Sparkle trail */
.sparkle {
  position: fixed; width: 10px; height: 10px; pointer-events: none; z-index: 55;
  background: radial-gradient(circle, #fff 0%, var(--gold-light) 35%, transparent 70%);
  border-radius: 50%; animation: sparkle .9s ease-out forwards;
}

/* ===================== KEYFRAMES ===================== */
@keyframes sheen { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(60px) scale(.9) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(.6deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(236,211,155,.7); } 100% { box-shadow: 0 0 0 14px rgba(236,211,155,0); } }
@keyframes letterIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes shimmer { to { background-position: -250% 0; } }
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.05); opacity: .45; } }
@keyframes drip { 0% { top: -10px; } 100% { top: 46px; } }
@keyframes tick { 0% { transform: translateY(-30%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .7; } 100% { transform: translateY(-110vh) translateX(var(--x, 30px)) scale(1.1); opacity: 0; } }
@keyframes sparkle { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.2) translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .name .ch { opacity: 1; transform: none; filter: none; }
}
