@font-face{font-family:Fairytale;src:url('assets/cormorant.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Fairytale;src:url('assets/cormorant-italic.ttf') format('truetype');font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Fairytale;src:url('assets/cormorant-medium.ttf') format('truetype');font-weight:500;font-display:swap}
:root{--night:#111b35;--deep:#0c152b;--ivory:#f7efdf;--text:#d7deeb;--gold:#e5c78c;--lavender:#b7abd5;--line:#cabbe047;--serif:Fairytale,Georgia,serif;--sans:Arial,sans-serif;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--night);color:var(--ivory);font:15px/1.85 var(--sans);overflow-x:clip}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.07}h2{font-size:clamp(42px,5vw,70px);letter-spacing:-.02em;text-wrap:balance}p{overflow-wrap:break-word}img{display:block;max-width:100%}a{color:inherit;text-underline-offset:6px}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a,input,select,textarea,summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus:not(:focus-visible),a:focus:not(:focus-visible),summary:focus:not(:focus-visible){outline:none}:focus-visible{outline:2px solid var(--gold);outline-offset:5px}[hidden]{display:none!important}a:not([href]){cursor:default}.star-icon{width:23px;height:23px;flex:none;color:var(--gold)}.section-inner{width:min(1180px,calc(100% - 112px));padding:112px 0;margin:auto;position:relative;z-index:2}.eyebrow{font:10px/1.8 var(--sans);letter-spacing:.19em;text-transform:uppercase;color:#e4cb9f;margin-bottom:22px}.section-intro{margin-top:28px;color:var(--text);max-width:540px}.signature{font:italic 29px/1.35 var(--serif);color:#e8d7b8;margin-top:28px}.chapter-heading{text-align:center;max-width:780px;margin:0 auto 70px}.chapter-heading .section-intro{margin:25px auto 0}.ornament{display:flex;align-items:center;justify-content:center;gap:17px;margin:32px 0}.ornament>span{height:1px;width:70px;background:linear-gradient(90deg,transparent,#e4c99190)}.ornament>span:last-child{transform:scaleX(-1)}.ornament .star-icon{width:13px;height:13px}.button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:0;border:1px solid #e7cda1;border-radius:40px;padding:17px 32px;min-height:54px;max-width:100%;font:11px/1.4 var(--sans);text-transform:uppercase;letter-spacing:.09em;text-align:center;text-decoration:none;color:#24284a;background:linear-gradient(120deg,#f6e7c8,#ddc196);box-shadow:inset 0 1px 0 #fff8,0 7px 28px #02091c45;transition:transform .25s,box-shadow .25s}.button:before{content:'';position:absolute;inset:4px;border:1px solid #7f663c35;border-radius:inherit;pointer-events:none}.button:hover{transform:translateY(-3px);box-shadow:inset 0 1px 0 #fff8,0 9px 30px #eacb8c22}.button:active{transform:translateY(0)}.button:disabled{opacity:.55;cursor:wait}.skip-link{position:fixed;left:15px;top:-100px;z-index:300;background:var(--ivory);color:var(--night);padding:12px}.skip-link:focus{top:15px}.welcome-focus-target:focus{outline:none}
/* One world, with image edges disappearing into the shared twilight. */
.enchanted{position:relative;isolation:isolate;overflow:clip;background:var(--night)}.world-scene{position:absolute;inset:-1px 0;z-index:-3;pointer-events:none;mask-image:linear-gradient(transparent,#000 14%,#000 80%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 14%,#000 80%,transparent)}.world-scene img{width:100%;height:100%;object-fit:cover;object-position:center;opacity:.9}.enchanted:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:-2;background:linear-gradient(90deg,#111b35a6,#111b354d 60%,#111b3540)}.hero:after{background:linear-gradient(90deg,#0c152b99,transparent 70%),linear-gradient(0deg,#111b35,transparent 27%)}.hero .world-scene{mask-image:none;-webkit-mask-image:none}.hero{min-height:820px;min-height:100svh}.hero-inner{min-height:inherit;display:flex;align-items:center;padding-top:70px;padding-bottom:90px}.hero-copy{width:53%;max-width:650px;text-align:center}.hero-copy h1{font-size:clamp(76px,8vw,120px);line-height:.9;letter-spacing:-.025em;text-shadow:0 3px 25px #06112755}.hero-copy h1>span{display:block}.hero-copy h1 i{display:block;font-size:.5em;line-height:1.2;margin:5px 0 8px;color:var(--gold)}.hero-announcement{font:italic 36px/1.3 var(--serif);margin-top:30px}.hero-copy .ornament{margin:24px 0}.hero-billing{display:flex;align-items:center;justify-content:center;gap:20px;font:12px/1.8 var(--sans);letter-spacing:.08em;text-transform:uppercase}.hero-city{border-left:1px solid #e7d4b970;padding-left:20px}.hero-note{font:italic 24px/1.3 var(--serif);margin-top:22px;color:#e1d9e8}.hero-chapter{position:absolute;right:1%;bottom:70px;font:italic 28px var(--serif);color:#ebd3b2aa}.mist{position:absolute;inset:45% -10% 5%;z-index:-1;background:radial-gradient(ellipse at 55% 70%,#bac5e417,transparent 65%);pointer-events:none;animation:mist-flow 24s ease-in-out infinite alternate}.fireflies{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}.fireflies i{position:absolute;left:calc(7% + var(--i)*10.5%);top:calc(25% + var(--i)*6%);width:3px;height:3px;border-radius:50%;background:#ffe2a2;box-shadow:0 0 8px 2px #ffd68c70;opacity:0;animation:firefly 9s ease-in-out infinite;animation-delay:calc(var(--i)*-1.7s);animation-play-state:paused}.in-view .fireflies i{animation-play-state:running}@keyframes firefly{0%,100%{opacity:0;transform:translate(0,15px)}35%{opacity:.7}75%{opacity:.15;transform:translate(20px,-45px)}}@keyframes mist-flow{to{transform:translateX(-6%) scale(1.08)}}
/* An embossed storybook opens around its left spine. */
.welcome-active{overflow:hidden}.welcome-screen{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;padding:38px 24px;overflow:auto;background:radial-gradient(ellipse at 50% 40%,#425179e6,#0b1229f5),url('assets/fairy-castle.webp') center/cover;transition:opacity .5s .95s}.welcome-halo{position:absolute;width:min(700px,90vw);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#cfbce422,transparent 65%);pointer-events:none}.book-stage{position:relative;perspective:1800px;width:min(410px,100%);isolation:isolate}.storybook{position:relative;background:radial-gradient(ellipse at 70% 20%,#405783,#253758 55%,#182845);border-radius:7px 20px 20px 7px;padding:50px 36px 42px;box-shadow:inset 9px 0 8px #070f2b80,inset -2px 0 2px #d9be8c80,12px 20px 55px #0205198c;text-align:center;transform-origin:0 50%;transition:transform 1.3s cubic-bezier(.25,.6,.2,1);backface-visibility:hidden;z-index:2;min-height:530px}.storybook:before{content:'';position:absolute;inset:8px 12px 8px 16px;border:1px solid #d5b88277;border-radius:3px 12px 12px 3px;pointer-events:none}.book-border{position:absolute;inset:23px 27px;border:1px solid #d5b88255;border-radius:3px 70px 3px 70px;pointer-events:none}.book-kicker{font:8px/1.9 var(--sans);letter-spacing:.15em;text-transform:uppercase;color:#e0c69d}.book-emblem{width:74px;height:74px;margin:25px auto 18px}.storybook h2{font:italic 40px/1.05 var(--serif);position:relative}.welcome-names{font:24px/1.3 var(--serif);margin-top:22px;color:#ece0c8}.welcome-date{font:10px/1.5 var(--sans);letter-spacing:.21em;margin:20px 0 26px}.storybook .button{font-size:9px;padding:16px 23px;min-height:50px}.book-pages{position:absolute;inset:5px -8px 1px 8px;background:repeating-linear-gradient(90deg,#d8c7aa 0 1px,#f5e8d4 1px 4px);border-radius:5px 18px 18px 5px;box-shadow:9px 15px 40px #0005;display:grid;place-items:center;text-align:center}.book-pages span{font:33px/1.4 var(--serif);color:#394667;padding:20px;opacity:0;transition:opacity .4s .3s}.book-pages i{font-size:.85em}.welcome-caption{font:italic 20px/1.3 var(--serif);color:#d6d9e8;text-align:center;position:relative;max-width:390px;transition:opacity .3s}.opening .storybook{transform:rotateY(-120deg)}.opening .book-pages span{opacity:1}.opening .welcome-caption{opacity:0}.welcome-screen.opening{opacity:0;pointer-events:none}.welcome-editor .welcome-screen{position:relative;min-height:800px}.welcome-portrait{width:75px;height:75px;border-radius:50%;margin:15px auto;overflow:hidden}.welcome-portrait:not(.has-photo){display:none}.welcome-portrait.has-photo~h2{font-size:32px}.storybook:has(.welcome-portrait.has-photo) .book-emblem{display:none}.music-toggle{position:fixed;bottom:22px;right:22px;z-index:60;width:46px;height:46px;border:1px solid #e5cc9c70;border-radius:50%;background:#1b2d4be8;color:#ead6ae;backdrop-filter:blur(10px)}.music-heart{display:none}#music-hint{position:fixed;bottom:75px;right:20px;z-index:60;font-size:12px;padding:8px 12px;border-radius:8px;background:#1b2d4b}
/* Invitation letter and celestial date medallion. */
.invitation-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:90px;align-items:center;padding-top:130px;padding-bottom:140px}.invitation .world-scene img{object-position:25% center}.invitation:after{background:linear-gradient(90deg,#111b35c7,#111b3580)}.letter>p:not(.eyebrow):not(.signature){color:var(--text);margin:22px 0}.letter .ornament{justify-content:flex-start}.letter .ornament>span:first-child{display:none}.calendar-note{position:relative;isolation:isolate;padding:43px 32px;border:1px solid #dfc99780;border-radius:220px 220px 180px 180px;max-width:470px;width:100%;margin:35px auto;background:linear-gradient(155deg,#263759db,#17233fe8);box-shadow:0 22px 70px #050b2440,inset 0 0 45px #a8b4e00c}.calendar-note:before{content:'';position:absolute;inset:9px;border:1px solid #c4aed23d;border-radius:inherit;pointer-events:none}.calendar-content{position:relative;text-align:center}.calendar-content>.eyebrow{font-size:8px;letter-spacing:.1em;max-width:230px;margin:0 auto 18px}.calendar-note h3{font-size:42px;margin:0 0 24px;color:#f0dfbb}.calendar-note h3>span{display:block;font:13px var(--sans);letter-spacing:.25em;margin-top:7px;color:#b8c5e4}.calendar{width:100%;table-layout:fixed;border-collapse:collapse}.calendar th{font:9px var(--sans);color:#bec8dc;height:30px}.calendar td{height:37px;font:20px var(--serif);position:relative}.wedding-day>span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:radial-gradient(circle,#f8e7be,#d7bb8a);box-shadow:0 0 20px #e4c58e40;color:#26334e}.wedding-day b{font-weight:500;position:relative}.calendar-bottom{margin:23px auto 0;max-width:240px}.calendar-bottom svg{width:12px;height:12px;margin:auto auto 10px}.calendar-bottom p{font:italic 20px/1.2 var(--serif);color:#d8d3e7}.orbit{position:absolute;inset:-20px -24px;border:1px solid #b9a4ce35;border-radius:50%;transform:rotate(-17deg);z-index:-1}.orbit:after{content:'✦';position:absolute;top:18%;left:7%;color:var(--gold);font-size:24px;text-shadow:0 0 15px #f4daa6}.orbit-two{inset:12px -44px;transform:rotate(28deg);border-color:#e0c58c27}.orbit-two:after{top:auto;bottom:16%;left:auto;right:4%;font-size:14px}
/* Arched portraits, then a constellation timeline. */
.story:after,.moments:after{background:linear-gradient(0deg,#111b3540,#111b35b3 50%,#111b3555)}.story-composition{max-width:1100px;margin:auto}.story-portraits{display:grid;grid-template-columns:.8fr 1fr .8fr;align-items:center;gap:35px}.memory{position:relative;min-width:0}.photo-window{position:relative;overflow:hidden;background:radial-gradient(ellipse at 60% 15%,#57638a66,#1c2c4b 70%);aspect-ratio:3/4;border-radius:180px 180px 9px 9px;border:1px solid #cebd9b5c}.photo-window:after{position:absolute;inset:9px;content:'';border:1px solid #e1cbb534;border-radius:inherit;pointer-events:none}.photo-window img{width:100%;height:100%;object-fit:contain}.photo-placeholder{position:absolute;inset:30px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;color:#d1bf9e9c}.photo-placeholder .star-icon{width:15px;height:15px;opacity:.6}.photo-initial{font:italic 38px var(--serif)}.photo-placeholder small{font:9px/1.6 var(--sans);letter-spacing:.08em;max-width:130px}.memory figcaption{font:italic 21px/1.25 var(--serif);text-align:center;margin-top:16px;color:#d2c8dd}.small-portrait:first-child{transform:rotate(-5deg);margin-top:110px}.small-portrait:last-child{transform:rotate(5deg);margin-top:110px}.main-portrait{padding:10px;border:1px solid #e5cf9f55;border-radius:200px 200px 15px 15px}.main-portrait .photo-window{aspect-ratio:3/4.2}.main-portrait figcaption{margin-bottom:5px}.story-copy{max-width:690px;text-align:center;margin:55px auto 0}.story-copy>p{margin:20px 0;color:var(--text)}.story-copy .signature{color:var(--gold)}.timeline{list-style:none;padding:0;margin:0 auto;max-width:850px;position:relative}.timeline:before{content:'';position:absolute;left:50%;top:28px;bottom:85px;width:1px;background:linear-gradient(transparent,#dfc588a3 10%,#b4bbd996 80%,transparent);transform-origin:top;transform:scaleY(.2);transition:transform 1.5s}.in-view .timeline:before{transform:scaleY(1)}.timeline li{position:relative;display:grid;grid-template-columns:1fr 1fr;min-height:190px}.event-copy{padding:8px 62px 28px 0;text-align:right;grid-column:1;grid-row:1}.timeline li:nth-child(even) .event-copy{grid-column:2;padding:8px 0 28px 62px;text-align:left}.event-star{position:absolute;top:24px;left:calc(50% - 12px);width:24px;height:24px;filter:drop-shadow(0 0 8px #fbd99b77)}.event-copy time{font:italic 42px/1 var(--serif);color:#e7cd9d}.event-copy h3{font-size:31px;margin:13px 0 12px}.event-copy p{font-size:13px;color:#d2dbea;line-height:1.8}.schedule:after{background:linear-gradient(90deg,#111b3590,#111b35af 50%,#111b3566)}.schedule-timezone{font-size:10px;text-align:center;color:#b8c3d9;letter-spacing:.1em;margin-top:20px}
/* A palace doorway and gemstone palette replace tickets and fabric swatches. */
.venue:after{background:linear-gradient(0deg,#111b3599,#111b3520 50%,#111b3570)}.venue-heading{max-width:730px;margin:0 auto 48px;text-align:center}.palace-invitation{width:min(440px,100%);margin:auto;text-align:center;padding:60px 35px 45px;border:1px solid #e6d5ad80;border-radius:240px 240px 14px 14px;background:linear-gradient(140deg,#e6e6f518,#14203cf2 60%);box-shadow:0 25px 80px #07102355;backdrop-filter:blur(8px);position:relative}.palace-invitation:before{position:absolute;content:'';inset:10px;border:1px solid #dbcaab38;border-radius:inherit;pointer-events:none}.palace-invitation>.star-icon{margin:0 auto 25px}.palace-invitation .eyebrow{font-size:9px}.palace-invitation h3{font-size:58px;letter-spacing:.04em;margin:15px 0 20px;overflow-wrap:anywhere}.palace-invitation address{font-style:normal;font-size:14px;color:var(--text)}.venue-time{font-size:12px;color:#c9d2e3;margin:12px 0 28px}.venue-note{font:italic 25px/1.3 var(--serif);text-align:center;max-width:570px;margin:40px auto 0;color:#e7d6b9}.dress-inner{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.dress-code:after{background:linear-gradient(90deg,#111b35c9,#111b3573)}.dress-code .world-scene img{object-position:right center}.palette-jewels{text-align:center;padding-top:100px}.palette-label{font:italic 26px var(--serif);margin-bottom:28px;color:#e4d5b9}.dress-palette{list-style:none;padding:0;margin:0;display:flex;justify-content:center;gap:18px}.dress-palette li{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:18px;font:10px/1.4 var(--sans);color:#e6e4ed}.swatch{display:block;width:100%;max-width:72px;aspect-ratio:.67;border-radius:50%;border:3px double #f0d8ac;box-shadow:inset 9px 7px 18px #fff4,inset -6px -8px 18px #07132666,0 7px 16px #0b102c55;position:relative;transform:rotate(-10deg)}.swatch:before{content:'';position:absolute;inset:7px;border:1px solid #fff3;border-radius:50%;background:linear-gradient(135deg,#fff4,transparent 40%)}.dress-palette li:nth-child(even){padding-top:35px}.dress-palette li:nth-child(even) .swatch{transform:rotate(10deg)}.palette-note{font:italic 24px/1.35 var(--serif);color:#e1d9e6;margin:35px auto 0;max-width:390px}
.album-heading{display:flex;justify-content:space-between;gap:65px;align-items:end;margin-bottom:55px}.album-heading>div{flex:1.2}.album-heading .section-intro{flex:1;margin:0}.memory-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px;align-items:start;padding:12px 0 25px}.album-photo:nth-child(even){margin-top:55px}.album-photo .photo-window{aspect-ratio:3/4.3;border-radius:140px 140px 100px 100px}.album-photo:nth-child(even) .photo-window{border-radius:100px 100px 140px 140px}.gallery-hint{display:none;font-size:10px;letter-spacing:.12em;color:#bfc9dd;text-align:center}.wishes-inner{display:grid;grid-template-columns:.85fr 1.15fr;gap:100px;align-items:center}.wishes:after{background:#111b35a6}.wish-list{border-top:1px solid var(--line)}.wish{padding:24px 0;border-bottom:1px solid var(--line)}.wish summary{list-style:none;display:flex;align-items:center;gap:18px;cursor:pointer}.wish summary::-webkit-details-marker{display:none}.wish summary>.star-icon{width:15px;height:15px}.wish h3{font-size:32px;flex:1}.wish-toggle{width:14px;height:14px;position:relative;flex:none}.wish-toggle:before,.wish-toggle:after{content:'';position:absolute;top:6px;left:0;width:14px;height:1px;background:var(--gold)}.wish-toggle:after{transform:rotate(90deg);transition:transform .2s}.wish[open] .wish-toggle:after{transform:rotate(0)}.wish>p{color:var(--text);padding:18px 32px 0;font-size:14px}
/* A softly lit ivory letter, with generous tap targets and native controls. */
.rsvp:after{background:linear-gradient(90deg,#111b3590,#111b3575)}.rsvp-inner{max-width:900px}.rsvp .chapter-heading{margin-bottom:65px}.letter-form{position:relative;max-width:690px;margin:auto;background:linear-gradient(120deg,#f3efe9,#ece8ef);color:#303c57;border-radius:100px 100px 18px 18px;border:1px solid #ead6b0;padding:65px 55px 40px;box-shadow:0 30px 80px #020c2d70,inset 0 0 0 8px #fff5}.letter-form:before{content:'';position:absolute;inset:12px;border:1px solid #bba88455;border-radius:90px 90px 10px 10px;pointer-events:none}.letter-seal{position:absolute;left:calc(50% - 26px);top:-26px;width:52px;height:52px;border:3px double #e8d9b9;border-radius:50%;background:linear-gradient(135deg,#6e78a0,#344263);display:grid;place-items:center;box-shadow:0 4px 12px #121f3f44}.letter-seal svg{width:20px}.guest-form{position:relative}.guest-form fieldset{border:0;min-width:0;margin:0 0 26px;padding:0}.guest-form legend{float:left;width:100%;font:18px/1.4 var(--serif);font-weight:500;margin-bottom:13px;color:#2b3855}.guest-form legend+*{clear:both}.guest-form input:not([type=checkbox]):not([type=radio]),.guest-form select,.guest-form textarea{display:block;width:100%;max-width:100%;background:#fff9;border:1px solid #a1a9bb;border-radius:12px;min-height:49px;padding:11px 14px;color:#25324e;font:15px/1.5 var(--sans);color-scheme:light}.guest-form input[type=date]{appearance:auto;-webkit-appearance:auto}.guest-form textarea{min-height:108px;resize:vertical}.choice-row{display:flex;flex-wrap:wrap;gap:9px}.choice{display:flex;align-items:center;gap:9px;padding:12px 14px;background:#fff5;border:1px solid #aeb5c666;border-radius:15px;min-height:47px;flex:1 1 180px;font:12px/1.6 var(--sans);cursor:pointer}.choice:has(input:checked){background:#d7dce9;border-color:#687ca7}.guest-form input[type=checkbox],.guest-form input[type=radio]{width:17px;height:17px;margin:0;accent-color:#596d98;flex:none;color-scheme:light}.question-age-list{display:grid;gap:12px;margin-top:14px}.question-age-list label{font-size:12px}.guest-form small{font-size:11px;color:#66728c}.guest-consent{font-size:10px;line-height:1.7;margin:25px 0;color:#5f6d86}.consent-choice{display:flex;gap:10px;align-items:flex-start}.consent-choice input{margin-top:4px!important}.privacy-policy{display:block;margin:12px 0 0 27px;max-width:100%;overflow-wrap:anywhere}.guest-form>.button{width:100%;color:#f6f0e4;background:linear-gradient(120deg,#64769d,#354567);border-color:#4c5e86;box-shadow:0 5px 18px #34446722}.guest-form>.button:before{border-color:#f4e1b23d}.form-status{font-size:13px;margin-top:18px}.form-status:empty{display:none}.form-status.is-error{color:#9b3c4c}.form-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.text-button{border:0;background:transparent;color:#3d5279;padding:12px 0;text-decoration:underline}.small-section{display:flex;align-items:center;justify-content:space-between;gap:60px;padding-top:65px;padding-bottom:65px}.small-section h2{font-size:44px}.small-section .section-intro{font-size:13px;margin-top:18px;max-width:550px}.small-section>.star-icon{width:40px;height:40px}.contact-action{text-align:right;min-width:220px}.contact-action .signature{margin:0 0 20px}.telegram:before,.contacts:before{content:'';position:absolute;inset:0;background:url('assets/fairy-letters.webp') center/cover;opacity:.15;z-index:-3;mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent)}.closing-inner{text-align:center;padding-top:120px;padding-bottom:50px}.closing:after{background:radial-gradient(ellipse at center,#19284355,#111b3580)}.ending-sky{position:absolute;inset:0;z-index:-3;background:radial-gradient(ellipse at 50% 40%,#34486c,transparent 70%)}.closing h2{font:italic clamp(48px,7vw,94px)/1.07 var(--serif);max-width:850px;margin:auto}.countdown{display:flex;justify-content:center;gap:40px}.countdown>div{position:relative;min-width:65px}.countdown b{font:50px/1.1 var(--serif);display:block;font-variant-numeric:tabular-nums}.countdown span{display:block;font-size:8px;letter-spacing:.15em;text-transform:uppercase;color:#bac6de;margin-top:8px}.countdown>div:not(:last-child):after{content:'·';position:absolute;right:-22px;top:10px;font-size:25px;color:#d5ba89}.countdown-target{font-size:10px;color:#bec9dd;margin-top:25px}.closing .ornament{margin:50px 0 40px}.closing-names{font:30px var(--serif);color:#e6cca0;margin-top:35px}.closing-date{font-size:10px;letter-spacing:.2em;margin-top:16px}.closing-link{display:inline-block;font-size:10px;letter-spacing:.08em;margin-top:40px;color:#bdc7dd}.end-mark{font:italic 22px var(--serif);margin-top:75px;color:#a9b7d77a}.preview-banner{position:sticky;top:0;z-index:80;text-align:center;padding:12px;background:#f0e4c9;color:#293959;font-size:12px}.reveal-target{opacity:0;transform:translateY(26px);transition:opacity .95s ease,transform 1.15s cubic-bezier(.2,.7,.2,1)}.reveal-target.is-visible{opacity:1;transform:none}.preparation-page{min-height:100svh;display:grid;place-items:center;padding:35px;background:linear-gradient(#111b3580,#111b35c9),url('assets/fairy-castle.webp') 65% center/cover}.preparation{text-align:center;max-width:650px}.preparation img{width:90px;margin:0 auto 30px}.preparation h1{font:italic 64px/1.05 var(--serif);margin-bottom:30px}.preparation>p{color:#d5dcea}.preparation small{display:block;font:10px/1.8 var(--sans);letter-spacing:.12em;margin-top:35px}
@media(min-width:1600px){.hero .world-scene img{object-position:center 55%}.hero-inner{width:min(1440px,calc(100% - 160px))}.hero-copy h1{font-size:140px}}
@media(max-width:1000px){.section-inner{width:calc(100% - 72px);padding:85px 0}.hero-inner{padding:70px 0;min-height:850px}.hero-copy{width:58%}.hero-copy h1{font-size:90px}.hero .world-scene img{object-position:65% center}.hero-copy .eyebrow{font-size:8px}.hero-billing{font-size:10px;gap:12px}.hero-city{padding-left:12px}.invitation-inner{gap:45px}.calendar-note{padding:35px 22px}.calendar-note h3{font-size:36px}.calendar-note .orbit-two{inset:12px -20px}.calendar-note .orbit-one{inset:-17px -12px}.dress-inner{gap:40px}.dress-palette{gap:10px}.wishes-inner{gap:50px}.album-heading{gap:35px}.album-photo .photo-initial{font-size:28px}.album-photo .photo-placeholder small{font-size:8px}.hero-chapter{right:10px}.story-portraits{gap:22px}}
@media(max-width:700px){h2{font-size:44px}.section-inner{width:calc(100% - 42px);padding:78px 0}.hero{min-height:850px;min-height:100svh}.hero-inner{min-height:inherit;align-items:flex-start;padding-top:70px;padding-bottom:270px}.hero-copy{width:100%;max-width:500px;margin:0 auto}.hero-copy h1{font-size:clamp(71px,16vw,105px);line-height:.84}.hero-copy h1 i{font-size:.43em;margin:4px 0}.hero-copy .eyebrow{margin-bottom:27px;letter-spacing:.15em}.hero .world-scene img{object-position:70% center}.hero:after{background:linear-gradient(180deg,#0d1935cc,#14203b77 48%,#111b351a 73%,#111b35)}.hero-announcement{font-size:30px;margin-top:23px}.hero-note{font-size:22px;margin-top:18px}.hero-copy .ornament{margin:18px 0}.hero-chapter{display:none}.world-scene{mask-image:linear-gradient(transparent,#000 10%,#000 87%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 10%,#000 87%,transparent)}.world-scene img{object-position:65% center}.enchanted:not(.hero):after{background:#111b3599}.invitation-inner{display:flex;flex-direction:column;gap:45px}.letter{text-align:center}.letter .ornament{justify-content:center}.letter .ornament>span:first-child{display:block}.letter>p:not(.eyebrow):not(.signature){font-size:14px}.calendar-note{max-width:390px;margin:15px 10px 0;padding:45px 33px}.calendar-note h3{font-size:43px}.calendar td{height:38px}.calendar-note .orbit-two{inset:12px -16px}.calendar-note .orbit-one{inset:-14px -7px}.chapter-heading{margin-bottom:40px}.chapter-heading h2{max-width:500px;margin:auto}.story-portraits{gap:12px;grid-template-columns:1fr 1fr;max-width:450px;margin:auto}.main-portrait{grid-column:1/3;grid-row:1;width:80%;margin:0 auto 20px}.small-portrait:first-child{grid-column:1;grid-row:2;margin:0;transform:rotate(-3deg)}.small-portrait:last-child{grid-column:2;grid-row:2;margin:0;transform:rotate(3deg)}.small-portrait .photo-window{aspect-ratio:1}.photo-placeholder{gap:10px;inset:25px 12px}.photo-placeholder small{font-size:8px}.photo-initial{font-size:32px}.memory figcaption{font-size:18px}.story-copy{font-size:14px;margin-top:35px}.story-copy .signature{font-size:27px}.timeline{padding-left:10px}.timeline:before{left:22px;top:30px;bottom:80px}.timeline li{display:block;min-height:0;padding-bottom:38px}.event-star{left:0;top:18px}.event-copy,.timeline li:nth-child(even) .event-copy{padding:0 0 0 50px;text-align:left}.event-copy time{font-size:38px}.event-copy h3{font-size:30px;margin:10px 0}.event-copy p{font-size:13px;max-width:360px}.schedule .world-scene img{object-position:72% center}.venue-heading{margin-bottom:40px}.palace-invitation{max-width:380px;padding:55px 28px 36px}.palace-invitation h3{font-size:52px}.venue-note{font-size:25px}.dress-inner{display:block}.dress-copy{text-align:center;max-width:500px;margin:auto}.dress-copy .section-intro{font-size:14px}.palette-jewels{padding-top:48px;max-width:470px;margin:auto}.dress-palette{gap:13px}.palette-label{font-size:25px}.dress-palette li{font-size:9px;gap:12px}.swatch{max-width:63px}.palette-note{font-size:24px}.album-heading{display:block;text-align:center;margin-bottom:30px}.album-heading .section-intro{margin:24px auto 0;font-size:14px}.memory-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:20px;padding:10px 4px 25px;scrollbar-width:thin;scrollbar-color:#9d93b9 transparent;align-items:start}.album-photo{flex:0 0 72%;max-width:300px;scroll-snap-align:center}.album-photo:nth-child(even){margin-top:30px}.album-photo .photo-initial{font-size:40px}.album-photo .photo-placeholder small{font-size:9px}.gallery-hint{display:block}.wishes-inner{display:block}.wishes-inner>div:first-child{text-align:center}.wishes-inner .section-intro{margin:23px auto 0;font-size:14px}.wish-list{margin-top:40px}.wish h3{font-size:30px}.wish>p{font-size:13px;padding-left:33px;padding-right:10px}.rsvp .chapter-heading{margin-bottom:50px}.rsvp .section-intro{font-size:14px}.letter-form{padding:55px 26px 30px;border-radius:65px 65px 14px 14px;box-shadow:0 20px 50px #020c2d55}.letter-form:before{inset:9px;border-radius:58px 58px 10px 10px}.guest-form legend{font-size:20px}.choice{flex-basis:100%;font-size:12px}.small-section{display:block;text-align:center;padding-top:50px;padding-bottom:50px}.small-section>.star-icon{margin:0 auto 24px}.small-section .section-intro{margin:20px auto 28px}.small-section h2{font-size:40px}.contact-action{text-align:center;min-width:0}.contact-action .signature{margin:24px 0 18px}.countdown{gap:21px}.countdown>div{min-width:48px}.countdown b{font-size:42px}.countdown>div:not(:last-child):after{right:-13px;top:6px;font-size:22px}.countdown span{font-size:7px}.closing h2{font-size:58px}.closing .eyebrow{font-size:8px}.closing .ornament{margin:38px 0}.end-mark{margin-top:60px}.welcome-screen{padding:28px 25px;gap:24px}.book-stage{max-width:345px}.storybook{padding:42px 28px 34px;min-height:480px}.storybook h2{font-size:36px}.book-emblem{width:65px;height:65px;margin:22px auto 18px}.book-kicker{font-size:7px}.welcome-caption{font-size:18px;max-width:310px}.welcome-names{font-size:23px}.welcome-date{margin:20px 0 24px}.book-border{inset:20px 23px}.storybook .button{font-size:8px;padding:16px 20px}.preparation h1{font-size:48px}.music-toggle{bottom:16px;right:16px}}
@media(max-width:360px){.section-inner{width:calc(100% - 34px)}h2{font-size:39px}.hero-inner{padding-top:60px}.hero-copy h1{font-size:70px}.hero-billing{font-size:9px}.hero-note{font-size:20px}.calendar-note{padding:40px 22px}.calendar-content>.eyebrow{font-size:7px}.dress-palette{gap:8px}.dress-palette li{font-size:8px}.letter-form{padding-left:21px;padding-right:21px}.countdown{gap:15px}.countdown b{font-size:36px}.countdown>div:not(:last-child):after{right:-10px}.storybook{padding:39px 22px 29px;min-height:465px}.storybook h2{font-size:32px}.welcome-screen{padding:22px;gap:20px}.welcome-names{font-size:22px}.closing h2{font-size:49px}}
@media(max-height:700px){.welcome-screen{justify-content:flex-start}.book-stage{margin-top:10px}.storybook{min-height:440px;padding-top:34px;padding-bottom:30px}.book-emblem{width:52px;height:52px;margin:15px auto}.welcome-caption{font-size:16px}.welcome-date{margin:17px 0 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.reveal-target{opacity:1;transform:none}.timeline:before{transform:none}.fireflies i{display:none}}
.motion-disabled .fireflies,.motion-disabled .mist{display:none}.motion-disabled .reveal-target{opacity:1;transform:none}.motion-disabled *, .motion-disabled *:before,.motion-disabled *:after{animation:none!important;transition:none!important}.motion-disabled .timeline:before{transform:none}
/* The opening view breathes slowly; all motion follows the same accessibility switches. */
.hero .world-scene img{animation:kingdom-drift 26s ease-in-out infinite alternate;transform-origin:70% 65%}
@keyframes kingdom-drift{from{transform:scale(1)}to{transform:scale(1.025)}}
.wish[open]>p{animation:wish-text .35s ease both}
@keyframes wish-text{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.hero .world-scene img,.wish[open]>p{animation:none}}
/* Responsive castle tableau and a quiet, readable second page of the book. */
.welcome-screen{transition:opacity .55s 3.25s}
.book-pages span{transition:opacity .5s 1.12s}
.hero-scroll{display:none}
@media(min-width:1181px){.welcome-screen{display:none!important}.welcome-active{overflow:auto}}
@media(min-width:701px) and (max-width:1180px) and (min-height:740px){
 .book-stage{width:min(520px,68vw)}
 .storybook{min-height:620px;padding:62px 48px 50px}
 .storybook h2{font-size:47px}
 .book-emblem{width:88px;height:88px;margin:33px auto 22px}
 .book-pages span{font-size:41px}
 .welcome-caption{font-size:23px;max-width:450px}
}
@media(max-width:1000px){
 .hero{min-height:700px;min-height:100svh;background:radial-gradient(ellipse at 50% 30%,#304366,#111b35 72%)}
 .hero-inner{min-height:inherit;width:min(100% - 52px,700px);padding:clamp(45px,7vh,85px) 0 42vh;display:block;text-align:center}
 .hero-copy{width:100%;max-width:680px;margin:auto}
 .hero .world-scene{inset:38% 0 0;mask-image:linear-gradient(transparent,#000 18%,#000 80%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 80%,transparent)}
 .hero .world-scene img{object-position:72% center}
 .hero:after{background:linear-gradient(180deg,#172749 9%,#172749dd 32%,#17274918 58%,#111b35 100%)}
 .hero-scroll{display:flex;position:absolute;bottom:29px;left:50%;transform:translateX(-50%);z-index:3;align-items:center;gap:13px;white-space:nowrap;text-decoration:none;text-transform:uppercase;font:9px/1.3 var(--sans);letter-spacing:.14em;color:#f4dfb5;text-shadow:0 2px 12px #08132d;padding:11px 14px;border-bottom:1px solid #d7bc8780}
 .hero-scroll span:last-child{font-size:16px}
 .hero-chapter{display:none}
}
@media(max-width:700px){
 .hero{min-height:670px;min-height:100svh}
 .hero-inner{width:calc(100% - 38px);padding-top:clamp(35px,5.5vh,62px);padding-bottom:38vh}
 .hero-copy h1{font-size:clamp(62px,15vw,90px)}
 .hero-copy .eyebrow{margin-bottom:17px}
 .hero-announcement{margin-top:17px}
 .hero-copy .ornament{margin:13px 0}
 .hero-note{margin-top:11px;font-size:20px}
 .hero .world-scene{inset:43% 0 0}
 .hero .world-scene img{object-position:72% center}
 .hero:after{background:linear-gradient(180deg,#172749 0%,#172749eb 34%,#17274916 65%,#111b35 100%)}
 .hero-scroll{bottom:20px;font-size:8px}
}
@media(max-width:360px){.hero-copy h1{font-size:clamp(57px,16vw,68px)}.hero-note{font-size:18px}.hero-billing{font-size:9px}}
/* Music control: a visible play/pause state without a floating instruction bubble. */
.music-toggle{width:auto;min-width:106px;height:46px;padding:0 14px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #e4cb99;border-radius:30px;background:linear-gradient(135deg,#3d5277ef,#172744f4);color:#f7e6c8;box-shadow:inset 0 0 0 3px #e4c78924,0 9px 25px #06112688;backdrop-filter:blur(14px);font:10px/1 var(--sans);letter-spacing:.09em;text-transform:uppercase;transition:transform .2s,box-shadow .2s}
.music-toggle[hidden]{display:none}
.music-toggle:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 3px #e4c78935,0 11px 27px #061126aa}
.music-play{font-size:16px;line-height:1}.music-pause{display:none;font-size:17px;line-height:1;font-weight:700}
.music-toggle[aria-pressed=true] .music-play{display:none}.music-toggle[aria-pressed=true] .music-pause{display:block}
@media(prefers-reduced-motion:reduce){.music-toggle{transition:none}}
/* The landscape is once again the entire hero, with the invitation inside it. */
@media(min-width:701px) and (max-width:1180px){
 .hero{min-height:max(650px,78svh);background:#111b35}
 .hero-inner{min-height:inherit;width:calc(100% - 80px);max-width:1080px;padding:70px 0;display:flex;align-items:center;text-align:left}
 .hero-copy{width:53%;max-width:580px;margin:0;text-align:center}
 .hero-copy h1{font-size:clamp(76px,9vw,115px)}
 .hero .world-scene{inset:0;mask-image:none;-webkit-mask-image:none}
 .hero .world-scene img{object-position:70% center}
 .hero:after{background:linear-gradient(90deg,#0b1835dc 0%,#102143a9 43%,#111b3540 76%,#111b3533),linear-gradient(0deg,#111b35,transparent 28%)}
 .hero-scroll{display:none}
}
@media(max-width:700px){
 .hero{min-height:max(610px,80svh);background:#111b35}
 .hero-inner{min-height:inherit;width:calc(100% - 42px);padding:clamp(44px,8vh,78px) 0 80px;display:flex;align-items:flex-start;text-align:center}
 .hero-copy{width:100%;max-width:480px;margin:0 auto;padding:16px 10px 22px;border-top:1px solid #d9bd816b;border-bottom:1px solid #d9bd816b;background:radial-gradient(ellipse at center,#101d3ac2,#101d3a70 70%,transparent);text-shadow:0 2px 20px #050d24}
 .hero-copy h1{font-size:clamp(60px,15vw,86px)}
 .hero .world-scene{inset:0;mask-image:none;-webkit-mask-image:none}
 .hero .world-scene img{object-position:84% center}
 .hero:after{background:linear-gradient(180deg,#101d3a9c,#101d3a32 63%,#111b35df 100%)}
 .hero-scroll{bottom:15px}
}
@media(max-width:360px){.hero{min-height:610px}.hero-inner{padding-top:35px}.hero-copy{padding:12px 6px 17px}.hero-copy h1{font-size:clamp(56px,16vw,66px)}}
/* Music as a miniature gilded storybook seal; only the playback glyph changes. */
.music-toggle{width:76px;min-width:76px;height:96px;padding:8px 4px 11px;display:flex;flex-direction:column;gap:0;align-items:center;justify-content:center;border:2px double #eacb8d;border-radius:43px 43px 27px 27px;background:radial-gradient(ellipse at 35% 18%,#60739c,#243658 55%,#15233d);color:#f5e4bb;box-shadow:inset 0 0 0 4px #15233d,inset 0 0 0 5px #e2c48675,0 12px 32px #03091dbb;text-shadow:0 0 9px #e4d09a8a;line-height:1;overflow:visible}
.music-toggle:before,.music-toggle:after{content:'✧';position:absolute;color:#e9cc91;font:14px var(--serif);top:39px}
.music-toggle:before{left:-13px}.music-toggle:after{right:-13px}
.music-crest{font:13px var(--serif);line-height:1;color:#f3d39b}
.music-glyph{font:29px/1 var(--serif);margin:3px 0 1px;transform:rotate(-8deg)}
.music-label{font:7px/1.2 var(--sans);letter-spacing:.12em;text-transform:uppercase}
.music-control{display:grid;place-items:center;width:20px;height:20px;margin-top:5px;border:1px solid #e8cc997d;border-radius:50%;font:10px/1 var(--sans);background:#e2c89222}
.music-pause{display:none;font-size:12px}.music-play{display:block;font-size:9px;padding-left:2px}
.music-toggle[aria-pressed=true] .music-play{display:none}.music-toggle[aria-pressed=true] .music-pause{display:block}
.music-toggle:hover{transform:translateY(-3px);box-shadow:inset 0 0 0 4px #15233d,inset 0 0 0 5px #e2c4869d,0 15px 36px #03091dd0}
@media(min-width:1181px){.music-toggle{display:none!important}}
@media(max-width:700px){.music-toggle{bottom:17px;right:16px;transform:scale(.9);transform-origin:bottom right}.music-toggle:hover{transform:scale(.9) translateY(-3px)}}
.welcome-screen .fireflies{z-index:1;pointer-events:none}
.welcome-screen .book-stage,.welcome-screen .welcome-caption{z-index:2}
/* Full-viewport invitation on phones and tablets: center the text in both axes. */
@media(max-width:1180px){
 .hero{height:100svh;min-height:0}
 .hero-inner{height:100%;min-height:0;width:calc(100% - 48px);max-width:680px;margin:auto;padding:0;display:flex;align-items:center;justify-content:center;text-align:center}
 .hero-copy{width:100%;max-width:620px;margin:0 auto;text-align:center}
 .hero .world-scene{inset:0;mask-image:none;-webkit-mask-image:none}
 .hero:after{background:radial-gradient(ellipse at center,#0c193bb8 0%,#0c193b80 37%,#0c193b44 70%),linear-gradient(0deg,#111b35bb,transparent 22%)}
 .music-toggle{width:56px;min-width:56px;height:72px;padding:5px 2px 7px;border-radius:32px 32px 20px 20px;gap:0;bottom:17px;right:17px;transform:none}
 .music-toggle:before,.music-toggle:after{font-size:10px;top:30px}
 .music-toggle:before{left:-9px}.music-toggle:after{right:-9px}
 .music-crest{font-size:10px}
 .music-glyph{font-size:21px;margin:1px 0}
 .music-label{font-size:6px}
 .music-control{width:17px;height:17px;margin-top:3px}
 .music-play{font-size:8px}.music-pause{font-size:10px}
 .music-toggle:hover{transform:translateY(-2px)}
}
@media(max-width:700px){
 .hero-inner{width:calc(100% - 42px);padding:0}
 .hero-copy{padding:16px 10px 19px}
 .hero-scroll{bottom:14px}
 .music-toggle{bottom:15px;right:15px;transform:none}
 .music-toggle:hover{transform:translateY(-2px)}
}
@media(max-width:360px){.hero{height:100svh;min-height:0}.hero-inner{padding:0}.hero-copy{padding:12px 6px 16px}}
@media(max-height:520px) and (max-width:1180px){.hero{height:auto;min-height:100svh}.hero-inner{height:auto;min-height:100svh;padding:45px 0}.hero-scroll{display:none}}
/* An endless clockwise carousel of tall picture cards, seen in perspective. */
.memory-gallery{position:relative;display:block;height:510px;overflow:hidden;perspective:1400px;perspective-origin:50% 48%;padding:0;margin:0 -26px;isolation:isolate;scroll-snap-type:none}
.memory-gallery:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#111b35b0,transparent 13%,transparent 87%,#111b35b0);z-index:2}
.gallery-ring{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d;animation:gallery-turn 40s linear infinite;--ring-radius:420px}
@keyframes gallery-turn{to{transform:rotateY(-360deg)}}
.album-photo,.album-photo:nth-child(even){position:absolute;left:-92px;top:-155px;width:184px;height:310px;max-width:none;min-width:0;flex:none;margin:0;padding:0;transform:rotateY(calc(var(--slot)*45deg)) translateZ(var(--ring-radius));transform-style:preserve-3d;backface-visibility:hidden;scroll-snap-align:none;filter:drop-shadow(0 14px 24px #02091b99)}
.album-photo .photo-window,.album-photo:nth-child(even) .photo-window{height:100%;aspect-ratio:auto;border-radius:18px;background:linear-gradient(145deg,#7783a2,#172947 70%);border:2px solid #e4d0ab;box-shadow:inset 0 0 0 5px #f0d7ac28}
.album-photo .photo-window:after{inset:7px;border-radius:11px}
.album-photo figcaption{position:absolute;bottom:14px;left:15px;right:15px;font:italic 15px/1.2 var(--serif);color:#fff6e8;text-shadow:0 2px 7px #081226;pointer-events:none;margin:0}
.album-photo .photo-placeholder{background:radial-gradient(ellipse at 50% 35%,#97a3c63d,transparent 70%)}
.album-photo .photo-initial{font-size:35px}
.gallery-ring:hover,.gallery-ring:focus-within,.memory-gallery.is-paused .gallery-ring{animation-play-state:paused}
.gallery-pause{display:block;margin:14px auto 0;padding:10px 22px;border:1px solid #d9bd8780;border-radius:30px;background:#172746a8;color:#f4e3c5;font:9px/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase;transition:background .2s}
.gallery-pause:hover{background:#34466b}
.gallery-hint{display:none}
@media(max-width:1000px){.memory-gallery{height:440px;perspective:1120px}.gallery-ring{--ring-radius:345px}.album-photo,.album-photo:nth-child(even){left:-80px;top:-135px;width:160px;height:270px}}
@media(max-width:700px){.memory-gallery{height:370px;margin:0 -21px;overflow:hidden;perspective:900px}.gallery-ring{--ring-radius:260px}.album-photo,.album-photo:nth-child(even){left:-69px;top:-115px;width:138px;height:230px}.album-photo .photo-placeholder{inset:20px 10px}.album-photo .photo-initial{font-size:28px}.album-photo figcaption{font-size:12px}}
@media(prefers-reduced-motion:reduce){.memory-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;height:auto;margin:0;padding:20px}.memory-gallery:after{display:none}.gallery-ring{display:contents;animation:none}.album-photo,.album-photo:nth-child(even){position:relative;left:auto;top:auto;width:180px;height:290px;flex:0 0 180px;transform:none;scroll-snap-align:center}.gallery-duplicate,.gallery-pause{display:none}}
.motion-disabled .memory-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;height:auto;margin:0;padding:20px}.motion-disabled .memory-gallery:after{display:none}.motion-disabled .gallery-ring{display:contents;animation:none}.motion-disabled .album-photo,.motion-disabled .album-photo:nth-child(even){position:relative;left:auto;top:auto;width:180px;height:290px;flex:0 0 180px;transform:none;scroll-snap-align:center}.motion-disabled .gallery-duplicate,.motion-disabled .gallery-pause{display:none}
/* Wider cards with tighter spacing; the active count sets the carousel radius. */
.memory-gallery{height:420px;perspective:1200px;perspective-origin:50% 50%}
.gallery-ring{--ring-radius:340px}
.album-photo,.album-photo:nth-child(even){left:-130px;top:-104px;width:260px;height:208px;transform:rotateY(var(--angle,0deg)) translateZ(var(--ring-radius));}
.album-photo .photo-window,.album-photo:nth-child(even) .photo-window{border-radius:17px}
.album-photo figcaption{font-size:14px}
@media(max-width:1000px){.memory-gallery{height:390px}.album-photo,.album-photo:nth-child(even){left:-112px;top:-96px;width:224px;height:192px}}
@media(max-width:700px){.memory-gallery{height:320px}.album-photo,.album-photo:nth-child(even){left:-88px;top:-79px;width:176px;height:158px}.album-photo .photo-placeholder{gap:6px}.album-photo .photo-initial{font-size:23px}.album-photo figcaption{bottom:10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.memory-gallery{height:auto}.album-photo,.album-photo:nth-child(even){left:auto;top:auto;width:230px;height:185px;flex:0 0 230px;transform:none}.gallery-ring{animation:none}}
.motion-disabled .memory-gallery{height:auto}.motion-disabled .album-photo,.motion-disabled .album-photo:nth-child(even){left:auto;top:auto;width:230px;height:185px;flex:0 0 230px;transform:none}.motion-disabled .gallery-ring{animation:none}
/* One or two selected photos stay fully visible instead of orbiting offscreen. */
.memory-gallery.few-cards{height:auto;min-height:235px;display:flex;align-items:center;justify-content:center;overflow:visible;margin:0}
.memory-gallery.few-cards:after{display:none}
.memory-gallery.few-cards .gallery-ring{position:relative;left:auto;top:auto;width:auto;height:auto;display:flex;gap:12px;transform:none;animation:none}
.memory-gallery.few-cards .album-photo,.memory-gallery.few-cards .album-photo:nth-child(even){position:relative;left:auto;top:auto;width:min(260px,42vw);height:208px;transform:none;margin:0}
@media(max-width:700px){.memory-gallery.few-cards{min-height:180px}.memory-gallery.few-cards .album-photo,.memory-gallery.few-cards .album-photo:nth-child(even){width:min(176px,41vw);height:158px}}
/* A gentle shadow behind each caption keeps lettering legible on bright photos. */
.album-photo:after{content:'';position:absolute;left:2px;right:2px;bottom:2px;height:45%;border-radius:0 0 15px 15px;background:linear-gradient(180deg,transparent,#0915269c 48%,#061121e8);pointer-events:none;z-index:1}
.album-photo figcaption{z-index:2;color:#fffaf0;text-shadow:0 2px 7px #030b19,0 0 16px #030b19}
.gallery-ring{animation-duration:44s}
