
:root {
  --ink: #22241f;
  --cream: #f5f0e7;
  --paper: #fffdf8;
  --forest: #2d3b2b;
  --forest-2: #1f281e;
  --gold: #b79b63;
  --muted: #6c6d67;
  --line: rgba(34, 36, 31, .12);
  --shadow: 0 18px 45px rgba(16, 20, 15, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  flex-direction: column;
  color: white;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7, 12, 8, .38), rgba(7, 12, 8, .15) 35%, rgba(7, 12, 8, .58)),
    linear-gradient(to right, rgba(7, 12, 8, .30), transparent 55%);
  z-index: 1;
}
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 70px);
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: .95rem;
}
.nav-links a {
  color: white;
  text-decoration: none;
  opacity: .92;
}
.hero-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 80px clamp(22px, 7vw, 110px) 86px;
  max-width: 850px;
}
.eyebrow, .section-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 700;
}
.hero h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}
.hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(3.3rem, 8vw, 7.8rem);
  line-height: .93;
  text-shadow: 0 2px 22px rgba(0,0,0,.25);
}
.date {
  margin: 0 0 24px;
  font-size: 1.1rem;
  letter-spacing: .06em;
}
.countdown {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}
.countdown div {
  min-width: 82px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(15, 22, 15, .26);
  backdrop-filter: blur(10px);
  border-radius: 14px;
}
.countdown span {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
}
.countdown small {
  display: block;
  opacity: .82;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-button, .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, opacity .18s ease;
}
.hero-button {
  background: white;
  color: var(--ink);
}
.primary-button {
  background: var(--forest);
  color: white;
  border: 0;
}
.hero-button:hover, .primary-button:hover, .payment-card:hover {
  transform: translateY(-2px);
}
.section { padding: 90px 22px; }
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.narrow { max-width: 820px; }
.center { text-align: center; }
.section-kicker {
  color: var(--gold);
  margin: 0 0 10px;
}
h2 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}
.lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #4a4c47;
  margin: 0;
}
.honeymoon {
  background: var(--cream);
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 34px 0 18px;
}
.payment-card {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 7px 20px rgba(30, 35, 27, .06);
  border-radius: 20px;
  padding: 22px;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.payment-card[aria-disabled="true"] {
  opacity: .52;
  cursor: not-allowed;
  transform: none;
}
.payment-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  margin-bottom: 5px;
}
.payment-note {
  display: block;
  color: var(--muted);
  font-size: .88rem;
}
.tiny-note {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}
.registry {
  background: var(--paper);
}
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.registry-box {
  padding: 34px;
  background: var(--forest);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.registry-box p {
  color: rgba(255,255,255,.8);
  line-height: 1.7;
}
.registry-box .primary-button {
  background: white;
  color: var(--ink);
  margin-top: 10px;
}
.gift-icon {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  color: #e8d8ba;
}
.details {
  background: #eef1ec;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.detail-card {
  padding: 22px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
}
.detail-card span {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  margin-bottom: 7px;
}
.detail-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 500;
}
.rsvp { background: var(--cream); }
.faq-section { background: var(--paper); }
.faq-list { margin-top: 28px; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.faq-item strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  font-weight: 500;
}
.faq-answer {
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0 0;
  display: none;
}
.faq-item.open .faq-answer { display: block; }
.faq-plus { color: var(--gold); font-size: 1.2rem; }
footer {
  text-align: center;
  padding: 48px 22px;
  background: var(--forest-2);
  color: white;
}
footer p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}
.footer-date {
  margin-top: 7px;
  opacity: .72;
  font-size: .92rem;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
}
.modal.open { display: grid; place-items: center; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}
.modal-card {
  width: min(92vw, 430px);
  position: relative;
  z-index: 1;
  background: white;
  border-radius: 22px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}
.modal-card img {
  width: min(100%, 300px);
  border-radius: 16px;
  margin: 16px auto;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #f0f0ec;
  font-size: 1.4rem;
  cursor: pointer;
}
.disabled-link {
  opacity: .5;
  pointer-events: none;
}

@media (max-width: 760px) {
  .hero { min-height: 84vh; }
  .nav { padding: 18px 18px; }
  .nav-links { display: none; }
  .hero-photo { object-position: 50% 34%; }
  .hero-content { padding: 56px 20px 48px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5.5rem); }
  .countdown div { min-width: 74px; }
  .section { padding: 68px 18px; }
  .payment-grid,
  .split,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.payment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zelle-phone { font-size: 1.6rem; user-select: all; }
[hidden] { display: none !important; }
@media (max-width: 540px) { .payment-grid { grid-template-columns: 1fr; } }

/* Keep the entire portrait visible on desktop, including both heads. */
@media (min-width: 761px) {
  .hero { background: #1f281e; min-height: 720px; height: 92vh; }
  .hero-photo {
    left: 48%;
    width: 52%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
  .hero-overlay {
    background: linear-gradient(90deg, #1f281e 0%, #1f281e 43%, rgba(31,40,30,.35) 54%, transparent 70%);
  }
  .hero-content { width: 49%; max-width: 850px; padding: 80px clamp(26px,5vw,90px); }
  .hero h1 { font-size: clamp(3.3rem,6vw,7rem); line-height: 1.04; }
  .nav { background: linear-gradient(rgba(0,0,0,.4), transparent); }
}

.rsvp .primary-button { margin-top: 24px; max-width: 100%; overflow-wrap: anywhere; padding: 14px 22px; }
