/* Blue heirloom edition. Original event film designs and opening films stay intact. */
:root{--paper:#e8f2fa;--ink:#203d58;--wine:#204e78;--olive:#47718d;--gold:#c7b48a;--line:#9fb9ce}
body{background:#102c47;color:var(--ink)}
body:after{opacity:.035}
main{background:linear-gradient(180deg,#edf6fc 0%,#e4f0f9 20%,#c2dced 37%,#91b5d0 50%,#446c90 68%,#264966 82%,#102c47 100%)}
.section.moments,.section.invitation,.section.reveal,.section.countdown,.section.celebrations,.section.families,.section.wishes{background:transparent}
.section{scroll-margin-top:100px}
.section h2,.invitation .couple h3{color:#183e63;text-shadow:none}
.section h2{font-family:'Pinyon Script',cursive;font-weight:400;letter-spacing:0;line-height:1.12;font-size:clamp(48px,6.5vw,78px)}
.section .eyebrow,.section .section-heading p,.invitation p,.invitation em{color:#315671}
.heading-ornament{width:min(480px,88%);height:auto;aspect-ratio:3/1;object-fit:contain;margin:0 auto 22px;mix-blend-mode:normal;filter:drop-shadow(0 4px 5px #173c5610)}
.invitation .couple i{color:#68869b}.invitation .couple>div>span{color:#2b4d6b}
.gallery .photo[data-photo]{background:linear-gradient(120deg,#f1f8fc,#c5ddea);border-color:#9dbbd0;color:#264d6d}
.gallery .photo[data-photo] img{border:5px solid #f4f8fc;outline:1px solid #96b5cc;box-shadow:0 10px 28px #244d6e26;filter:none;border-radius:3px}
.gallery .photo span{color:#264d6d}.gallery-controls{color:#244e73}
.gallery-controls button{background:#eaf4fcaa;border:1px solid #91adc5;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;box-shadow:0 4px 14px #234c6e12}
.gallery-controls button img{filter:grayscale(1) sepia(.35) hue-rotate(160deg) saturate(2)}
.hidden-date{background:none}.hidden-date:before{display:block;background:linear-gradient(120deg,#edf7fe,#b9d5e8);mask:url('assets/blue-scratch-card.png') center/100% 100% no-repeat;-webkit-mask:url('assets/blue-scratch-card.png') center/100% 100% no-repeat}
.hidden-date strong{color:#173e63}.hidden-date>span{color:#365c77}.hidden-date em{color:#234f76}
.reveal #reveal-button,.reveal .scratch-hint{color:#214e74}
#scratch{filter:drop-shadow(0 8px 12px #1236572b)}
.countdown>p,.countdown>.eyebrow{color:#294d68}
.clock-shell:before{border-color:#b6a779;background:#e6f1fa38}.clock-shell:after{border-color:#edf5fb99}
.clock-floral{object-fit:contain;mix-blend-mode:normal;filter:none}
.flip-digit{background:#173855;box-shadow:0 3px 0 #102e49,0 4px 0 #bba77d,0 8px 15px #183e5a30}
.flip-leaf{background:linear-gradient(120deg,#315f85,#173d60);color:#f4f2e9;border-color:#b6cbd333}
.bottom-static,.bottom-moving{background:linear-gradient(120deg,#285577,#153854)}
.flip-digit:before,.flip-digit:after{background:linear-gradient(90deg,#a59a79,#e6d7ae,#b1a585);border-color:#8a856e}
.clock .clock-label{color:#254d6b}.top-static,.top-moving{border-bottom-color:#102b45}.bottom-static,.bottom-moving{border-top-color:#90b7d044}
.celebrations>.section-heading h2,.families h2{color:#f5f6ef}.celebrations>.section-heading p,.celebrations>.section-heading .eyebrow,.families p{color:#edf5fa}
.venue-card{background:linear-gradient(135deg,#e6f1fa,#c6dced);color:#244764;border-color:#adc4d4;box-shadow:0 18px 40px #102c4726}
.venue-card:before{border-color:#7f9fb866}.venue-card .eyebrow{color:#385c79}.venue-card h3,.venue-card h4{color:#1a4365}
.button,.postal-ticket .button{background:#204f76;color:#f1f5f8;border:1px solid #7095b4;border-radius:30px;box-shadow:0 4px 12px #173c5b12}
.button:hover,.postal-ticket .button:hover{background:#143954}
.families{padding-bottom:75px}.family-dedication{color:#e8f1f8}
.wishes{padding-top:25px;padding-bottom:70px}
.wish-ticket.postal-ticket{background:linear-gradient(135deg,#edf6fc,#d4e5f2);border:1px solid #a4c0d4;box-shadow:0 22px 55px #081f3630;filter:none;color:#274d6c}
.wish-ticket.postal-ticket:before{border-color:#90afc655}
.wish-ticket .ticket-heading{background:#c4daea;border-color:#8eacc4;color:#214f76}
.wishes .ticket-heading h2{font-family:'Pinyon Script',cursive;color:#1d476c;font-size:44px;line-height:1.1}
.wish-ticket .ticket-heading>span,.postal-ticket label,.postal-ticket .form-note,.wish-bottom #char-count{color:#3b607b}
.postal-ticket input:not([type=checkbox]),.postal-ticket textarea{color:#1e425e;background:transparent;border-color:#86a9c2}
.postal-ticket input::placeholder,.postal-ticket textarea::placeholder{color:#627f95}
.postal-ticket #wish-message{background:repeating-linear-gradient(to bottom,transparent 0px,transparent 29px,#7396af55 30px,transparent 31px,transparent 36px);background-attachment:local}
.postal-ticket #wish-status{color:#245476}
.wish-stack:before{background:#91afc6;border-color:#c0d5e4}.wish-stack:after{background:#b3cbdc;border-color:#d0dfeb}
#saved-wishes .guest-wish{background:linear-gradient(130deg,#f0f7fc,#d1e3f0);border-color:#adc8db;box-shadow:0 12px 30px #0a233529}
#saved-wishes .guest-wish p{color:#254960}#saved-wishes .guest-wish cite,.guest-wish .wish-flower{color:#285b80}
.wish-navigation,.wish-navigation button,.wishes-empty{color:#e1edf7}.wish-navigation button{border:1px solid #9abbd066;border-radius:50%;background:#c0dbef12}
.wish-navigation button:focus-visible{outline-color:#d3e6f4}
footer{background:transparent;color:#eaf2f7;padding:80px 20px 45px}footer:before,footer:after{display:none}footer h2,footer h3{color:#f3f3ea}footer .eyebrow,footer p{color:#d9e7f1}
footer>.heading-ornament{margin-bottom:38px;width:min(430px,90%)}
footer .studio-credit{display:flex;flex-direction:column;align-items:center;gap:28px;max-width:850px;width:100%;margin:65px auto 35px;padding:45px 12px 25px;border-top:1px solid #b5cbd42e;background:transparent}
footer .studio-credit .crafted-credit{font-family:'EB Garamond',Georgia,serif;text-transform:uppercase;letter-spacing:4px;font-size:clamp(14px,2vw,23px);line-height:2;max-width:none;margin:0;color:#bdcddb;text-wrap:balance}
.crafted-credit a{font-weight:600;color:#f2eee0;border-bottom:1px solid currentColor;padding-bottom:4px;margin-left:8px}
footer .studio-links{display:flex;justify-content:center;gap:25px}
footer .studio-links a{display:grid;place-items:center;width:64px;height:64px;padding:14px;border:1px solid #a7c3d377;border-radius:50%;background:#bdd8ec0a;color:#d7e8f5;transition:background .2s,transform .2s}
footer .studio-links a:hover{background:#bdd8ec22;transform:translateY(-3px)}footer .studio-links svg{width:32px;height:32px}
footer .studio-credit small{font-size:13px;color:#a9c1d3}footer>.text-link{color:#c7dce9}
#music{background:#e8f2faf2;color:#214e73;border-color:#8faec6;box-shadow:0 6px 20px #102e4925}
.falling-petal,.petal-burst .falling-petal{background:radial-gradient(ellipse at 30% 25%,#dceaf6,#88b0d0 55%,#436e94)}.falling-petal:nth-child(3n){background:radial-gradient(ellipse at 30% 25%,#fff9e9,#e1d9bc 70%,#bcad88)}
#home .hero.film-hero{background:linear-gradient(#c3e1f6,#edf6fc)}
#home .hero.film-hero:after{background:linear-gradient(transparent,#edf6fc)}
@media(max-width:600px){.section h2{font-size:clamp(44px,11vw,60px)}.heading-ornament{width:92%;height:auto;aspect-ratio:3/1;margin-bottom:20px}.families{padding-bottom:50px}.wishes{padding-bottom:50px}.wishes .ticket-heading h2{font-size:37px}.ticket-heading{min-height:86px}footer{padding-top:60px}footer .studio-credit .crafted-credit{font-size:15px;letter-spacing:2px;line-height:2.1}.crafted-credit a{display:inline-block;margin-left:4px}footer .studio-links a{width:56px;height:56px;padding:12px}footer .studio-links svg{width:29px;height:29px}.gallery-controls button{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){footer .studio-links a{transition:none}}

/* Section-specific ornaments and seamless hero hand-off, November refinement. */
html{scroll-padding-top:24px}.section{scroll-margin-top:24px}
#home .hero.film-hero{background:linear-gradient(#c3e1f6,#dfeefa);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 66%,rgba(0,0,0,.97) 74%,rgba(0,0,0,.7) 84%,rgba(0,0,0,.25) 93%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 66%,rgba(0,0,0,.97) 74%,rgba(0,0,0,.7) 84%,rgba(0,0,0,.25) 93%,transparent 100%)}
#home .hero.film-hero:after{display:none}
.heading-ornament{width:min(430px,86%);aspect-ratio:3/1;height:auto;margin-bottom:24px}
.countdown>.heading-ornament{margin-bottom:24px}
.clock-shell{margin-top:45px;margin-bottom:35px;padding-top:45px;padding-bottom:45px}
.gallery-controls{gap:25px;margin-top:32px}
.gallery-controls button,.gallery-controls button:hover,.gallery-controls button:disabled{width:56px;height:56px;padding:0;flex:0 0 56px;border:0;background:none;box-shadow:none;opacity:1;outline-offset:4px}
.gallery-controls button img{display:block;width:56px;height:56px;max-width:none;object-fit:contain;filter:none;transition:transform .18s ease}
.gallery-controls #prev img{transform:scaleX(-1)}.gallery-controls #next img{transform:none}
.gallery-controls #prev:hover img{transform:scaleX(-1) scale(1.06)}.gallery-controls #next:hover img{transform:scale(1.06)}
.gallery-controls button:disabled{cursor:wait}.gallery-controls #photo-count{font-size:10px;letter-spacing:2.5px;min-width:70px}
footer>.heading-ornament{width:135px;max-width:36%;margin-bottom:24px}
footer .studio-credit{max-width:440px;margin:38px auto 22px;padding:25px 8px 12px;gap:16px}
footer .studio-credit .crafted-credit{font-size:12px;letter-spacing:2px;line-height:1.8}
footer .studio-links{gap:16px}footer .studio-links a{width:38px;height:38px;padding:8px}footer .studio-links svg{width:20px;height:20px}
footer .studio-credit small{font-size:10px}
@media(max-width:600px){.heading-ornament{width:90%;height:auto;aspect-ratio:3/1;margin-bottom:22px}.clock-shell{margin-top:30px;margin-bottom:28px;padding:34px 14px 32px}.gallery-controls button,.gallery-controls button:hover,.gallery-controls button:disabled{width:52px;height:52px;flex-basis:52px}.gallery-controls button img{width:52px;height:52px}footer>.heading-ornament{width:120px;margin-bottom:22px}footer .studio-credit .crafted-credit{font-size:11px;letter-spacing:1.4px}footer .studio-links a{width:36px;height:36px;padding:8px}footer .studio-links svg{width:19px;height:19px}}

/* The opening artwork carries the tap prompt. Use a small focus label for keyboard entry. */
#gate #begin.gate-tap:focus, #gate #begin.gate-tap:focus-visible,
#gate #begin.gate-tap:active {outline:none;box-shadow:none;background:transparent}
#begin .begin-label {display:none}
#gate.needs-label #begin .begin-label, #begin:focus-visible .begin-label {
  display:block;padding:.5em 1em;border-radius:2em;background:#e9f3fa;color:#273c51;
  font:600 16px Georgia,serif;letter-spacing:.12em;text-transform:uppercase
}
#opening-film, #hero-film {pointer-events:none}
#opening-film::-webkit-media-controls, #hero-film::-webkit-media-controls,
#opening-film::-webkit-media-controls-start-playback-button,
#hero-film::-webkit-media-controls-start-playback-button {display:none!important;-webkit-appearance:none}
.film-stage {position:relative}
#film-scroll {
  position:absolute;z-index:3;left:50%;bottom:max(1rem,env(safe-area-inset-bottom));
  transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;
  padding:7px 15px;color:#672237;opacity:0;visibility:hidden;pointer-events:none;
  font:500 clamp(15px,1.7vw,23px)/1.2 'Bodoni Moda',Georgia,serif;
  text-transform:uppercase;letter-spacing:.26em;text-decoration:none;transition:opacity .45s ease
}
#film-scroll.visible {opacity:1;visibility:visible;pointer-events:auto}
#film-scroll span {padding-left:.26em}
#film-scroll b {display:grid;justify-items:center;margin-top:.38em}
#film-scroll i {display:block;width:.84em;height:.84em;border:solid currentColor;border-width:0 .13em .13em 0;transform:rotate(45deg)}
#film-scroll i+i {margin-top:-.28em}
@media(prefers-reduced-motion:reduce){#film-scroll{transition:none}}
#music .music-note{font-style:normal}#music .music-muted{vertical-align:-.13em}
