/* ==========================================================================
   Sai Ram Kushal weds Dhana Laxmi — wedding invite
   Breakpoints: desktop >= 1200, tablet 810–1199.98, phone < 810
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Cormorant"; src: url(assets/fonts/cormorant.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(assets/fonts/cormorant-italic.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Infant"; src: url(assets/fonts/cormorant-infant.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Upright"; src: url(assets/fonts/cormorant-upright-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Upright"; src: url(assets/fonts/cormorant-upright-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Aboreto"; src: url(assets/fonts/aboreto.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Yaldevi"; src: url(assets/fonts/yaldevi.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotu"; src: url(assets/fonts/gotu-devanagari.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Gotu"; src: url(assets/fonts/gotu-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: #fff; font-family: "Cormorant", "Times New Roman", serif; }
h1, h2, h3, p, figure { margin: 0; font-weight: 400; }
img { display: block; }
a { color: inherit; text-decoration: none; }

.page { position: relative; max-width: 1500px; margin: 0 auto; overflow-x: clip; }

/* ---------- Section navigation ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 16px);
  display: flex; gap: 2px; padding: 4px; border-radius: 999px; overflow-x: auto; scrollbar-width: none;
  background: rgba(8, 16, 52, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 233, 163, .28);
}
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: 9px 16px; border-radius: 999px; font-family: "Yaldevi", sans-serif; font-size: 15px; line-height: 1; color: #fff3cf; white-space: nowrap; transition: background-color .25s; }
.nav a:hover, .nav a:focus-visible, .nav a.on { background: rgba(255, 233, 163, .22); outline: none; }
.anchor { display: block; width: 100%; height: 0; margin-top: -36px; }
#invite, #route, #bride-and-groom, #video-and-photos, #share-photos { scroll-margin-top: 70px; }

/* ---------- Music toggle ---------- */
.music {
  position: fixed; z-index: 50; top: 39px; left: calc(50% + 505px);
  width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px;
  display: grid; place-items: center; cursor: pointer;
  background: rgb(207, 47, 42); color: #333;
  animation: pulse 1s ease-in-out infinite alternate;
}
.music svg { width: 13px; height: 13px; fill: currentColor; grid-area: 1 / 1; }
.music .ico-pause { display: none; }
.music[aria-pressed="true"] .ico-play { display: none; }
.music[aria-pressed="true"] .ico-pause { display: block; }
.music:focus-visible, .ring:focus-visible, .dots button:focus-visible, .thumbs li:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.1); } }

/* ==========================================================================
   SECTION 1
   ========================================================================== */
.s1 { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; }
.s1-content {
  --col: 780px; /* width the background artwork is drawn at */
  position: relative; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  background: #ecd2d4;
}
/* background artwork, spread across the full width: garlands pinned to the top corners, Ganesha top centre,
   lotuses in the bottom corners, soft paper in between (phones use the artwork as one piece, see below) */
.s1-content::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    url(assets/img/hero-ganesha.webp) center calc(var(--col) * .2338) / auto calc(var(--col) * .2488) no-repeat,
    url(assets/img/hero-left.webp) left top / auto calc(var(--col) * 1.1045) no-repeat,
    url(assets/img/hero-right.webp) right top / auto calc(var(--col) * 1.1045) no-repeat,
    url(assets/img/hero-lotus-left.webp) left bottom / auto calc(var(--col) * .398) no-repeat,
    url(assets/img/hero-lotus-right.webp) right bottom / auto calc(var(--col) * .398) no-repeat,
    linear-gradient(to bottom, rgba(236, 205, 209, 0) 55%, rgba(236, 212, 214, .5)),
    linear-gradient(to right, #ead0d1 0, #f3eeee 24%, #f4f0f0 50%, #f3eeee 76%, #ead0d1 100%);
}

/* the gopuram, enlarged: rises from the bottom to just under the names and sits behind the scroll */
.s1-content::after {
  content: ""; position: absolute; bottom: 0; left: 50%; width: calc(var(--col) * 1.127); height: calc(var(--col) * 1.03); transform: translateX(-50%); pointer-events: none;
  background: url(assets/img/gopuram.webp) center bottom / 100% auto no-repeat;
}

