:root{--ink:#172a41;--navy:#172f49;--cream:#f7f0e3;--copper:#a86b45;--line:#af7854;--white:#fff3e0}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:#ece4d7;font-family:Georgia,'Times New Roman',serif}
.invitation{max-width:68rem;min-height:100vh;margin:auto;container-type:inline-size;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 46%,#fcf6eb 15%,var(--cream) 71%,#f0e7d7 100%);box-shadow:0 0 3rem #30291e14}
a{color:inherit}
a:focus-visible{outline:2px solid var(--copper);outline-offset:.25rem}
.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.skip:focus{position:absolute;top:1rem;left:1rem;z-index:10;background:#fff;padding:.6rem}
.bouquet{position:absolute;width:49.4%;height:auto;pointer-events:none;user-select:none}
.first{top:0;left:0;z-index:2}
.top{position:relative;border-bottom:2px solid var(--line);z-index:1}
.top nav{position:relative;display:flex;justify-content:flex-end;align-items:center;gap:clamp(.85rem,3.4cqw,2.65rem);padding:0 5.5%;height:9.4cqw;min-height:3.5rem}
.top a{text-transform:uppercase;letter-spacing:.15em;font-size:clamp(.78rem,1.64cqw,1.08rem);text-decoration:none;white-space:nowrap;display:grid;place-items:center;min-height:2.75rem}
.top a:hover{text-decoration:underline;text-underline-offset:.3em}
.hero{text-align:center;position:relative;z-index:3;padding:7.7cqw 2% 0 10%}
.mark{height:17.8cqw;display:flex;align-items:center;justify-content:center;position:relative;left:.75%;gap:0;margin:0 auto}
.mark .initials{width:19.7cqw;height:auto}
.sprig{width:17cqw;height:auto;align-self:center}
.sprig.left{margin:3.4cqw .2rem 0 0}
.sprig.right{width:21cqw;margin:4.9cqw 0 0 .15rem}
h1{font:400 clamp(2rem,6.5cqw,4.7rem)/1.04 Georgia,'Times New Roman',serif;text-transform:uppercase;letter-spacing:.076em;margin:1.7cqw 0 .9cqw;white-space:nowrap}
.script{margin:0 auto;width:65.5cqw}
.script img,.story-heading img{width:100%;height:auto;display:block;margin:auto}
.rule{display:flex;align-items:center;justify-content:center;gap:1.4cqw;color:var(--copper);font:400 clamp(1.2rem,3.4cqw,2.5rem)/1 Georgia,serif;margin:0 auto}
.rule::before,.rule::after{content:"";height:1px;background:linear-gradient(90deg,#cea584,var(--line));flex:1}
.rule::after{background:linear-gradient(90deg,var(--line),#cea584)}
.hero .rule{width:48cqw;margin:-.1cqw auto 1.4cqw}
.hero time{display:block;text-transform:uppercase;letter-spacing:.29em;font-size:clamp(1.1rem,2.72cqw,1.9rem)}
.details{position:relative;z-index:3;padding:6cqw 7% 0;text-align:center}
.details h2,.story-heading p,footer p{text-transform:uppercase;font-weight:400;letter-spacing:.23em;font-size:clamp(.9rem,1.96cqw,1.35rem);margin:0}
.details>.rule{width:82%;margin:.35cqw auto 2.25cqw}
.details dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
.details dl>div{position:relative;min-width:0;padding:0 .3rem .35rem}
.details dl>div+div{border-left:1px solid var(--line)}
.details svg{display:block;margin:0 auto 1.3cqw;width:8.2cqw;height:8.2cqw;min-width:3rem;min-height:3rem;background:var(--navy);color:var(--white);border-radius:50%;padding:1.88cqw;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.details dt,.details dd{line-height:1.3;text-transform:uppercase;letter-spacing:.13em;font-size:clamp(.87rem,1.69cqw,1.13rem)}
.details dd{margin:.22em 0 0}
.story{position:relative;padding-top:4.15cqw;text-align:center;isolation:isolate}
.story-heading{position:relative;z-index:3}
.story-heading h2{width:29.5cqw;margin:0 auto .7cqw}
.story-heading .rule{width:28cqw;margin:1cqw auto 0}
.main-photo{position:relative;margin:-1.6cqw 0 0;height:49cqw;min-height:17rem;background:#dfcfb5;overflow:hidden;mask-image:linear-gradient(transparent 0%,black 17%)}
.main-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 54%;display:block}
.last{right:-8%;bottom:-3%;transform:rotate(180deg);z-index:2;width:43%;mask-image:linear-gradient(110deg,black 42%,transparent 88%)}
footer{position:relative;z-index:4;padding:2.55cqw 1rem 2.1cqw;text-align:center;background:var(--navy);color:var(--white);border-top:2px solid #bd926c}
footer p{letter-spacing:.24em}
footer p span{padding:0 .35rem;color:#e6bd99}
footer .rule{color:#f3d1ad;width:49%;margin:.9cqw auto 0;font-size:clamp(1.1rem,2.7cqw,2rem)}
section,[id]{scroll-margin-top:.7rem}
@media(max-width:700px){
.top nav{gap:clamp(.75rem,3.4cqw,1.4rem);padding-inline:4%}
.first{width:43%;opacity:.92;top:-.5rem;left:-4%;mask-image:linear-gradient(118deg,black 61%,transparent 95%)}.top{z-index:4;background:#f8f0e7b8}.top a{text-shadow:0 1px #fff6}
.hero{padding-left:5%;padding-right:3%;padding-top:9cqw}.mark{height:25cqw}.mark .initials{width:25cqw}.sprig{width:22cqw}.sprig.right{width:26cqw}
h1{font-size:clamp(1.55rem,6.48cqw,3.3rem);margin-top:2.2cqw;white-space:normal;letter-spacing:.055em}
.script{width:77%}.hero .rule{margin:.7cqw auto 2.2cqw}.details{padding-top:7cqw}
.story{padding-top:7.4cqw}.story-heading h2{width:42cqw}.story-heading p{font-size:.86rem;letter-spacing:.17em}.last{width:45%;right:-10%}.main-photo{height:67cqw;margin-top:-1.2cqw}
footer{padding:1rem .75rem .75rem}footer p{font-size:.86rem;letter-spacing:.15em}
}
@media(max-width:480px){
.top nav{justify-content:center}.details dl{grid-template-columns:1fr 1fr;gap:.9rem 0}.details dl>div:nth-child(3){border-left:0}
.details h2{letter-spacing:.12em}.details svg{padding:.64rem;margin-bottom:.4rem}.details>.rule{margin:.25rem auto .9rem}
.hero time{letter-spacing:.22em}.main-photo{height:84cqw}.main-photo img{object-position:50% 60%}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.side-vine{position:absolute;z-index:1;right:0;top:49.7cqw;width:14.15cqw;height:auto;pointer-events:none}
.main-photo{height:61cqw;min-height:20rem;background:#504331}
.main-photo::before{content:"";position:absolute;inset:-1.5rem;background:url(photos/the-proposal.webp) center 57%/cover;filter:blur(14px)}
.main-photo img{position:relative;width:80%;margin:auto;object-position:50% 51%;mask-image:linear-gradient(90deg,transparent,black 13%,black 87%,transparent)}
@media(max-width:700px){.main-photo{height:73cqw}.main-photo img{width:100%;mask-image:none;object-position:50% 54%}.side-vine{top:53cqw;width:13cqw;opacity:.75}}
@media(max-width:480px){.main-photo{height:92cqw}.side-vine{top:55cqw;opacity:.6}}
.last{width:37%;right:-7%;bottom:-4%;mask-image:linear-gradient(120deg,black 24%,#000a 54%,transparent 86%)}
@media(min-width:701px){.main-photo{height:64cqw}.main-photo img{width:73%;object-position:50% 53%}}
@media(max-width:700px){.last{width:41%;right:-10%}}

.registry-link { color: inherit; text-decoration: underline; text-underline-offset: .2em; }

.proposal{position:relative;padding:clamp(2.2rem,6cqw,4rem) clamp(1rem,5cqw,3.2rem);text-align:center;background:#f8f2e7}
.proposal h2{margin:0;font:normal clamp(1.7rem,4.3cqw,2.8rem) Georgia,serif;color:var(--navy)}
.proposal>.rule{width:min(15rem,65%);margin:.45rem auto 1.6rem}
.proposal-grid{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.5rem,1.7cqw,1.15rem)}
.proposal-grid a{display:block;overflow:hidden;border:1px solid #c5a78a;background:#ede3d2}
.proposal-grid a:focus-visible,.proposal-controls button:focus-visible{outline:3px solid #bd926c;outline-offset:3px}
.proposal-grid img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;height:auto}
.proposal-viewer{width:min(94vw,46rem);max-height:94dvh;padding:.85rem;margin:auto;border:1px solid #bd926c;background:var(--navy);color:#fff;overscroll-behavior:contain}
.proposal-viewer::backdrop{background:#0e1c2be6}
.proposal-viewer img{display:block;width:100%;max-height:calc(90dvh - 4rem);object-fit:contain;margin:.65rem auto 0}
.proposal-controls{display:flex;justify-content:center;gap:clamp(.3rem,2vw,.85rem);align-items:center;flex-wrap:wrap}
.proposal-controls button{background:#f8f2e7;color:var(--navy);border:0;border-radius:2px;font:inherit;font-size:.86rem;min-height:2.7rem;padding:0 .72rem;cursor:pointer}
.proposal-count{font-size:.9rem;min-width:3rem}
@media(max-width:620px){.proposal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top nav{flex-wrap:wrap;row-gap:.4rem}}
