:root {
  --green: #30443b;
  --green-deep: #1e3029;
  --green-soft: #587064;
  --pink: #b76f86;
  --pink-deep: #96566a;
  --pink-pale: #ead3da;
  --blush: #f5e9ec;
  --ivory: #f7f4ee;
  --paper: #fffdf9;
  --white: #ffffff;
  --ink: #202824;
  --muted: #65716b;
  --line: rgba(48, 68, 59, .18);
  --line-light: rgba(255, 255, 255, .34);
  --shadow-soft: 0 24px 70px rgba(30, 48, 41, .10);
  --shadow-card: 0 15px 45px rgba(30, 48, 41, .08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --script: "Allura", cursive;
  --content: 1180px;
  --narrow: 760px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
picture { display: block; width: 100%; height: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--pink-pale); color: var(--green-deep); }

.container { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.container-narrow { width: min(calc(100% - 48px), var(--narrow)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--pink-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.3;
  text-transform: uppercase;
}
.script-accent {
  color: var(--pink-deep);
  font-family: var(--script);
  font-size: 1.85em;
  font-weight: 400;
  line-height: .6;
}
.kicker-rule { display: flex; align-items: center; gap: 13px; }
.kicker-rule::before { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .6; }

h1, h2, h3, h4 { margin: 0; color: var(--green-deep); font-family: var(--serif); font-weight: 500; line-height: 1.03; }
h1 { font-size: clamp(3.4rem, 7vw, 7rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.55rem, 4.8vw, 4.75rem); letter-spacing: -.035em; }
h3 { font-size: clamp(2rem, 3.2vw, 3.05rem); letter-spacing: -.025em; }
p { margin: 0; }
p + p { margin-top: 1.1em; }
.lede { color: var(--green-soft); font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.52; }
.small-note { color: var(--muted); font-size: .82rem; }
.email-link { color: var(--pink-deep); border-bottom: 1px solid rgba(150, 86, 106, .42); }
.email-link:hover { border-color: currentColor; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; padding: 14px 20px 0; pointer-events: none; }
.nav-shell {
  width: min(100%, 1320px);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 17px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.62);
  background: rgba(255,253,249,.74);
  box-shadow: 0 12px 40px rgba(30,48,41,.08), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  pointer-events: auto;
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.site-header.is-scrolled .nav-shell { background: rgba(255,253,249,.91); box-shadow: 0 14px 44px rgba(30,48,41,.12); }
.nav-brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.monogram {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(48,68,59,.34);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: -.12em;
  text-indent: -.12em;
}
.monogram::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(183,111,134,.22); border-radius: 50%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { color: var(--green-deep); font-family: var(--serif); font-size: 1.12rem; font-weight: 600; letter-spacing: .015em; }
.brand-copy span { color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 23px; margin: 0; padding: 0; list-style: none; }
.nav-link { position: relative; color: var(--green-soft); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--pink); transition: right .25s ease; }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.nav-link.active { color: var(--green-deep); }
.nav-rsvp { padding: 10px 16px; border: 1px solid var(--green); color: var(--green-deep); transition: .25s ease; }
.nav-rsvp:hover, .nav-rsvp.active { background: var(--green); color: var(--paper); }
.nav-rsvp::after { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 23px; height: 1px; margin: 6px auto; background: var(--green); transition: .25s ease; }

/* Buttons */
.btn {
  min-height: 50px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green-deep);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--green); color: var(--paper); }
