:root {
  --ivory: #f7f0df;
  --paper: #fcf7ec;
  --paper-deep: #eee3ce;
  --ink: #173c34;
  --ink-soft: #31594e;
  --gold: #b99357;
  --gold-light: #e7cf9a;
  --blush: #d99d9b;
  --shadow: rgba(65, 43, 12, .16);
  --heading-font: 'Cormorant Garamond', Georgia, serif;
  --body-font: 'Manrope', Arial, sans-serif;
  color-scheme: light;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--body-font); -webkit-font-smoothing: antialiased; }
body:not(.is-open) { overflow: hidden; }
body.viewer-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
::selection { color: var(--ivory); background: var(--ink); }

.page-grain { display: none; }
#scroll-progress { position: fixed; z-index: 95; inset: 0 auto auto 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); transform: scaleX(0); transform-origin: left; }
.loader { position: fixed; z-index: 200; inset: 0; display: grid; place-content: center; gap: 14px; text-align: center; background: var(--ivory); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: opacity .8s ease, visibility .8s ease; }
.loader.is-ready { opacity: 0; visibility: hidden; }
.loader-mark { display: block; margin: auto; width: 48px; height: 48px; padding-top: 11px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--heading-font); font-size: 18px; letter-spacing: -2px; color: var(--gold); animation: loader-pulse 1.5s ease-in-out infinite; }
@keyframes loader-pulse { 50% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(185,147,87,.05); } }

