:root{
  --red-deep:#4A0711;
  --red:#7A0C1B;
  --crimson:#B01530;
  --gold:#D4AF37;
  --gold-deep:#B8902A;
  --gold-pale:#F0DFA0;
  --cream:#FBF3E4;
  --ink:#3A0A10;
  --muted:#7B5A4A;
  --line:rgba(212,175,55,.4);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body.amwed-hc-page{
  font-family:"Jost",sans-serif;color:var(--cream);line-height:1.7;overflow-x:hidden;
  background-color:#5A0914;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><g fill='none' stroke='rgb(212,175,55)' stroke-opacity='.14' stroke-width='1'><circle cx='36' cy='36' r='14'/><path d='M36 8 L64 36 L36 64 L8 36 Z'/><circle cx='0' cy='0' r='14'/><circle cx='72' cy='0' r='14'/><circle cx='0' cy='72' r='14'/><circle cx='72' cy='72' r='14'/></g></svg>"),
    linear-gradient(180deg,#6B0B19 0%,#4A0711 100%);
}
/* The site-wide pink background-video plugin would clash with this page. */
.amwed-hc-page video{display:none !important}
.amwed-hc-page.enweby-fullscreen-background-video{background-color:#5A0914 !important}
a{color:inherit;text-decoration:none}

section{position:relative;padding:5.5rem 1.5rem}
section:nth-of-type(even){background:rgba(0,0,0,.14)}
.wrap{max-width:1000px;margin:0 auto;text-align:center;position:relative}

/* ---------- shared bits ---------- */
.hc-eyebrow{
  display:inline-block;padding:.55rem 1.5rem;border-radius:40px;
  font-size:.74rem;letter-spacing:.38em;text-transform:uppercase;font-weight:500;
  color:var(--gold);background:rgba(74,7,17,.6);border:1px solid var(--line);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.hc-divider{display:flex;align-items:center;justify-content:center;gap:1.1rem;margin:1.4rem 0;color:var(--gold)}
.hc-divider::before,.hc-divider::after{content:"";height:1.5px;width:76px;background:linear-gradient(90deg,transparent,var(--gold))}
.hc-divider::after{background:linear-gradient(270deg,transparent,var(--gold))}
.hc-divider span{font-size:1.4rem}

.hc-card{
  position:relative;max-width:640px;margin:2rem auto 0;text-align:left;
  background:linear-gradient(160deg,rgba(251,243,228,.97),rgba(251,243,228,.9));
  color:var(--ink);border:2px solid var(--gold);border-radius:24px;
  outline:1px solid var(--gold-deep);outline-offset:-10px;
  box-shadow:0 0 0 6px rgba(212,175,55,.16),0 40px 80px -40px rgba(0,0,0,.65);
  padding:2.6rem 2.4rem;
}
.hc-btn{
  display:inline-block;cursor:pointer;border:none;border-radius:40px;
  font-family:"Jost",sans-serif;font-size:.76rem;letter-spacing:.26em;text-transform:uppercase;font-weight:500;
  padding:1rem 2.4rem;color:var(--red-deep);
  background:linear-gradient(135deg,var(--gold-pale),var(--gold) 55%,var(--gold-deep));
  box-shadow:0 12px 28px -12px rgba(0,0,0,.6);
  transition:transform .3s ease,box-shadow .3s ease,filter .3s ease;
}
.hc-btn:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 18px 34px -12px rgba(0,0,0,.7)}
.hc-btn-ghost{background:transparent;color:var(--red);border:1.5px solid var(--gold-deep);box-shadow:none}
.hc-btn-ghost:hover{background:rgba(212,175,55,.18)}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(40px);transition:opacity 1.5s cubic-bezier(.19,.6,.22,1),transform 1.5s cubic-bezier(.19,.6,.22,1)}
.reveal.visible{opacity:1;transform:none}
#hcArch.reveal{transform:translateY(24px) scale(.85)}
#hcArch.reveal.visible{transform:none}

/* ---------- loader ---------- */
#hc-loader{
  position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(120% 90% at 50% 20%,#7A0C1B 0%,#4A0711 100%);
  transition:opacity .9s ease,visibility .9s ease;
}
#hc-loader.loaded{opacity:0;visibility:hidden;pointer-events:none}
/* safety net: if the page script is delayed or blocked, the loading screen still fades away */
#hc-loader{animation:hcLdrOut .6s ease 4s forwards}
@keyframes hcLdrOut{to{opacity:0;visibility:hidden;pointer-events:none}}
.ldr-inner{text-align:center}
.ldr-ring{position:relative;width:112px;height:112px;margin:0 auto 1.5rem;border-radius:50%;border:2px dashed var(--gold);animation:hcSpin 9s linear infinite;display:flex;align-items:center;justify-content:center}
.ldr-ring::before{content:"";position:absolute;inset:12px;border-radius:50%;border:1.5px solid var(--gold-deep);opacity:.7}
.ldr-glyph{font-size:2.1rem;color:var(--gold);animation:hcSpin 9s linear infinite reverse,hcBeat 1.6s ease-in-out infinite}
.ldr-names{font-family:"Pinyon Script",cursive;font-size:2.1rem;color:var(--gold-pale);line-height:1}
.ldr-sub{font-size:.66rem;letter-spacing:.34em;text-transform:uppercase;color:var(--gold-deep);margin-top:.7rem}
@keyframes hcSpin{to{transform:rotate(360deg)}}
@keyframes hcBeat{0%,100%{opacity:.7}50%{opacity:1}}

/* ---------- cover ---------- */
#hc-cover{
  position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;text-align:center;padding:2rem;
  background:radial-gradient(120% 90% at 50% 0%,#8E1020 0%,#5A0914 55%,#3E050E 100%);
  transition:opacity 1.3s ease,transform 1.3s cubic-bezier(.4,0,.2,1),visibility 1.3s;
}
#hc-cover::before{content:"";position:absolute;inset:18px;border:1.5px solid var(--gold);outline:1px solid rgba(212,175,55,.5);outline-offset:6px;pointer-events:none}
#hc-cover.open{opacity:0;visibility:hidden;transform:scale(1.25)}
/* lock page scrolling while the cover is showing */
html.amwed-locked,html.amwed-locked body{overflow:hidden;height:100%}
#hc-cover{overscroll-behavior:contain;touch-action:none}
.cover-inner{position:relative;max-width:540px;width:100%;padding:2rem 1.2rem}
.hc-deva{font-family:"Tiro Devanagari Hindi",serif;font-size:2.4rem;color:var(--gold);line-height:1.3}
.cover-sub{font-size:.78rem;letter-spacing:.38em;text-transform:uppercase;color:var(--gold-pale);margin-top:.2rem}
.cover-names{font-family:"Cinzel Decorative",serif;font-weight:400;font-size:clamp(2.4rem,9vw,4.4rem);line-height:1.15;margin:.9rem 0 .2rem;color:var(--gold-pale)}
.cover-amp{display:block;font-family:"Pinyon Script",cursive;font-size:.62em;color:var(--gold);margin:.1rem 0}
.cover-kind{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:1.35rem;color:var(--cream)}
.cover-date{font-size:.9rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin-top:.5rem}
.hc-open-btn{
  margin-top:2.2rem;cursor:pointer;border:none;border-radius:40px;padding:1.05rem 2.8rem;
  font-family:"Jost",sans-serif;font-size:.78rem;letter-spacing:.28em;text-transform:uppercase;font-weight:500;color:var(--red-deep);
  background:linear-gradient(135deg,var(--gold-pale),var(--gold) 55%,var(--gold-deep));
  box-shadow:0 14px 32px -12px rgba(0,0,0,.7);transition:transform .3s ease,filter .3s ease;
}
.hc-open-btn:hover{transform:translateY(-2px);filter:brightness(1.07)}

/* ---------- hero ---------- */
#hc-hero{min-height:100vh;display:flex;align-items:center;justify-content:center;padding-top:7rem;overflow:hidden}
.toran{
  position:absolute;top:0;left:0;right:0;height:74px;pointer-events:none;z-index:2;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='74' viewBox='0 0 90 74'><path d='M0 4 Q45 18 90 4' fill='none' stroke='rgb(184,144,42)' stroke-width='2'/><path d='M45 14 V60' stroke='rgb(184,144,42)' stroke-width='1.4'/><circle cx='45' cy='22' r='7' fill='rgb(242,140,40)'/><circle cx='45' cy='36' r='7' fill='rgb(255,193,7)'/><circle cx='45' cy='50' r='7' fill='rgb(242,140,40)'/><path d='M45 58 L38 70 L52 70 Z' fill='rgb(176,21,48)'/></svg>") repeat-x top center;
}
.hc-arch{
  position:relative;width:100%;max-width:520px;text-align:center;
  padding:3.4rem 2rem 2.8rem;border-radius:260px 260px 28px 28px;
  background:linear-gradient(180deg,#8E1020 0%,#5E0A14 100%);
  border:2px solid var(--gold);outline:1px solid var(--gold);outline-offset:-12px;
  box-shadow:0 0 0 7px rgba(212,175,55,.16),0 50px 100px -40px rgba(0,0,0,.8);
}
.hc-bride{width:150px;height:auto;display:block;margin:0 auto 1rem;filter:drop-shadow(0 12px 18px rgba(0,0,0,.45))}
.arch-pre{font-size:.72rem;letter-spacing:.34em;text-transform:uppercase;color:var(--gold-pale)}
.arch-names{font-family:"Cinzel Decorative",serif;font-weight:400;font-size:clamp(2rem,7vw,3.1rem);line-height:1.2;color:var(--gold-pale);margin:.5rem 0 .3rem}
.arch-names span{font-family:"Pinyon Script",cursive;color:var(--gold);font-size:.7em;padding:0 .12em}
.arch-kind{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:1.35rem;color:var(--cream)}
.arch-hosts{font-family:"Cormorant Garamond",serif;font-size:1.05rem;color:var(--gold-pale);margin-top:.9rem}
/* hero: no arch card or bride picture; text-only invitation heading */
.hc-arch{
  max-width:680px;padding:1rem 1rem 0;border:0;outline:0;border-radius:0;
  background:none;box-shadow:none;
}
.hc-bride{display:none}
.arch-orn{display:block;width:min(300px,72%);height:auto;margin:0 auto 1.5rem;filter:drop-shadow(0 2px 8px rgba(0,0,0,.5))}
.arch-pre{font-family:"Cormorant Garamond",serif;font-size:1rem;font-weight:600;letter-spacing:.36em;text-shadow:0 2px 14px rgba(0,0,0,.7)}
.arch-names{
  font-family:"Pinyon Script",cursive;font-size:clamp(3.4rem,14vw,6rem);line-height:1.05;
  color:var(--gold-pale);margin:.5rem 0 1rem;text-shadow:0 4px 26px rgba(0,0,0,.65);
}
.arch-names span{font-size:.55em;color:var(--gold);padding:0 .15em}
.arch-kind{
  font-family:"Cormorant Garamond",serif;font-style:normal;font-weight:600;font-size:1.15rem;
  letter-spacing:.3em;text-transform:uppercase;line-height:1.9;color:var(--cream);
  text-shadow:0 2px 14px rgba(0,0,0,.7);
}
/* glass card around the invitation heading + parents */
#hc-hero .hc-arch{
  padding:2.8rem 1.8rem 2.4rem;border-radius:28px;
  background:linear-gradient(155deg,rgba(255,255,255,.16),rgba(255,255,255,.05) 55%,rgba(255,255,255,.1));
  border:1px solid rgba(240,223,160,.5);
  outline:1px solid rgba(240,223,160,.22);outline-offset:-9px;
  -webkit-backdrop-filter:blur(14px) saturate(1.15);backdrop-filter:blur(14px) saturate(1.15);
  box-shadow:0 30px 70px -30px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.28);
}
/* invitee name from ?name= (only shown when the link has a name) */
.hc-invitee{max-width:90%;margin:1.5rem auto 0;text-align:center}
.hc-invitee .inv-pre{margin:0 0 .5rem;font-family:"Cormorant Garamond",serif;font-weight:600;font-size:.9rem;letter-spacing:.26em;text-transform:uppercase;color:var(--gold-pale)}
.hc-invitee .inv-name{margin:0;font-family:"Pinyon Script",cursive;font-size:clamp(2rem,8vw,2.8rem);line-height:1.2;color:var(--gold-pale);text-shadow:0 3px 14px rgba(60,0,10,.7);word-break:break-word}
.hc-invitee .inv-line{display:block;width:100%;margin:.1rem auto 0;border-bottom:2px dotted var(--gold);opacity:.7}
/* date / time / venue row + closing line at the bottom of the card */
#hc-hero .arch-orn-sm{width:min(230px,60%);margin:1.5rem auto 1.3rem}
.hc-info{
  display:grid;grid-template-columns:1fr auto 1fr auto 1.15fr;align-items:center;gap:.9rem;
  max-width:560px;margin:0 auto;text-align:center;
}
.hc-info-col{display:flex;flex-direction:column;align-items:center;gap:.25rem;color:var(--gold-pale)}
.hi-ico{width:30px;height:30px;color:var(--gold);margin-bottom:.35rem}
.hi-top{font-family:"Cormorant Garamond",serif;font-weight:600;font-size:.8rem;letter-spacing:.26em;text-transform:uppercase;color:var(--gold-pale)}
.hi-main{font-family:"Cormorant Garamond",serif;font-weight:700;font-size:1.02rem;letter-spacing:.1em;text-transform:uppercase;color:var(--cream);line-height:1.35}
.hi-venue{font-weight:600;font-size:.92rem;letter-spacing:.14em}
.hc-info-div{width:1.5px;align-self:stretch;min-height:70px;background:linear-gradient(180deg,transparent,var(--gold),transparent)}
.hc-thanks{
  max-width:360px;margin:0 auto;font-family:"Cormorant Garamond",serif;font-style:italic;
  font-size:1.2rem;line-height:1.6;color:var(--cream);text-shadow:0 2px 12px rgba(60,0,10,.7);
}
@media(max-width:560px){
  .hc-info{gap:.55rem}
  .hi-main{font-size:.8rem;letter-spacing:.05em}
  .hi-venue{font-size:.74rem;letter-spacing:.08em}
  .hi-top{font-size:.68rem;letter-spacing:.2em}
  .hi-ico{width:26px;height:26px}
  .hc-thanks{font-size:1.08rem}
}
/* parents widget now sits at the top of the card */
#hc-hero .hc-fams-top{margin:0 auto 1.8rem}
/* red-tinted glass with gold lettering */
#hc-hero .hc-arch{
  background:linear-gradient(160deg,rgba(158,20,40,.9),rgba(110,12,27,.92) 55%,rgba(74,7,17,.94));
  border:2px solid var(--gold);
  outline:1px solid rgba(212,175,55,.55);outline-offset:-10px;
  box-shadow:0 0 0 6px rgba(212,175,55,.14),0 34px 70px -28px rgba(0,0,0,.85),inset 0 0 60px rgba(0,0,0,.25);
}
#hc-hero .arch-pre{color:#F0DFA0;letter-spacing:.38em}
/* names in the same lettering as the Open Invitation cover */
#hc-hero .arch-names{
  font-family:"Cinzel Decorative",serif;font-weight:400;font-size:clamp(2.4rem,9vw,4.4rem);line-height:1.15;
  margin:.9rem 0 .5rem;color:var(--gold-pale);
  background:none;-webkit-background-clip:border-box;background-clip:border-box;
  -webkit-text-fill-color:currentColor;text-shadow:none;filter:none;
}
#hc-hero .arch-names span{
  display:block;font-family:"Pinyon Script",cursive;font-size:.62em;
  color:var(--gold);-webkit-text-fill-color:var(--gold);margin:.1rem 0;padding:0;
}
#hc-hero .arch-kind{color:#FBF3E4;text-shadow:0 2px 12px rgba(60,0,10,.8)}
#hc-hero .hc-fams{
  background:linear-gradient(160deg,rgba(74,7,17,.5),rgba(96,9,22,.42));
  border:1px solid rgba(232,196,90,.6);
  box-shadow:inset 0 1px 0 rgba(255,235,170,.2);
}
#hc-hero .hc-fam-pre{color:#EBCB62}
/* parents: no box of its own, just the text and divider on the red card */
#hc-hero .hc-fams{
  background:none;border:0;outline:0;box-shadow:none;border-radius:0;
  -webkit-backdrop-filter:none;backdrop-filter:none;padding:.4rem 0 0;
}
#hc-hero .hc-fam-name{color:#FBF3E4}
@media(max-width:560px){
  #hc-hero .hc-arch{padding:2.2rem 1.1rem 1.8rem;border-radius:22px}
}
/* parents widget (groom's side first) */
.hc-fams{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1.1rem;
  max-width:560px;margin:1.8rem auto 0;padding:1.3rem 1.4rem;text-align:center;
  background:rgba(74,7,17,.55);border:1px solid var(--line);border-radius:20px;
  outline:1px solid rgba(212,175,55,.25);outline-offset:-8px;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
}
.hc-fam-pre{display:block;font-size:.68rem;letter-spacing:.3em;text-transform:uppercase;color:var(--gold);margin-bottom:.4rem}
.hc-fam-name{font-family:"Cormorant Garamond",serif;font-size:1.12rem;line-height:1.5;color:var(--cream)}
.hc-fam-div{width:1.5px;align-self:stretch;min-height:56px;background:linear-gradient(180deg,transparent,var(--gold),transparent)}

