/* Mahesh & Muttu — Modern heritage
   Layout: quiet full-width bands that alternate dark wine, maroon and warm ivory. One display face
   (Bodoni Moda, italic for the names), one sans for everything else, a single thin gold rule as the
   only ornament. Garlands appear on the cover and the thank-you screen only. Single committed theme. */
:root{
  --wine:#350B15;
  --maroon:#5A1222;
  --ivory:#FBF2DF;
  --paper:#FFFDF7;
  --gold:#D4A34F;
  --gold-soft:#E7C878;
  --ink:#3A2420;

  --display:"Bodoni Moda","Noto Serif Kannada",Georgia,serif;
  --sans:"Manrope","Noto Serif Kannada",system-ui,-apple-system,"Segoe UI",sans-serif;
  --kn:"Noto Serif Kannada",Georgia,serif;
  --deva:"Tiro Devanagari Sanskrit","Noto Serif Devanagari",serif;
  --ease:cubic-bezier(.22,.61,.36,1);
  color-scheme:dark;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--wine);color:var(--ivory);font-family:var(--sans);font-size:1.05rem;line-height:1.7;overflow-x:hidden}
img,svg{max-width:100%}
a{color:inherit}
h1,h2,h3,p,figure,blockquote{margin:0}
:focus-visible{outline:2px solid var(--gold-soft);outline-offset:3px}
.gated,.gated body{overflow:hidden}

/* ---------- Themes: each band sets its own text colours ---------- */
.cover,.hero,.mantra,.blessings,.finale{--bg:var(--wine);--fg:var(--ivory);--head:var(--ivory);--muted:rgba(251,242,223,.74);--accent:var(--gold-soft);--line:rgba(212,163,79,.45)}
.invite,.venue{--bg:var(--maroon);--fg:var(--ivory);--head:var(--ivory);--muted:rgba(251,242,223,.78);--accent:var(--gold-soft);--line:rgba(212,163,79,.45)}
.portrait,.details,.stack-sec,.ivory-card,.venue-box{--bg:var(--ivory);--fg:var(--ink);--head:var(--maroon);--muted:#6A5348;--accent:#8A5D22;--line:rgba(138,93,34,.38)}
section,.finale{position:relative;background:var(--bg);color:var(--fg);padding-block:clamp(84px,12vw,140px)}
.inner{position:relative;z-index:1;max-width:1040px;margin:0 auto;padding-inline:max(22px,env(safe-area-inset-left,0px)) max(22px,env(safe-area-inset-right,0px));text-align:center}
.narrow{max-width:680px}

/* ---------- Type ---------- */
.label{font-family:var(--sans);font-weight:600;font-size:.74rem;letter-spacing:.28em;text-transform:uppercase;color:var(--accent);margin-bottom:16px}
.title{font-family:var(--display);font-weight:400;font-size:clamp(2.1rem,5.6vw,3.5rem);line-height:1.12;letter-spacing:-.01em;color:var(--head);text-wrap:balance}
.names{display:grid;justify-items:center;font-family:var(--display);font-style:italic;font-weight:400;line-height:1;letter-spacing:-.01em;font-size:clamp(3.4rem,13vw,5.6rem);color:var(--head)}
.names .amp{font-style:normal;font-size:.3em;line-height:1;margin:.5em 0 .42em;color:var(--gold)}
.foil,.shine{background:none;color:var(--head)}
.rule{display:block;width:44px;height:1px;margin:26px auto;background:var(--gold)}
.prose{max-width:34em;margin:0 auto;font-size:clamp(1.02rem,2.2vw,1.14rem);color:var(--muted)}
.deva{font-family:var(--deva);font-size:1rem;letter-spacing:.04em;color:var(--accent);margin-bottom:10px}
.italic{font-style:normal}

.btn-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:32px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 28px;border-radius:2px;cursor:pointer;text-decoration:none;
  font-family:var(--sans);font-weight:600;font-size:.76rem;letter-spacing:.2em;text-transform:uppercase;transition:background .4s var(--ease),color .4s var(--ease),border-color .4s var(--ease)}
.btn svg{width:18px;height:18px;flex:none}
.btn-gold{border:1px solid var(--gold);background:var(--gold);color:var(--wine)}
.btn-gold:hover{background:var(--gold-soft);border-color:var(--gold-soft)}
.btn-line{border:1px solid var(--line);background:transparent;color:var(--head)}
.btn-line:hover{border-color:var(--gold);background:rgba(212,163,79,.1)}

.js .reveal{transition:opacity 1.2s var(--ease),transform 1.2s var(--ease)}
.js .reveal:not(.in){opacity:.12;transform:translateY(18px)}

/* ---------- Floating controls ---------- */
.progress{position:fixed;inset:0 0 auto;height:2px;z-index:80;pointer-events:none}
.progress i{display:block;height:100%;transform-origin:0 50%;transform:scaleX(0);background:var(--gold)}
.pill{position:fixed;z-index:70;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 16px;border-radius:999px;cursor:pointer;
  color:var(--ivory);background:rgba(53,11,21,.78);border:1px solid rgba(212,163,79,.5);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  font-family:var(--sans);font-weight:600;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase}
.lang{top:calc(14px + env(safe-area-inset-top,0px));right:calc(14px + env(safe-area-inset-right,0px))}
.lang[lang="kn"]{font-family:var(--kn);letter-spacing:0;text-transform:none;font-size:.86rem}
.music{bottom:calc(16px + env(safe-area-inset-bottom,0px));right:calc(16px + env(safe-area-inset-right,0px))}
.eq{display:inline-flex;gap:2px;align-items:flex-end;height:12px}
.eq i{width:2px;height:3px;background:currentColor;border-radius:1px}
.music.playing .eq i{animation:eq 1.1s ease-in-out infinite}
.music.playing .eq i:nth-child(2){animation-delay:.25s}.music.playing .eq i:nth-child(3){animation-delay:.5s}
@keyframes eq{50%{height:12px}}
@media (max-width:560px){.music{width:44px;height:44px;padding:0;justify-content:center}.music>span:not(.eq){display:none}}

