:root {
  --paper: #f4efe6;
  --paper-deep: #e9e1d4;
  --ink: #30372f;
  --muted: #6f756b;
  --sage: #819078;
  --sage-dark: #56634f;
  --sage-soft: #dce1d6;
  --gold: #b49a69;
  --line: rgba(67, 79, 62, 0.18);
  --white: #fffdf8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --script: "Segoe Script", "Brush Script MT", cursive;
  --shadow: 0 22px 60px rgba(51, 58, 49, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(255,255,255,.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 22%, rgba(91,106,83,.08) 0 .8px, transparent 1.3px),
    repeating-linear-gradient(103deg, rgba(93,83,62,.025) 0 1px, transparent 1px 9px),
    var(--paper);
  background-size: 18px 18px, 22px 22px, auto, auto;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .2;
  background: repeating-radial-gradient(ellipse at 20% 10%, transparent 0 2px, rgba(72,62,43,.035) 2px 3px, transparent 3px 7px);
  mix-blend-mode: multiply;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; }
h2 { font-size: clamp(2.35rem, 8vw, 4.8rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.4rem, 4vw, 2rem); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 200; background: var(--ink); color: white; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: #596552;
  transition: opacity .75s ease, visibility .75s ease;
}
.opening::before, .opening::after { content: ""; position: absolute; width: 19rem; height: 35rem; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; transform: rotate(42deg); }
.opening::before { left: -12rem; top: -13rem; }
.opening::after { right: -12rem; bottom: -13rem; }
.opening.is-opened { opacity: 0; visibility: hidden; }
.opening-paper {
  position: relative;
  width: min(100%, 28rem);
  min-height: min(43rem, calc(100vh - 2rem));
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  background:
    repeating-linear-gradient(100deg, rgba(99,87,64,.028) 0 1px, transparent 1px 8px),
    var(--paper);
  box-shadow: 0 35px 90px rgba(16,23,14,.3);
}
.opening-paper::before { content: ""; position: absolute; inset: .7rem; border: 1px solid rgba(180,154,105,.45); pointer-events: none; }
.opening-rule { width: 1px; height: 3.3rem; background: var(--gold); margin-bottom: 1.75rem; }
.opening h1 { margin: 1.8rem 0 .5rem; font: 400 clamp(2.5rem, 11vw, 4rem)/1.05 var(--serif); }
.opening h1 em { display: block; margin: .15rem 0; color: var(--gold); font: 400 1.55rem/1 var(--script); }
.opening-date { margin: .75rem 0 2rem; font: 600 .75rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.opening-hint { margin: .85rem 0 0; color: var(--muted); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 5.5rem;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}
.brand { font: 400 1.35rem/1 var(--serif); letter-spacing: .06em; text-decoration: none; }
.brand span { color: var(--gold); font-family: var(--script); }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a { position: relative; text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.4rem; height: 1px; background: var(--gold); transition: right .3s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { right: 0; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 7.5rem 1.25rem 4rem; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 1.2rem; border: 1px solid var(--line); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: min(100%, 46rem); text-align: center; }
.eyebrow { margin-bottom: 1rem; color: var(--sage-dark); font-size: .69rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.monogram { position: relative; width: 8.25rem; height: 8.25rem; margin: 0 auto 2rem; display: flex; align-items: center; justify-content: center; gap: .18rem; border: 1px solid rgba(180,154,105,.55); border-radius: 50%; font: 400 2.2rem/1 var(--serif); }
.monogram::before, .monogram::after { content: ""; position: absolute; inset: .45rem; border: 1px solid rgba(86,99,79,.18); border-radius: 50%; }
.monogram::after { inset: -.38rem; border-style: dotted; border-color: rgba(180,154,105,.28); }
.monogram i { margin: 0 .05rem; color: var(--gold); font: 400 1.2rem/1 var(--script); }
.monogram--small { width: 6rem; height: 6rem; margin-bottom: .8rem; font-size: 1.65rem; }
.hero-monogram { height: 4.6rem; margin: 0 auto 1.6rem; display: flex; align-items: center; justify-content: center; color: var(--sage-dark); font: 400 3.5rem/1 var(--serif); letter-spacing: -.13em; }
.hero-monogram span:last-child { transform: translateX(-.22rem); }
.hero-monogram i { position: relative; z-index: 1; margin: 0 -.35rem; color: var(--gold); font: 400 2.5rem/1 var(--script); transform: translateY(.35rem) rotate(-12deg); }
.hero-kicker { margin-bottom: 2.2rem; color: var(--sage-dark); font-size: .67rem; font-weight: 700; letter-spacing: .4em; text-transform: uppercase; }
.hero h2 { position: relative; margin: 0 auto; display: flex; flex-direction: column; align-items: center; color: var(--sage-dark); font-size: clamp(4.4rem, 14vw, 8.2rem); line-height: .78; letter-spacing: -.065em; }
.hero h2 span { display: block; }
.hero h2 em { position: static; z-index: 1; margin: .2rem 0 .35rem; color: var(--gold); font: 400 clamp(2.4rem, 7vw, 4.4rem)/.75 var(--script); transform: rotate(-8deg); }
.hero-verse { width: min(100%, 38rem); margin: 3rem auto 0; padding: 1.45rem 1.2rem 0; border-top: 1px solid var(--line); }
.hero-verse p { margin: 0; color: var(--muted); font: 400 clamp(.77rem, 2vw, .95rem)/1.65 var(--serif); }
.hero-verse cite { display: block; margin-top: .7rem; color: var(--gold); font: 700 .58rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.hero-rule { width: 4.5rem; height: 1px; margin: 2.2rem auto 1.4rem; background: var(--gold); }
.hero-invitation { margin-bottom: 1.1rem; color: var(--muted); font: 600 .62rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.hero-date { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--sage-dark); }
.hero-date > strong { font: 400 clamp(4.4rem, 12vw, 6.5rem)/.8 var(--serif); letter-spacing: -.06em; }
.hero-date > span { padding-left: 1rem; display: flex; flex-direction: column; align-items: flex-start; border-left: 1px solid var(--line); }
.hero-date em { font: 400 clamp(2.1rem, 6vw, 3.6rem)/.95 var(--script); }
.hero-date small { margin-top: .45rem; font-size: .58rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.date-lockup { width: fit-content; margin: 2rem auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-block: 1px solid var(--line); }
.date-lockup span { padding: .7rem 1rem; font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.date-lockup strong { padding: .2rem 1rem; border-inline: 1px solid var(--line); color: var(--sage-dark); font: 400 2.2rem/1.1 var(--serif); }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: .25rem; margin-top: 2.3rem; color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.scroll-cue span { color: var(--gold); font-size: 1.1rem; animation: float 1.8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(.35rem); } }

.botanical { position: absolute; z-index: 1; width: 16rem; height: 19rem; opacity: .65; pointer-events: none; }
.botanical::before { content: ""; position: absolute; left: 49%; top: 4%; width: 1px; height: 90%; background: linear-gradient(transparent, var(--sage), transparent); transform: rotate(25deg); }
.botanical span { position: absolute; width: 4.2rem; height: 1.55rem; border: 1px solid rgba(86,99,79,.55); border-radius: 100% 0 100% 0; transform-origin: right center; }
.botanical span:nth-child(1) { left: 2.6rem; top: 2.4rem; transform: rotate(35deg); }
.botanical span:nth-child(2) { left: 5.6rem; top: 5.3rem; transform: rotate(-145deg); }
.botanical span:nth-child(3) { left: 1.4rem; top: 8.2rem; transform: rotate(28deg); }
.botanical span:nth-child(4) { left: 6.3rem; top: 11.3rem; transform: rotate(-150deg); }
.botanical span:nth-child(5) { left: 3rem; top: 14.2rem; transform: rotate(20deg); }
.botanical--top { top: -3rem; left: -5rem; transform: rotate(105deg); }
.botanical--bottom { right: -5rem; bottom: -3rem; transform: rotate(-75deg); }

.section { position: relative; padding: clamp(6rem, 13vw, 10rem) clamp(1.25rem, 6vw, 6rem); }
.narrow { width: min(100%, 48rem); margin-inline: auto; text-align: center; }
.section-number { width: fit-content; margin: 0 auto 2rem; color: var(--gold); font: 600 .66rem/1 var(--sans); letter-spacing: .18em; }
.section-number::after { content: ""; display: block; width: 1px; height: 2.5rem; margin: .75rem auto 0; background: var(--gold); }
.script-note { margin-bottom: .3rem; color: var(--sage-dark); font: 400 1.5rem/1 var(--script); transform: rotate(-3deg); }
.welcome h2 { max-width: 46rem; margin: 0 auto 2rem; }
.lead { color: var(--muted); font-family: var(--serif); font-size: 1.08rem; line-height: 1.9; }
.scripture-inline { max-width: 40rem; margin: 3.2rem auto 0; padding: 2.2rem 1rem 0; border-top: 1px solid var(--line); }
.scripture-inline p { margin-bottom: 1rem; color: var(--sage-dark); font: italic 400 clamp(1.2rem, 3vw, 1.65rem)/1.7 var(--serif); }
.scripture-inline cite { color: var(--gold); font: 700 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.scripture-feature { position: relative; padding: clamp(6rem, 14vw, 11rem) clamp(1.25rem, 7vw, 7rem); overflow: hidden; color: var(--white); text-align: center; background: var(--sage-dark); }
.scripture-feature::before, .scripture-feature::after { content: ""; position: absolute; width: 23rem; height: 23rem; border: 1px solid rgba(214,196,157,.16); border-radius: 50%; }
.scripture-feature::before { left: -14rem; top: -14rem; }
.scripture-feature::after { right: -14rem; bottom: -14rem; }
.scripture-feature-inner { position: relative; z-index: 1; width: min(100%, 66rem); margin-inline: auto; }
.scripture-mark { display: block; height: 3rem; color: #d6c49d; font: 400 6rem/.7 var(--serif); }
.scripture-feature blockquote { margin: 0 auto 2rem; font: 400 clamp(2.2rem, 6vw, 5.4rem)/1.16 var(--serif); letter-spacing: -.03em; }
.scripture-feature cite { color: #d6c49d; font: 700 .7rem/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; }
.ornament { width: 10rem; margin: 1.5rem auto 2rem; display: flex; align-items: center; gap: .75rem; }
.ornament span { flex: 1; height: 1px; background: var(--line); }
.ornament i { width: .48rem; height: .48rem; border: 1px solid var(--gold); transform: rotate(45deg); }
.section--sage { color: var(--white); background: var(--sage-dark); }
.section--sage .eyebrow, .section--sage .section-number { color: #d6c49d; }
.section--sage .section-number::after { background: #d6c49d; }
.section-heading { width: min(100%, 50rem); margin: 0 auto 3.5rem; text-align: center; }
.section-heading h2 { margin-bottom: 1.25rem; }
.section-heading > p:last-child { max-width: 41rem; margin: 0 auto; color: var(--muted); }
.section--sage .section-heading > p:last-child { color: rgba(255,255,255,.72); }

.details-card { width: min(100%, 58rem); margin: 0 auto; display: grid; grid-template-columns: .7fr 1.3fr; background: var(--paper); color: var(--ink); box-shadow: 0 28px 70px rgba(24,33,23,.22); }
.date-emblem { min-height: 22rem; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); background: linear-gradient(rgba(55,68,51,.18), rgba(55,68,51,.18)), var(--sage); }
.date-emblem span { font-size: .7rem; font-weight: 700; letter-spacing: .25em; }
.date-emblem strong { margin: .35rem 0; font: 400 5.5rem/1 var(--serif); }
.details-copy { padding: clamp(2.2rem, 6vw, 5rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.details-copy h3 { margin-bottom: .75rem; font-size: 2.15rem; }
.details-copy > p:not(.eyebrow) { color: var(--muted); }
.details-copy .button { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.button { min-height: 3.2rem; padding: .9rem 1.35rem; border: 1px solid transparent; border-radius: 0; cursor: pointer; font-size: .69rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .gift-card:focus-visible, .contact-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.button--solid { color: var(--white); background: var(--sage-dark); }
.button--solid:hover { background: #3f4b3b; }
.button--outline { margin-top: 1rem; color: var(--sage-dark); border-color: var(--sage-dark); background: transparent; }
.button--outline:hover { color: white; background: var(--sage-dark); }
.button--full { width: 100%; }

.timeline { position: relative; width: min(100%, 48rem); margin: 0 auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: .45rem; top: .8rem; bottom: 2rem; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 3rem 3.2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 0; top: .25rem; width: .95rem; height: .95rem; border: 2px solid var(--paper); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.timeline-time { margin-bottom: .35rem; color: var(--gold); font-size: .69rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.timeline h3 { margin-bottom: .45rem; }
.timeline li > p:last-child { color: var(--muted); }

.palette { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; background: #e9e3d9; }
.palette-copy { max-width: 35rem; }
.palette-copy .section-number { margin-left: 0; }
.palette-copy .section-number::after { margin-left: .35rem; }
.palette-copy > p:last-child { color: var(--muted); }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; align-items: end; }
.swatches div { text-align: center; }
.swatches span { display: block; height: clamp(9rem, 30vw, 18rem); background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.swatches div:nth-child(2) span, .swatches div:nth-child(4) span { height: clamp(11rem, 34vw, 21rem); }
.swatches p { margin: .8rem 0 0; font: 400 .82rem/1 var(--serif); }

.section--ink { color: var(--white); background: var(--ink); }
.section--ink .eyebrow, .section--ink .section-number { color: #d6c49d; }
.section--ink .section-number::after { background: #d6c49d; }
.gallery-grid { width: min(100%, 68rem); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; align-items: start; }
.gallery-photo { position: relative; min-width: 0; margin: 0; background: #1f271e; }
.gallery-photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 0 45px rgba(18,25,17,.12); pointer-events: none; }
.gallery-photo img { width: 100%; height: auto; display: block; }
.gallery-note { max-width: 42rem; margin: 2rem auto 0; text-align: center; color: rgba(255,255,255,.62); font: italic 400 1.05rem/1.65 var(--serif); }

.gifts .section-heading { margin-bottom: 2rem; }
.gift-note { width: min(100%, 56rem); margin: 0 auto 3rem; padding: clamp(1.5rem, 5vw, 2.5rem); display: flex; gap: 1.2rem; align-items: center; justify-content: center; border: 1px solid rgba(180,154,105,.5); color: var(--muted); text-align: center; background: rgba(233,225,212,.56); box-shadow: inset 0 0 0 .45rem var(--paper), inset 0 0 0 calc(.45rem + 1px) rgba(180,154,105,.25); }
.gift-note span { color: var(--gold); }
.gift-note p { margin: 0; }
.gift-note strong { display: block; color: var(--ink); font: 400 clamp(1.65rem, 5vw, 2.7rem)/1.1 var(--serif); }
.gift-note small { display: block; max-width: 39rem; margin: .8rem auto 0; color: var(--muted); font-size: .8rem; }
.gift-grid { width: min(100%, 64rem); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.gift-card { min-height: 9.2rem; padding: 1.35rem; display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: center; text-align: left; color: var(--ink); border: 1px solid var(--line); background: rgba(255,253,248,.5); cursor: pointer; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.gift-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(62,69,57,.08); }
.gift-icon { width: 3rem; height: 3rem; display: grid; place-items: center; color: var(--sage-dark); border: 1px solid var(--line); border-radius: 50%; font: 400 1.45rem/1 var(--serif); }
.gift-copy strong { display: block; font: 400 1.18rem/1.25 var(--serif); }
.gift-copy small { display: block; margin-top: .35rem; color: var(--muted); font-size: .75rem; }
.gift-price { color: var(--sage-dark); font: 600 .8rem/1 var(--sans); white-space: nowrap; }
.custom-gift { width: min(100%, 64rem); margin: 1rem auto 0; padding: clamp(1.5rem, 5vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; color: white; background: var(--sage-dark); }
.custom-gift .eyebrow { color: #d6c49d; }
.custom-gift h3 { margin-bottom: .5rem; }
.custom-gift p { margin-bottom: 0; color: rgba(255,255,255,.72); }
.custom-gift form { display: grid; grid-template-columns: minmax(8rem, .8fr) 1.2fr; gap: .65rem; }
.custom-gift label { grid-column: 1 / -1; font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.money-input { min-height: 3.2rem; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.money-input span { padding-left: 1rem; color: rgba(255,255,255,.65); }
.money-input input { width: 100%; min-width: 0; padding: .8rem; border: 0; outline: 0; color: white; background: transparent; }
.money-input input::placeholder { color: rgba(255,255,255,.42); }
.custom-gift .button { color: var(--sage-dark); background: var(--paper); }
.gift-closing { width: min(100%, 52rem); margin: 2rem auto 0; padding-top: 1.5rem; color: var(--muted); text-align: center; border-top: 1px solid var(--line); font: italic 400 1rem/1.7 var(--serif); }
.gift-closing strong { color: var(--sage-dark); }

.rsvp { padding-block: clamp(5rem, 11vw, 8rem); }
.rsvp-card { width: min(100%, 43rem); margin: 0 auto; padding: clamp(2.2rem, 7vw, 5rem); text-align: center; border: 1px solid rgba(255,255,255,.22); }
.rsvp-card h2 { margin-bottom: 1.25rem; }
.rsvp-card > p:not(.eyebrow):not(.section-number) { color: rgba(255,255,255,.72); }
.deadline { width: fit-content; margin: 1.75rem auto 2rem; display: flex; align-items: center; gap: 1rem; }
.deadline strong { font: 400 4.8rem/.85 var(--serif); }
.deadline span { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.35); text-align: left; font-size: .7rem; font-weight: 700; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; }
.rsvp-card .button { color: var(--sage-dark); background: var(--paper); }
.rsvp-card small { display: block; margin-top: 1rem; color: rgba(255,255,255,.55); }
.rsvp-card .deadline-warning { margin: 2rem 0 0; padding: 1.2rem 1.1rem; color: var(--white) !important; border: 1px solid rgba(214,196,157,.55); background: rgba(23,31,22,.2); font-size: .82rem; line-height: 1.65; }
.deadline-warning strong { color: #eadcbf; letter-spacing: .08em; text-transform: uppercase; }

.contact-links { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-link { padding: 1.1rem; display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: center; text-align: left; color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.3); cursor: pointer; }
.contact-link > span { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--sage); font: 400 1.3rem/1 var(--serif); }
.contact-link p { margin: 0; }
.contact-link strong, .contact-link small { display: block; }
.contact-link strong { font: 400 1.1rem/1.2 var(--serif); }
.contact-link small { margin-top: .25rem; color: var(--muted); }
.contact-link i { color: var(--gold); font-style: normal; }

footer { padding: 5rem 1.25rem calc(5rem + env(safe-area-inset-bottom)); text-align: center; color: rgba(255,255,255,.75); background: #273026; }
.monogram--footer { width: 5.5rem; height: 5.5rem; margin-bottom: 1.5rem; color: white; border-color: rgba(214,196,157,.55); font-size: 1.35rem; }
footer p { margin-bottom: .4rem; font: 400 1.35rem/1.3 var(--serif); }
footer small { color: #d6c49d; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; }

.modal { width: min(calc(100% - 2rem), 32rem); max-height: calc(100svh - 2rem); padding: 0; overflow: auto; color: var(--ink); border: 0; background: var(--paper); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(28,35,27,.72); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .3s ease-out both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(1rem) scale(.98); } }
.modal-close { position: absolute; z-index: 2; right: .75rem; top: .75rem; width: 2.5rem; height: 2.5rem; border: 0; color: var(--ink); background: rgba(244,239,230,.88); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.modal-content { padding: clamp(2rem, 7vw, 3.5rem); text-align: center; }
.modal-content h2 { margin-bottom: 1rem; font-size: clamp(2rem, 8vw, 3rem); }
.selected-gift { min-height: 3rem; margin-bottom: 1.2rem; color: var(--sage-dark); font-family: var(--serif); }
.selected-gift strong { display: block; font-size: 1.25rem; }
.pix-qr-wrap { width: min(100%, 18rem); margin: 0 auto 1rem; padding: .8rem; border: 1px solid var(--line); background: white; }
.pix-qr-wrap img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.pix-name { margin-bottom: 1.25rem; color: var(--muted); font-size: .8rem; }
.pix-name strong { color: var(--ink); }
.modal details { margin-top: .75rem; text-align: left; border: 1px solid var(--line); }
.modal summary { padding: .9rem 1rem; cursor: pointer; color: var(--sage-dark); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pix-code { margin: 0; padding: 0 1rem 1rem; overflow-wrap: anywhere; color: var(--muted); font: .68rem/1.5 monospace; }
.modal-help { margin: 1rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.placeholder-box { margin: 1.5rem 0; padding: 1.2rem; display: flex; align-items: center; gap: 1rem; text-align: left; border: 1px solid var(--line); }
.placeholder-box span { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--sage); }
.placeholder-box p { margin: 0; }
.rsvp-form { margin-top: 1.6rem; display: grid; gap: .7rem; text-align: left; }
.rsvp-form label { margin-top: .35rem; color: var(--sage-dark); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rsvp-form label span { color: var(--muted); font-weight: 400; }
.rsvp-form input, .rsvp-form select, .rsvp-form textarea { width: 100%; padding: .85rem .9rem; color: var(--ink); border: 1px solid var(--line); border-radius: 0; outline: 0; background: rgba(255,255,255,.45); }
.rsvp-form textarea { resize: vertical; }
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(180,154,105,.13); }
.rsvp-form .button { margin-top: .65rem; text-align: center; }
.toast { position: fixed; left: 50%; bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 150; width: min(calc(100% - 2rem), 30rem); padding: 1rem 1.2rem; color: white; text-align: center; background: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 1rem); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.65,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .site-header nav a:not(:last-child) { display: none; }
  .site-header nav { gap: 0; }
  .hero h2 { flex-direction: column; gap: 0; }
  .hero h2 em { margin: .2rem 0 .4rem; }
  .date-lockup span { padding-inline: .7rem; font-size: .58rem; }
  .date-lockup strong { padding-inline: .75rem; }
  .details-card { grid-template-columns: 1fr; }
  .date-emblem { min-height: 14rem; }
  .palette { grid-template-columns: 1fr; }
  .swatches { gap: .35rem; }
  .swatches p { writing-mode: vertical-rl; margin: .7rem auto 0; font-size: .72rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gift-grid { grid-template-columns: 1fr; }
  .gift-card { grid-template-columns: 2.7rem 1fr; min-height: 8.4rem; }
  .gift-icon { width: 2.7rem; height: 2.7rem; }
  .gift-price { grid-column: 2; }
  .custom-gift { grid-template-columns: 1fr; }
  .custom-gift form { grid-template-columns: 1fr; }
  .custom-gift form > * { grid-column: 1; }
  .contact-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
