/* BHC Reception RSVP — Prussian blue + gold ceremonial */

:root {
  --bg-1: #0B2546;
  --bg-2: #1B3866;
  --card: #0F2C53;
  --gold: #C9A961;
  --gold-bright: #F4E5BC;
  --ivory: #F4ECDA;
  --ivory-dim: #E8D9A8;
  --shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 60px rgba(201,169,97,.05);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(201,169,97,.10), transparent 70%),
    linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 100%);
  color: var(--ivory);
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 64px;
}

.card {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 48px 48px;
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: 4px;
  box-shadow: var(--shadow);
  text-align: center;
}

/* Gold double border accent */
.card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201,169,97,.35);
  border-radius: 2px;
  pointer-events: none;
}

.crest {
  color: var(--gold);
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
  opacity: .85;
}
.crest svg { width: 100%; height: 100%; display: block; }

.title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 38px;
  color: var(--ivory-dim);
  letter-spacing: .04em;
  margin: 0 0 4px;
}

.host p {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.35;
  color: var(--ivory-dim);
  margin: 0;
}
.host p + p { margin-top: 4px; font-style: italic; font-weight: 400; }

.lede {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--ivory);
  margin: 18px 0 14px;
}

.rule {
  height: 1px;
  margin: 18px auto;
  width: 70%;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  position: relative;
}
.rule::before, .rule::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,97,.4) 20%, rgba(201,169,97,.4) 80%, transparent);
}
.rule::before { left: 20%; top: -4px; }
.rule::after { left: 20%; top: 4px; }

.addressee {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  color: var(--gold-bright);
  letter-spacing: .015em;
  margin: 22px 0;
  line-height: 1.25;
}

.occasion {
  margin: 12px 0 22px;
}
.occasion p {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ivory);
  margin: 0;
}
.occasion p:last-child {
  font-style: italic;
  color: var(--gold-bright);
}

.details {
  list-style: none;
  padding: 0;
  margin: 16px 0 30px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 20px;
  color: var(--ivory);
  line-height: 1.5;
}
.details li { margin: 2px 0; }
.details .dress { font-style: italic; color: var(--ivory-dim); font-size: 18px; }

/* RSVP form */
.rsvp {
  margin-top: 18px;
}
.rsvp-prompt {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ivory-dim);
  margin: 0 0 18px;
}

.choices {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .choices { grid-template-columns: 1fr 1fr; }
  .choices .choice:last-child { grid-column: 1 / -1; }
}

.choice {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.choice:hover, .choice:focus-visible {
  background: rgba(201,169,97,.12);
  color: var(--gold-bright);
  border-color: var(--gold-bright);
  outline: none;
}
.choice-check {
  opacity: 0;
  color: var(--gold-bright);
  font-weight: 700;
  width: 1em;
  display: inline-block;
}
.choice-selected {
  background: rgba(201,169,97,.18);
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}
.choice-selected .choice-check { opacity: 1; }

.prior-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ivory-dim);
}
.prior-note em { color: var(--gold-bright); font-style: italic; }

.contact {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(201,169,97,.25);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ivory-dim);
}

/* PNR entry form */
.pnr-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px auto 0;
  max-width: 340px;
}
.pnr-form input {
  padding: 14px 16px;
  background: rgba(15,44,83,.5);
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: "Lato", monospace;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .35em;
  text-transform: uppercase;
}
.pnr-form input::placeholder { color: rgba(244,229,188,.3); letter-spacing: .35em; }
.pnr-form input:focus { outline: none; border-color: var(--gold-bright); }

.btn {
  appearance: none;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--bg-1);
  border: none;
  border-radius: 2px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.btn:hover, .btn:focus-visible {
  background: var(--gold-bright);
  outline: none;
}

.banner {
  margin: 0 -20px 22px;
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 15px;
  letter-spacing: .03em;
}
.banner-success {
  background: rgba(201,169,97,.15);
  color: var(--gold-bright);
  border: 1px solid var(--gold);
}

.link {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 520px) {
  .card { padding: 36px 22px 32px; }
  .addressee { font-size: 24px; }
  .host p { font-size: 20px; }
  .occasion p { font-size: 18px; }
  .details { font-size: 17px; }
  .title { font-size: 30px; }
}