/* ---------- Garlands and petals (cover and thank-you screen only) ---------- */
.garland{position:absolute;top:0;width:clamp(150px,22vw,300px);height:auto;aspect-ratio:340/190;z-index:2;pointer-events:none;filter:drop-shadow(0 8px 10px rgba(0,0,0,.3))}
.garland.g-l{left:0}
.garland.g-r{right:0;transform:scaleX(-1);transform-origin:50% 0}
canvas.petals{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}

/* ---------- Cover ---------- */
.cover{display:none}
.js .cover{position:fixed;inset:0;z-index:60;display:grid;place-items:center;overflow:hidden;background:none;
  padding:calc(96px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) calc(28px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));transition:visibility 0s linear 2s}
.js .cover[hidden]{display:none}
.half{position:absolute;top:0;bottom:0;width:50.5%;background:var(--wine);transition:transform 1.6s var(--ease)}
.half-l{left:0}.half-r{right:0}
.cover-box{position:relative;z-index:3;display:grid;place-items:center;transition:opacity .8s var(--ease)}
.cover-in{display:grid;justify-items:center;text-align:center}
.cover-in>*{opacity:0;animation:rise 1.6s var(--ease) forwards}
.cover-in>*:nth-child(1){animation-delay:.2s}.cover-in>*:nth-child(2){animation-delay:.45s}.cover-in>*:nth-child(3){animation-delay:.8s}
.cover-in>*:nth-child(4){animation-delay:1.3s}.cover-in>*:nth-child(5){animation-delay:1.45s}.cover-in>*:nth-child(6){animation-delay:1.8s}
.cover-in>*:nth-child(7){animation-delay:2.1s}.cover-in>*:nth-child(8){animation-delay:2.2s}
@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.cover .rule{margin:22px auto 16px}
.date-band{font-family:var(--sans);font-weight:500;font-size:.82rem;letter-spacing:.3em;text-transform:uppercase;color:var(--fg);margin-bottom:22px}
.seal{display:block;width:clamp(120px,28vw,150px);aspect-ratio:200/230;margin:0 auto;padding:0;border:0;background:none;cursor:pointer;border-radius:50%}
.seal:focus{outline:none}
.seal svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 12px 16px rgba(0,0,0,.4));transition:transform .5s var(--ease)}
.seal:hover svg,.seal:focus-visible svg{transform:scale(1.05) rotate(-3deg)}
.seal-hint{margin-top:10px;font-weight:600;font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;color:var(--accent)}
.quiet{margin-top:6px;padding:8px;background:none;border:0;cursor:pointer;font-family:var(--sans);font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);text-decoration:underline;text-underline-offset:4px}
.cover.breaking .seal svg{animation:sealOff .7s var(--ease) forwards}
@keyframes sealOff{35%{transform:scale(1.12) rotate(-6deg)}100%{transform:translateY(-36px) scale(.6) rotate(12deg);opacity:0}}
.cover.breaking .seal-hint,.cover.breaking .quiet{opacity:0;transition:opacity .4s}
.cover.open{visibility:hidden;pointer-events:none}
.cover.open .half-l{transform:translateX(-101%)}
.cover.open .half-r{transform:translateX(101%)}
.cover.open .cover-box,.cover.open .garland,.cover.open canvas{opacity:0;transition:opacity .8s var(--ease)}

/* ---------- 1 · Hero ---------- */
.hero{min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:90px max(22px,env(safe-area-inset-right,0px)) 110px max(22px,env(safe-area-inset-left,0px));overflow:hidden}
.hero-in{position:relative;z-index:2;display:grid;justify-items:center;text-align:center}
.hero-bless{max-width:26em;font-size:clamp(1rem,2.4vw,1.12rem);color:var(--muted)}
.names.huge{font-size:clamp(4rem,17vw,7.5rem)}
.ribbon{margin-top:34px;padding-top:22px;border-top:1px solid var(--gold);font-weight:600;font-size:clamp(.74rem,2.2vw,.86rem);letter-spacing:.3em;text-transform:uppercase;color:var(--fg)}
.hero-time{margin-top:10px;font-weight:500;font-size:.78rem;letter-spacing:.28em;text-transform:uppercase;color:var(--accent)}
.scroll-cue{position:absolute;bottom:calc(26px + env(safe-area-inset-bottom,0px));left:50%;translate:-50% 0;z-index:2;display:grid;justify-items:center;gap:8px;text-decoration:none;font-weight:600;font-size:.66rem;letter-spacing:.3em;text-transform:uppercase;color:var(--accent)}
.scroll-cue i{width:1px;height:34px;background:linear-gradient(var(--gold),transparent);animation:drop 2.4s ease-in-out infinite}
@keyframes drop{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}
.js .hero-in>*{opacity:0;transform:translateY(14px)}
.js:not(.gated) .hero-in>*{animation:heroIn 1.4s var(--ease) forwards}
.js:not(.gated) .hero-in>*:nth-child(1){animation-delay:.2s}.js:not(.gated) .hero-in>*:nth-child(2){animation-delay:.45s}
.js:not(.gated) .hero-in>*:nth-child(3){animation-delay:.7s}.js:not(.gated) .hero-in>*:nth-child(4){animation-delay:.95s}
.js:not(.gated) .hero-in>*:nth-child(5){animation-delay:1.5s}.js:not(.gated) .hero-in>*:nth-child(6){animation-delay:1.7s}
@keyframes heroIn{to{opacity:1;transform:none}}

/* ---------- Photos (shared) ---------- */
.photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%;opacity:0;transition:opacity .8s}
.photo.loaded{opacity:1}
.photo.loaded+.ph{display:none}
.ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;background:var(--maroon)}
.ph span{font-family:var(--display);font-style:italic;font-size:clamp(1.6rem,5vw,2.6rem);color:var(--ivory)}
.ph i{font-family:var(--display);font-style:normal;font-size:1rem;color:var(--gold);margin:.5em 0}

/* ---------- Portrait ---------- */
.portrait-date{font-family:var(--display);font-size:clamp(1.2rem,3.6vw,1.6rem);letter-spacing:.3em;color:var(--head);padding-left:.3em;margin-bottom:34px}
.portrait-frame{position:relative;width:min(86vw,calc(72vh * .72));width:min(86vw,calc(72svh * .72));aspect-ratio:13/18;margin:0 auto;overflow:hidden;border-radius:999px 999px 0 0/36% 36% 0 0;background:var(--maroon)}
.portrait-names{display:grid;justify-items:center;margin-top:34px;font-family:var(--display);font-style:italic;font-weight:400;font-size:clamp(2.6rem,9vw,4.2rem);line-height:1.02;color:var(--head)}
.portrait-names .amp{font-style:normal;font-size:.3em;margin:.5em 0 .42em;color:var(--accent)}

