:root {
  color-scheme: light;
  --u: .6;
  --ink: #4d3828;
  --muted: #796650;
  --gold: #b28a49;
  --gold-light: #d5b16d;
  --paper: #f3eadb;
  --paper-deep: #e9dbc5;
  --white: #fffdf8;
  font-family: Georgia, 'Times New Roman', serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { margin: 0; width: 100%; scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 280px; min-height: 100%; overflow: hidden; color: var(--ink); background: var(--paper); }
body.invitation-open { overflow-x: hidden; overflow-y: auto; }
button, input { font: inherit; -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
[hidden] { display: none !important; }
.topbar { position: fixed; z-index: 100; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: max(14px, env(safe-area-inset-top)) clamp(16px, 4vw, 48px) 0; pointer-events: none; }
.topbar-mark { color: var(--gold); letter-spacing: .15em; opacity: 0; transition: opacity .8s; }
.invitation-open .topbar-mark { opacity: .75; }
.topbar-mark i { font-weight: 400; font-size: .8em; }
.sound-button { pointer-events: auto; min-height: 42px; padding: 8px 15px; display: flex; gap: 8px; align-items: center; border: 1px solid rgb(178 138 73 / 45%); border-radius: 999px; color: var(--ink); background: rgb(243 234 219 / 85%); backdrop-filter: blur(12px); cursor: pointer; }
.sound-button:hover { background: var(--white); }
.sound-button:focus-visible, .control:focus-visible, .primary-button:focus-visible, .map-link:focus-visible, .footer a:focus-visible { outline: 2px solid #8b6629; outline-offset: 4px; }
.sound-icon { color: var(--gold); font-size: 1.1rem; }
.entrance { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 480px; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 50% 46%, #faf4e9 0, var(--paper) 62%, #ebdecb 100%); }
.scene { width: calc(1000px * var(--u)); height: calc(1000px * var(--u)); position: absolute; left: 50%; top: 49%; transform: translate(-50%, -50%); perspective: calc(2200px * var(--u)); }
.mail-group { position: absolute; inset: 0; z-index: 7; transform-origin: 50% 50%; transform-style: preserve-3d; will-change: transform; }
.object { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; transform-style: preserve-3d; will-change: transform, opacity; }
.object img { display: block; width: 100%; height: auto; user-select: none; }
.shadow { filter: drop-shadow(0 calc(23px * var(--u)) calc(25px * var(--u)) rgb(19 9 3 / 18%)); }
.envelope-open { width: calc(1080px * var(--u)); }
#envelopeBack { z-index: 1; clip-path: polygon(9% 42%, 91% 42%, 91% 100%, 9% 100%); }
.open-flap { z-index: 1; clip-path: polygon(9% 42%, 50% 0%, 91% 42%); transform-origin: 50% 42%; }
.passport { width: calc(580px * var(--u)); z-index: 2; }
.envelope-front { z-index: 4; clip-path: polygon(9% 42%, 50% 76%, 91% 42%, 91% 100%, 9% 100%); }
.envelope-closed { width: calc(960px * var(--u)); }
#envelopeClosed { z-index: 5; opacity: 1; }
.closed-flap { z-index: 6; clip-path: polygon(4% 6%, 96% 6%, 96% 17%, 68% 47%, 57% 68%, 43% 68%, 31% 47%, 4% 17%); transform-origin: 50% 6%; }
.book { width: calc(1020px * var(--u)); z-index: 8; }
.large-plane { width: calc(520px * var(--u)); z-index: 20; filter: drop-shadow(calc(-8px * var(--u)) calc(38px * var(--u)) calc(20px * var(--u)) rgb(23 11 4 / 18%)); }
.heart-plane { width: calc(408px * var(--u)); z-index: 21; filter: drop-shadow(0 calc(6px * var(--u)) calc(5px * var(--u)) rgb(55 26 9 / 14%)); }
.passport-copy { position: absolute; left: 53%; top: 32%; width: 27%; height: 38%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gold); text-align: center; text-shadow: 0 calc(1px * var(--u)) 0 rgb(255 255 255 / 80%); }
.passport-copy::before, .passport-copy::after { content: '·  ♡  ·'; color: #bd9452; font-size: calc(19px * var(--u)); letter-spacing: .22em; }
.passport-copy > p { width: 100%; margin: 4% 0 1%; color: #8f672c; font-size: calc(34px * var(--u)); font-style: italic; font-weight: 600; line-height: 1.15; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
.passport-copy > time { margin-top: 1%; color: #956c30; font-size: calc(28px * var(--u)); font-weight: 600; letter-spacing: .12em; -webkit-font-smoothing: antialiased; }
.initials { display: flex; align-items: center; justify-content: center; gap: calc(13px * var(--u)); white-space: nowrap; color: #b1843f; font-style: italic; font-size: calc(88px * var(--u)); font-weight: 400; letter-spacing: calc(-5px * var(--u)); }
.initials span { display: inline-block; opacity: 0; }
.initial-d { font-size: calc(112px * var(--u)); }
.initial-amp { font-size: calc(48px * var(--u)); color: #c19b5e; letter-spacing: 0; padding-top: calc(12px * var(--u)); }
.seal-button { position: absolute; z-index: 35; width: min(82vw, 820px); height: min(52vw, 470px); left: 50%; top: 49%; transform: translate(-50%, -50%); border: 0; background: transparent; cursor: pointer; }
.seal-button:focus-visible { outline: 1px solid #8b6629; outline-offset: 10px; border-radius: 12px; }
.open-prompt { position: absolute; z-index: 34; left: 50%; bottom: max(84px, calc(env(safe-area-inset-bottom) + 72px)); transform: translateX(-50%); text-align: center; color: #715536; opacity: 0; transition: opacity .8s; pointer-events: none; }
.open-prompt.ready { opacity: 1; }
.open-prompt span { display: block; color: var(--gold); font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: .13em; text-transform: uppercase; }
.open-prompt small { display: block; margin-top: 5px; font-style: italic; }
.status { position: absolute; z-index: 36; bottom: max(80px, calc(env(safe-area-inset-bottom) + 70px)); left: 20px; right: 20px; color: #6f5737; text-align: center; font-size: .875rem; font-style: italic; opacity: .8; margin: 0; }
.status:empty { display: none; }
.controls { position: absolute; z-index: 40; bottom: max(20px, calc(env(safe-area-inset-bottom) + 14px)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 24px); flex-wrap: wrap; justify-content: center; }
.control { min-height: 44px; min-width: 80px; padding: 10px 20px; border: 1px solid #ccb78e; border-radius: 999px; color: #614932; background: rgb(255 253 248 / 84%); font-family: system-ui, sans-serif; font-size: .875rem; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.control:hover { background: var(--white); border-color: #9e7439; }
.control:disabled { opacity: .35; cursor: wait; }
.control.secondary { border-color: transparent; background: transparent; color: #7b684e; }
.entrance-complete .controls, .invitation-open .entrance .controls { display: none; }
.scroll-cue { position: absolute; z-index: 42; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 2px; width: min(340px, calc(100% - 36px)); padding: 10px 18px 4px; border: 0; color: #825f2d; background: transparent; opacity: 0; visibility: hidden; transform: translate(-50%, 16px); cursor: pointer; pointer-events: none; transition: opacity .7s ease .2s, transform .7s ease .2s, visibility 0s linear .9s; }
.entrance-complete .scroll-cue { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; transition-delay: .35s, .35s, 0s; }
.scroll-cue span { font-size: clamp(.98rem, 3vw, 1.12rem); font-style: italic; }
.scroll-cue small { font-family: system-ui, sans-serif; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue i { color: var(--gold); font-size: 1.45rem; font-style: normal; line-height: .8; animation: scroll-nudge 1.7s ease-in-out infinite; }
.scroll-cue:focus-visible { outline: 2px solid #8b6629; outline-offset: 3px; border-radius: 8px; }
@keyframes scroll-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.botanical { position: absolute; z-index: 0; left: 50%; width: min(540px, 78vw); height: 95px; color: var(--gold); opacity: .5; transform: translateX(-50%); }
.botanical-top { top: clamp(28px, 7vh, 70px); }
.botanical-bottom { bottom: clamp(48px, 8vh, 86px); transform: translateX(-50%) rotate(180deg); }
.botanical::before { content: ''; position: absolute; left: 50%; bottom: 5px; width: 1px; height: 92px; background: currentColor; transform: rotate(89deg); transform-origin: bottom; }
.botanical i { position: absolute; left: calc(50% + var(--x, 0px)); bottom: var(--y, 42px); width: 44px; height: 18px; border: 1px solid currentColor; border-left: 0; border-bottom: 0; border-radius: 0 100% 0 100%; transform: rotate(var(--r, 0deg)); }
.botanical i:nth-child(1) { --x: -182px; --y: 36px; --r: -22deg; }
.botanical i:nth-child(2) { --x: -112px; --y: 49px; --r: 8deg; }
.botanical i:nth-child(3) { --x: -32px; --y: 40px; --r: -18deg; }
.botanical i:nth-child(4) { --x: 62px; --y: 49px; --r: 18deg; }
.botanical i:nth-child(5) { --x: 142px; --y: 34px; --r: 28deg; }
.noscript { position: absolute; inset: 65% 20px auto; color: var(--ink); text-align: center; }
.invitation-content { background: var(--paper); }
.content-section { position: relative; width: min(780px, calc(100% - 36px)); margin-inline: auto; text-align: center; }
.welcome { padding: clamp(90px, 14vw, 170px) 0 clamp(80px, 12vw, 140px); }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-family: system-ui, sans-serif; font-size: .73rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.countdown { display: flex; align-items: baseline; justify-content: center; gap: clamp(8px, 2.2vw, 18px); margin: 5px auto 40px; color: var(--muted); font-family: system-ui, sans-serif; font-size: clamp(.78rem, 2vw, .95rem); letter-spacing: .04em; white-space: nowrap; }
.countdown span { display: inline-flex; align-items: baseline; gap: 5px; }
.countdown strong { color: var(--gold); font-family: Georgia, serif; font-size: clamp(1.25rem, 3.6vw, 1.7rem); font-weight: 400; font-variant-numeric: tabular-nums; }
.countdown i { color: rgb(178 138 73 / 65%); font-style: normal; }
.welcome h1 { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 3vw, 30px); margin: 0; color: var(--gold); font-size: clamp(2.8rem, 9vw, 6.5rem); font-weight: 400; line-height: .95; font-style: italic; }
.welcome h1 i { font-size: .47em; color: var(--ink); }
.welcome-copy { max-width: 530px; margin: 42px auto 34px; font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.6; }
.date-lockup { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--gold); font-size: 1.3rem; }
.date-lockup i { padding-inline: 18px; border-left: 1px solid rgb(178 138 73 / 55%); border-right: 1px solid rgb(178 138 73 / 55%); color: var(--ink); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }
.boarding-pass { display: grid; grid-template-columns: 118px 1fr; margin-bottom: clamp(105px, 15vw, 175px); overflow: hidden; border: 1px solid rgb(178 138 73 / 55%); border-radius: 8px; background: linear-gradient(135deg, rgb(255 253 248 / 96%), rgb(239 224 201 / 78%)); box-shadow: 0 25px 70px rgb(88 54 22 / 11%); text-align: left; }
.boarding-pass::after { content: ''; position: absolute; inset: 9px; border: 1px solid rgb(178 138 73 / 20%); border-radius: 4px; pointer-events: none; }
.boarding-stub { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 30px 18px; border-right: 1px dashed rgb(125 86 45 / 45%); color: #fffaf1; background: #78573b; letter-spacing: .15em; text-transform: uppercase; }
.boarding-stub span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .84rem; }
.boarding-stub b { font-size: 1rem; font-weight: 400; }
.boarding-main { padding: clamp(38px, 6vw, 60px); }
.boarding-main h2, .itinerary h2, .our-journey h2 { margin: 0; color: var(--gold); font-size: clamp(2.15rem, 6vw, 3.9rem); font-style: italic; font-weight: 400; }
.boarding-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; margin: 38px 0 0; }
.boarding-grid div { min-width: 0; }
.boarding-grid .boarding-passenger, .boarding-grid .boarding-final { grid-column: span 2; }
.boarding-grid dt, .route-kicker { margin: 0 0 7px; color: #8e6a37; font-family: system-ui, sans-serif; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.boarding-grid dd { margin: 0; color: var(--ink); font-size: clamp(.98rem, 2.3vw, 1.18rem); line-height: 1.35; overflow-wrap: anywhere; }
.boarding-grid .boarding-passenger dd { min-height: 1.35em; color: #8e652f; font-size: clamp(1.2rem, 3vw, 1.55rem); font-style: italic; }
.boarding-final span { color: #a97058; }
.itinerary { margin-bottom: clamp(100px, 14vw, 165px); }
.itinerary-intro { margin: 18px auto 50px; color: var(--muted); font-size: 1.08rem; font-style: italic; }
.itinerary-route { position: relative; display: grid; gap: 30px; padding-left: clamp(45px, 9vw, 82px); text-align: left; }
.itinerary-route::before { content: ''; position: absolute; left: clamp(18px, 4vw, 36px); top: 37px; bottom: 37px; width: 2px; background: repeating-linear-gradient(to bottom, rgb(178 138 73 / 68%) 0 8px, transparent 8px 17px); }
.route-stop { position: relative; padding: clamp(28px, 5vw, 48px); border: 1px solid rgb(178 138 73 / 34%); border-radius: 5px; background: rgb(255 253 248 / 48%); box-shadow: 0 16px 45px rgb(94 66 35 / 6%); }
.route-marker { position: absolute; left: calc(clamp(45px, 9vw, 82px) * -1); top: 30px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); background: var(--paper); font-family: system-ui, sans-serif; font-size: .7rem; }
.route-stop h3 { margin: 0; color: var(--gold); font-size: clamp(1.85rem, 5vw, 3rem); font-style: italic; font-weight: 400; }
.route-time { margin: 12px 0 26px; color: var(--ink); font-size: 1.08rem; }
.route-description { margin: -14px 0 25px; color: var(--muted); font-style: italic; }
.route-stop .venue { margin-top: 24px; }
.route-stop .venue h4 { margin: 0 0 10px; font-size: clamp(1.05rem, 2.6vw, 1.35rem); font-weight: 400; }
.route-stop-intermission { padding-block: 26px; background: transparent; box-shadow: none; }
.route-stop-intermission h3 { font-size: clamp(1.45rem, 4vw, 2.05rem); }
.route-stop-intermission > p:last-child { margin: 8px 0 0; color: var(--muted); font-style: italic; }
.itinerary-plane { position: absolute; z-index: 2; left: clamp(18px, 4vw, 36px); top: 37px; width: clamp(58px, 12vw, 86px); filter: drop-shadow(0 7px 8px rgb(60 37 18 / 16%)); transform: translate(-50%, -50%) rotate(180deg); will-change: top; pointer-events: none; }
.our-journey { margin-bottom: clamp(100px, 14vw, 155px); }
.journey-timeline { position: relative; margin-top: clamp(48px, 8vw, 78px); }
.journey-route { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.journey-route-shadow, .journey-route-dashes { fill: none; vector-effect: non-scaling-stroke; }
.journey-route-shadow { stroke: rgb(178 138 73 / 18%); stroke-width: 9; }
.journey-route-dashes { stroke: rgb(178 138 73 / 75%); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 11; }
.journey-scroll-plane { position: absolute; z-index: 3; left: 50%; top: 0; width: clamp(42px, 7vw, 58px); filter: drop-shadow(0 5px 6px rgb(60 37 18 / 22%)); transform: translate(-50%, -50%) rotate(180deg); transform-origin: 50% 50%; will-change: left, top, transform; pointer-events: none; }
.our-journey ol { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(64px, 11vw, 96px) minmax(0, 1fr); grid-template-rows: repeat(3, auto); row-gap: clamp(64px, 10vw, 94px); margin: 0; padding: 0; list-style: none; }
.journey-stop { opacity: 0; transition: opacity .8s ease, transform .9s cubic-bezier(.22, .75, .25, 1); }
.journey-stop:nth-child(1) { grid-column: 1; grid-row: 1; }
.journey-stop:nth-child(2) { grid-column: 3; grid-row: 2; }
.journey-stop:nth-child(3) { grid-column: 1; grid-row: 3; }
.journey-stop-left { transform: translateX(-54px); }
.journey-stop-right { transform: translateX(54px); }
.journey-stop.is-visible { opacity: 1; transform: none; }
.journey-stop figure { margin: 0; padding: 9px; border: 1px solid rgb(178 138 73 / 31%); border-radius: 7px; background: rgb(255 253 248 / 92%); box-shadow: 0 18px 45px rgb(75 48 24 / 12%); }
.journey-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 4px; object-fit: cover; }
.journey-stop figcaption { display: grid; gap: 7px; padding: 16px 8px 10px; text-align: center; }
.journey-stop span { color: #8e6a37; font-family: system-ui, sans-serif; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.journey-stop strong { color: var(--ink); font-size: clamp(1.08rem, 2.8vw, 1.38rem); font-style: italic; font-weight: 400; line-height: 1.35; }
.romantic-note { position: relative; width: min(640px, calc(100% - 44px)); margin: 0 auto clamp(90px, 13vw, 150px); padding: 42px 28px; text-align: center; }
.romantic-note::before, .romantic-note::after { content: ''; position: absolute; top: 50%; width: clamp(35px, 9vw, 95px); height: 1px; background: linear-gradient(90deg, transparent, rgb(178 138 73 / 60%)); }
.romantic-note::before { left: 0; }.romantic-note::after { right: 0; transform: scaleX(-1); }
.romantic-note > span { display: block; color: var(--gold); font-size: 1.7rem; }
.romantic-note p { margin: 13px 0 0; color: #725b42; font-size: clamp(1.15rem, 3vw, 1.45rem); font-style: italic; line-height: 1.65; }
.event-card { padding: clamp(58px, 9vw, 96px) clamp(22px, 7vw, 76px); border: 1px solid rgb(178 138 73 / 40%); background: rgb(255 253 248 / 43%); box-shadow: 0 24px 70px rgb(94 66 35 / 7%); }
.event-card::before, .event-card::after { content: '✦'; position: absolute; left: 50%; color: var(--gold); background: var(--paper); padding: 0 14px; transform: translateX(-50%); }
.event-card::before { top: -10px; }.event-card::after { bottom: -10px; }
.event-card h2, .rsvp h2 { margin: 0; color: var(--gold); font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 400; font-style: italic; }
.event-intro, .form-intro { max-width: 550px; margin: 20px auto 40px; color: var(--muted); font-size: 1.1rem; font-style: italic; line-height: 1.65; }
.venue h3 { margin: 0 0 12px; font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 400; }
.venue p { margin: 0; line-height: 1.7; }
.venue .event-date { margin-top: 22px; color: var(--gold); font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.map-link { display: inline-flex; align-items: center; gap: 28px; margin-top: 34px; padding: 13px 20px; border-bottom: 1px solid var(--gold); color: var(--ink); text-decoration: none; font-family: system-ui, sans-serif; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; transition: gap .25s, color .25s; }
.map-link:hover { gap: 34px; color: var(--gold); }
.attire-note { margin-top: clamp(80px, 12vw, 130px); padding: clamp(48px, 8vw, 72px) clamp(24px, 7vw, 64px); border-top: 1px solid rgb(178 138 73 / 36%); border-bottom: 1px solid rgb(178 138 73 / 36%); background: radial-gradient(ellipse at center, rgb(255 253 248 / 52%), transparent 72%); }
.attire-icon { width: 46px; height: 46px; margin: -72px auto 26px; border: 1px solid rgb(178 138 73 / 48%); border-radius: 50%; color: var(--gold); background: var(--paper); line-height: 44px; }
.attire-note h2 { margin: 0 0 26px; color: var(--gold); font-size: clamp(1.9rem, 5vw, 3rem); font-style: italic; font-weight: 400; }
.attire-note > p:not(.eyebrow) { margin: 8px auto; color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.12rem); line-height: 1.65; }
.attire-note strong { color: var(--ink); font-weight: 400; }
.journey { position: relative; width: min(430px, 88vw); height: clamp(620px, 82svh, 820px); margin: clamp(45px, 8vw, 85px) auto; overflow: hidden; }
.journey-path { display: block; width: 100%; height: 100%; overflow: visible; }
.route-edge, .route-dashes { fill: none; }
.route-edge { stroke: rgb(178 138 73 / 58%); stroke-width: 12; }
.route-dashes { stroke: var(--paper); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 14; }
.journey-plane { position: absolute; z-index: 2; left: 0; top: 0; width: clamp(72px, 22vw, 108px); transform: translate(-50%, -50%); filter: drop-shadow(0 8px 9px rgb(60 37 18 / 18%)); will-change: transform; }
.route-label { position: absolute; color: var(--gold); font-family: system-ui, sans-serif; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.route-start { left: 2%; top: 2%; }.route-end { right: 0; bottom: 1%; }
.rsvp { isolation: isolate; margin-top: clamp(100px, 14vw, 170px); margin-bottom: clamp(90px, 12vw, 140px); padding: clamp(74px, 10vw, 105px) clamp(24px, 8vw, 78px) clamp(58px, 8vw, 80px); border: 1px solid rgb(178 138 73 / 42%); background: radial-gradient(circle at 50% 8%, rgb(255 255 255 / 94%), rgb(255 252 246 / 96%) 40%, #f9f1e5 100%); box-shadow: 0 28px 90px rgb(96 65 30 / 12%); text-align: left; }
.rsvp::before { content: ''; position: absolute; z-index: -1; inset: 10px; border: 1px solid rgb(178 138 73 / 22%); pointer-events: none; }
.rsvp-corners::before, .rsvp-corners::after { content: '❦'; position: absolute; top: 17px; color: rgb(178 138 73 / 65%); font-size: 1.35rem; }
.rsvp-corners::before { left: 23px; transform: rotate(-35deg); }.rsvp-corners::after { right: 23px; transform: rotate(35deg) scaleX(-1); }
.rsvp-monogram { display: flex; justify-content: center; align-items: center; gap: 8px; width: 74px; height: 74px; margin: -36px auto 32px; border: 1px solid rgb(178 138 73 / 62%); border-radius: 50%; color: var(--gold); font-size: 1.05rem; font-style: italic; box-shadow: inset 0 0 0 5px #fbf3e8, inset 0 0 0 6px rgb(178 138 73 / 25%); }
.rsvp-monogram i { font-size: .7rem; }
.rsvp > .eyebrow, .rsvp > h2, .rsvp > .form-intro { text-align: center; }
.rsvp > h2 { white-space: nowrap; }
.boarding-notes { display: grid; gap: 0; margin: 0 0 28px; padding: 22px clamp(16px, 4vw, 28px); border-top: 1px solid rgb(178 138 73 / 30%); border-bottom: 1px solid rgb(178 138 73 / 30%); color: var(--muted); text-align: center; }
.boarding-notes p { margin: 4px 0; line-height: 1.5; }
.rsvp-deadline { width: fit-content; margin: 0 auto 38px; padding: 12px 20px; border: 1px solid rgb(178 138 73 / 44%); border-radius: 999px; color: #755739; background: #f7eddd; font-family: system-ui, sans-serif; font-size: .78rem; letter-spacing: .04em; text-align: center; }
.rsvp-deadline strong { color: #9a6c2b; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
form label, fieldset legend, .members-heading { color: #755739; font-family: system-ui, sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
input[type='text'], input[type='password'], input[type='number'], input:not([type]) { width: 100%; margin-top: 10px; min-height: 52px; padding: 0 16px; border: 1px solid #dcc9a8; border-radius: 4px; color: var(--ink); background: rgb(255 253 249 / 82%); outline: 0; font-size: 1rem; font-weight: 400; text-transform: none; }
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgb(178 138 73 / 12%); }
input[aria-invalid='true'] { border-color: #a23d32; }
fieldset { display: grid; gap: 12px; margin: 32px 0 0; padding: 0; border: 0; }
fieldset legend { margin-bottom: 14px; }
.choice { position: relative; display: flex; align-items: center; gap: 16px; min-height: 70px; padding: 14px 18px; border: 1px solid #decdb0; border-radius: 4px; background: rgb(255 253 249 / 70%); cursor: pointer; font-weight: 400; text-transform: none; transition: border-color .25s, background .25s, transform .25s; }
.choice:hover { border-color: #bd9452; transform: translateY(-1px); }
.choice:has(input:checked) { border-color: var(--gold); background: #f5ead8; box-shadow: 0 8px 24px rgb(107 73 35 / 7%); }
.choice input { flex: 0 0 auto; accent-color: var(--gold); width: 19px; height: 19px; }
.choice span { display: grid; gap: 4px; }
.choice b { color: #8c682f; font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; font-weight: 400; letter-spacing: .02em; }
.choice small { color: var(--muted); font-size: .75rem; letter-spacing: .02em; text-transform: none; }
.guest-fields { position: relative; margin-top: 24px; padding: 25px 20px 22px; border: 1px solid rgb(178 138 73 / 34%); border-radius: 4px; color: var(--muted); background: rgb(247 237 221 / 64%); text-align: center; }
.guest-note-heart { display: block; margin-bottom: 6px; color: var(--gold); font-size: 1.65rem; line-height: 1; }
.guest-fields p { margin: 0; font-size: 1.05rem; font-style: italic; line-height: 1.55; }
.guest-fields p strong { color: #996d2e; font-weight: 600; }
.guest-fields > small { display: block; margin-top: 5px; color: #806b54; font-family: system-ui, sans-serif; font-size: .72rem; letter-spacing: .035em; }
.guest-fields > label { display: block; max-width: 310px; }
.members-heading { display: flex; justify-content: space-between; margin-top: 30px; }
.members-heading small { color: var(--muted); font-weight: 400; }
.member-names { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.form-message { min-height: 22px; margin: 22px 0 8px; color: #963b32; font-family: system-ui, sans-serif; font-size: .85rem; line-height: 1.5; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 14px; min-width: 210px; min-height: 54px; margin: 12px auto 0; padding-inline: 26px; border: 1px solid #ad813d; border-radius: 999px; color: var(--white); background: linear-gradient(135deg, #c39a55, #a97934); box-shadow: 0 10px 28px rgb(122 83 35 / 18%); font-family: system-ui, sans-serif; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.primary-button i { font-family: Georgia, serif; font-size: 1.1rem; }
.primary-button:hover { color: var(--white); background: linear-gradient(135deg, #caa461, #a97934); transform: translateY(-2px); box-shadow: 0 14px 34px rgb(122 83 35 / 24%); }
.primary-button:disabled { opacity: .6; cursor: wait; }
.rsvp-success { padding: 34px 10px 12px; text-align: center; outline: 0; animation: confirmation-arrive .8s cubic-bezier(.2,.8,.2,1) both; }
.confirmation-mark { position: relative; display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 20px; border: 1px solid rgb(178 138 73 / 60%); border-radius: 50%; color: var(--gold); background: #fffaf2; box-shadow: 0 12px 35px rgb(122 83 35 / 13%); }
.confirmation-mark::after { content: ''; position: absolute; inset: 6px; border: 1px dashed rgb(178 138 73 / 43%); border-radius: 50%; animation: confirmation-spin 16s linear infinite; }
.confirmation-mark span { display: block; font-size: 1.6rem; transform: rotate(-28deg); }
.confirmation-decline .confirmation-mark span { font-size: 0; }
.confirmation-decline .confirmation-mark span::after { content: '♡'; font-size: 2.1rem; }
.rsvp-success h3 { margin: 12px 0 18px; color: var(--gold); font-size: clamp(2rem, 6vw, 3rem); font-style: italic; font-weight: 400; }
.rsvp-success p { margin: 8px auto; max-width: 500px; color: var(--muted); font-size: 1.08rem; line-height: 1.55; }
.rsvp-success .confirmation-farewell { margin-top: 20px; color: var(--ink); font-style: italic; }
@keyframes confirmation-arrive { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes confirmation-spin { to { transform: rotate(360deg); } }
.footer { display: grid; justify-items: center; gap: 12px; padding: clamp(90px, 14vw, 150px) 24px 38px; text-align: center; border-top: 1px solid rgb(178 138 73 / 22%); }
.footer > p { max-width: 660px; margin: 0; color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.18rem); line-height: 1.6; }
.footer .closing-statement { margin-bottom: 15px; color: var(--gold); font-size: clamp(2rem, 6vw, 3.8rem); font-style: italic; line-height: 1.12; }
.footer .closing-signature { margin-top: 25px; color: var(--gold); font-size: clamp(2rem, 6vw, 3.35rem); font-style: italic; }
.footer small { display: block; margin: 0 0 25px; color: #806d56; letter-spacing: .12em; }
.footer a { color: #8c7b65; font-family: system-ui, sans-serif; font-size: .68rem; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.reveal-section { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal-section.is-visible { opacity: 1; transform: none; }
@media (max-width: 620px) {
  .botanical { width: 78vw; }.botanical i:nth-child(1), .botanical i:nth-child(5) { display: none; }
  .welcome h1 { flex-direction: column; gap: 6px; }.welcome h1 i { line-height: .5; }
  .date-lockup { gap: 10px; }.date-lockup i { padding-inline: 10px; }
  .form-grid, .member-names { grid-template-columns: 1fr; }
  .event-card { width: calc(100% - 28px); }
  .journey { width: min(390px, 88vw); height: min(78svh, 720px); min-height: 570px; margin-block: 42px; }
  .rsvp { width: calc(100% - 28px); padding-inline: 28px; }
  .rsvp > h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .countdown { gap: 6px; letter-spacing: 0; }
  .countdown span { gap: 3px; }
  .boarding-pass { grid-template-columns: 1fr; width: calc(100% - 28px); }
  .boarding-stub { flex-direction: row; min-height: 58px; padding: 15px 22px; border-right: 0; border-bottom: 1px dashed rgb(255 255 255 / 48%); }
  .boarding-stub span { writing-mode: horizontal-tb; transform: none; }
  .boarding-main { padding: 32px 24px 36px; }
  .boarding-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .boarding-grid .boarding-passenger, .boarding-grid .boarding-final { grid-column: 1 / -1; }
  .itinerary { width: calc(100% - 28px); }
  .itinerary-route { padding-left: 42px; }
  .itinerary-route::before { left: 17px; }
  .route-marker { left: -44px; width: 34px; height: 34px; }
  .route-stop { padding: 28px 22px; }
  .itinerary-plane { left: 17px; width: 58px; }
  .journey-timeline { margin-top: 40px; padding-left: 54px; }
  .journey-route { left: 0; width: 48px; }
  .journey-scroll-plane { width: 39px; }
  .our-journey ol { display: grid; grid-template-columns: 1fr; grid-template-rows: none; row-gap: 52px; }
  .journey-stop:nth-child(1), .journey-stop:nth-child(2), .journey-stop:nth-child(3) { grid-column: 1; grid-row: auto; }
  .journey-stop-left { transform: translateX(-34px); }
  .journey-stop-right { transform: translateX(34px); }
  .boarding-notes { font-size: .94rem; }
}
@media (max-height: 530px) {
  .botanical { display: none; }.controls { bottom: max(8px, env(safe-area-inset-bottom)); }.control { padding: 7px 14px; }.open-prompt { bottom: 56px; }
}
@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-section { opacity: 1; transform: none; }
  .confirmation-mark::after { animation: none; }
}
