:root {
  --ink: #30332f;
  --muted: #6e756d;
  --cream: #f8f4ed;
  --paper: #fffdf9;
  --sage: #788a78;
  --line: #dedbd2;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}
.container { width: min(92%, var(--max)); margin: 0 auto; }
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(rgba(35,42,35,.28), rgba(35,42,35,.35)),
    url('./Jenni and Christy.png')
    center/cover;
  color: white;
}
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
}
.brand { color: white; text-decoration: none; font-size: 1.5rem; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: white; text-decoration: none; font-size: .95rem; }
.hero-content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding-bottom: 8vh;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .72rem;
  font-family: Arial, sans-serif; margin: 0 0 10px;
}
h1 { font-size: clamp(4rem, 11vw, 8.5rem); font-weight: 400; line-height: .9; margin: 12px 0 22px; }
h1 span { font-size: .55em; font-style: italic; }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; margin: 0 0 18px; }
h3 { font-size: 1.35rem; font-weight: 400; margin-bottom: 8px; }
.date { font-size: 1.1rem; margin-bottom: 28px; }
.button {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--sage); color: white; padding: 13px 28px;
  border-radius: 999px; font-family: Arial, sans-serif; font-size: .9rem;
}
.section { padding: 100px 0; }
.intro { max-width: 760px; text-align: center; }
.intro > p:last-child { font-size: 1.2rem; color: var(--muted); }
.section-soft { background: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.card {
  background: var(--paper); padding: 38px; border: 1px solid var(--line);
  text-align: center; min-height: 260px;
}
.card p { color: var(--muted); margin: 4px 0; }
.icon { font-size: 2rem; color: var(--sage); }
.timeline { max-width: 700px; margin: 40px auto 0; }
.timeline div {
  display: grid; grid-template-columns: 130px 1fr; gap: 20px;
  border-top: 1px solid var(--line); padding: 20px 0;
}
.timeline time { color: var(--sage); font-family: Arial, sans-serif; font-size: .85rem; }
.timeline p { margin: 0; }
.rsvp { background: var(--cream); }
.rsvp-box { max-width: 680px; text-align: center; }
form { text-align: left; margin-top: 35px; }
label { display: block; margin: 16px 0; font-family: Arial, sans-serif; font-size: .85rem; }
input, select, textarea {
  display: block; width: 100%; margin-top: 7px; padding: 13px;
  border: 1px solid var(--line); background: var(--paper);
  font: inherit; color: var(--ink); border-radius: 5px;
}
textarea { resize: vertical; }
footer { padding: 35px; text-align: center; color: var(--muted); font-size: .85rem; }

@media (max-width: 700px) {
  .nav-links { display: none; }
  .hero { min-height: 85vh; }
  .section { padding: 70px 0; }
  .cards { grid-template-columns: 1fr; }
  .timeline div { grid-template-columns: 90px 1fr; }
}