@media(max-width:560px){
  .hc-fams{grid-template-columns:1fr;gap:.9rem;padding:1.2rem 1rem}
  .hc-fam-div{width:70px;height:1.5px;min-height:0;align-self:center;justify-self:center;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
}
.arch-date{display:inline-block;margin-top:1.4rem;padding:.7rem 1.6rem;border:1px solid var(--gold);border-radius:40px;font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}

/* ---------- countdown ---------- */
.count-grid{display:flex;justify-content:center;flex-wrap:wrap;gap:1.1rem;margin-top:2rem}
.count-box{min-width:108px;padding:1.4rem 1.1rem;border:1.5px solid var(--gold);border-radius:16px;background:rgba(0,0,0,.28);outline:1px solid rgba(212,175,55,.35);outline-offset:-7px}
.count-num{font-family:"Cinzel Decorative",serif;font-size:2.5rem;color:var(--gold-pale);line-height:1}
.count-label{font-size:.66rem;letter-spacing:.26em;text-transform:uppercase;color:var(--gold);margin-top:.6rem}

/* ---------- welcome ---------- */
.welcome-text{max-width:660px;margin:1.6rem auto 0;font-family:"Cormorant Garamond",serif;font-size:1.5rem;font-style:italic;color:var(--cream)}

/* ---------- details ---------- */
.detail-card{padding:2.2rem 2.4rem}
.dt-row{display:grid;grid-template-columns:130px 1fr;gap:1rem;padding:1rem 0;border-bottom:1px solid rgba(184,144,42,.35)}
.dt-row:last-of-type{border-bottom:none}
.dt-label{font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold-deep);padding-top:.35rem}
.dt-value{font-family:"Cormorant Garamond",serif;font-size:1.35rem;color:var(--ink);line-height:1.4}
.dt-value small{display:block;font-family:"Jost",sans-serif;font-size:.85rem;color:var(--muted);margin-top:.2rem}
/* month calendar with the homecoming day marked */
.hc-cal{max-width:380px;margin:0 auto}
.hc-cal-head{text-align:center;font-family:"Cinzel Decorative",serif;font-size:1.5rem;color:var(--red);letter-spacing:.06em;margin-bottom:1rem}
.hc-cal-head span{color:var(--gold-deep)}
.hc-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:.35rem;text-align:center}
.hc-cal-grid .wd{font-size:.7rem;letter-spacing:.14em;color:var(--gold-deep);font-weight:500;padding-bottom:.4rem;border-bottom:1px solid rgba(184,144,42,.35);margin-bottom:.2rem}
.hc-cal-grid .d{display:flex;align-items:center;justify-content:center;aspect-ratio:1;font-family:"Cormorant Garamond",serif;font-size:1.15rem;font-weight:600;color:var(--ink);border-radius:50%}
.hc-cal-grid .d.blank{visibility:hidden}
.hc-cal-grid .d.on{
  color:var(--red-deep);font-weight:700;font-size:1.25rem;
  background:radial-gradient(circle at 35% 30%,var(--gold-pale),var(--gold) 60%,var(--gold-deep));
  box-shadow:0 0 0 3px #fff,0 0 0 5px var(--crimson),0 10px 22px -8px rgba(176,21,48,.7);
  animation:hcCalPulse 2.4s ease-in-out infinite;
}
@keyframes hcCalPulse{0%,100%{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--crimson),0 10px 22px -8px rgba(176,21,48,.7)}50%{box-shadow:0 0 0 3px #fff,0 0 0 8px rgba(176,21,48,.55),0 10px 26px -6px rgba(176,21,48,.85)}}
.hc-cal-key{display:flex;align-items:center;justify-content:center;gap:.55rem;margin-top:1.1rem;font-family:"Cormorant Garamond",serif;font-style:italic;font-size:1.15rem;color:var(--crimson)}
.hc-cal-key i{width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 35% 30%,var(--gold-pale),var(--gold-deep));box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--crimson)}
.hc-cal-tba{text-align:center;font-family:"Cormorant Garamond",serif;font-size:1.4rem;color:var(--ink)}
/* every card on the page in the same red & gold as the invitation card */
.hc-card{
  background:linear-gradient(160deg,rgba(158,20,40,.9),rgba(110,12,27,.92) 55%,rgba(74,7,17,.94));
  border:2px solid var(--gold);
  outline:1px solid rgba(212,175,55,.55);outline-offset:-10px;
  box-shadow:0 0 0 6px rgba(212,175,55,.14),0 34px 70px -28px rgba(0,0,0,.85),inset 0 0 60px rgba(0,0,0,.25);
  color:var(--cream);
}
.rsvp-card label,.rsvp-card .rsvp-note{color:var(--gold-pale)}
.map-card .venue-note{color:var(--gold-pale)}
.map-card .venue-addr{color:var(--cream)}
.map-card .venue-addr strong{color:var(--gold-pale)}
.map-card .venue-map{border-color:var(--gold)}
/* calendar card in the same red & gold as the invitation card */
#hc-details .detail-card{
  background:linear-gradient(160deg,rgba(158,20,40,.9),rgba(110,12,27,.92) 55%,rgba(74,7,17,.94));
  border:2px solid var(--gold);
  outline:1px solid rgba(212,175,55,.55);outline-offset:-10px;
  box-shadow:0 0 0 6px rgba(212,175,55,.14),0 34px 70px -28px rgba(0,0,0,.85),inset 0 0 60px rgba(0,0,0,.25);
  color:var(--cream);
}
#hc-details .hc-cal-head{color:var(--gold-pale)}
#hc-details .hc-cal-head span{color:var(--gold)}
#hc-details .hc-cal-grid .wd{color:var(--gold);border-bottom-color:rgba(212,175,55,.4)}
#hc-details .hc-cal-grid .d{color:var(--cream)}
#hc-details .hc-cal-grid .d.on{
  color:var(--red-deep);
  box-shadow:0 0 0 3px rgba(74,7,17,.9),0 0 0 5px var(--gold-pale),0 10px 22px -8px rgba(0,0,0,.7);
  animation:hcCalPulseRed 2.4s ease-in-out infinite;
}
@keyframes hcCalPulseRed{0%,100%{box-shadow:0 0 0 3px rgba(74,7,17,.9),0 0 0 5px var(--gold-pale),0 10px 22px -8px rgba(0,0,0,.7)}50%{box-shadow:0 0 0 3px rgba(74,7,17,.9),0 0 0 9px rgba(240,223,160,.45),0 10px 26px -6px rgba(0,0,0,.8)}}
#hc-details .hc-cal-key{color:var(--gold-pale)}
#hc-details .hc-cal-key i{box-shadow:0 0 0 2px rgba(74,7,17,.9),0 0 0 3.5px var(--gold-pale)}
#hc-details .hc-cal-tba{color:var(--cream)}
.dt-actions{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;margin-top:1.6rem}

