:root {
  color-scheme: light only;
  --sky: #7faabc;
  --sky-deep: #567f91;
  --sky-soft: #dce9ed;
  --cream: #f7f2e9;
  --cream-soft: #fcfaf6;
  --ink: #1d292d;
  --muted: #67777d;
  --gold: #bb9462;
  --gold-soft: #e0cba9;
  --teal: #355f67;
  --line: rgba(29, 41, 45, .13);
  --white-line: rgba(255, 255, 255, .2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --arabic: "Amiri", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 26px 70px rgba(49, 76, 86, .14);
  --shadow-soft: 0 18px 48px rgba(49, 76, 86, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.cover-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
::selection { background: var(--sky-deep); color: #fff; }

.section-shell { width: min(100% - 64px, 1220px); margin-inline: auto; }
.section { position: relative; padding-block: clamp(100px, 11vw, 160px); }
section[id] { scroll-margin-top: 96px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(52px, 6vw, 84px); font-weight: 600; letter-spacing: -.055em; line-height: .93; }
h2 i { color: var(--sky-deep); font-weight: 500; }
.centered { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; color: var(--sky-deep); font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.3; text-transform: uppercase; }
.eyebrow::before { width: 29px; height: 1px; background: currentColor; content: ""; }
.eyebrow.light { color: rgba(255, 255, 255, .68); }

.primary-button { min-height: 53px; border: 0; border-radius: 999px; background: var(--teal); box-shadow: 0 14px 32px rgba(53, 95, 103, .22); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 25px; font-size: 13px; font-weight: 700; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, background .35s; }
.primary-button svg { width: 18px; }
.primary-button:hover { background: #294f57; box-shadow: 0 20px 38px rgba(53, 95, 103, .28); transform: translateY(-3px); }
.primary-button:active { transform: translateY(0) scale(.98); }
.text-link { display: inline-flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 700; }
.text-link span { color: var(--gold); transition: transform .3s; }
.text-link:hover span { transform: translateY(3px); }

/* Cover */
.invitation-cover { position: fixed; z-index: 1000; inset: 0; display: grid; grid-template-columns: 1.03fr .97fr; min-height: 100dvh; background: var(--cream-soft); opacity: 1; visibility: visible; transition: opacity .8s ease, visibility .8s, transform 1s cubic-bezier(.2, .8, .2, 1); }
.invitation-cover.is-open { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.025); }
.cover-sky { position: relative; overflow: hidden; display: grid; place-items: end center; background: linear-gradient(150deg, #a9cbd7, var(--sky) 58%, #668fa1); }
.cover-sky::before { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.19) 1px, transparent 0); background-size: 28px 28px; content: ""; opacity: .65; mask-image: linear-gradient(to bottom, #000, transparent 78%); }
.cover-sky::after { position: absolute; z-index: 1; width: 72%; height: 82%; bottom: -3%; border: 1px solid rgba(255,255,255,.36); border-bottom: 0; border-radius: 48% 48% 0 0 / 20% 20% 0 0; content: ""; }
.cover-arch { position: relative; z-index: 3; width: min(76%, 680px); height: 88%; overflow: hidden; border-radius: 48% 48% 0 0 / 19% 19% 0 0; background: rgba(247, 242, 233, .13); display: flex; align-items: flex-end; justify-content: center; }
.cover-arch img { width: 94%; filter: drop-shadow(0 25px 30px rgba(34, 69, 80, .22)); animation: cover-rise 1.2s .15s both cubic-bezier(.2, .8, .2, 1); }
.cover-birds { position: absolute; z-index: 4; top: 12%; left: 8%; width: 160px; opacity: .78; filter: brightness(0) invert(1); animation: birds-drift 7s ease-in-out infinite; }
.cover-mark { position: absolute; z-index: 5; top: 30px; right: 35px; color: rgba(255,255,255,.83); font-family: var(--serif); font-size: 17px; letter-spacing: .13em; }
.sky-orbit { position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; animation: orbit-drift 9s ease-in-out infinite; }
.orbit-a { width: 440px; height: 440px; top: -210px; left: -130px; }
.orbit-b { width: 290px; height: 290px; right: -130px; bottom: 18%; animation-delay: -4s; }
.sky-star { position: absolute; z-index: 2; color: rgba(255,255,255,.72); font-size: 19px; animation: star-pulse 2.8s ease-in-out infinite; }
.star-a { top: 23%; right: 12%; }
.star-b { top: 38%; left: 10%; animation-delay: -1.2s; }
.cover-panel { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(52px, 8vw, 130px); }
.cover-panel h1 { margin: 28px 0 22px; font-family: var(--serif); font-size: clamp(78px, 9.4vw, 142px); font-weight: 600; letter-spacing: -.075em; line-height: .66; }
.cover-panel h1 span { display: block; }
.cover-panel h1 i { position: absolute; margin: 17px 0 0 .16em; color: var(--sky-deep); font-size: .42em; font-weight: 500; transform: translateX(-50%); }
.cover-panel h1 span:last-child { margin-left: .53em; }
.cover-date { margin-bottom: 34px; color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.guest-card { min-width: min(100%, 370px); margin-bottom: 25px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.55); box-shadow: 0 12px 30px rgba(74, 99, 107, .05); }
.guest-card small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.guest-card strong { display: block; margin-top: 2px; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.cover-hint { margin: 14px 0 0 8px; color: var(--muted); font-size: 9px; }

/* Fixed interface */
.interface-control { opacity: 0; pointer-events: none; transition: opacity .5s, transform .5s; }
body.invitation-open .interface-control { opacity: 1; pointer-events: auto; }
.topbar { position: fixed; z-index: 100; top: 18px; left: 50%; width: min(calc(100% - 36px), 1180px); height: 64px; border: 1px solid rgba(255,255,255,.74); border-radius: 20px; background: rgba(247, 245, 239, .74); box-shadow: 0 13px 42px rgba(48, 74, 84, .11); backdrop-filter: blur(20px) saturate(1.25); -webkit-backdrop-filter: blur(20px) saturate(1.25); display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 22px; transform: translate(-50%, -12px); }
body.invitation-open .topbar { transform: translateX(-50%); }
.monogram { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.04em; }
.monogram span { color: var(--sky-deep); font-style: italic; }
.topbar nav { display: flex; align-items: center; gap: 30px; }
.topbar nav a { color: var(--muted); font-size: 11px; font-weight: 700; transition: color .25s; }
.topbar nav a:hover { color: var(--ink); }
.topbar-actions { display: flex; gap: 6px; }
.icon-button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.82); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .25s; }
.icon-button:hover { background: #fff; transform: translateY(-2px); }
.icon-button svg { width: 18px; height: 18px; }
.icon-button .music-off, .icon-button.is-muted .music-on { display: none; }
.icon-button.is-muted .music-off { display: block; }
.icon-button:not(.is-muted) { animation: music-pulse 2.8s ease-in-out infinite; }
.bottom-dock { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: 100svh; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(45px, 7vw, 110px); padding: clamp(125px, 14vh, 175px) max(32px, calc((100vw - 1220px) / 2)) 85px; background: var(--cream); }
.hero-pattern { position: absolute; inset: 0; background-image: linear-gradient(30deg, transparent 49.5%, rgba(86,127,145,.06) 50%, transparent 50.5%), linear-gradient(150deg, transparent 49.5%, rgba(86,127,145,.06) 50%, transparent 50.5%); background-size: 90px 155px; opacity: .65; mask-image: radial-gradient(circle at 74% 48%, #000, transparent 67%); }
.hero::before { position: absolute; width: 610px; height: 610px; right: 5%; top: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(127,170,188,.2), transparent 68%); content: ""; animation: breathe 8s ease-in-out infinite; }
.floating-star { position: absolute; color: var(--gold); animation: star-pulse 3s ease-in-out infinite; }
.hero-star-a { left: 4%; bottom: 18%; font-size: 17px; }
.hero-star-b { right: 4%; top: 23%; font-size: 22px; animation-delay: -1.3s; }
.hero-copy { position: relative; z-index: 2; max-width: 560px; }
.hero-copy .arabic { margin: 24px 0 13px; color: var(--sky-deep); font-family: var(--arabic); font-size: 25px; line-height: 1.3; }
.hero-copy h1 { margin: 0 0 30px; font-family: var(--serif); font-size: clamp(91px, 9.7vw, 146px); font-weight: 600; letter-spacing: -.08em; line-height: .66; }
.hero-copy h1 i { color: var(--sky-deep); font-size: .53em; font-weight: 500; }
.hero-copy > p:last-of-type { max-width: 520px; margin-bottom: 35px; color: var(--muted); font-size: 14px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-art { position: relative; z-index: 2; width: min(100%, 680px); justify-self: end; transition: transform .35s ease-out; }
.mihrab-frame { position: relative; overflow: hidden; aspect-ratio: .86; border-radius: 48% 48% 27px 27px / 18% 18% 27px 27px; background: linear-gradient(155deg, #a9cad6, #729eb0); box-shadow: var(--shadow); display: flex; align-items: flex-end; justify-content: center; transform: translate3d(var(--parallax-x,0),var(--parallax-y,0),0); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.mihrab-frame::before { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.24) 1px, transparent 0); background-size: 26px 26px; content: ""; opacity: .55; }
.mihrab-frame img { position: relative; z-index: 3; width: 93%; filter: drop-shadow(0 25px 28px rgba(32,65,76,.2)); }
.mihrab-line { position: absolute; z-index: 2; inset-inline: 8%; bottom: 0; height: 91%; border: 1px solid rgba(255,255,255,.4); border-bottom: 0; border-radius: 48% 48% 0 0 / 17% 17% 0 0; }
.line-two { inset-inline: 15%; height: 83%; opacity: .7; }
.hero-note { position: absolute; z-index: 5; border: 1px solid rgba(255,255,255,.76); border-radius: 18px; background: rgba(255,255,255,.76); box-shadow: var(--shadow-soft); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.note-date { top: 10%; left: -7%; display: grid; grid-template-columns: auto auto; align-items: end; gap: 0 10px; padding: 16px 20px; }
.note-date small { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.note-date strong { grid-row: span 2; font-family: var(--serif); font-size: 48px; font-weight: 600; line-height: .7; }
.note-date span { font-size: 9px; }
.note-place { right: -4%; bottom: 11%; display: flex; flex-direction: column; padding: 15px 20px; }
.note-place b { font-family: var(--serif); font-size: 24px; }
.note-place small { color: var(--muted); font-size: 9px; }
.hero-birds { position: absolute; z-index: 4; top: -5%; right: 4%; width: 170px; animation: birds-drift 6.5s ease-in-out infinite; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue span { display: block; width: 22px; height: 34px; border: 1px solid var(--line); border-radius: 18px; }
.scroll-cue span::after { display: block; width: 3px; height: 7px; margin: 6px auto; border-radius: 8px; background: var(--sky-deep); content: ""; animation: scroll-dot 2s infinite; }

/* Couple */
.couple-section { overflow: hidden; background: var(--cream-soft); }
.couple-section::before, .couple-section::after { position: absolute; border: 1px solid rgba(86,127,145,.12); border-radius: 50%; content: ""; }
.couple-section::before { width: 430px; height: 430px; top: -220px; left: -190px; }
.couple-section::after { width: 300px; height: 300px; right: -170px; bottom: -150px; }
.section-heading { position: relative; max-width: 860px; margin-inline: auto; }
.section-ornament { width: 58px; height: 58px; margin: 0 auto 22px; object-fit: contain; animation: ornament-turn 13s linear infinite; }
.section-heading h2 { margin-top: 25px; }
.section-heading > p { max-width: 650px; margin: 28px auto 0; color: var(--muted); font-size: 14px; }
.couple-grid { display: grid; grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr); align-items: center; gap: 26px; margin-top: 78px; }
.person-card { overflow: hidden; border: 1px solid var(--line); border-radius: 38% 38% 25px 25px / 14% 14% 25px 25px; background: #fff; box-shadow: var(--shadow-soft); }
.person-photo { position: relative; overflow: hidden; aspect-ratio: .92; background: linear-gradient(150deg, #aecbd5, #789eae); display: flex; align-items: flex-end; justify-content: center; }
.man-photo { background: linear-gradient(150deg, #d2c7b6, #a99880); }
.person-photo::before { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.24) 1px, transparent 0); background-size: 25px 25px; content: ""; }
.person-photo img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; transition: transform .85s cubic-bezier(.2,.8,.2,1); }
.woman-photo img { object-position: center 20%; }
.man-photo img { object-position: center; }
.person-card:hover .person-photo img { transform: scale(1.04); }
.arch-ring { position: absolute; z-index: 3; inset: 7%; border: 1px solid rgba(255,255,255,.45); border-bottom: 0; border-radius: 48% 48% 0 0 / 18% 18% 0 0; pointer-events: none; }
.person-copy { padding: 31px 25px 34px; text-align: center; }
.person-copy small { color: var(--sky-deep); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.person-copy h3 { margin: 6px 0 2px; color: var(--sky-deep); font-family: var(--serif); font-size: 57px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.person-copy strong { font-size: 13px; }
.person-copy p { margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.couple-center { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.couple-center span { color: var(--gold); font-family: var(--arabic); font-size: 29px; }
.couple-center i { display: grid; width: 72px; height: 72px; margin-top: -8px; border: 1px solid var(--line); border-radius: 50%; place-items: center; color: var(--sky-deep); font-family: var(--serif); font-size: 43px; }

/* Event */
.event-section { overflow: hidden; background: var(--teal); color: #fff; }
.event-section::before { position: absolute; inset: 0; background-image: linear-gradient(30deg, transparent 49.5%, rgba(255,255,255,.035) 50%, transparent 50.5%), linear-gradient(150deg, transparent 49.5%, rgba(255,255,255,.035) 50%, transparent 50.5%); background-size: 86px 149px; content: ""; }
.event-cloud { position: absolute; border-radius: 50%; background: rgba(127,170,188,.13); filter: blur(1px); animation: cloud-drift 12s ease-in-out infinite; }
.cloud-a { width: 500px; height: 500px; top: -280px; right: -120px; }
.cloud-b { width: 340px; height: 340px; left: -190px; bottom: 13%; animation-delay: -5s; }
.event-heading { position: relative; display: grid; grid-template-columns: 1fr 390px; align-items: end; gap: 70px; }
.event-heading h2 { margin-top: 27px; }
.event-heading h2 i { color: var(--gold-soft); }
.event-heading > p { margin-bottom: 4px; color: rgba(255,255,255,.62); font-size: 14px; }
.countdown { position: relative; display: grid; grid-template-columns: repeat(7, auto); align-items: center; justify-content: center; gap: clamp(16px,4vw,46px); margin: 75px 0; }
.countdown > div { display: flex; align-items: center; flex-direction: column; min-width: 83px; }
.countdown strong { font-family: var(--serif); font-size: clamp(52px,6vw,78px); font-weight: 500; line-height: .8; }
.countdown span { margin-top: 11px; color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.countdown i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.events-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
.event-card { position: relative; min-height: 450px; overflow: hidden; padding: clamp(34px,5vw,58px); border: 1px solid var(--white-line); border-radius: 28px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); display: flex; align-items: flex-start; flex-direction: column; }
.event-card.featured { background: var(--cream-soft); color: var(--ink); }
.event-card::after { position: absolute; width: 270px; height: 270px; right: -140px; bottom: -150px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.event-card.featured::after { border-color: rgba(86,127,145,.14); }
.event-number { position: absolute; top: 30px; right: 34px; color: rgba(255,255,255,.3); font-family: var(--serif); font-size: 44px; }
.featured .event-number { color: rgba(86,127,145,.24); }
.event-card > small { color: var(--gold-soft); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.featured > small { color: var(--sky-deep); }
.event-card h3 { max-width: 430px; margin: 55px 0 12px; font-family: var(--serif); font-size: clamp(35px,4vw,52px); font-weight: 600; letter-spacing: -.04em; line-height: .95; }
.event-card > p { color: rgba(255,255,255,.58); font-size: 12px; }
.featured > p { color: var(--muted); }
.event-line { width: 100%; height: 1px; margin: auto 0 24px; background: rgba(255,255,255,.14); }
.featured .event-line { background: var(--line); }
.event-card > strong { font-size: 12px; }
.event-card > span:last-of-type { color: rgba(255,255,255,.52); font-size: 10px; }
.event-card.featured > span:last-of-type { color: var(--muted); }
.event-buttons { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.event-buttons a { min-height: 45px; border: 1px solid var(--line); border-radius: 999px; background: #fff; display: inline-flex; align-items: center; gap: 18px; padding: 0 19px; font-size: 11px; font-weight: 700; transition: transform .3s, background .3s; }
.event-buttons a:last-child { border-color: var(--teal); background: var(--teal); color: #fff; }
.event-buttons a:hover { transform: translateY(-2px); }
.stream-card { position: relative; display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 40px; margin-top: 20px; padding: 34px 42px; border: 1px solid var(--white-line); border-radius: 25px; background: rgba(255,255,255,.07); }
.stream-card small { color: var(--gold-soft); font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.stream-card h3 { margin: 5px 0 2px; font-family: var(--serif); font-size: 33px; font-weight: 500; }
.stream-card p { margin: 0; color: rgba(255,255,255,.55); font-size: 11px; }
.stream-card > a { min-height: 45px; border-radius: 999px; background: #fff; color: var(--ink); display: inline-flex; align-items: center; gap: 15px; padding: 0 20px; font-size: 11px; font-weight: 700; }
.stream-signal { position: relative; width: 72px; height: 72px; display: grid; place-items: center; }
.stream-signal span { position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.33); border-radius: 50%; animation: signal-ring 2.5s ease-out infinite; }
.stream-signal span:nth-child(2) { inset: -2px; animation-delay: -.8s; }
.stream-signal i { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 0 8px rgba(224,203,169,.08); }

/* Story */
.story-section { overflow: hidden; background: #e7eff0; }
.story-section::after { position: absolute; width: 520px; height: 520px; right: -240px; bottom: -230px; border: 1px solid rgba(86,127,145,.14); border-radius: 50%; content: ""; }
.story-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(70px,10vw,150px); }
.story-quote { position: sticky; top: 125px; align-self: start; }
.story-quote > img { width: 160px; margin-bottom: 25px; animation: birds-drift 7s ease-in-out infinite; }
.story-quote blockquote { margin: 25px 0; font-family: var(--serif); font-size: clamp(42px,5vw,66px); font-style: italic; line-height: .96; }
.story-quote > p { max-width: 430px; color: var(--muted); font-size: 13px; }
.timeline { position: relative; }
.timeline::before { position: absolute; top: 22px; bottom: 22px; left: 49px; width: 1px; background: rgba(86,127,145,.22); content: ""; }
.timeline-item { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding-bottom: 66px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item > span { position: relative; z-index: 1; width: 100px; height: 43px; border: 1px solid rgba(86,127,145,.22); border-radius: 99px; background: #e7eff0; color: var(--sky-deep); display: grid; place-items: center; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.timeline-item small { color: var(--sky-deep); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.timeline-item h3 { margin: 7px 0 11px; font-family: var(--serif); font-size: 37px; font-weight: 600; line-height: 1; }
.timeline-item p { max-width: 580px; margin: 0; color: var(--muted); font-size: 13px; }

/* Gift */
.gift-section { overflow: hidden; background: var(--sky-deep); color: #fff; }
.gift-section::before { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0); background-size: 28px 28px; content: ""; }
.gift-layout { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(70px,10vw,140px); }
.gift-copy h2 { margin-top: 27px; }
.gift-copy h2 i { color: var(--gold-soft); }
.gift-copy p { max-width: 530px; margin: 28px 0 0; color: rgba(255,255,255,.62); font-size: 14px; }
.gift-cards { position: relative; min-height: 440px; }
.bank-card, .address-card { position: absolute; width: min(100%, 430px); min-height: 270px; padding: 30px; border: 1px solid rgba(255,255,255,.78); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: 0 26px 60px rgba(30,61,72,.23); color: var(--ink); backdrop-filter: blur(18px); transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.bank-card { z-index: 2; top: 0; left: 0; transform: rotate(-2deg); }
.address-card { z-index: 1; right: 0; bottom: 0; background: rgba(231,239,240,.94); transform: rotate(3deg); }
.bank-card:hover, .address-card:hover { z-index: 3; transform: rotate(0) translateY(-5px); }
.bank-head { display: flex; justify-content: space-between; }
.bank-head span { color: #143f81; font-size: 24px; font-style: italic; font-weight: 800; }
.bank-head small, .address-card > small { color: var(--muted); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.bank-chip { display: block; width: 40px; height: 29px; margin: 29px 0 20px; border: 1px solid #bc944d; border-radius: 7px; background: linear-gradient(135deg,#e6cd8a,#b88b38); }
.bank-card > strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: .08em; }
.bank-card > p, .address-card > p { color: var(--muted); font-size: 11px; }
.bank-card button, .address-card button { border: 0; background: transparent; color: var(--teal); cursor: pointer; padding: 0; font-size: 11px; font-weight: 700; }
.address-card h3 { margin: 25px 0 10px; font-family: var(--serif); font-size: 29px; font-weight: 600; }
.address-card p { margin-bottom: 24px; }
.is-copied { color: #2d7c53 !important; }

/* Wishes */
.wishes-section { background: var(--cream-soft); }
.wishes-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(65px,9vw,130px); }
.wishes-copy { position: sticky; top: 125px; }
.wishes-copy h2 { margin-top: 27px; font-size: clamp(53px,5.5vw,76px); }
.prayer-arabic { max-width: 520px; margin: 35px 0 13px; color: var(--sky-deep); font-family: var(--arabic); font-size: 25px; line-height: 1.5; }
.wishes-copy > p:last-child { max-width: 470px; color: var(--muted); font-family: var(--serif); font-size: 20px; font-style: italic; }
.rsvp-card { padding: clamp(27px,4vw,48px); border: 1px solid var(--line); border-radius: 29px; background: #fff; box-shadow: var(--shadow-soft); }
.rsvp-card form { display: grid; gap: 19px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 13px; outline: none; background: var(--cream-soft); color: var(--ink); padding: 13px 15px; font-size: 13px; transition: border-color .25s, box-shadow .25s, background .25s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sky-deep); background: #fff; box-shadow: 0 0 0 4px rgba(86,127,145,.12); }
.form-button { justify-self: start; }
.sample-wish { margin-top: 29px; padding-top: 25px; border-top: 1px solid var(--line); }
.sample-wish small { color: var(--sky-deep); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.sample-wish blockquote { margin: 12px 0 7px; font-family: var(--serif); font-size: 23px; font-style: italic; line-height: 1.25; }
.sample-wish span { color: var(--muted); font-size: 10px; }
.invitalab-rsvp-status { border-radius: 13px !important; }

/* Closing */
.closing-section { position: relative; overflow: hidden; min-height: 820px; display: grid; grid-template-columns: 1fr 1fr; background: var(--teal); color: #fff; }
.closing-section::before { position: absolute; inset: 0; background-image: linear-gradient(30deg, transparent 49.5%, rgba(255,255,255,.035) 50%, transparent 50.5%), linear-gradient(150deg, transparent 49.5%, rgba(255,255,255,.035) 50%, transparent 50.5%); background-size: 86px 149px; content: ""; }
.closing-glow { position: absolute; width: 520px; height: 520px; right: -70px; bottom: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(127,170,188,.28), transparent 68%); animation: breathe 9s ease-in-out infinite; }
.closing-birds { position: absolute; z-index: 3; top: 10%; right: 6%; width: 170px; filter: brightness(0) invert(1); opacity: .58; animation: birds-drift 7s ease-in-out infinite; }
.closing-copy { position: relative; z-index: 3; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(55px,8vw,120px); }
.closing-copy h2 { margin: 28px 0 30px; font-size: clamp(57px,6.3vw,88px); }
.closing-copy h2 i { color: var(--gold-soft); }
.closing-copy p { max-width: 540px; color: rgba(255,255,255,.62); font-size: 14px; }
.closing-copy > strong { margin-top: 31px; font-family: var(--serif); font-size: 37px; font-weight: 500; }
.closing-copy > strong i { color: var(--gold-soft); }
.closing-copy > small { margin-top: 78px; color: rgba(255,255,255,.38); font-size: 9px; letter-spacing: .1em; }
.closing-art { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: center; }
.closing-arch { position: relative; width: min(78%, 610px); height: 86%; overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-bottom: 0; border-radius: 48% 48% 0 0 / 18% 18% 0 0; background: rgba(255,255,255,.05); display: flex; align-items: flex-end; justify-content: center; }
.closing-arch img { width: 95%; filter: drop-shadow(0 25px 28px rgba(22,50,58,.25)); }

/* Motion */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .88s cubic-bezier(.2,.8,.2,1), transform .88s cubic-bezier(.2,.8,.2,1); }
.reveal.reveal-delay { transition-delay: .13s; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes cover-rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes birds-drift { 0%,100% { transform: translate3d(0,0,0) rotate(-1deg); } 50% { transform: translate3d(18px,-10px,0) rotate(1deg); } }
@keyframes orbit-drift { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(14px,18px,0); } }
@keyframes star-pulse { 0%,100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.18) rotate(18deg); } }
@keyframes breathe { 0%,100% { opacity: .68; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(13px); } }
@keyframes ornament-turn { to { transform: rotate(360deg); } }
@keyframes cloud-drift { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(45px,18px,0); } }
@keyframes signal-ring { 0% { opacity: .8; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes music-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(86,127,145,0); } 50% { box-shadow: 0 0 0 7px rgba(86,127,145,.1); } }

@media (max-width: 1040px) {
  .invitation-cover { grid-template-columns: .95fr 1.05fr; }
  .cover-panel { padding: 55px; }
  .hero { grid-template-columns: .92fr 1.08fr; gap: 42px; }
  .hero-copy h1 { font-size: clamp(80px,9.5vw,114px); }
  .couple-grid { grid-template-columns: 1fr 65px 1fr; gap: 18px; }
  .couple-center i { width: 58px; height: 58px; }
  .story-layout, .wishes-layout { gap: 70px; }
  .stream-card { grid-template-columns: 85px 1fr; }
  .stream-card > a { grid-column: 2; justify-self: start; }
  .gift-layout { gap: 65px; }
}

@media (max-width: 820px) {
  .section-shell { width: min(100% - 40px, 720px); }
  .section { padding-block: 100px; }
  .invitation-cover { grid-template-columns: 1fr; grid-template-rows: 45dvh 55dvh; overflow-y: auto; }
  .cover-sky { grid-row: 1; min-height: 320px; }
  .cover-arch { width: min(58%, 430px); height: 100%; }
  .cover-birds { width: 110px; }
  .cover-panel { grid-row: 2; align-items: center; justify-content: center; padding: 35px 24px 44px; text-align: center; }
  .cover-panel h1 { margin: 18px 0 15px; font-size: clamp(70px,16vw,100px); line-height: .78; }
  .cover-panel h1 i { display: none; }
  .cover-panel h1 span:last-child { margin: 5px 0 0; }
  .cover-date { margin-bottom: 18px; }
  .guest-card { margin-bottom: 18px; }
  .cover-hint { margin-left: 0; }
  .topbar { top: 12px; height: 58px; }
  .topbar nav { display: none; }
  .bottom-dock { position: fixed; z-index: 100; bottom: max(12px,env(safe-area-inset-bottom)); left: 50%; width: min(calc(100% - 24px),560px); min-height: 64px; border: 1px solid rgba(255,255,255,.78); border-radius: 22px; background: rgba(247,245,239,.84); box-shadow: 0 14px 45px rgba(45,70,80,.17); backdrop-filter: blur(22px) saturate(1.35); -webkit-backdrop-filter: blur(22px) saturate(1.35); display: grid; grid-template-columns: repeat(5,1fr); padding: 6px; transform: translate(-50%,15px); }
  body.invitation-open .bottom-dock { transform: translateX(-50%); }
  .dock-item { min-height: 52px; border-radius: 16px; color: var(--muted); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; font-size: 8px; font-weight: 600; transition: color .25s,background .25s; }
  .dock-item svg { width: 18px; height: 18px; }
  .dock-item.active { background: #fff; color: var(--teal); box-shadow: 0 4px 13px rgba(45,70,80,.09); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 50px; padding: 125px 40px 110px; text-align: center; }
  .hero-copy { justify-self: center; }
  .hero-copy h1 { font-size: clamp(90px,18vw,128px); }
  .hero-copy > p:last-of-type { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { width: min(86%,570px); justify-self: center; }
  .scroll-cue { display: none; }
  .couple-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .couple-center { margin: -4px 0; }
  .story-layout, .wishes-layout { grid-template-columns: 1fr; }
  .story-quote, .wishes-copy { position: static; }
  .event-heading { grid-template-columns: 1fr; gap: 25px; }
  .event-heading > p { max-width: 520px; }
  .countdown { gap: 20px; }
  .countdown > div { min-width: 65px; }
  .events-grid { grid-template-columns: 1fr; }
  .event-card { min-height: 410px; }
  .stream-card { grid-template-columns: 90px 1fr; }
  .gift-layout { grid-template-columns: 1fr; }
  .gift-cards { width: min(100%,560px); }
  .closing-section { grid-template-columns: 1fr; }
  .closing-copy { min-height: 650px; padding-bottom: 110px; }
  .closing-art { min-height: 580px; }
  .closing-arch { width: min(70%,500px); }
}

@media (max-width: 560px) {
  .section-shell { width: min(100% - 32px,520px); }
  .section { padding-block: 82px; }
  section[id] { scroll-margin-top: 86px; }
  h2 { font-size: clamp(47px,14vw,64px); }
  .eyebrow { font-size: 9px; }
  .topbar { width: calc(100% - 24px); padding-left: 17px; }
  .hero { padding: 112px 20px 95px; }
  .hero-copy .arabic { font-size: 21px; }
  .hero-copy h1 { font-size: clamp(82px,25vw,114px); }
  .hero-copy > p:last-of-type { font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .primary-button { width: 100%; }
  .mihrab-frame { border-radius: 48% 48% 22px 22px / 17% 17% 22px 22px; }
  .note-date { left: -5%; padding: 12px 14px; }
  .note-date strong { font-size: 39px; }
  .note-place { right: -4%; padding: 11px 14px; }
  .note-place b { font-size: 20px; }
  .hero-birds { width: 110px; }
  .section-heading > p { font-size: 13px; }
  .person-copy { padding: 27px 20px; }
  .person-copy h3 { font-size: 52px; }
  .countdown { gap: 8px; margin: 58px 0; }
  .countdown > div { min-width: 52px; }
  .countdown strong { font-size: 43px; }
  .countdown i { width: 3px; height: 3px; }
  .event-card { min-height: 390px; padding: 32px 24px; }
  .event-card h3 { margin-top: 48px; font-size: 39px; }
  .event-buttons { flex-direction: column; width: 100%; }
  .event-buttons a { justify-content: space-between; width: 100%; }
  .stream-card { grid-template-columns: 1fr; gap: 25px; padding: 31px 24px; text-align: center; }
  .stream-signal { justify-self: center; }
  .stream-card > a { grid-column: 1; justify-self: stretch; justify-content: center; }
  .timeline::before { left: 35px; }
  .timeline-item { grid-template-columns: 70px 1fr; gap: 18px; padding-bottom: 54px; }
  .timeline-item > span { width: 70px; height: 38px; font-size: 18px; }
  .timeline-item h3 { font-size: 32px; }
  .gift-cards { min-height: 535px; }
  .bank-card, .address-card { padding: 25px 21px; }
  .bank-card { transform: rotate(-1deg); }
  .address-card { transform: rotate(1deg); }
  .bank-card > strong { font-size: 29px; }
  .form-row { grid-template-columns: 1fr; }
  .rsvp-card { padding: 25px 18px; }
  .closing-copy { min-height: 620px; padding: 70px 24px 120px; }
  .closing-copy > small { margin-top: 60px; }
  .closing-art { min-height: 460px; }
  .closing-arch { width: 78%; }
  .closing-birds { width: 110px; }
}

@media (max-width: 360px) {
  .cover-sky { min-height: 280px; }
  .cover-panel h1 { font-size: 64px; }
  .guest-card { padding: 12px 15px; }
  .guest-card strong { font-size: 21px; }
  .bottom-dock { width: calc(100% - 16px); }
  .dock-item { font-size: 7px; }
  .countdown { gap: 5px; }
  .countdown > div { min-width: 46px; }
  .countdown strong { font-size: 37px; }
}

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

@media (prefers-color-scheme: dark) {
  body,.invitation-cover,.hero,.couple-section,.wishes-section { background-color: var(--cream) !important; color: var(--ink) !important; }
  input,textarea,select { background: #fff !important; color: var(--ink) !important; }
}

:focus-visible { outline: 3px solid #2f75ff; outline-offset: 4px; }