.opening { position: fixed; z-index: 90; inset: 0; min-height: 100svh; overflow: hidden; display: grid; place-items: center; isolation: isolate; background: radial-gradient(circle at 52% 45%, #fffef8 0, var(--ivory) 43%, #e7d9bf 100%); transition: opacity 1s ease .25s, visibility 1s ease .25s; }
.opening::before, .opening::after { content: ''; position: absolute; z-index: -1; inset: 18px; border: 1px solid rgba(185,147,87,.35); pointer-events: none; }
.opening::after { inset: 28px; border-color: rgba(23,60,52,.12); clip-path: polygon(0 0, 20% 0, 20% 1px, 80% 1px, 80% 0, 100% 0, 100% 100%, 80% 100%, 80% calc(100% - 1px), 20% calc(100% - 1px), 20% 100%, 0 100%); }
.is-open .opening { opacity: 0; visibility: hidden; }
.opening-light { position: absolute; width: 36vmax; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(247,213,142,.5), rgba(247,213,142,0) 66%); filter: blur(12px); opacity: 0; transform: scale(.3); transition: opacity 1.7s ease, transform 1.7s cubic-bezier(.22,.61,.36,1); }
.is-open .opening-light { opacity: 1; transform: scale(2.2); }
.opening-content { display: flex; z-index: 2; align-items: center; flex-direction: column; padding: 48px 25px; text-align: center; transform: translateY(-5px); }
.eyebrow { margin: 0; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .22em; line-height: 1.5; text-transform: uppercase; }
.opening-kicker { margin-bottom: 32px; }
.opening-monogram { display: flex; gap: 11px; align-items: center; margin-bottom: 24px; font-family: var(--heading-font); font-size: 31px; font-weight: 500; letter-spacing: -.12em; color: var(--ink); }
.opening-monogram i { width: 28px; height: 1px; background: var(--gold); transform: rotate(-42deg); }
.wax-seal { position: relative; isolation: isolate; width: 138px; aspect-ratio: 1; border: 0; border-radius: 50% 48% 52% 49% / 49% 51% 47% 53%; background: radial-gradient(circle at 34% 24%, #b66a54 0, #8b3429 41%, #64251f 74%, #4f1b19 100%); color: #f7d599; box-shadow: inset 6px 9px 10px rgba(255,185,145,.25), inset -9px -12px 18px rgba(41,5,2,.45), 0 17px 29px rgba(77,35,20,.35); transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s ease; }
.wax-seal::before { content: ''; position: absolute; inset: 11px; z-index: -1; border: 1px solid rgba(254,217,158,.28); border-radius: inherit; box-shadow: inset 0 0 18px rgba(38,4,3,.33); }
.wax-seal::after { content: ''; position: absolute; inset: -4px; z-index: -2; border-radius: inherit; background: repeating-conic-gradient(from 12deg, #67241f 0 7deg, #7c2b24 7deg 14deg); filter: blur(2px); }
.wax-seal:hover { transform: scale(1.055) rotate(-2deg); filter: saturate(1.12) brightness(1.08); }
.wax-seal:focus-visible, .date-seal:focus-visible, .button:focus-visible, .gallery-card:focus-visible, .music-control:focus-visible, .share-link:focus-visible, .text-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.seal-letters { display: grid; place-content: center; height: 100%; font-family: var(--heading-font); font-size: 30px; font-weight: 600; line-height: .55; letter-spacing: -.07em; text-shadow: 0 1px 0 rgba(255,242,210,.5), 0 -1px 1px rgba(62,12,8,.7); }
.seal-letters em { color: #f5c876; font-size: 17px; font-style: italic; }
.seal-shine { position: absolute; top: 16%; left: 21%; width: 25%; height: 14%; border-radius: 50%; background: rgba(255,203,165,.32); filter: blur(5px); transform: rotate(-23deg); }
.is-breaking { animation: seal-break .9s ease forwards; }
@keyframes seal-break { 35% { transform: scale(1.13) rotate(8deg); } 62% { transform: scale(.9) rotate(-7deg); } 100% { transform: scale(1.35) rotate(22deg); opacity: 0; filter: blur(5px); } }
.opening-hint { margin: 28px 0 0; color: rgba(23,60,52,.67); font-family: var(--heading-font); font-size: 15px; font-style: italic; }
.opening-hint::after { content: ''; display: block; width: 23px; height: 1px; margin: 10px auto 0; background: var(--gold); }
.opening-corner { position: absolute; width: 98px; aspect-ratio: 1; opacity: .56; background: linear-gradient(45deg, transparent 49%, var(--gold) 49.5% 50.5%, transparent 51%), linear-gradient(-45deg, transparent 49%, var(--gold) 49.5% 50.5%, transparent 51%); }
.opening-corner--tl { top: -47px; left: -47px; }.opening-corner--br { right: -47px; bottom: -47px; transform: rotate(180deg); }
.petal-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.floating-petal { position: absolute; top: -20px; left: var(--x); color: rgba(217,157,155,.7); font-style: normal; font-size: var(--size); transform: rotate(var(--rotate)); animation: petal-fall var(--duration) linear var(--delay) infinite; }
@keyframes petal-fall { 0% { transform: translate3d(0,-20px,0) rotate(var(--rotate)); } 100% { transform: translate3d(70px,105svh,0) rotate(calc(var(--rotate) + 440deg)); } }

.site-content { overflow: hidden; }
.paper-section { position: relative; padding: 98px 24px; background: var(--paper); }
.paper-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(185,147,87,.025), transparent 20% 80%, rgba(23,60,52,.025)); }
.hero { min-height: min(770px, 100svh); display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding-top: max(105px, 15svh); padding-bottom: 70px; background: radial-gradient(ellipse at 50% 16%, rgba(232,203,138,.17), transparent 40%), linear-gradient(145deg, #fffaf0, var(--paper) 65%, #f1e4d1); }
.hero::after { content: ''; position: absolute; inset: 16px; pointer-events: none; border: 1px solid rgba(185,147,87,.32); clip-path: polygon(0 0, 25% 0, 25% 1px, 75% 1px, 75% 0, 100% 0, 100% 100%, 75% 100%, 75% calc(100% - 1px), 25% calc(100% - 1px), 25% 100%, 0 100%); }
.hero-glow { position: absolute; top: -9%; width: 95vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(220,179,102,.16), transparent 67%); pointer-events: none; }
.hero .eyebrow { z-index: 1; }
.arabic { z-index: 1; max-width: 90%; margin: 28px 0 29px; color: var(--ink); font-family: 'Noto Naskh Arabic', serif; font-size: clamp(23px, 6.2vw, 31px); font-weight: 400; line-height: 1.35; }
.couple-names { z-index: 1; display: grid; gap: 16px; margin: 0; color: var(--ink); font-family: var(--heading-font); font-size: clamp(43px, 11.6vw, 66px); font-weight: 500; letter-spacing: -.065em; line-height: .86; }
.couple-names b { color: var(--gold); font-family: var(--heading-font); font-size: 22px; font-weight: 400; line-height: .7; }
.hero-rule { z-index: 1; display: flex; gap: 11px; align-items: center; justify-content: center; width: 105px; margin: 32px auto; color: var(--gold); font-size: 10px; }
.hero-rule span { width: 36px; height: 1px; background: var(--gold); }.hero-rule i { font-style: normal; }
.invitation-message { z-index: 1; max-width: 470px; margin: 0; color: rgba(23,60,52,.8); font-family: var(--heading-font); font-size: clamp(19px, 5.2vw, 23px); font-style: italic; line-height: 1.4; }
.scroll-cue { position: absolute; z-index: 2; bottom: 29px; display: flex; gap: 10px; align-items: center; flex-direction: column; color: var(--ink); font-size: 8px; font-weight: 700; letter-spacing: .19em; text-decoration: none; text-transform: uppercase; }.scroll-cue i { width: 1px; height: 27px; background: var(--gold); animation: scroll-cue 1.7s ease-in-out infinite; }@keyframes scroll-cue { 50% { transform: scaleY(.5); transform-origin: top; } }
.hero-flower { position: absolute; color: var(--gold-light); font-size: 26px; opacity: .65; }.hero-flower--one { top: 18%; left: 10%; }.hero-flower--two { right: 10%; bottom: 18%; font-size: 16px; }

.section-lockup, .section-head { position: relative; z-index: 1; }.section-lockup { margin-bottom: 45px; }.section-lockup h2, .section-head h2, .rsvp-card h2 { margin: 12px 0 0; font-family: var(--heading-font); font-size: clamp(43px, 12vw, 65px); font-weight: 500; letter-spacing: -.065em; line-height: .85; }.section-lockup h2 em, .section-head h2 em, .rsvp-card h2 em { color: var(--gold); font-weight: 400; }
.date-section { overflow: hidden; background: var(--ink); color: var(--ivory); }.date-section::before { background: radial-gradient(circle at 20% 70%, rgba(255,255,255,.07), transparent 24%), radial-gradient(circle at 90% 30%, rgba(185,147,87,.16), transparent 26%); }.date-section .eyebrow { color: var(--gold-light); }
.date-reveal { display: grid; gap: 13px; align-items: center; grid-template-columns: 1fr; max-width: 440px; margin: auto; }.date-divider { display: none; width: 1px; height: 28px; margin: auto; background: rgba(231,207,154,.45); }
.date-seal { position: relative; overflow: hidden; width: 100%; min-height: 83px; border: 1px solid rgba(231,207,154,.44); background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); color: var(--gold-light); box-shadow: inset 0 0 27px rgba(255,255,255,.04), 0 10px 18px rgba(0,0,0,.1); transition: background .55s ease, transform .55s ease, border-color .55s ease; }.date-seal::before { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(231,207,154,.2); pointer-events: none; }.date-seal span, .date-seal b { display: block; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .35s ease; }.date-seal span { font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }.date-seal b { position: absolute; inset: 0; display: grid; place-content: center; color: var(--ivory); font-family: var(--heading-font); font-size: 44px; font-weight: 500; letter-spacing: -.06em; opacity: 0; transform: translateY(18px) scale(.8); }.date-seal:hover { border-color: var(--gold-light); transform: translateY(-3px); }.date-seal.is-revealed { background: linear-gradient(135deg, rgba(185,147,87,.34), rgba(255,255,255,.09)); border-color: var(--gold-light); }.date-seal.is-revealed span { opacity: 0; transform: translateY(-18px); }.date-seal.is-revealed b { opacity: 1; transform: translateY(0) scale(1); }.date-caption { min-height: 24px; margin: 30px 0 0; color: rgba(247,240,223,.67); font-family: var(--heading-font); font-size: 17px; font-style: italic; text-align: center; }

.countdown-section { background: linear-gradient(160deg, #f2e4d1, var(--paper) 50%, #fff9eb); }.countdown { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 480px; margin: auto; }.countdown-unit { position: relative; min-height: 116px; display: grid; place-content: center; overflow: hidden; border: 1px solid rgba(185,147,87,.34); border-radius: 2px; background: rgba(255,255,255,.43); box-shadow: 0 17px 31px rgba(65,43,12,.06), inset 0 1px rgba(255,255,255,.9); backdrop-filter: blur(12px); text-align: center; }.countdown-unit::after { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(185,147,87,.16); }.countdown-unit strong { position: relative; z-index: 1; color: var(--ink); font-family: var(--heading-font); font-size: clamp(45px, 13vw, 61px); font-weight: 500; line-height: .8; letter-spacing: -.07em; }.countdown-unit strong.tick { animation: number-tick .4s cubic-bezier(.2,.9,.3,1); }@keyframes number-tick { 50% { color: var(--gold); transform: translateY(-4px); } }.countdown-unit span { position: relative; z-index: 1; margin-top: 8px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.story { padding-top: 50px; background: var(--paper-deep); }.story-card { position: relative; overflow: hidden; max-width: 640px; margin: auto; padding: 65px 28px 59px; border: 1px solid rgba(185,147,87,.38); background: linear-gradient(135deg, #fffdf6, #f5ead8); box-shadow: 0 20px 50px rgba(65,43,12,.1); text-align: center; }.story-card::before, .story-card::after { content: ''; position: absolute; width: 52px; aspect-ratio: 1; border: 1px solid var(--gold); opacity: .42; }.story-card::before { top: -27px; left: -27px; transform: rotate(45deg); }.story-card::after { right: -27px; bottom: -27px; transform: rotate(45deg); }.story-ornament { margin-bottom: 25px; color: var(--gold); font-size: 27px; }.story-card h2 { max-width: 450px; margin: 12px auto 27px; font-family: var(--heading-font); font-size: clamp(36px, 10vw, 55px); font-weight: 500; letter-spacing: -.06em; line-height: .89; }.story-card > p { max-width: 470px; margin: auto; color: rgba(23,60,52,.78); font-family: var(--heading-font); font-size: 19px; font-style: italic; line-height: 1.5; }.signature { margin-top: 33px; color: var(--gold); font-family: var(--heading-font); font-size: 29px; font-style: italic; }

.gallery-section { background: linear-gradient(140deg, var(--paper), #f7ebd7); }.section-head { display: flex; justify-content: space-between; gap: 14px; align-items: end; margin-bottom: 41px; }.section-head h2 { margin-bottom: 0; }.gallery-instruction { margin: 0 0 2px; color: rgba(23,60,52,.65); font-family: var(--heading-font); font-size: 15px; font-style: italic; line-height: 1.15; text-align: right; }.masonry { columns: 2; column-gap: 10px; max-width: 780px; margin: auto; }.gallery-card { position: relative; display: block; width: 100%; overflow: hidden; break-inside: avoid; margin: 0 0 10px; padding: 0; border: 0; background: var(--ink); box-shadow: 0 10px 18px rgba(65,43,12,.13); text-align: left; }.gallery-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1), filter .6s ease; }.gallery-card--tall { height: 275px; }.gallery-card--wide { height: 165px; }.gallery-card--square { height: 185px; }.gallery-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.62), transparent 46%); opacity: .8; transition: opacity .4s ease; }.gallery-card span { position: absolute; z-index: 1; right: 13px; bottom: 12px; left: 13px; display: flex; gap: 8px; align-items: center; color: white; font-family: var(--heading-font); font-size: 16px; font-style: italic; line-height: 1; }.gallery-card span i { color: var(--gold-light); font-family: var(--body-font); font-size: 9px; font-style: normal; }.gallery-card:hover img { transform: scale(1.07); filter: saturate(1.08); }.gallery-card:hover::after { opacity: .58; }

.timeline-section { background: var(--ink); color: var(--ivory); }.timeline-section::before { background-image: linear-gradient(30deg, rgba(255,255,255,.025) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.025) 87.5%), linear-gradient(150deg, rgba(255,255,255,.025) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.025) 87.5%); background-size: 62px 108px; }.timeline-section .eyebrow { color: var(--gold-light); }.timeline { position: relative; z-index: 1; max-width: 540px; margin: 0; padding: 0; list-style: none; }.timeline::before { content: ''; position: absolute; top: 14px; bottom: 33px; left: 16px; width: 1px; background: linear-gradient(var(--gold), rgba(231,207,154,.1)); }.timeline-item { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 19px; padding-bottom: 38px; }.timeline-item:last-child { padding-bottom: 0; }.timeline-node { z-index: 1; display: grid; place-content: center; width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; background: var(--ink); color: var(--gold-light); font-size: 8px; font-weight: 700; letter-spacing: .06em; }.timeline-time { margin: 5px 0 5px; color: var(--gold-light); font-size: 9px; font-weight: 700; letter-spacing: .16em; }.timeline-item h3 { margin: 0 0 7px; color: var(--ivory); font-family: var(--heading-font); font-size: 29px; font-weight: 500; letter-spacing: -.035em; line-height: .9; }.timeline-item div:last-child > p:last-child { margin: 0; color: rgba(247,240,223,.62); font-size: 12px; line-height: 1.5; }

.venue-section { background: radial-gradient(circle at 102% 7%, rgba(185,147,87,.21), transparent 27%), var(--paper-deep); }.venue-grid { display: grid; gap: 13px; max-width: 780px; margin: auto; }.venue-card { position: relative; min-height: 255px; padding: 30px 24px; overflow: hidden; border: 1px solid rgba(185,147,87,.33); background: rgba(255,253,246,.55); box-shadow: 0 16px 25px rgba(65,43,12,.06); }.venue-card::after { content: '✦'; position: absolute; right: 19px; bottom: 15px; color: var(--gold-light); font-size: 42px; opacity: .45; }.venue-card h3 { max-width: 290px; margin: 12px 0 15px; font-family: var(--heading-font); font-size: 32px; font-weight: 500; letter-spacing: -.055em; line-height: .9; }.venue-time { margin: 0 0 9px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .14em; }.venue-address { max-width: 250px; margin: 0 0 21px; color: rgba(23,60,52,.68); font-size: 11px; line-height: 1.5; }.text-link { position: relative; z-index: 1; display: inline-flex; gap: 8px; align-items: center; padding-bottom: 3px; border-bottom: 1px solid var(--gold); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: color .25s ease; }.text-link span { color: var(--gold); font-size: 15px; }.text-link:hover { color: var(--gold); }

.rsvp-section { background: linear-gradient(155deg, #e7d8bf, var(--paper) 55%, #f7ebd7); }.rsvp-card { position: relative; max-width: 605px; min-height: 525px; margin: auto; padding: 58px 25px 46px; overflow: hidden; border: 1px solid rgba(185,147,87,.4); background: rgba(255,253,247,.67); box-shadow: 0 22px 55px rgba(65,43,12,.12), inset 0 1px 0 white; text-align: center; backdrop-filter: blur(14px); }.rsvp-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(185,147,87,.16); pointer-events: none; }.rsvp-card h2 { margin-bottom: 39px; }.rsvp-choices { display: grid; gap: 9px; margin-bottom: 23px; }.rsvp-choices label { position: relative; display: block; }.rsvp-choices input { position: absolute; opacity: 0; }.rsvp-choices span { display: block; padding: 15px 14px; border: 1px solid rgba(185,147,87,.34); color: var(--ink); font-family: var(--heading-font); font-size: 20px; font-style: italic; transition: background .25s ease, color .25s ease, transform .25s ease; }.rsvp-choices input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); transform: translateY(-2px); }.rsvp-choices input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }.form-field { display: block; margin: 15px 0; text-align: left; }.form-field span { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }.form-field small { color: var(--gold); font-size: 8px; }.form-field input, .form-field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(185,147,87,.5); outline: none; background: transparent; border-radius: 0; color: var(--ink); font-family: var(--heading-font); font-size: 19px; font-style: italic; }.form-field input { height: 35px; }.form-field textarea { height: 63px; resize: vertical; }.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(23,60,52,.4); }.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--ink); }.button { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; min-height: 52px; margin-top: 23px; border: 0; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }.button--gold { background: linear-gradient(135deg, #c9a465, #a77c43); color: #fffdf7; box-shadow: 0 11px 19px rgba(154,112,52,.22); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }.button::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 27%, rgba(255,255,255,.25) 50%, transparent 73%); transform: translateX(-110%); transition: transform .7s ease; }.button:hover { transform: translateY(-2px); box-shadow: 0 15px 24px rgba(154,112,52,.3); }.button:hover::before { transform: translateX(110%); }.button i { font-size: 16px; font-style: normal; }.form-note { margin: 15px 0 0; color: rgba(23,60,52,.51); font-family: var(--heading-font); font-size: 14px; font-style: italic; }.rsvp-thanks { padding-top: 28px; }.rsvp-thanks > span { display: block; color: var(--gold); font-size: 33px; animation: thanks-star 2.5s ease-in-out infinite; }@keyframes thanks-star { 50% { transform: scale(1.25) rotate(90deg); } }.rsvp-thanks h3 { margin: 22px 0 14px; font-family: var(--heading-font); font-size: 42px; font-weight: 500; letter-spacing: -.06em; line-height: .88; }.rsvp-thanks h3 em { color: var(--gold); font-weight: 400; }.rsvp-thanks p { margin: 0; color: var(--ink-soft); font-family: var(--heading-font); font-size: 18px; font-style: italic; }

.form-field select { width: 100%; height: 35px; border: 0; border-bottom: 1px solid rgba(185,147,87,.5); outline: none; border-radius: 0; background-color: transparent; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 13px) 15px, calc(100% - 8px) 15px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; color: var(--ink); font-family: var(--heading-font); font-size: 19px; font-style: italic; appearance: none; }.form-field select:focus { border-bottom-color: var(--ink); }.form-field select:disabled { color: rgba(23,60,52,.35); }.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.footer { padding: 69px 24px max(45px, env(safe-area-inset-bottom)); background: var(--ink); color: var(--ivory); text-align: center; }.footer-mark { color: var(--gold-light); font-family: var(--heading-font); font-size: 42px; letter-spacing: -.08em; }.footer-mark i { padding: 0 4px; font-size: 25px; font-style: italic; }.footer p { margin: 10px 0 23px; color: rgba(247,240,223,.67); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }.share-link { border: 0; border-bottom: 1px solid rgba(231,207,154,.6); padding: 0 0 5px; background: none; color: var(--gold-light); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }.share-link span { font-size: 14px; }

.music-control { position: fixed; z-index: 80; right: max(17px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: flex; gap: 8px; align-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid rgba(185,147,87,.6); border-radius: 30px; background: rgba(255,250,240,.8); box-shadow: 0 9px 20px rgba(65,43,12,.15); color: var(--ink); backdrop-filter: blur(14px); transition: transform .25s ease, background .25s ease; }.music-control:hover { transform: translateY(-3px); }.music-control[aria-pressed='true'] { background: var(--ink); color: var(--ivory); }.music-icon { display: flex; gap: 2px; align-items: center; height: 15px; }.music-icon i { display: block; width: 2px; height: 6px; background: currentColor; animation: equalize .8s ease-in-out infinite alternate; }.music-icon i:nth-child(2) { height: 12px; animation-delay: -.35s; }.music-icon i:nth-child(3) { height: 9px; animation-delay: -.2s; }.music-icon i:nth-child(4) { height: 13px; animation-delay: -.6s; }@keyframes equalize { to { transform: scaleY(.45); } }.music-control[aria-pressed='false'] .music-icon i { animation-play-state: paused; }.music-control--silent { opacity: .76; }.music-label { font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.toast { position: fixed; z-index: 150; right: 20px; bottom: 75px; max-width: calc(100vw - 40px); padding: 13px 16px; border: 1px solid rgba(185,147,87,.45); background: var(--ink); box-shadow: 0 13px 23px rgba(0,0,0,.17); color: var(--ivory); font-family: var(--heading-font); font-size: 16px; font-style: italic; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }.toast.is-visible { opacity: 1; transform: translateY(0); }
.particle-layer { position: fixed; z-index: 160; inset: 0; pointer-events: none; overflow: hidden; }.burst-particle, .burst-petal { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); animation: burst 1.35s cubic-bezier(.18,.77,.38,1) forwards; }.burst-petal { width: calc(var(--s) * 1.3); height: var(--s); border-radius: 100% 0 100% 0; }.burst-particle:nth-child(3n) { box-shadow: 0 0 12px var(--c); }@keyframes burst { to { transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--r)); opacity: 0; } }
.viewer { position: fixed; z-index: 170; inset: 0; display: grid; place-items: center; grid-template-columns: 42px minmax(0,1fr) 42px; gap: 4px; padding: 20px 10px 38px; background: rgba(10,27,24,.96); opacity: 0; pointer-events: none; transition: opacity .35s ease; }.viewer[aria-hidden='false'] { opacity: 1; pointer-events: auto; }.viewer figure { width: 100%; max-width: 850px; margin: 0; text-align: center; }.viewer figure img { display: block; width: 100%; max-height: 78svh; object-fit: contain; transition: transform .2s ease; touch-action: none; }.viewer figcaption { margin-top: 13px; color: var(--ivory); font-family: var(--heading-font); font-size: 19px; font-style: italic; }.viewer-close, .viewer-prev, .viewer-next { border: 0; background: transparent; color: var(--ivory); }.viewer-close { position: absolute; top: max(17px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); font-size: 39px; font-weight: 200; line-height: 1; }.viewer-prev, .viewer-next { font-family: var(--heading-font); font-size: 50px; font-weight: 300; }.viewer-help { position: absolute; bottom: max(15px, env(safe-area-inset-bottom)); margin: 0; color: rgba(247,240,223,.5); font-size: 8px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.reveal { opacity: 0; }.reveal.is-visible { opacity: 1; }

@media (min-width: 620px) {
  .paper-section { padding-right: 8vw; padding-left: 8vw; }.opening::before { inset: 28px; }.opening::after { inset: 40px; }.date-reveal { grid-template-columns: 1fr 1px 1.4fr 1px 1fr; gap: 19px; }.date-divider { display: block; }.date-seal { min-height: 170px; }.date-seal b { font-size: 54px; }.countdown { grid-template-columns: repeat(4,1fr); }.countdown-unit { min-height: 136px; }.venue-grid { grid-template-columns: repeat(2,1fr); }.venue-card { min-height: 287px; }.gallery-card--tall { height: 370px; }.gallery-card--wide { height: 218px; }.gallery-card--square { height: 251px; }.story-card { padding: 75px 52px 67px; }.rsvp-card { padding: 62px 58px 48px; }.masonry { column-gap: 14px; }.gallery-card { margin-bottom: 14px; }
}
@media (min-width: 940px) {
  .paper-section { padding-top: 130px; padding-bottom: 130px; }.hero { min-height: 780px; }.couple-names { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; max-width: 880px; }.couple-names b { transform: translateY(2px); }.section-lockup, .section-head { max-width: 1030px; margin-right: auto; margin-left: auto; }.section-lockup { margin-bottom: 58px; }.timeline { margin: 0 auto; }.venue-grid { max-width: 1030px; }.gallery-card--tall { height: 485px; }.gallery-card--wide { height: 267px; }.gallery-card--square { height: 340px; }.masonry { columns: 3; max-width: 1030px; }.gallery-card:nth-child(4) { break-before: column; }.rsvp-card { padding: 75px 85px 58px; }.music-control { right: 28px; bottom: 27px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* A deliberately lighter composition for common mobile hardware. */
@media (max-width: 700px) {
  .countdown-unit, .rsvp-card, .music-control { backdrop-filter: none; }
  .gallery-card img { transition-duration: .35s; }
  .opening-light { filter: none; }
  .hero-glow { display: none; }
}
html.low-motion .floating-petal:nth-child(n + 9), html.low-motion .burst-particle:nth-child(n + 13), html.low-motion .burst-petal:nth-child(n + 13) { display: none; }
html.low-motion .opening-light, html.low-motion .hero-glow, html.low-motion .page-grain { display: none; }
html.low-motion .countdown-unit, html.low-motion .rsvp-card, html.low-motion .music-control { backdrop-filter: none; }

/* --------------------------------------------------------------------------
   Arch-inspired invitation layout
   The opening image is intentionally kept in config.js so it can be replaced
   without touching the layout.                                                    */
body { background: #eaded2; }
body::before { content: ''; position: fixed; z-index: -1; inset: 0; background: radial-gradient(circle at 0 14%, rgba(217,156,142,.16), transparent 24rem), radial-gradient(circle at 100% 80%, rgba(178,122,85,.15), transparent 27rem); }
.invitation { width: min(100%, 860px); min-height: 100svh; margin: 0 auto; background: var(--ivory); box-shadow: 0 0 0 1px rgba(119,75,46,.07), 0 25px 80px rgba(75,42,28,.16); }
.site-content { background: var(--ivory); }

.arch-opening { display: grid; place-items: center; padding: 0; background: #efe0d4; }
.arch-opening::before, .arch-opening::after, .arch-opening .opening-corner { display: none; }
.arch-opening__stage { position: relative; width: 100%; height: 100svh; overflow: hidden; isolation: isolate; background: #e7c7ae; }
.arch-opening__image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.01); }
.arch-opening__veil { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(52,25,16,.1), transparent 24%, transparent 62%, rgba(44,21,13,.18)); }
.arch-opening .opening-content { position: absolute; inset: 0; display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 20svh 13vw 11svh; color: #4a2d24; text-align: center; transform: none; }
.arch-opening .opening-kicker { margin: 0 0 16px; color: #80533c; font-size: 8px; letter-spacing: .26em; text-shadow: 0 1px 17px rgba(255,255,255,.85); }
.arch-opening__arabic { max-width: 300px; margin: 0 0 19px; font-family: 'Noto Naskh Arabic', serif; font-size: clamp(16px, 4.9vw, 22px); line-height: 1.25; text-shadow: 0 1px 12px rgba(255,255,255,.9); }
.arch-opening__names { display: grid; gap: 7px; max-width: 325px; font-family: var(--heading-font); font-size: clamp(39px, 11.5vw, 57px); font-weight: 500; letter-spacing: -.065em; line-height: .78; text-shadow: 0 2px 18px rgba(255,255,255,.9); }
.arch-opening__names i { margin: 5px 0 3px; color: var(--gold); font-size: .58em; font-style: italic; line-height: .75; }
.arch-opening__date { margin: 23px 0 0; color: #5f3828; font-size: 9px; font-weight: 700; letter-spacing: .17em; text-shadow: 0 1px 12px rgba(255,255,255,.9); text-transform: uppercase; }
.opening-cta { position: absolute; right: 0; bottom: max(30px, env(safe-area-inset-bottom)); left: 0; display: inline-flex; gap: 11px; align-items: center; justify-content: center; width: max-content; min-height: 41px; margin: auto; padding: 0 19px; border: 1px solid rgba(90,48,30,.55); border-radius: 999px; background: rgba(255,248,240,.64); box-shadow: 0 6px 18px rgba(75,42,28,.12); color: #623c2c; font-size: 8px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; backdrop-filter: blur(5px); transition: transform .25s ease, background .25s ease; }
.opening-cta:hover { background: rgba(255,252,246,.9); transform: translateY(-2px); }.opening-cta i { font-size: 14px; font-style: normal; }.opening-cta.is-breaking { animation: arch-cta-open .55s ease forwards; }@keyframes arch-cta-open { to { opacity: 0; transform: translateY(15px); } }
.arch-opening .petal-field { opacity: .52; mix-blend-mode: multiply; }

/* A calm, editorial single-column flow echoing the reference site. */
.paper-section { padding: 90px clamp(22px, 7vw, 68px); background: #fffaf3; }.paper-section::before { display: none; }
.paper-section + .paper-section { border-top: 1px solid rgba(178,122,85,.18); }
.hero { min-height: auto; padding-top: 110px; padding-bottom: 100px; background: linear-gradient(180deg, #fffaf3, #f8ecdf); }.hero::after { inset: 17px; border-color: rgba(178,122,85,.35); }.hero-glow { display: none; }.hero .eyebrow { color: var(--gold); }.hero-flower { color: var(--blush); opacity: .34; }.arabic { margin: 22px 0 27px; color: #6a4030; }.couple-names { color: var(--ink); }.couple-names b { color: var(--gold); }.invitation-message { max-width: 430px; color: rgba(74,45,36,.8); }.scroll-cue { color: var(--ink); }.scroll-cue i { background: var(--gold); }
.section-lockup, .section-head { max-width: 600px; }.section-lockup h2, .section-head h2, .rsvp-card h2 { color: var(--ink); }.section-lockup h2 em, .section-head h2 em, .rsvp-card h2 em { color: var(--gold); }.eyebrow { color: var(--gold); }
.date-section { color: var(--ink); background: #f8ecdf; }.date-section::before { display: none; }.date-section .eyebrow { color: var(--gold); }.date-reveal { max-width: 520px; }.date-seal { min-height: 122px; border-color: rgba(178,122,85,.38); background: rgba(255,253,247,.72); box-shadow: none; color: var(--gold); }.date-seal::before { border-color: rgba(178,122,85,.16); }.date-seal b { color: var(--ink); }.date-seal.is-revealed { background: #e8c7ae; border-color: #ba8260; }.date-caption { color: rgba(74,45,36,.67); }
.countdown-section { background: #fffaf3; }.countdown { max-width: 540px; }.countdown-unit { min-height: 106px; border-color: rgba(178,122,85,.28); border-radius: 0; background: #fffdf8; box-shadow: none; backdrop-filter: none; }.countdown-unit::after { border-color: rgba(178,122,85,.13); }.countdown-unit strong { color: var(--ink); }.countdown-unit span { color: var(--gold); }
.story { background: #f8ecdf; }.story-card { border-color: rgba(178,122,85,.32); background: #fffaf3; box-shadow: none; }.story-card h2 { color: var(--ink); }.story-card > p { color: rgba(74,45,36,.78); }.story-ornament, .signature { color: var(--gold); }
.gallery-section { background: #fffaf3; }.gallery-instruction { color: rgba(74,45,36,.62); }.gallery-card { box-shadow: none; }.gallery-card span { font-size: 17px; }.gallery-card span i { color: #f2ceb3; }
.timeline-section { color: var(--ink); background: #f8ecdf; }.timeline-section::before { display: none; }.timeline-section .eyebrow { color: var(--gold); }.timeline::before { background: linear-gradient(var(--gold), rgba(178,122,85,.1)); }.timeline-node { background: #f8ecdf; border-color: var(--gold); color: var(--gold); }.timeline-time { color: var(--gold); }.timeline-item h3 { color: var(--ink); }.timeline-item div:last-child > p:last-child { color: rgba(74,45,36,.66); }
.venue-section { background: #fffaf3; }.venue-card { border-color: rgba(178,122,85,.3); background: #fdf5eb; box-shadow: none; }.venue-card::after { color: rgba(178,122,85,.3); }.venue-address { color: rgba(74,45,36,.66); }.text-link { color: var(--ink); border-bottom-color: var(--gold); }.text-link span { color: var(--gold); }
.rsvp-section { background: #f8ecdf; }.rsvp-card { border-color: rgba(178,122,85,.35); background: #fffaf3; box-shadow: none; backdrop-filter: none; }.rsvp-card::before { border-color: rgba(178,122,85,.15); }.rsvp-choices span { border-color: rgba(178,122,85,.34); color: var(--ink); }.rsvp-choices input:checked + span { background: var(--ink); border-color: var(--ink); color: #fffaf3; }.form-field span { color: #775040; }.form-field input, .form-field textarea, .form-field select { border-bottom-color: rgba(178,122,85,.52); color: var(--ink); }.button--gold { background: linear-gradient(135deg, #b77a58, #8e583f); box-shadow: none; }.rsvp-thanks h3 { color: var(--ink); }.rsvp-thanks h3 em { color: var(--gold); }.rsvp-thanks p { color: #775040; }
.footer { background: #4a2d24; }.footer-mark, .share-link { color: #f6d2b4; }.footer p { color: rgba(255,243,230,.65); }
.music-control { border-color: rgba(178,122,85,.55); background: rgba(255,250,243,.94); color: var(--ink); box-shadow: 0 8px 22px rgba(75,42,28,.14); }.music-control[aria-pressed='true'] { background: #4a2d24; color: #fffaf3; }

@media (min-width: 700px) {
  .invitation { width: min(86vw, 860px); }
  .arch-opening { padding: 30px; min-height: 100svh; background: linear-gradient(130deg, #f2e2d4, #fffaf3 48%, #ead4c3); }
  .arch-opening__stage { width: min(74vw, 770px); height: min(88svh, 780px); border: 1px solid rgba(178,122,85,.27); box-shadow: 0 28px 70px rgba(75,42,28,.16); }
  .arch-opening__image { object-position: center 16%; }
  .arch-opening .opening-content { padding: 19% 12% 11%; }
  .arch-opening__names { max-width: 470px; font-size: clamp(52px, 6.4vw, 77px); }
  .opening-cta { bottom: 34px; }
  .paper-section { padding-top: 112px; padding-bottom: 112px; }
}

@media (min-width: 1024px) {
  .arch-opening__stage { width: min(62vw, 820px); height: min(84svh, 750px); }
  .arch-opening__image { object-position: center 10%; }
}

/* Post-letter entrance, light arch reveal, and smaller responsive type. */
.postal-opening { display: grid; place-content: center; gap: 18px; min-height: 100svh; padding: 26px; background: radial-gradient(circle at 50% 35%, #fffdfa 0, #f4e4d4 45%, #e7c6af 120%); }
.postal-opening::before, .postal-opening::after { display: none; }.postal-opening .opening-corner { display: none; }
.postal-opening__glow { position: absolute; z-index: -1; width: min(84vw, 430px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(236,181,153,.42), transparent 68%); animation: letter-glow 5s ease-in-out infinite; }.postal-opening__letter { position: relative; width: min(80vw, 360px); aspect-ratio: 1.58; overflow: hidden; border: 1px solid rgba(169,112,80,.28); background: linear-gradient(142deg, #fffefa, #f6ede3); box-shadow: 0 22px 40px rgba(75,42,28,.18), inset 0 1px rgba(255,255,255,.9); }.postal-opening__letter::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 49.7%, rgba(197,163,135,.28) 50%, transparent 50.4%), linear-gradient(225deg, transparent 49.7%, rgba(197,163,135,.28) 50%, transparent 50.4%); }.postal-opening__flap { position: absolute; z-index: 1; inset: 0 0 35%; border-bottom: 1px solid rgba(181,129,96,.27); background: linear-gradient(180deg, #fffefa, #f7eee4); clip-path: polygon(0 0, 100% 0, 50% 97%); box-shadow: 0 10px 22px rgba(75,42,28,.06); }.postal-opening__blessing { position: absolute; z-index: 3; top: -52px; right: -20px; left: -20px; margin: 0; color: #79503a; font-family: var(--heading-font); font-size: 17px; font-style: italic; text-align: center; text-shadow: 0 1px 13px rgba(255,255,255,.9); }.postal-opening__seal { position: absolute; z-index: 4; top: 53%; left: 50%; display: grid; grid-template-columns: auto auto auto; gap: 2px; place-content: center; width: 69px; aspect-ratio: 1; border: 0; border-radius: 50%; background: radial-gradient(circle at 34% 25%, #d9b480, #aa744d 57%, #805039); box-shadow: inset 0 2px 5px rgba(255,245,218,.38), inset 0 -5px 9px rgba(76,37,18,.22), 0 7px 12px rgba(75,42,28,.24); color: #fff4dc; font-family: var(--heading-font); font-size: 19px; font-weight: 600; letter-spacing: -.06em; transform: translate(-50%, -50%); transition: transform .35s ease, filter .35s ease; }.postal-opening__seal:hover { filter: brightness(1.08); transform: translate(-50%, -54%) scale(1.04); }.postal-opening__seal i { padding: 0 1px; color: #fff0cb; font-size: 16px; font-style: italic; }.postal-opening__seal.is-breaking { animation: letter-open .8s cubic-bezier(.2,.8,.2,1) forwards; }.postal-opening__hint { position: absolute; z-index: 3; right: 0; bottom: 18px; left: 0; margin: 0; color: #79503a; font-size: 8px; font-weight: 700; letter-spacing: .21em; text-align: center; text-transform: uppercase; }.postal-opening__date { display: none; }.postal-opening .petal-field { opacity: .34; }.postal-opening .floating-petal { color: #c77f76; }
@keyframes letter-glow { 50% { transform: scale(1.1); opacity: .68; } }@keyframes letter-open { 45% { transform: translate(-50%, -52%) scale(1.14) rotate(4deg); } 100% { transform: translate(-50%, -100%) scale(.7) rotate(-8deg); opacity: 0; } }

.site-content { position: relative; }.is-open .site-content { animation: invitation-arrive .8s cubic-bezier(.2,.75,.25,1) .16s both; }@keyframes invitation-arrive { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero { overflow: hidden; isolation: isolate; }.hero::before { content: ''; display: block; position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, rgba(255,250,243,.5), rgba(255,250,243,.94)), url('assets/images/floral-arch-entrance.webp') center 10% / cover no-repeat; opacity: .84; }.hero-arch { position: absolute; z-index: 0; top: 3%; left: 50%; width: min(120%, 670px); height: 100%; object-fit: cover; object-position: center top; opacity: .1; pointer-events: none; transform: translateX(-50%) scale(1.05); animation: arch-float 16s ease-in-out infinite alternate; }.hero .eyebrow, .hero .arabic, .hero .couple-names, .hero .hero-rule, .hero .invitation-message, .hero .scroll-cue { position: relative; z-index: 1; }@keyframes arch-float { to { transform: translateX(-50%) scale(1.1) translateY(-12px); } }

.couple-names { font-size: clamp(36px, 9.4vw, 56px); }.section-lockup h2, .section-head h2, .rsvp-card h2 { font-size: clamp(37px, 9vw, 54px); }.story-card h2 { font-size: clamp(33px, 8.5vw, 47px); }.invitation-message { font-size: clamp(18px, 4.6vw, 22px); }.paper-section { padding-top: 76px; padding-bottom: 76px; }
.date-reveal-card { position: relative; display: block; width: 100%; min-height: 205px; max-width: 550px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(178,122,85,.4); background: #fffdf8; color: var(--ink); box-shadow: none; text-align: left; }.date-reveal-card::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(178,122,85,.18); pointer-events: none; }.date-reveal-card__cover, .date-reveal-card__events { position: absolute; inset: 0; display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 25px; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }.date-reveal-card__cover { z-index: 2; background: linear-gradient(135deg, #f3dfcd, #fffaf2); text-align: center; }.date-reveal-card__cover small, .date-event small { color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }.date-reveal-card__cover b { display: block; margin: 9px 0 3px; font-family: var(--heading-font); font-size: clamp(48px, 13vw, 67px); font-weight: 500; letter-spacing: -.08em; line-height: .85; }.date-reveal-card__cover b i { color: var(--gold); font-size: .48em; font-style: italic; }.date-reveal-card__cover em { color: #765242; font-family: var(--heading-font); font-size: 18px; font-style: italic; }.date-reveal-card__events { display: grid; grid-template-columns: 1fr; gap: 12px; opacity: 0; transform: translateY(16px); }.date-event { display: grid; gap: 4px; text-align: center; }.date-event + .date-event { padding-top: 12px; border-top: 1px solid rgba(178,122,85,.22); }.date-event strong { font-family: var(--heading-font); font-size: clamp(24px, 6.5vw, 32px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }.date-event em { color: #765242; font-family: var(--heading-font); font-size: 16px; font-style: italic; }.date-reveal-card.is-revealed .date-reveal-card__cover { opacity: 0; transform: translateY(-100%); pointer-events: none; }.date-reveal-card.is-revealed .date-reveal-card__events { opacity: 1; transform: translateY(0); }.date-caption { color: rgba(74,45,36,.72); }

.family-section { background: #f8ecdf; }.family-card { max-width: 610px; margin: auto; padding: 50px 25px; border: 1px solid rgba(178,122,85,.3); background: #fffaf3; text-align: center; }.family-card h2 { margin: 12px 0 31px; font-family: var(--heading-font); font-size: clamp(35px, 8.6vw, 48px); font-weight: 500; letter-spacing: -.06em; line-height: .88; }.family-card h2 em { color: var(--gold); font-weight: 400; }.family-grid { display: grid; gap: 21px; }.family-grid > div { padding: 20px 13px; border-top: 1px solid rgba(178,122,85,.22); }.family-grid > div:last-child { border-bottom: 1px solid rgba(178,122,85,.22); }.family-grid span { color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }.family-grid p { margin: 9px 0 0; color: #57382c; font-family: var(--heading-font); font-size: 20px; font-style: italic; line-height: 1.25; }
.footer-regards { max-width: 360px; margin-right: auto !important; margin-left: auto !important; color: rgba(255,243,230,.74) !important; font-family: var(--heading-font); font-size: 16px !important; font-style: italic; font-weight: 400 !important; letter-spacing: 0 !important; line-height: 1.35; text-transform: none !important; }
.ambient-petal-field { position: fixed; z-index: 4; inset: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity 1.2s ease .3s; }.is-open .ambient-petal-field { opacity: .17; }.ambient-petal-field .floating-petal { color: #bd766d; }.ambient-petal-field .floating-petal:nth-child(2n) { color: #b27a55; }

@media (min-width: 620px) { .postal-opening__letter { width: min(55vw, 420px); }.postal-opening__seal { width: 78px; }.paper-section { padding-top: 96px; padding-bottom: 96px; }.date-reveal-card { min-height: 190px; }.date-reveal-card__events { grid-template-columns: 1fr 1fr; gap: 0; }.date-event + .date-event { padding-top: 0; border-top: 0; border-left: 1px solid rgba(178,122,85,.22); }.family-card { padding: 57px 50px; }.family-grid { grid-template-columns: 1fr 1fr; gap: 0; }.family-grid > div { border-bottom: 0; }.family-grid > div:last-child { border-top: 1px solid rgba(178,122,85,.22); border-bottom: 0; border-left: 1px solid rgba(178,122,85,.22); }.family-grid p { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .postal-opening__glow, .hero-arch { animation: none; } }
html.low-motion .postal-opening__glow, html.low-motion .hero-arch, html.low-motion .ambient-petal-field { animation: none; display: none; }

/* Reference-led proportions: an immersive arch on arrival, editorial couple cards,
   and centred event information.  These rules intentionally sit last so the
   invitation remains responsive on every screen width. */
.invitation { width: 100%; max-width: none; margin: 0; box-shadow: none; }
.paper-section { padding-right: clamp(22px, 6vw, 110px); padding-left: clamp(22px, 6vw, 110px); }

.hero {
  min-height: 100svh;
  padding: clamp(88px, 15svh, 160px) clamp(22px, 6vw, 110px) max(76px, env(safe-area-inset-bottom));
  justify-content: center;
  background: #fffaf1;
}
.hero::before {
  background: linear-gradient(180deg, rgba(255,250,243,.16), rgba(255,250,243,.82) 75%, rgba(255,250,243,.97)), url('assets/images/floral-arch-entrance.webp') center top / cover no-repeat;
  opacity: 1;
}
.hero::after { display: none; }
.hero-arch { display: none; }
.hero .eyebrow, .hero .arabic, .hero .couple-names, .hero .hero-date-pill, .hero .invitation-message, .hero .scroll-cue { position: relative; z-index: 1; }
.hero .arabic {
  max-width: min(84vw, 620px);
  margin: auto auto clamp(24px, 4vw, 38px);
  color: #bd8e52;
  font-size: clamp(19px, 3vw, 30px);
  line-height: 1.42;
  text-shadow: 0 1px 14px rgba(255,255,255,.94);
}
.hero-family-line { margin: 0 0 clamp(28px, 4vw, 42px); color: #745a50 !important; font-size: clamp(8px, 1.05vw, 12px); letter-spacing: .34em; text-shadow: 0 1px 14px rgba(255,255,255,.94); }
.couple-names { display: grid !important; grid-template-columns: 1fr !important; gap: clamp(11px, 2vw, 22px); max-width: min(90vw, 740px); color: #392b26; font-size: clamp(43px, 8.1vw, 94px); font-weight: 500; letter-spacing: -.075em; line-height: .78; text-shadow: 0 2px 20px rgba(255,255,255,.9); }
.couple-names b { margin: 2px 0; color: #c39b65; font-size: clamp(22px, 3vw, 31px); line-height: .55; }
.hero-date-pill { display: inline-flex; gap: 14px; align-items: center; justify-content: center; min-width: min(82vw, 330px); margin: clamp(34px, 6vw, 55px) auto 0; padding: 16px 28px; border: 1px solid rgba(150,113,79,.18); border-radius: 999px; background: rgba(255,253,250,.86); box-shadow: 0 5px 16px rgba(94,61,40,.08), inset 0 1px rgba(255,255,255,.9); color: #6d5a52; font-size: clamp(9px, 1.25vw, 12px); font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
.hero-date-pill > span:first-child { color: #c09760; font-size: 16px; letter-spacing: 0; }
.hero-message, .hero .scroll-cue, .hero-flower { display: none; }

.couple-showcase { position: relative; min-height: clamp(640px, 73vw, 890px); overflow: hidden; isolation: isolate; background: #f7efe3; }
.couple-showcase::before { content: ''; position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse at 50% 115%, rgba(224,193,153,.38), transparent 42%), linear-gradient(145deg, rgba(255,255,255,.55), transparent 46%); }
.couple-showcase__heading { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(20px, 115px) auto minmax(20px, 115px); gap: 18px; align-items: center; justify-content: center; max-width: 690px; margin: 0 auto clamp(48px, 8vw, 84px); color: #c49e6b; text-align: center; }
.couple-showcase__heading span { height: 1px; background: rgba(178,122,85,.38); }
.couple-showcase__heading h2 { margin: 0; font-family: var(--body-font); font-size: clamp(8px, 1.2vw, 12px); font-weight: 600; letter-spacing: .33em; text-transform: uppercase; }
.couple-flower { position: absolute; z-index: 1; width: clamp(160px, 22vw, 390px); pointer-events: none; filter: drop-shadow(0 9px 13px rgba(104,66,39,.1)); animation: flower-drift 9s ease-in-out infinite alternate; }
.couple-flower--top { top: -18px; left: -24px; transform-origin: left top; }
.couple-flower--bottom { right: -32px; bottom: -26px; transform-origin: right bottom; animation-delay: -3s; }
@keyframes flower-drift { to { transform: translate3d(7px, -4px, 0) rotate(1.2deg); } }
.family-card { position: relative; z-index: 2; max-width: 1330px; margin: auto; padding: 0; border: 0; background: transparent; text-align: center; }
.family-card > .eyebrow { max-width: 570px; margin: 0 auto 24px; color: #956d4f; font-size: 9px; line-height: 1.75; }
.family-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 1080px; margin: 0 auto; }
.family-grid > div { min-height: 290px; padding: 54px 28px 42px; border: 1px solid rgba(178,122,85,.28); border-radius: 170px 170px 32px 32px; background: rgba(255,250,243,.32); box-shadow: inset 0 1px rgba(255,255,255,.46); }
.family-grid > div:last-child { border-bottom: 1px solid rgba(178,122,85,.28); }
.family-grid h3 { max-width: 360px; margin: 0 auto 27px; color: #3e2c27; font-family: var(--heading-font); font-size: clamp(40px, 6vw, 67px); font-weight: 500; letter-spacing: -.065em; line-height: .82; }
.family-grid span { display: block; color: #9c8067; font-size: 9px; font-weight: 600; letter-spacing: .29em; }
.family-grid p { max-width: 285px; margin: 21px auto 0; color: #725546; font-size: clamp(16px, 1.8vw, 22px); line-height: 1.32; }
.couple-heart { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; place-content: center; width: 70px; aspect-ratio: 1; border: 1px solid rgba(178,122,85,.22); border-radius: 50%; background: #fffdf9; box-shadow: 0 3px 10px rgba(94,61,40,.11), 0 0 0 6px rgba(255,253,249,.5); color: #bf9865; font-size: 25px; transform: translate(-50%, -50%); }

.date-section, .countdown-section, .story, .gallery-section, .timeline-section, .venue-section, .rsvp-section { position: relative; }
.date-section { min-height: 700px; display: grid; place-content: center; background: #fffdfa; text-align: center; }
.date-section .section-lockup { margin: 0 auto 38px; }.date-section .section-lockup h2 { font-size: clamp(42px, 5.5vw, 73px); }
.date-reveal-card { min-height: 220px; border-radius: 2px; box-shadow: 0 12px 35px rgba(94,61,40,.08); }.date-caption { margin-top: 23px; }
.venue-section { min-height: 760px; background: #fffdfb; text-align: center; }
.venue-section .section-lockup { margin-right: auto; margin-left: auto; }.venue-section .section-lockup h2 { font-size: clamp(44px, 6vw, 76px); }
.venue-grid { max-width: 600px; gap: 22px; }.venue-card { min-height: 0; padding: 42px 28px; border: 0; border-top: 1px solid rgba(178,122,85,.22); background: transparent; }.venue-card:last-child { border-bottom: 1px solid rgba(178,122,85,.22); }.venue-card::after { display: none; }.venue-card h3 { max-width: 520px; margin: 14px auto 18px; font-size: clamp(31px, 4.7vw, 50px); }.venue-time { margin-bottom: 19px; }.venue-address { max-width: 440px; margin: 0 auto 23px; font-family: var(--heading-font); font-size: clamp(18px, 2.3vw, 26px); line-height: 1.3; }.text-link { justify-content: center; }
.music-control { display: grid; place-content: center; width: 60px; min-height: 60px; padding: 0; border: 0; border-radius: 50%; }.music-label { display: none; }

@media (min-width: 700px) {
  .hero { min-height: min(100svh, 970px); }
  .hero::before { background-size: 100% 100%; background-position: center; }
  .hero .arabic { margin-top: 6vh; }
  .couple-showcase { padding-top: clamp(105px, 12vw, 170px); padding-bottom: clamp(105px, 12vw, 170px); }
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(64px, 14vw, 205px); }
  .family-grid > div { min-height: clamp(355px, 32vw, 460px); padding-top: clamp(76px, 7vw, 115px); }
  .family-grid > div:first-child { border-radius: 240px 240px 0 0; }
  .family-grid > div:last-child { border-radius: 0 0 240px 240px; }
  .couple-heart { width: 86px; font-size: 31px; }
  .date-section { min-height: 820px; }
  .venue-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1100px) {
  .hero { min-height: 100svh; }
  .hero .arabic { margin-top: 9vh; }
  .couple-showcase { min-height: 850px; }
  .couple-flower--top { top: -45px; left: -35px; }.couple-flower--bottom { right: -45px; bottom: -45px; }
}

@media (prefers-reduced-motion: reduce) { .couple-flower { animation: none; } }
html.low-motion .couple-flower { animation: none; }

/* Final invitation refinements: Afzal appears first, the desktop hero remains
   elegant at wide aspect ratios, and the date receives its own jewel-toned scene. */
.couple-names { max-width: min(94vw, 1200px); font-size: clamp(42px, 6.8vw, 76px); }
.family-grid p { white-space: pre-line; }
.family-grid > div { display: flex; align-items: center; flex-direction: column; justify-content: center; }
.family-grid p { font-size: clamp(15px, 1.55vw, 20px); }

.date-section { overflow: hidden; isolation: isolate; background: #143f37; color: #fffaf1; }
.date-section::before { display: block; z-index: -3; background: radial-gradient(circle at 50% 47%, rgba(201,160,93,.28), transparent 26%), linear-gradient(155deg, #174b40 0%, #123a33 64%, #0d2e29 100%); }
.date-section .section-lockup { position: relative; z-index: 2; }.date-section .eyebrow { color: #e5c786; }.date-section .section-lockup h2 { color: #fffaf1; }.date-section .section-lockup h2 em { color: #e5c786; }
.date-bloom { position: absolute; z-index: -1; top: 50%; left: 50%; width: min(110vw, 930px); aspect-ratio: 1; background: url('assets/images/floral-corner-top.webp') center / contain no-repeat; opacity: .2; filter: sepia(.42) hue-rotate(106deg) saturate(.68) brightness(1.3) blur(.15px); mix-blend-mode: screen; transform: translate(-50%, -45%) rotate(12deg) scale(.72); animation: date-flower-bloom 7s ease-in-out infinite alternate; }
@keyframes date-flower-bloom { from { opacity: .13; transform: translate(-50%, -45%) rotate(5deg) scale(.68); } to { opacity: .3; transform: translate(-50%, -45%) rotate(17deg) scale(1.04); } }
.date-reveal-card { position: relative; z-index: 2; min-height: 254px; border: 1px solid rgba(229,199,134,.62); border-radius: 6px; background: rgba(255,250,241,.96); box-shadow: 0 25px 55px rgba(3,21,17,.32), inset 0 1px rgba(255,255,255,.8); }
.date-reveal-card::before { border-color: rgba(178,122,85,.28); }
.date-reveal-card__cover { background: linear-gradient(135deg, #22584b, #103b33 58%, #0d302b); color: #fffaf1; }.date-reveal-card__cover::after { content: '✦'; position: absolute; top: 17px; right: 21px; color: rgba(229,199,134,.8); font-size: 21px; }.date-reveal-card__cover small { color: #e9cf92; }.date-reveal-card__cover b { margin: 10px 0 7px; color: #fffaf1; font-size: clamp(74px, 14vw, 108px); text-shadow: 0 4px 15px rgba(0,0,0,.17); }.date-reveal-card__cover em { color: #e8c987; font-size: clamp(21px, 3vw, 28px); }
.date-reveal-card__events { display: grid; grid-template-columns: 1fr; padding: 33px 25px; }.date-event { gap: 12px; }.date-event small { color: #a77250; }.date-event strong { color: #16483e; font-size: clamp(34px, 7vw, 51px); }.date-event .arabic-date { display: block; color: #b27a55; font-family: 'Noto Naskh Arabic', serif; font-size: clamp(21px, 4.2vw, 29px); font-style: normal; line-height: 1; }.date-caption { position: relative; z-index: 2; color: rgba(255,250,241,.72); }

.story { background: #f8f0e5; }.story-card { max-width: 820px; padding: clamp(56px, 9vw, 105px) clamp(24px, 8vw, 90px); border: 1px solid rgba(205,172,111,.54); background: rgba(255,253,248,.8); box-shadow: 0 12px 32px rgba(99,67,37,.06), inset 0 0 0 6px rgba(255,253,248,.74); text-align: center; }.story-ornament { margin-bottom: clamp(36px, 6vw, 60px); color: #c59c61; font-size: 28px; }.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }.story-arabic { max-width: 700px; margin: 0 auto; color: #16483e !important; font-family: 'Noto Naskh Arabic', serif !important; font-size: clamp(25px, 4vw, 42px) !important; font-style: normal !important; font-weight: 500; line-height: 1.52 !important; }.story-reference { margin: clamp(20px, 4vw, 35px) 0 clamp(44px, 8vw, 70px) !important; color: #b17a4d !important; font-family: var(--heading-font) !important; font-size: clamp(24px, 4vw, 35px) !important; font-style: italic !important; }.story-translation { max-width: 670px; margin: 0 auto !important; color: #637b72 !important; font-family: var(--heading-font) !important; font-size: clamp(22px, 3.2vw, 32px) !important; font-style: italic !important; line-height: 1.65 !important; }.story-divider { display: flex; gap: 22px; align-items: center; justify-content: center; margin: clamp(55px, 10vw, 95px) auto; color: #bd9254; font-size: 20px; }.story-divider span { width: min(15vw, 92px); height: 1px; background: rgba(189,146,84,.55); }.story-copy { display: grid; gap: clamp(30px, 5vw, 50px); max-width: 650px; margin: auto; }.story-copy p { margin: 0; color: #637b72; font-family: var(--heading-font); font-size: clamp(22px, 3.2vw, 32px); font-style: italic; line-height: 1.62; }.signature { margin-top: clamp(58px, 10vw, 100px); color: #b17a4d; font-size: clamp(24px, 3.8vw, 34px); line-height: 1.48; white-space: pre-line; }

@media (min-width: 700px) { .couple-names { font-size: clamp(48px, 4.6vw, 76px); }.date-reveal-card { max-width: 620px; }.story-card { min-height: 940px; display: flex; flex-direction: column; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .date-bloom { animation: none; } }
html.low-motion .date-bloom { animation: none; }

/* Remove the rectangular arch crops and replace them with weightless floral movement. */
.couple-flower { display: none; }
.couple-showcase { min-height: 0; padding-top: clamp(82px, 9vw, 130px); padding-bottom: clamp(92px, 10vw, 145px); }
.couple-showcase::before { background: radial-gradient(ellipse at 50% 100%, rgba(223,188,146,.35), transparent 43%), linear-gradient(145deg, #fbf5eb, #f7eddf 52%, #f3e5d6); }
.couple-bloom, .date-bloom { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.couple-bloom i, .date-bloom i { position: absolute; display: block; color: #d8ad86; font-family: Georgia, serif; font-size: clamp(24px, 4vw, 56px); font-style: normal; line-height: 1; opacity: .42; text-shadow: 0 8px 18px rgba(145,90,61,.13); animation: bloom-float 7s ease-in-out infinite alternate; }
.couple-bloom i:nth-child(1) { top: 7%; left: 7%; }.couple-bloom i:nth-child(2) { top: 17%; right: 8%; color: #d79c98; animation-delay: -1.6s; }.couple-bloom i:nth-child(3) { bottom: 10%; left: 12%; color: #ba8a58; animation-delay: -3.4s; }.couple-bloom i:nth-child(4) { right: 18%; bottom: 12%; color: #d49c8d; animation-delay: -2s; }.couple-bloom i:nth-child(5) { top: 40%; left: 3%; color: #bc925d; animation-delay: -4.4s; }
@keyframes bloom-float { from { transform: translate3d(0, 0, 0) rotate(-6deg) scale(.9); opacity: .2; } to { transform: translate3d(8px, -18px, 0) rotate(8deg) scale(1.13); opacity: .58; } }
.couple-showcase__heading { margin-bottom: clamp(36px, 5vw, 58px); }.family-card > .eyebrow { margin-bottom: 19px; }.family-grid { max-width: 1080px; gap: 24px; }.family-grid > div { min-height: 330px; padding: clamp(42px, 5vw, 68px) clamp(20px, 4vw, 42px); border-radius: 34px; background: rgba(255,252,247,.62); box-shadow: 0 16px 35px rgba(104,66,39,.07), inset 0 1px rgba(255,255,255,.9); }.family-grid > div:first-child, .family-grid > div:last-child { border-radius: 34px; }.family-grid h3 { margin-bottom: 18px; font-size: clamp(35px, 4.4vw, 59px); }.family-grid p { margin-top: 15px; font-size: clamp(15px, 1.45vw, 19px); line-height: 1.45; }.couple-heart { width: 62px; font-size: 22px; }

/* A wide ivory reveal over the emerald date garden. */
.date-section { min-height: 690px; padding-top: clamp(82px, 10vw, 135px); padding-bottom: clamp(82px, 10vw, 135px); }
.date-bloom { top: 50%; left: 50%; width: min(104vw, 1180px); height: min(92vw, 760px); transform: translate(-50%, -50%); }
.date-bloom i { color: #f0d6a2; font-size: clamp(52px, 11vw, 142px); opacity: .19; mix-blend-mode: screen; }.date-bloom i:nth-child(1) { top: 12%; left: 8%; }.date-bloom i:nth-child(2) { top: 3%; right: 13%; color: #e8c1af; animation-delay: -1.2s; }.date-bloom i:nth-child(3) { bottom: 5%; left: 22%; color: #e7bb8d; animation-delay: -3.1s; }.date-bloom i:nth-child(4) { right: 7%; bottom: 14%; color: #f2d9ad; animation-delay: -4.5s; }.date-bloom i:nth-child(5) { top: 44%; left: 44%; color: #f4debd; animation-delay: -2s; }
.date-reveal-card { width: min(94vw, 1080px); max-width: none; min-height: 238px; margin: 0 auto; border-color: rgba(229,199,134,.74); border-radius: 11px; background: #fffaf1; box-shadow: 0 28px 65px rgba(2,18,15,.35), inset 0 1px rgba(255,255,255,.92); }
.date-reveal-card::before { inset: 10px; border-color: rgba(178,122,85,.26); }.date-reveal-card__cover { align-items: center; flex-direction: row; gap: clamp(22px, 7vw, 94px); background: linear-gradient(110deg, #fffdf7, #f4e4cf); color: #3b302a; text-align: left; }.date-reveal-card__cover::after { top: 50%; right: clamp(25px, 7vw, 80px); color: rgba(178,122,85,.55); font-size: clamp(26px, 4vw, 43px); transform: translateY(-50%); }.date-reveal-card__cover small { display: block; color: #27594d; font-size: 9px; }.date-reveal-card__cover b { margin: 0; color: #16483e; font-size: clamp(80px, 13vw, 145px); line-height: .72; text-shadow: none; }.date-reveal-card__cover em { display: block; margin-top: 6px; color: #a9744d; font-size: clamp(22px, 2.6vw, 34px); }.date-reveal-card__events { padding: 40px 34px; }.date-event { gap: 13px; }.date-event strong { font-size: clamp(39px, 5.2vw, 63px); }.date-event .arabic-date { font-size: clamp(24px, 3vw, 34px); }.date-caption { margin-top: 25px; }

@media (min-width: 700px) { .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }.family-grid > div { min-height: 370px; }.couple-showcase { min-height: 0; }.date-reveal-card__cover { justify-content: center; }.date-reveal-card__cover > small { order: -1; min-width: 125px; text-align: right; }.date-reveal-card__cover > em { min-width: 175px; }.couple-heart { width: 70px; font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { .couple-bloom i, .date-bloom i { animation: none; } }
html.low-motion .couple-bloom i, html.low-motion .date-bloom i { animation: none; }

/* The invitation order and the save-the-date interaction. */
.hero .hero-opening-blessing, .hero .hero-bismillah { position: relative; z-index: 1; text-align: center; }
.hero-opening-blessing { margin: 0 0 13px; color: #b8864e; font-family: var(--body-font); font-size: clamp(9px, 1.2vw, 13px); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.hero-bismillah { max-width: min(88vw, 680px); margin: 0 auto clamp(24px, 4vw, 38px); color: #365a50; font-family: 'Noto Naskh Arabic', serif; font-size: clamp(24px, 4vw, 39px); font-weight: 500; line-height: 1.35; text-shadow: 0 1px 14px rgba(255,255,255,.94); }

/* A warm rosewood date garden; the earlier arch crop is explicitly removed. */
.date-section { background: #6c4841; }.date-section::before { background: radial-gradient(circle at 50% 45%, rgba(242,198,155,.25), transparent 29%), linear-gradient(150deg, #9a6658 0%, #734940 54%, #513832 100%); }
.date-section .section-lockup h2 { color: #fff9f1; }.date-section .section-lockup h2 em, .date-section .eyebrow { color: #f2cf94; }
.date-bloom { background: none !important; }.date-bloom i { color: #f4d2a0; }.date-bloom i:nth-child(2), .date-bloom i:nth-child(4) { color: #efb7ad; }
.date-reveal-card:not(.is-revealed) .date-reveal-card__cover { z-index: 4; visibility: visible; opacity: 1; transform: none; }
.date-reveal-card:not(.is-revealed) .date-reveal-card__events { z-index: 1; visibility: hidden; opacity: 0 !important; transform: translateY(14px); }
.date-reveal-card.is-revealed .date-reveal-card__events { z-index: 4; visibility: visible; }
.date-reveal-card__cover small { max-width: 185px; line-height: 1.65; }.date-event .hijri-date { display: block; color: #875a42; font-family: var(--body-font); font-size: clamp(9px, 1.3vw, 13px); font-style: normal; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.gratitude-section { position: relative; overflow: hidden; background: #fbf4e8; }.gratitude-section::before { display: block; background: radial-gradient(circle at 4% 16%, rgba(221,177,136,.24), transparent 14%), radial-gradient(circle at 94% 82%, rgba(220,158,153,.18), transparent 16%); }.gratitude-card { position: relative; z-index: 1; max-width: 850px; margin: auto; padding: clamp(40px, 7vw, 76px) clamp(24px, 7vw, 85px); border: 1px solid rgba(190,145,86,.38); background: rgba(255,252,246,.7); box-shadow: 0 14px 35px rgba(100,66,37,.06), inset 0 0 0 6px rgba(255,253,248,.7); text-align: center; }.gratitude-ornament { margin-bottom: 25px; color: #bd9052; font-size: 23px; }.gratitude-card > p { margin: 0; color: #60786f; font-family: var(--heading-font); font-size: clamp(22px, 3.1vw, 32px); font-style: italic; line-height: 1.58; }.gratitude-regards { margin-top: clamp(30px, 5vw, 47px) !important; color: #a9784b !important; font-size: clamp(20px, 2.7vw, 29px) !important; }

@media (max-width: 699px) { .family-grid > div { min-height: 250px; }.family-grid h3 { font-size: clamp(32px, 9vw, 46px); }.family-grid p { max-width: 330px; font-size: 16px; }.date-reveal-card { min-height: 216px; }.date-reveal-card__cover { gap: 20px; padding-right: 58px; padding-left: 26px; }.date-reveal-card__cover b { font-size: clamp(76px, 22vw, 106px); }.date-reveal-card__cover em { font-size: 22px; }.date-reveal-card__cover::after { right: 18px; } }

/* Detail pass: smaller Bismillah, a true tap-only cover, and distinct venue cards. */
.hero-bismillah { margin-bottom: clamp(18px, 3vw, 27px); font-size: clamp(19px, 2.8vw, 29px); }
.date-reveal-card__cover { justify-content: center; flex-direction: column; gap: 13px; padding: 28px; text-align: center; }.date-reveal-card__cover small { max-width: none; color: #5f4031; font-size: clamp(10px, 1.35vw, 14px); font-weight: 700; letter-spacing: .23em; line-height: 1.8; }.date-reveal-card__cover::after { display: none; }.date-reveal-mark { display: grid; place-content: center; width: 55px; aspect-ratio: 1; border: 1px solid rgba(178,122,85,.38); border-radius: 50%; color: #b27a55; font-size: 21px; font-style: normal; box-shadow: 0 4px 12px rgba(91,54,35,.09); animation: reveal-mark-pulse 2.6s ease-in-out infinite; }@keyframes reveal-mark-pulse { 50% { transform: scale(1.1); box-shadow: 0 6px 20px rgba(91,54,35,.17); } }
.date-reveal-card:not(.is-revealed) .date-reveal-card__cover { display: flex !important; }.date-reveal-card:not(.is-revealed) .date-reveal-card__events { display: none !important; }.date-reveal-card.is-revealed .date-reveal-card__cover { display: none !important; }.date-reveal-card.is-revealed .date-reveal-card__events { display: grid !important; }

.venue-section { background: linear-gradient(145deg, #fffaf3, #f4e4d4); }.venue-grid { gap: 18px; max-width: 920px; }.venue-card { min-height: 284px; padding: 39px 30px; border: 1px solid rgba(178,122,85,.42); border-radius: 12px; background: linear-gradient(145deg, rgba(255,254,250,.94), rgba(247,232,214,.76)); box-shadow: 0 14px 31px rgba(99,67,37,.08), inset 0 1px rgba(255,255,255,.94); text-align: center; }.venue-card:last-child { border-bottom: 1px solid rgba(178,122,85,.42); }.venue-card::after { display: block; right: 20px; bottom: 14px; color: rgba(178,122,85,.28); font-size: 37px; }.venue-card h3 { max-width: 590px; margin-right: auto; margin-left: auto; }.venue-card .eyebrow { color: #a47449; }.venue-address { max-width: 510px; }.venue-card .text-link { position: relative; z-index: 2; padding: 11px 17px 9px; border: 1px solid rgba(178,122,85,.48); border-radius: 999px; background: rgba(255,253,248,.78); }

.gratitude-card { max-width: 890px; }.gratitude-card > p { max-width: 760px; margin-right: auto; margin-left: auto; font-size: clamp(19px, 2.35vw, 27px); line-height: 1.58; }.gratitude-regards { font-size: clamp(18px, 2.1vw, 24px) !important; }
@media (min-width: 700px) { .date-reveal-card__cover { flex-direction: column; }.venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.venue-card { min-height: 340px; }.date-reveal-mark { width: 63px; font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .date-reveal-mark { animation: none; } }
html.low-motion .date-reveal-mark { animation: none; }

/* Art-directed arch: portrait composition on a phone, pillar-frame composition
   on tablets and desktops.  The wide artwork avoids stretching the phone arch. */
.hero { isolation: isolate; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 252, 243, .02) 0%, rgba(255, 252, 243, .04) 57%, rgba(255, 252, 243, .67) 100%),
    url('assets/images/floral-arch-entrance.webp') center top / cover no-repeat;
}
.hero > :not(.hero-arch) { position: relative; z-index: 1; }
.hero-arch { display: none !important; }

@media (min-width: 700px) {
  .hero {
    min-height: clamp(680px, 100svh, 1040px);
    padding-top: clamp(120px, 14vh, 165px);
    padding-bottom: clamp(92px, 11vh, 130px);
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 252, 243, .1) 0%, rgba(255, 252, 243, .02) 56%, rgba(255, 252, 243, .72) 100%),
      url('assets/images/floral-arch-desktop.png') center / cover no-repeat;
  }
  .hero .hero-opening-blessing { margin-bottom: 15px; }
  .hero .hero-bismillah { margin-bottom: clamp(24px, 3vh, 35px); }
  .hero .couple-names { max-width: min(65vw, 940px); font-size: clamp(56px, 5.35vw, 94px); }
  .hero .hero-date-pill { margin-top: clamp(26px, 4vh, 42px); }
}

/* ===========================================================================
   Final colour + typography balance
   A warmer paper palette and type scale that remains graceful from 320px up.
   =========================================================================== */
:root {
  --ivory: #fffaf2;
  --paper: #faf2e6;
  --paper-deep: #ead9c4;
  --ink: #21483f;
  --ink-soft: #5f746b;
  --gold: #bc9057;
  --gold-light: #edd3a5;
  --blush: #dba29c;
  --rosewood: #714940;
  --champagne: #f1ddbc;
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(237, 211, 165, .24), transparent 24rem),
    var(--paper);
}

.paper-section { background-color: var(--paper); }
.eyebrow { color: #a77848; }
.section-lockup h2, .section-head h2, .rsvp-card h2 { color: #44302c; }
.section-lockup h2 em, .section-head h2 em { color: #af7b4d; }

/* Keep the names generous but never oversized on phones. */
.hero .couple-names {
  max-width: min(91vw, 680px);
  gap: clamp(9px, 2.8vw, 15px);
  font-size: clamp(38px, 10vw, 56px);
  line-height: .87;
  letter-spacing: -.06em;
}
.hero .couple-names b {
  font-size: clamp(19px, 5vw, 27px);
  color: #c4965d;
}
.hero-opening-blessing { color: #a97647; font-size: clamp(8px, 2.35vw, 11px); }
.hero-bismillah { color: #31594d; font-size: clamp(18px, 5vw, 27px); }
.hero-family-line { color: #725d50 !important; font-size: clamp(8px, 2.25vw, 11px); }
.hero-date-pill { color: #634b42; background: rgba(255, 252, 246, .82); }

/* Add palette richness to the arch without covering its artwork. */
.hero::after {
  display: block;
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 80%, rgba(217, 157, 155, .15), transparent 23%),
    radial-gradient(circle at 88% 18%, rgba(202, 158, 93, .13), transparent 22%),
    linear-gradient(180deg, rgba(255, 253, 248, .02) 48%, rgba(255, 248, 237, .24));
}

.couple-showcase {
  background:
    radial-gradient(circle at 8% 11%, rgba(219, 162, 156, .24), transparent 23%),
    radial-gradient(circle at 92% 88%, rgba(220, 180, 113, .2), transparent 26%),
    linear-gradient(145deg, #fcf4e8, #f7eadc 50%, #f1dfcf);
}
.family-grid > div {
  border-color: rgba(181, 125, 82, .28);
  background: linear-gradient(145deg, rgba(255, 254, 250, .82), rgba(255, 245, 235, .55));
}
.family-grid h3 { color: #3d2d2a; font-size: clamp(31px, 8.5vw, 47px); line-height: .9; }
.family-grid span { color: #aa7a51; }
.family-grid p { color: #75574b; font-size: clamp(14px, 4vw, 18px); line-height: 1.48; }

.gratitude-section {
  background:
    radial-gradient(circle at 10% 18%, rgba(223, 174, 145, .2), transparent 21%),
    radial-gradient(circle at 92% 82%, rgba(219, 157, 155, .14), transparent 22%),
    #fbf4e8;
}
.gratitude-card { border-color: rgba(190, 145, 86, .42); }
.gratitude-card > p { color: #5d776d; font-size: clamp(18px, 5vw, 23px); line-height: 1.62; }
.gratitude-regards { color: #aa774b !important; font-size: clamp(17px, 4.4vw, 22px) !important; }

.countdown-section { background: linear-gradient(145deg, #f2e3d0, #fffaf2 45%, #f8ede1); }
.countdown .countdown-unit { border-color: rgba(184, 142, 88, .35); background: rgba(255, 252, 247, .76); }
.countdown .countdown-value { color: #754c42; }
.countdown .countdown-label { color: #8e6c59; }

.story { background: linear-gradient(145deg, #fbf0e3, #f7e8db); }
.story-card { border-color: rgba(197, 156, 97, .52); }
.story-arabic { font-size: clamp(22px, 5.5vw, 32px) !important; }
.story-translation, .story-copy p { font-size: clamp(19px, 4.8vw, 25px) !important; }

@media (min-width: 700px) {
  .hero .couple-names {
    max-width: min(67vw, 900px);
    font-size: clamp(52px, 4.4vw, 78px);
  }
  .hero-bismillah { font-size: clamp(22px, 2vw, 30px); }
  .section-lockup h2, .section-head h2, .rsvp-card h2 { font-size: clamp(42px, 3.7vw, 65px); }
  .family-grid h3 { font-size: clamp(38px, 3.1vw, 56px); }
  .family-grid p { font-size: clamp(16px, 1.35vw, 20px); }
  .gratitude-card > p { font-size: clamp(21px, 2.15vw, 28px); }
  .gratitude-regards { font-size: clamp(19px, 1.8vw, 24px) !important; }
  .story-arabic { font-size: clamp(26px, 2.8vw, 39px) !important; }
  .story-translation, .story-copy p { font-size: clamp(22px, 2.4vw, 30px) !important; }
}

/* A more visible, still-luxury colour story for every scroll chapter. */
.couple-showcase {
  background:
    radial-gradient(circle at 10% 12%, rgba(216, 126, 135, .32), transparent 27%),
    radial-gradient(circle at 89% 85%, rgba(199, 150, 72, .25), transparent 30%),
    linear-gradient(145deg, #f9e9df 0%, #f7eddf 50%, #ead5c3 100%) !important;
}

.gratitude-section {
  background:
    radial-gradient(circle at 10% 13%, rgba(204, 164, 106, .24), transparent 23%),
    radial-gradient(circle at 91% 82%, rgba(212, 145, 146, .25), transparent 25%),
    linear-gradient(145deg, #f9eadc, #fff8ef 50%, #eee0c9) !important;
}

.countdown-section {
  background:
    radial-gradient(circle at 87% 16%, rgba(224, 163, 155, .3), transparent 25%),
    linear-gradient(145deg, #e9d9c4, #fff8ed 49%, #e9cfc4) !important;
}

.gallery-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(223, 168, 156, .28), transparent 24%),
    linear-gradient(145deg, #f4ded7, #fff8ed 48%, #ecd6bd) !important;
}

.timeline-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(235, 198, 131, .15), transparent 24%),
    radial-gradient(circle at 90% 86%, rgba(214, 146, 143, .14), transparent 22%),
    linear-gradient(145deg, #174a40, #103a33 56%, #0d2e29) !important;
  color: #fff8ed !important;
}
.timeline-section .eyebrow, .timeline-section .section-lockup h2, .timeline-section .section-lockup h2 em,
.timeline-section .timeline-title, .timeline-section .timeline-detail { color: #fff8ed !important; }
.timeline-section .eyebrow, .timeline-section .section-lockup h2 em { color: #efd099 !important; }

.venue-section {
  background:
    radial-gradient(circle at 91% 13%, rgba(220, 165, 116, .32), transparent 26%),
    radial-gradient(circle at 7% 88%, rgba(209, 148, 145, .22), transparent 23%),
    linear-gradient(145deg, #f7e2cf, #fff9ef 48%, #ead4b9) !important;
}
.venue-card { background: linear-gradient(145deg, rgba(255, 254, 249, .94), rgba(251, 226, 207, .78)) !important; }

.rsvp-section {
  background:
    radial-gradient(circle at 13% 10%, rgba(214, 146, 143, .3), transparent 25%),
    linear-gradient(145deg, #edd6cf, #fcf1e5 48%, #e6ceb7) !important;
}
.rsvp-card { background: rgba(255, 252, 247, .87) !important; }
.rsvp-submit { background: linear-gradient(135deg, #19483e, #2d6658) !important; color: #fffaf2 !important; }

.footer { background: linear-gradient(135deg, #143e36, #0d302b) !important; }

/* Reference-art palette only: ivory, champagne, blush and warm rosewood.
   No emerald or green is used in the final presentation. */
:root {
  --ink: #4a332d;
  --ink-soft: #7a6257;
  --gold: #bd935d;
  --gold-light: #eed4aa;
  --blush: #dfa8a2;
  --rosewood: #764c43;
}

.hero-bismillah { color: #795947; }
.hero-opening-blessing { color: #a97647; }
.date-reveal-card__cover small { color: #765143; }
.date-reveal-card__cover b, .date-event strong { color: #603d35; }
.date-event .arabic-date, .date-event .hijri-date { color: #a97655; }

.timeline-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(241, 204, 145, .18), transparent 24%),
    radial-gradient(circle at 90% 86%, rgba(228, 161, 157, .16), transparent 23%),
    linear-gradient(145deg, #7b5147, #5c3b36 56%, #432d2a) !important;
}

.rsvp-submit { background: linear-gradient(135deg, #9b6b58, #74483f) !important; }
.footer { background: linear-gradient(135deg, #603c35, #412b29) !important; }

/* ===========================================================================
   Final responsive art direction — matching the supplied arch artwork.
   This deliberately comes last so it wins over earlier experimental styling.
   =========================================================================== */
.hero::before {
  background:
    radial-gradient(ellipse at 50% 53%, rgba(255, 251, 241, .72) 0%, rgba(255, 251, 241, .34) 36%, rgba(255, 251, 241, .03) 70%),
    linear-gradient(180deg, rgba(255, 252, 245, .05), rgba(255, 248, 238, .28)),
    url('assets/images/floral-arch-entrance.webp') center top / cover no-repeat !important;
}
.hero::after {
  background:
    radial-gradient(circle at 9% 82%, rgba(217, 152, 153, .16), transparent 25%),
    radial-gradient(circle at 91% 15%, rgba(202, 158, 93, .14), transparent 22%),
    linear-gradient(180deg, rgba(255, 253, 248, .02) 48%, rgba(255, 248, 237, .38)) !important;
}
.hero .hero-content { text-shadow: 0 2px 18px rgba(255, 253, 247, .72); }

/* The schedule is intentionally warm rosewood, with every label legible. */
.timeline-section .section-lockup h2,
.timeline-section .section-lockup h2 em,
.timeline-section .timeline-time,
.timeline-section .timeline-item h3,
.timeline-section .timeline-item div:last-child > p:last-child {
  color: #fff8ed !important;
}
.timeline-section .timeline-time,
.timeline-section .section-lockup h2 em { color: #f0cf9b !important; }
.timeline-section .timeline-node { background: #64433c !important; color: #f7d79f !important; }

.form-field select:disabled { color: rgba(86, 57, 48, .42); }
#event-field { transition: opacity .24s ease; }

@media (max-width: 699px) {
  .hero {
    min-height: 100svh;
    padding: clamp(125px, 18svh, 172px) 8vw clamp(92px, 13svh, 130px);
  }
  .hero::before {
    background-position: center top !important;
    background-size: cover !important;
  }
  .hero .couple-names { max-width: 88vw; font-size: clamp(36px, 9.6vw, 50px); line-height: .9; }
  .hero .hero-bismillah { font-size: clamp(17px, 4.5vw, 23px); }
  .hero .hero-opening-blessing, .hero .hero-family-line { letter-spacing: .19em; }
  .story { padding-right: 16px; padding-left: 16px; }
  .story-card { padding: 44px 21px 47px; }
  .story-arabic { font-size: clamp(20px, 5.4vw, 26px) !important; line-height: 1.85; }
  .story-translation, .story-copy p { font-size: clamp(17px, 4.55vw, 21px) !important; line-height: 1.66; }
  .signature { font-size: clamp(19px, 5vw, 24px); }
  .rsvp-card { padding: 44px 21px 38px; }
  .form-field select { font-size: 18px; }
}

@media (min-width: 700px) {
  .hero {
    min-height: clamp(650px, 100svh, 920px);
    padding: clamp(112px, 13vh, 150px) 7vw clamp(80px, 10vh, 115px);
  }
  .hero::before {
    background:
      radial-gradient(ellipse at 50% 46%, rgba(255, 252, 244, .84) 0%, rgba(255, 252, 244, .56) 34%, rgba(255, 252, 244, .08) 72%),
      linear-gradient(180deg, rgba(255, 252, 244, .04), rgba(255, 248, 238, .32)),
      url('assets/images/floral-arch-desktop-final.png') center / cover no-repeat !important;
  }
  .hero .couple-names { max-width: min(61vw, 820px); font-size: clamp(49px, 4.25vw, 76px); }
  .hero .hero-bismillah { font-size: clamp(18px, 1.55vw, 25px); }
  .hero .hero-opening-blessing, .hero .hero-family-line { font-size: clamp(9px, .75vw, 12px); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::after { animation: arch-colour-breathe 8s ease-in-out infinite alternate; }
  .hero .hero-content { animation: arch-content-arrive 1.35s .28s both cubic-bezier(.22,.7,.2,1); }
}
@keyframes arch-colour-breathe { to { opacity: .74; filter: saturate(1.08); } }
@keyframes arch-content-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