/* ---------- Invitation ---------- */
.invite{padding-inline:max(18px,env(safe-area-inset-left,0px)) max(18px,env(safe-area-inset-right,0px))}
.ivory-card{position:relative;max-width:720px;margin:0 auto;padding:clamp(52px,8vw,84px) clamp(24px,7vw,76px);text-align:center;background:var(--bg);color:var(--fg)}
.card-names{display:grid;justify-items:center;margin:34px 0 26px;line-height:1}
.cn{font-family:var(--display);font-style:italic;font-size:clamp(2.2rem,7vw,3.2rem);color:var(--head)}
.cn-amp{font-family:var(--display);font-size:1rem;color:var(--accent);margin:.6em 0 .5em}
.card-meta{list-style:none;margin:0 auto;padding:22px 0 0;max-width:540px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px;border-top:1px solid var(--line)}
.card-meta li{display:flex;align-items:center;gap:8px;font-weight:500;font-size:.9rem;color:var(--fg)}
.card-meta svg{width:17px;height:17px;flex:none;color:var(--accent)}
.card-sign{margin-top:22px;font-size:.95rem;color:var(--muted)}

/* ---------- Mantra ---------- */
.shloka{font-family:var(--kn);font-weight:500;font-size:clamp(1.25rem,3.6vw,1.9rem);line-height:1.8;color:var(--head)}

/* ---------- Wedding details ---------- */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:980px;margin:10px auto 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.info{padding:36px 22px 34px}
.col+.col .info{border-left:1px solid var(--line)}
.medal{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 14px;color:var(--accent)}
.medal svg{width:24px;height:24px}
.info .label{font-size:.7rem;margin-bottom:10px}
.info-main{font-family:var(--display);font-size:clamp(1.7rem,3.2vw,2.3rem);line-height:1.15;color:var(--head)}
.info-sub{margin-top:6px;font-size:.98rem;line-height:1.55;color:var(--muted)}
@media (max-width:820px){
  .cards{grid-template-columns:minmax(0,1fr);max-width:420px}
  .col+.col .info{border-left:0;border-top:1px solid var(--line)}
}
.countdown{margin-top:72px}
.count{display:flex;justify-content:center;gap:clamp(10px,2.6vw,26px)}
.tile{display:grid;justify-items:center}
.tile span{margin-top:14px;font-weight:600;font-size:.68rem;letter-spacing:.24em;text-transform:uppercase;color:var(--accent)}
.flip{--fh:clamp(78px,17vw,128px);position:relative;width:clamp(64px,15vw,112px);height:var(--fh);perspective:420px}
.flip .fh{position:absolute;left:0;right:0;height:50%;overflow:hidden;backface-visibility:hidden}
.flip .fh-top{top:0;border-radius:4px 4px 0 0;background:var(--maroon)}
.flip .fh-bot{bottom:0;border-radius:0 0 4px 4px;background:#4C0F1D}
.flip b{display:block;height:200%;line-height:var(--fh);text-align:center;font-family:var(--display);font-weight:400;font-size:calc(var(--fh) * .56);color:var(--ivory);font-variant-numeric:tabular-nums lining-nums}
.flip .fh-bot b{transform:translateY(-50%)}
.flip::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(0,0,0,.4);z-index:3}
.flap{z-index:2}
.flap-top{transform-origin:50% 100%;animation:flipTop .32s ease-in forwards}
.flap-bot{transform-origin:50% 0;transform:rotateX(90deg);animation:flipBot .32s ease-out .32s forwards}
@keyframes flipTop{to{transform:rotateX(-90deg)}}
@keyframes flipBot{to{transform:rotateX(0)}}
.done{font-family:var(--display);font-style:italic;font-size:2.2rem;color:var(--head)}

/* ---------- Venue ---------- */
.venue-box{max-width:780px;margin:0 auto;padding:clamp(48px,8vw,76px) clamp(22px,6vw,64px);background:var(--bg);color:var(--fg)}
.venue-addr{margin-top:10px;font-size:1.05rem;color:var(--muted)}
.map-art{display:block;max-width:640px;margin:28px auto 8px;overflow:hidden;border:1px solid var(--line)}
.map-art svg{display:block;width:100%;height:auto;aspect-ratio:2/1;transition:transform 1.2s var(--ease)}
.map-art:hover svg{transform:scale(1.03)}
.map-pin path,.map-pin circle{animation:pinBob 2.6s ease-in-out infinite}
.map-pin .ping{transform-box:fill-box;transform-origin:center;animation:ping 2.6s ease-out infinite}
@keyframes pinBob{50%{transform:translateY(-6px)}}
@keyframes ping{0%{transform:scale(.3);opacity:.9}100%{transform:scale(1.6);opacity:0}}
.map-note{margin:8px 0 26px;font-size:.86rem;color:var(--muted)}
@media (max-width:560px){.map-art svg{aspect-ratio:4/3}}
.venue-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:32px}
.btn-col{display:grid;gap:12px;min-width:min(290px,100%)}
.qr{display:grid;justify-items:center;gap:8px}
.qr #qr{width:132px;height:132px;padding:8px;background:var(--paper);border:1px solid var(--line)}
.qr #qr img,.qr #qr canvas{width:100%!important;height:100%!important;display:block}
.qr figcaption{font-weight:600;font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:var(--accent)}

/* ---------- Photo stack ---------- */
.stack-sec{height:calc(100vh + (var(--n) - 1) * 75vh);height:calc(100svh + (var(--n) - 1) * 75svh);padding:0;overflow:visible}
.stack-stick{position:sticky;top:0;height:100vh;height:100svh;display:grid;place-items:center;overflow:hidden;padding-block:56px 24px}
.stack-sec .title{font-size:clamp(1.8rem,5.4vw,3rem)}
.stack-sec .rule{margin:16px auto 20px}
.stack{position:relative;width:min(86vw,calc(64vh * .7));width:min(86vw,calc(64svh * .7));aspect-ratio:7/10;margin:0 auto}
.pcard{position:absolute;inset:0;margin:0;padding:10px 10px 36px;background:var(--paper);border:1px solid rgba(138,93,34,.3);box-shadow:0 24px 50px rgba(40,10,16,.2);
  transform-origin:50% 85%;will-change:transform;transform:rotate(calc((var(--i) - 2) * 3deg)) translateY(calc(var(--i) * 14px))}
