*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #b8962e;
  --gold-light: #d4af5a;
  --dark: #1a1a1a;
  --text: #2c2c2c;
  --muted: #777;
  --bg: #fdfaf5;
  --white: #ffffff;
  --border: #e8e0d0;
  --radius: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* HERO */
.hero {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(184,150,46,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 640px; margin: 0 auto; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: white;
  margin-bottom: 0.75rem;
}

.subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
}

.event-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}

.detail-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

.detail-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
}

/* MESSAGE */
.message-section {
  padding: 4rem 2rem;
  text-align: center;
}

.container {
  max-width: 600px;
  margin: 0 auto;
}

.message {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  line-height: 1.8;
  color: #444;
  font-style: italic;
}

/* RSVP */
.rsvp-section {
  padding: 3rem 2rem 5rem;
  border-top: 1px solid var(--border);
}

.rsvp-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.rsvp-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.success-msg {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f0f9f4;
  border: 1px solid #b6dfc8;
  color: #2d6a4f;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #444;
}

.req { color: var(--gold); }
.opt { font-weight: 300; color: var(--muted); font-size: 0.8rem; }

.field input[type="text"],
.field input[type="email"],
.field textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  background: white;
  color: var(--dark);
  transition: border-color 0.2s;
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,46,0.1);
}

.field textarea { resize: vertical; min-height: 80px; }

.radio-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.radio-option { display: flex; align-items: center; cursor: pointer; }

.radio-option input[type="radio"] { display: none; }

.radio-btn {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--muted);
  background: white;
  transition: all 0.15s;
  user-select: none;
}

.radio-option input[type="radio"]:checked + .radio-btn {
  background: var(--dark);
  border-color: var(--dark);
  color: white;
}

.radio-group--small .radio-btn {
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
}

.btn-submit {
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  background: var(--dark);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  align-self: flex-start;
}

.btn-submit:hover { background: #333; }
.btn-submit:active { transform: scale(0.98); }

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--gold); }

@media (max-width: 480px) {
  .event-details { flex-direction: column; gap: 1rem; }
  .detail-sep { display: none; }
  .radio-group { flex-direction: column; }
  .btn-submit { width: 100%; text-align: center; }
}
