/* ==========================================================
   Chandni Ghat barge — wedding invitation
   ========================================================== */

:root {
  --navy: #0B1120;
  --navy-2: #141C33;
  --ivory: #EFE6D6;
  --ivory-2: #F6F0E4;
  --gold: #C9A96E;
  --gold-soft: #DCC497;
  --blush: #E8B4C0;
  --text-light: #F5EFE6;
  --text-dark: #1B2134;
  --muted-light: rgba(245, 239, 230, .62);
  --muted-dark: rgba(27, 33, 52, .62);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text-light);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100vh; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 300; }
p { margin: 0; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 4px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-head { text-align: center; margin-bottom: clamp(40px, 7vw, 80px); position: relative; z-index: 2; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin-top: 14px;
}
.title-rule, .gold-line {
  display: block; width: 40px; height: 1px; background: var(--gold); margin: 22px auto 0;
}
.dark  { background: radial-gradient(ellipse at 50% 30%, var(--navy-2), var(--navy) 70%); color: var(--text-light); }
.light { background: var(--ivory); color: var(--text-dark); }
.light .eyebrow { color: #A8884F; }

section, footer { position: relative; }

/* ==========================================================
   Gates (opening screens)
   ========================================================== */
.gate {
  position: fixed; inset: 0; z-index: 50;
  overflow: hidden;
  background: var(--navy);
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 0s 1.1s;
}
.gate.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease); }
.gate[hidden] { display: block; }

.gate__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.kenburns { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 50% 45%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translateY(-1.5%); } }

.gate__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(11,17,32,.55), transparent 65%),
    linear-gradient(to bottom, rgba(11,17,32,.15), rgba(11,17,32,.55));
}

.frame {
  position: absolute; inset: 12px;
  width: calc(100% - 24px); height: calc(100% - 24px);
  object-fit: fill;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.25));
  opacity: .92;
}