.btn-pink { border-color: var(--pink-deep); background: var(--pink-deep); color: var(--paper); }
.btn-pink:hover { border-color: var(--green); background: var(--green); }
.btn-light { border-color: rgba(255,255,255,.55); color: var(--paper); }
.btn-light:hover { border-color: var(--paper); background: var(--paper); color: var(--green-deep); }
.btn-lg { min-height: 58px; padding-inline: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.text-link::after { content: "→"; font-size: 1rem; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* Home hero */
.home-hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 70px) 0 90px; overflow: hidden; background: linear-gradient(135deg, var(--paper) 0%, #fbf7f3 46%, var(--blush) 100%); }
.home-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(48,68,59,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(48,68,59,.045) 1px, transparent 1px); background-size: 84px 84px; mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent); pointer-events: none; }
.home-grid { position: relative; z-index: 2; min-height: calc(100svh - 240px); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.home-copy { position: relative; z-index: 3; padding: 45px 0; }
.home-title { max-width: 650px; }
.home-title .name { display: block; }
.home-title .name:last-child { margin-left: clamp(36px, 5vw, 92px); }
.home-title .and { display: block; margin: -12px 0 -4px 31%; color: var(--pink-deep); font-family: var(--script); font-size: clamp(4rem, 8vw, 8.5rem); font-weight: 400; line-height: .65; transform: rotate(-5deg); }
.home-date { margin: 31px 0 0; display: flex; align-items: center; gap: 16px; color: var(--green); font-family: var(--serif); font-size: 1.35rem; letter-spacing: .06em; }
.home-date::before { content: ""; width: 54px; height: 1px; background: var(--pink); }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-collage { position: relative; min-height: 690px; }
.hero-photo { position: absolute; overflow: hidden; background: #ddd5cd; box-shadow: var(--shadow-soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.65,.25,1); }
.hero-photo:hover img { transform: scale(1.025); }
.hero-photo-main { inset: 4% 7% 7% 27%; }
.hero-photo-main img { object-position: 50% 46%; }
.hero-photo-wide { left: 0; bottom: 2%; width: 52%; aspect-ratio: 4/3; border: 9px solid var(--paper); }
.hero-photo-wide img { object-position: 50% 48%; }
.hero-photo-detail { right: 0; top: 2%; width: 34%; aspect-ratio: 4/5; border: 9px solid var(--paper); }
.hero-photo-detail img { object-position: 45% 50%; }
.hero-frame-line { position: absolute; inset: 0 11% 12% 22%; border: 1px solid rgba(48,68,59,.28); transform: translate(25px,25px); z-index: -1; }
.hero-script-note { position: absolute; right: 3%; bottom: 1%; z-index: 4; color: var(--pink-deep); font-family: var(--script); font-size: clamp(2.4rem, 4vw, 4.1rem); transform: rotate(-6deg); }
.botanical { position: absolute; z-index: 1; pointer-events: none; user-select: none; }
.botanical-peony { width: clamp(250px, 30vw, 460px); left: -110px; bottom: -85px; opacity: .12; }
.botanical-hydrangea { width: clamp(250px, 31vw, 480px); right: -115px; top: 60px; opacity: .11; }

.countdown-strip { position: relative; z-index: 2; margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,253,249,.48); }
.countdown-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.countdown-label-copy { color: var(--green-soft); font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.countdown { display: flex; align-items: center; gap: clamp(18px, 4vw, 48px); }
.countdown-item { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.countdown-number { color: var(--green-deep); font-family: var(--serif); font-size: 2rem; line-height: 1; }
.countdown-unit { color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Home directory */
.home-directory { padding: 125px 0; background: var(--paper); }
.directory-head { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 56px; }
.directory-head p:last-child { max-width: 500px; color: var(--muted); }
.directory-list { border-top: 1px solid var(--line); }
.directory-item { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 22px; min-height: 112px; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.directory-item:hover { padding: 0 18px; background: var(--blush); }
.directory-number { color: var(--pink-deep); font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.directory-title { display: block; color: var(--green-deep); font-family: var(--serif); font-size: clamp(1.7rem, 2.5vw, 2.45rem); line-height: 1.1; }
.directory-desc { display: block; margin-top: 4px; color: var(--muted); font-size: .82rem; }
.directory-arrow { color: var(--green); font-size: 1.45rem; transition: transform .2s ease; }
.directory-item:hover .directory-arrow { transform: translateX(6px); }

/* Page heroes */
.page-hero { position: relative; min-height: 520px; padding: calc(var(--header-h) + 95px) 0 100px; display: flex; align-items: end; overflow: hidden; background: var(--paper); }
.page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .82fr; gap: 80px; align-items: end; }
.page-hero-copy { max-width: 720px; }
.page-hero-title { margin-bottom: 20px; }
.page-hero-subtitle { max-width: 600px; color: var(--green-soft); font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.45; }
.page-hero-art { position: relative; min-height: 290px; }
.page-hero-art .photo { position: absolute; inset: 0 0 0 18%; width: 82%; height: 100%; box-shadow: var(--shadow-card); }
.page-hero-art .photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-art .line-frame { position: absolute; inset: 24px 24px -24px 12%; border: 1px solid var(--line); }
.page-hero-art .flower { position: absolute; width: 210px; left: -25px; bottom: -52px; opacity: .15; }
.page-hero-simple { min-height: 410px; text-align: center; align-items: center; padding-bottom: 70px; }
.page-hero-simple .page-hero-copy { margin-inline: auto; }
.page-hero-simple .page-hero-subtitle { margin-inline: auto; }
.page-hero-dark { color: var(--paper); background: var(--green-deep); }
.page-hero-dark h1, .page-hero-dark .page-hero-subtitle { color: var(--paper); }
.page-hero-dark .eyebrow { color: var(--pink-pale); }
.page-hero-dark::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(183,111,134,.18), transparent 33%); }

/* General sections */
.section { position: relative; padding: 120px 0; }
.section-sm { position: relative; padding: 82px 0; }
.section-paper { background: var(--paper); }
.section-blush { background: var(--blush); }
.section-green { background: var(--green-deep); color: rgba(255,253,249,.78); }
.section-green h2, .section-green h3 { color: var(--paper); }
.section-green .eyebrow { color: var(--pink-pale); }
.section-head { margin-bottom: 55px; }
.section-head.center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-top: 18px; color: var(--muted); }

/* Story */
.story-intro { padding: 90px 0 65px; background: var(--paper); }
.story-intro .lede { text-align: center; }
.story-chapters { background: var(--paper); }
.story-chapter { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(55px, 9vw, 130px); align-items: center; padding: 95px 0; border-top: 1px solid var(--line); }
.story-chapter.reverse { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
.story-chapter.reverse .story-copy { order: 2; }
.story-number { display: block; margin-bottom: 16px; color: var(--pink-deep); font-family: var(--serif); font-size: 1.15rem; font-style: italic; }
.story-label { margin-bottom: 13px; color: var(--green); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.story-copy h3 { margin-bottom: 25px; }
.story-copy p { color: var(--muted); }
.story-photo { position: relative; min-height: 530px; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-photo.arch { overflow: hidden; border-radius: 260px 260px 0 0; }
.story-photo.landscape { min-height: 420px; }
.story-photo.landscape::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--line); z-index: 0; }
.story-photo.landscape img { position: relative; z-index: 1; }
.story-photo .caption { position: absolute; right: -8px; bottom: -31px; color: var(--pink-deep); font-family: var(--script); font-size: 2.6rem; transform: rotate(-4deg); z-index: 2; }
.memories-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 18px; }
.memory-card { position: relative; min-height: 420px; overflow: hidden; }
.memory-card:nth-child(2), .memory-card:nth-child(3) { min-height: 360px; margin-top: 60px; }
.memory-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.memory-card:hover img { transform: scale(1.025); }

/* Proposal */
.proposal-hero { position: relative; min-height: 88svh; display: flex; align-items: end; padding: calc(var(--header-h) + 80px) 0 90px; color: var(--paper); overflow: hidden; }
.proposal-hero-bg { position: absolute; inset: 0; }
.proposal-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.proposal-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,31,27,.82), rgba(20,31,27,.24) 56%, rgba(20,31,27,.08)), linear-gradient(to top, rgba(20,31,27,.52), transparent 52%); }
.proposal-hero-content { position: relative; z-index: 2; max-width: 710px; }
.proposal-hero h1, .proposal-hero .page-hero-subtitle { color: var(--paper); }
.proposal-hero .eyebrow { color: var(--pink-pale); }
.proposal-story { background: var(--paper); }
.proposal-opening { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; align-items: start; }
.proposal-sidebar { position: sticky; top: 125px; }
.proposal-sidebar .ring-photo { margin-top: 30px; aspect-ratio: 4/5; overflow: hidden; }
.proposal-sidebar .ring-photo img { width: 100%; height: 100%; object-fit: cover; }
.proposal-content { max-width: 690px; }
.proposal-section + .proposal-section { margin-top: 78px; padding-top: 74px; border-top: 1px solid var(--line); }
.proposal-section h3 { margin: 8px 0 25px; }
.proposal-section p { color: var(--muted); }
.proposal-interlude { margin: 75px 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.proposal-interlude figure { margin: 0; min-height: 390px; overflow: hidden; }
.proposal-interlude figure:last-child { margin-top: 70px; }
.proposal-interlude img { width: 100%; height: 100%; object-fit: cover; }
.engraving-card { margin: 70px 0; padding: 45px; border: 1px solid rgba(150,86,106,.35); background: var(--blush); text-align: center; }
.engraving-card .label { color: var(--pink-deep); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.engraving-card .engraving { margin: 10px 0 14px; color: var(--green-deep); font-family: var(--serif); font-size: clamp(2.1rem,4vw,3.6rem); font-style: italic; }
.engraving-card blockquote { max-width: 540px; margin: 20px auto 0; color: var(--green-soft); font-family: var(--serif); font-size: 1.25rem; line-height: 1.55; }
.proposal-gallery { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 330px 330px; gap: 18px; }
.proposal-gallery figure { margin: 0; overflow: hidden; }
.proposal-gallery figure:first-child { grid-row: 1 / 3; }
.proposal-gallery figure:nth-child(4) { grid-column: 2 / 4; }
.proposal-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.proposal-gallery figure:hover img { transform: scale(1.025); }

/* Ceremony */
.ceremony-date { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.date-display { padding-right: 70px; border-right: 1px solid var(--line); text-align: right; }
.date-display .day { display: block; color: var(--pink-deep); font-family: var(--serif); font-size: clamp(7rem,13vw,12rem); font-weight: 400; line-height: .72; }
.date-display .month { display: block; margin-top: 22px; color: var(--green); font-size: .75rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.ceremony-copy .lede { margin-bottom: 24px; }
.detail-grid { border-top: 1px solid var(--line-light); }
.detail-row { min-height: 130px; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 30px; border-bottom: 1px solid var(--line-light); }
.detail-label { color: var(--pink-pale); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.detail-value { color: var(--paper); font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.65rem); line-height: 1.1; }
.detail-note { max-width: 320px; color: rgba(255,253,249,.58); font-size: .8rem; text-align: right; }
.notice-panel { padding: 48px; border: 1px solid var(--line); background: var(--paper); }
.notice-panel h3 { margin-bottom: 18px; }
.notice-panel p { color: var(--muted); }

/* RSVP */
.rsvp-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 85px; align-items: start; }
.rsvp-aside { position: sticky; top: 125px; }
.rsvp-deadline { margin-top: 32px; padding: 24px 0 24px 24px; border-left: 2px solid var(--pink); color: var(--muted); }
.rsvp-deadline strong { display: block; color: var(--green-deep); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.rsvp-form-shell { padding: clamp(28px,5vw,62px); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { margin-bottom: 28px; }
.form-label { display: block; margin-bottom: 9px; color: var(--green-deep); font-size: .72rem; font-weight: 700; letter-spacing: .07em; }
.form-required { color: var(--pink-deep); }
.form-label-opt { color: var(--muted); font-weight: 500; letter-spacing: 0; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(48,68,59,.28);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.form-input, .form-select { min-height: 50px; padding: 10px 3px; }
.form-textarea { min-height: 130px; padding: 13px 3px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--pink-deep); background: rgba(245,233,236,.35); }
.form-radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-radio-label { min-height: 56px; padding: 14px 17px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); cursor: pointer; transition: .2s ease; }
.form-radio-label:hover { border-color: var(--pink); background: var(--blush); }
.form-radio-label input { accent-color: var(--pink-deep); }
.form-divider { margin: 34px 0; border: 0; border-top: 1px solid var(--line); }
.form-hint { margin-top: 7px; color: var(--muted); font-size: .76rem; }
.form-submit-wrap { margin-top: 35px; text-align: center; }
.ohnohoney { position: absolute; left: -9999px; }
.success-banner { display: none; }

/* Registry */
.registry-focus { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 590px; background: var(--paper); box-shadow: var(--shadow-soft); }
.registry-copy { padding: clamp(45px,8vw,95px); display: flex; flex-direction: column; justify-content: center; }
.registry-copy h2 { margin-bottom: 25px; }
.registry-copy p { color: var(--muted); }
.registry-copy .btn { margin-top: 32px; align-self: flex-start; }
.registry-art { position: relative; overflow: hidden; background: var(--blush); }
.registry-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(183,111,134,.18), transparent 40%), linear-gradient(135deg, transparent, rgba(48,68,59,.08)); }
.registry-art .peony { position: absolute; width: 92%; right: -17%; bottom: -18%; opacity: .42; }
.registry-art .monogram-large { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green); font-family: var(--serif); font-size: clamp(5rem,10vw,10rem); letter-spacing: -.13em; opacity: .15; }
.gift-note { max-width: 790px; margin-inline: auto; text-align: center; }
.gift-note h3 { margin-bottom: 20px; }
.gift-note p { color: var(--muted); }

/* Social */
.social-hashtag { margin-top: 30px; color: var(--pink-deep); font-family: var(--serif); font-size: clamp(2rem,4vw,3.5rem); font-style: italic; }
.social-strip { display: grid; grid-template-columns: 1fr 1.25fr .8fr 1fr; gap: 12px; height: 330px; }
.social-strip figure { margin: 0; overflow: hidden; }
.social-strip figure:nth-child(2) { margin-top: 38px; }
.social-strip figure:nth-child(3) { margin-bottom: 44px; }
.social-strip img { width: 100%; height: 100%; object-fit: cover; }
.account-list { border-top: 1px solid var(--line); }
.account-row { min-height: 150px; display: grid; grid-template-columns: 70px 230px 1fr auto; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.account-initial { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--pink); border-radius: 50%; color: var(--pink-deep); font-family: var(--serif); font-size: 1.5rem; }
.account-name { color: var(--green-deep); font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; }
.account-handle { display: block; margin-top: 5px; color: var(--pink-deep); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .08em; }
.account-desc { color: var(--muted); font-size: .87rem; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; align-items: start; }
.faq-aside { position: sticky; top: 125px; }
.faq-aside p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; min-height: 104px; padding: 23px 0; display: grid; grid-template-columns: 1fr 32px; align-items: center; gap: 20px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.faq-question span:first-child { color: var(--green-deep); font-family: var(--serif); font-size: clamp(1.35rem,2.1vw,1.85rem); line-height: 1.2; }
.faq-icon { position: relative; width: 28px; height: 28px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 5px; right: 5px; top: 13px; height: 1px; background: var(--pink-deep); transition: transform .25s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { color: var(--muted); }
.faq-answer-inner { padding: 0 58px 32px 0; }
.faq-answer p + p { margin-top: .8em; }

/* CTA */
.closing-cta { position: relative; overflow: hidden; background: var(--green-deep); color: rgba(255,253,249,.72); }
.closing-cta .container-narrow { position: relative; z-index: 2; text-align: center; }
.closing-cta h2 { color: var(--paper); }
.closing-cta p { margin: 22px auto 30px; max-width: 620px; }
.closing-cta .flower { position: absolute; width: 360px; opacity: .08; }
.closing-cta .flower.left { left: -105px; bottom: -140px; }
.closing-cta .flower.right { right: -105px; top: -130px; transform: rotate(180deg); }

/* Footer */
.site-footer { padding: 75px 0 115px; background: #17251f; color: rgba(255,253,249,.64); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 70px; align-items: start; }
.footer-brand { color: var(--paper); font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; }
.footer-date { margin-top: 10px; color: var(--pink-pale); font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.footer-nav a { font-size: .72rem; letter-spacing: .08em; }
.footer-nav a:hover { color: var(--paper); }
.footer-contact p { margin-bottom: 8px; font-size: .76rem; }
.footer-contact .email-link { color: var(--pink-pale); }
.footer-bottom { margin-top: 55px; padding-top: 25px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: .65rem; letter-spacing: .08em; }
.bear-mark { width: 25px; color: var(--pink-pale); opacity: .65; }

/* RSVP dock */
.rsvp-dock { position: fixed; z-index: 900; left: 50%; bottom: 18px; width: min(calc(100% - 36px), 760px); min-height: 60px; padding: 8px 9px 8px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(255,255,255,.62); background: rgba(255,253,249,.78); box-shadow: 0 18px 50px rgba(30,48,41,.17), inset 0 1px rgba(255,255,255,.9); backdrop-filter: blur(18px) saturate(125%); -webkit-backdrop-filter: blur(18px) saturate(125%); transform: translate(-50%, calc(100% + 45px)); opacity: 0; transition: transform .45s cubic-bezier(.22,.7,.25,1), opacity .35s ease; }
.rsvp-dock.show { transform: translate(-50%,0); opacity: 1; }
.rsvp-dock-copy { display: flex; align-items: center; gap: 17px; color: var(--green-soft); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.rsvp-dock-copy strong { color: var(--green-deep); font-family: var(--serif); font-size: 1.1rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.rsvp-dock .btn { min-height: 42px; padding: 10px 18px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.65,.25,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Success page */
.success-page { min-height: 100svh; display: grid; place-items: center; padding: 120px 24px; text-align: center; background: radial-gradient(circle at 50% 45%, var(--blush), var(--paper) 65%); }
.success-card { position: relative; z-index: 2; max-width: 720px; }
.success-card .monogram { margin: 0 auto 30px; width: 70px; height: 70px; font-size: 1.3rem; }
.success-card h1 { font-size: clamp(3.3rem,7vw,6rem); }
.success-card p { margin: 25px auto 32px; max-width: 580px; color: var(--muted); font-family: var(--serif); font-size: 1.35rem; }

@media (max-width: 1120px) {
  .nav-links { gap: 14px; }
  .nav-link { font-size: .61rem; }
  .brand-copy { display: none; }
  .home-grid { grid-template-columns: .85fr 1.15fr; gap: 35px; }
  .hero-collage { min-height: 610px; }
  .account-row { grid-template-columns: 60px 190px 1fr auto; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .site-header { padding: 10px 10px 0; }
  .nav-shell { min-height: 60px; padding-inline: 14px 9px; }
  .brand-copy { display: flex; }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 0; z-index: -1; padding: 120px 28px 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; background: rgba(247,244,238,.98); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .3s ease, transform .3s ease; }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-link { font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .nav-rsvp { margin-top: 10px; font-family: var(--sans); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .home-hero { padding-top: 135px; }
  .home-grid { grid-template-columns: 1fr; }
  .home-copy { padding: 15px 0 0; }
  .home-title { max-width: 720px; }
  .hero-collage { min-height: 660px; margin-top: 20px; }
  .directory-head, .page-hero-grid, .story-chapter, .story-chapter.reverse, .proposal-opening, .ceremony-date, .rsvp-layout, .registry-focus, .faq-layout { grid-template-columns: 1fr; }
  .page-hero-art { min-height: 330px; }
  .story-chapter.reverse .story-copy { order: initial; }
  .story-photo { min-height: 560px; }
  .proposal-sidebar, .rsvp-aside, .faq-aside { position: relative; top: auto; }
  .proposal-sidebar .ring-photo { max-width: 430px; }
  .date-display { padding: 0 0 50px; border-right: 0; border-bottom: 1px solid var(--line); text-align: left; }
  .detail-row { grid-template-columns: 140px 1fr; }
  .detail-note { grid-column: 2; padding-bottom: 24px; text-align: left; }
  .registry-art { min-height: 420px; }
  .account-row { grid-template-columns: 58px 1fr auto; }
  .account-desc { grid-column: 2 / 4; padding-bottom: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / 3; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container, .container-narrow { width: min(calc(100% - 32px), var(--content)); }
  .brand-copy strong { font-size: .98rem; }
  .brand-copy span { display: none; }
  .home-hero { padding-bottom: 58px; }
  .home-title .name:last-child { margin-left: 24px; }
  .home-title .and { margin-left: 24%; }
  .home-date { font-size: 1.08rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-collage { min-height: 480px; }
  .hero-photo-main { inset: 5% 5% 8% 15%; }
  .hero-photo-wide { width: 54%; border-width: 6px; }
  .hero-photo-detail { width: 38%; border-width: 6px; }
  .hero-script-note { display: none; }
  .countdown-inner { min-height: 110px; flex-direction: column; justify-content: center; gap: 10px; }
  .countdown { width: 100%; justify-content: space-between; gap: 7px; }
  .countdown-item { flex-direction: column; align-items: center; gap: 2px; }
  .countdown-number { font-size: 1.65rem; }
  .countdown-unit { font-size: .48rem; }
  .home-directory, .section { padding: 85px 0; }
  .section-sm { padding: 65px 0; }
  .directory-head { gap: 20px; margin-bottom: 35px; }
  .directory-item { grid-template-columns: 38px 1fr auto; gap: 12px; min-height: 94px; }
  .directory-desc { display: none; }
  .page-hero { min-height: auto; padding-top: 145px; }
  .page-hero-grid { gap: 48px; }
  .page-hero-art { min-height: 260px; }
  .page-hero-art .flower { width: 145px; }
  .story-intro { padding: 70px 0 40px; }
  .story-chapter { gap: 40px; padding: 70px 0; }
  .story-photo, .story-photo.landscape { min-height: 420px; }
  .memories-grid { grid-template-columns: 1fr 1fr; }
  .memory-card:first-child { grid-column: 1 / 3; min-height: 430px; }
  .memory-card:nth-child(2), .memory-card:nth-child(3) { min-height: 270px; margin-top: 0; }
  .proposal-hero { min-height: 78svh; padding-bottom: 65px; }
  .proposal-hero-bg img { object-position: 63% 50%; }
  .proposal-opening { gap: 55px; }
  .proposal-interlude { grid-template-columns: 1fr; }
  .proposal-interlude figure:last-child { margin-top: 0; }
  .engraving-card { padding: 32px 20px; }
  .proposal-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 370px 240px 240px; }
  .proposal-gallery figure:first-child { grid-column: 1 / 3; grid-row: auto; }
  .proposal-gallery figure:nth-child(4) { grid-column: 1 / 3; }
  .ceremony-date { gap: 45px; }
  .detail-row { grid-template-columns: 1fr; gap: 7px; padding: 27px 0; }
  .detail-note { grid-column: auto; padding-bottom: 0; }
  .form-row, .form-radio-group { grid-template-columns: 1fr; }
  .rsvp-form-shell { padding: 28px 20px; }
  .registry-focus { min-height: 0; }
  .registry-art { min-height: 330px; }
  .social-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 230px; height: auto; }
  .social-strip figure:nth-child(2), .social-strip figure:nth-child(3) { margin: 0; }
  .account-row { grid-template-columns: 52px 1fr; padding: 25px 0; }
  .account-row .text-link { grid-column: 2; }
  .account-desc { grid-column: 2; padding-bottom: 0; }
  .faq-layout { gap: 45px; }
  .faq-question { min-height: 88px; }
  .faq-answer-inner { padding-right: 5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .rsvp-dock { min-height: 56px; padding-left: 14px; bottom: 10px; }
  .rsvp-dock-copy { display: block; }
  .rsvp-dock-copy span { display: none; }
  .rsvp-dock .btn { min-width: 112px; }
}

@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; }
}

/* Photograph viewer */
.photo-link {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}
.photo-link picture,
.photo-link img { width: 100%; height: 100%; }
.photo-link::after {
  content: "View";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  padding: 7px 10px 6px;
  border: 1px solid rgba(255,255,255,.58);
  background: rgba(23,37,31,.48);
  color: var(--paper);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  backdrop-filter: blur(10px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.photo-link:hover::after,
.photo-link:focus-visible::after { opacity: .9; transform: none; }
.photo-link:focus-visible { outline: 2px solid var(--pink-pale); outline-offset: 4px; }

body.lightbox-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.photo-lightbox[hidden] { display: none; }
.photo-lightbox.is-open { opacity: 1; visibility: visible; }
.photo-lightbox-mat {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(48,68,59,.28), transparent 48%),
    rgba(8,13,11,.955);
  cursor: zoom-out;
}
.photo-lightbox-toolbar {
  position: absolute;
  z-index: 4;
  inset: 22px 24px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.photo-lightbox-count {
  min-height: 1em;
  color: rgba(255,253,249,.68);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.photo-lightbox-button {
  position: absolute;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,253,249,.34);
  border-radius: 50%;
  background: rgba(23,37,31,.52);
  color: var(--paper);
  cursor: pointer;
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.photo-lightbox-button:hover,
.photo-lightbox-button:focus-visible {
  border-color: rgba(255,253,249,.8);
  background: rgba(48,68,59,.86);
  outline: none;
  transform: scale(1.045);
}
.photo-lightbox-close {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  pointer-events: auto;
}
.photo-lightbox-close span::before,
.photo-lightbox-close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 19px;
  height: 1px;
  background: currentColor;
}
.photo-lightbox-close span::before { transform: translate(-50%,-50%) rotate(45deg); }
.photo-lightbox-close span::after { transform: translate(-50%,-50%) rotate(-45deg); }
.photo-lightbox-prev,
.photo-lightbox-next { top: 50%; transform: translateY(-50%); }
.photo-lightbox-prev { left: 24px; }
.photo-lightbox-next { right: 24px; }
.photo-lightbox-prev:hover,
.photo-lightbox-prev:focus-visible,
.photo-lightbox-next:hover,
.photo-lightbox-next:focus-visible { transform: translateY(-50%) scale(1.045); }
.photo-lightbox-stage {
  position: absolute;
  z-index: 2;
  inset: 68px 82px 86px;
  display: grid;
  place-items: center;
  overflow: hidden;
  outline: none;
  touch-action: none;
  cursor: zoom-in;
}
.photo-lightbox.is-zoomed .photo-lightbox-stage { cursor: grab; }
.photo-lightbox.is-zoomed .photo-lightbox-stage:active { cursor: grabbing; }
.photo-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transform-origin: center center;
  will-change: transform;
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
  transition: opacity .2s ease;
}
.photo-lightbox-image.is-loaded { opacity: 1; }
.photo-lightbox-image.is-animating { transition: opacity .2s ease, transform .25s cubic-bezier(.2,.65,.25,1); }
.photo-lightbox-footer {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 20px;
  width: min(calc(100% - 160px), 880px);
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}
.photo-lightbox-caption {
  color: rgba(255,253,249,.88);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.3;
}
.photo-lightbox-help {
  margin-top: 5px;
  color: rgba(255,253,249,.44);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: opacity .35s ease;
}
.photo-lightbox-help.is-hidden { opacity: 0; }

/* Custom 404 */
.error-body { background: var(--paper); }
.error-page {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 95px) 0 100px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--paper), var(--ivory) 55%, var(--blush));
}
.error-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(55px, 9vw, 125px);
  align-items: center;
}
.error-code {
  margin: 0 0 -18px;
  color: rgba(183,111,134,.18);
  font-family: var(--serif);
  font-size: clamp(6.5rem, 13vw, 12rem);
  line-height: .75;
}
.error-copy h1 { max-width: 640px; }
.error-copy > p:not(.eyebrow):not(.error-code) { margin-top: 28px; max-width: 600px; color: var(--muted); }
.error-actions { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 13px 22px; }
.error-photo { position: relative; min-height: 570px; margin: 0; }
.error-photo picture { position: absolute; inset: 0; overflow: hidden; border-radius: 310px 310px 0 0; box-shadow: var(--shadow-soft); }
.error-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.error-frame { position: absolute; inset: 22px -22px -22px 22px; border: 1px solid rgba(48,68,59,.25); border-radius: 310px 310px 0 0; }
.error-flower { position: absolute; width: 390px; opacity: .055; pointer-events: none; }
.error-flower-left { left: -145px; bottom: -160px; transform: rotate(10deg); }
.error-flower-right { right: -155px; top: 50px; transform: rotate(170deg); }

@media (max-width: 900px) {
  .photo-lightbox-stage { inset: 70px 24px 94px; }
  .photo-lightbox-prev { left: 13px; }
  .photo-lightbox-next { right: 13px; }
  .photo-lightbox-footer { width: calc(100% - 48px); }
  .error-grid { grid-template-columns: 1fr; }
  .error-photo { min-height: 540px; max-width: 720px; width: 100%; }
}

@media (max-width: 640px) {
  .photo-link::after { display: none; }
  .photo-lightbox-toolbar { inset: 12px 12px auto; }
  .photo-lightbox-button { width: 42px; height: 42px; }
  .photo-lightbox-prev,
  .photo-lightbox-next { top: auto; bottom: 17px; transform: none; }
  .photo-lightbox-prev { left: 12px; }
  .photo-lightbox-next { right: 12px; }
  .photo-lightbox-prev:hover,
  .photo-lightbox-prev:focus-visible,
  .photo-lightbox-next:hover,
  .photo-lightbox-next:focus-visible { transform: scale(1.045); }
  .photo-lightbox-stage { inset: 62px 12px 92px; }
  .photo-lightbox-footer { bottom: 24px; width: calc(100% - 120px); }
  .photo-lightbox-caption { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .photo-lightbox-help { display: none; }
  .error-page { padding-top: 135px; }
  .error-code { margin-bottom: -8px; }
  .error-actions { align-items: stretch; }
  .error-actions .btn { flex: 1 1 100%; }
  .error-actions .text-link { margin-top: 7px; }
  .error-photo { min-height: 390px; }
  .error-frame { inset: 13px -13px -13px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-lightbox,
  .photo-lightbox-image,
  .photo-lightbox-help { transition: none !important; }
}

/* Ensure progressively enhanced image links preserve every existing crop. */
.hero-photo > .photo-link,
.story-photo > .photo-link,
.memory-card > .photo-link,
.proposal-sidebar .ring-photo > .photo-link,
.proposal-interlude figure > .photo-link,
.proposal-gallery figure > .photo-link,
.social-strip figure > .photo-link {
  position: absolute;
  inset: 0;
}
.page-hero-art > .photo-link {
  position: absolute;
  inset: 0 0 0 18%;
  width: 82%;
  height: 100%;
  box-shadow: var(--shadow-card);
}
.page-hero-art .photo-link .photo {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  box-shadow: none;
}
.proposal-sidebar .ring-photo,
.proposal-interlude figure,
.proposal-gallery figure,
.social-strip figure { position: relative; }


/* Stage 3A: accessibility, resilient navigation, and print polish */
.skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  border-radius: 3px;
  background: var(--green-deep);
  color: var(--paper);
  font-size: .78rem;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--pink-deep);
  outline-offset: 4px;
}
main[tabindex="-1"]:focus { outline: none; }
.nav-link[aria-current="page"] { color: var(--pink-deep); }
.faq-question { list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-item[open] .faq-answer { animation: faq-reveal .24s ease both; }
@keyframes faq-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.form-fieldset { min-width: 0; padding: 0; border: 0; }
.form-fieldset legend { width: 100%; }
.spaced-copy { margin-top: 22px; }
.spaced-note { margin-top: 24px; }
.form-contact-note { margin-top: 14px; }
.hashtag-note { margin-top: 8px; }
.inline-style-replaced { margin-top: 1rem; }

@media (max-width: 900px) {
  .nav-shell { position: relative; z-index: 0; }
  .nav-brand, .nav-toggle { position: relative; z-index: 2; }
  .nav-links { position: absolute; z-index: 1; background: rgba(247,244,238,.995); }
  body.menu-open .site-header { inset: 0; padding: 0; }
  body.menu-open .nav-shell {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100svh;
    padding: 10px 19px 0 24px;
    align-items: flex-start;
    border: 0;
    background: rgba(247,244,238,.995);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.menu-open .nav-links { position: absolute; inset: 0; }
}

@media (prefers-reduced-data: reduce) {
  .botanical, .flower, .error-flower, .registry-art .peony { display: none !important; }
}

@media print {
  .site-header, .site-footer, .rsvp-dock, .hero-actions, .closing-cta, .photo-link::after { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  main { padding: 0 !important; }
  .page-hero, .page-hero-dark, .section, .section-sm { min-height: 0; padding: 24pt 0; background: #fff !important; color: #000 !important; }
  h1, h2, h3, h4, .page-hero-title, .detail-value { color: #000 !important; }
  a { text-decoration: underline; }
  img { max-height: 55vh; object-fit: contain; }
  * { box-shadow: none !important; text-shadow: none !important; }
}
