/* Dehleez: a traditional griha pravesh in sindoor, turmeric, rice and brass.
   Gate (kalash on the threshold -> rice spills -> doors open -> step inside) -> hero inside the house ->
   shubh muhurat clock -> the invitation -> programme on alta footprints -> family -> the way home -> akshat thali. */

:root {
  --sindoor: #b3201c;
  --maroon: #5e0f0c;
  --maroon-2: #3e0907;
  --haldi: #f0a51a;
  --haldi-soft: #f7cf6e;
  --rice: #fbf3df;
  --rice-2: #f3e6c4;
  --brass: #c9922e;
  --brass-hi: #f3d68a;
  --ink: #3a160c;
  --ink-soft: #74452f;
  --leaf: #3f6b2a;
  --alta: #c8261d;
  --line: rgba(179, 32, 28, .28);

  --f-display: "Rozha One", "Tiro Devanagari Hindi", Georgia, serif;
  --f-body: "Crimson Pro", Georgia, serif;
  --f-deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --fx-music-bg: var(--maroon);
  --fx-music-ring: var(--haldi);
  --fx-music-ink: #ffe3a3;
  --fx-bg: var(--rice);
}

html { scroll-behavior: smooth; }
html.shut { overflow: hidden; }
body {
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 146, 46, .07) 0 1.5px, transparent 2px) 0 0 / 26px 26px,
    radial-gradient(circle at 70% 80%, rgba(179, 32, 28, .05) 0 1.2px, transparent 1.8px) 0 0 / 34px 34px,
    linear-gradient(180deg, var(--rice), #f8ecd2);
  color: var(--ink);
  font: 400 19px/1.6 var(--f-body);
}
a { color: inherit; }
.defs { position: absolute; }
[lang="hi"] { font-family: var(--f-deva); }

/* =================================================================== GATE */

.gate { position: relative; min-height: 100svh; overflow: hidden; background: var(--maroon-2); }

/* what waits inside: lamplight on a lime-washed wall, the home's name */
.inside {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: clamp(86px, 22vw, 130px) 16px 48px;
  background:
    radial-gradient(60% 46% at 50% 44%, rgba(255, 236, 186, .95), rgba(255, 214, 140, .4) 60%, transparent 80%),
    radial-gradient(120% 70% at 50% 110%, rgba(179, 32, 28, .25), transparent 60%),
    linear-gradient(180deg, #f6e2b8, var(--rice) 70%);
}
.inside__toran { position: absolute; top: -2px; left: 50%; translate: -50% 0; width: min(1000px, 120vw); filter: drop-shadow(0 4px 4px rgba(90, 30, 6, .3)); }
.toran { display: block; width: 100%; height: auto; transform-origin: 50% 0; animation: sway 5s ease-in-out infinite alternate; }
@keyframes sway { from { rotate: -.6deg; } to { rotate: .6deg; } }

.hero { position: relative; z-index: 1; width: min(100%, 520px); text-align: center; }
html.js .gate:not(.is-done) .hero > * { opacity: 0; translate: 0 18px; }
.hero > * { transition: opacity 1s var(--ease), translate 1s var(--ease); }
.gate.is-done .hero > :nth-child(2) { transition-delay: .15s; }
.gate.is-done .hero > :nth-child(3) { transition-delay: .3s; }
.gate.is-done .hero > :nth-child(n+4) { transition-delay: .5s; }
.hero__om { font-size: 20px; color: var(--sindoor); letter-spacing: .02em; }
.hero__lead { margin: 14px auto 0; max-width: 22em; text-wrap: balance; font-style: italic; font-size: 20px; line-height: 1.4; color: var(--ink-soft); }
.hero__lead span { display: block; font-style: normal; font-weight: 600; color: var(--maroon); }
.hero__home {
  margin: 10px 0 0; font: 400 clamp(52px, 15vw, 92px)/1.02 var(--f-display); color: var(--sindoor);
  text-wrap: balance; text-shadow: 0 2px 0 rgba(255, 255, 255, .6);
}
.hero__hi { margin-top: 6px; font-size: clamp(26px, 7vw, 34px); line-height: 1.3; color: var(--maroon); }
.hero__line { margin-top: 8px; font-size: 18px; color: var(--ink-soft); }
.hero__seal { margin: 26px auto 0; display: flex; width: fit-content; flex-direction: column; align-items: center; gap: 10px; }
.hero__date {
  padding: 8px 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon);
}
.hero__muhurat {
  padding: 10px 22px; border-radius: 999px;
  background: linear-gradient(180deg, var(--haldi-soft), var(--haldi)); color: var(--maroon-2);
  font: 400 clamp(24px, 7vw, 30px)/1.1 var(--f-display);
  box-shadow: 0 0 0 3px var(--rice), 0 0 0 4px var(--haldi), 0 10px 24px -10px rgba(179, 32, 28, .6);
}
.hero__muhurat span { font-size: .72em; margin-right: 6px; color: var(--sindoor); }
.hero__down {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 32px; min-height: 44px;
  font-size: 15px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--sindoor);
}
.hero__down::after { content: ""; width: 12px; height: 12px; border-right: 2px solid; border-bottom: 2px solid; rotate: 45deg; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 5px; } }