/* ---------- map ---------- */
.map-card{padding:2.2rem 2rem 2rem;max-width:760px;text-align:center}
.venue-note{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:1.1rem;color:var(--crimson);margin-bottom:.6rem}
.venue-addr{font-family:"Cormorant Garamond",serif;font-size:1.2rem;color:var(--muted);margin-bottom:1.4rem}
.venue-addr strong{display:block;font-weight:600;font-size:1.6rem;color:var(--red);margin-bottom:.25rem}
.venue-map{border-radius:18px;overflow:hidden;border:1.5px solid var(--gold-deep);box-shadow:0 22px 44px -26px rgba(74,7,17,.55)}
.map-card iframe{display:block;width:100%;height:380px;border:0}

/* ---------- RSVP ---------- */
.rsvp-lead{font-family:"Cormorant Garamond",serif;font-size:1.35rem;color:var(--gold-pale)}
.rsvp-card{max-width:520px;display:grid;gap:1.1rem}
.field label{display:block;font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-deep);margin-bottom:.4rem}
.field input,.field select{width:100%;padding:.85rem 1rem;border:1px solid rgba(184,144,42,.6);border-radius:10px;font-family:"Jost",sans-serif;font-size:.95rem;color:var(--ink);background:#fff}
.field input:focus,.field select:focus{outline:none;border-color:var(--crimson);box-shadow:0 0 0 3px rgba(176,21,48,.15)}
.rsvp-btn{width:100%;margin-top:.3rem}
.rsvp-note{text-align:center;color:var(--crimson);font-family:"Cormorant Garamond",serif;font-style:italic;font-size:1.3rem;min-height:1.6rem}
.rsvp-contact{text-align:center;font-family:"Cormorant Garamond",serif;font-size:1.1rem;color:var(--muted);padding-top:1.2rem;border-top:1px solid rgba(184,144,42,.35)}
.rsvp-contact a{color:var(--crimson);border-bottom:1px solid rgba(176,21,48,.4)}

/* ---------- footer ---------- */
.hc-foot{text-align:center;padding:5rem 1.5rem 4rem;background:rgba(0,0,0,.22)}
.monogram{width:92px;height:92px;border-radius:50%;border:1.5px solid var(--gold);outline:1px solid rgba(212,175,55,.45);outline-offset:5px;display:flex;align-items:center;justify-content:center;margin:0 auto 1.4rem;font-family:"Cinzel Decorative",serif;font-size:1.6rem;color:var(--gold)}
.foot-thanks{font-family:"Pinyon Script",cursive;font-size:2.6rem;color:var(--gold-pale);line-height:1}
.foot-date{font-size:.72rem;letter-spacing:.3em;text-transform:uppercase;color:var(--gold-deep);margin-top:1rem}

/* ---------- petals (marigold) ---------- */
#hc-petals{position:fixed;inset:0;pointer-events:none;z-index:50;overflow:hidden}
.hc-petal{position:absolute;top:-24px;border-radius:60% 0 60% 0;opacity:.8}
@keyframes hcFall{
  0%{transform:translateY(-24px) rotate(0);opacity:0}
  10%{opacity:.85}
  100%{transform:translateY(105vh) rotate(520deg);opacity:0}
}

/* ---------- red & gold rose background (drawn in CSS) ---------- */
:root{
  --hc-rose:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><defs><radialGradient id='r' cx='50%25' cy='45%25' r='60%25'><stop offset='0' stop-color='%23E0243F'/><stop offset='.6' stop-color='%23B01530'/><stop offset='1' stop-color='%236E0C1A'/></radialGradient></defs><circle cx='100' cy='100' r='92' fill='url(%23r)'/><g fill='none' stroke='%23FF7A8E' stroke-opacity='.55' stroke-width='3' stroke-linecap='round'><path d='M30 100a70 70 0 0 1 125-44'/><path d='M48 118a52 52 0 0 0 96-14'/><path d='M62 84a38 38 0 0 1 72 6'/><path d='M74 112a26 26 0 0 0 50-8'/><path d='M88 96a12 12 0 0 1 24 4'/></g><g fill='none' stroke='%234A0711' stroke-opacity='.55' stroke-width='3'><path d='M20 120a82 82 0 0 0 150 20'/><path d='M40 70a64 64 0 0 1 90-34'/></g></svg>");
  --hc-leaves-tl:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23F8E7A4'/><stop offset='1' stop-color='%23B8902A'/></linearGradient></defs><path d='M0 10C60 60 140 120 270 250' stroke='url(%23g)' stroke-width='4' fill='none'/><g fill='url(%23g)'><ellipse cx='30' rx='30' ry='11' transform='translate(50 48) rotate(5)'/><ellipse cx='30' rx='30' ry='11' transform='translate(60 56) rotate(85)'/><ellipse cx='30' rx='30' ry='11' transform='translate(95 82) rotate(5)'/><ellipse cx='30' rx='30' ry='11' transform='translate(105 90) rotate(85)'/><ellipse cx='30' rx='30' ry='11' transform='translate(140 118) rotate(5)'/><ellipse cx='30' rx='30' ry='11' transform='translate(150 126) rotate(85)'/><ellipse cx='30' rx='28' ry='10' transform='translate(185 160) rotate(5)'/><ellipse cx='30' rx='28' ry='10' transform='translate(195 168) rotate(85)'/><ellipse cx='28' rx='26' ry='9' transform='translate(230 205) rotate(5)'/><ellipse cx='28' rx='26' ry='9' transform='translate(240 213) rotate(85)'/></g></svg>");
  --hc-leaves-br:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23F8E7A4'/><stop offset='1' stop-color='%23B8902A'/></linearGradient></defs><g transform='rotate(180 150 150)'><path d='M0 10C60 60 140 120 270 250' stroke='url(%23g)' stroke-width='4' fill='none'/><g fill='url(%23g)'><ellipse cx='30' rx='30' ry='11' transform='translate(50 48) rotate(5)'/><ellipse cx='30' rx='30' ry='11' transform='translate(60 56) rotate(85)'/><ellipse cx='30' rx='30' ry='11' transform='translate(95 82) rotate(5)'/><ellipse cx='30' rx='30' ry='11' transform='translate(105 90) rotate(85)'/><ellipse cx='30' rx='30' ry='11' transform='translate(140 118) rotate(5)'/><ellipse cx='30' rx='30' ry='11' transform='translate(150 126) rotate(85)'/><ellipse cx='30' rx='28' ry='10' transform='translate(185 160) rotate(5)'/><ellipse cx='30' rx='28' ry='10' transform='translate(195 168) rotate(85)'/><ellipse cx='28' rx='26' ry='9' transform='translate(230 205) rotate(5)'/><ellipse cx='28' rx='26' ry='9' transform='translate(240 213) rotate(85)'/></g></g></svg>");
  --hc-ribbon:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 900' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23F8E7A4' stop-opacity='.85'/><stop offset='1' stop-color='%23B8902A' stop-opacity='.35'/></linearGradient></defs><path d='M300 0C200 250 250 450 150 650L300 720Z' fill='%23E0243F' fill-opacity='.22'/><path d='M300 0C180 200 260 420 120 640C60 740 120 840 300 900' stroke='url(%23g)' stroke-width='5' fill='none'/><path d='M300 40C210 240 280 430 160 640C110 730 170 820 300 860' stroke='url(%23g)' stroke-width='2' fill='none'/></svg>");
  --hc-light:
    conic-gradient(from 195deg at 88% -8%,transparent 0deg,rgba(255,225,160,.15) 6deg,transparent 12deg,rgba(255,225,160,.10) 18deg,transparent 26deg,rgba(255,225,160,.13) 32deg,transparent 40deg),
    radial-gradient(circle 16px at 7% 74%,rgba(255,214,120,.55),transparent),
    radial-gradient(circle 10px at 16% 58%,rgba(255,214,120,.5),transparent),
    radial-gradient(circle 22px at 24% 86%,rgba(255,214,120,.4),transparent),
    radial-gradient(circle 12px at 33% 12%,rgba(255,214,120,.45),transparent),
    radial-gradient(circle 18px at 62% 8%,rgba(255,214,120,.4),transparent),
    radial-gradient(circle 12px at 78% 70%,rgba(255,214,120,.5),transparent),
    radial-gradient(circle 20px at 90% 44%,rgba(255,214,120,.45),transparent),
    radial-gradient(circle 9px at 70% 90%,rgba(255,214,120,.55),transparent),
    radial-gradient(ellipse 70% 55% at 50% 38%,#9A1428 0%,#6B0B19 50%,#3E050E 100%);
}
body.amwed-hc-page{background-image:none;background-color:#4A0711}
body.amwed-hc-page::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    var(--hc-rose) left -64px top -64px/clamp(130px,34vw,230px) no-repeat,
    var(--hc-leaves-tl) left -8px top 24px/clamp(170px,44vw,300px) no-repeat,
    var(--hc-rose) right -56px bottom -56px/clamp(120px,30vw,210px) no-repeat,
    var(--hc-leaves-br) right -8px bottom 20px/clamp(160px,42vw,280px) no-repeat,
    var(--hc-ribbon) right top/min(300px,40vw) 100% no-repeat,
    var(--hc-light);
}
#hc-cover{
  background:var(--hc-light);
}
#hc-cover::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    var(--hc-rose) left -64px top -64px/clamp(130px,34vw,230px) no-repeat,
    var(--hc-leaves-tl) left -8px top 24px/clamp(170px,44vw,300px) no-repeat,
    var(--hc-rose) right -56px bottom -56px/clamp(120px,30vw,210px) no-repeat,
    var(--hc-leaves-br) right -8px bottom 20px/clamp(160px,42vw,280px) no-repeat,
    var(--hc-ribbon) right top/min(300px,40vw) 100% no-repeat;
}
.cover-inner{z-index:1}

