:root {
  --sage: #66785f;
  --sage-light: #8ea37f;
  --sage-pale: #dfe5d7;
  --cream: #f4f3ea;
  --text: #314036;
  --muted: #70826f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 6%; }

.site-header { padding: 20px 0; background: var(--cream); position: sticky; top: 0; z-index: 20; }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: Georgia, serif; font-size: 22px; text-decoration: none; }
.main-nav a {
  margin-left: 18px; text-decoration: none; color: var(--text);
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
}
.main-nav a.active { color: var(--sage); border-bottom: 2px solid var(--sage); padding-bottom: 4px; }
.hamburger { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--text); }

.hero { min-height: 80vh; display: grid; grid-template-columns: 1.1fr .9fr; }
.hero-left { padding: 8vw 6vw; display: flex; flex-direction: column; justify-content: center; }
.hero-right { background-size: cover; background-position: center; }
.kicker { text-transform: uppercase; letter-spacing: 3px; font-size: 12px; color: var(--muted); }
h1 { font-family: Georgia, serif; font-weight: 400; font-size: 56px; line-height: 1.1; margin: 16px 0; }
h2 { font-family: Georgia, serif; font-size: 38px; font-weight: 400; }
p { line-height: 1.65; font-size: 16px; }
p.lead { font-size: 18px; color: var(--muted); }

.btn {
  display: inline-block; width: max-content; background: var(--sage); color: #fff;
  text-decoration: none; padding: 14px 22px; margin-top: 18px; border-radius: 999px;
  font-size: 13px; border: none; cursor: pointer;
}
.btn-outline { background: transparent; border: 1px solid var(--sage); color: var(--sage); }
.btn-small { padding: 8px 16px; font-size: 12px; margin-top: 10px; }

.section { padding: 70px 7%; max-width: 1200px; margin: auto; }
.section.narrow { max-width: 760px; padding-bottom: 20px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.card { background: #fff; padding: 26px; border-radius: 18px; min-height: 130px; box-shadow: 0 8px 25px rgba(0,0,0,.05); }
.card strong { display: block; margin-bottom: 8px; }

.rsvp-cta { background: var(--sage-pale); text-align: center; padding: 80px 20px; }

.photo-grid, .hotel-grid, .album-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.photo-item { aspect-ratio: 4/5; background-size: cover; background-position: center; border-radius: 14px; }

.album-card {
  aspect-ratio: 4/5; background-size: cover; background-position: center; border-radius: 14px;
  display: flex; align-items: flex-end; padding: 18px; color: #fff; text-decoration: none; font-family: Georgia, serif; font-size: 20px;
  position: relative;
}
.album-card::after { content: ""; position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(transparent 50%, rgba(0,0,0,.5)); }
.album-card span { position: relative; z-index: 1; }

.gift-card, .hotel-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,.05); }
.gift-image, .hotel-image { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.gift-body, .hotel-body { padding: 20px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.price { color: var(--sage); font-weight: bold; }
.quota-info { font-size: 13px; color: var(--muted); }

.gift-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.gift-form input, .gift-form textarea { padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; }
.qty-label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.cart-banner { text-align: center; }
.cart-banner-link { width: 100%; text-align: center; }

.cart-section { background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 8px 25px rgba(0,0,0,.05); margin-top: 30px; }
.cart-row { display: grid; grid-template-columns: 1fr 70px 90px auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.cart-row-title { display: flex; flex-direction: column; }
.cart-qty { padding: 6px; border: 1px solid #ddd; border-radius: 6px; width: 70px; }
.cart-subtotal { font-weight: bold; text-align: right; }
.cart-total { display: flex; justify-content: space-between; padding: 14px 0; font-size: 18px; }
.hidden-form { display: none; }
.checkout-form { margin-top: 20px; }

@media (max-width: 600px) {
  .cart-row { grid-template-columns: 1fr; text-align: left; }
  .cart-subtotal { text-align: left; }
  .grid-4, .photo-grid, .gift-grid, .hotel-grid, .album-grid {
    grid-template-columns: 1fr;
  }
}

.venue-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.venue-card { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 8px 25px rgba(0,0,0,.05); }
.venue-card h3 { font-family: Georgia, serif; font-weight: 400; font-size: 24px; margin: 8px 0; }
.venue-time { color: var(--sage); font-weight: bold; margin: 0 0 4px; }
.venue-map { border-radius: 12px; overflow: hidden; margin: 14px 0; }
.venue-map iframe { display: block; }

.timeline-list { display: flex; flex-direction: column; gap: 20px; }
.timeline-row { display: grid; grid-template-columns: 100px 1fr; gap: 20px; border-bottom: 1px solid #e3e0d2; padding-bottom: 20px; }
.timeline-time { color: var(--sage); font-weight: bold; }

.form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.form input, .form select, .form textarea {
  padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 15px; color: var(--text);
}
.form textarea { min-height: 90px; }
.checkbox-field { flex-direction: row !important; align-items: center; gap: 8px !important; font-size: 15px !important; color: var(--text) !important; }
.checkbox-field input { width: auto; }

.alert { padding: 16px 20px; border-radius: 10px; margin: 20px 0; }
.alert-success { background: #e3f0dd; color: #375a2c; }
.alert-error { background: #f9e0e0; color: #7a2b2b; }

.contact-list { list-style: none; padding: 0; line-height: 2; }

.gate-section { text-align: center; margin: 0 auto; }
.gate-section .form { text-align: left; }
.muted { color: var(--muted); font-size: 14px; }

.site-footer { padding: 40px; text-align: center; font-family: Georgia, serif; }
.footer-brand { font-size: 20px; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 340px; }
  h1 { font-size: 40px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .venue-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    flex-direction: column; padding: 12px 6%; box-shadow: 0 10px 20px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { margin: 10px 0; }
  .hamburger { display: block; }
  .timeline-row { grid-template-columns: 70px 1fr; }
}
