:root {
  --ink: #352820;
  --muted: #7d685d;
  --paper: #fbf7f1;
  --rose: #b86b72;
  --rose-deep: #95535a;
  --line: rgba(53, 40, 32, 0.12);
  --shadow: 0 24px 70px rgba(68, 44, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(255, 244, 226, 0.95), transparent 35%),
    linear-gradient(135deg, #f7efe4, #fdfaf6);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

body {
  display: grid;
  place-items: center;
}

.page-shell {
  width: 100%;
  padding: 24px;
}

.hero-card {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.75fr);
  background: rgba(251, 247, 241, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.image-wrap {
  min-height: min(78vh, 880px);
}

.image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rose-deep);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.05;
}

.date {
  margin: 18px 0 4px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.time {
  margin: 0 0 6px;
  color: var(--muted);
}

.venue,
.note {
  margin: 0;
  color: var(--muted);
}

.venue a {
  color: inherit;
  text-decoration-color: rgba(125, 104, 93, 0.45);
  text-underline-offset: 0.18em;
}

.venue a:hover {
  color: var(--rose-deep);
}

.note {
  margin-top: 10px;
  font-style: italic;
}

.rsvp-form {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.rsvp-form label span,
legend {
  display: block;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
}

fieldset {
  border: 0;
  margin: 22px 0 0;
  padding: 0;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choices label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

button {
  margin-top: 24px;
  border: 0;
  border-radius: 999px;
  background: var(--rose);
  color: white;
  padding: 14px 20px;
  font: inherit;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    opacity 160ms ease;
}

button:hover {
  background: var(--rose-deep);
  transform: translateY(-1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

#form-status {
  min-height: 1.4em;
  margin: 16px 0 0;
  color: var(--muted);
}

.confirmation {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.confirmation-kicker {
  margin: 0 0 12px;
  color: var(--rose-deep);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.confirmation h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 500;
  line-height: 1.12;
}


@media (max-width: 820px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .image-wrap {
    min-height: 58vh;
  }
}