.pcard-img{position:relative;width:100%;height:100%;overflow:hidden;background:var(--maroon)}
.pcard figcaption{position:absolute;left:0;right:0;bottom:10px;text-align:center;font-weight:600;font-size:.7rem;letter-spacing:.28em;color:var(--accent)}
.stack-hint{margin-top:34px;font-weight:600;font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;color:var(--accent);transition:opacity .5s}
.stack-hint::after{content:"";display:block;width:1px;height:24px;margin:10px auto 0;background:linear-gradient(var(--accent),transparent);animation:drop 2.4s ease-in-out infinite}
@media (max-height:640px){.stack-sec .rule{display:none}}
.stack-static{height:auto;padding-block:90px}
.stack-static .stack-stick{position:static;height:auto;overflow:visible}
.stack-static .stack{width:auto;aspect-ratio:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;max-width:1000px}
.stack-static .pcard{position:relative;inset:auto;aspect-ratio:7/10;transform:none!important}
.stack-static .stack-hint{display:none}
@media (min-width:900px) and (min-aspect-ratio:1/1){
  .stack-stick{padding-block:24px}
  .stack-stick .inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr auto auto auto auto 1fr;column-gap:clamp(40px,7vw,120px);align-items:center;max-width:1280px;width:100%;text-align:left}
  .stack-stick .inner>.label{grid-area:2/1}
  .stack-stick .inner>.title{grid-area:3/1;font-size:clamp(2.6rem,4.6vw,4.4rem)}
  .stack-stick .inner>.rule{grid-area:4/1;margin:26px 0}
  .stack-stick .inner>.stack-hint{grid-area:5/1;margin:0}
  .stack-stick .inner>.stack-hint::after{margin-left:0}
  .stack-stick .inner>.stack{grid-area:1/2/-1/3;width:min(44vw,calc(80vh * .7));width:min(44vw,calc(80svh * .7));margin:0}
  .pcard{padding:14px 14px 46px}
  .pcard figcaption{bottom:15px}
}

/* ---------- Thank-you screen ---------- */
.finale{overflow:hidden;min-height:100vh;min-height:100svh;display:grid;place-items:center;text-align:center;
  padding:120px max(22px,env(safe-area-inset-right,0px)) calc(110px + env(safe-area-inset-bottom,0px)) max(22px,env(safe-area-inset-left,0px))}
.finale-in{position:relative;z-index:3;display:grid;justify-items:center}
.thanks-script{font-weight:600;font-size:.78rem;letter-spacing:.34em;text-transform:uppercase;color:var(--accent)}
.finale .names{font-size:clamp(3.2rem,12vw,5.4rem)}
.finale .date-band{margin:30px 0 14px}
.foot-thanks{font-family:var(--display);font-style:italic;font-size:1.4rem;color:var(--fg)}
.foot-venue{margin:10px 0 30px;font-size:.84rem;letter-spacing:.12em;color:var(--muted)}
.to-top{font-weight:600;font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;color:var(--accent);text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:4px}

/* ---------- Wide screens: everything in the opening fits one view ---------- */
@media (min-width:900px){
  .js .cover{padding-top:40px}
  .cover .names{font-size:min(5.6rem,12vw,13vh);font-size:min(5.6rem,12vw,13svh)}
  .cover .seal{width:min(150px,19vh);width:min(150px,19svh)}
  .hero{padding-block:64px 96px}
  .names.huge{font-size:min(7.5rem,15vw,17vh);font-size:min(7.5rem,15vw,17svh)}
  .finale{padding-block:72px}
  .finale .names{font-size:min(5.4rem,10vw,13vh);font-size:min(5.4rem,10vw,13svh)}
}

/* ---------- Kannada ---------- */
body.kn{font-family:var(--kn);line-height:1.9}
body.kn .names,body.kn .portrait-names,body.kn .cn,body.kn .ph span,body.kn .title,body.kn .info-main,body.kn .foot-thanks,body.kn .done{font-family:var(--kn);font-style:normal;font-weight:600;letter-spacing:0}
body.kn .names{line-height:1.3;font-size:clamp(2.6rem,10vw,4.2rem)}
body.kn .names.huge{font-size:clamp(3rem,12vw,5.2rem)}
body.kn .portrait-names{font-size:clamp(2rem,7vw,3.2rem);line-height:1.3}
body.kn .cn{font-size:clamp(1.6rem,5.4vw,2.4rem)}
body.kn .title{font-size:clamp(1.7rem,5vw,2.6rem);line-height:1.4}
body.kn .stack-sec .title{font-size:clamp(1.5rem,4.6vw,2.4rem)}
body.kn .info-main{font-size:1.45rem}
body.kn .ph span{font-size:clamp(1.2rem,3.6vw,1.9rem);line-height:1.4}
body.kn .label,body.kn .btn,body.kn .quiet,body.kn .seal-hint,body.kn .tile span,body.kn .qr figcaption,body.kn .hero-time,body.kn .ribbon,body.kn .scroll-cue,body.kn .pill,body.kn .date-band,body.kn .stack-hint,body.kn .to-top,body.kn .thanks-script,body.kn .foot-venue{font-family:var(--kn);letter-spacing:.02em;text-transform:none;font-size:.9rem}
@media (min-width:900px){
  body.kn .names.huge{font-size:min(5.2rem,11vw,12vh);font-size:min(5.2rem,11vw,12svh)}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .js .reveal:not(.in),.js .hero-in>*{opacity:1;transform:none}
}