.gate__content {
  position: absolute; left: 50%; bottom: clamp(70px, 12vh, 130px);
  transform: translateX(-50%);
  width: min(92%, 680px);
  text-align: center;
  display: grid; justify-items: center; gap: 18px;
}
.gate__content > * { opacity: 0; animation: rise 1.4s var(--ease) forwards; }
.gate__content > :nth-child(1) { animation-delay: .4s; }
.gate__content > :nth-child(2) { animation-delay: .7s; }
.gate__content > :nth-child(3) { animation-delay: 1.1s; }
.gate__content > :nth-child(4) { animation-delay: 1.5s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.gate__title {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  color: rgba(245, 239, 230, .9);
  text-shadow: 0 2px 30px rgba(11,17,32,.7);
}
.gate__sub { font-size: 14px; color: var(--muted-light); text-shadow: 0 1px 12px rgba(11,17,32,.9); }

.btn-glass {
  margin-top: 8px;
  padding: 14px 30px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  background: rgba(245, 239, 230, .1);
  border: 1px solid rgba(245, 239, 230, .4);
  border-radius: 2px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .4s, border-color .4s, letter-spacing .4s;
}
.btn-glass span { color: var(--gold-soft); margin-left: 10px; }
.btn-glass:hover { background: rgba(245, 239, 230, .2); border-color: var(--gold-soft); letter-spacing: .34em; }

/* Gate 2 — arch */
.gate--arch .gate__bg { transform-origin: var(--ax, 50%) var(--ay, 45%); transition: transform 1.6s cubic-bezier(.7,0,.3,1), filter 1.6s; }
.gate--arch.is-entering .gate__bg { transform: scale(3.2); filter: brightness(1.6); }
.gate--arch.is-entering .frame,
.gate--arch.is-entering .arch-target { opacity: 0; transition: opacity .5s; }

.arch-target {
  position: absolute; left: var(--ax, 50%); top: var(--arch-y, 46%);
  translate: -50% -50%;
  display: grid; justify-items: center; gap: 18px;
  opacity: 0; animation: rise 1.2s .5s var(--ease) forwards;
}
.arch-btn {
  width: 84px; height: 84px; border-radius: 50%;
  font-size: 24px; color: #fff8e6;
  background: radial-gradient(circle, rgba(255, 236, 196, .55), rgba(232, 190, 120, .25) 60%, rgba(27, 33, 52, .25));
  border: 1px solid rgba(255, 236, 196, .8);
  text-shadow: 0 0 12px #ffe2a8;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 220, 160, .7), 0 0 40px 6px rgba(255, 210, 140, .55); }
  50%      { box-shadow: 0 0 0 22px rgba(255, 220, 160, 0), 0 0 80px 18px rgba(255, 210, 140, .8); }
}
.arch-hint {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(27, 33, 52, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.flash {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--ax, 50%) var(--ay, 45%), #fff8e6, #f3dca8 40%, rgba(243,220,168,0) 75%);
  opacity: 0;
}
.gate--arch.is-entering .flash { animation: flash 1.6s ease-in forwards; }
@keyframes flash { 0%, 40% { opacity: 0; } 85% { opacity: 1; } 100% { opacity: 1; } }

/* ==========================================================
   Petals
   ========================================================== */
.petals { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute; top: 0; left: var(--x);
  width: var(--size);
  will-change: transform;
  animation: fall var(--dur) linear var(--delay) infinite;
  opacity: 0;
}
.petal img {
  width: 100%;
  animation: sway var(--sway) ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 6px rgba(11,17,32,.25));
}
@keyframes fall {
  0%   { transform: translate3d(0, -15vh, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: var(--alpha); }
  92%  { opacity: var(--alpha); }
  100% { transform: translate3d(var(--drift), 112vh, 0) rotate(var(--rot)); opacity: 0; }
}
@keyframes sway {
  from { transform: translateX(-22px) rotateY(0deg) rotateZ(-10deg); }
  to   { transform: translateX(22px)  rotateY(55deg) rotateZ(14deg); }
}

/* ==========================================================
   Music button
   ========================================================== */
.music-btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 45;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(11, 17, 32, .6);
  border: 1px solid rgba(201, 169, 110, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
}
.music-btn[hidden] { display: none; }
.music-btn__bars { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.music-btn__bars i { width: 2px; height: 4px; background: var(--gold-soft); border-radius: 1px; }
.music-btn[aria-pressed="true"] .music-btn__bars i { animation: eq 1s ease-in-out infinite alternate; }
.music-btn__bars i:nth-child(2) { animation-delay: -.3s; }
.music-btn__bars i:nth-child(3) { animation-delay: -.6s; }
.music-btn__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 3px; } to { height: 16px; } }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  min-height: 100vh; min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  padding: 90px var(--gutter) 90px;
}
.hero__bg { position: absolute; inset: -10% 0 -10% 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) saturate(.9); }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,17,32,.85) 0%, rgba(11,17,32,.4) 45%, rgba(11,17,32,.1) 100%),
              linear-gradient(to bottom, rgba(11,17,32,.6), transparent 30%, transparent 70%, var(--navy));
}
.hero__datestamp {
  position: absolute; top: 28px; right: var(--gutter);
  font-size: 11px; letter-spacing: .3em; color: var(--muted-light);
}
.hero__content { position: relative; z-index: 2; }
.hero__names { font-family: var(--serif); line-height: .9; margin: 22px 0 34px; }
.hero__name { display: block; font-size: clamp(76px, 12vw, 150px); font-weight: 300; }
.hero__and {
  display: block; font-style: italic; font-size: clamp(20px, 2.2vw, 28px);
  color: var(--gold); margin: 6px 0 6px clamp(120px, 15vw, 210px);
}
.hero__meta {
  display: flex; align-items: center; gap: 18px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  max-width: 560px;
}
.hero__rule { flex: 1; height: 1px; background: rgba(245, 239, 230, .3); min-width: 30px; }
.hero__venue { margin-top: 18px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }

.hero__in { opacity: 0; transform: translateY(26px); }
.is-open .hero__in { animation: rise 1.4s var(--ease) var(--d, 0s) forwards; }

.hero__barge {
  position: relative; z-index: 2;
  justify-self: end; align-self: end;
  width: min(100%, 620px);
  margin-bottom: -40px;
  opacity: 0;
}
.is-open .hero__barge { animation: sail-in 2.4s var(--ease) .5s forwards; }
.hero__barge img { animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
@keyframes sail-in { from { opacity: 0; transform: translate(18%, 6%); } to { opacity: 1; transform: none; } }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50%      { transform: translateY(-12px) rotate(.6deg); }
}

.hero__continue {
  position: absolute; left: var(--gutter); bottom: 34px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  color: var(--muted-light);
}
.hero__continue span { width: 40px; height: 1px; background: currentColor; transition: width .4s; }
.hero__continue:hover span { width: 64px; }

