:root {
  --paper: #fffaf9;
  --paper-light: #fffefe;
  --ink: #382f31;
  --muted: #746a6c;
  --rose: #d98fa0;
  --rose-deep: #b85f77;
  --pink-soft: #f8dfe5;
  --pink-pale: #fff1f4;
  --gold: #b99b72;
  --line: rgba(125, 87, 96, .16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --shadow-card: 0 18px 42px rgba(132, 75, 91, .13), 0 3px 12px rgba(132, 75, 91, .06);
  --shadow-float: 0 24px 60px rgba(128, 66, 85, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #f3dfe3; }
body { margin: 0; color: var(--ink); background: #f3dfe3; font-family: "DM Sans", sans-serif; font-weight: 300; overflow-x: hidden; }
body.locked { overflow: hidden; }
button, a { color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; }

.desktop-backdrop { position: fixed; inset: -40px; background: linear-gradient(rgba(246,218,225,.76),rgba(246,218,225,.76)), url("assets/hero-editorial-v2.jpg") center/cover; filter: blur(28px) saturate(.72); transform: scale(1.08); }
.site-shell { position: relative; width: min(100%, 460px); min-height: 100vh; margin: 0 auto; overflow: hidden; background: var(--paper); box-shadow: 0 35px 100px rgba(45,28,31,.34); isolation: isolate; }
.progress { position: fixed; top: 0; z-index: 80; width: min(100%,460px); height: 2px; pointer-events: none; }
.progress span { display: block; width: 0; height: 100%; background: var(--rose-deep); }

.gate { position: fixed; z-index: 100; inset: 0; width: min(100%,460px); min-height: 100svh; margin: auto; overflow: hidden; background: #c4aca3; transition: opacity .7s ease, visibility .7s ease; }
.gate-photo { position: absolute; inset: 0; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.8s cubic-bezier(.2,.65,.15,1), filter 1.2s ease; }
.gate-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(35,25,24,.18),rgba(44,27,29,.02) 34%,rgba(37,23,25,.4)); transition:opacity .8s ease; }
.gate-heading { position:absolute; z-index:5; top:max(44px,env(safe-area-inset-top)); left:0; right:0; color:#fff; text-align:center; text-shadow:0 2px 18px rgba(54,35,37,.28); }
.gate-heading > p:last-child { margin:13px 0 0; font-family:"Instrument Serif",serif; font-size:14px; letter-spacing:.25em; }
.micro { margin: 0; font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .32em; }
.light { color: rgba(255,255,255,.74) !important; }
.modern-button { position:relative; width: 100%; min-height: 62px; padding: 0 20px 0 23px; border: 1px solid var(--ink); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: space-between; overflow:hidden; background: transparent; text-decoration: none; cursor: pointer; text-transform: uppercase; letter-spacing: .2em; font-size: 8px; font-weight: 500; box-shadow:0 10px 24px rgba(114,74,84,.08); transition: background .35s ease, color .35s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.modern-button::before { content:""; position:absolute; inset:0; background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.3),transparent 68%); transform:translateX(-125%); transition:transform .7s ease; }
.modern-button span,.modern-button svg { position:relative; z-index:1; }
.modern-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.seal-button { position:absolute; z-index:8; left:50%; top:51.2%; width:88px; height:88px; padding:0; transform:translate(-50%,-50%); border:0; border-radius:50%; background:transparent; cursor:pointer; filter:drop-shadow(0 10px 13px rgba(64,42,35,.22)); }
.seal-core { position:absolute; inset:12px; display:grid; place-items:center; border-radius:50%; color:#765b37; background:radial-gradient(circle at 34% 28%,#f5e4bb,#c5a16a 48%,#987344 100%); box-shadow:inset 0 0 0 2px rgba(255,246,218,.4),inset 0 0 0 7px rgba(109,76,38,.08); transition:transform .35s ease; }
.seal-core::before { content:""; position:absolute; inset:-5px; border:1px solid rgba(255,244,216,.55); border-radius:48% 52% 46% 54%; }
.seal-core svg { width:34px; fill:none; stroke:#755733; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.seal-pulse { position:absolute; inset:-2px; border:1px solid rgba(255,248,229,.8); border-radius:50%; animation:sealPulse 2.2s ease-out infinite; }
.seal-button:hover .seal-core { transform:scale(1.08) rotate(-3deg); }
.gate-tap { position:absolute; z-index:6; top:calc(51.2% + 57px); left:0; right:0; margin:0; color:#fff; text-align:center; text-transform:uppercase; letter-spacing:.23em; font-size:8px; text-shadow:0 2px 12px rgba(54,35,37,.45); animation:tapBreath 2.2s ease-in-out infinite; }
.gate-letter { position:absolute; z-index:7; left:8%; right:8%; top:23%; height:48%; padding:42px 20px; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; color:var(--ink); text-align:center; background:linear-gradient(160deg,#fffdf8,#f5eee5); border:1px solid rgba(170,138,95,.35); box-shadow:0 24px 55px rgba(48,31,34,.25); opacity:0; transform:translateY(54%) scale(.85); }
.gate-letter::before { content:""; position:absolute; inset:9px; border:1px solid rgba(170,138,95,.2); }
.gate-letter strong { margin-top:46px; font-family:"Instrument Serif",serif; font-size:57px; line-height:.74; font-weight:400; }
.gate-letter strong em { display:block; color:var(--rose); font-weight:400; }
.gate-letter > span { margin-top:28px; font-family:"Instrument Serif",serif; font-size:16px; letter-spacing:.13em; text-transform:uppercase; }
.gate-flash { position:absolute; z-index:10; inset:0; pointer-events:none; background:#fff; opacity:0; }
.gate.opening .seal-button { animation:sealBreak .7s cubic-bezier(.2,.7,.2,1) forwards; }
.gate.opening .gate-tap,.gate.opening .gate-heading { opacity:0; transition:opacity .35s ease; }
.gate.opening .gate-photo { transform:scale(1.1) translateY(4%); filter:brightness(.82); }
.gate.opening .gate-shade { opacity:.22; }
.gate.opening .gate-letter { animation:letterRise 1.25s cubic-bezier(.16,.75,.18,1) .28s forwards; }
.gate.opening .gate-flash { animation:softFlash .9s ease 1.35s forwards; }
.gate.opened { opacity:0; visibility:hidden; pointer-events:none; }

.sound-toggle { position:fixed; z-index:82; top:max(15px,env(safe-area-inset-top)); left:calc(50% + min(206px,46vw)); transform:translateX(-100%); min-width:83px; height:37px; padding:0 11px; display:flex; align-items:center; gap:8px; border:1px solid rgba(255,255,255,.62); border-radius:30px; color:#fff; background:rgba(190,98,122,.74); backdrop-filter:blur(12px); opacity:0; pointer-events:none; transition:opacity .45s ease,background .3s ease; }
.sound-toggle.visible { opacity:1; pointer-events:auto; }
.sound-toggle.muted { color:var(--ink); background:rgba(244,239,233,.86); border-color:rgba(36,31,29,.12); }
.sound-text { font-size:7px; text-transform:uppercase; letter-spacing:.16em; }
.sound-icon { height:14px; display:flex; align-items:center; gap:2px; }
.sound-icon i { width:2px; height:5px; border-radius:2px; background:currentColor; animation:soundBar .7s ease-in-out infinite alternate; }
.sound-icon i:nth-child(2){animation-delay:-.5s}.sound-icon i:nth-child(3){animation-delay:-.25s}.sound-icon i:nth-child(4){animation-delay:-.65s}
.sound-toggle.muted .sound-icon i { animation:none; height:2px; }

.journey-nav { position:fixed; z-index:78; top:50%; left:calc(50% + min(213px,48vw)); transform:translate(-100%,-50%); padding:10px 7px; display:flex; flex-direction:column; gap:8px; border:1px solid rgba(255,255,255,.5); border-radius:30px; background:rgba(255,255,255,.58); box-shadow:0 12px 32px rgba(126,72,88,.12); backdrop-filter:blur(12px); opacity:0; pointer-events:none; transition:opacity .5s ease; }
.journey-nav.visible { opacity:1; pointer-events:auto; }
.journey-nav a { width:6px; height:6px; border-radius:50%; background:rgba(184,95,119,.28); transition:height .35s ease,background .35s ease,transform .35s ease; }
.journey-nav a.active { height:18px; background:var(--rose-deep); }

.butterfly-mascots { position:fixed; z-index:77; inset:0; width:min(100%,460px); margin:auto; pointer-events:none; overflow:hidden; opacity:0; transition:opacity 1s ease 1.6s; }
.motion-ready .butterfly-mascots { opacity:1; }
.butterfly { position:absolute; width:74px; height:74px; filter:drop-shadow(0 9px 12px rgba(127,76,87,.16)); will-change:transform; }
.butterfly::before { content:""; position:absolute; inset:0; background-image:url("assets/butterfly-mascots-v1.png"); background-repeat:no-repeat; background-size:200% 100%; transform-origin:52% 55%; will-change:transform; animation:butterflyWingBeat 1.15s ease-in-out infinite; }
.butterfly-one { left:8px; top:34vh; animation:butterflyFlightOne 16s ease-in-out infinite; }
.butterfly-one::before { background-position:left center; }
.butterfly-two { right:12px; top:68vh; width:58px; height:58px; animation:butterflyFlightTwo 19s ease-in-out infinite -7s; }
.butterfly-two::before { background-position:right center; animation-delay:-.45s; }

.page { opacity: 0; transition: opacity .5s ease; }
.page.visible { opacity: 1; }
.paper-section { position: relative; padding: 64px 28px 70px; background: var(--paper); }
.section-index { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: .22em; }
.section-index span { width: 38px; height: 1px; background: currentColor; opacity: .4; }
.section-index.reveal span { transform:scaleX(0); transform-origin:left; transition:transform .85s cubic-bezier(.2,.8,.2,1) calc(var(--delay,0ms) + 220ms); }
.section-index.reveal.in-view span { transform:scaleX(1); }
.section-index-light { color: rgba(255,255,255,.55); }
.overline { margin: 0 0 17px; color: var(--rose-deep); font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .24em; }
.body-copy { color: var(--muted); font-size: 12px; line-height: 1.9; }
h1,h2,p { text-wrap: balance; }
h2 { margin: 0; font-family: "Instrument Serif", serif; font-size: 51px; line-height: .92; font-weight: 400; letter-spacing: -.025em; }
h2 em { color: var(--rose); font-weight: 400; }

.hero { position: relative; min-height: 100svh; color: #fff; overflow: hidden; background: #b7998c; }
.hero-media { position: absolute; inset: -5%; will-change: transform; transform: translate3d(0,var(--hero-y,0px),0) scale(1.08); }
.hero-media img { height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(35,26,24,.42) 0,rgba(35,25,25,.04) 38%,rgba(37,24,26,.06) 56%,rgba(32,20,22,.72) 100%); }
.hero-light { position:absolute; z-index:1; border-radius:50%; filter:blur(10px); mix-blend-mode:screen; pointer-events:none; }
.hero-light-one { width:210px; height:360px; top:4%; left:-30%; background:linear-gradient(105deg,transparent,rgba(255,221,229,.35),transparent); transform:rotate(24deg); animation:lightSweep 9s ease-in-out infinite; }
.hero-light-two { width:130px; height:130px; right:-45px; top:40%; background:rgba(255,235,240,.22); animation:lightBreathe 5s ease-in-out infinite; }
.hero-header { position: absolute; z-index: 2; top: max(60px, env(safe-area-inset-top)); left: 24px; right: 24px; text-align: center; }
.hero h1 { margin: 15px 0 12px; font-family: "Instrument Serif", serif; font-size: clamp(72px,22vw,98px); line-height: .71; font-weight: 400; letter-spacing: -.045em; animation:titleFloat 7s ease-in-out infinite; }
.hero h1 em { display: block; font-weight: 400; }
.fine-rule { display: grid; place-items: center; margin: 28px 0 16px; }
.fine-rule::before { content:""; width: 92px; height: 1px; background: rgba(255,255,255,.45); }
.fine-rule span { position: absolute; width: 4px; height: 4px; transform: rotate(45deg); background: #fff; }
.host-names { margin: 0; font-family: "Instrument Serif", serif; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; }
.host-names i { margin: 0 6px; font-weight: 400; text-transform: none; }
.hero-bottom { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: max(34px, env(safe-area-inset-bottom)); display: flex; align-items: flex-end; justify-content: space-between; }
.hero-bottom > p { margin: 0; font-family: "Instrument Serif", serif; font-size: 20px; line-height: 1.25; }
.scroll-link { display: flex; flex-direction: column; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.scroll-link span { position: relative; width: 34px; height: 52px; border: 1px solid rgba(255,255,255,.5); border-radius: 30px; }
.scroll-link span::after { content:""; position:absolute; left:15px; top:10px; width:2px; height:8px; background:#fff; border-radius:2px; animation: scrollDrop 2s ease-in-out infinite; }
.scroll-link small { font-size: 7px; text-transform: uppercase; letter-spacing: .2em; }

.intro { padding-bottom: 0; overflow:hidden; }
.intro::before { content:""; position:absolute; width:260px; height:260px; top:90px; right:-170px; border:1px solid rgba(168,121,126,.18); border-radius:50%; box-shadow:0 0 0 28px rgba(168,121,126,.035),0 0 0 56px rgba(168,121,126,.02); animation:slowSpin 22s linear infinite; }
.intro-copy { margin: 52px 0 30px; position:relative; z-index:2; }
.intro-copy h2 { font-size:57px; }
.intro-copy .body-copy { max-width: 330px; margin: 23px 0 0 auto; font-size:13px; }
.story-facts { margin:0 0 30px; display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.story-facts div { padding:18px 10px 18px 0; display:flex; flex-direction:column; gap:6px; }
.story-facts div+div { padding-left:18px; border-left:1px solid var(--line); }
.story-facts small { color:var(--muted); font-size:7px; text-transform:uppercase; letter-spacing:.17em; }
.story-facts strong { font-family:"Instrument Serif",serif; font-size:16px; font-weight:400; }
.editorial-frame { position: relative; margin:0 0 30px; height:390px; overflow:hidden; border-radius:var(--radius-lg); box-shadow:var(--shadow-float); }
.editorial-frame img { height: 112%; object-fit: cover; transform:translate3d(0,var(--img-y,0),0) scale(1.05); transition:transform .22s linear; }
.editorial-frame.in-view img { transform:translate3d(0,var(--img-y,0),0) scale(1.05); }
.editorial-frame figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 20px; display: flex; justify-content: space-between; color: #fff; background: rgba(116,82,88,.32); border:1px solid rgba(255,255,255,.3); border-radius:var(--radius-sm); backdrop-filter: blur(12px); }
.editorial-frame figcaption span { font-family: "Instrument Serif", serif; font-size: 21px; font-style: italic; }
.editorial-frame figcaption small { align-self:center; font-size:8px; letter-spacing:.23em; }
.marquee { margin:0 -28px; height:58px; display:flex; align-items:center; overflow:hidden; color:var(--ink); background:var(--pink-soft); border-top:1px solid rgba(184,95,119,.12); border-bottom:1px solid rgba(184,95,119,.12); }
.marquee > div { width:max-content; display:flex; align-items:center; gap:24px; animation:marquee 13s linear infinite; }
.marquee span { white-space:nowrap; font-family:"Instrument Serif",serif; font-size:18px; font-style:italic; }
.marquee i { color:var(--rose-deep); font-style:normal; }

.silk-transition { position:relative; z-index:4; height:88px; margin:-1px 0; overflow:hidden; background:linear-gradient(#f8dfe5,#fff7f8); }
.silk-transition span,.silk-transition i { position:absolute; left:-15%; width:130%; border-radius:50%; transform:rotate(-5deg); }
.silk-transition span { top:7px; height:42px; background:linear-gradient(100deg,rgba(255,255,255,.25),rgba(231,161,178,.58),rgba(255,255,255,.72),rgba(213,126,150,.35)); box-shadow:0 12px 28px rgba(158,87,107,.16); animation:silkWave 7s ease-in-out infinite; }
.silk-transition i { top:39px; height:28px; background:linear-gradient(100deg,rgba(231,161,178,.18),rgba(255,255,255,.78),rgba(225,145,166,.42)); animation:silkWave 8.5s ease-in-out infinite reverse; }
.silk-transition-reverse { transform:scaleX(-1); background:linear-gradient(#fffaf9,#fff0f3); }

.wish-section { position:relative; min-height:590px; padding:70px 28px 64px; overflow:hidden; background:linear-gradient(160deg,#fff9fa,#f8dce3); }
.wish-card { position:relative; z-index:2; margin-top:64px; padding:18px 0 24px; text-align:center; background:transparent; border:0; border-radius:0; box-shadow:none; }
.wish-card blockquote { max-width:370px; margin:0 auto; font-family:"Instrument Serif",serif; font-size:38px; line-height:1.02; font-style:italic; color:var(--ink); }
.wish-card blockquote::before { content:"“"; display:block; height:44px; color:var(--rose); font-size:76px; line-height:.8; }
.wish-signature { margin-top:34px; padding-top:22px; display:flex; justify-content:space-between; align-items:center; border-top:1px solid rgba(184,95,119,.25); }
.wish-signature span { color:var(--muted); font-size:8px; text-transform:uppercase; letter-spacing:.16em; }
.wish-signature strong { color:var(--rose-deep); font-family:"Instrument Serif",serif; font-size:25px; font-weight:400; }
.wish-note { max-width:270px; margin:30px auto 0; color:var(--muted); font-size:10px; line-height:1.7; text-align:center; }
.wish-orbit { position:absolute; width:280px; height:280px; top:90px; right:-150px; border:1px solid rgba(184,95,119,.16); border-radius:50%; animation:slowSpin 24s linear infinite; }
.wish-orbit::before,.wish-orbit::after { content:""; position:absolute; border:1px solid rgba(184,95,119,.09); border-radius:50%; }
.wish-orbit::before { inset:24px; }.wish-orbit::after { inset:52px; }
.wish-orbit i { position:absolute; width:8px; height:8px; border-radius:50%; background:var(--rose); box-shadow:0 0 18px rgba(217,143,160,.6); }
.wish-orbit i:nth-child(1){top:7%;left:28%}.wish-orbit i:nth-child(2){right:2%;top:52%}.wish-orbit i:nth-child(3){bottom:8%;left:22%}

.date-section { position: relative; padding: 68px 28px 72px; color: var(--ink); background:linear-gradient(145deg,#fffefe 0%,#fff4f6 48%,#f7dce3 100%); overflow: hidden; }
.date-section::before { content:""; position:absolute; width:360px; height:360px; top:105px; right:-230px; border:1px solid rgba(184,95,119,.12); border-radius:50%; box-shadow: 0 0 0 36px rgba(217,143,160,.045), 0 0 0 72px rgba(217,143,160,.025); }
.section-index-light { color:var(--rose-deep); }
.date-layout { position: relative; margin-top: 48px; }
.date-month { margin:0 0 14px; color:var(--rose-deep); font-size:9px; font-weight:500; font-style:normal; text-transform:uppercase; letter-spacing:.26em; }
.date-number-wrap { display:flex; align-items:flex-end; gap:24px; }
.date-number { color:var(--rose-deep); font-family:"Instrument Serif",serif; font-size:160px; line-height:.72; font-weight:400; letter-spacing:-.06em; }
.date-year { margin-bottom:4px; padding:13px 0 12px 18px; display:flex; flex-direction:column; gap:5px; border-left:1px solid rgba(184,95,119,.3); }
.date-year small { color:var(--muted); font-size:7px; text-transform:uppercase; letter-spacing:.2em; }
.date-year span { font-size:12px; font-weight:500; letter-spacing:.25em; }
.date-meta { margin-top:40px; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.date-meta div { min-height:86px; padding:17px 15px; background:rgba(255,255,255,.86); border:1px solid rgba(184,95,119,.13); border-radius:var(--radius-sm); box-shadow:var(--shadow-card); transition:transform .35s ease,box-shadow .35s ease,background .35s ease; }
.date-meta div:last-child { grid-column:1/-1; }
.date-meta small { color:var(--rose-deep); font-size:7px; font-weight:500; text-transform:uppercase; letter-spacing:.18em; }
.date-meta p { margin:9px 0 0; font-family:"Instrument Serif",serif; font-size:18px; }
.countdown-wrap { margin-top:38px; }
.countdown-wrap > p { margin:0 0 18px; color:var(--rose-deep); font-size:8px; font-weight:500; text-transform:uppercase; letter-spacing:.22em; }
.countdown { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
.countdown div { padding:15px 3px 13px; text-align:center; background:rgba(255,255,255,.78); border:1px solid rgba(184,95,119,.12); border-radius:var(--radius-sm); box-shadow:0 12px 26px rgba(145,82,99,.09); transition:transform .3s ease,box-shadow .3s ease; }
.countdown strong { display:block; color:var(--rose-deep); font-family:"Instrument Serif",serif; font-size:29px; font-weight:400; }
.countdown span { color:var(--muted); font-size:6px; text-transform:uppercase; letter-spacing:.12em; }
.countdown div { position:relative; overflow:hidden; }
.countdown div::after { content:""; position:absolute; inset:0; background:linear-gradient(110deg,transparent 20%,rgba(217,143,160,.14),transparent 75%); transform:translateX(-130%); animation:countShine 5s ease-in-out infinite; }
.calendar-button { width:100%; margin-top:26px; padding:15px 16px; display:grid; grid-template-columns:48px 1fr 20px; gap:14px; align-items:center; border:1px solid rgba(184,95,119,.16); border-radius:var(--radius-md); color:var(--ink); text-align:left; background:rgba(255,255,255,.86); box-shadow:var(--shadow-card); cursor:pointer; transition:transform .35s ease,box-shadow .35s ease,background .35s ease; }
.calendar-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; color:#fff; background:var(--rose-deep); box-shadow:0 9px 20px rgba(184,95,119,.24); }
.calendar-icon i { font-family:"Instrument Serif",serif; font-size:22px; font-style:normal; }
.calendar-button > span:nth-child(2) { display:flex; flex-direction:column; gap:5px; }
.calendar-button small { color:var(--rose-deep); font-size:7px; font-weight:500; text-transform:uppercase; letter-spacing:.18em; }
.calendar-button strong { font-family:"Instrument Serif",serif; font-size:18px; font-weight:400; }
.calendar-button svg { width:18px; fill:none; stroke:var(--rose-deep); stroke-width:1.5; }
.date-glow { position:absolute; border-radius:50%; filter:blur(1px); pointer-events:none; }
.glow-one { width:210px; height:210px; right:-110px; top:180px; border:1px solid rgba(184,95,119,.12); animation:orbPulse 5s ease-in-out infinite; }
.glow-two { width:80px; height:80px; left:-35px; bottom:40px; background:rgba(168,121,126,.12); animation:orbPulse 6s ease-in-out infinite reverse; }

.section-title { margin:46px 0 30px; }
.section-title h2 { font-size:60px; }
.map-card { border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; background:var(--paper-light); box-shadow:var(--shadow-card); transition:transform .4s ease,box-shadow .4s ease; }
.map-frame { position:relative; height:390px; overflow:hidden; background:#f6eee9; }
.map-frame iframe { display:block; width:100%; height:100%; border:0; filter:saturate(.55) contrast(.92) sepia(.08); }
.map-address { padding:23px 20px; display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--line); }
.map-address small { color:var(--muted); font-size:7px; text-transform:uppercase; letter-spacing:.19em; }
.map-address address { margin-top:7px; font-family:"Instrument Serif",serif; font-size:18px; line-height:1.35; font-style:normal; }
.map-pin { width:44px; height:44px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; background:var(--pink-pale); box-shadow:0 8px 20px rgba(184,95,119,.12); animation:pinPulse 2.8s ease-in-out infinite; }
.map-pin svg { width:18px; fill:none; stroke:var(--rose-deep); stroke-width:1.2; }
.modern-button { margin-top:24px; }
.modern-button:hover { color:#fff; background:var(--ink); transform:translateY(-2px); }
.modern-button:hover::before { transform:translateX(125%); }
.modern-button:active { transform:translateY(1px) scale(.985); }

.registry-section { position:relative; min-height:760px; color:var(--ink); overflow:hidden; background:var(--pink-pale); }
.registry-photo { position:absolute; inset:0 0 auto; height:300px; overflow:hidden; }
.registry-photo img { height:118%; object-fit:cover; object-position:44% 68%; transform:translate3d(0,var(--img-y,0),0) scale(1.04); transition:transform .22s linear; filter:saturate(.72) brightness(1.06); }
.registry-tint { position:absolute; inset:0 0 auto; height:310px; background:linear-gradient(180deg,rgba(255,244,247,.08),#fff1f4 100%); }
.registry-content { position:relative; z-index:2; min-height:760px; padding:55px 28px 48px; display:flex; flex-direction:column; justify-content:flex-end; }
.registry-copy { margin-top:24px; padding:28px 24px 26px; background:rgba(255,255,255,.94); border:1px solid rgba(184,95,119,.14); border-radius:var(--radius-md); box-shadow:var(--shadow-float); transition:transform .4s ease,box-shadow .4s ease; }
.registry-copy .overline { margin-bottom:13px; }
.registry-copy h2 { font-size:50px; line-height:.88; }
.registry-copy h2 em { color:var(--rose-deep); }
.registry-copy > p:last-child { max-width:330px; margin:22px 0 0; color:var(--muted); font-size:12px; line-height:1.75; }
.gift-icon { width:76px; height:76px; margin:108px auto 0; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--rose-deep); box-shadow:0 14px 38px rgba(184,95,119,.3),0 0 0 9px rgba(255,255,255,.58); animation:giftFloat 3.6s ease-in-out infinite; }
.gift-icon svg { width:38px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.gift-box { position:relative; width:92px; height:86px; margin:94px auto 0; perspective:600px; filter:drop-shadow(0 18px 22px rgba(148,77,97,.22)); }
.gift-body { position:absolute; left:12px; right:12px; bottom:0; height:57px; border-radius:9px 9px 15px 15px; background:linear-gradient(145deg,#d88ea0,#b85f77); }
.gift-body span { position:absolute; left:50%; top:0; bottom:0; width:13px; transform:translateX(-50%); background:rgba(255,237,241,.82); }
.gift-lid { position:absolute; z-index:2; left:5px; right:5px; top:19px; height:25px; border-radius:9px; background:linear-gradient(145deg,#e8a8b8,#c66f87); transform-origin:20% 100%; transition:transform 1s cubic-bezier(.2,.8,.2,1) .45s; }
.gift-lid::before,.gift-lid::after { content:""; position:absolute; top:-25px; width:31px; height:27px; border:8px solid #c66f87; border-bottom:0; }
.gift-lid::before { left:14px; border-radius:50% 8px 0 8px; transform:rotate(14deg); }.gift-lid::after { right:14px; border-radius:8px 50% 8px 0; transform:rotate(-14deg); }
.gift-lid span { position:absolute; left:50%; top:0; bottom:0; width:13px; transform:translateX(-50%); background:rgba(255,237,241,.85); }
.gift-box.in-view .gift-lid { transform:translate3d(-17px,-27px,30px) rotate(-25deg); }
.gift-spark { position:absolute; z-index:3; color:var(--rose-deep); font-style:normal; opacity:0; }
.gift-box.in-view .gift-spark { animation:giftSpark 1.8s ease .7s infinite; }
.spark-one{left:3px;top:4px}.spark-two{right:0;top:0;animation-delay:1.05s!important}.spark-three{left:48%;top:-18px;animation-delay:1.35s!important}
.modern-button-light { min-height:66px; margin-top:16px; border-color:var(--rose-deep); color:#fff; background:var(--rose-deep); box-shadow:0 15px 35px rgba(184,95,119,.24); }
.modern-button-light:hover { color:#fff; background:#9f4c64; }
.registry-note { margin:13px 0 0; color:var(--muted); font-size:7px; text-align:center; text-transform:uppercase; letter-spacing:.12em; }

.rsvp-section { min-height:560px; display:flex; flex-direction:column; overflow:hidden; }
.rsvp-section::after { content:"O&P"; position:absolute; right:-26px; bottom:35px; color:rgba(168,121,126,.07); font-family:"Instrument Serif",serif; font-size:145px; transform:rotate(-8deg); }
.rsvp-copy { margin:auto 0 42px; }
.rsvp-copy h2 { font-size:68px; }
.rsvp-copy > p:last-child { max-width:280px; margin:30px 0 0; color:var(--muted); font-size:12px; line-height:1.8; }
.demo-note { margin:14px 0 0; color:#a79c96; font-size:7px; text-align:center; text-transform:uppercase; letter-spacing:.12em; }
#rsvpButton { color:#fff; border-color:var(--rose-deep); background:var(--rose-deep); box-shadow:0 15px 35px rgba(184,95,119,.22); }
#rsvpButton:hover { background:#9f4c64; }

.closing { position:relative; height:650px; color:#fff; overflow:hidden; border-radius:var(--radius-lg) var(--radius-lg) 0 0; box-shadow:0 -16px 45px rgba(115,72,83,.12); }
.closing-photo { position:absolute; inset:-6%; }
.closing-photo img { height:112%; object-fit:cover; object-position:center; transform:translate3d(0,var(--img-y,0),0) scale(1.04); transition:transform .22s linear; }
.closing-overlay { position:absolute; inset:0; background:linear-gradient(rgba(47,31,33,.25),rgba(47,31,33,.7)); }
.closing-copy { position:absolute; z-index:2; left:28px; right:28px; top:50%; transform:translateY(-50%); text-align:center; }
.closing-copy.reveal { transform:translateY(calc(-50% + 20px)); }
.closing-copy.reveal.in-view { transform:translateY(-50%); }
.closing-copy h2 { margin:21px 0 16px; font-size:53px; }
.closing-copy h2 i { font-weight:400; }
.closing-copy > p:last-child { font-size:9px; letter-spacing:.32em; }
.petal-rest { position:absolute; z-index:3; left:0; right:0; bottom:0; height:82px; pointer-events:none; }
.petal-rest i { position:absolute; bottom:-7px; width:30px; height:18px; border-radius:80% 20% 76% 24%; background:linear-gradient(145deg,#fff7f8,#d98fa0); filter:drop-shadow(0 5px 6px rgba(75,40,48,.18)); }
.petal-rest i:nth-child(1){left:7%;transform:rotate(12deg)}.petal-rest i:nth-child(2){left:23%;bottom:9px;transform:rotate(-22deg) scale(.75)}.petal-rest i:nth-child(3){left:43%;transform:rotate(35deg) scale(1.2)}.petal-rest i:nth-child(4){right:31%;bottom:13px;transform:rotate(-8deg) scale(.68)}.petal-rest i:nth-child(5){right:15%;transform:rotate(24deg)}.petal-rest i:nth-child(6){right:2%;bottom:7px;transform:rotate(-31deg) scale(.82)}

.reveal { opacity:.08; transform:translate3d(var(--reveal-x,0),38px,0) scale(.975); transition:opacity .72s ease, transform .9s cubic-bezier(.16,.8,.24,1),filter .85s ease; transition-delay:var(--delay,0ms); filter:blur(5px); will-change:transform,opacity; }
.reveal.in-view { opacity:1; transform:translate3d(0,0,0) scale(1); }
.reveal.in-view { filter:blur(0); }
.image-reveal { clip-path:inset(0 0 24% 0 round var(--radius-lg)); transform:translateY(30px) scale(.97); transition:clip-path 1.05s cubic-bezier(.76,0,.24,1), opacity .7s ease,transform 1s cubic-bezier(.16,.8,.24,1); }
.image-reveal.in-view { clip-path:inset(0 0 0 0); }

.petal-field { position:fixed; z-index:79; inset:0; width:min(100%,460px); margin:auto; pointer-events:none; overflow:hidden; }
.petal-field i { position:absolute; left:var(--x); top:-40px; width:14px; height:21px; border-radius:78% 24% 72% 30%; background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(229,145,166,.78)); box-shadow:0 5px 10px rgba(133,70,87,.18); opacity:.88; animation:petalFall var(--t) linear infinite var(--d); }

.rsvp-dialog,.calendar-dialog { width:min(calc(100% - 36px),390px); max-height:calc(100dvh - 30px); padding:50px 26px 28px; overflow:auto; border:0; border-radius:var(--radius-md); color:var(--ink); background:var(--paper-light); box-shadow:0 35px 100px rgba(75,39,50,.34); }
.rsvp-dialog::backdrop,.calendar-dialog::backdrop { background:rgba(61,43,48,.58); backdrop-filter:blur(7px); }
.rsvp-dialog.fallback-open,.calendar-dialog.fallback-open { position:fixed; z-index:120; inset:50% auto auto 50%; display:block; margin:0; transform:translate(-50%,-50%); box-shadow:0 0 0 100vmax rgba(61,43,48,.58),0 35px 100px rgba(75,39,50,.34); }
.rsvp-dialog h2,.calendar-dialog h2 { margin:14px 0 26px; font-size:48px; }
.rsvp-dialog > p:not(.overline),.calendar-dialog > p:not(.overline) { color:var(--muted); font-size:12px; line-height:1.8; }
.rsvp-form { margin-top:22px; display:grid; gap:14px; }
.rsvp-form label { display:grid; gap:7px; color:var(--rose-deep); font-size:7px; font-weight:500; text-transform:uppercase; letter-spacing:.17em; }
.rsvp-form label small { margin-left:6px; color:var(--muted); font-size:6px; letter-spacing:.12em; }
.rsvp-form input,.rsvp-form textarea { width:100%; padding:14px 15px; border:1px solid rgba(184,95,119,.18); border-radius:14px; outline:0; color:var(--ink); background:#fff; font:400 15px/1.4 "DM Sans",sans-serif; text-transform:none; letter-spacing:0; box-shadow:0 8px 20px rgba(132,75,91,.06); transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease; }
.rsvp-form textarea { min-height:82px; resize:vertical; }
.rsvp-form input:focus,.rsvp-form textarea:focus { border-color:var(--rose-deep); box-shadow:0 0 0 4px rgba(184,95,119,.1),0 10px 24px rgba(132,75,91,.09); transform:translateY(-1px); }
.rsvp-form .whatsapp-button { margin-top:4px; color:#fff; border-color:var(--rose-deep); background:var(--rose-deep); box-shadow:0 14px 30px rgba(184,95,119,.22); }
.rsvp-dialog .rsvp-privacy { margin:14px 4px 0; font-size:8px!important; line-height:1.55!important; text-align:center; }
.calendar-options { margin-top:24px; display:grid; gap:10px; }
.calendar-choice { min-height:70px; padding:12px 14px; display:grid; grid-template-columns:46px 1fr 18px; gap:13px; align-items:center; border:1px solid var(--line); border-radius:var(--radius-sm); color:var(--ink); text-decoration:none; background:#fff; transition:transform .3s ease,box-shadow .3s ease; }
.calendar-choice > span { width:46px; height:46px; display:grid; place-items:center; border-radius:13px; color:#fff; font-size:22px; font-weight:500; background:var(--rose-deep); }
.google-choice > span { font-family:"DM Sans",sans-serif; background:linear-gradient(135deg,#4285f4,#34a853,#fbbc05,#ea4335); }
.calendar-choice div { display:flex; flex-direction:column; gap:4px; }.calendar-choice small { color:var(--muted); font-size:7px; text-transform:uppercase; letter-spacing:.15em; }.calendar-choice strong { font-family:"Instrument Serif",serif; font-size:18px; font-weight:400; }.calendar-choice > i { color:var(--rose-deep); font-style:normal; }
.dialog-close { position:absolute; right:12px; top:11px; width:38px; height:38px; border:1px solid var(--line); border-radius:50%; background:transparent; cursor:pointer; font-size:20px; }

@keyframes scrollDrop { 0% { transform:translateY(0); opacity:0; } 25% { opacity:1; } 100% { transform:translateY(20px); opacity:0; } }
@keyframes sealPulse { 0% { transform:scale(.76); opacity:.8; } 100% { transform:scale(1.35); opacity:0; } }
@keyframes tapBreath { 0%,100% { opacity:.58; transform:translateY(0); } 50% { opacity:1; transform:translateY(-3px); } }
@keyframes sealBreak { 0% { transform:translate(-50%,-50%) scale(1) rotate(0); opacity:1; } 45% { transform:translate(-50%,-50%) scale(1.18) rotate(-8deg); opacity:1; } 100% { transform:translate(-50%,-50%) scale(.35) rotate(20deg); opacity:0; } }
@keyframes letterRise { 0% { opacity:0; transform:translateY(54%) scale(.85); } 35% { opacity:1; } 100% { opacity:1; transform:translateY(-5%) scale(1); } }
@keyframes softFlash { 0% { opacity:0; } 45% { opacity:.74; } 100% { opacity:0; } }
@keyframes soundBar { from { height:4px; } to { height:14px; } }
@keyframes titleFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-6px); } }
@keyframes slowSpin { to { transform:rotate(360deg); } }
@keyframes marquee { to { transform:translateX(-50%); } }
@keyframes countShine { 0%,65% { transform:translateX(-130%); } 100% { transform:translateX(130%); } }
@keyframes orbPulse { 0%,100% { transform:scale(.88); opacity:.35; } 50% { transform:scale(1.08); opacity:.9; } }
@keyframes twinkle { 0%,100% { opacity:.35; transform:translate(-50%,-50%) rotate(45deg) scale(.7); } 50% { opacity:1; transform:translate(-50%,-50%) rotate(135deg) scale(1.25); } }
@keyframes petalFall { 0% { transform:translate3d(0,-40px,0) rotate(0) scale(var(--s,1)); opacity:0; } 8% { opacity:.9; } 48% { transform:translate3d(var(--dr,34px),52vh,0) rotate(220deg) scale(var(--s,1)); } 88% { opacity:.78; } 100% { transform:translate3d(-20px,108vh,0) rotate(470deg) scale(var(--s,1)); opacity:0; } }
@keyframes giftFloat { 0%,100% { transform:translateY(0) rotate(-2deg); } 50% { transform:translateY(-8px) rotate(2deg); } }
@keyframes pinPulse { 0%,100% { transform:translateY(0); box-shadow:0 8px 20px rgba(184,95,119,.12),0 0 0 0 rgba(217,143,160,.22); } 50% { transform:translateY(-3px); box-shadow:0 12px 24px rgba(184,95,119,.18),0 0 0 9px rgba(217,143,160,0); } }
@keyframes lightSweep { 0%,100% { transform:translate3d(-20px,0,0) rotate(24deg); opacity:.35; } 50% { transform:translate3d(260px,45px,0) rotate(24deg); opacity:.85; } }
@keyframes lightBreathe { 0%,100% { transform:scale(.72); opacity:.28; } 50% { transform:scale(1.22); opacity:.75; } }
@keyframes silkWave { 0%,100% { transform:translate3d(-2%,0,0) rotate(-5deg) scaleY(.92); } 50% { transform:translate3d(3%,8px,0) rotate(-2deg) scaleY(1.08); } }
@keyframes giftSpark { 0% { transform:translateY(15px) scale(.4) rotate(0); opacity:0; } 35% { opacity:1; } 100% { transform:translateY(-25px) scale(1.25) rotate(90deg); opacity:0; } }
@keyframes butterflyFlightOne { 0%,100% { transform:translate3d(-42px,20px,0) rotate(-12deg) scale(.82); } 25% { transform:translate3d(72px,-65px,0) rotate(9deg) scale(1); } 50% { transform:translate3d(285px,25px,0) rotate(-5deg) scale(.9); } 75% { transform:translate3d(118px,90px,0) rotate(12deg) scale(1.05); } }
@keyframes butterflyFlightTwo { 0%,100% { transform:translate3d(42px,35px,0) rotate(16deg) scale(.76); } 30% { transform:translate3d(-86px,-95px,0) rotate(-12deg) scale(.94); } 60% { transform:translate3d(-270px,10px,0) rotate(8deg) scale(.82); } 82% { transform:translate3d(-108px,65px,0) rotate(-8deg) scale(1); } }
@keyframes butterflyWingBeat { 0%,100% { transform:perspective(120px) rotateY(0) scaleX(1); } 50% { transform:perspective(120px) rotateY(20deg) scaleX(.76); } }

@media (hover:hover) {
  .date-meta div:hover,.countdown div:hover { transform:translateY(-7px); background:#fff; box-shadow:0 22px 46px rgba(132,75,91,.18); }
  .map-card:hover,.registry-copy:hover { transform:translateY(-6px); box-shadow:0 30px 68px rgba(128,66,85,.2); }
  .calendar-button:hover { transform:translateY(-5px); background:#fff; box-shadow:0 24px 52px rgba(128,66,85,.18); }
  .calendar-choice:hover { transform:translateY(-3px); box-shadow:0 15px 28px rgba(128,66,85,.13); }
  .editorial-frame:hover img,.registry-section:hover .registry-photo img,.closing:hover .closing-photo img { transform:translate3d(0,var(--img-y,0),0) scale(1.09); }
  .editorial-frame img,.registry-photo img,.closing-photo img { transition:transform .7s cubic-bezier(.2,.7,.2,1); }
  .sound-toggle:hover { box-shadow:0 12px 28px rgba(128,66,85,.22); }
}

@media (max-width:480px) {
  .site-shell,.gate { width:100%; }
  .progress { width:100%; }
  .sound-toggle { left:auto; right:10px; min-width:72px; height:34px; transform:none; }
  .journey-nav { display:none; }
  .petal-field,.butterfly-mascots { width:100%; }
  .paper-section { padding-left:22px; padding-right:22px; }
  .wish-section { min-height:540px; padding:58px 24px 52px; }
  .wish-card { margin-top:42px; padding:10px 0 16px; }
  .wish-card blockquote { max-width:320px; font-size:34px; line-height:1.01; }
  .wish-card blockquote::before { height:36px; font-size:64px; }
  .wish-signature { margin-top:28px; padding-top:18px; }
  .wish-note { margin-top:22px; }
  .date-section { padding:58px 22px 64px; overflow:hidden; }
  .date-layout { margin-top:38px; }
  .date-number { font-size:132px; line-height:.76; }
  .date-number-wrap { gap:18px; }
  .date-year { padding-left:14px; }
  .date-meta { grid-template-columns:1fr; gap:11px; margin-top:34px; }
  .date-meta div,.date-meta div:last-child { grid-column:1; min-height:78px; box-shadow:0 10px 24px rgba(132,75,91,.1); }
  .countdown { gap:6px; }
  .countdown div { min-width:0; padding:14px 1px 12px; border-radius:12px; box-shadow:0 9px 19px rgba(132,75,91,.09); }
  .countdown strong { font-size:25px; }
  .countdown span { font-size:5px; letter-spacing:.08em; }
  .calendar-button { margin-top:22px; padding:13px; grid-template-columns:44px 1fr 18px; gap:11px; box-shadow:0 11px 26px rgba(132,75,91,.1); }
  .calendar-icon { width:44px; height:44px; }
  .editorial-frame { margin-bottom:24px; }
  .map-frame { height:300px; }
  .map-frame iframe { width:250%; height:750px; transform:scale(.4); transform-origin:0 0; }
  .butterfly-one { width:62px; height:62px; }
  .butterfly-two { width:50px; height:50px; }
}
@media (min-width:481px) { body { padding:22px 0; } .site-shell { border-radius:26px; } .gate { top:22px; bottom:22px; min-height:auto; border-radius:26px; } .progress { top:22px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; scroll-behavior:auto!important; transition-duration:.01ms!important; } }