/* ================= Richer backgrounds (still modern: texture, light and one quiet motif per band) ================= */
:root{
  --jaali-gold:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23D4A34F' stroke-opacity='.13' stroke-width='1'%3E%3Cpath d='M48 20c7 9 7 19 0 28-7-9-7-19 0-28zM48 76c7-9 7-19 0-28-7 9-7 19 0 28zM20 48c9-7 19-7 28 0-9 7-19 7-28 0zM76 48c-9-7-19-7-28 0 9 7 19 7 28 0z'/%3E%3Ccircle cx='48' cy='48' r='4'/%3E%3Cpath d='M0 0l10 10M96 0L86 10M0 96l10-10M96 96L86 86'/%3E%3Cpath d='M48 0v8M48 96v-8M0 48h8M96 48h-8'/%3E%3Ccircle cx='0' cy='0' r='14'/%3E%3Ccircle cx='96' cy='0' r='14'/%3E%3Ccircle cx='0' cy='96' r='14'/%3E%3Ccircle cx='96' cy='96' r='14'/%3E%3C/g%3E%3C/svg%3E");
  --jaali-ink:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%238A5D22' stroke-opacity='.12' stroke-width='1'%3E%3Cpath d='M48 20c7 9 7 19 0 28-7-9-7-19 0-28zM48 76c7-9 7-19 0-28-7 9-7 19 0 28zM20 48c9-7 19-7 28 0-9 7-19 7-28 0zM76 48c-9-7-19-7-28 0 9 7 19 7 28 0z'/%3E%3Ccircle cx='48' cy='48' r='4'/%3E%3Cpath d='M0 0l10 10M96 0L86 10M0 96l10-10M96 96L86 86'/%3E%3Cpath d='M48 0v8M48 96v-8M0 48h8M96 48h-8'/%3E%3Ccircle cx='0' cy='0' r='14'/%3E%3Ccircle cx='96' cy='0' r='14'/%3E%3Ccircle cx='0' cy='96' r='14'/%3E%3Ccircle cx='96' cy='96' r='14'/%3E%3C/g%3E%3C/svg%3E");
  --mandala:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-440 -440 880 880'%3E%3Cg fill='none' stroke='%23D4A34F' stroke-width='1.4'%3E%3Ccircle r='60'/%3E%3Ccircle r='140'/%3E%3Ccircle r='230'/%3E%3Ccircle r='330'/%3E%3Ccircle r='410'/%3E%3Cpath transform='rotate(0.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(30.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(60.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(90.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(120.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(150.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(180.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(210.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(240.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(270.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(300.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(330.00)' d='M0 -70C22 -91.0 13.2 -121.0 0 -130C-13.2 -121.0 -22 -91.0 0 -70Z'/%3E%3Cpath transform='rotate(9.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(27.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(45.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(63.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(81.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(99.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(117.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(135.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(153.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(171.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(189.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(207.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(225.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(243.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(261.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(279.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(297.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(315.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(333.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(351.00)' d='M0 -150C22 -174.5 13.2 -209.5 0 -220C-13.2 -209.5 -22 -174.5 0 -150Z'/%3E%3Cpath transform='rotate(0.00)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(12.86)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(25.71)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(38.57)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(51.43)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(64.29)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(77.14)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(90.00)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(102.86)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(115.71)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(128.57)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(141.43)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(154.29)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(167.14)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(180.00)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(192.86)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(205.71)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(218.57)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(231.43)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(244.29)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(257.14)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(270.00)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(282.86)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(295.71)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(308.57)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(321.43)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(334.29)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(347.14)' d='M0 -240C20 -268.0 12.0 -308.0 0 -320C-12.0 -308.0 -20 -268.0 0 -240Z'/%3E%3Cpath transform='rotate(4.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(13.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(22.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(31.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(40.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(49.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(58.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(67.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(76.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(85.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(94.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(103.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(112.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(121.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(130.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(139.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(148.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(157.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(166.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(175.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(184.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(193.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(202.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(211.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(220.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(229.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(238.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(247.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(256.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(265.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(274.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(283.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(292.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(301.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(310.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(319.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(328.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(337.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(346.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3Cpath transform='rotate(355.50)' d='M0 -340C14 -361.0 8.4 -391.0 0 -400C-8.4 -391.0 -14 -361.0 0 -340Z'/%3E%3C/g%3E%3Ccircle transform='rotate(0.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(5.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(10.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(15.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(20.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(25.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(30.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(35.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(40.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(45.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(50.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(55.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(60.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(65.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(70.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(75.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(80.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(85.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(90.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(95.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(100.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(105.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(110.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(115.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(120.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(125.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(130.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(135.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(140.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(145.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(150.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(155.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(160.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(165.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(170.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(175.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(180.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(185.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(190.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(195.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(200.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(205.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(210.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(215.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(220.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(225.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(230.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(235.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(240.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(245.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(250.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(255.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(260.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(265.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(270.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(275.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(280.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(285.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(290.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(295.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(300.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(305.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(310.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(315.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(320.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(325.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(330.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(335.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(340.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(345.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(350.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3Ccircle transform='rotate(355.00)' cy='-425' r='3' fill='%23D4A34F'/%3E%3C/svg%3E");
  --paisley:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cg fill='none' stroke='%23C9973F' stroke-width='1.3'%3E%3Cpath d='M40 260C10 200 30 120 100 90s150 10 150 80c0 50-50 70-80 50-25-16-18-52 10-50'/%3E%3Cpath d='M40 260c40-10 90-50 110-110'/%3E%3Cpath d='M66 232c-14-30-6-70 30-86s78 4 78 42c0 26-26 36-42 26'/%3E%3Cpath d='M120 40c20 6 30 22 26 40M150 30c26 2 44 18 46 40M90 60c12-10 28-14 44-10'/%3E%3C/g%3E%3Cg fill='%23C9973F'%3E%3Ccircle cx='196' cy='176' r='4'/%3E%3Ccircle cx='168' cy='212' r='3'/%3E%3Ccircle cx='214' cy='140' r='3'/%3E%3Ccircle cx='110' cy='70' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
}
body::after{content:"";position:fixed;inset:0;z-index:65;pointer-events:none;opacity:.07;mix-blend-mode:overlay;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .94  0 0 0 0 .84  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/240px 240px}
.hero,.mantra,.blessings,.finale,.js .cover .half{background:
  radial-gradient(ellipse 60% 48% at 50% 46%,rgba(231,200,120,.17),transparent 70%),
  radial-gradient(ellipse 120% 80% at 50% 120%,rgba(90,18,34,.9),transparent 70%),
  repeating-linear-gradient(118deg,rgba(255,240,210,.018) 0 2px,transparent 2px 11px),
  linear-gradient(180deg,#2C0811 0%,#3D0D18 50%,#2C0811 100%)}
.js .cover .half-l{background-position:0 0;background-size:200% 100%}
.js .cover .half-r{background-position:100% 0;background-size:200% 100%}
.hero::before,.mantra::before,.blessings::before,.finale::before,.cover-box::before{content:"";position:absolute;left:50%;top:50%;width:min(980px,165vw);aspect-ratio:1;translate:-50% -50%;pointer-events:none;z-index:0;
  background:var(--mandala) center/contain no-repeat;opacity:.09;animation:turn 240s linear infinite}
.cover-box::before{width:min(860px,160vw);opacity:.1;z-index:-1}
.mantra::before,.blessings::before{width:min(720px,140vw);opacity:.07}
.mantra,.blessings{overflow:hidden}
@keyframes turn{to{rotate:360deg}}
.invite,.venue{background:
  radial-gradient(ellipse 50% 70% at 0% 50%,rgba(231,200,120,.10),transparent 70%),
  radial-gradient(ellipse 50% 70% at 100% 50%,rgba(231,200,120,.10),transparent 70%),
  var(--jaali-gold) 0 0/96px 96px,
  linear-gradient(180deg,#5A1222,#4A0F1C)}
.portrait,.details,.stack-sec{background:
  radial-gradient(ellipse 70% 55% at 50% 40%,rgba(255,255,255,.75),transparent 72%),
  var(--jaali-ink) 0 0/96px 96px,
  linear-gradient(180deg,#FBF2DF,#F4E7CC)}
.portrait,.details{overflow:hidden}
.portrait::before,.details::before,.stack-stick::before,.portrait::after,.details::after,.stack-stick::after{content:"";position:absolute;width:clamp(140px,22vw,300px);aspect-ratio:1;pointer-events:none;z-index:0;background:var(--paisley) center/contain no-repeat;opacity:.42}
.portrait::before,.details::before,.stack-stick::before{left:0;bottom:0}
.portrait::after,.details::after,.stack-stick::after{right:0;top:0;transform:rotate(180deg)}
.ivory-card,.venue-box{background:
  radial-gradient(ellipse 80% 60% at 50% 30%,#FFFDF7,transparent 75%),
  var(--jaali-ink) 0 0/96px 96px,
  linear-gradient(180deg,#FBF2DF,#F3E5C8);
  box-shadow:0 0 0 1px rgba(212,163,79,.6),0 0 0 9px rgba(251,242,223,.05),0 0 0 10px rgba(212,163,79,.35),0 40px 80px rgba(20,4,8,.45)}
main>section+section>.inner::before{content:none}
.invite::after,.mantra::after,.venue::after,.blessings::after,.finale::after{content:"";position:absolute;top:0;left:50%;width:min(420px,60vw);height:1px;translate:-50% 0;background:linear-gradient(90deg,transparent,var(--gold),transparent);opacity:.75;z-index:2}
@media (prefers-reduced-motion:reduce){.hero::before,.mantra::before,.blessings::before,.finale::before,.cover-box::before{animation:none}}

/* corner art: a small marigold-and-jasmine sprig (replaces the paisley outlines) */
:root{--paisley:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cpath d='M30 270Q20 150 70 40' fill='none' stroke='%23B98835' stroke-width='1.6'/%3E%3Cpath d='M30 270Q150 285 262 232' fill='none' stroke='%23B98835' stroke-width='1.6'/%3E%3Cpath transform='translate(30.1 189.6) rotate(-50) scale(0.8)' d='M0 0C-9 -10 -8 -24 0 -32C8 -24 9 -10 0 0Z' fill='%23D4A34F' fill-opacity='.55' stroke='%23B98835' stroke-width='.8'/%3E%3Cg transform='translate(30.1 189.6) rotate(55) scale(1.0)'%3E%3Cpath d='M0 0C-5 -8 -4 -18 0 -24C4 -18 5 -8 0 0Z' fill='%23FFFDF6' stroke='%23C9A35A' stroke-width='1'/%3E%3Cpath d='M0 0v6' stroke='%23B98835' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate(34.2 157.1) rotate(-40) scale(0.95)'%3E%3Cpath d='M0 0C-5 -8 -4 -18 0 -24C4 -18 5 -8 0 0Z' fill='%23FFFDF6' stroke='%23C9A35A' stroke-width='1'/%3E%3Cpath d='M0 0v6' stroke='%23B98835' stroke-width='1.2'/%3E%3C/g%3E%3Cpath transform='translate(40.7 125.0) rotate(-41) scale(0.8)' d='M0 0C-9 -10 -8 -24 0 -32C8 -24 9 -10 0 0Z' fill='%23D4A34F' fill-opacity='.55' stroke='%23B98835' stroke-width='.8'/%3E%3Cg transform='translate(40.7 125.0) rotate(64) scale(0.9)'%3E%3Cpath d='M0 0C-5 -8 -4 -18 0 -24C4 -18 5 -8 0 0Z' fill='%23FFFDF6' stroke='%23C9A35A' stroke-width='1'/%3E%3Cpath d='M0 0v6' stroke='%23B98835' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate(49.5 93.4) rotate(-32) scale(0.85)'%3E%3Cpath d='M0 0C-5 -8 -4 -18 0 -24C4 -18 5 -8 0 0Z' fill='%23FFFDF6' stroke='%23C9A35A' stroke-width='1'/%3E%3Cpath d='M0 0v6' stroke='%23B98835' stroke-width='1.2'/%3E%3C/g%3E%3Cpath transform='translate(60.6 62.1) rotate(-33) scale(0.8)' d='M0 0C-9 -10 -8 -24 0 -32C8 -24 9 -10 0 0Z' fill='%23D4A34F' fill-opacity='.55' stroke='%23B98835' stroke-width='.8'/%3E%3Cg transform='translate(60.6 62.1) rotate(72) scale(0.8)'%3E%3Cpath d='M0 0C-5 -8 -4 -18 0 -24C4 -18 5 -8 0 0Z' fill='%23FFFDF6' stroke='%23C9A35A' stroke-width='1'/%3E%3Cpath d='M0 0v6' stroke='%23B98835' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate(70 40)'%3E%3Ccircle r='11' fill='%23C8641A'/%3E%3Ccircle cx='6.8' cy='0.3' r='5.3' fill='%23F09A2E'/%3E%3Ccircle cx='5.4' cy='4.1' r='5.3' fill='%23E8892B'/%3E%3Ccircle cx='1.7' cy='6.6' r='5.3' fill='%23F09A2E'/%3E%3Ccircle cx='-2.3' cy='6.4' r='5.3' fill='%23E8892B'/%3E%3Ccircle cx='-5.6' cy='3.9' r='5.3' fill='%23F09A2E'/%3E%3Ccircle cx='-6.8' cy='-0.5' r='5.3' fill='%23E8892B'/%3E%3Ccircle cx='-4.8' cy='-4.8' r='5.3' fill='%23F09A2E'/%3E%3Ccircle cx='-1.2' cy='-6.7' r='5.3' fill='%23E8892B'/%3E%3Ccircle cx='3.0' cy='-6.1' r='5.3' fill='%23F09A2E'/%3E%3Ccircle cx='5.7' cy='-3.8' r='5.3' fill='%23E8892B'/%3E%3Ccircle r='6.1' fill='%23F7B53E'/%3E%3Ccircle r='3.1' fill='%23FCD271'/%3E%3C/g%3E%3Cpath transform='translate(110.7 272.3) rotate(31) scale(0.8)' d='M0 0C-9 -10 -8 -24 0 -32C8 -24 9 -10 0 0Z' fill='%23D4A34F' fill-opacity='.55' stroke='%23B98835' stroke-width='.8'/%3E%3Cg transform='translate(110.7 272.3) rotate(136) scale(1.0)'%3E%3Cpath d='M0 0C-5 -8 -4 -18 0 -24C4 -18 5 -8 0 0Z' fill='%23FFFDF6' stroke='%23C9A35A' stroke-width='1'/%3E%3Cpath d='M0 0v6' stroke='%23B98835' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate(143.4 268.7) rotate(31) scale(0.95)'%3E%3Cpath d='M0 0C-5 -8 -4 -18 0 -24C4 -18 5 -8 0 0Z' fill='%23FFFDF6' stroke='%23C9A35A' stroke-width='1'/%3E%3Cpath d='M0 0v6' stroke='%23B98835' stroke-width='1.2'/%3E%3C/g%3E%3Cpath transform='translate(175.7 262.5) rotate(21) scale(0.8)' d='M0 0C-9 -10 -8 -24 0 -32C8 -24 9 -10 0 0Z' fill='%23D4A34F' fill-opacity='.55' stroke='%23B98835' stroke-width='.8'/%3E%3Cg transform='translate(175.7 262.5) rotate(126) scale(0.9)'%3E%3Cpath d='M0 0C-5 -8 -4 -18 0 -24C4 -18 5 -8 0 0Z' fill='%23FFFDF6' stroke='%23C9A35A' stroke-width='1'/%3E%3Cpath d='M0 0v6' stroke='%23B98835' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate(207.8 253.5) rotate(22) scale(0.85)'%3E%3Cpath d='M0 0C-5 -8 -4 -18 0 -24C4 -18 5 -8 0 0Z' fill='%23FFFDF6' stroke='%23C9A35A' stroke-width='1'/%3E%3Cpath d='M0 0v6' stroke='%23B98835' stroke-width='1.2'/%3E%3C/g%3E%3Cpath transform='translate(239.5 241.9) rotate(12) scale(0.8)' d='M0 0C-9 -10 -8 -24 0 -32C8 -24 9 -10 0 0Z' fill='%23D4A34F' fill-opacity='.55' stroke='%23B98835' stroke-width='.8'/%3E%3Cg transform='translate(239.5 241.9) rotate(117) scale(0.8)'%3E%3Cpath d='M0 0C-5 -8 -4 -18 0 -24C4 -18 5 -8 0 0Z' fill='%23FFFDF6' stroke='%23C9A35A' stroke-width='1'/%3E%3Cpath d='M0 0v6' stroke='%23B98835' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate(262 232)'%3E%3Ccircle r='11' fill='%23C8641A'/%3E%3Ccircle cx='6.8' cy='0.6' r='5.3' fill='%23F09A2E'/%3E%3Ccircle cx='5.3' cy='4.3' r='5.3' fill='%23E8892B'/%3E%3Ccircle cx='1.9' cy='6.5' r='5.3' fill='%23F09A2E'/%3E%3Ccircle cx='-2.2' cy='6.4' r='5.3' fill='%23E8892B'/%3E%3Ccircle cx='-5.7' cy='3.8' r='5.3' fill='%23F09A2E'/%3E%3Ccircle cx='-6.7' cy='-1.1' r='5.3' fill='%23E8892B'/%3E%3Ccircle cx='-4.9' cy='-4.8' r='5.3' fill='%23F09A2E'/%3E%3Ccircle cx='-1.2' cy='-6.7' r='5.3' fill='%23E8892B'/%3E%3Ccircle cx='3.0' cy='-6.1' r='5.3' fill='%23F09A2E'/%3E%3Ccircle cx='5.6' cy='-3.8' r='5.3' fill='%23E8892B'/%3E%3Ccircle r='6.1' fill='%23F7B53E'/%3E%3Ccircle r='3.1' fill='%23FCD271'/%3E%3C/g%3E%3Cg transform='translate(52 246)'%3E%3Ccircle r='30' fill='%23C8641A'/%3E%3Ccircle cx='18.6' cy='1.0' r='14.4' fill='%23F09A2E'/%3E%3Ccircle cx='13.8' cy='12.5' r='14.4' fill='%23E8892B'/%3E%3Ccircle cx='3.4' cy='18.3' r='14.4' fill='%23F09A2E'/%3E%3Ccircle cx='-8.3' cy='16.6' r='14.4' fill='%23E8892B'/%3E%3Ccircle cx='-16.5' cy='8.5' r='14.4' fill='%23F09A2E'/%3E%3Ccircle cx='-18.6' cy='-0.3' r='14.4' fill='%23E8892B'/%3E%3Ccircle cx='-13.8' cy='-12.5' r='14.4' fill='%23F09A2E'/%3E%3Ccircle cx='-3.6' cy='-18.2' r='14.4' fill='%23E8892B'/%3E%3Ccircle cx='7.3' cy='-17.1' r='14.4' fill='%23F09A2E'/%3E%3Ccircle cx='15.4' cy='-10.5' r='14.4' fill='%23E8892B'/%3E%3Ccircle r='16.5' fill='%23F7B53E'/%3E%3Ccircle r='8.4' fill='%23FCD271'/%3E%3C/g%3E%3Cg transform='translate(104 262)'%3E%3Ccircle r='19' fill='%23C8641A'/%3E%3Ccircle cx='11.7' cy='1.0' r='9.1' fill='%23F09A2E'/%3E%3Ccircle cx='9.4' cy='7.1' r='9.1' fill='%23E8892B'/%3E%3Ccircle cx='1.8' cy='11.6' r='9.1' fill='%23F09A2E'/%3E%3Ccircle cx='-5.3' cy='10.5' r='9.1' fill='%23E8892B'/%3E%3Ccircle cx='-10.1' cy='6.0' r='9.1' fill='%23F09A2E'/%3E%3Ccircle cx='-11.8' cy='-0.6' r='9.1' fill='%23E8892B'/%3E%3Ccircle cx='-8.3' cy='-8.3' r='9.1' fill='%23F09A2E'/%3E%3Ccircle cx='-2.5' cy='-11.5' r='9.1' fill='%23E8892B'/%3E%3Ccircle cx='5.3' cy='-10.5' r='9.1' fill='%23F09A2E'/%3E%3Ccircle cx='10.4' cy='-5.4' r='9.1' fill='%23E8892B'/%3E%3Ccircle r='10.5' fill='%23F7B53E'/%3E%3Ccircle r='5.3' fill='%23FCD271'/%3E%3C/g%3E%3Cg transform='translate(40 194)'%3E%3Ccircle r='19' fill='%23C8641A'/%3E%3Ccircle cx='11.7' cy='1.0' r='9.1' fill='%23F09A2E'/%3E%3Ccircle cx='9.0' cy='7.6' r='9.1' fill='%23E8892B'/%3E%3Ccircle cx='2.5' cy='11.5' r='9.1' fill='%23F09A2E'/%3E%3Ccircle cx='-4.5' cy='10.9' r='9.1' fill='%23E8892B'/%3E%3Ccircle cx='-9.7' cy='6.7' r='9.1' fill='%23F09A2E'/%3E%3Ccircle cx='-11.8' cy='-0.6' r='9.1' fill='%23E8892B'/%3E%3Ccircle cx='-8.5' cy='-8.2' r='9.1' fill='%23F09A2E'/%3E%3Ccircle cx='-3.6' cy='-11.2' r='9.1' fill='%23E8892B'/%3E%3Ccircle cx='3.7' cy='-11.2' r='9.1' fill='%23F09A2E'/%3E%3Ccircle cx='10.2' cy='-5.8' r='9.1' fill='%23E8892B'/%3E%3Ccircle r='10.5' fill='%23F7B53E'/%3E%3Ccircle r='5.3' fill='%23FCD271'/%3E%3C/g%3E%3Cg transform='translate(84 214)'%3E%3Ccircle r='13' fill='%23C8641A'/%3E%3Ccircle cx='8.1' cy='0.4' r='6.2' fill='%23F09A2E'/%3E%3Ccircle cx='6.1' cy='5.3' r='6.2' fill='%23E8892B'/%3E%3Ccircle cx='1.9' cy='7.8' r='6.2' fill='%23F09A2E'/%3E%3Ccircle cx='-2.9' cy='7.5' r='6.2' fill='%23E8892B'/%3E%3Ccircle cx='-7.2' cy='3.5' r='6.2' fill='%23F09A2E'/%3E%3Ccircle cx='-8.1' cy='-0.3' r='6.2' fill='%23E8892B'/%3E%3Ccircle cx='-6.2' cy='-5.2' r='6.2' fill='%23F09A2E'/%3E%3Ccircle cx='-2.2' cy='-7.7' r='6.2' fill='%23E8892B'/%3E%3Ccircle cx='3.3' cy='-7.3' r='6.2' fill='%23F09A2E'/%3E%3Ccircle cx='6.7' cy='-4.4' r='6.2' fill='%23E8892B'/%3E%3Ccircle r='7.2' fill='%23F7B53E'/%3E%3Ccircle r='3.6' fill='%23FCD271'/%3E%3C/g%3E%3C/svg%3E")}
.portrait::before,.details::before,.stack-stick::before,.portrait::after,.details::after,.stack-stick::after{opacity:.95;width:clamp(96px,17vw,230px);filter:drop-shadow(0 4px 6px rgba(90,40,20,.15))}

/* ---------- Photo stack: tap / swipe instead of scroll ---------- */
.stack-sec{height:auto;padding-block:clamp(84px,11vw,130px);overflow:hidden}
.stack-stick{position:relative;top:auto;height:auto;min-height:0;overflow:visible;padding-block:0}
.stack{touch-action:pan-y;cursor:pointer;-webkit-user-select:none;user-select:none;outline:none}
.stack:focus-visible .pcard.top{outline:2px solid var(--gold);outline-offset:4px}
.pcard{transition:transform .65s var(--ease),opacity .5s var(--ease);transform:none}
.stack.dragging .pcard.top{transition:none}
.pcard img{-webkit-user-drag:none;pointer-events:none}
.stack-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:40px}
.stack-btn{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;cursor:pointer;color:var(--head);background:transparent;border:1px solid var(--line);transition:background .3s,border-color .3s,opacity .3s}
.stack-btn:hover{border-color:var(--gold);background:rgba(212,163,79,.12)}
.stack-btn:disabled{opacity:.35;cursor:default}
.stack-btn svg{width:20px;height:20px}
.stack-count{min-width:5.5em;text-align:center;font-weight:600;font-size:.78rem;letter-spacing:.24em;color:var(--accent);font-variant-numeric:tabular-nums}
.stack-hint{margin-top:14px}
.stack-hint::after{display:none}
@media (min-width:900px) and (min-aspect-ratio:1/1){
  .stack-stick .inner{grid-template-rows:1fr auto auto auto auto auto 1fr}
  .stack-stick .inner>.stack-nav{grid-area:5/1;justify-content:flex-start;margin-top:4px}
  .stack-stick .inner>.stack-hint{grid-area:6/1;margin-top:12px}
  .stack-stick .inner>.stack{grid-area:1/2/-1/3;width:min(42vw,calc(76vh * .7));width:min(42vw,calc(76svh * .7))}
}
