/* Blue Sapphire v4 — closer to the supplied mobile screenshots.
   Photo positioning is separately editable from Admin > Foto & Musik. */
:root{--navy:#0c1444;--navy2:#0b123c;--ink:#0c1444;--script:'Great Vibes','Dancing Script',cursive}
html{scroll-padding-top:12px} body{background:#edf0f7}
.invitation-shell{max-width:520px}
/* Photo layers: actual uploaded source, independently from gradient. */
.cover .scene-photo,.hero .scene-photo,.event-banner .scene-photo,.closing .scene-photo{
 object-position:var(--scene-x,50%) var(--scene-y,50%);transform:scale(var(--scene-zoom,1));
 transform-origin:center;will-change:auto
}
.cover:before{background:linear-gradient(180deg,rgba(0,0,0,.44) 0%,rgba(7,12,32,.22) 35%,rgba(7,14,35,.38) 56%,rgba(6,12,36,.70) 100%)}
.hero:before{background:linear-gradient(0deg,#0c1444 0%,rgba(12,20,68,.97) 10%,rgba(12,20,68,.65) 25%,rgba(12,20,68,.22) 52%,rgba(12,20,68,.06) 75%)}
.event-banner:before{background:linear-gradient(0deg,#0c1444 0%,rgba(12,20,68,.76) 65%,rgba(12,20,68,.30))}
.closing:before{background:linear-gradient(0deg,#0c1444 0%,#0c1444 13%,rgba(12,20,68,.96) 28%,rgba(12,20,68,.63) 52%,rgba(12,20,68,.06) 84%)}
/* Main cover and full-screen opening */
.cover{width:100%;max-width:520px;min-height:100svh;background:#0c1444!important}
.cover-inner{gap:clamp(12px,2.5svh,23px);padding:clamp(35px,7svh,75px) 25px clamp(28px,6svh,65px)}
.cover .eyebrow{font-size:clamp(16px,4.6vw,22px);letter-spacing:.15em}
.cover .monogram{height:clamp(112px,17svh,155px);margin:8px auto 4px}
.cover .couple-cover{font-size:clamp(34px,8.4vw,51px);margin:0}
.cover .guest-label{margin-top:auto;margin-bottom:10px;gap:9px}
.cover .guest-label strong{font-size:clamp(21px,6vw,27px)}
.cover .btn{padding:10px 24px}
.hero{height:100svh;min-height:640px;background:#0c1444!important}
.hero-content{padding:30px 15px clamp(104px,16svh,150px)}
.hero .eyebrow{font-size:clamp(16px,4.5vw,20px)}
.hero .monogram{height:137px;margin:18px auto 7px}
.hero .couple-title{font-size:clamp(34px,8.6vw,50px);margin:20px 0 19px}
.hero-date{margin:0 0 24px;font-size:clamp(12px,3.5vw,16px);letter-spacing:.12em}
/* Delicate monogram like the original */
.monogram{width:210px}
.monogram span{font-size:64px}
.leaf{height:130px}
/* Navigation originally small and centered, not stretched to screen width. */
.bottom-nav{width:max-content;max-width:calc(100% - 20px);padding:7px;gap:3px;
 bottom:max(17px,env(safe-area-inset-bottom));border-radius:38px;background:#f0ebeeeb;box-shadow:0 5px 23px #0005}
.bottom-nav a{width:34px;height:34px;min-width:34px;transform:none}
.bottom-nav a svg{width:21px;height:21px;stroke-width:1.9}
.bottom-nav a:hover,.bottom-nav a.active{transform:none;background:#26396e}
.float-action{width:33px;height:33px;right:max(calc((100vw - 520px)/2 + 7px),7px);top:57%;box-shadow:0 2px 9px #0002}
.float-action svg{width:17px;height:17px}.float-second{top:calc(57% + 44px);font-size:21px}
/* Main content follows the original compact card and portrait proportions. */
.section{padding:56px 24px}.section-script{font-size:clamp(38px,9vw,51px)}
.verse{padding-top:72px;padding-bottom:54px}
.profiles{padding:12px 22px 66px}
.profile .portrait{width:min(200px,61vw);height:min(288px,86vw);border-width:2px;padding:4px;margin:0 auto 16px}
.profile h2{font-size:clamp(23px,5.5vw,31px)}
.profile p{font-size:14px}.ampersand{font-size:58px;margin:18px auto 23px}
.events{padding:0 18px 68px}.event-banner{margin:0 -18px 16px;padding:65px 18px 50px}
.event-banner .section-script{font-size:49px;margin:10px 0 20px}
.countdown strong{font-size:clamp(31px,8vw,41px)}.countdown span{font-size:14px}
.event-card{padding:28px 15px 34px;border-radius:18px;margin:17px 0 21px}
.event-card h3{font-size:27px}.event-card p{font-size:15px}
.story{padding:55px 20px 65px}.timeline{padding-left:46px}.timeline:before{left:12px}
.heart-dot{left:-50px;width:48px;height:48px}.story-card{border-radius:14px;padding:14px 14px 22px}
.gallery{padding:48px 23px 65px}.gallery-grid{gap:6px}
.gifts{padding:58px 20px 65px}.gift-card{margin:15px auto 19px}
.wishes{padding:60px 16px 72px}.paper{padding:24px 15px}
/* Closing: emphasis on couple, single-line sign-off, readable footer clear of dock. */
.closing{min-height:100svh;display:flex;align-items:flex-end;background:#0c1444!important}
.closing-copy{padding:clamp(265px,42svh,470px) 17px max(112px,calc(90px + env(safe-area-inset-bottom)));}
.closing-copy>p{line-height:1.65;font-size:13px;max-width:420px;margin:0 auto}
.closing-copy .section-script{font-size:clamp(24px,6.7vw,36px);line-height:1.12;
  margin:25px -12px 24px;letter-spacing:-.02em;white-space:nowrap}
.closing-copy .couple-title{font-size:clamp(32px,8.4vw,41px);margin:18px auto 29px}
.closing .brand{margin:28px auto 0;font-size:12px}
.closing .brand b,.closing .brand>a{font-size:clamp(12px,3.5vw,16px);letter-spacing:.09em}
.footer-social{margin-top:15px}
@media(max-width:395px){.bottom-nav{gap:2px;padding:6px}.bottom-nav a{width:33px;height:33px;min-width:33px}.bottom-nav svg{width:20px;height:20px}.section{padding-left:19px;padding-right:19px}.events{padding:0 14px 60px}.event-banner{margin-left:-14px;margin-right:-14px}.closing-copy .section-script{letter-spacing:-.04em}}
@media(max-height:690px){.hero{min-height:600px}.cover-inner{padding-top:22px;padding-bottom:20px;gap:8px}.cover .monogram{height:102px}.hero-content{padding-bottom:98px}}
@media(min-width:760px){.cover{border:0}}
@media(prefers-reduced-motion:reduce){.scene-photo{transform:none!important}}