/* ---------- Diyas ---------- */
.diyas { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.lt { position: absolute; left: var(--x); top: var(--t); width: var(--w); aspect-ratio: 0.615054; }
.lt img {
  width: 100%; height: 100%; object-fit: cover;
  transform: rotate(var(--r1));
  will-change: transform; backface-visibility: hidden;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
}
/* start pose, held until the intro animation takes over */
.intro-pending .lt img { transform: translateY(var(--y)) rotate(var(--r0)); }

/* ---------- Opening: names + scroll ---------- */
.opener {
  position: relative; z-index: 2; width: 100%;
  padding: calc(var(--col) * .5) 16px calc(var(--col) * .96 - 150px);
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}
.names {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: "Cormorant", serif; font-size: 66px; font-weight: 500; line-height: 66px; letter-spacing: -0.01em;
  text-transform: uppercase; text-align: center; color: #8e1450;
}
.nm { display: block; white-space: pre; }
.nm > span { display: block; will-change: transform; }
.n1 { --y: 400px; --r0: 12deg; }
.n2 { --y: 400px; --r0: 15deg; font-size: 30px; line-height: 44px; letter-spacing: 0.42em; color: #a06c12; }
.n3 { --y: 400px; --r0: -10deg; }
.intro-pending .nm > span { transform: translateY(var(--y)) rotate(var(--r0)); }

/* the scroll: two rolls that sit together when closed and part as the patrika unrolls */
.scroll { position: relative; width: min(880px, 100% - 60px); display: flex; flex-direction: column; align-items: center; }
.roll {
  position: relative; z-index: 2; flex: none; width: 100%; height: 30px; border-radius: 15px;
  background: linear-gradient(#fffaf0 0, #f3e3c6 30%, #dcc39a 68%, #b5935f 100%);
  box-shadow: 0 4px 10px rgba(60, 20, 10, .32);
}
.roll::before, .roll::after {
  content: ""; position: absolute; top: 50%; width: 30px; height: 16px; margin-top: -8px; z-index: -1;
  background: linear-gradient(#ffe9a3 0, #d79a2b 55%, #8a5a10 100%); box-shadow: 0 2px 5px rgba(60, 20, 10, .3);
}
.roll::before { left: -22px; border-radius: 8px 0 0 8px; }
.roll::after { right: -22px; border-radius: 0 8px 8px 0; }
.seal {
  position: absolute; z-index: 3; top: 30px; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #c2334f, #8e1450 55%, #5c0c33);
  box-shadow: 0 3px 8px rgba(60, 10, 30, .45), inset 0 0 0 3px rgba(255, 233, 163, .55);
  color: #ffe9a3; font-family: "Gotu", sans-serif; font-size: 26px; line-height: 1;
  transition: opacity .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
  animation: bob 1.6s ease-in-out infinite alternate;
}
.seal::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -6px; bottom: -6px; width: 22px; margin-left: -11px; border-radius: 3px; background: linear-gradient(to right, #6d0f3e, #a81d62 50%, #6d0f3e); }
.box {
  position: relative; z-index: 4; flex: none; height: 46px; margin-top: 22px; padding: 0 18px; border: 0; background: none; cursor: pointer; color: #8e1450;
  -webkit-tap-highlight-color: transparent;
  transition: height .6s ease .2s, margin .6s ease .2s, opacity .3s ease;
}
.box::before { content: ""; position: absolute; left: -200px; right: -200px; top: -100px; bottom: 0; } /* the whole closed scroll is the button */
.box:focus-visible { outline: 2px solid #8e1450; outline-offset: 4px; border-radius: 12px; }
.box-hint { display: inline-block; padding: 9px 18px; border-radius: 999px; background: rgba(255, 249, 238, .88); box-shadow: 0 2px 10px rgba(90, 10, 50, .18); font-family: "Yaldevi", sans-serif; font-size: 17px; line-height: 1.2; letter-spacing: .04em; animation: hint 1.4s ease-in-out infinite alternate; }
@keyframes bob { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes hint { from { opacity: .55; } to { opacity: 1; } }

.opener.open .seal { opacity: 0; transform: scale(1.6); animation: none; }
.opener.open .box { height: 0; margin-top: 0; opacity: 0; pointer-events: none; overflow: hidden; }

/* ---------- Patrika ---------- */
.pk-wrap { width: 100%; display: grid; grid-template-rows: 1fr; }
.pk-clip { min-height: 0; display: flex; justify-content: center; }
.js .pk-wrap { grid-template-rows: 0fr; transition: grid-template-rows 1.9s cubic-bezier(.45, 0, .2, 1) .3s; }
.js .pk-clip { overflow: hidden; }
.js .opener.open .pk-wrap { grid-template-rows: 1fr; }
.js .opener.opened .pk-clip { overflow: visible; }

.patrika {
  container-type: inline-size; flex: none; width: calc(100% - 16px);
  --u: .8cqw; /* text unit: text grows more slowly than the card, so a wide card is roomy rather than huge */
  background:
    url(assets/img/patrika-top.jpg) center top / 100% auto no-repeat,
    url(assets/img/patrika-bottom.jpg) center bottom / 100% auto no-repeat,
    url(assets/img/patrika-mid.jpg) center top / 100% auto repeat-y,
    rgb(247, 239, 229);
  box-shadow: 0 14px 40px rgba(60, 20, 10, .35);
  color: #7a1c24; text-align: center; font-family: "Cormorant Upright", "Cormorant", serif;
}

.pk-body { padding: 72cqw 5cqw 16cqw; display: flex; flex-direction: column; align-items: center; }
.pk-body p, .pk-body h2 { margin: 0; }
.pk-om { font-family: "Gotu", sans-serif; font-size: max(13px, calc(3.2 * var(--u))); line-height: 1.4; color: #a06c12; }
.pk-ganesha { width: calc(22 * var(--u)); height: calc(22 * var(--u)); background: #b07a1c; -webkit-mask: url(assets/img/ganesha.png) center / contain no-repeat; mask: url(assets/img/ganesha.png) center / contain no-repeat; }
.pk-host { margin-top: calc(3 * var(--u)) !important; font-size: calc(5.8 * var(--u)); line-height: 1.15; }
.pk-label { margin-top: calc(2.6 * var(--u)) !important; font-family: "Cormorant", serif; font-style: italic; font-size: calc(4.3 * var(--u)); line-height: 1.2; color: #9a6a16; }
.pk-line { margin-top: calc(.4 * var(--u)) !important; font-size: calc(5 * var(--u)); line-height: 1.18; }
.pk-invite { margin-top: calc(4.5 * var(--u)) !important; font-family: "Cormorant Infant", "Cormorant", serif; font-size: calc(15 * var(--u)); line-height: .95; letter-spacing: .06em; }
.pk-invite + .pk-label { margin-top: calc(1 * var(--u)) !important; }
.pk-couple { margin-top: calc(3 * var(--u)); }
.pk-couple p { font-size: calc(11.4 * var(--u)); line-height: 1; white-space: nowrap; }
.pk-couple .pk-amp { font-family: "Cormorant", serif; font-style: italic; font-size: calc(9 * var(--u)); line-height: .95; color: #a06c12; }
.pk-couple + .pk-label { margin-top: calc(3 * var(--u)) !important; }
.pk-dash { margin-top: calc(1 * var(--u)) !important; color: #a06c12; font-size: calc(4 * var(--u)); line-height: 1; }
.pk-dash + .pk-label { margin-top: calc(1 * var(--u)) !important; }
.pk-event { margin-top: calc(4.5 * var(--u)); width: calc(66 * var(--u)); }
.pk-event .pk-label:first-child { margin-top: 0 !important; }
.pk-event h2 { margin-top: calc(.6 * var(--u)); font-family: "Aboreto", sans-serif; font-weight: 400; font-size: calc(7 * var(--u)); line-height: 1.25; text-transform: uppercase; color: #2f6b3a; }
.pk-when { margin-top: calc(.6 * var(--u)) !important; font-size: calc(5.2 * var(--u)); line-height: 1.18; }
.pk-venue { margin-top: calc(.4 * var(--u)) !important; font-size: calc(4.1 * var(--u)); line-height: 1.18; }
.pk-route {
  display: inline-block; margin-top: calc(3 * var(--u)); padding: calc(2 * var(--u)) calc(5 * var(--u)); border-radius: 999px;
  background: #8e1450; color: #fff3cf; font-family: "Aboreto", sans-serif; font-size: max(13px, calc(3.4 * var(--u))); line-height: 1.2; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(90, 10, 50, .35); transition: transform .3s cubic-bezier(.22, 1, .36, 1), background-color .25s;
}
.pk-route:hover, .pk-route:focus-visible { transform: scale(1.05); background: #a81d62; outline: none; }
.pk-lunch { margin-top: calc(2.4 * var(--u)) !important; font-family: "Cormorant", serif; font-style: italic; font-size: calc(4.6 * var(--u)); color: #2f6b3a; }

/* ---------- Scroll parallax (compositor-driven where supported) ---------- */
.par { will-change: translate; }
@keyframes par { from { translate: 0 0; } to { translate: 0 calc(2000px * var(--s)); } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .par { animation: par linear both; animation-timeline: scroll(root block); animation-range: 0px 2000px; }
  }
}

.js .reveal { opacity: 0; transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1); will-change: opacity; }
.js .reveal.in { opacity: 1; }

/* ---------- Pinned call-to-actions ---------- */
.cta { position: sticky; top: 10px; width: 100%; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.cta-text { display: flex; flex-direction: column; align-items: center; gap: 36px; width: 100%; }
.cta-title { width: 479px; max-width: 100%; font-family: "Aboreto", sans-serif; font-size: 70px; line-height: 115.74%; text-transform: uppercase; }
.cta-sub { font-family: "Yaldevi", sans-serif; font-size: 20px; line-height: 1.2; }

.cta-route { z-index: 2; padding: 20px 0 100px; color: rgb(220, 221, 166); }
.cta-route .cta-text { padding: 17px 0 30px; }
.cta-route .cta-sub { color: rgb(218, 220, 163); }
.s1-spacer { width: 100%; height: 547px; }

.ring { position: relative; display: block; width: 99px; height: 99px; color: inherit; -webkit-tap-highlight-color: transparent; }
.ring-outer { position: absolute; inset: 0; border: 2px solid currentColor; border-radius: 50%; animation: pulse 1s ease-in-out infinite alternate; }
.ring-inner { position: absolute; top: 17px; left: 50%; width: 66px; height: 66px; margin-left: -33px; border: 9px solid currentColor; border-radius: 50%; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.ring:hover .ring-inner { transform: scale(1.12); }

/* ==========================================================================
   SECTION 2
   ========================================================================== */
.s2, .s3, .ft { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-bottom: 700px; }
.s2 { z-index: 2; background: url(assets/img/bg-section2.png) center / cover no-repeat; }

.breaker { position: relative; z-index: 4; width: 100%; flex: none; }
.br-img { position: absolute; left: 50%; z-index: 2; display: block; transform: translateX(-50%); aspect-ratio: 1.50116; }
.br-img img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.br-car { height: 26px; }
.br-car .br-img { width: 988px; top: -492px; }

.meet { width: 100%; padding: 140px 0 200px; display: flex; flex-direction: column; align-items: center; gap: 97px; position: relative; z-index: 2; }
.meet-head { width: 100%; padding: 0 300px; display: flex; flex-direction: column; align-items: center; gap: 57px; text-align: center; color: rgb(251, 237, 226); }
.meet-head h2 { display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: "Aboreto", sans-serif; line-height: 1.2; text-transform: uppercase; }
.meet-head .eyebrow { font-size: 30px; }
.meet-head .big { width: 479px; max-width: 100%; font-size: 70px; }
.meet-copy { min-height: 192px; font-family: "Yaldevi", sans-serif; font-size: 20px; line-height: 1.3; }

.mirror { position: relative; flex: none; width: 691px; aspect-ratio: 0.667546; }
.mirror-frame { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.slideshow {
  position: absolute; z-index: 0; left: 25.86%; top: 36.9%; width: 50.65%; height: 51.2%;
  border-radius: 39px; overflow: hidden; touch-action: pan-y; user-select: none; cursor: grab;
  background: rgba(0, 0, 0, 0.08);
}
.slideshow.dragging { cursor: grabbing; }
.slides { display: flex; height: 100%; will-change: transform; transform: translate3d(-100%, 0, 0); }
.slide { flex: 0 0 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.slide img.contain { object-fit: contain; }
.dots { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; border-radius: 165px; background: rgba(0, 0, 0, 0.2); overflow: hidden; }
.dots button { border: 0; background: transparent; margin: 0; padding: 3px 3.5px; cursor: pointer; display: flex; }
.dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: 0.5; transition: opacity 0.3s; }
.dots button[aria-selected="true"]::before { opacity: 1; }


/* ==========================================================================
   SECTION 3
   ========================================================================== */
.s3 { z-index: 3; background: url(assets/img/bg-section3-desktop.png) center / cover no-repeat; }
.br-birds { height: 200px; }
.br-birds .br-img { width: 1790px; top: -730px; }
.br-birds .br-img img { object-position: center bottom; }

.know { width: 100%; padding-top: 110px; display: flex; flex-direction: column; align-items: center; gap: 80px; position: relative; z-index: 2; color: rgb(105, 107, 54); text-align: center; }
.video { width: min(680px, calc(100% - 60px)); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 0 19.1px rgba(0, 0, 0, 0.45); }
.video iframe { display: block; width: 100%; height: 100%; border: 0; }
.share { width: 100%; padding: 0 30px 200px; display: flex; flex-direction: column; align-items: center; }
.share h2 { font-family: "Aboreto", sans-serif; font-size: 44px; line-height: 1.2; text-transform: uppercase; }
.share-copy { margin-top: 14px; max-width: 480px; font-family: "Yaldevi", sans-serif; font-size: 18px; line-height: 1.3; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
.drop {
  position: relative; margin-top: 36px; width: min(480px, 100%); padding: 34px 24px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
  border: 2px dashed currentColor; border-radius: 28px; background: rgba(255, 253, 235, 0.28);
  transition: background-color 0.25s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.drop:hover, .drop.over { background: rgba(255, 253, 235, 0.55); }
.drop.over { transform: scale(1.02); }
.drop:focus-within { outline: 2px solid currentColor; outline-offset: 4px; }
.drop.busy { cursor: progress; }
.drop svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop-title { font-family: "Aboreto", sans-serif; font-size: 24px; line-height: 1.2; text-transform: uppercase; }
.drop-hint { font-family: "Yaldevi", sans-serif; font-size: 15px; line-height: 1.2; }
.share-status { min-height: 22px; margin-top: 18px; font-family: "Yaldevi", sans-serif; font-size: 16px; line-height: 1.35; }
.share-status.error { color: rgb(150, 48, 30); }
.thumbs { list-style: none; margin: 10px 0 0; padding: 0; width: min(480px, 100%); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: rgba(105, 107, 54, 0.25); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.thumbs li[data-state="waiting"] img, .thumbs li[data-state="uploading"] img { opacity: 0.45; }
.thumbs li::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 18px; height: 18px; border-radius: 50%; }
.thumbs li[data-state="uploading"]::after { border: 2px solid #fff; border-top-color: transparent; animation: spin 0.8s linear infinite; }
.thumbs li[data-state="done"]::after { background: rgb(69, 160, 134) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain; }
.thumbs li[data-state="failed"]::after { background: rgb(190, 60, 40) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain; }
@keyframes spin { to { transform: rotate(360deg); } }
.s3-spacer { width: 100%; height: 99px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ft { z-index: 3; background: url(assets/img/bg-footer-desktop.png) center / cover no-repeat; }
.br-couple { height: 200px; }
.br-couple .br-img { width: 1407px; top: -932px; left: 47%; }
.br-couple .br-img img { object-fit: contain; }

.ft-content { width: 100%; padding: 19px 300px 95px; position: relative; z-index: 2; }
.ft-inner { display: flex; flex-direction: column; align-items: center; gap: 39px; mix-blend-mode: multiply; color: rgb(231, 147, 0); text-align: center; font-family: "Cormorant Upright", "Cormorant", serif; }
.ft-head { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ft-title { font-size: 40px; line-height: 100.1%; }
.countdown { font-size: 34px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ft-copy { width: 418px; max-width: 100%; font-size: 14px; line-height: 1.2; white-space: pre-wrap; }
.ft-gap { height: 144px; }

/* ==========================================================================
   TABLET  810 – 1199.98
   ========================================================================== */
@media (max-width: 1199.98px) {
  .music { top: 35px; left: calc(50% + 330px); }

  .br-car { height: 130px; }
  .br-car .br-img { width: calc(100% + 285px); top: -492px; }
  .meet { padding-top: 120px; }
  .meet-head { padding: 0 100px; }

  .br-birds { height: 263px; }
  .br-birds .br-img { width: 2025px; top: -800px; left: 55%; }
  .br-birds .br-img img { object-position: 51.5% 32.1%; }

  .br-couple { height: 170px; }
  .br-couple .br-img { width: 1032px; top: -532px; left: 48%; }
  .ft-content { padding: 198px 100px 120px; }
}

/* ==========================================================================
   PHONE  < 810
   ========================================================================== */
@media (max-width: 809.98px) {
  .page { max-width: 480px; }
  .music { top: min(639px, calc(100vh - 110px)); top: min(639px, calc(100dvh - 110px)); left: auto; right: max(27px, calc(50% - 213px)); width: 39px; height: 39px; border-radius: 50%; }
  .music svg { width: 16px; height: 16px; }

  /* opening */
  .s1-content { --col: min(100vw, 480px); }
  .s1-content::before {
    background:
      url(assets/img/hero-top.jpg) center top / 100% auto no-repeat,
      url(assets/img/hero-bottom.jpg) center bottom / 100% auto no-repeat,
      url(assets/img/hero-mid.jpg) center / 100% 100% no-repeat;
  }
  .lt { width: calc(var(--w) * .62); top: calc(var(--t) * .8); }
  .lt.wide { display: none; }
  .opener { padding-left: 12px; padding-right: 12px; padding-bottom: calc(var(--col) * .96 - 132px); gap: 30px; }
  .names { gap: 0; font-size: 34px; line-height: 40px; }
  .n2 { font-size: 17px; line-height: 30px; }
  .scroll { width: calc(100% - 20px); }
  .roll { height: 26px; }
  .roll::before, .roll::after { width: 22px; height: 14px; margin-top: -7px; }
  .roll::before { left: -13px; }
  .roll::after { right: -13px; }
  .seal { top: 26px; width: 54px; height: 54px; margin: -27px 0 0 -27px; font-size: 22px; }
  .patrika { width: calc(100% - 12px); --u: 1cqw; }
  .nav { top: 10px; }
  .nav a { padding: 8px 10px; font-size: 13px; }

  /* route CTA: pinned while section 2 slides over it */
  .cta-route { z-index: 3; top: 10px; padding: 0 0 300px; }
  .cta-route .cta-inner { min-height: 380px; justify-content: center; }
  .cta-route .cta-text { padding: 30px 0 44px; }
  .cta-title { font-size: 70px; }
  .cta-route .cta-title { width: 357px; font-size: 50px; }
  .s1-spacer { height: 1000px; }

  /* section 2 */
  .s2 { z-index: 3; padding-bottom: 450px; }
  .br-car { height: 12px; }
  .br-car .br-img { width: 548px; top: -288px; }
  .meet { padding: 90px 30px 200px; }
  .meet-head { padding: 0 30px; gap: 45px; }
  .meet-head .eyebrow { font-size: 21px; }
  .meet-head .big { width: 100%; font-size: 45px; }
  .mirror { width: 390px; }
  .slideshow { border-radius: 22px; }
  .dots { bottom: 18px; }

  /* section 3 */
  .s3 { padding-bottom: 296px; background-image: url(assets/img/bg-section3-phone.png); }
  .br-birds { height: 76px; }
  .br-birds .br-img { width: 1060px; top: -449px; z-index: 5; }
  .know { padding: 150px 30px 100px; gap: 64px; }
  .video { width: 100%; border-radius: 12px; }
  .share { padding: 0 0 40px; }
  .share h2 { font-size: 34px; }
  .share-copy { font-size: 16px; }
  .s3-spacer { display: none; }

  /* footer */
  .ft { z-index: 4; background-image: url(assets/img/bg-footer-phone.png); }
  .br-couple { height: 10px; }
  .br-couple .br-img { width: 571px; top: -289px; left: 50%; z-index: 5; }
  .ft-content { padding: 149px 40px 73px; }
  .ft-head { gap: 41px; }
  .ft-title { font-size: 53px; }
  .ft-copy { width: 100%; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .music, .ring-outer { animation: none; }
  .thumbs li[data-state="uploading"]::after { animation-duration: 2.4s; }
  .js .reveal { opacity: 1; transition: none; }
  .intro-pending .lt img { transform: rotate(var(--r1)); }
  .intro-pending .nm > span { transform: none; }
  .box, .box-hint, .seal, .js .pk-wrap { animation: none; transition: none; }
}
