/* =========================================================
   Bengali Wedding Invite: premium watercolour theme
   ========================================================= */
:root {
  --ivory: #F8F1E4;
  --paper: #FBF6EC;
  --sindoor: #A3161A;
  --maroon: #6E0F14;
  --maroon-dk: #3F080C;
  --gold: #B8893A;
  --gold-lt: #E2C27A;
  --leaf: #3F6B3A;
  --turmeric: #E8B931;
  --ink: #3B1D14;
  --ink-soft: #6B4A3A;
  --col: 520px;
  --f-bn: "Noto Serif Bengali", serif;
  --f-bn-disp: "Galada", "Noto Serif Bengali", serif;
  --f-en: "Cormorant Garamond", Georgia, serif;
  --f-en-disp: "Great Vibes", cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--maroon-dk);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* desktop side backdrop */
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, #6A0E13 0%, #3F080C 75%);
}
body::after { /* faint rotating alpona behind the column */
  content: "";
  position: fixed; left: 50%; top: 50%; z-index: -1;
  width: min(1200px, 150vh); aspect-ratio: 1; translate: -50% -50%;
  background: url("../assets/img/alpona.webp") center / contain no-repeat;
  opacity: .16;
  animation: spin 240s linear infinite;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

/* ---------- language switching ---------- */
html.lang-bn .t-en, html.lang-en .t-bn { display: none !important; }
html.lang-bn body { font-family: var(--f-bn); font-size: 15px; }
html.lang-en body { font-family: var(--f-en); font-size: 17.5px; }

/* display (script) type per language */
.hero__headline, .sec-head__title, .names, .fam__title, .ev__name, .closing__line, .closing__names, .story__txt h3, .pin b { font-weight: 400; }
html.lang-bn :is(.hero__headline, .sec-head__title, .names, .fam__title, .ev__name, .closing__line, .closing__names, .pin b) { font-family: var(--f-bn-disp); }
html.lang-en :is(.hero__headline, .sec-head__title, .names, .fam__title, .ev__name, .closing__line, .closing__names, .pin b) { font-family: var(--f-en-disp); }

/* ---------- page column ---------- */
.app {
  position: relative;
  max-width: var(--col);
  margin: 0 auto;
  background: var(--paper) url("../assets/img/parchment.webp") center top / 100% auto repeat-y;
  box-shadow: 0 0 80px rgba(0, 0, 0, .55);
  overflow: hidden;
}
.sec { position: relative; padding: 76px 22px 70px; text-align: center; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1.1s ease, transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---------- section heading ---------- */
.sec-head { position: relative; z-index: 2; margin-bottom: 38px; }
.sec-head__emblem { width: 54px; margin: 0 auto 6px; filter: drop-shadow(0 3px 6px rgba(110, 15, 20, .2)); }
.sec-head__title { color: var(--sindoor); font-size: 2.6rem; line-height: 1.25; }
html.lang-en .sec-head__title { font-size: 3rem; }
.divider { display: block; width: 190px; height: 20px; margin: 8px auto 0; color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 1rem; line-height: 1.1; letter-spacing: .02em;
  text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--gold {
  color: var(--maroon-dk);
  background: linear-gradient(135deg, #C2913F 0%, #EDD292 45%, #C99A45 70%, #B07F32 100%);
  box-shadow: 0 6px 18px rgba(120, 70, 10, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--ghost { color: var(--maroon); background: rgba(251, 246, 236, .6); box-shadow: inset 0 0 0 1px var(--gold); }
.btn--sm { padding: 10px 16px; font-size: .85rem; }
html.lang-en .btn--sm { font-size: .95rem; }
.btn--maroon { background: var(--maroon); color: var(--ivory); }
.btn--line { color: var(--maroon); box-shadow: inset 0 0 0 1px var(--gold); background: transparent; }
.btn--wa { background: #1E6B45; color: #fff; }

/* =========================================================
   GATE (carved doors)
   ========================================================= */
.gate { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; pointer-events: auto; }
.gate__stage { position: relative; width: 100%; max-width: var(--col); height: 100%; perspective: 1700px; overflow: hidden; }
.gate__door {
  position: absolute; top: 0; width: 50%; height: 100%; object-fit: cover;
  transition: transform 2.1s cubic-bezier(.62, .02, .28, 1) .55s, filter 2.1s ease .55s;
  backface-visibility: hidden; will-change: transform;
}
.gate__door--l { left: 0; object-position: right center; transform-origin: left center; }
.gate__door--r { right: 0; object-position: left center; transform-origin: right center; }
.gate__veil {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 48%, rgba(40, 5, 8, .15), rgba(40, 5, 8, .6) 85%);
  transition: opacity .8s ease;
}
.gate__card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(84%, 350px); padding: 46px 22px 26px; text-align: center;
  background: rgba(251, 246, 236, .96) url("../assets/img/parchment.webp") center / cover;
  border-radius: 175px 175px 16px 16px;
  box-shadow: 0 0 0 6px rgba(251, 246, 236, .95), 0 0 0 7.5px var(--gold), 0 24px 70px rgba(0, 0, 0, .55);
  transition: opacity .7s ease, transform .9s var(--ease);
  animation: cardIn 1.4s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } }
.gate__emblem { width: 62px; margin: 0 auto 4px; animation: flutter 3.2s ease-in-out infinite; }
@keyframes flutter { 0%, 100% { transform: translateY(0) scaleX(1); } 50% { transform: translateY(-4px) scaleX(.9); } }
.gate__bless { font-family: var(--f-bn); font-size: .72rem; color: var(--maroon); letter-spacing: .04em; }
.gate__title { font-family: var(--f-bn-disp); font-weight: 400; font-size: 3.1rem; line-height: 1.2; color: var(--sindoor); margin-top: 4px; }
.gate__names { display: flex; flex-direction: column; margin-top: 2px; }
.gate__names span[lang="bn"] { font-family: var(--f-bn); font-weight: 600; font-size: 1.25rem; color: var(--maroon); }
.gate__names-en { font-family: var(--f-en-disp); font-size: 1.75rem; color: var(--gold); line-height: 1.2; }
.gate__card .divider { width: 150px; }
.gate__invite { display: flex; flex-direction: column; margin: 8px 0 18px; font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }
.gate__invite span[lang="bn"] { font-family: var(--f-bn); }
.gate__invite span:last-child { font-family: var(--f-en); font-style: italic; font-size: .98rem; }
.gate__btns { display: flex; flex-direction: column; gap: 10px; align-items: stretch; padding: 0 8px; }
.gate__btns .btn[lang="bn"] { font-family: var(--f-bn); }
.gate__btns .btn:not([lang]) { font-family: var(--f-en); font-size: 1.08rem; }

.gate.is-opening { pointer-events: none; }
.gate.is-opening .gate__card { opacity: 0; transform: translate(-50%, -50%) scale(.94); }
.gate.is-opening .gate__veil { opacity: 0; }
.gate.is-opening .gate__door--l { transform: rotateY(-108deg); filter: brightness(.7); }
.gate.is-opening .gate__door--r { transform: rotateY(108deg); filter: brightness(.7); }
.gate.is-gone { display: none; }

/* ---------- floating controls ---------- */
.controls {
  position: fixed; z-index: 60; top: 14px;
  right: max(14px, calc((100vw - var(--col)) / 2 + 14px));
  display: flex; gap: 8px;
}
.controls[hidden] { display: none; }
.ctl {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  font-family: var(--f-bn); font-weight: 600; font-size: .78rem; color: var(--maroon);
  background: rgba(251, 246, 236, .88); border: 1px solid var(--gold);
  box-shadow: 0 4px 14px rgba(60, 10, 10, .25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ctl[hidden] { display: none; }
#musicBtn .ic-off { display: none; }
#musicBtn.is-off .ic-on { display: none; }
#musicBtn.is-off .ic-off { display: block; }
#musicBtn:not(.is-off) .ic-on { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.15); } }

.petals { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }

/* ---------- photo + placeholder ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(160deg, #F4E7D0, #E6CFA8); }
.ph__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph__empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--ink-soft); font-size: .78rem; letter-spacing: .03em;
}
.ph__empty img { width: 42px; opacity: .5; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: 112px; padding-bottom: 170px; }
.garland { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); width: 122%; max-width: none; z-index: 3; pointer-events: none; }
.hero__bless { font-size: .82rem; color: var(--maroon); letter-spacing: .04em; }
html.lang-en .hero__bless { font-size: .95rem; }
.hero__headline { color: var(--sindoor); font-size: 3.3rem; line-height: 1.2; margin-top: 4px; text-shadow: 0 2px 0 rgba(184, 137, 58, .18); }
html.lang-en .hero__headline { font-size: 3.4rem; }

.arch { position: relative; width: min(84%, 390px); aspect-ratio: 941 / 1587; margin: 6px auto 0; }
.arch__photo { position: absolute; left: 23%; right: 23%; top: 15%; bottom: 5.5%; border-radius: 50% 50% 6px 6px / 26% 26% 6px 6px; box-shadow: inset 0 0 30px rgba(80, 30, 10, .25); }
.arch__photo .ph__empty { padding-top: 10%; }
.arch__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(60, 30, 10, .18)); }

.names { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .3em; color: var(--maroon); font-size: 3.2rem; line-height: 1.25; margin-top: 6px; }
html.lang-en .names { font-size: 3.5rem; }
.names em { font-style: normal; color: var(--gold); font-size: .62em; }
.hero__date { margin-top: 6px; color: var(--maroon); font-weight: 600; font-size: 1.02rem; letter-spacing: .03em; }
html.lang-en .hero__date { text-transform: uppercase; font-size: .95rem; letter-spacing: .18em; }
.hero__line { max-width: 330px; margin: 6px auto 0; color: var(--ink-soft); font-size: .95rem; }
html.lang-en .hero__line { font-style: italic; font-size: 1.1rem; }

.cd { margin-top: 26px; }
.cd__label { font-size: .78rem; color: var(--gold); letter-spacing: .08em; margin-bottom: 10px; }
html.lang-en .cd__label { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; }
.cd__row { display: flex; justify-content: center; gap: 9px; }
.cd__cell {
  width: 66px; padding: 10px 0 8px; border-radius: 40px 40px 8px 8px;
  background: rgba(251, 246, 236, .9); border: 1px solid rgba(184, 137, 58, .7);
  box-shadow: 0 6px 14px rgba(110, 50, 10, .12), inset 0 0 0 3px rgba(251, 246, 236, .9), inset 0 0 0 4px rgba(184, 137, 58, .3);
}
.cd__cell b { display: block; color: var(--sindoor); font-size: 1.55rem; line-height: 1.15; font-weight: 600; font-variant-numeric: tabular-nums; }
html.lang-en .cd__cell b { font-size: 1.75rem; }
.cd__cell small { display: block; font-size: .66rem; color: var(--ink-soft); letter-spacing: .04em; }
html.lang-en .cd__cell small { font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; }

.hero__ghots { position: absolute; left: 0; right: 0; bottom: 18px; height: 0; }
.ghot { position: absolute; bottom: 0; width: 96px; filter: drop-shadow(0 8px 10px rgba(60, 20, 5, .2)); }
.ghot--l { left: 6px; }
.ghot--r { right: 6px; transform: scaleX(-1); }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .72rem; color: var(--gold); letter-spacing: .12em; }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* =========================================================
   STORY
   ========================================================= */
.story { padding-bottom: 40px; }
.story::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../assets/img/haldi.webp") center / cover;
  -webkit-mask: linear-gradient(transparent, #000 16%, #000 84%, transparent);
  mask: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
.banana { position: absolute; width: 150px; z-index: 1; pointer-events: none; opacity: .95; }
.banana--tl { top: -10px; left: -54px; transform: rotate(180deg) scaleX(-1); }
.banana--br { bottom: -20px; right: -50px; transform: scaleX(-1); }
.story__list { position: relative; z-index: 2; }
.story__item { position: relative; margin-bottom: 58px; text-align: left; }
.frame-arch {
  width: 66%; aspect-ratio: 3 / 4; border-radius: 999px 999px 10px 10px / 46% 46% 10px 10px;
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6.5px var(--gold), 0 18px 34px rgba(90, 40, 10, .25);
}
.story__item--rev .frame-arch { margin-left: auto; }
.story__txt {
  position: relative; z-index: 2; width: 74%; margin: -78px 0 0 auto; padding: 18px 20px 18px;
  background: rgba(251, 246, 236, .96); border: 1px solid rgba(184, 137, 58, .55);
  box-shadow: 0 14px 30px rgba(90, 40, 10, .16);
}
.story__item--rev .story__txt { margin-left: 0; }
.story__tag { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
html.lang-en .story__tag { text-transform: uppercase; letter-spacing: .22em; font-family: var(--f-en); }
.story__tag::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin-left: 8px; }
.story__txt h3 { color: var(--sindoor); font-size: 1.35rem; line-height: 1.35; margin: 2px 0 6px; }
html.lang-bn .story__txt h3 { font-family: var(--f-bn-disp); font-size: 1.5rem; }
html.lang-en .story__txt h3 { font-style: italic; font-weight: 600; font-size: 1.45rem; }
.story__txt p { font-size: .92rem; color: var(--ink-soft); }
html.lang-en .story__txt p { font-size: 1.05rem; }

/* =========================================================
   JOURNEY (two homes, one path)
   ========================================================= */
.journey { padding-bottom: 40px; }
.journey__map { position: relative; width: 100%; max-width: 420px; margin: -10px auto 0; aspect-ratio: 400 / 600; }
.journey__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.journey__path { fill: none; stroke: var(--sindoor); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: .1 10; }
.journey__draw { fill: none; stroke: #fff; stroke-width: 16; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3.2s cubic-bezier(.45, 0, .25, 1) .4s; }
.journey__map.drawing .journey__draw { stroke-dashoffset: 0; }
.journey__fly { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.house { position: absolute; width: 52%; filter: drop-shadow(0 12px 14px rgba(70, 35, 10, .2)); }
.house--from { left: -2%; top: 1%; }
.house--to { right: -2%; top: 58%; --d: .3s; }
.pin { position: absolute; z-index: 2; width: 44%; display: flex; flex-direction: column; }
.pin--from { left: 54%; top: 6%; align-items: flex-start; text-align: left; --d: .2s; }
.pin--to { left: 1%; top: 64%; align-items: flex-end; text-align: right; --d: .5s; }
.pin__icon { width: 58px; margin-bottom: 2px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .15)); }
.pin b { color: var(--sindoor); font-size: 1.65rem; line-height: 1.2; }
html.lang-en .pin b { font-size: 1.9rem; }
.pin > span { font-size: .8rem; color: var(--ink-soft); }
html.lang-en .pin > span { font-size: .95rem; font-style: italic; }

/* =========================================================
   FAMILIES
   ========================================================= */
.fam__list { position: relative; z-index: 2; }
.fam {
  position: relative; margin: 54px auto 0; max-width: 400px; padding: 66px 30px 50px;
  background: linear-gradient(180deg, rgba(255, 252, 245, .97), rgba(248, 239, 222, .97));
  border: 1px solid var(--gold);
  outline: 1px solid rgba(184, 137, 58, .45); outline-offset: -9px;
  box-shadow: 0 18px 40px rgba(90, 40, 10, .14);
}
.corner { position: absolute; width: 44px; height: 44px; color: var(--gold); }
.corner:nth-of-type(1) { top: 14px; left: 14px; }
.corner:nth-of-type(2) { top: 14px; right: 14px; transform: scaleX(-1); }
.corner:nth-of-type(3) { bottom: 14px; left: 14px; transform: scaleY(-1); }
.corner:nth-of-type(4) { bottom: 14px; right: 14px; transform: scale(-1, -1); }
.fam__crown { position: absolute; top: -50px; left: 50%; transform: translateX(-50%); width: 96px; filter: drop-shadow(0 8px 10px rgba(80, 30, 10, .2)); }
.fam__title { color: var(--sindoor); font-size: 2rem; line-height: 1.25; }
html.lang-en .fam__title { font-size: 2.3rem; }
.fam__role { margin-top: 10px; font-size: .74rem; color: var(--gold); font-weight: 600; letter-spacing: .14em; }
html.lang-en .fam__role { text-transform: uppercase; letter-spacing: .24em; }
.fam__person { font-weight: 600; font-size: 1.2rem; color: var(--maroon); }
html.lang-en .fam__person { font-size: 1.4rem; }
.fam__rows { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(184, 137, 58, .35); display: grid; gap: 10px; }
.fam__rows li { display: flex; flex-direction: column; line-height: 1.45; }
.fam__rows li > span { font-size: .7rem; color: var(--gold); font-weight: 600; letter-spacing: .1em; }
html.lang-en .fam__rows li > span { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; }
.fam__rows b { font-weight: 500; font-size: .97rem; color: var(--ink); }
html.lang-en .fam__rows b { font-size: 1.08rem; }
.fam__join { margin: 20px -10px -16px; }
.fam__knot { width: 100%; }

/* =========================================================
   EVENTS (maroon)
   ========================================================= */
.events { padding-top: 140px; background: radial-gradient(ellipse at 50% 18%, #92191F 0%, #6E0F14 45%, #4A0A0E 100%); }
.drape { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 124%; max-width: none; z-index: 3; pointer-events: none; }
.events__alpona {
  position: absolute; left: -30%; top: 140px; width: 160%; aspect-ratio: 1;
  background: url("../assets/img/alpona.webp") center / contain no-repeat; opacity: .07;
  animation: spin 160s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.events .sec-head__title { color: var(--gold-lt); }
.events .divider { color: var(--gold-lt); }
.ev__list { position: relative; z-index: 2; display: grid; gap: 34px; }
.ev {
  max-width: 390px; width: 100%; margin: 0 auto; padding: 24px 22px 24px;
  background: var(--paper) url("../assets/img/parchment.webp") center / cover;
  border-radius: 150px 150px 16px 16px;
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6.5px var(--gold-lt), 0 22px 46px rgba(0, 0, 0, .4);
}
.ev__icon img { width: 148px; margin: 4px auto 6px; filter: drop-shadow(0 8px 10px rgba(80, 30, 10, .18)); }
.ev__name { color: var(--sindoor); font-size: 2.05rem; line-height: 1.2; }
html.lang-en .ev__name { font-size: 2.4rem; }
.ev__date { margin-top: 6px; font-weight: 600; color: var(--maroon); font-size: 1rem; }
html.lang-en .ev__date { font-size: 1.12rem; }
.ev__time {
  display: inline-block; margin-top: 8px; padding: 4px 14px; border-radius: 999px;
  background: rgba(232, 185, 49, .2); color: var(--ink); font-size: .88rem; font-weight: 500;
}
html.lang-en .ev__time { font-size: 1rem; }
.ev__venue { margin: 14px 0 16px; padding-top: 12px; border-top: 1px dashed rgba(184, 137, 58, .55); display: flex; flex-direction: column; line-height: 1.5; }
.ev__venue b { color: var(--maroon); font-weight: 600; font-size: 1.05rem; }
.ev__venue > span { color: var(--ink-soft); font-size: .86rem; }
html.lang-en .ev__venue > span { font-size: 1rem; }
.ev__btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   LETTER
   ========================================================= */
.letter { padding-top: 70px; }
.letter__sheet {
  position: relative; margin: 74px auto 0; max-width: 420px; padding: 96px 38px 92px;
  background: url("../assets/img/paper.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 16px 24px rgba(90, 45, 10, .18));
}
.letter__dala { position: absolute; top: -62px; left: 50%; transform: translateX(-50%); width: 124px; filter: drop-shadow(0 8px 10px rgba(80, 30, 10, .22)); }
.letter__bless { color: var(--sindoor); font-size: .9rem; font-weight: 600; }
html.lang-en .letter__bless { font-size: 1.05rem; letter-spacing: .02em; }
.letter__salute { margin: 16px 0 10px; text-align: left; color: var(--maroon); font-weight: 600; font-size: .95rem; }
html.lang-en .letter__salute { font-size: 1.1rem; font-style: italic; }
.letter__body p { text-align: justify; font-size: .93rem; line-height: 1.95; margin-bottom: 12px; color: var(--ink); }
html.lang-en .letter__body p { font-size: 1.08rem; line-height: 1.75; text-align: left; }
.letter__sign { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.letter__sign > span { font-size: .9rem; color: var(--ink-soft); }
.letter__sign b { color: var(--maroon); font-weight: 600; font-size: 1rem; max-width: 80%; }
html.lang-en .letter__sign b { font-size: 1.12rem; }
.letter__shankha { position: absolute; left: -14px; bottom: -14px; width: 116px; transform: rotate(-10deg); filter: drop-shadow(0 6px 8px rgba(80, 30, 10, .2)); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { padding-top: 118px; }
.gal { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gal__item {
  padding: 5px; border: 0; cursor: zoom-in; background: var(--paper);
  box-shadow: 0 0 0 1px rgba(184, 137, 58, .6), 0 12px 24px rgba(90, 40, 10, .15);
}
.gal__item .ph { aspect-ratio: 4 / 5; }
.gal__item:nth-child(3n) { grid-column: span 2; }
.gal__item:nth-child(3n) .ph { aspect-ratio: 16 / 10; }

.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(25, 4, 6, .93); opacity: 0; transition: opacity .3s; }
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold); }
.lightbox__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: var(--ivory); font-size: 2.2rem; cursor: pointer; }

/* =========================================================
   RSVP
   ========================================================= */
.rsvp { padding-top: 40px; }
.rsvp .sec-head { margin-bottom: 10px; }
.rsvp__sub { max-width: 320px; margin: 0 auto 26px; color: var(--ink-soft); font-size: .92rem; }
html.lang-en .rsvp__sub { font-style: italic; font-size: 1.08rem; }
.contact__list { display: grid; gap: 18px; }
.contact {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 22px 18px;
  background: rgba(255, 252, 245, .9); border: 1px solid rgba(184, 137, 58, .6);
  outline: 1px solid rgba(184, 137, 58, .3); outline-offset: -6px;
}
.contact__label { font-size: .72rem; font-weight: 600; color: var(--gold); letter-spacing: .14em; }
html.lang-en .contact__label { text-transform: uppercase; letter-spacing: .24em; }
.contact__name { color: var(--maroon); font-weight: 600; font-size: 1.1rem; }
html.lang-en .contact__name { font-size: 1.25rem; }
.contact__phone { color: var(--ink-soft); text-decoration: none; font-family: var(--f-en); font-size: 1.05rem; letter-spacing: .04em; margin-bottom: 10px; }
.contact__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   CLOSING
   ========================================================= */
.closing { padding-top: 60px; padding-bottom: 190px; }
.closing__alpona {
  position: absolute; left: 50%; top: 20px; width: 150%; aspect-ratio: 1; transform: translateX(-50%);
  background: var(--sindoor); opacity: .06;
  -webkit-mask: url("../assets/img/alpona.webp") center / contain no-repeat; mask: url("../assets/img/alpona.webp") center / contain no-repeat;
  pointer-events: none;
}
.closing__walk { position: relative; width: 100%; max-width: 330px; aspect-ratio: 320 / 540; margin: 0 auto; }
.closing__photo {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 58%; aspect-ratio: 1; border-radius: 50%; z-index: 2;
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6.5px var(--gold), 0 16px 30px rgba(90, 40, 10, .25);
}
.closing__feet { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.foot { fill: #B3141C; opacity: 0; transition: opacity .6s ease calc(var(--i) * .5s + .6s); }
.walking .foot { opacity: .85; }
.closing__plate { position: absolute; bottom: -4%; left: 50%; transform: translateX(-50%); width: 40%; z-index: 2; filter: drop-shadow(0 8px 10px rgba(60, 20, 5, .25)); }
.closing__knot { width: 96%; margin: 34px auto 6px; }
.closing__line { color: var(--sindoor); font-size: 2.55rem; line-height: 1.25; }
html.lang-en .closing__line { font-size: 2.9rem; }
.closing__sub { max-width: 320px; margin: 8px auto 0; color: var(--ink-soft); font-size: .93rem; }
html.lang-en .closing__sub { font-style: italic; font-size: 1.1rem; }
.closing__names { margin: 18px 0 22px; color: var(--maroon); font-size: 2rem; line-height: 1.2; }
.closing__names em { font-style: normal; color: var(--gold); }
.closing__from { margin-top: 18px; font-size: .82rem; color: var(--gold); letter-spacing: .06em; }
html.lang-en .closing__from { font-style: italic; font-size: 1rem; }
.foliage { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); width: 130%; max-width: none; pointer-events: none; }

/* ---------- small phones ---------- */
@media (max-width: 360px) {
  .hero__headline, .names { font-size: 2.7rem; }
  .cd__cell { width: 58px; }
  .ghot { width: 80px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .gate__door, .gate__card, .gate__veil { transition-duration: .01s; transition-delay: 0s; }
  .events__alpona, .gate__emblem, .scroll-cue i, #musicBtn .ic-on { animation: none; }
  .journey__draw { transition: none; }
  .foot { transition: none; }
}
