/* Color palette pulled from the invitation (tweak as needed)
   --cream: #F6E9D2;  --tan: #EBD9BF;  --warm: #E7CA9F;
   --ink: #5C4A3C;    --blue: #6F9FB4; --blue-dark: #4F7D90;
*/
:root{
  --cream:#F6E9D2;
  --tan:#EBD9BF;
  --warm:#E7CA9F;
  --ink:#5C4A3C;
  --blue:#6F9FB4;
  --blue-dark:#4F7D90;
  --shadow:0 10px 30px rgba(92,74,60,.12), 0 2px 6px rgba(92,74,60,.08);
  --radius:22px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(239,220,186,.45), transparent 60%),
    linear-gradient(180deg, var(--cream), #fff 30%);
  background-attachment: fixed;
}
h1,h2,h3,h4{font-family:"DM Serif Display", serif; margin:0 0 .5rem}
h1{font-size:clamp(2.4rem,5vw,4rem); letter-spacing:.02em}
h2{font-size:clamp(1.2rem,2.6vw,1.8rem); font-weight:400}
h3{font-size:clamp(1.4rem,2.2vw,1.6rem)}
.lead{font-weight:600}
a{color:var(--blue-dark); text-decoration-thickness:1.5px; text-underline-offset:2px}
a.btn{display:inline-block; padding:.8rem 1.1rem; background:var(--blue); color:#fff; border-radius:999px; text-decoration:none; box-shadow:var(--shadow)}
a.btn.alt{background:var(--ink);}
.note{opacity:.8}

.skip-link{position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden}
.skip-link:focus{left:1rem; top:1rem; width:auto; height:auto; background:#000; color:#fff; padding:.5rem 1rem; z-index:1000}

.frame{max-width:1000px; margin:0 auto; padding:2rem 1.2rem}
.site-header{
  background:linear-gradient(180deg, var(--tan), transparent 60%);
  border-bottom:8px solid rgba(92,74,60,.08);
}
.hero-section {
  background: linear-gradient(180deg, var(--tan), transparent 60%);
  padding: 2rem 0;
}
.hero-section .frame {
  width: 100%;
  position: relative;
}
.hero-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}
.hero-decor {
  position: absolute;
  opacity: 0.9;
}
/* Stars - varied sizes, positioned around and on the hero box */
.star {
  animation: twinkle 3s ease-in-out infinite;
}
.star-1 {
  width: 70px;
  height: auto;
  top: -10px;
  left: 15%;
  animation-delay: 0s;
}
.star-2 {
  width: 45px;
  height: auto;
  top: 20px;
  right: 12%;
  animation-delay: 0.5s;
}
.star-3 {
  width: 35px;
  height: auto;
  top: -5px;
  left: 48%;
  animation-delay: 1s;
}
.star-4 {
  width: 55px;
  height: auto;
  bottom: 25%;
  right: 5%;
  animation-delay: 1.5s;
}
.star-5 {
  width: 30px;
  height: auto;
  bottom: 30%;
  left: 8%;
  animation-delay: 2s;
}
.star-6 {
  width: 40px;
  height: auto;
  top: 10px;
  left: 35%;
  animation-delay: 2.5s;
}
.star-7 {
  width: 50px;
  height: auto;
  bottom: 20%;
  right: 25%;
  animation-delay: 0.8s;
}
.star-8 {
  width: 28px;
  height: auto;
  top: 30px;
  left: 65%;
  animation-delay: 1.2s;
}
/* Airplane - top right corner */
.airplane {
  width: 120px;
  height: auto;
  top: -10px;
  right: 8%;
  animation: float 4s ease-in-out infinite;
  transform: rotate(-15deg);
}
/* Rocking horse - top left corner */
.rocking-horse {
  width: 190px;
  height: auto;
  top: -20px;
  left: -5%;
  animation: rock 2s ease-in-out infinite;
}
/* Barrels - bottom corners */
.barrel-1 {
  width: 95px;
  height: auto;
  bottom: -20px;
  left: 8%;
  animation: bounce 2.8s ease-in-out infinite;
  transform: rotate(15deg);
}
.barrel-2 {
  width: 140px;
  height: auto;
  bottom: 25px;
  right: -40px;
  animation: bounce 2.2s ease-in-out infinite;
  animation-delay: 1.1s;
  transform: rotate(-12deg);
}
/* Animations */
@keyframes twinkle {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.95); }
}
@keyframes float {
  0%, 100% { transform: rotate(-15deg) translateY(0px); }
  50% { transform: rotate(-15deg) translateY(-12px); }
}
@keyframes rock {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
@keyframes bounce {
  0%, 100% { transform: rotate(10deg) translateY(0px); }
  50% { transform: rotate(10deg) translateY(-8px); }
}
.hero-content {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(180deg, #fff, var(--cream));
  border: 2px solid rgba(92,74,60,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .hero-content {
    margin: 0 3rem;
  }
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--ink);
  font-weight: 400;
  margin: 0;
  font-style: italic;
}
.brand{ text-align:center; padding-top:1rem }
.brand-top{ text-transform:uppercase; letter-spacing:.25em; font-weight:800 }
.brand-title{ color:var(--blue); text-transform:uppercase }
.brand-name span{ color:var(--blue-dark) }

.content{ max-width:1000px; margin:0 auto; padding:2rem 1.2rem; }
.card{
  background:linear-gradient(180deg, #fff, var(--cream));
  border:2px solid rgba(92,74,60,.12);
  box-shadow:var(--shadow);
  border-radius:var(--radius);
  margin:1.2rem 0;
  overflow:hidden;
}
.card.soft{ background:linear-gradient(180deg, #fff, var(--tan)); }
.card-header{ padding:1rem 1.2rem; background:var(--tan); border-bottom:2px solid rgba(92,74,60,.1) }
.card-body{ padding:1.2rem 1.2rem 1.6rem }
.grid-2{ display:grid; gap:1rem; grid-template-columns:1fr; }
@media (min-width:720px){ .grid-2{ grid-template-columns:1fr 1fr; } }

.details{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:1rem 1.2rem;
}
.details dt{ font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--blue-dark); }
.details dd{ margin:0; }

.countdown{ display:flex; gap:1rem; margin-top:.6rem; justify-content: center; flex-wrap: wrap; }
.countdown div{ background:var(--tan); border-radius:14px; padding:.6rem .8rem; text-align:center; min-width:70px; box-shadow:var(--shadow) }
.countdown span{ display:block; font-size:1.4rem; font-weight:800 }
.countdown-card .card-body { text-align: center; }
.edd{ font-size:1.2rem; color:var(--blue-dark) }

.shower-invite-art {
  margin: 2rem auto 0;
  text-align: center;
  max-width: 400px;
}
.shower-invite-art img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(92,74,60,.15);
}

.announce-box{
  background:linear-gradient(180deg, #fff, var(--tan));
  border:2px dashed rgba(92,74,60,.3);
  border-radius:14px;
  padding:1rem;
}

.registry-list{ list-style:none; padding:0; margin:.2rem 0 0 }
.registry-list li{ padding:.35rem 0 }
.registry-list a{ font-weight:600 }

.site-footer{ text-align:center; padding:2rem 1rem; color:rgba(92,74,60,.8) }

/* Modal */
dialog{ border:none; border-radius:14px; padding:0; box-shadow:var(--shadow); }
.modal{ padding:1.2rem 1.2rem 1rem; min-width:320px; }
.modal h4{ margin-top:0 }
.modal label{ display:block; font-weight:600; margin:.4rem 0 }
.modal input{ width:100%; padding:.7rem .8rem; border:1px solid rgba(92,74,60,.25); border-radius:10px; }
.modal menu{ display:flex; justify-content:flex-end; gap:.6rem; padding:0; margin-top:1rem }
.modal button{ background:transparent; border:1px solid rgba(92,74,60,.25); border-radius:999px; padding:.6rem 1rem; cursor:pointer }
.modal .btn{ padding:.6rem 1rem; border-radius:999px; }