/* the scene in front: wall, toran, carved doors, threshold, kalash */
.scene {
  --dw: min(66vw, 38svh, 340px);
  position: absolute; inset: 0; z-index: 3; overflow: hidden;
  transform-origin: 50% 50%;
  transition: transform 1.5s cubic-bezier(.6, 0, .3, 1), opacity 1.2s ease .2s;
}
.scene__wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 40% at 50% 46%, rgba(255, 220, 160, .35), transparent 70%),
    repeating-linear-gradient(0deg, rgba(120, 60, 20, .05) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #e9cf9f, #dcb57a 60%, #c89356);
}
.scene__wall::before, .scene__wall::after {     /* kumkum-and-haldi bands on the wall either side of the door */
  content: ""; position: absolute; top: 18%; bottom: 26%; width: 10px;
  background: repeating-linear-gradient(180deg, var(--sindoor) 0 14px, var(--haldi) 14px 22px);
  border-radius: 6px; opacity: .55;
}
.scene__wall::before { left: calc(50% - var(--dw) / 2 - 46px); }
.scene__wall::after { right: calc(50% - var(--dw) / 2 - 46px); }
.scene__toran { position: absolute; top: -2px; left: 50%; translate: -50% 0; width: min(1000px, 124vw); z-index: 4; filter: drop-shadow(0 5px 4px rgba(60, 20, 4, .4)); }