/* ==========================================================
   Story
   ========================================================== */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 40px;
  padding: clamp(90px, 14vw, 180px) var(--gutter);
  overflow: hidden;
}
.story__side { display: flex; align-items: center; gap: 16px; align-self: start; padding-top: 18px; }
.story__side .gold-line { margin: 0; }
.story__shloka { font-family: var(--serif); font-size: 18px; color: #A8884F; white-space: nowrap; }
.story__body { position: relative; z-index: 2; }
.story__text {
  font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.15;
  font-weight: 400;
}
.story__text span { display: block; }
.story__parents {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px;
  font-size: 13px; color: var(--muted-dark);
}
.vrule { width: 1px; height: 22px; background: rgba(27,33,52,.25); }
.story__flora {
  position: absolute; right: -8%; bottom: -12%;
  width: min(60vw, 720px);
  opacity: .14; filter: grayscale(.3);
  transform: scaleX(-1);
  pointer-events: none;
}

/* ==========================================================
   Couple
   ========================================================== */
.couple { padding: clamp(90px, 12vw, 150px) var(--gutter) clamp(80px, 10vw, 130px); overflow: hidden; }
.couple__grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px) 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  max-width: 1200px; margin: 0 auto;
}
.couple__img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); }
.couple__person h3 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); margin: 10px 0 8px; }
.couple__person p:last-child { font-size: 13px; color: var(--muted-light); }
.couple__person--bride { text-align: right; }
.hashtag {
  text-align: center; margin-top: 56px;
  font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
}

/* ==========================================================
   Save the date
   ========================================================== */
.date { padding: clamp(90px, 12vw, 150px) var(--gutter); overflow: hidden; }
.date__watermark {
  position: absolute; left: 50%; top: 40px; transform: translateX(-50%);
  height: calc(100% - 80px); width: auto; max-width: none;
  opacity: .35; mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%);
}
.date__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px);
  max-width: 1100px; margin: 0 auto;
}
.date__card { border-left: 1px solid rgba(168, 136, 79, .45); padding-left: clamp(20px, 3vw, 40px); }
.date__weekday { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #A8884F; }
.date__day { font-family: var(--serif); font-size: clamp(90px, 11vw, 130px); line-height: 1; margin-top: 8px; }
.date__month { font-family: var(--serif); font-size: 22px; letter-spacing: .14em; color: var(--muted-dark); }
.date__time { font-family: var(--serif); font-size: 26px; margin-top: 30px; }
.date__place { font-size: 13px; margin-top: 4px; }
.date__note { font-size: 13px; color: var(--muted-dark); margin-top: 18px; max-width: 340px; }

.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(27,33,52,.15);
  border-bottom: 1px solid rgba(27,33,52,.15);
}
.countdown div { text-align: center; padding: 18px 4px; }
.countdown div + div { border-left: 1px solid rgba(27,33,52,.12); }
.countdown span { display: block; font-family: var(--serif); font-size: clamp(36px, 4.4vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-dark); }

