/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:    #fdf8f2;
  --blush:    #d4a5a5;
  --rose:     #b07070;
  --deep:     #5c3d3d;
  --text:     #3a2a2a;
  --muted:    #8a7070;
  --border:   #e8d8d8;
  --white:    #ffffff;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(92, 61, 61, 0.08);
  --font-serif: 'Faculty Glyphic', 'Georgia', serif;
  --font-sans:  'Faculty Glyphic', 'Georgia', serif;
  --font-ui:    system-ui, -apple-system, sans-serif;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

/* ─── Layout ────────────────────────────────────────────────────── */
.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Info panel (hero) ─────────────────────────────────────────── */
.info-panel {
  position: relative;
  background: var(--deep);
  color: var(--cream);
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  justify-content: center;
  padding: 64px 24px 100px;
  overflow: hidden;
}

.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 70px;
}

.wave-divider path {
  fill: var(--cream);
}

.info-inner {
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.info-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-date {
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-names {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-location {
  font-size: 1.1rem;
  color: rgba(253, 248, 242, 0.75);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Collage */
.collage {
  position: relative;
  width: 300px;
  max-width: 80vw;
  margin: 64px auto 4px;
}

.collage-img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.collage-sticker {
  position: absolute;
  top: -44px;
  left: -36px;
  width: 57%;
  z-index: 2;
  transform: rotate(-10deg);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
}

.hero-blurb {
  font-size: 1rem;
  font-family: var(--font-serif);
  color: rgba(253, 248, 242, 0.75);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-details {
  font-size: 1rem;
  font-family: var(--font-serif);
  color: rgba(253, 248, 242, 0.75);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  list-style: disc;
  padding-left: 1.2em;
  text-align: left;
}

.hero-details li + li {
  margin-top: 4px;
}

.hero-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Forms panel ───────────────────────────────────────────────── */
.forms-panel {
  background: var(--cream);
  padding: 48px 16px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.forms-panel .section {
  width: 100%;
  max-width: 560px;
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}

.btn-primary {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}
.btn-primary:hover { background: var(--blush); border-color: var(--blush); color: var(--deep); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: var(--blush); color: var(--blush); }

.btn-outline {
  background: transparent;
  color: var(--rose);
  border-color: var(--rose);
}
.btn-outline:hover { background: var(--rose); color: var(--white); }

.btn-full { width: 100%; text-align: center; }

.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ─── Section & Card ────────────────────────────────────────────── */
.section { scroll-margin-top: 24px; }

.card {
  background: transparent;
  border: 1px solid var(--rose);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.card h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: normal;
  color: var(--deep);
  margin-bottom: 6px;
}

.section-sub {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ─── Form fields ───────────────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-ui);
  color: var(--deep);
  letter-spacing: 0.02em;
}

input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blush);
  box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.2);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a7070' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea { resize: vertical; }

/* Radio group — styled as button cards */
.radio-group {
  display: flex;
  gap: 10px;
}

.radio-label {
  flex: 1;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--rose);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--rose);
  background: var(--white);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  text-align: center;
  user-select: none;
}

.radio-btn::before {
  content: '';
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  border: 2px solid var(--rose);
  background: var(--white);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.radio-label:hover .radio-btn {
  border-color: var(--blush);
  color: var(--text);
}

.radio-label input[type="radio"]:checked + .radio-btn {
  border-color: var(--rose);
  color: var(--rose);
  background: #fbeae8;
  font-weight: 600;
}

.radio-label input[type="radio"]:checked + .radio-btn::before {
  border-color: var(--rose);
  background: var(--rose);
  box-shadow: inset 0 0 0 3px #fbeae8;
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.4em;
  text-align: center;
}
.form-status.success { color: #4a7c59; }
.form-status.error   { color: #c0392b; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 16px 0 4px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer a { color: var(--rose); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ─── Desktop: two-column hero ──────────────────────────────────── */
@media (min-width: 1020px) {
  .info-panel {
    padding: 100px 60px;
  }

  .info-inner {
    max-width: 1100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    text-align: left;
  }

  .info-text {
    flex: 1;
    align-items: flex-start;
  }

  .hero-nav {
    justify-content: flex-start;
  }

  .hero-blurb,
  .hero-details {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .collage {
    flex-shrink: 0;
    width: 380px;
    max-width: none;
    margin: 0;
  }

  .collage-img {
    height: 430px;
  }

  .collage-sticker {
    top: -48px;
    left: -48px;
  }
}

/* ─── Mobile tweaks ─────────────────────────────────────────────── */
@media (max-width: 480px) {
  .info-panel { padding: 48px 16px; }
  .card { padding: 24px 18px; }
  .forms-panel { padding: 32px 16px 32px; gap: 28px; }
}
