
/* Landing page: responsive across mobile, iPad, and laptop */
:root{--gold:#c9962c;--gold-l:#ebd083;--cream:#fffaf0;--maroon:#5c0811;--maroon-d:#3d050b}
*{box-sizing:border-box;margin:0;padding:0}
html{overflow-x:hidden}
body{font-family:'Lato',sans-serif;font-weight:300;font-size:clamp(1rem,2.2vw,1.08rem);line-height:1.6;color:var(--cream);text-align:center;background:var(--maroon-d);overflow-x:hidden;-webkit-text-size-adjust:100%}
h1,.eyebrow,.kind,.go,.choose{font-family:'Cinzel',serif;font-weight:400;letter-spacing:.18em;text-transform:uppercase}

.page{
  position:relative;overflow:hidden;min-height:100dvh;display:flex;align-items:center;
  background:
    radial-gradient(ellipse 75% 40% at 50% 10%,rgba(235,208,131,.15),transparent 65%),
    linear-gradient(180deg,#590710 0%,#7d0d1a 42%,#680914 78%,#47040b 100%);
}
main{position:relative;z-index:2;width:100%;max-width:760px;margin:0 auto;padding:clamp(2rem,5vw,3rem) 1.25rem 3.5rem}

.top .om{font-size:clamp(2.5rem,7vw,3.2rem);line-height:1;color:var(--gold-l);text-shadow:0 2px 14px rgba(235,208,131,.35)}
.eyebrow{color:var(--gold-l);font-size:.88rem;margin:.75rem 0 1rem;letter-spacing:.24em}
.intro{font-family:'Cormorant Garamond',serif;font-weight:300;font-size:clamp(1.15rem,2.8vw,1.3rem);max-width:30ch;margin:0 auto 1rem;font-style:italic;opacity:.92}
h1{display:flex;flex-direction:column;align-items:center;margin:.5rem 0 1.5rem}
h1 span{
  font-family:'Cormorant Garamond',serif;font-weight:600;text-transform:none;letter-spacing:.04em;
  font-size:clamp(3rem,10.5vw,4.8rem);line-height:1.05;
  background:linear-gradient(180deg,#fff3cc,var(--gold-l) 55%,var(--gold));
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
}
h1 em{font-family:'Cormorant Garamond',serif;font-weight:300;font-style:italic;color:var(--gold-l);font-size:1.55rem;margin:.2rem 0;letter-spacing:.12em}
.choose{color:var(--gold-l);font-size:.82rem;margin-bottom:1.75rem;letter-spacing:.22em}

/* ---------- Two invitation cards ---------- */
.doors{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;max-width:640px;margin:0 auto}
.door{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;
  padding:clamp(1.75rem,4vw,2.5rem) 1.25rem;text-decoration:none;
  border-radius:22px;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.door:hover,.door:focus-visible{transform:translateY(-5px);outline:none}
.door .kind{font-size:.9rem;font-weight:600;margin-bottom:.6rem;letter-spacing:.2em}
.door .day{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.25rem;opacity:.9}
.door .date{font-family:'Cormorant Garamond',serif;font-size:clamp(1.35rem,3vw,1.55rem);font-weight:600;line-height:1.25}
.door .place{font-family:'Lato',sans-serif;font-weight:300;font-size:.95rem;opacity:.85;margin-top:.65rem;max-width:20ch}
.door .go{display:inline-flex;align-items:center;justify-content:center;min-height:42px;font-size:.7rem;font-weight:600;margin-top:1.25rem;padding:.6rem 1.25rem;border-radius:999px;transition:background .2s ease}

.door.wedding{
  color:var(--cream);border:none;
  border-top:1px solid rgba(235,208,131,.55);border-bottom:1px solid rgba(235,208,131,.55);
  background:radial-gradient(ellipse at 50% 0,rgba(235,208,131,.12),rgba(55,6,12,.5) 80%);
  box-shadow:0 16px 36px rgba(0,0,0,.35);
}
.door.wedding .kind{color:var(--gold-l)}
.door.wedding .go{background:transparent;color:var(--gold-l);border:1px solid rgba(235,208,131,.6)}
.door.wedding:hover,.door.wedding:focus-visible{box-shadow:0 22px 42px rgba(0,0,0,.48);border-color:var(--gold-l)}
.door.wedding:hover .go,.door.wedding:focus-visible .go{background:var(--gold-l);color:#3a060b;border-color:var(--gold-l)}

.door.reception{
  color:var(--cream);border:none;
  border-top:1px solid rgba(235,208,131,.55);border-bottom:1px solid rgba(235,208,131,.55);
  background:radial-gradient(ellipse at 50% 0,rgba(235,208,131,.12),rgba(72,10,18,.45) 80%);
  box-shadow:0 16px 36px rgba(0,0,0,.35);
}
.door.reception .kind{color:var(--gold-l)}
.door.reception .go{background:transparent;color:var(--gold-l);border:1px solid rgba(235,208,131,.6)}
.door.reception:hover,.door.reception:focus-visible{box-shadow:0 22px 42px rgba(0,0,0,.48);border-color:var(--gold-l)}
.door.reception:hover .go,.door.reception:focus-visible .go{background:var(--gold-l);color:#3a060b;border-color:var(--gold-l)}

footer{margin-top:2.75rem}
.divider{display:flex;align-items:center;gap:1rem;margin:0 auto 1.5rem;max-width:360px;color:var(--gold-l)}
.divider i{flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--gold-l),transparent)}
footer p{font-family:'Cormorant Garamond',serif;font-weight:300;font-size:clamp(1.12rem,2.6vw,1.25rem);max-width:36ch;margin:0 auto 1rem}
.sign{font-family:'Cormorant Garamond',serif;font-style:italic;color:var(--gold-l)}

/* ---------- Mandalas (scaled per device so they never overlap cards on iPad/laptop) ---------- */
.m{position:absolute;z-index:0;width:clamp(70px,18vw,120px);background-repeat:no-repeat;background-size:100% 100%;pointer-events:none;opacity:.88}
.m.tr,.m.tl{top:0;background-image:url("assets/mandala-tr.png");aspect-ratio:234/279;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
.m.tr{right:0}.m.tl{left:0;transform:scaleX(-1)}
.m.bl,.m.br{bottom:0;background-image:url("assets/mandala-bl.png");aspect-ratio:270/320;-webkit-mask-image:linear-gradient(transparent,#000 30%);mask-image:linear-gradient(transparent,#000 30%)}
.m.bl{left:0}.m.br{right:0;transform:scaleX(-1)}

@media (min-width:900px) and (max-width:1180px){
  .m{position:fixed;width:clamp(110px,13vw,180px);opacity:.72}
}
@media (min-width:1181px){
  .m{position:fixed;width:clamp(190px,19vw,340px)}
}

@media (max-width:600px){
  .doors{grid-template-columns:1fr 1fr;max-width:none;gap:.75rem}
  main{padding-left:.9rem;padding-right:.9rem}
  .door{padding:1.1rem .55rem 1.2rem;border-radius:18px}
  .door .thumb{width:62%;margin-bottom:.6rem}
  .door{justify-content:flex-start}
  .door .kind{font-size:.68rem;letter-spacing:.1em;margin-bottom:.4rem;min-height:2.6em;display:flex;align-items:center;justify-content:center}
  .door .place{min-height:2.6em}
  .door .day{font-size:1.05rem}
  .door .date{font-size:1.12rem}
  .door .place{font-size:.8rem;margin-top:.45rem}
  .door .go{font-size:.58rem;letter-spacing:.1em;padding:.5rem .7rem;margin-top:auto;min-height:40px}
  .door .place{margin-bottom:.9rem}
  main{padding-top:2.25rem;padding-bottom:3.5rem}
}
@media (prefers-reduced-motion:reduce){.door{transition:none}.door:hover,.door:focus-visible{transform:none}}

/* Card artwork */
.door .thumb{display:block;width:min(46%,130px);aspect-ratio:3/4;margin-bottom:.9rem;background-position:center;background-size:contain;background-repeat:no-repeat;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,.4));transition:transform .3s ease}
.door.wedding .thumb{background-image:url("assets/arch.webp")}
.door.reception .thumb{background-image:url("assets/gate.webp")}
.door:hover .thumb,.door:focus-visible .thumb{transform:scale(1.04)}
.lotus{display:block;margin:0 auto}
.divider b{display:inline-flex;align-items:center;line-height:1}
@media (prefers-reduced-motion:reduce){.door .thumb{transition:none}}
