/* ==========================================================================
   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; }

/* ---------- 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 {
  position: relative; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
  background: rgb(71, 166, 137) url(assets/img/bg-section1-desktop.png) center top / auto 6904px no-repeat; /* fixed scale: the temple stays aligned with the text whatever the content height */
}
.tomb, .sky { display: none; }

/* ---------- Lanterns ---------- */
.lrow { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; mix-blend-mode: hard-light; position: relative; }
.lstack { flex: 1 0 0; width: 1px; display: flex; align-items: center; justify-content: flex-start; position: relative; }
.lbox { flex: 1 0 0; width: 1px; height: 172px; display: flex; justify-content: center; align-items: flex-start; gap: 10px; }
.lgap { flex: 1 0 0; width: 1px; min-height: 50px; }
.bx-a4 { display: none; }
.bx-e5 { justify-content: flex-end; }

.lt { flex: none; position: relative; 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)); }

.st-a { padding-left: 150px; }
.st-b { padding-left: 100px; }
.st-f { padding-left: 200px; }

/*      width      parallax  rise-from   rotate from → to            */
.a1 { --w: 50px;  --s: .3; --y: 300px; --r0: 20deg;  --r1: 7deg; }
.a2 { --w: 65px;  --s: .7; --y: 500px; --r0: -20deg; --r1: -8deg; }
.a3 { --w: 35px;  --s: .7; --y: 300px; --r0: 30deg;  --r1: -7deg; }
.a4 { --w: 28px;  --s: .7; --y: 300px; --r0: -20deg; --r1: -3deg; }
.b1 { --w: 53px;  --s: .5; --y: 600px; --r0: 10deg;  --r1: -7deg; }
.b2 { --w: 64px;  --s: .6; --y: 400px; --r0: -20deg; --r1: 7deg; }
.b3 { --w: 91px;  --s: .4; --y: 300px; --r0: 30deg;  --r1: -7deg; }
.c1 { --w: 106px; --s: .3; --y: 900px; --r0: 30deg;  --r1: 7deg; }
.c2 { --w: 65px;  --s: .6; --y: 400px; --r0: -18deg; --r1: -8deg; }
.c3 { --w: 53px;  --s: .6; --y: 100px; --r0: -17deg; --r1: 10deg; }
.d1 { --w: 53px;  --s: .4; --y: 200px; --r0: -20deg; --r1: -7deg; }
.d2 { --w: 53px;  --s: .3; --y: 300px; --r0: 12deg;  --r1: 17deg; }
.d3 { --w: 53px;  --s: .3; --y: 400px; --r0: -10deg; --r1: -7deg; }
.d4 { --w: 106px; --s: .5; --y: 400px; --r0: 20deg;  --r1: 7deg; }
.e1 { --w: 53px;  --s: .4; --y: 200px; --r0: -20deg; --r1: -7deg; }
.e2 { --w: 53px;  --s: .3; --y: 300px; --r0: 12deg;  --r1: 17deg; }
.e3 { --w: 106px; }
.e4 { --w: 134px; --s: .5; --y: 400px; --r0: 20deg;  --r1: 7deg; }
.e5 { --w: 53px;  --s: .3; --y: 500px; --r0: -10deg; --r1: -7deg; }
.f1 { --w: 79px;  --s: .3; --y: 900px; --r0: 30deg;  --r1: 7deg; }
.f2 { --w: 45px;  --s: .6; --y: 400px; --r0: -18deg; --r1: -8deg; }
.f3 { --w: 53px;  --s: .6; --y: 100px; --r0: -17deg; --r1: 10deg; }
.f4 { --w: 53px; }
.f5 { --w: 91px;  --s: .6; --y: 100px; --r0: -17deg; --r1: 3deg; }
.f6 { --w: 39px;  --s: .6; --y: 100px; --r0: -17deg; --r1: -13deg; }

/* ---------- Names ---------- */
.names {
  flex: 1 0 0; width: 1px; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: "Cormorant", serif; font-size: 72px; line-height: 60px; letter-spacing: -0.01em;
  text-transform: uppercase; text-align: center; color: #fffdeb;
}
.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: 34px; letter-spacing: 0.42em; }
.n3 { --y: 400px; --r0: -10deg; }
.intro-pending .nm > span { transform: translateY(var(--y)) rotate(var(--r0)); }

