:root {
  --paper: #f8f4ed;
  --paper-dark: #eee8de;
  --cream: #fffcf8;
  --wine: #651d30;
  --wine-dark: #471325;
  --wine-light: #854354;
  --ink: #3c2c2b;
  --muted: #7f6e69;
  --gold: #ae9270;
  --line: #ddcec0;
  --body: 'DM Sans', Arial, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --script: 'Parisienne', cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.7; }
body::before { content: ''; background: url('assets/paper-grain.png') repeat; position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .38; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
[hidden], .form-hidden { display: none !important; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: #fff; padding: 12px 16px; }
.skip-link:focus { top: 12px; }
.eyebrow { color: var(--wine); letter-spacing: .27em; font-size: 10.5px; font-weight: 700; line-height: 1.7; }
.section { position: relative; padding: 112px 0; }
.section-title { font: 500 clamp(52px, 6vw, 81px)/.98 var(--serif); letter-spacing: -.035em; margin: 15px 0 20px; }
.section-heading { text-align: center; margin: 0 auto 62px; }
.section-intro { font-size: 15px; color: var(--muted); margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 54px; padding: 15px 27px; letter-spacing: .12em; text-transform: uppercase; font-size: 10px; font-weight: 700; border: 1px solid transparent; transition: transform .25s, background .25s, color .25s, border-color .25s; }
.button:hover { transform: translateY(-2px); }
.button--burgundy { background: var(--wine); color: #fff; }
.button--burgundy:hover { background: #7c2b40; }
.button--outline { border-color: var(--wine); color: var(--wine); background: transparent; }
.button--outline:hover { color: #fff; background: var(--wine); }
.button--full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 17px; padding-bottom: 7px; border-bottom: 1px solid var(--wine); font-size: 10px; letter-spacing: .15em; font-weight: 700; color: var(--wine); }
.text-link span { font-size: 16px; line-height: 1; transition: transform .2s; }
.text-link:hover span { transform: translate(2px, -2px); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s ease, transform .85s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Navigation */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(248,244,237,.91); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: rgba(101,29,48,.12); background: rgba(248,244,237,.97); }
.nav { height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: inline-flex; gap: 10px; align-items: center; color: var(--wine); font: 500 27px var(--serif); white-space: nowrap; }
.nav__brand i { font: normal 10px var(--body); color: var(--gold); }
.nav__links { display: flex; gap: 36px; align-items: center; }
.nav__links a { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; color: #614b49; transition: color .2s; }
.nav__links a:hover { color: var(--wine); }
.nav__links a.nav__rsvp { padding: 10px 15px; color: #fff; background: var(--wine); }
.nav__rsvp span { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: 0; padding: 12px; }

/* Hero */
.hero { min-height: max(820px, 100svh); height: auto; padding: 132px 24px 62px; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #fffdf8 0%, #f6f0e7 64%, #f1e9df 100%); isolation: isolate; }
.hero::before { content: ''; position: absolute; width: min(69vw, 820px); aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(255,255,255,.68) 0%, rgba(255,255,255,.3) 47%, transparent 71%); z-index: 0; }
.hero__frame { position: absolute; inset: 92px 28px 28px; border: 1px solid rgba(174,146,112,.43); pointer-events: none; z-index: 2; }
.hero__frame::before, .hero__frame::after { content: '❧'; position: absolute; font: 24px var(--serif); color: var(--gold); background: var(--paper); padding: 0 14px; left: 50%; transform: translateX(-50%); }
.hero__frame::before { top: -14px; }
.hero__frame::after { bottom: -14px; transform: translateX(-50%) rotate(180deg); }
.hero__florals { position: absolute; width: clamp(330px, 39vw, 600px); height: auto; z-index: 1; pointer-events: none; user-select: none; }
.hero__florals--left { left: -80px; top: -34px; }
.hero__florals--right { right: -150px; bottom: -188px; transform: rotate(180deg); width: clamp(290px, 33vw, 540px); }
.hero__content { text-align: center; position: relative; z-index: 3; margin: 0; width: min(760px, 100%); }
.hero__ornament { color: var(--gold); font: 42px var(--serif); margin-bottom: -4px; }
.hero__eyebrow { margin: 0 0 12px; }
.hero__kicker { margin: 0; font: 400 23px var(--serif); color: #6f5851; }
.hero__names { display: flex; flex-direction: column; align-items: center; font: 500 clamp(95px, 10vw, 146px)/.9 var(--serif); color: var(--wine); letter-spacing: -.064em; margin: 40px 0 37px; }
.hero__names span { display: block; }
.hero__names em { color: var(--gold); font: 400 65px/1.1 var(--script); letter-spacing: 0; margin: 11px 0 10px; }
.flourish { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 0 auto 22px; color: var(--gold); }
.flourish span { height: 1px; width: 64px; background: currentColor; opacity: .52; }
.flourish b { font-size: 20px; font-weight: 400; }
.hero__date { color: var(--wine); font-size: 14px; font-weight: 600; letter-spacing: .24em; margin: 0 0 2px; }
.hero__date b { font-weight: 400; margin: 0 5px; }
.hero__place { font: 400 20px var(--serif); color: #7d6a64; margin: 0 0 28px; }
.hero__button { min-width: 178px; }
.hero__small { color: #907b72; font: italic 18px/1.5 var(--serif); margin: 20px auto 0; padding-inline: 8px; max-width: 100%; }
.hero__scroll { position: relative; z-index: 4; margin: 0 auto; flex: none; font-size: 9px; font-weight: 600; letter-spacing: .26em; color: #907b72; white-space: nowrap; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll span { height: 28px; width: 1px; background: var(--gold); }

/* Countdown */
.countdown { background: var(--wine); color: #fff9f1; padding: 30px 0; }
.countdown__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.countdown__label { width: 260px; margin: 0; font-size: 10px; line-height: 1.6; letter-spacing: .23em; }
.countdown__figures { display: flex; align-items: center; gap: 18px; }
.countdown__figures div { text-align: center; min-width: 45px; }
.countdown__figures strong { display: block; font: 500 40px/1 var(--serif); font-variant-numeric: tabular-nums; }
.countdown__figures span { display: block; margin-top: 4px; font-size: 8px; letter-spacing: .15em; opacity: .72; }
.countdown__figures i { align-self: flex-start; font: 300 26px var(--serif); opacity: .48; }
.countdown__note { text-align: right; min-width: 245px; color: #e7c8ca; font: italic 20px var(--serif); margin: 0; }

/* Invitation */
.invitation { text-align: center; background: var(--cream); }
.invitation__inner { max-width: 690px; }
.arabic { margin: 0 auto 11px; font-family: Georgia, 'Times New Roman', serif; font-size: 28px; color: var(--wine); font-weight: 400; line-height: 1.6; }
.small-divider { font-size: 16px; color: var(--gold); margin: 4px 0 28px; }
.invitation .section-title { margin-bottom: 30px; }
.period { color: var(--gold); }
.invitation__copy { max-width: 605px; margin: 14px auto; color: #73625b; font-size: 16px; line-height: 2; }
.signature { font: 30px var(--script); color: var(--wine); margin: 35px 0 0; }

/* Schedule */
.schedule { background: #f5f0e8; }
.schedule__events { display: grid; grid-template-columns: 1fr 68px 1fr; align-items: center; max-width: 1050px; margin: auto; }
.event-card { position: relative; text-align: center; padding: 48px 40px 50px; background: rgba(255,253,249,.9); border: 1px solid #ded2c8; box-shadow: 0 18px 65px rgba(84,53,49,.035); min-height: 490px; }
.event-card::before { content: ''; pointer-events: none; position: absolute; inset: 9px; border: 1px solid rgba(174,146,112,.25); }
.event-card__number { font-size: 10px; font-weight: 700; color: var(--wine); letter-spacing: .19em; display: flex; align-items: center; justify-content: center; gap: 12px; }
.event-card__number span { width: 28px; height: 1px; background: var(--gold); }
.event-card__time { font: 500 64px/.9 var(--serif); margin: 49px 0 18px; color: var(--wine); }
.event-card__time span { font: 600 14px var(--body); letter-spacing: .1em; }
.event-card h3 { font: 500 39px/1.1 var(--serif); margin: 0 0 8px; }
.event-card__venue { color: var(--wine); font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.event-card__address { font-size: 12px; color: #88776d; line-height: 1.8; margin: 0 0 23px; }
.schedule__connector { height: 1px; background: var(--gold); color: var(--gold); display: flex; justify-content: center; align-items: center; }
.schedule__connector span { padding: 0 8px; font-size: 19px; background: #f5f0e8; }

/* Venue */
.venue { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.venue__visual { position: relative; min-height: 640px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 40% 28%, #803c4a, #531728 80%); color: #f8ece4; }
.venue__visual::after { content: ''; position: absolute; width: 480px; height: 480px; border: 1px solid rgba(213,172,146,.18); border-radius: 50%; }
.venue__visual-frame { position: absolute; z-index: 2; inset: 25px; border: 1px solid rgba(245,223,190,.32); }
.venue__illustration { position: absolute; top: 0; right: -8px; height: 100%; width: auto; opacity: .5; pointer-events: none; }
.venue__visual-content { position: relative; z-index: 3; text-align: center; padding: 20px; }
.venue__visual-content .eyebrow { color: #e9c6aa; }
.venue__name { font: 500 clamp(88px, 10vw, 148px)/.9 var(--serif); letter-spacing: -.04em; margin: 24px 0 0; }
.venue__script { font: 40px/1.3 var(--script); margin: 0; color: #e4c5a9; }
.venue__accent { color: #c9a47b; display: block; margin: 23px 0; }
.venue__visual-content > p:last-child { font-size: 10px; letter-spacing: .24em; }
.venue__details { background: #fffdfa; display: flex; align-items: center; padding: 90px clamp(45px, 6vw, 110px); }
.venue__details-inner { max-width: 500px; }
.venue__details .section-title { font-size: clamp(53px, 5.2vw, 75px); }
.venue__details-inner > p:not(.eyebrow) { color: #82706a; font-size: 14px; line-height: 1.9; margin: 23px 0 34px; }
.venue__information { padding: 17px 0; border-top: 1px solid var(--line); }
.venue__information span, .venue__information strong, .venue__information small { display: block; }
.venue__information span { font-size: 9px; letter-spacing: .2em; color: var(--wine); font-weight: 700; margin-bottom: 4px; }
.venue__information strong { font-size: 14px; font-weight: 600; }
.venue__information small { font-size: 12px; color: #948077; }
.venue__details .button { margin-top: 22px; }

/* RSVP */
.rsvp { background: #f3ece3; overflow: hidden; }
.rsvp::after { content: ''; position: absolute; left: -70px; bottom: -95px; width: 280px; height: 550px; background: url('assets/botanical-linework.png') center/contain no-repeat; opacity: .34; transform: scaleX(-1); pointer-events: none; }
.rsvp__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: min(9vw,115px); align-items: start; }
.rsvp__intro { padding-top: 62px; position: relative; z-index: 2; }
.rsvp__intro .section-title { font-size: clamp(80px, 10vw, 135px); line-height: .72; margin: 31px 0 47px; }
.rsvp__intro .section-title em { font-style: normal; color: var(--wine); margin-left: 25px; }
.rsvp__intro > p:not(.eyebrow):not(.rsvp__script) { max-width: 300px; font-size: 15px; color: #74615d; line-height: 1.9; }
.rsvp__heart { font: 65px var(--serif); color: var(--wine); margin-top: 37px; }
.rsvp__script { font: 32px var(--script); color: var(--wine); margin: 8px 0; }
.rsvp__form-shell { padding: 42px 43px; background: #fffcf8; box-shadow: 0 24px 75px rgba(73,41,41,.07); border: 1px solid #e5d7cc; }
.rsvp__form-heading { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 21px; margin-bottom: 28px; color: var(--wine); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.rsvp-form { display: flex; flex-direction: column; gap: 17px; }
.form-field { min-width: 0; }
.form-field > label, .form-field legend { display: block; font-size: 11px; font-weight: 700; margin-bottom: 9px; color: #503f3c; }
.form-field label span, .form-field legend span { color: #9c4456; }
.form-field label small { font-weight: 400; color: #99867e; }
.form-field input:not([type=radio]):not([type=checkbox]), .form-field select, .form-field textarea { width: 100%; border: 1px solid #dfd2c8; background: #fffdf9; color: var(--ink); border-radius: 0; padding: 13px 15px; outline-color: var(--gold); font-size: 12px; transition: border-color .2s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--wine); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #ae9f98; }
.form-field textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
fieldset.form-field { border: 0; margin: 0; padding: 0; }
.attendance-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { display: block; position: relative; cursor: pointer; }
.radio-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.radio-card > span { display: flex; gap: 6px; justify-content: center; align-items: center; padding: 14px 9px; min-height: 53px; color: #6d5853; border: 1px solid #dfd2c8; text-align: center; font-size: 11px; transition: all .2s; }
.radio-card > span b { font-size: 16px; font-weight: 400; color: var(--wine); }
.radio-card input:checked + span { background: #f9e7e8; border-color: var(--wine); color: var(--wine); }
.radio-card input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.attending-details { display: flex; flex-direction: column; gap: 17px; margin: 5px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.form-hint { margin: -4px 0 9px; font-size: 10px; color: #8b7770; }
.checkbox-option { cursor: pointer; display: flex; align-items: center; gap: 10px; margin: 9px 0; font-size: 12px; }
.checkbox-option input { width: 16px; height: 16px; accent-color: var(--wine); }
.form-error { padding: 10px 13px; border-left: 3px solid #b74358; background: #fff1f1; color: #7c2134; font-size: 12px; }
.form-privacy { margin: -5px 0 0; text-align: center; color: #aa9691; font-size: 10px; line-height: 1.6; }

/* Gifts */
.gifts { background: #fffcf8; }
.gifts__intro { max-width: 650px; margin-inline: auto; line-height: 1.9; }
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; max-width: 980px; margin: 0 auto; }
.gift-card { position: relative; text-align: center; background: #f9f4ee; border: 1px solid var(--line); padding: 46px 35px 54px; min-height: 375px; }
.gift-card__symbol { color: var(--gold); font: 43px var(--serif); }
.gift-card .eyebrow { margin: 10px 0; }
.gift-card h3 { font: 500 39px/1.1 var(--serif); color: var(--wine); margin: 14px 0 15px; }
.gift-card > p:not(.eyebrow):not(.copy-feedback) { margin: 0 auto 25px; max-width: 330px; font-size: 13px; color: #81706a; line-height: 1.9; }
.eft-pending { font: italic 18px var(--serif); color: #806c62; padding-top: 10px; }
.eft-details { text-align: left; width: min(310px,100%); margin: 0 auto 17px; font-size: 12px; }
.eft-details > div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.eft-details dt { color: var(--muted); }
.eft-details dd { font-weight: 700; text-align: right; margin: 0; overflow-wrap: anywhere; }
.gift-card .button { margin-top: 0; }
.copy-feedback { min-height: 12px; margin: 8px 0 0; color: var(--wine); font-size: 12px; }

/* Closing */
.closing { background: var(--wine); color: #fff8f0; text-align: center; padding: 88px 0 76px; }
.closing .eyebrow { color: #e5c5ae; }
.closing__script { font: 400 clamp(61px, 9vw, 110px)/1.2 var(--script); margin: 15px 0 9px; }
.flourish--light { color: #dbc1a1; }
.closing__inner > p:nth-last-child(2) { font: 400 33px var(--serif); margin: 20px 0 30px; }
.closing__inner > p:nth-last-child(2) em { font: 30px var(--script); color: #d6bfa0; }
.closing__back { display: inline-block; font-size: 10px; letter-spacing: .22em; padding-bottom: 6px; border-bottom: 1px solid #d6bfa0; }
.footer { padding: 20px 0; background: #4b1525; color: #e7cfd1; }
.footer .container { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: .22em; }
.footer .container span:first-child { font: 23px var(--serif); }

/* Responsive */
@media (max-width: 1050px) {
  .hero__florals--left { left: -165px; }
  .hero__florals--right { right: -230px; }
  .countdown__note { display: none; }
  .countdown__inner { justify-content: center; gap: 50px; }
  .rsvp__layout { gap: 50px; }
  .venue__details { padding: 70px 45px; }
}
@media (max-width: 750px) {
  .container { width: min(100% - 36px, 520px); }
  .section { padding: 82px 0; }
  .section-title { font-size: 58px; }
  .site-header { background: rgba(248,244,237,.97); }
  .nav { height: 65px; }
  .nav__toggle { display: flex; flex-direction: column; gap: 5px; }
  .nav__toggle span { background: var(--wine); display: block; width: 24px; height: 1.5px; transition: transform .25s, opacity .25s; }
  .nav__toggle[aria-expanded=true] span:first-child { transform: translateY(6.5px) rotate(45deg); }
  .nav__toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded=true] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }
  .nav__links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--paper); padding: 25px 22px 30px; border-bottom: 1px solid var(--line); flex-direction: column; gap: 23px; }
  .nav__links.is-open { display: flex; }
  .hero { height: auto; min-height: 775px; padding: 125px 22px 65px; gap: 22px; }
  .hero__frame { inset: 80px 14px 16px; }
  .hero__florals--left { width: 315px; left: -127px; top: -18px; opacity: .82; }
  .hero__florals--right { width: 270px; right: -163px; bottom: -100px; opacity: .84; }
  .hero__content { margin: 0; }
  .hero__kicker { font-size: 18px; max-width: 240px; margin-inline: auto; line-height: 1.3; }
  .hero__ornament { font-size: 29px; margin: 0 0 10px; }
  .hero__eyebrow { font-size: 9px; }
  .hero__names { font-size: clamp(79px, 20vw, 119px); margin: 38px 0 32px; }
  .hero__names em { font-size: 54px; margin: 11px 0 9px; }
  .hero__date { font-size: 11px; letter-spacing: .18em; }
  .hero__place { font-size: 18px; }
  .hero__small { font-size: 16px; }
  .hero__scroll { font-size: 8px; }
  .hero__scroll span { height: 16px; }
  .countdown { padding: 27px 0 24px; }
  .countdown__inner { display: block; text-align: center; }
  .countdown__label { width: auto; margin: 0 0 14px; }
  .countdown__figures { justify-content: center; gap: 13px; }
  .countdown__figures strong { font-size: 33px; }
  .countdown__figures div { min-width: 43px; }
  .invitation__copy { font-size: 14px; line-height: 1.85; }
  .arabic { font-size: 22px; }
  .schedule__events { grid-template-columns: 1fr; max-width: 460px; }
  .schedule__connector { height: 55px; width: 1px; justify-self: center; }
  .schedule__connector span { background: #f5f0e8; }
  .event-card { min-height: auto; padding: 38px 20px 45px; }
  .event-card__time { margin: 34px 0 17px; }
  .venue { grid-template-columns: 1fr; }
  .venue__visual { min-height: 420px; }
  .venue__visual-content .venue__name { font-size: 105px; }
  .venue__visual-content .venue__script { font-size: 33px; }
  .venue__details { padding: 72px 29px 82px; }
  .venue__details .section-title { font-size: 59px; }
  .rsvp__layout { grid-template-columns: 1fr; gap: 25px; }
  .rsvp__intro { padding: 0; text-align: center; }
  .rsvp__intro .section-title { font-size: 105px; margin: 23px 0 36px; }
  .rsvp__intro > p:not(.eyebrow):not(.rsvp__script) { max-width: 410px; margin: 12px auto; }
  .rsvp__heart, .rsvp__script { display: none; }
  .rsvp__form-shell { padding: 30px 25px; }
  .gift-grid { grid-template-columns: 1fr; max-width: 465px; }
  .gift-card { min-height: unset; padding: 38px 29px 43px; }
  .closing { padding: 79px 0 65px; }
  .footer .container span:last-child { font-size: 8px; }
}
@media (max-width: 420px) {
  .hero__names { font-size: 77px; }
  .hero__florals--left { left: -160px; }
  .hero__florals--right { right: -185px; }
  .hero__kicker { font-size: 17px; }
  .form-row { grid-template-columns: 1fr; }
  .attendance-options { gap: 8px; }
  .radio-card > span { font-size: 10px; padding: 10px 5px; min-height: 58px; }
  .rsvp__form-shell { padding: 27px 18px; }
  .section-title { font-size: 52px; }
  .venue__details .section-title { font-size: 51px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
