:root {
  --bg: #f5efe8;
  --card: #fffaf4;
  --text: #2f221a;
  --muted: #6e5a4e;
  --accent: #925a27;
  --accent-soft: #decebd;
  --olive: #7e806f;
  --line: #d9c7b4;
  --shadow: 0 10px 28px rgba(53, 32, 21, 0.16);
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(180deg, #f3ece4 0%, #efe4d8 42%, #f9f5ef 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

p { line-height: 1.65; color: var(--muted); }

img { display: block; width: 100%; height: auto; border-radius: 14px; }

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(247, 239, 230, 0.92);
  border-bottom: 1px solid rgba(189, 162, 136, 0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
}

.nav-links a:hover { color: var(--accent); }

.hero {
  padding: 4.4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  display: inline-block;
  background: var(--accent-soft);
  color: #73482b;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(104, 62, 28, 0.35);
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-card {
  background: var(--card);
  padding: 1rem;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

section {
  padding: 2.8rem 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  max-width: 70ch;
  margin-bottom: 1.4rem;
}

.details-grid,
.schedule-grid,
.info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: 0 4px 12px rgba(71, 46, 28, 0.08);
}

.card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

.eyebrow {
  display: inline-block;
  color: var(--olive);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.76rem;
  text-transform: uppercase;
  margin-bottom: 0.42rem;
}

.gallery-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.carousel {
  position: relative;
  min-height: 340px;
}

.slide {
  display: none;
  height: 100%;
}

.slide.active { display: block; }

.slide img {
  width: 100%;
  height: clamp(300px, 50vw, 520px);
  object-fit: cover;
  border-radius: 0;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
  background: #f9f1e7;
}

.control-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.slide-indicator {
  font-size: 0.9rem;
  color: var(--muted);
}

.faq details {
  background: #fffaf4;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq-block {
  margin-top: 1.2rem;
}

.rsvp-placeholder {
  border: 2px dashed #c9ab8d;
  background: linear-gradient(135deg, #f8ede2 0%, #faf4ec 100%);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.rsvp-placeholder .embed-mock {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  background: repeating-linear-gradient(
    -45deg,
    #fefcf9,
    #fefcf9 16px,
    #f6ede3 16px,
    #f6ede3 32px
  );
  color: #7e6455;
  padding: 1.2rem;
}

.rsvp-placeholder strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #724423;
  font-size: 1.05rem;
}

.slide-placeholder {
  height: clamp(300px, 50vw, 520px);
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #6f513f;
  font-weight: 600;
  padding: 1.2rem;
  background:
    linear-gradient(140deg, rgba(223, 203, 179, 0.92), rgba(201, 171, 141, 0.88)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.18), rgba(255,255,255,0.18) 12px, rgba(150,102,65,0.09) 12px, rgba(150,102,65,0.09) 24px);
}

footer {
  padding: 2rem 0 2.8rem;
  text-align: center;
  color: #745f52;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .details-grid,
  .schedule-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .nav-links {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.3rem;
  }

  .nav-links::-webkit-scrollbar { height: 6px; }
  .nav-links::-webkit-scrollbar-thumb {
    background: #e9d9d1;
    border-radius: 999px;
  }
}
  
.card a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.card a:hover {
  color: var(--accent);
}