/* ===== Anthony & Linda — Branding ===== */
:root {
  --cream: #fdf8ee;
  --ivory: #f6ecd6;
  --gold: #c9a961;
  --gold-deep: #a8893f;
  --rose: #d8a7a0;
  --rose-deep: #b87a72;
  --ink: #3a2a18;
  --ink-soft: #5e4a35;
  --shadow: 0 12px 40px -12px rgba(58, 42, 24, .25);
  --shadow-lg: 0 28px 80px -24px rgba(58, 42, 24, .45);
  --radius: 18px;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --script: 'Great Vibes', 'Pinyon Script', cursive;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Great+Vibes&family=Inter:wght@300;400;500;600;700&display=swap');

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

html, body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

body {
  background:
    radial-gradient(ellipse at top, #fff8e8 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, #f3dfd9 0%, transparent 60%),
    var(--cream);
  min-height: 100vh;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
}

a { color: var(--gold-deep); text-decoration: none; }

/* ===== Brand header ===== */
.brand {
  text-align: center;
  padding: 1.6rem 1rem .4rem;
}
.brand .ampersand,
.brand .names {
  font-family: var(--serif);
  letter-spacing: .04em;
}
.brand .names {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
}
.brand .names .amp {
  font-family: var(--script);
  font-size: 1.6em;
  color: var(--gold-deep);
  line-height: 0;
  margin-top: .15em;
  font-weight: 400;
}
.brand .subtitle {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: .95rem;
  margin-top: .3rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 400;
}
.brand .ornament {
  display: flex; align-items: center; justify-content: center;
  gap: .8rem;
  margin: .6rem auto 0;
  color: var(--gold);
  font-size: 1rem;
}
.brand .ornament::before,
.brand .ornament::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* ===== Cards ===== */
.card {
  background: rgba(255, 252, 244, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 97, .25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .03em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  user-select: none;
  -webkit-user-select: none;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(168, 137, 63, .55);
}
.btn-primary:hover { box-shadow: 0 10px 26px -6px rgba(168, 137, 63, .7); }
.btn-secondary {
  background: rgba(255, 252, 244, .9);
  color: var(--ink);
  border: 1px solid rgba(201, 169, 97, .35);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  padding: .5rem .9rem;
}
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ===== Inputs ===== */
.field {
  display: block;
  width: 100%;
  background: rgba(255, 252, 244, .7);
  border: 1px solid rgba(201, 169, 97, .35);
  border-radius: 14px;
  padding: .85rem 1rem;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, .12);
  background: #fff;
}
textarea.field { resize: vertical; min-height: 90px; line-height: 1.5; }

.label {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-soft);
  margin-bottom: .45rem;
  font-weight: 500;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--cream);
  padding: .8rem 1.3rem;
  border-radius: 999px;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  transition: transform .35s cubic-bezier(.2,.8,.3,1.2);
  z-index: 9999;
  max-width: 90vw;
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: linear-gradient(135deg, var(--gold-deep), var(--gold)); }
.toast.error { background: linear-gradient(135deg, #a64a3e, #c47362); }
