/* Complete tribute enhancement layer */
:root{--rose:#b76b6b;--gold2:#c59a3a}
.hero-gift{margin-top:26px;display:grid;gap:4px;padding:15px 20px;border:1px solid var(--rule);border-radius:18px;background:rgba(255,255,255,.58);box-shadow:var(--shadow-soft);animation:giftFloat 4s ease-in-out infinite}.hero-gift small{letter-spacing:.18em;color:var(--gold-deep);font-weight:700}.hero-gift strong{font-family:'Cormorant Garamond',serif;font-size:1.15rem}.hero-gift span{color:var(--ink-soft);font-size:.84rem}.floating{animation:photoFloat 6s ease-in-out infinite}.timeline{position:relative;max-width:850px;margin:40px auto}.timeline:before{content:"";position:absolute;left:19px;top:0;bottom:0;width:2px;background:linear-gradient(var(--gold),transparent)}.timeline-item{display:grid;grid-template-columns:40px 1fr;gap:20px;padding:0 0 38px;opacity:0;transform:translateX(-20px);transition:opacity .8s ease,transform .8s ease}.timeline-item.in-view{opacity:1;transform:none}.timeline-dot{width:14px;height:14px;margin:4px 0 0 13px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 6px var(--gold-pale);animation:pulseDot 2.2s infinite}.timeline-year{display:inline-block;color:var(--gold-deep);font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.75rem}.timeline-item h3{margin:5px 0;font-size:1.7rem}.timeline-item p{color:var(--ink-soft)}.quote-card{max-width:850px;margin:20px auto;padding:44px 34px;text-align:center;border:1px solid var(--rule);border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.9),rgba(245,239,221,.72));box-shadow:var(--shadow);position:relative;overflow:hidden}.quote-card:before{content:'“';position:absolute;left:20px;top:-35px;font:900 150px/1 'Cormorant Garamond';color:var(--gold-pale)}#quoteText{font:600 2rem/1.25 'Cormorant Garamond';position:relative;min-height:70px;animation:quoteIn .6s ease}#quoteAuthor{margin-top:14px;color:var(--gold-deep);font-weight:700}.quote-controls{display:flex;justify-content:center;gap:8px;margin-top:25px}.quote-controls button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:var(--gold-pale);cursor:pointer}.quote-controls button.active{background:var(--green);transform:scale(1.4)}.ai-engine{margin-top:12px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--ink-soft);font-size:.75rem}.pulse-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 0 rgba(47,74,60,.35);animation:pulseDot 1.8s infinite}.gallery-grid{align-items:stretch}.gallery-item{min-height:280px;overflow:hidden;position:relative;cursor:zoom-in}.gallery-item img{width:100%;height:100%;min-height:280px;object-fit:contain;background:linear-gradient(135deg,#fff,#f2ead7);transition:transform .8s cubic-bezier(.2,.8,.2,1),filter .5s ease}.gallery-item:hover img{transform:scale(1.045);filter:saturate(1.08)}.gallery-item:after{content:'FULL SIZE ↗';position:absolute;right:12px;bottom:12px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.85);font-size:.65rem;font-weight:700;color:var(--green);opacity:0;transform:translateY(8px);transition:.3s}.gallery-item:hover:after{opacity:1;transform:none}.lightbox{position:fixed;inset:0;z-index:1200;background:rgba(24,22,17,.92);display:flex;align-items:center;justify-content:center;gap:12px;padding:25px}.lightbox-stage{max-width:92vw;max-height:92vh;display:flex;flex-direction:column;align-items:center;gap:10px}.lightbox-stage img{max-width:90vw;max-height:84vh;width:auto;height:auto;object-fit:contain;box-shadow:0 25px 80px rgba(0,0,0,.4);border-radius:8px}.lightbox-caption{color:#fff;text-align:center}.lightbox-close,.lightbox-nav{border:0;color:#fff;background:rgba(255,255,255,.12);backdrop-filter:blur(8px);cursor:pointer}.lightbox-close{position:absolute;right:22px;top:15px;font-size:2.3rem;width:50px;height:50px;border-radius:50%}.lightbox-nav{font-size:3rem;width:55px;height:70px;border-radius:18px}.finale-seal{width:76px;height:76px;border-radius:50%;margin:0 auto 20px;display:grid;place-items:center;background:var(--green);color:#f3e9c8;font:700 1.4rem 'Cormorant Garamond';box-shadow:0 0 0 8px rgba(173,128,37,.12);animation:sealGlow 3s infinite}.footer-note{opacity:.65}.nav-toggle{display:none;border:0;background:transparent;font-size:1.2rem}.msg{animation:messageIn .45s cubic-bezier(.2,.8,.2,1);white-space:pre-wrap}.msg-user{transform-origin:right}.msg-ai{transform-origin:left}
@keyframes giftFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes photoFloat{0%,100%{transform:translateY(0) rotate(.3deg)}50%{transform:translateY(-10px) rotate(-.3deg)}}@keyframes pulseDot{0%,100%{box-shadow:0 0 0 0 rgba(47,74,60,.35)}50%{box-shadow:0 0 0 8px rgba(47,74,60,0)}}@keyframes quoteIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes messageIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:760px){.topnav{border-radius:20px}.nav-toggle{display:block}.topnav nav{display:none;position:absolute;left:0;right:0;top:58px;padding:10px;background:rgba(255,255,255,.96);border:1px solid var(--rule);border-radius:18px;box-shadow:var(--shadow)}.topnav.open nav{display:block}.nav-links{flex-direction:column;align-items:stretch}.nav-links a{display:block}.timeline:before{left:14px}.timeline-item{grid-template-columns:30px 1fr;gap:12px}.timeline-dot{margin-left:8px}#quoteText{font-size:1.65rem}.lightbox{padding:10px}.lightbox-nav{position:absolute;top:50%;z-index:2}.lightbox-prev{left:8px}.lightbox-next{right:8px}.gallery-item{min-height:220px}.gallery-item img{min-height:220px}}
@media(prefers-reduced-motion:reduce){.floating,.hero-gift,.finale-seal,.pulse-dot,.timeline-dot{animation:none!important}}

/* ===================== VOICE CHAT ===================== */
.voice-mode{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;overflow:hidden}
.voice-mode[hidden]{display:none}
.voice-backdrop{position:absolute;inset:0;background:radial-gradient(circle at 50% 30%,rgba(240,226,180,.72),rgba(47,74,60,.18) 45%,rgba(36,31,23,.55));backdrop-filter:blur(18px);animation:voiceBackdropIn .5s ease both}
.voice-panel{position:relative;width:min(520px,92vw);min-height:min(760px,88vh);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 28px;border:1px solid rgba(255,255,255,.72);border-radius:38px;background:rgba(255,255,255,.84);box-shadow:0 40px 100px -35px rgba(36,31,23,.55);overflow:hidden;animation:voicePanelIn .65s cubic-bezier(.16,1,.3,1) both}
.voice-panel:before{content:'';position:absolute;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(173,128,37,.18),transparent 68%);top:-170px;left:50%;transform:translateX(-50%);animation:voiceGlow 4s ease-in-out infinite}
.voice-close{position:absolute;right:18px;top:16px;width:42px;height:42px;border:1px solid var(--rule);border-radius:50%;background:rgba(255,255,255,.75);font-size:1.8rem;color:var(--ink);cursor:pointer;transition:.25s;z-index:2}.voice-close:hover{transform:rotate(90deg) scale(1.08);background:var(--gold-pale)}
.voice-badge{font-size:.72rem;font-weight:800;letter-spacing:.22em;color:var(--gold-deep);margin-bottom:25px;position:relative;z-index:1}
.voice-portrait-wrap{position:relative;width:270px;height:270px;display:grid;place-items:center;margin-bottom:26px}
.voice-portrait{position:relative;width:205px;height:205px;border-radius:50%;padding:0;border:5px solid rgba(255,255,255,.92);box-shadow:0 20px 60px -20px rgba(36,31,23,.5),0 0 0 1px rgba(173,128,37,.35);cursor:pointer;background:var(--surface);overflow:hidden;z-index:3;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease}.voice-portrait:hover{transform:scale(1.045)}.voice-portrait:active{transform:scale(.97)}.voice-portrait img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.voice-rings,.voice-rings:before,.voice-rings:after{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(173,128,37,.4);content:''}.voice-rings{animation:voiceRing 3.2s ease-out infinite}.voice-rings:before{inset:18px;animation:voiceRing 3.2s .7s ease-out infinite}.voice-rings:after{inset:38px;animation:voiceRing 3.2s 1.4s ease-out infinite}
.voice-pulse{position:absolute;inset:42px;border-radius:50%;border:2px solid transparent;z-index:-1}.voice-pulse.listening{border-color:rgba(47,74,60,.65);animation:voiceListening 1.1s ease-in-out infinite}.voice-pulse.speaking{border-color:rgba(173,128,37,.75);animation:voiceSpeaking 1s ease-in-out infinite}.voice-pulse.ready{animation:voiceReady 2.5s ease-in-out infinite}
.voice-panel h2{font-family:'Cormorant Garamond',serif;font-size:clamp(2.2rem,7vw,3.2rem);margin:4px 0 0}.voice-panel p{color:var(--ink-soft)}#voiceStatus{font-weight:700;margin-top:4px;min-height:26px}.voice-wave{height:58px;display:flex;align-items:center;gap:5px;margin:20px 0 18px}.voice-wave i{display:block;width:4px;height:16px;border-radius:99px;background:var(--green);animation:wave 1.2s ease-in-out infinite}.voice-wave i:nth-child(2){animation-delay:.08s}.voice-wave i:nth-child(3){animation-delay:.16s}.voice-wave i:nth-child(4){animation-delay:.24s}.voice-wave i:nth-child(5){animation-delay:.32s}.voice-wave i:nth-child(6){animation-delay:.24s}.voice-wave i:nth-child(7){animation-delay:.16s}.voice-wave i:nth-child(8){animation-delay:.08s}.voice-wave i:nth-child(9){animation-delay:0s}
.voice-mic-button{border:0;border-radius:999px;background:var(--green);color:white;padding:15px 28px;font-weight:800;cursor:pointer;box-shadow:0 12px 30px -12px rgba(47,74,60,.7);transition:.25s}.voice-mic-button:hover{transform:translateY(-3px);box-shadow:0 18px 35px -14px rgba(47,74,60,.75)}.voice-note{font-size:.75rem;margin-top:16px;opacity:.7}
@keyframes voiceBackdropIn{from{opacity:0}to{opacity:1}}@keyframes voicePanelIn{from{opacity:0;transform:translateY(35px) scale(.94)}to{opacity:1;transform:none}}@keyframes voiceGlow{0%,100%{transform:translateX(-50%) scale(.9);opacity:.7}50%{transform:translateX(-50%) scale(1.2);opacity:1}}@keyframes voiceRing{0%{transform:scale(.78);opacity:0}20%{opacity:1}100%{transform:scale(1.35);opacity:0}}@keyframes voiceListening{0%,100%{transform:scale(.9);opacity:.4}50%{transform:scale(1.18);opacity:1}}@keyframes voiceSpeaking{0%,100%{transform:scale(.9);opacity:.5}50%{transform:scale(1.28);opacity:1}}@keyframes voiceReady{0%,100%{box-shadow:0 0 0 0 rgba(173,128,37,0)}50%{box-shadow:0 0 0 18px rgba(173,128,37,.1)}}@keyframes wave{0%,100%{height:12px;opacity:.35}50%{height:48px;opacity:1}}
.voice-mode[data-state="listening"] .voice-wave i{animation-duration:.55s}.voice-mode[data-state="speaking"] .voice-wave i{animation-duration:.35s}
@media(max-width:560px){.voice-panel{min-height:100dvh;width:100vw;border-radius:0}.voice-portrait-wrap{width:235px;height:235px}.voice-portrait{width:180px;height:180px}}
