
:root {
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --ink: #28231f;
  --muted: #736b63;
  --sage: #6f7d6c;
  --sage-dark: #53604f;
  --tan: #c9ae8b;
  --border: rgba(40, 35, 31, 0.14);
  --shadow: 0 20px 60px rgba(33, 29, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
}

body,
input,
select,
textarea,
button {
  font-family: "Montserrat", sans-serif;
}

h1, h2, h3, .brand, .footer-names {
  font-family: "Cormorant Garamond", serif;
}

h1, h2, h3, p {
  margin-top: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.8rem;
  font-weight: 600;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(760px, 100%);
}

.center {
  text-align: center;
}

.section {
  padding: 100px 0;
}

.alt {
  background: var(--cream);
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--sage-dark);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.82rem;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(28, 27, 24, 0.72);
  color: white;
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: .06em;
}

.nav-rsvp {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.65);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.5rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(20, 17, 13, .28), rgba(20, 17, 13, .56)),
    url("hero-photo.jpg") center/cover no-repeat,
    linear-gradient(135deg, #8a7a68, #4c5548);
  color: white;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 20%, rgba(0,0,0,.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 72px;
}

.hero h1 {
  margin: 0 auto 16px;
  max-width: 950px;
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .82;
}

.hero h1 span {
  display: inline-block;
  color: #e8d7bf;
  font-style: italic;
  font-weight: 400;
}

.hero-date {
  margin-bottom: 34px;
  font-size: 1rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 32px;
}

.countdown div {
  display: grid;
  width: 84px;
  min-height: 78px;
  place-items: center;
  padding: 12px 8px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.countdown strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.countdown span {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.button.primary {
  background: var(--sage);
  color: white;
}

.button.primary:hover {
  background: var(--sage-dark);
}

.button.secondary {
  border-color: var(--sage);
  background: transparent;
  color: var(--sage-dark);
}

.button.secondary:hover {
  background: var(--sage);
  color: white;
}

.button.full {
  width: 100%;
}

.intro {
  position: relative;
}

.script {
  margin-bottom: .3rem;
  color: var(--sage);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-style: italic;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.photo-placeholder {
  display: grid;
  min-height: 560px;
  place-items: center;
  background:
    linear-gradient(rgba(83,96,79,.12), rgba(83,96,79,.12)),
    repeating-linear-gradient(
      45deg,
      #ded6c9,
      #ded6c9 12px,
      #e8e1d5 12px,
      #e8e1d5 24px
    );
  color: var(--sage-dark);
  font-size: .72rem;
  letter-spacing: .18em;
}

.section-heading {
  margin-bottom: 48px;
}

.cards {
  display: grid;
  gap: 24px;
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.card {
  padding: 38px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow);
  text-align: center;
}

.card-icon {
  display: block;
  margin-bottom: 5px;
  color: var(--sage);
  font-size: 2rem;
}

.text-link {
  color: var(--sage-dark);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.dress-code {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid var(--border);
  text-align: center;
}

.timeline {
  max-width: 800px;
  margin: auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-time {
  color: var(--sage-dark);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.party-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.party-person {
  text-align: center;
}

.portrait-placeholder {
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  margin-bottom: 16px;
  background: #ded6c9;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .15em;
}

.party-person h3 {
  margin-bottom: 2px;
}

.party-person p {
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.registry-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.faq-list details p {
  margin: 13px 0 0;
  color: var(--muted);
}

.rsvp-section {
  background: var(--sage-dark);
  color: white;
}

.light p {
  color: rgba(255,255,255,.78);
}

.rsvp-form {
  display: grid;
  gap: 20px;
  padding: 35px;
  background: white;
  color: var(--ink);
}

.rsvp-form label,
.rsvp-form legend {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}

.rsvp-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border);
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400 !important;
}

.radio-row input {
  width: auto;
  margin: 0;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
}

.footer {
  padding: 45px 0;
  background: #262522;
  color: rgba(255,255,255,.8);
}

.footer-names {
  margin-bottom: 5px;
  color: white;
  font-size: 2rem;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: #2b2a27;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .split,
  .cards.three {
    grid-template-columns: 1fr;
  }

  .cards.two {
    grid-template-columns: 1fr;
  }

  .party-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-placeholder {
    min-height: 420px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero h1 {
    font-size: clamp(3.3rem, 17vw, 5rem);
  }

  .hero-date {
    font-size: .75rem;
  }

  .countdown {
    gap: 6px;
  }

  .countdown div {
    width: 67px;
    min-height: 70px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .party-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .rsvp-form {
    padding: 22px;
  }
}
.couple-photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.portrait-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom: 16px;
}
