@font-face{font-family:Italianno;src:url('fonts/italianno.woff2') format('woff2');font-weight:400;font-style:normal;font-display:block}
@font-face{font-family:'Source Serif 4';src:url('fonts/sourceserif4.woff2') format('woff2');font-weight:200 900;font-style:normal;font-display:block}

/* One illuminated folio: paper, type, drawings and frame share the same palette. */
:root{
  --paper:#f4eddf;
  --ink:#504737;
  --olive:#626b4d;
  --muted:#716954;
  --gold:#b69965;
  --line:#c6b898;
  --body:21px;
  --heading:72px;
  --serif:'Source Serif 4',Georgia,serif;
}
*{box-sizing:border-box}
html{scroll-behavior:auto;scroll-padding-top:32px}
body{margin:0;color:var(--ink);background:var(--paper);font-family:var(--serif);font-size:var(--body);line-height:1.65;font-optical-sizing:auto;font-synthesis:none}
#page{background:linear-gradient(#f9f4eaa6,#f9f4eaa6),url('assets/pale-aged-parchment.png') repeat 0 0/920px 920px;min-height:100vh;padding-top:16px;padding-bottom:20px}
button,input,select,textarea{font:inherit;color:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
p{margin:0 0 22px;text-wrap:pretty}
h1,h2,h3{margin:0;font-weight:400}
h1,h2,.signature{font-family:Italianno,cursive;font-weight:400;letter-spacing:0}
h2{font-size:var(--heading);line-height:1.05;margin-bottom:26px;text-wrap:balance}
h3{font-size:27px;line-height:1.3;font-weight:500;margin-bottom:14px}
img{display:block;max-width:100%;height:auto}
[hidden]{display:none!important}
.wrap{width:80%;max-width:1100px;margin-inline:auto}
.narrow{max-width:700px;margin-inline:auto}
.centered{text-align:center}
:focus-visible{outline:2px solid var(--olive);outline-offset:5px}
.text-link{display:inline-flex;align-items:center;gap:16px;min-height:44px;font-size:18px;line-height:1.4;color:var(--olive);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:7px}
.text-link:hover{text-decoration-color:currentColor}
.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:50px;padding:12px 25px;border:1px solid var(--olive);border-radius:4px;background:var(--olive);color:#faf5e9;font-size:18px;line-height:1.4}
.button:hover{background:#525e42}
.button.secondary{background:transparent;color:var(--ink);border-color:#9f885c}
.button.secondary:hover{background:#bca16b12}
.arrow{display:inline-block;position:relative;width:22px;height:14px;flex:0 0 22px}
.arrow::before{content:'';position:absolute;top:6px;left:0;width:21px;height:1px;background:currentColor}
.arrow::after{content:'';position:absolute;right:1px;top:3px;width:7px;height:7px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg)}
.arrow-down{transform:rotate(90deg)}
.arrow-up{transform:rotate(-90deg)}

/* Botanical corner drawing and content-anchored motifs; no framing rules. */
.storybook{position:relative;width:calc(100% - 24px);max-width:1480px;margin-inline:auto}
.border-cap{width:100%;height:auto;pointer-events:none;user-select:none;mix-blend-mode:multiply;opacity:.88}
.border-top{position:absolute;inset:0 0 auto}
.shire-border{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none;user-select:none;mix-blend-mode:multiply;opacity:.88}
.shire-border image{mix-blend-mode:multiply}
.chapter{position:relative;scroll-margin-top:0}
.hero-art,.footer-art,.drawing,.day-icon{mix-blend-mode:multiply}

.hero{position:relative;padding-top:clamp(110px,8.5vw,126px)}
.hero-words{text-align:center}
.hero .eyebrow{font-size:18px;line-height:1.55;max-width:640px;margin:0 auto 22px;letter-spacing:0;font-weight:400;text-transform:none}
.hero h1{font-size:clamp(96px,9.8vw,150px);line-height:1.03;margin:0 0 30px;text-wrap:balance}
.hero-date{font-size:24px;line-height:1.5;margin-bottom:27px}
.hero-date span{margin-inline:10px}
.hero-intro{font-size:22px;line-height:1.55;max-width:810px;margin:0 auto 21px}
.hero-intro span{display:block}
.hero .text-link{position:relative}
.hero-content{position:relative}
.hero-art{position:relative;width:100%;margin:-60px auto 0;order:2}
.hero{display:flex;flex-direction:column}
.hero-content{order:1}

.program{margin-top:-13%;padding-top:50px;padding-bottom:65px}
.program .section-intro{max-width:820px;margin-inline:auto}
.program h2{line-height:1.03}
.program-note{font-size:18px;line-height:1.65;color:var(--muted);margin:24px 0 48px}
.days{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);grid-template-areas:'friday saturday' 'sunday saturday';gap:48px 88px;max-width:1000px;margin-inline:auto;align-items:start}
.day:nth-child(1){grid-area:friday}
.day:nth-child(2){grid-area:saturday}
.day:nth-child(3){grid-area:sunday}
@media(min-width:761px){
  .day:nth-child(2){align-self:stretch;display:flex;flex-direction:column}
  .day:nth-child(2) dl{flex:1;display:flex;flex-direction:column;justify-content:space-between}
  .day:nth-child(3){align-self:end}
  .day dl>div:last-child{align-items:end}
}
.day{text-align:center;min-width:0}
.day-icon{width:116px;height:95px;margin:0 auto 15px;background:url('assets/shire/icons.png') no-repeat;background-size:300% 100%}
.icon-0{background-position:left center}
.icon-1{background-position:center center}
.icon-2{background-position:right center}
.day h3{font-size:32px;padding-top:20px;border-top:1px solid var(--gold);margin-bottom:3px}
.day-date{font-size:18px;color:var(--muted);margin-bottom:24px}
.day dl{font-size:20px;line-height:1.6;text-align:left;margin:0}
.day dl>div{display:grid;grid-template-columns:102px minmax(0,1fr);gap:18px;margin-bottom:13px}
.day dt{font-size:17px;line-height:1.8;color:var(--muted);font-variant-numeric:tabular-nums}
.day dd{margin:0;text-wrap:pretty}
.day:first-child dl>div,.day:last-child dl>div{grid-template-columns:68px minmax(0,1fr);gap:14px}
.day:nth-child(2) dl>div:nth-child(3){font-weight:600;color:var(--olive)}

.place{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:35px 70px;padding-top:85px;padding-bottom:85px;align-items:center}
.place>h2{grid-column:1/-1;text-align:center;margin-bottom:5px}
.venue-art{min-width:0}
.venue-art img{width:100%;height:auto}
.caption{font-size:17px;text-align:center;color:var(--muted);margin:15px 0 0}
.address{font-size:20px;margin-bottom:8px}
.place-intro{margin-top:26px}
.subsection{margin-top:28px}
.subsection h3{font-size:25px}
.subsection p{margin-bottom:0}

.food{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:center;padding-top:66px;padding-bottom:88px}
.food .lead{font-size:21px;margin-bottom:0}
.food h2{font-size:66px}
.table-art{width:100%;height:auto}

.dress{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-areas:'art title' 'art copy';gap:4px 65px;align-items:center;padding-top:80px;padding-bottom:80px}
.dress>h2{grid-area:title;align-self:end;font-size:66px}
.dress-copy{grid-area:copy;align-self:start}
.dress-copy p:last-child{margin-bottom:0}
.clothing-art{grid-area:art;width:100%;height:auto}
.gifts{padding-top:80px;padding-bottom:85px}
.gifts .narrow{max-width:740px}
.gifts p:last-child{margin-bottom:0}

.rsvp{padding-top:85px;padding-bottom:70px}
.rsvp>.section-intro{max-width:740px;margin:0 auto 58px}
.rsvp h2{font-size:78px}
.rsvp .section-intro p:last-child{font-size:19px;color:var(--muted);margin-top:22px}
form{max-width:800px;margin-inline:auto}
.form-group{padding:0 0 35px;margin:0 0 35px;border:0;border-bottom:1px solid #b6a78466}
.form-group h3{font-size:27px;margin-bottom:24px}
.fields.two{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.field{display:flex;flex-direction:column;gap:9px;font-size:17px;line-height:1.5}
.field input,.field select,.field textarea{width:100%;background:#fffaf124;border:1px solid #afa07b;border-radius:3px;padding:11px 14px;min-height:50px;font-size:20px;line-height:1.4}
.field select{appearance:auto}
.field textarea{resize:vertical;min-height:115px}
.field em{font-size:16px;color:var(--muted);font-style:normal}
.guest-name{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:24px;align-items:end}
.child{min-height:50px}
fieldset{padding:0;margin:25px 0 0;border:0;min-width:0}
legend{padding:0;margin-bottom:12px;font-size:17px}
.choices{display:flex;flex-wrap:wrap;gap:18px 34px}
.choice{display:flex;align-items:center;gap:11px;font-size:19px;line-height:1.6;cursor:pointer;min-height:30px}
.choice input{width:18px;height:18px;accent-color:var(--olive);margin:0;flex-shrink:0}
.group-head{display:flex;justify-content:space-between;gap:18px;align-items:baseline}
.remove{border:0;background:none;font-size:16px}
.food-group fieldset{margin-top:0}
.textarea,.allergy-details{margin-top:26px}
.form-actions{display:flex;align-items:center;justify-content:space-between;gap:24px}
.form-actions .button{min-width:220px}
#form-status{font-size:18px;text-align:center;border-top:1px solid var(--line);padding-top:25px;margin-top:28px}

.farewell{position:relative;display:flex;flex-direction:column;padding-top:80px}
.footer-content{order:0;text-align:center}
.farewell h2{font-size:84px;margin-bottom:13px}
.signature{font-size:48px;line-height:1.3;margin-bottom:10px}
.footer-date{font-size:19px;color:var(--muted);margin-bottom:15px}
.footer-art{order:1;width:100%;height:auto;object-fit:contain;margin:20px auto 0}
.farewell .text-link{font-size:17px}
.footer-links{display:flex;justify-content:center;align-items:center;gap:32px}
.footer-language{border:0;background:none;padding:10px 4px;min-height:44px;font-size:17px;color:var(--olive);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:7px}

@media(min-width:1600px){
  .hero{padding-top:126px}
  .hero-art{margin-top:-45px}
}
@media(min-width:761px) and (max-width:1100px){
  :root{--heading:62px;--body:20px}
  .wrap{width:79%}
  .hero h1{font-size:108px}
  .hero-intro{font-size:20px}
  .hero-date{font-size:21px}
  .days{gap:40px 40px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
  .day dl{font-size:18px}
  .day dl>div{grid-template-columns:80px minmax(0,1fr);gap:12px}
  .day dt{font-size:15px}
  .day:first-child dl>div,.day:last-child dl>div{grid-template-columns:56px minmax(0,1fr);gap:10px}
  .place{gap:25px 35px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .food{gap:30px}
  .food h2,.dress>h2{font-size:58px}
  .dress{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:0 30px}
  .subsection h3{font-size:23px}
}
@media(min-width:761px) and (max-width:1000px){
  .place{grid-template-columns:1fr;gap:30px;padding-bottom:60px}
  .venue-art{width:78%;max-width:430px;margin-inline:auto}
  .place-copy{max-width:640px;margin-inline:auto}
  .food{grid-template-columns:1fr;gap:24px;text-align:center}
  .table-art{width:82%;max-width:480px;margin-inline:auto}
  .dress{grid-template-columns:1fr;grid-template-areas:'title' 'art' 'copy';gap:24px}
  .dress>h2{text-align:center;align-self:auto;margin-bottom:0}
  .clothing-art{width:75%;max-width:430px;margin-inline:auto}
  .dress-copy{max-width:640px;margin-inline:auto}
}
@media(max-width:760px){
  :root{--body:19px;--heading:54px}
  html{scroll-padding-top:24px}
  #page{padding-top:10px;padding-bottom:12px}
  .storybook{width:calc(100% - 12px)}
  .wrap{width:calc(100% - 70px)}
  .hero{padding-top:90px}
  .hero .eyebrow{font-size:15px;line-height:1.55;max-width:290px;margin-bottom:23px}
  .hero h1{font-size:clamp(62px,18vw,102px);line-height:1.08;margin-bottom:22px}
  .hero-date{font-size:20px;line-height:1.45;margin-bottom:25px}
  .hero-date span{display:block;color:transparent;height:7px;margin:0}
  .hero-intro{font-size:19px;line-height:1.55;margin-bottom:19px}
  .hero-intro span+span{margin-top:10px}
  .hero .text-link{font-size:17px}
  .hero-art{margin-top:20px}
  .program{margin-top:0;padding-top:20px;padding-bottom:38px}
  .program h2{font-size:52px}
  .program-note{font-size:16px;line-height:1.6;margin:23px 0 35px}
  .days{display:flex;flex-direction:column;gap:40px;max-width:450px}
  .day{width:100%}
  .day-icon{width:108px;height:90px;margin-bottom:12px}
  .day h3{font-size:28px;padding-top:15px}
  .day-date{font-size:17px;margin-bottom:22px}
  .day dl{font-size:18px;line-height:1.55}
  .day dl>div,.day:first-child dl>div,.day:last-child dl>div{grid-template-columns:88px minmax(0,1fr);gap:12px;margin-bottom:13px}
  .day dt{font-size:15px;line-height:1.8}
  .place{display:flex;flex-direction:column;gap:28px;padding-top:62px;padding-bottom:45px;align-items:stretch}
  .place>h2{margin-bottom:0}
  .venue-art{width:100%;max-width:480px;margin-inline:auto}
  .caption{font-size:16px;margin-top:12px}
  .place-copy{width:100%}
  .address{font-size:18px}
  .place-intro{margin-top:24px}
  .subsection{margin-top:26px}
  .subsection h3{font-size:23px}
  .text-link{font-size:17px}
  .food{display:flex;flex-direction:column;gap:28px;padding-top:54px;padding-bottom:46px}
  .food h2{font-size:54px;text-align:center}
  .food .lead{font-size:19px}
  .table-art{width:100%;max-width:500px}
  .dress{display:flex;flex-direction:column;align-items:stretch;gap:22px;padding-top:56px;padding-bottom:46px}
  .dress>h2{order:0;align-self:auto;text-align:center;font-size:54px;margin-bottom:0}
  .clothing-art{order:1;max-width:460px;margin-inline:auto}
  .dress-copy{order:2;align-self:auto}
  .gifts{padding-top:57px;padding-bottom:47px}
  .gifts .narrow{text-align:left}
  .gifts h2{text-align:center}
  .rsvp{padding-top:54px;padding-bottom:40px}
  .rsvp h2{font-size:64px}
  .rsvp>.section-intro{margin-bottom:42px}
  .rsvp .section-intro p:last-child{font-size:17px}
  .fields.two{grid-template-columns:1fr;gap:23px}
  .form-group{padding-bottom:29px;margin-bottom:30px}
  .form-group h3{font-size:24px;margin-bottom:20px}
  .field{font-size:16px}
  .field input,.field select,.field textarea{font-size:18px;padding:11px 12px;min-height:49px}
  .field em{font-size:15px}
  .guest-name{grid-template-columns:1fr;gap:14px}
  .child{min-height:30px}
  .choices{gap:12px 20px}
  .choice{font-size:18px}
  legend{font-size:16px}
  .group-head{gap:10px;flex-wrap:wrap}
  .form-actions{flex-direction:column;align-items:stretch;gap:18px}
  .form-actions .button{width:100%;min-width:0;font-size:17px}
  .farewell{padding-top:53px}
  .farewell h2{font-size:62px}
  .signature{font-size:39px}
  .footer-date{font-size:16px;line-height:1.6;max-width:230px;margin-inline:auto}
  .footer-art{width:100%;margin-top:25px}
}
@media(max-width:360px){
  .wrap{width:calc(100% - 62px)}
  .hero h1{font-size:60px}
  .hero-intro{font-size:18px}
  .day dl>div,.day:first-child dl>div,.day:last-child dl>div{grid-template-columns:80px minmax(0,1fr);gap:9px}
}

/* Compact language choice within the clear upper space of the illustration. */
.language-switch{position:absolute;top:10px;left:64%;z-index:2;display:flex;align-items:center;gap:3px;color:var(--olive);font-size:16px}
.language-switch button{border:0;background:none;color:inherit;min-width:40px;min-height:44px;padding:8px 5px;font:inherit;cursor:pointer}
.language-switch button[aria-pressed="true"]{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px;font-weight:600}
.language-switch button:focus-visible{outline:1px solid var(--olive);outline-offset:2px}
@media(max-width:760px){.language-switch{top:40px;left:auto;right:18%;font-size:15px}}
/* RSVP feedback keeps the approved form layout. */
.rsvp-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
.rsvp-privacy{font-size:.85rem;line-height:1.6;opacity:.8;margin-top:1.5rem;}
#form-status{margin-top:1.5rem;}
#form-status[data-state="error"],#form-status[data-state="invalid"],#form-status[data-state="limit"]{color:#8a362a;}
#guestbook :disabled{cursor:default;opacity:.65;}