/* ---------- photo background (Media Library image #60) ---------- */
:root{
  --hc-photo:url("https://anuradhaandmalan.com/wp-content/uploads/2026/10/Luxurious-Red-and-Gold-Wedding-Stage-1024x576.png");
}
@media(min-width:900px){
  :root{--hc-photo:url("https://anuradhaandmalan.com/wp-content/uploads/2026/10/Luxurious-Red-and-Gold-Wedding-Stage-1536x864.png")}
}
body.amwed-hc-page::before{
  background:
    linear-gradient(180deg,rgba(40,3,10,.28),rgba(40,3,10,.5)),
    var(--hc-photo) center/cover no-repeat,
    #4A0711;
}
#hc-cover{
  background:
    linear-gradient(180deg,rgba(40,3,10,.12),rgba(40,3,10,.32)),
    var(--hc-photo) center/cover no-repeat,
    #4A0711;
}
#hc-cover::after{display:none}

/* Phones / portrait: a wide picture can't fill a tall screen without cropping
   away its sides, so show the WHOLE picture across the top and fade it into
   the red page colour below. */
@media(max-width:899px) and (orientation:portrait){
  /* centre: plain crimson with a warm glow */
  body.amwed-hc-page{
    background-image:radial-gradient(ellipse 130% 55% at 50% 45%,#9A1428 0%,#6B0B19 55%,#3E050E 100%);
    background-attachment:fixed;
  }
  #hc-cover{
    background:radial-gradient(ellipse 130% 55% at 50% 45%,#9A1428 0%,#6B0B19 55%,#3E050E 100%);
  }
  /* left + right edges of the picture, full height of the screen
     (curtains and roses at the top, stage floor at the bottom) */
  body.amwed-hc-page::before,
  body.amwed-hc-page::after,
  .hc-side{
    content:"";display:block;position:fixed;top:0;bottom:0;width:38vw;height:auto;
    z-index:-1;pointer-events:none;
    background:var(--hc-photo) left center/auto 100% no-repeat;
    -webkit-mask-image:linear-gradient(90deg,#000 60%,transparent 100%);
    mask-image:linear-gradient(90deg,#000 60%,transparent 100%);
  }
  body.amwed-hc-page::before,.hc-side-l{left:0;right:auto}
  body.amwed-hc-page::after,.hc-side-r{left:auto;right:0;transform:scaleX(-1)}
  /* inside the cover screen the two edges are real elements */
  .hc-side{position:absolute;z-index:-1}
}
/* the two edge elements only exist for the phone layout */
.hc-side{display:none}
@media(max-width:899px) and (orientation:portrait){ .hc-side{display:block} }

/* Phones held upright: use the tall mobile picture (Media Library #64) */
:root{
  --hc-photo-m:url("https://anuradhaandmalan.com/wp-content/uploads/2026/10/Luxurious-Burgundy-Rose-Ceremony-Stage-768x1365.png");
}
@media(max-width:899px) and (orientation:portrait){
  body.amwed-hc-page::after,.hc-side{display:none !important}
  body.amwed-hc-page{background-image:none;background-color:#4A0711}
  body.amwed-hc-page::before{
    left:0;right:0;width:auto;transform:none;
    -webkit-mask-image:none;mask-image:none;
    background:
      linear-gradient(180deg,rgba(40,3,10,.25),rgba(40,3,10,.45)),
      var(--hc-photo-m) center/cover no-repeat,
      #4A0711;
  }
  #hc-cover{
    background:
      linear-gradient(180deg,rgba(40,3,10,.1),rgba(40,3,10,.3)),
      var(--hc-photo-m) center/cover no-repeat,
      #4A0711;
  }
}

/* Computers: keep the gold frame as a centred box (like on a phone)
   instead of running to the corners of the screen */
@media(min-width:900px){
  #hc-cover::before{
    inset:34px auto 34px 50%;
    width:min(640px,90vw);
    transform:translateX(-50%);
  }
}

/* "Open Invitation" cover: the names + button sit on a red & gold card */
#hc-cover .cover-inner{
  max-width:480px;width:100%;margin:0 auto;
  padding:2.8rem 1.8rem 2.6rem;
  border-radius:26px;
  background:linear-gradient(160deg,rgba(158,20,40,.9),rgba(110,12,27,.92) 55%,rgba(74,7,17,.94));
  border:2px solid var(--gold);
  outline:1px solid rgba(212,175,55,.55);outline-offset:-10px;
  box-shadow:0 0 0 6px rgba(212,175,55,.14),0 34px 70px -28px rgba(0,0,0,.85),inset 0 0 60px rgba(0,0,0,.25);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
}
@media(max-width:480px){
  #hc-cover .cover-inner{padding:2.4rem 1.2rem 2.2rem;border-radius:22px}
}

/* top decorative garland removed */
.toran{display:none !important}
#hc-hero{padding-top:3rem}

/* ---------- music button ---------- */
#hc-music-toggle{
  position:fixed;right:24px;bottom:24px;z-index:55;width:54px;height:54px;border-radius:50%;border:none;cursor:pointer;
  display:flex;align-items:center;justify-content:center;color:var(--red-deep);
  background:linear-gradient(135deg,var(--gold-pale),var(--gold) 55%,var(--gold-deep));
  box-shadow:0 14px 30px -10px rgba(0,0,0,.7);transition:transform .3s ease;
}
#hc-music-toggle:hover{transform:translateY(-2px)}
#hc-music-toggle svg{width:22px;height:22px}
#hc-music-toggle.playing{animation:hcPulse 1.8s ease-out infinite}
@keyframes hcPulse{0%{box-shadow:0 0 0 0 rgba(212,175,55,.6)}100%{box-shadow:0 0 0 18px rgba(212,175,55,0)}}

/* ---------- responsive ---------- */
@media(max-width:640px){
  section{padding:4rem 1.1rem}
  .hc-card{padding:2rem 1.3rem;outline-offset:-8px}
  .dt-row{grid-template-columns:1fr;gap:.2rem}
  .map-card iframe{height:300px}
  .hc-arch{padding:3rem 1.4rem 2.4rem;border-radius:200px 200px 24px 24px}
  .hc-bride{width:124px}
  #hc-music-toggle{right:16px;bottom:16px;width:48px;height:48px}
}
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .reveal,#hcArch.reveal{opacity:1;transform:none}
}