.flow { margin-top: 40px; }
.timeline { list-style: none; margin: 18px 0 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px;
  background: rgba(168, 136, 79, .45);
}
.timeline li {
  position: relative; display: flex; justify-content: space-between; gap: 20px;
  padding: 10px 0 10px 32px; font-size: 14px;
  border-bottom: 1px dashed rgba(27,33,52,.1);
}
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px; border-radius: 50%;
  border: 1px solid #A8884F; background: var(--ivory);
}
.timeline time { font-family: var(--serif); font-size: 18px; color: #8C6E3A; }

/* ==========================================================
   Venue
   ========================================================== */
.venue { padding: clamp(90px, 12vw, 150px) var(--gutter); }
.venue__grid {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 70px);
  align-items: center; max-width: 1200px; margin: 0 auto;
}
.venue__name { font-family: var(--serif); font-size: clamp(48px, 6vw, 76px); line-height: 1; margin: 16px 0 14px; }
.venue__addr { font-size: 13px; color: var(--muted-light); }
.venue__when { font-family: var(--serif); font-size: 20px; color: var(--gold-soft); margin-top: 22px; }
.venue__actions { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 34px; }
.text-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
  background: none; border: 0; padding: 0 0 6px;
  border-bottom: 1px solid rgba(201, 169, 110, .45);
  transition: color .3s, border-color .3s;
}
.text-btn:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.text-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.map-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: 6px;
  border: 1px solid rgba(201, 169, 110, .25);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  text-decoration: none;
}
.map-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.map-card:hover img { transform: scale(1.05); }
.map-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,17,32,.85), transparent 55%);
}
.map-card__text { position: absolute; left: 22px; bottom: 20px; z-index: 2; display: grid; gap: 2px; }
.map-card__text strong { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.map-card__text small { font-size: 12px; color: var(--muted-light); }
.map-card__arrow {
  position: absolute; right: 20px; bottom: 20px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(245,239,230,.35); border-radius: 3px;
}
.map-card__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ==========================================================
   Closing
   ========================================================== */
.closing {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden; text-align: center;
  padding: 120px var(--gutter);
}
.closing__bg { position: absolute; inset: -10% 0; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.38); }
.closing__ghost {
  position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--serif); font-size: clamp(60px, 13vw, 190px); white-space: nowrap;
  text-transform: uppercase; letter-spacing: .04em;
  color: rgba(245, 239, 230, .06);
}
.closing__lotus {
  position: absolute; bottom: -4%; left: -6%;
  width: min(80vw, 980px);
  pointer-events: none;
  animation: breathe 9s ease-in-out infinite alternate;
}
.closing__lotus--right { left: auto; right: -10%; transform: scaleX(-1); width: min(60vw, 760px); animation-delay: -4s; }
@keyframes breathe { from { translate: 0 0; } to { translate: 0 -10px; } }
.closing__content { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; }
.closing__title {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(42px, 6.5vw, 80px); line-height: 1.05;
  color: var(--gold-soft);
  text-shadow: 0 2px 30px rgba(11,17,32,.9);
}
.closing__content .eyebrow { color: var(--text-light); text-shadow: 0 1px 10px rgba(11,17,32,.9); }
.closing__tag {
  margin-top: 18px; background: rgba(11,17,32,.45); border: 1px solid rgba(201,169,110,.4);
  padding: 10px 20px; border-radius: 999px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .3s, color .3s;
}
.closing__tag:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60;
  transform: translate(-50%, 20px);
  padding: 10px 20px; border-radius: 999px;
  background: var(--ivory); color: var(--navy);
  font-size: 12px; letter-spacing: .1em;
  opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   Scroll reveals
   ========================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-lines span { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-lines.in span { opacity: 1; transform: none; }
.reveal-lines.in span:nth-child(2) { transition-delay: .12s; }
.reveal-lines.in span:nth-child(3) { transition-delay: .24s; }
.reveal-lines.in span:nth-child(4) { transition-delay: .36s; }
.reveal-lines.in span:nth-child(5) { transition-delay: .48s; }
.slide-in-left, .slide-in-right { opacity: 0; transition: opacity 1.2s var(--ease) .2s, transform 1.2s var(--ease) .2s; }
.slide-in-left  { transform: translateX(-60px); }
.slide-in-right { transform: translateX(60px); }
.slide-in-left.in, .slide-in-right.in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; align-content: center; padding-top: 80px; padding-bottom: 70px; }
  .hero__shade { background: linear-gradient(to bottom, rgba(11,17,32,.7), rgba(11,17,32,.35) 45%, var(--navy)); }
  .hero__barge { justify-self: center; width: min(92%, 440px); margin: 18px 0 0; }
  .hero__and { margin-left: clamp(70px, 26vw, 140px); }

  .story { grid-template-columns: 1fr; gap: 26px; }
  .vrule { display: none; }
  .story__parents { flex-direction: column; align-items: flex-start; gap: 8px; }

  .couple__grid { grid-template-columns: 1fr 1fr; }
  .couple__img { grid-column: 1 / -1; grid-row: 1; max-width: 320px; margin: 0 auto; }
  .couple__person h3 { font-size: 28px; }

  .date__grid, .venue__grid { grid-template-columns: 1fr; }
  .date__watermark { opacity: .25; }
}
@media (max-width: 520px) {
  .frame { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
  .gate__content { bottom: 64px; }
  .hero__meta { flex-wrap: wrap; gap: 8px 14px; font-size: 10px; }
  .hero__rule { display: none; }
  .couple__person--bride, .couple__person--groom { text-align: center; }
  .couple__grid { grid-template-columns: 1fr; }
  .countdown span { font-size: 32px; }
  .countdown small { letter-spacing: .18em; }
  .closing__lotus { width: 130vw; left: -30%; }
  .closing__lotus--right { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .petals { display: none; }
  html { scroll-behavior: auto; }
}