/* ---------- 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; }
  }
}

/* ---------- Invite ---------- */
.invite {
  width: 100%; padding: 1605px 0 100px; overflow: clip;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: "Cormorant Upright", "Cormorant", serif; color: rgb(243, 236, 186); text-align: center;
  position: relative;
}
.om { font-family: "Gotu", sans-serif; font-size: 15px; line-height: 150%; white-space: nowrap; }
.ganesha { width: 166px; height: 166px; object-fit: cover; }
.parents { width: 100%; padding: 48px 0 38px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 30px; letter-spacing: -0.03em; line-height: 150%; }
.parents p { white-space: nowrap; }
.parents .tight { line-height: 100%; }
.invite-word { height: 116px; display: flex; align-items: center; }
.invite-word p { font-family: "Cormorant Infant", "Cormorant", serif; font-size: 100px; line-height: 70%; white-space: pre; }
.join { height: 31px; font-size: 30px; letter-spacing: -0.05em; line-height: 100%; white-space: nowrap; }
.couple { width: 100%; display: flex; flex-direction: column; align-items: center; }
.couple p { white-space: pre; }
.c-groom { height: 210px; font-size: 112px; line-height: 285px; }
.c-amp { font-size: 156px; line-height: 110%; }
.c-bride { height: 186px; font-family: "Cormorant", serif; font-size: 112px; line-height: 90px; }
.family { width: 100%; height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 46px; font-size: 30px; letter-spacing: -0.05em; line-height: 100%; }
.family-lines { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.family .dash-lg { letter-spacing: -0.03em; line-height: 150%; }

/* ---------- Event cards ---------- */
.events { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; position: relative; }
.card { position: relative; flex: none; width: 480px; height: 400px; }
.oval {
  position: absolute; top: 13px; left: 50%; width: 295px; height: 377px; margin-left: -147.5px;
  border-radius: 180px; background: url(assets/img/card.png) center / cover no-repeat;
  box-shadow: 0 0 19.1px rgba(0, 0, 0, 0.8);
}
.fl1 { position: absolute; top: -30px; left: 175px; width: 155px; aspect-ratio: 0.93825; object-fit: cover; }
.fl2 { position: absolute; top: 239px; left: -28.5px; width: 127px; aspect-ratio: 0.939523; object-fit: cover; }
.card-text { position: absolute; top: 96px; left: 50%; width: 480px; margin-left: -240px; display: flex; flex-direction: column; align-items: center; gap: 46px; color: rgb(69, 160, 134); text-align: center; }
.card-text h3 { width: 260px; font-family: "Aboreto", sans-serif; font-size: 30px; line-height: 150%; text-transform: uppercase; }
.card-text p { width: 170px; padding: 23px 0; font-family: "Cormorant", serif; font-size: 14px; line-height: 107%; }

.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: 99px 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: 300px 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); }
  .s1-content { background-size: auto 6391px; }

  .st-a { padding-left: 50px; }
  .st-f { padding-left: 0; }
  .b1 { --w: 42px; }
  .c1, .d4, .e3, .e4, .f1 { --w: 71px; }
  .c2, .f2 { --w: 46px; }
  .d1, .e1 { --w: 48px; }
  .d2, .e2 { --w: 35px; }
  .names { font-size: 60px; }

  .invite { padding: 1557px 0 150px; }
  .c-groom, .c-bride { font-size: 84px; }
  .parents { padding-left: 180px; padding-right: 180px; }
  .parents .blessings { white-space: normal; width: 120%; }

  .card { width: 322px; height: 348px; }
  .oval { top: 54px; width: 240px; height: 310px; margin-left: -120px; border-radius: 113px; }
  .fl1 { top: -10px; left: 159px; width: 100px; }
  .fl2 { top: 151px; left: -32.5px; }
  .card-text { top: 42px; gap: 18px; }
  .card-text h3 { font-size: 25px; }
  .card-text p { padding: 13px 0; }

  .br-car { height: 130px; }
  .br-car .br-img { width: calc(100% + 285px); top: -492px; }
  .meet { padding-top: 214px; }
  .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; }

  /* hero */
  .s1 { padding-bottom: 150px; }
  .s1-content { gap: 0; background: none; }
  .tomb {
    display: block; position: absolute; z-index: 2; top: 337px; bottom: -363px; left: 50%; width: 766px; margin-left: -383px;
    background: url(assets/img/bg-section1-phone.png) center top / cover no-repeat;
    will-change: transform; pointer-events: none;
  }
  .intro-pending .tomb { transform: translateY(400px); }
  .sky { display: block; position: absolute; z-index: 0; top: 0; left: 0; right: 0; height: 1108px; background: url(assets/img/sky-phone.png) center / cover no-repeat; }

  .lrow-1 { z-index: 2; height: 124px; }
  .lrow-2 { z-index: 1; }
  .lrow-3 { display: none; }
  .lstack { height: 172px; }
  .st-a, .st-b { padding-left: 10px; }
  .bx-a4 { display: flex; order: 0; }
  .a1 { order: 1; --w: 85px; }
  .a2 { order: 2; --w: 22px; }
  .bx-a3 { order: 3; height: 150px; align-items: flex-end; }
  .a3 { --r1: 6deg; }
  .b2 { order: 0; --w: 36px; }
  .b1 { order: 1; --w: 58px; }
  .bx-b3 { order: 2; padding-top: 20px; }
  .b3 { --w: 38px; }

  .st-c { height: auto; padding-top: 44px; }
  .c1 { --w: 72px; --s: .5; --r0: 20deg; }
  .c2 { --w: 43px; }
  .lgap { order: 3; }
  .bx-c3 { order: 2; }
  .c3 { display: none; }
  .st-d { align-items: flex-end; padding-left: 10px; }
  .d1 { --w: 33px; --r1: 6deg; }
  .d2 { --w: 54px; --r1: -13deg; }
  .d3 { --w: 30px; }
  .d4 { --w: 17px; }

  .names { gap: 0; font-size: 36px; }
  .n2 { font-size: 20px; line-height: 27px; }

  /* invite */
  .invite { z-index: 2; padding: 1199px 0 0; }
  .ganesha { width: 134px; height: 134px; }
  .parents { padding: 48px 40px 38px; justify-content: center; font-size: 18px; }
  .parents .tight, .parents .blessings { white-space: normal; }
  .parents .tight { font-size: 20px; }
  .parents .d1 { font-size: 19px; }
  .parents .d2 { font-size: 13px; }
  .parents .d3 { font-size: 11px; }
  .parents .d4 { font-size: 17px; }
  .parents .blessings { width: 105%; }
  .invite-word { height: 163px; }
  .invite-word p { font-size: 80px; line-height: 120%; }
  .join { font-size: 20px; display: flex; align-items: center; }
  .c-groom { height: 104px; font-size: 44px; line-height: 133px; }
  .c-amp { font-size: 70px; }
  .c-bride { height: 76px; font-size: 44px; line-height: 42px; }
  .family { height: 330px; font-size: 20px; }
  .family .dash-lg { font-size: 30px; }

  /* events */
  .events { z-index: 2; gap: 0; }
  .card { width: 100%; height: 472px; }
  .oval { top: 18px; width: 328px; height: 431px; margin-left: -164px; border-radius: 158.24px; }
  .fl1 { top: -65px; left: 179px; width: 198px; }
  .fl2 { top: 322px; left: -17px; width: 158px; transform: rotate(-14deg); }
  .card-text { top: 166.5px; gap: 20px; }
  .card-text h3 { font-size: 28px; }
  .card-text p { width: 100%; padding: 17.76px 0; font-size: 17px; }

  /* 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: 528px; justify-content: center; }
  .cta-route .cta-text { padding: 200px 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; margin-top: -700px; padding-bottom: 450px; }
  .br-car { height: 12px; }
  .br-car .br-img { width: 548px; top: -288px; }
  .meet { padding: 125px 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, .intro-pending .tomb { transform: none; }
}
