:root {
  --blue: #6d8fc4;
  --deep-blue: #4f6f9f;
  --gold: #a87932;
  --cream: #fffaf1;
  --soft: #f6efe2;
  --ink: #32415d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, rgba(109,143,196,.22), transparent 35%), var(--cream);
}
.hero { min-height: 100vh; padding: 24px 16px 44px; display: grid; place-items: center; gap: 22px; }
.hero-card { width: min(560px, 95vw); border-radius: 28px; overflow: hidden; box-shadow: 0 22px 60px rgba(57, 64, 83, .22); border: 1px solid rgba(168,121,50,.25); }
.hero-card img { display: block; width: 100%; height: auto; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; text-decoration: none; border: 1px solid rgba(168,121,50,.6); color: var(--deep-blue); background: rgba(255,255,255,.72); letter-spacing: .08em; text-transform: uppercase; font-size: 13px; box-shadow: 0 6px 18px rgba(168,121,50,.12); cursor:pointer; }
.btn.primary { background: linear-gradient(135deg, var(--blue), #8faadd); color: white; border-color: rgba(255,255,255,.7); }
.section { width: min(980px, 92vw); margin: 0 auto 44px; padding: 56px clamp(22px, 5vw, 70px); background: rgba(255,255,255,.72); border: 1px solid rgba(168,121,50,.18); border-radius: 32px; box-shadow: 0 18px 48px rgba(78, 87, 111, .08); text-align: center; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; margin: 0 0 12px; }
h1, h2 { color: var(--deep-blue); font-weight: 400; letter-spacing: .04em; margin: 0 0 24px; }
h1 { font-size: clamp(38px, 7vw, 76px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
.countdown { display:grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div { padding: 18px 8px; border-left: 1px solid rgba(168,121,50,.45); }
.countdown div:first-child { border-left: none; }
.countdown span { display:block; font-size: clamp(30px, 6vw, 56px); color: var(--deep-blue); }
.countdown small { display:block; text-transform: uppercase; letter-spacing:.12em; color: var(--gold); }
.two-col { display:grid; grid-template-columns: repeat(2, 1fr); gap: 28px; text-align:left; font-size: 18px; line-height: 1.75; }
.closing-line, .note { font-size: 18px; line-height: 1.7; color: var(--gold); }
.detail-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-grid article { padding: 24px; border: 1px solid rgba(168,121,50,.25); border-radius: 24px; background: rgba(246,239,226,.55); }
h3 { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; margin: 0 0 8px; }
.rsvp-form { display:grid; gap: 16px; text-align:left; }
label { display:grid; gap: 8px; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
input, select, textarea { width:100%; border: 1px solid rgba(168,121,50,.35); border-radius: 14px; padding: 14px 16px; font: 16px Arial, sans-serif; color: var(--ink); background: white; }
.form-row { display:grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.location-section p { font-size: 22px; line-height: 1.55; }
footer { text-align:center; padding: 56px 16px 70px; color: var(--deep-blue); font-size: 20px; }
@media (max-width: 720px) {
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .countdown div:nth-child(3) { border-left: none; }
  .two-col, .detail-grid, .form-row { grid-template-columns: 1fr; }
  .section { border-radius: 24px; padding: 40px 22px; }
}
