:root{--ink:#3E3E3E;--bg:#FCF8F5;--dark:#21201f;--muted:#a8a8aa;--line:#b7b7b7}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Libre Baskerville",Georgia,serif;line-height:1.75;font-size:15px}
h1,h2,h3,.mono,.kicker{font-family:"Instrument Serif","Libre Baskerville",serif;font-weight:400;color:var(--ink);text-transform:uppercase;letter-spacing:.05px;line-height:1.3}
header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:18px 5vw;border-bottom:1px solid var(--line);background:var(--bg);position:sticky;top:0;z-index:5}
.mono{font-size:26px;text-decoration:none}nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
nav a{color:var(--ink);text-decoration:none;font-size:13px;letter-spacing:.08em;text-transform:uppercase}nav a.active{border-bottom:1px solid var(--ink)}
.btn{display:inline-block;background:var(--ink);color:var(--bg)!important;padding:10px 20px;text-decoration:none;letter-spacing:.08em;text-transform:uppercase;font-size:13px}
.btn.big{padding:16px 34px;margin-top:24px}#m,.burger{display:none}
.ph{background:#e7e2de;width:100%}.hero{height:70vh;min-height:360px}.banner{height:300px}.wide{max-width:900px;margin:40px auto 0;aspect-ratio:3/2;width:90%}
.intro,.rsvp,.center{text-align:center}.intro{padding:56px 5vw}.kicker{text-transform:uppercase;letter-spacing:.15em;font-size:13px}
h1{font-size:clamp(40px,7vw,72px);line-height:1.15;margin:10px 0}h1 span{display:block;font-size:.4em;font-style:italic;margin:8px 0}
.date{font-size:20px;margin:6px 0 0}h2{font-size:38px;margin:0 0 20px}
.cd{display:flex;justify-content:center;gap:28px;margin-top:28px}.cd div{display:flex;flex-direction:column}.cd b{font-size:30px;font-weight:400;font-family:"Playfair Display",serif}.cd small{text-transform:uppercase;font-size:11px;letter-spacing:.1em}
.rsvp{background:var(--ink);color:var(--bg);padding:50px 5vw}.rsvp h2{color:var(--bg)}
.text{max-width:720px;margin:0 auto;padding:56px 6vw}.event{border:1px solid var(--line);padding:28px;margin-top:20px}
.place{border-top:1px solid var(--line);padding:18px 0}.place h4{margin:0;font-size:17px}.addr{color:#777;font-size:13px;margin:4px 0}.place a{color:var(--ink)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:1000px;margin:0 auto 60px;padding:0 5vw}.sq{aspect-ratio:1}
footer{text-align:center;padding:40px;border-top:1px solid var(--line);font-size:13px;letter-spacing:.08em}
@media(max-width:760px){.burger{display:block;cursor:pointer;text-transform:uppercase;font-size:13px;letter-spacing:.1em}nav{display:none;width:100%;flex-direction:column;padding-top:16px}#m:checked~nav{display:flex}.grid{grid-template-columns:repeat(2,1fr)}.cd{gap:16px}.banner{height:200px}}
html{scroll-behavior:smooth}.pg{scroll-margin-top:var(--navh,130px);border-bottom:1px solid var(--line)}nav a{white-space:nowrap}

/* v2: type scale + side frame */
body{font-size:16px;line-height:1.6}
header{flex-direction:column;justify-content:center;padding:14px 5vw 0;gap:4px}
.mono{font-size:45px;line-height:1.2}
nav{justify-content:center;gap:20px;padding-bottom:8px}
nav a{font-size:16px;letter-spacing:normal;text-transform:none;padding-bottom:6px}
nav a.btn{font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:7px 14px}
.hero{display:flex;align-items:center;justify-content:center;position:relative;z-index:1;margin:0 calc(-1*var(--fpad))}
.kicker{font-size:clamp(40px,6vw,76.8px);color:#fff;margin:0;text-shadow:0 1px 8px rgba(0,0,0,.25)}
h1{font-size:clamp(56px,10vw,100px);margin:40px 0 0}h1 span{font-family:"Libre Baskerville",serif;font-size:16px;font-style:normal;text-transform:none;margin:28px 0}
h2,h3,.date{font-size:35px;margin:0 0 20px}.date{margin-top:60px}
.cd{gap:16px;font-size:16px}.cd b,.cd small{all:unset}
.text{text-align:center}.place{text-align:center}h4{font-family:"Libre Baskerville",serif}
:root{--fpad:130px;--fw:62px;--fin:35px}
.framed{position:relative;padding:0 var(--fpad);background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2262%22%20height%3D%2218%22%20viewBox%3D%220%200%2062%2018%22%3E%3Crect%20x%3D%220%22%20width%3D%227%22%20height%3D%2218%22%20fill%3D%22%233E3E3E%22/%3E%3Crect%20x%3D%2215%22%20width%3D%2232%22%20height%3D%2218%22%20fill%3D%22%233E3E3E%22/%3E%3Crect%20x%3D%2255%22%20width%3D%227%22%20height%3D%2218%22%20fill%3D%22%233E3E3E%22/%3E%3Cellipse%20cx%3D%2231%22%20cy%3D%229%22%20rx%3D%225%22%20ry%3D%228.6%22%20fill%3D%22%23FCF8F5%22%20transform%3D%22rotate%28-28%2031%209%29%22/%3E%3C/svg%3E") left var(--fin) top 0/var(--fw) 18px repeat-y,url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2262%22%20height%3D%2218%22%20viewBox%3D%220%200%2062%2018%22%3E%3Crect%20x%3D%220%22%20width%3D%227%22%20height%3D%2218%22%20fill%3D%22%233E3E3E%22/%3E%3Crect%20x%3D%2215%22%20width%3D%2232%22%20height%3D%2218%22%20fill%3D%22%233E3E3E%22/%3E%3Crect%20x%3D%2255%22%20width%3D%227%22%20height%3D%2218%22%20fill%3D%22%233E3E3E%22/%3E%3Cellipse%20cx%3D%2231%22%20cy%3D%229%22%20rx%3D%225%22%20ry%3D%228.6%22%20fill%3D%22%23FCF8F5%22%20transform%3D%22rotate%28-28%2031%209%29%22/%3E%3C/svg%3E") right var(--fin) top 0/var(--fw) 18px repeat-y}
.framed>.pg{border-bottom:0}
@media(max-width:760px){:root{--fpad:34px;--fw:22px;--fin:6px}.framed{background-size:var(--fw) 6.4px}.mono{font-size:34px}header{flex-direction:row;justify-content:space-between;padding:12px 5vw}.text{padding:40px 10px}.intro{padding:40px 6px}.grid{padding:0}}
.hero{width:auto}.cd{flex-wrap:wrap}.cd span{white-space:nowrap}
.hero{overflow:hidden;background:#21201f}.herovid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.kicker{position:relative;z-index:1}
img.wide,img.wide2,img.banner,img.attire,img.pimg{display:block;width:100%;height:auto;object-fit:cover}
img.wide{max-width:900px;margin:40px auto 0;width:90%;aspect-ratio:3/2}img.banner{height:360px}img.wide2{aspect-ratio:16/7;margin-top:24px}
img.attire{max-width:560px;margin:28px auto 0}img.pimg{max-width:520px;aspect-ratio:4/3;margin:0 auto 14px}
.gal{columns:3 260px;column-gap:12px;max-width:1000px;margin:0 auto 60px}.gal a{display:block;break-inside:avoid;margin-bottom:12px}.gal img{width:100%;height:auto;display:block}
h1{font-size:clamp(44px,8vw,80px)}
@media(max-width:760px){img.banner{height:220px}.gal{columns:2}}
.rv-on .rv{opacity:0;transform:translateY(10px);transition:opacity .9s cubic-bezier(.2,.6,.3,1),transform .9s cubic-bezier(.2,.6,.3,1)}
.rv-on .rv.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.rv-on .rv{opacity:1;transform:none;transition:none}}
/* v4 */
.hero{height:calc(100vh - 114px);height:calc(100svh - 114px);min-height:420px}
img.secimg{display:block;width:100%;max-width:624px;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:50% 50%;margin:40px auto 0}
img.secimg.reg{object-position:50% 78%}
.zg{display:grid;grid-template-columns:repeat(4,1fr);column-gap:20px;row-gap:26px;max-width:956px;margin:0 auto 60px;align-items:start}
.zg .g{aspect-ratio:1;border-radius:20px;overflow:hidden}.zg img{width:100%;height:100%;object-fit:cover;display:block}
.g1{grid-column:1/span 3;grid-row:1/span 3}.g2{grid-column:4;grid-row:1}.g3{grid-column:4;grid-row:2}.g4{grid-column:4;grid-row:3}
.g5{grid-column:1;grid-row:4}.g6{grid-column:2;grid-row:4}.g7{grid-column:1;grid-row:5}.g8{grid-column:2;grid-row:5}.g9{grid-column:3/span 2;grid-row:4/span 2}
.g10{grid-column:1;grid-row:6}.g11{grid-column:2;grid-row:6}.g12{grid-column:3;grid-row:6}.g13{grid-column:4;grid-row:6}
.g14{grid-column:1;grid-row:7}.g15{grid-column:1;grid-row:8}.g16{grid-column:1;grid-row:9}.g17{grid-column:2/span 3;grid-row:7/span 3}
.text.tt{max-width:1020px}.places{display:grid;grid-template-columns:1fr 1fr;gap:36px 40px}.places .place{border-top:0;padding:10px 0}
img.pimg{width:160px;height:160px;max-width:none;aspect-ratio:1;border-radius:50%;object-fit:cover;margin:0 auto 14px}
.credit{font-size:11px;color:#777;margin:0}.credit a{color:#777}
@media(max-width:760px){.hero{height:auto;aspect-ratio:1/1;min-height:0}.kicker{font-size:40px;text-align:center}img.secimg{max-width:100%}
.zg{grid-template-columns:1fr;row-gap:22px}.zg .g{grid-column:1!important;grid-row:auto!important}.places{grid-template-columns:1fr}}
.p-schedule main h2:first-of-type,.p-registry main h2:first-of-type,.p-gallery main h2:first-of-type,.p-things-to-do main h2:first-of-type{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.p-gallery main .text:first-child{padding:30px 0 0}
img.wide2{max-width:762px;aspect-ratio:762/416;margin:0 auto 32px}
.p-things-to-do main .text:first-child{padding-top:40px}.p-schedule img.secimg,.p-registry img.secimg{margin-top:40px}
.p-gallery main .text:first-child{padding:145px 0 0}@media(max-width:760px){.p-gallery main .text:first-child{padding:40px 0 0}}
