/* Full-screen mobile composition inspired by Royal. The artwork is original. */
.royal-entry{display:block;padding:0;gap:0;overflow:hidden;background:#f0e9da;perspective:none;isolation:isolate}
.royal-entry:not([open]){display:none}
.royal-entry::before{display:none}
.royal-entry::after{inset:0;border:0;background:#f6f2e9;z-index:6;opacity:0}
.royal-envelope-art{position:absolute;top:50%;left:50%;width:max(100vw,56.28dvh);height:max(100dvh,177.68vw);transform:translate(-50%,-50%);perspective:2000px;pointer-events:none}
.royal-envelope-art img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.royal-envelope-inside{position:absolute;inset:0;background:linear-gradient(125deg,#e0d6c3,#f5eedf 45%,#bbaa8a)}
.royal-envelope-base{clip-path:polygon(0 33.8%,50% 60.7%,100% 33.8%,100% 100%,0 100%)}
.royal-envelope-flap{clip-path:polygon(0 0,100% 0,100% 34.3%,53% 60.8%,50% 61.3%,47% 60.8%,0 34.3%);transform-origin:50% 0;will-change:transform}
.royal-open{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;background:none;z-index:4;padding:0;color:#76582e;cursor:pointer}
.royal-open:focus-visible{outline:2px solid #8f6f3c;outline-offset:-10px}
.royal-monogram{position:absolute;top:63%;left:50%;transform:translateX(-50%);font:29px/1 var(--serif);text-shadow:0 1px 1px #fff8;letter-spacing:.04em;background:#f4eedcbb;border-radius:50%;padding:5px 10px}
.royal-monogram i{font-size:23px}
.royal-instruction{position:absolute;bottom:max(95px,10dvh);left:20px;right:20px;text-align:center;z-index:5;pointer-events:none;color:#594d37}
.royal-instruction p{display:inline-block;font:500 10px/1.8 var(--sans);letter-spacing:.17em;text-transform:uppercase;padding:9px 17px;background:#f7f1e7d9;box-shadow:0 2px 15px #7f694615;border:1px solid #c1ac8655}
.royal-instruction>span{display:block;font:10px/1.6 var(--sans);letter-spacing:.25em;margin-top:13px;color:#665942;text-shadow:0 1px 5px #fff}
.royal-entry .skip-envelope{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);margin:0;padding:10px 16px;min-height:44px;z-index:12;pointer-events:auto;background:#f6f1e6d9;border:1px solid #bca57c66;color:#594e3b;font-size:11px;white-space:nowrap}
.royal-entry.opening{animation:none;pointer-events:auto}
.royal-entry.opening .royal-open{pointer-events:none;opacity:0;transition:opacity .3s}
.royal-entry.opening .royal-instruction{opacity:0;transition:opacity .25s}
.royal-entry.opening .skip-envelope{opacity:1;transition:none}
.royal-entry.opening .royal-envelope-flap{animation:royal-lift 2.6s cubic-bezier(.3,0,.2,1) forwards}
.royal-entry.opening::after{animation:royal-ivory .85s ease 2.15s forwards}
@keyframes royal-lift{from{transform:rotateX(0) translateY(0)}to{transform:rotateX(12deg) translateY(-1.9%);filter:drop-shadow(0 16px 13px #63533855)}}
@keyframes royal-ivory{to{opacity:1}}

/* Text stays in the page so the names remain crisp when a film is added. */
.site-header{position:absolute;inset:0 0 auto;z-index:3;width:100%;max-width:none;height:90px;border:0;color:#fff9ee;padding-inline:50px}
.site-header .brand span{color:#e2c68d}.site-header .header-date{color:#fff5dd}.site-header nav{color:#fff8e8}.site-header a:focus-visible{outline-color:#f4e5c1}
.hero-cinematic{width:100%;max-width:none;margin:0;min-height:100svh;padding:130px 7vw 65px;display:flex;align-items:flex-end;justify-content:flex-start;position:relative;isolation:isolate;gap:0;background:#1d2c25;overflow:hidden;color:#fff9ed}
.hero-cinematic::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#17271ff5 0%,#17271fef 25%,#17271f99 43%,#17271f00 68%),linear-gradient(0deg,#111d16b3,transparent 60%);pointer-events:none}
.hero-cinematic .couple-photo{position:absolute;inset:0 0 0 auto;width:64%;height:100%;max-width:none;margin:0;padding:0;border:0;z-index:-2;animation:none}
.hero-cinematic .couple-photo::before,.hero-cinematic .couple-photo::after,.hero-cinematic .photo-arch::after{display:none}
.hero-cinematic .photo-arch{width:100%;height:100%;border-radius:0;box-shadow:none;background:#263a32}
.hero-cinematic .photo-arch img{width:100%;height:100%;object-fit:cover;object-position:50% 28%;aspect-ratio:auto}
.hero-cinematic .hero-copy{padding:0;width:auto;max-width:610px;text-shadow:0 2px 12px #07140d4d}
.hero-cinematic .hero-copy>.eyebrow{color:#f0dfbc;font-size:11px;letter-spacing:.25em;margin-bottom:26px}
.hero-cinematic .hero-copy>.eyebrow>span{background:#d9bd83}
.hero-cinematic .couple-names{font-size:clamp(60px,5.7vw,90px);line-height:.94;color:#fff9ed;letter-spacing:-.02em}
.hero-cinematic .couple-names .surname{font-size:.46em;letter-spacing:.06em;margin-top:8px}
.hero-cinematic .couple-names .name-amp{font-size:40px;line-height:1;color:#e7d3a2;margin:13px 0 12px 80px}
.hero-cinematic .hero-date{border-color:#dbccaa66;margin-top:29px;padding-top:21px;max-width:400px}
.hero-cinematic .hero-date>p{font-size:11px;letter-spacing:.1em}.hero-cinematic .hero-date>span{font-size:13px;color:#f0e5ce}.hero-cinematic .hero-date i{color:#dbbe83}
.hero-cinematic .text-link{font-size:12px;color:#fff8e7;border-color:#d7c59f88;margin-top:18px;gap:20px}
.invitation-note{text-align:center;padding:65px 25px 46px}.invitation-note .eyebrow{font-size:10px;letter-spacing:.22em;margin-bottom:20px}.invitation-note>p:last-child{font:28px/1.4 var(--serif);color:#69705d}
.invitation-enter .hero-cinematic .couple-photo{animation:royal-portrait-in 1.7s ease both}.invitation-enter .hero-cinematic .hero-copy>.eyebrow{animation-delay:.1s}
@keyframes royal-portrait-in{from{opacity:.2;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
@media(max-width:760px){
.site-header{height:76px;padding-inline:25px}.site-header .brand{font-size:28px}.site-header nav{display:none}.site-header .header-date{font-size:8px;letter-spacing:.08em}
.hero-cinematic{height:100svh;min-height:720px;padding:95px 23px 40px;justify-content:center;align-items:flex-end;text-align:center}
.hero-cinematic .couple-photo{inset:0;width:100%;height:100%}.hero-cinematic .photo-arch img{object-position:50% 25%}
.hero-cinematic::after{background:linear-gradient(0deg,#101e17f5 0%,#14251be0 16%,#1c2d206b 39%,transparent 63%),linear-gradient(180deg,#101a165c,transparent 15%)}
.hero-cinematic .hero-copy{width:100%;max-width:400px}.hero-cinematic .hero-copy>.eyebrow{justify-content:center;font-size:9px;letter-spacing:.2em;margin-bottom:19px}
.hero-cinematic .hero-copy>.eyebrow>span,.hero-cinematic .hero-copy>.eyebrow::after{background:#ddc899;width:24px}
.hero-cinematic .couple-names{font-size:48px;line-height:.94}.hero-cinematic .couple-names .surname{font-size:.5em;letter-spacing:.05em;margin-top:5px}
.hero-cinematic .couple-names .name-amp{font-size:29px;margin:8px 0;line-height:1}
.hero-cinematic .hero-date{max-width:320px;margin:19px auto 0;padding-top:15px}.hero-cinematic .hero-date>p{font-size:10px;letter-spacing:.06em}.hero-cinematic .hero-date>span{font-size:12px;margin-top:6px}
.hero-cinematic .text-link{margin-top:12px;font-size:10px;padding:9px 0}
.invitation-note{padding:45px 28px 30px}.invitation-note .eyebrow{font-size:9px;letter-spacing:.13em;margin-bottom:17px}.invitation-note>p:last-child{font-size:25px}.invitation-note>p:last-child br{display:none}
.royal-monogram{font-size:26px;top:63%}.royal-monogram i{font-size:19px}
}
@media(max-width:380px){.hero-cinematic .couple-names{font-size:43px}.hero-cinematic{min-height:690px}.hero-cinematic .hero-date>p{font-size:9px}.royal-instruction p{font-size:9px}}
@media(max-height:700px) and (max-width:760px){.hero-cinematic{min-height:100svh;padding-top:90px;padding-bottom:25px}.hero-cinematic .couple-names{font-size:38px}.hero-cinematic .hero-copy>.eyebrow{margin-bottom:14px}.hero-cinematic .hero-date{margin-top:15px}.hero-cinematic .text-link{margin-top:5px}.royal-instruction{bottom:85px}}
@media(prefers-reduced-motion:reduce){.royal-entry{display:none}.invitation-enter .hero-cinematic .couple-photo{animation:none}.hero-cinematic .couple-photo{opacity:1;transform:none}}
/* Keep the opening as quiet as the reference: the paper and clasp lead. */
.royal-monogram{background:none;border-radius:0;padding:0;text-shadow:0 1px 1px #fff;color:#7f663f}
.royal-instruction p{background:none;border:0;box-shadow:none;text-shadow:0 1px 3px #fff;color:#594f3b}
.royal-instruction>span{display:none}
.royal-entry .skip-envelope{background:none;border:0;text-shadow:0 1px 3px #fff}
.hero-cinematic{flex-direction:row}
@media(min-width:761px){.hero-cinematic .photo-arch img{object-position:50% 0%}}
.site-header .header-date{display:none}
