:root{
  --ivory:#FCEDED;
  --mist:#F7DBDB;
  --blush:#FAE4E4;
  --petal:#FBF6F0;
  --lilac:#EFC9D8;
  --rose:#EBC2C2;
  --mauve:#C77FA0;
  --mauve-deep:#A85F82;
  --plum:#4E4030;
  --muted:#8C7A63;
  --line:#EAD3D6;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body.amwed-home-page{
  font-family:"Jost",sans-serif;color:var(--plum);line-height:1.7;
  background:radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, var(--blush) 45%, var(--mist) 100%);
  min-height:100vh;overflow-x:hidden;
}
a{color:inherit;text-decoration:none}

/* ---------- layout ---------- */
.home{
  min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:5rem 1.5rem 4rem;gap:3rem;text-align:center;
}

/* ---------- hero ---------- */
.home-eyebrow{font-size:.78rem;letter-spacing:.38em;text-transform:uppercase;color:var(--muted)}
.home-names{
  font-family:"Cormorant Garamond",serif;font-weight:400;color:var(--plum);
  font-size:clamp(3rem,10vw,6rem);line-height:1.05;margin:.6rem 0 .2rem;
}
.home-amp{font-family:"Pinyon Script",cursive;color:var(--mauve);font-size:.62em;padding:0 .1em}
.home-divider{display:flex;align-items:center;justify-content:center;gap:1.1rem;margin:1.2rem 0}
.home-divider::before,.home-divider::after{content:"";height:1.5px;width:76px;background:var(--line)}
.home-divider span{font-size:1.5rem;color:var(--mauve)}
.home-date{font-size:1rem;letter-spacing:.26em;color:var(--mauve-deep)}
.home-lead{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:1.3rem;color:var(--muted);margin-top:1.1rem}

/* ---------- invitation cards (glass) ---------- */
.home-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.8rem;width:100%;max-width:880px}
.home-card{
  position:relative;display:flex;flex-direction:column;align-items:center;gap:.55rem;
  padding:2.8rem 2rem 2.4rem;border-radius:28px;
  background:linear-gradient(160deg, rgba(251,246,240,.72), rgba(251,246,240,.5));
  -webkit-backdrop-filter:blur(18px) saturate(1.15);backdrop-filter:blur(18px) saturate(1.15);
  border:1px solid rgba(199,127,160,.35);
  box-shadow:0 50px 100px -50px rgba(150,80,110,.35), inset 0 1px 0 rgba(255,255,255,.8);
  transition:transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, border-color .5s ease;
}
.home-card:hover,.home-card:focus-visible{
  transform:translateY(-8px);border-color:rgba(199,127,160,.7);
  box-shadow:0 60px 110px -46px rgba(150,80,110,.5), inset 0 1px 0 rgba(255,255,255,.9);
  outline:none;
}
.hc-icon{
  width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(199,127,160,.14);border:1px solid rgba(199,127,160,.4);color:var(--mauve-deep);margin-bottom:.6rem;
}
.hc-icon svg{width:28px;height:28px}
.hc-label{font-size:.7rem;letter-spacing:.34em;text-transform:uppercase;color:var(--mauve-deep)}
.hc-title{font-family:"Cormorant Garamond",serif;font-weight:500;font-size:2rem;line-height:1.15;color:var(--plum)}
.hc-meta{font-family:"Cormorant Garamond",serif;font-size:1.15rem;color:var(--muted);line-height:1.6;margin:.4rem 0 1.2rem}
.hc-btn{
  display:inline-block;background:var(--mauve);color:#fff;border-radius:40px;
  font-size:.74rem;letter-spacing:.26em;text-transform:uppercase;padding:.95rem 2.2rem;
  box-shadow:0 12px 30px -12px rgba(150,80,110,.7);transition:background .3s ease, transform .3s ease;
}
.home-card:hover .hc-btn,.home-card:focus-visible .hc-btn{background:var(--mauve-deep)}

/* ---------- footer ---------- */
.home-monogram{
  width:76px;height:76px;border-radius:50%;border:1px solid var(--mauve);margin:0 auto .9rem;
  display:flex;align-items:center;justify-content:center;
  font-family:"Cormorant Garamond",serif;font-size:1.5rem;color:var(--mauve-deep);
}
.home-thanks{font-family:"Pinyon Script",cursive;font-size:2.2rem;color:var(--mauve-deep);line-height:1}

/* ---------- entrance animation (CSS only) ---------- */
@keyframes homeUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
.home-hero > *,.home-card,.home-foot{opacity:0;animation:homeUp 1.4s cubic-bezier(.19,.6,.22,1) forwards}
.home-hero > :nth-child(1){animation-delay:.1s}
.home-hero > :nth-child(2){animation-delay:.3s}
.home-hero > :nth-child(3){animation-delay:.5s}
.home-hero > :nth-child(4){animation-delay:.65s}
.home-hero > :nth-child(5){animation-delay:.8s}
.home-card:nth-child(1){animation-delay:1s}
.home-card:nth-child(2){animation-delay:1.25s}
.home-foot{animation-delay:1.5s}

/* ---------- fullscreen background video plugin (blur + soft tint) ---------- */
.amwed-home-page.enweby-fullscreen-background-video{background:transparent !important}
.amwed-home-page.enweby-fullscreen-background-video .home{background:rgba(252,237,237,.5)}
.enweby-fullscreen-background-video video{filter:blur(var(--bg-blur,12px)) saturate(1.05) !important;transform:scale(1.08) !important}

/* ---------- responsive ---------- */
@media(max-width:720px){
  .home{padding:3.5rem 1.2rem 3rem;gap:2.4rem}
  .home-cards{grid-template-columns:1fr;max-width:460px}
  .home-card{padding:2.2rem 1.5rem 2rem}
  .hc-title{font-size:1.75rem}
}
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .home-hero > *,.home-card,.home-foot{opacity:1;transform:none}
}
