:root{
  --bg: #F7F0EC;
  --text: #66483E;
  --blue: #606D89;

  --card: rgba(255,255,255,0.55);
  --line: rgba(102,72,62,0.22);

  --radius: 18px;
  --max: 1080px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,240,236,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 18px;
}

.mark{
  text-decoration:none;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 34px;
  line-height: 1;
}

.nav a{
  color: var(--text);
  text-decoration:none;
  opacity: 0.85;
  font-size: 14px;
}
.nav a:hover{ opacity: 1; }

.nav.desktop{
  display:flex;
  gap: 14px;
  align-items:center;
}

.menu-btn{
  display:none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor:pointer;
}
.menu-btn span{
  display:block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* Mobile menu */
.nav.mobile{
  display:none;
  padding: 10px 18px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(247,240,236,0.98);
}
.nav.mobile.open{ display:block; }
.nav.mobile a{
  display:block;
  padding: 10px 0;
  border-top: 1px solid rgba(102,72,62,0.14);
}

/* Hero */
.hero{
  padding: 26px 0 36px;
}
.hero-inner{
  text-align:center;
  padding: 22px 0 0;
}
.hero-monogram{
  display:none; /* you already have H&E in the top bar; turn on if you want */
}
.hero-art{
  margin: 18px auto 22px;
  max-width: 520px;
}
.hero-logo {
  width: min(140px, 38vw);
  height: auto;
  display: block;
  margin: 0 auto 3.25rem;
}
.art-placeholder{
  border: 1px dashed rgba(96,109,137,0.45);
  border-radius: 16px;
  padding: 34px 18px;
  color: rgba(102,72,62,0.72);
  font-size: 14px;
}

.hero-title{
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  text-transform: uppercase;
}
.hero-sub{
  margin-top: 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.18em;
  font-size: 18px;
  opacity: 0.92;
  text-transform: uppercase;
}

.hero-cta{
  margin-top: 22px;
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(102,72,62,0.06);
  color: var(--text);
  text-decoration:none;
  font-weight: 600;
}
.btn:hover{ background: rgba(102,72,62,0.10); }
.btn.ghost{
  background: transparent;
}

/* Sections */
.section{
  padding: 54px 0;
}
h2{
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 30px;
  text-transform: none;
}
h3{
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
}
.muted{
  margin: 0 0 14px;
  opacity: 0.82;
}

/* Cards / grids */
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.grid{
  display:grid;
  gap: 14px;
}
.grid.two{ grid-template-columns: 1fr 1fr; }
.grid.three{ grid-template-columns: repeat(3, 1fr); }
.grid.four{ grid-template-columns: repeat(4, 1fr); }

.photo {
  aspect-ratio: 1 / 1;
  background: #eee;
  overflow: hidden;
  border-radius: 4px;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* RSVP embed */
.rsvp-embed{
  width: 100%;
  border: 0;
  display: block;
  border-radius: 16px;
}

/* FAQ */
.faq details{
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.35);
  padding: 14px 16px;
}
.faq details + details{ margin-top: 10px; }
.faq summary{
  cursor:pointer;
  font-weight: 650;
}
.faq p{ margin: 10px 0 0; }

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
}
.footer-right{
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.22em;
  font-weight: 600;
}

/* FAQ styling (brings back the light background) */
#qa details{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 10px 0;
}

#qa summary{
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

#qa summary::-webkit-details-marker{
  display: none;
}

#qa details p{
  margin: 10px 0 0 0;
}


/* Responsive */
@media (max-width: 880px){
  .nav.desktop{ display:none; }
  .menu-btn{ display:block; }
  .grid.three{ grid-template-columns: 1fr; }
  .grid.two{ grid-template-columns: 1fr; }
  .grid.four{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px){
  .grid.four{ grid-template-columns: 1fr; }
  .mark{ font-size: 30px; }
}