.doorway {
  position: absolute; left: 50%; bottom: 24svh; translate: -50% 0; z-index: 2;
  width: var(--dw); height: calc(var(--dw) * 1.58);
  perspective: 1100px; perspective-origin: 50% 60%;
  box-shadow: 0 0 0 12px #5c260b, 0 0 0 15px #3a1404, 0 0 0 19px #8e4a1e, 0 20px 40px 10px rgba(60, 20, 4, .45);
  border-radius: 4px 4px 0 0;
}
.doorway__lintel {
  position: absolute; left: -26px; right: -26px; bottom: 100%; height: 34px; margin-bottom: 14px;
  background:
    radial-gradient(circle, #f6dc95 0 3px, #8a5f1c 3.5px 4.5px, transparent 5px) 10px 50% / 26px 100% repeat-x,
    linear-gradient(180deg, #8e4a1e, #5c260b);
  border-radius: 4px; box-shadow: 0 4px 0 #3a1404, 0 8px 14px rgba(40, 10, 2, .4);
}
.doorway__light {
  position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(80% 60% at 50% 62%, #fffaf0 0, #ffe6a8 30%, #f2a64c 70%, #9a4a14 100%);
}
.doorway__lamp {         /* a lamp glowing deep inside the house */
  position: absolute; left: 50%; bottom: 22%; width: 18px; height: 26px; translate: -50% 0;
  border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
  background: radial-gradient(ellipse at 50% 75%, #fff 0, #ffd65a 40%, #ff8a1c 80%, transparent);
  box-shadow: 0 0 40px 20px rgba(255, 200, 100, .7);
  animation: flicker 1.6s ease-in-out infinite alternate;
}
@keyframes flicker { 40% { transform: scale(.94, 1.08); } 100% { transform: scale(1.03, .96); } }
.door { position: absolute; top: 0; bottom: 0; width: 50%; transition: transform 1.9s cubic-bezier(.45, .05, .2, 1), filter 1.9s; }
.door--l { left: 0; transform-origin: 0 50%; }
.door--r { right: 0; transform-origin: 100% 50%; }
.leaf__svg { display: block; width: 100%; height: 100%; }
.gate[data-phase="open"] .door--l { transform: rotateY(-108deg); filter: brightness(.6); }
.gate[data-phase="open"] .door--r { transform: rotateY(108deg); filter: brightness(.6); }

.step {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24svh; z-index: 1;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(255, 210, 140, .0), transparent),
    linear-gradient(180deg, #9c3a22, #7a2814 60%, #561a0b);
  transition: background .8s;
}
.gate[data-phase="open"] .step { background: radial-gradient(40% 80% at 50% 0%, rgba(255, 214, 140, .55), transparent 80%), linear-gradient(180deg, #9c3a22, #7a2814 60%, #561a0b); }
.step__beam {            /* the dehleez itself: a wooden threshold across the doorway */
  position: absolute; left: 50%; top: -6px; translate: -50% 0; width: calc(var(--dw) + 64px); height: 22px;
  background: linear-gradient(180deg, #a35a2a, #6a2f10); border-radius: 3px;
  box-shadow: 0 6px 10px rgba(40, 10, 2, .5), inset 0 2px 0 rgba(255, 220, 170, .35);
}
.step__alpana {
  position: absolute; left: 50%; top: 38%; width: min(78vw, 44svh); translate: -50% -30%;
  transform: perspective(500px) rotateX(66deg); opacity: .5;
}
.step__alpana svg { display: block; width: 100%; height: auto; }
.rice { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }

/* the kalash: a real button; it tips over about its bottom-right edge */
.kalash {
  --kw: min(32vw, 18svh, 160px);
  position: absolute; z-index: 6; left: 50%; bottom: calc(24svh - var(--kw) * .5);
  width: var(--kw); aspect-ratio: 200 / 240; translate: -78% 0;
  padding: 0; border: 0; background: none; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent;
}
.kalash:active { cursor: grabbing; }
.kalash:focus-visible { outline: 3px solid var(--haldi); outline-offset: 8px; border-radius: 12px; }
.kalash__tilt { display: block; width: 100%; height: 100%; transform-origin: 82% 96%; rotate: var(--tilt, 0deg); transition: rotate .45s cubic-bezier(.3, 1.6, .5, 1); }
.kalash.dragging .kalash__tilt { transition: none; }
.kalash__svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 6px rgba(40, 10, 2, .5)); }
.kalash__heap { transform-box: fill-box; transform-origin: 100% 100%; transition: transform 1.2s ease .25s, opacity 1.2s ease .25s; }
.kalash__glow {
  position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 220, 120, .55), transparent);
  animation: glow 2.2s ease-in-out infinite;
}
@keyframes glow { 50% { opacity: .35; scale: .9; } }
.gate:not([data-phase="idle"]) .kalash__glow { display: none; }
.gate:not([data-phase="idle"]) .kalash { pointer-events: none; }
.gate:not([data-phase="idle"]) .kalash__tilt { animation: topple 1s cubic-bezier(.55, 0, .7, 1) forwards; transition: none; }
.gate:not([data-phase="idle"]) .kalash__heap { transform: scale(.35, .2); opacity: .4; }
@keyframes topple {
  0% { rotate: var(--tilt, 0deg); }
  62% { rotate: 80deg; }
  78% { rotate: 70deg; }
  90% { rotate: 76deg; }
  100% { rotate: 74deg; }
}
.gate.instant .kalash__tilt { animation-duration: 0s; }

/* hint and skip */
.gate__hint {
  position: absolute; left: 50%; bottom: calc(5svh + env(safe-area-inset-bottom)); translate: -50% 0; z-index: 7;
  display: flex; flex-direction: column; align-items: center; gap: 2px; width: min(92%, 30em); text-align: center;
  pointer-events: none; transition: opacity .5s; color: #fff3dc; text-shadow: 0 1px 10px rgba(40, 8, 2, .9);
  animation: hintFloat 4s ease-in-out infinite alternate;
}
.gate__hint::before {
  content: ""; position: absolute; inset: -40% -8%; z-index: -1;
  background: radial-gradient(closest-side, rgba(62, 9, 7, .8), rgba(62, 9, 7, .45) 60%, transparent);
}
@keyframes hintFloat { to { translate: -50% -6px; } }
.gate:not([data-phase="idle"]) .gate__hint { opacity: 0; animation: none; }
.gate__to { font-size: 18px; color: #ffe3a3; }
.gate__deva { font-size: clamp(24px, 7vw, 32px); line-height: 1.4; }
.gate__line { display: block; max-width: calc(100vw - 2 * 76px); margin-inline: auto; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; }
.gate__skip {
  position: absolute; right: 14px; top: max(14px, env(safe-area-inset-top)); z-index: 8;
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font-size: 14px; letter-spacing: .2em; text-transform: uppercase;
  color: #fff3dc; background: rgba(62, 9, 7, .55); border: 1px solid rgba(255, 227, 163, .45);
}
.gate:not([data-phase="idle"]) .gate__skip { opacity: 0; pointer-events: none; transition: opacity .4s; }

/* stepping through: the scene rushes past and fades, the hero settles */
.gate.is-through .scene { transform: scale(2.8); opacity: 0; pointer-events: none; }
.gate.is-done .scene, html:not(.js) .scene, html:not(.js) .gate__hint, html:not(.js) .gate__skip { display: none; }
.gate.is-done .gate__hint, .gate.is-done .gate__skip { display: none; }

/* =================================================================== SECTIONS */

.sec { position: relative; max-width: 640px; margin: 0 auto; padding: 88px 16px; text-align: center; }
.deva-k {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: clamp(24px, 6.4vw, 30px); line-height: 1.4; color: var(--sindoor);
}
.deva-k::before, .deva-k::after { content: ""; width: 36px; height: 2px; background: linear-gradient(90deg, transparent, var(--haldi)); }
.deva-k::after { rotate: 180deg; }
.sec__title { margin: 4px 0 28px; font: 400 clamp(32px, 8.6vw, 44px)/1.15 var(--f-display); color: var(--maroon); text-wrap: balance; }

/* ---------- muhurat: the brass clock ---------- */
.clock { width: min(74vw, 300px); margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(94, 15, 12, .3)); }
.clock svg { display: block; width: 100%; height: auto; overflow: visible; }
.clock__n { font: 400 17px var(--f-deva); fill: var(--maroon); }
.clock__arc { fill: none; stroke: var(--haldi); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .7; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.clock.in .clock__arc { stroke-dashoffset: 0; }
.clock__hand { transform-box: view-box; transform-origin: 0 0; transition: rotate 2.6s cubic-bezier(.5, 0, .2, 1) .4s; }
.clock.in .clock__hand--h { rotate: var(--h); }
.clock.in .clock__hand--m { rotate: calc(var(--m) + 720deg); }
html:not(.js) .clock__hand--h { rotate: var(--h); }
html:not(.js) .clock__hand--m { rotate: var(--m); }
.muhurat__time { margin-top: 18px; font: 400 clamp(64px, 19vw, 96px)/1 var(--f-display); color: var(--sindoor); }
.muhurat__when { margin-top: 10px; font-weight: 600; font-size: 20px; letter-spacing: .04em; color: var(--maroon); }
.muhurat__note { margin: 14px auto 0; max-width: 24em; font-style: italic; font-size: 20px; color: var(--ink-soft); }
.muhurat__ask { margin: 26px auto 0; max-width: 24em; font-size: 17px; color: var(--ink-soft); }
.count { display: flex; justify-content: center; gap: clamp(8px, 3vw, 16px); margin-top: 28px; }
.count span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; width: 70px; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6d6, var(--brass-hi) 45%, var(--brass) 90%);
  box-shadow: inset 0 -3px 6px rgba(94, 50, 10, .35), 0 6px 14px -6px rgba(94, 15, 12, .5);
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--maroon);
}
.count b { font: 400 26px/1 var(--f-display); color: var(--maroon-2); margin-bottom: 2px; }
.count__done { margin-top: 24px; font-style: italic; font-size: 22px; color: var(--sindoor); }

/* ---------- the invitation: a letter on rice paper ---------- */
.patra {
  position: relative; padding: 44px clamp(20px, 6vw, 44px) 40px;
  background: linear-gradient(180deg, #fffaf0, var(--rice-2));
  border: 2px solid var(--sindoor); outline: 1px solid var(--haldi); outline-offset: 5px; border-radius: 4px;
  box-shadow: 0 24px 50px -28px rgba(94, 15, 12, .55);
}
.patra__corner { position: absolute; width: 46px; height: 46px; border: 4px solid var(--haldi); }
.patra__corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.patra__corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.patra__msg { margin-top: 18px; font: italic 400 clamp(23px, 6vw, 27px)/1.45 var(--f-body); color: var(--maroon); }
.patra__body { margin-top: 18px; font-size: 19px; }
.patra__body strong { font-weight: 600; color: var(--maroon); }
.patra__sign { margin-top: 26px; font-size: 26px; color: var(--sindoor); }
.patra__sign-en { font: 400 22px/1.2 var(--f-display); color: var(--maroon); }
.patra__sign + .patra__sign-en { margin-top: 0; }
.patra__body + .patra__sign-en { margin-top: 26px; }

/* ---------- programme: footprints walk up to each card ---------- */
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ev__steps { display: flex; justify-content: center; gap: 16px; height: 74px; padding: 6px 0; }
.ev:first-child .ev__steps { display: none; }
.paon { width: 26px; height: 52px; fill: var(--alta); opacity: 0; translate: 0 12px; transition: opacity .6s ease, translate .6s var(--ease); }
.paon--r { scale: -1 1; margin-top: 18px; }
.ev.in .paon { opacity: .85; translate: 0 0; }
.ev.in .paon--r { transition-delay: .25s; }
html:not(.js) .paon { opacity: .85; translate: 0 0; }
.ev__card {
  position: relative; padding: 26px clamp(16px, 5vw, 30px) 24px;
  background: #fffaf0; border-radius: 6px; border-top: 6px solid var(--sindoor);
  box-shadow: 0 0 0 1px var(--line), 0 22px 40px -26px rgba(94, 15, 12, .55);
}
.ev__time { font: 400 clamp(34px, 9vw, 42px)/1 var(--f-display); color: var(--sindoor); }
.ev__time span { font-size: .55em; color: var(--ink-soft); }
.ev__hi { margin-top: 12px; font-size: clamp(22px, 6vw, 26px); line-height: 1.35; color: var(--maroon); }
.ev__name { margin: 2px 0 0; font-weight: 600; font-size: 21px; line-height: 1.3; }
.ev__when { margin-top: 6px; font-size: 17px; color: var(--ink-soft); }
.ev__where { margin-top: 6px; font-size: 17px; }
.ev__note { margin: 12px auto 0; display: inline-block; padding: 4px 14px; border-radius: 999px; background: rgba(240, 165, 26, .2); font-style: italic; font-size: 17px; color: var(--maroon); }
.ev__dress { margin-top: 8px; font-size: 17px; color: var(--ink-soft); }
.ev__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 13px;
  font: 600 15px/1 var(--f-body); letter-spacing: .02em; text-decoration: none;
  color: var(--sindoor); border: 1.5px solid var(--sindoor); border-radius: 999px; background: transparent;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: rgba(179, 32, 28, .08); }
.btn:active { transform: scale(.96); }
.btn--solid { background: var(--sindoor); color: #fff6e2; }
.btn--solid:hover { background: var(--maroon); }

/* ---------- family ---------- */
.sec--family { padding-top: 110px; }
.family__toran { position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(560px, 110vw); }
.family { padding: 30px clamp(16px, 5vw, 30px); border: 1px solid var(--line); border-radius: 160px 160px 8px 8px / 90px 90px 8px 8px; background: rgba(255, 250, 240, .7); }
.family__row + .family__row { margin-top: 18px; }
.family__k { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.family__v { margin-top: 2px; font-size: 21px; font-weight: 600; line-height: 1.4; color: var(--maroon); }
.family__row--hosts .family__v { font: 400 clamp(28px, 7.4vw, 34px)/1.2 var(--f-display); color: var(--sindoor); }
.family__kids { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.family__kids li span { display: block; font-weight: 600; font-size: 20px; }
.family__kids li small { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- the way home ---------- */
.pata__house { width: 120px; height: 90px; }
.pata__name { margin-top: 10px; font: 400 26px/1.25 var(--f-display); color: var(--maroon); }
.pata__line { margin-top: 4px; font-weight: 600; }
.pata__addr { margin: 4px 0 20px; color: var(--ink-soft); }

.gallery { columns: 2 160px; column-gap: 10px; }
.gallery img { display: block; width: 100%; margin-bottom: 10px; border-radius: 6px; break-inside: avoid; }

/* ---------- akshat thali + reply ---------- */
.close__ask { max-width: 24em; margin: 0 auto; color: var(--ink-soft); }
.thali {
  display: block; width: min(70vw, 260px); margin: 24px auto 0; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 14px 14px rgba(94, 15, 12, .3));
}
.thali svg { display: block; width: 100%; height: auto; }
.thali:focus-visible { outline: 3px solid var(--haldi); outline-offset: 6px; border-radius: 50%; }
.thali.tossed { animation: toss .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes toss { 40% { translate: 0 -10px; rotate: -3deg; } }
.thali__count { min-height: 1.6em; margin-top: 10px; font-style: italic; color: var(--ink-soft); }
.close__done { margin-top: 10px; font-size: clamp(22px, 6vw, 28px); line-height: 1.4; color: var(--sindoor); animation: rise 1s var(--ease); }
.close__done small { display: block; font: italic 400 19px/1.4 var(--f-body); color: var(--ink-soft); }
@keyframes rise { from { opacity: 0; translate: 0 14px; } }
.reply {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; background: var(--sindoor); color: #fff6e2; text-decoration: none;
  font: 600 18px/1 var(--f-body); letter-spacing: .04em;
  box-shadow: 0 0 0 3px var(--rice), 0 0 0 4px var(--haldi), 0 14px 26px -12px rgba(94, 15, 12, .7);
}
.reply::before {
  content: ""; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: radial-gradient(circle at 50% 46%, #000 0 55%, transparent 57%), linear-gradient(225deg, transparent 50%, #000 50%) 0 100% / 7px 7px no-repeat;
  mask: radial-gradient(circle at 50% 46%, #000 0 55%, transparent 57%), linear-gradient(225deg, transparent 50%, #000 50%) 0 100% / 7px 7px no-repeat;
}
.sec--close.blessed .reply { animation: ask 1.6s ease-in-out 2; }
@keyframes ask { 50% { scale: 1.06; } }
.close__line { max-width: 22em; margin: 30px auto 0; font-style: italic; font-size: clamp(21px, 5.4vw, 25px); line-height: 1.45; }
.close__tag { margin-top: 16px; font: 400 26px var(--f-display); color: var(--sindoor); }

/* =================================================================== FOOTER */

.foot {
  position: relative; padding: 70px 16px calc(44px + env(safe-area-inset-bottom)); text-align: center;
  background: linear-gradient(180deg, var(--maroon), var(--maroon-2)); color: #f6e2c0;
}
.foot__toran { position: absolute; top: -2px; left: 50%; translate: -50% 0; width: min(560px, 110vw); }
.foot__home { font: 400 clamp(34px, 9vw, 46px)/1.1 var(--f-display); color: var(--haldi-soft); }
.foot__date { margin-top: 8px; letter-spacing: .2em; color: var(--brass-hi); }
.foot__cal { margin-top: 18px; }
.foot__music { margin-top: 18px; font-size: 15px; font-style: italic; color: rgba(246, 226, 192, .65); }
.foot__credit { margin-top: 10px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 226, 192, .65); }
.foot a { color: inherit; text-underline-offset: 3px; }
.foot__up { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }

/* =================================================================== DESKTOP */

@media (min-width: 900px) {
  .scene { --dw: min(30vw, 34svh, 320px); }
  .sec { padding: 110px 16px; }
}

/* =================================================================== OG CARD */

html.og .ogcard {
  align-items: center; gap: 40px; padding: 140px 70px 30px 60px;
  background:
    radial-gradient(50% 70% at 28% 60%, rgba(255, 220, 160, .45), transparent 70%),
    linear-gradient(180deg, #ecd3a4, #d9b077);
  box-shadow: inset 0 0 0 14px var(--maroon), inset 0 0 0 18px var(--haldi);
}
html.og .toran { animation: none; }
.og__toran { position: absolute; top: 10px; left: 14px; right: 14px; z-index: 2; }
.og__art { position: relative; flex: 0 0 380px; height: 480px; }
.og__door {
  position: absolute; left: 40px; right: 40px; top: 30px; bottom: 60px; display: flex;
  box-shadow: 0 0 0 12px #5c260b, 0 0 0 16px #8e4a1e;
  background: radial-gradient(70% 60% at 50% 60%, #fffaf0, #ffd68a 50%, #c8661a);
}
.og__door span { flex: 1; background: linear-gradient(90deg, #6a2f10, #94512a 60%, #5c260b); box-shadow: inset 0 0 0 10px rgba(40, 10, 2, .3); }
.og__door span:first-child { transform: perspective(700px) rotateY(-55deg); transform-origin: 0 50%; }
.og__door span:last-child { transform: perspective(700px) rotateY(55deg); transform-origin: 100% 50%; }
.og__kalash { position: absolute; left: 50%; bottom: 0; width: 170px; translate: -50% 0; }
.og__text { flex: 1; min-width: 0; text-align: center; }
.og__om { font-size: 34px; color: var(--sindoor); }
.og__home { margin-top: 4px; font: 400 112px/1 var(--f-display); color: var(--sindoor); text-wrap: balance; }
.og__fam { margin-top: 12px; font: italic 600 34px/1.2 var(--f-body); color: var(--maroon); }
.og__date { margin-top: 18px; display: inline-block; padding: 8px 4px; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); font: 600 30px/1.2 var(--f-body); letter-spacing: .04em; color: var(--maroon); }
.og__muhurat { margin: 22px auto 0; width: fit-content; padding: 10px 30px; border-radius: 999px; background: var(--haldi); font: 400 40px/1.1 var(--f-display); color: var(--maroon-2); }
.og__muhurat span { font-size: .7em; color: var(--sindoor); }

/* =================================================================== MOTION */

@media (prefers-reduced-motion: reduce) {
  .gate .hero > * { opacity: 1 !important; translate: none !important; }
  .clock__hand--h { rotate: var(--h); }
  .clock__hand--m { rotate: var(--m); }
  .paon { opacity: .85; translate: none; }
}
