:root {
  --bg: #f7f2ea;
  --paper: #fffdf9;
  --ink: #1f1a17;
  --muted: #6f675f;
  --line: rgba(34, 29, 24, 0.1);
  --gold: #b89b63;
  --gold-deep: #8f7444;
  --shadow: 0 24px 80px rgba(24, 18, 12, 0.08);
  --radius: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top, #fbf7f0 0%, var(--bg) 58%, #efe7db 100%);
  color: var(--ink);
  font-family: Inter, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1rem; }
ul { margin: 0 0 1.1rem 1.2rem; }
h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); }
.swp-container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.swp-narrow { width: min(calc(100% - 2rem), 820px); }
.swp-site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(247, 242, 234, 0.72);
  border-bottom: 1px solid var(--line);
}
.swp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 1rem;
}
.swp-brand { display: flex; align-items: center; gap: .8rem; }
.swp-brand-mark {
  width: 42px; height: 42px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), #d9c08d);
  color: white; font-size: .85rem; letter-spacing: .08em;
}
.swp-brand-text { font-size: .93rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.swp-nav .menu { list-style: none; display: flex; gap: 1.4rem; padding: 0; margin: 0; align-items: center; }
.swp-nav a { color: var(--muted); font-size: .95rem; }
.swp-nav a:hover { color: var(--ink); }
.swp-menu-toggle { display: none; background: transparent; border: 1px solid var(--line); padding: .7rem .9rem; border-radius: 999px; }
.swp-site-main { min-height: 70vh; }
.swp-hero {
  position: relative; overflow: clip;
  min-height: calc(100vh - 76px);
  display: flex; align-items: center;
}
.swp-hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,253,249,.2), rgba(34,27,20,.15)),
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.65), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(212,181,120,.35), transparent 24%),
    linear-gradient(140deg, #d6c3a0 0%, #eee2d2 24%, #bba58b 50%, #ede0cf 74%, #cab08f 100%);
}
.swp-hero::after {
  content: '';
  position: absolute; right: -10%; bottom: -16%; width: 58vw; height: 58vw;
  border-radius: 50%; background: rgba(255,255,255,.14); filter: blur(12px);
}
.swp-hero-content {
  position: relative; z-index: 2;
  padding: 8rem 0 7rem;
}
.swp-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--gold-deep);
}
.swp-hero-subtitle { font-size: clamp(1.2rem, 2.2vw, 1.8rem); max-width: 650px; color: #312821; }
.swp-hero-copy { max-width: 700px; font-size: 1.05rem; color: #3f362f; }
.swp-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.swp-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 1.25rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #d7bd87);
  color: white; border: none; cursor: pointer;
  font-weight: 600; box-shadow: var(--shadow);
}
.swp-button.ghost {
  background: rgba(255,255,255,.64); color: var(--ink); border: 1px solid rgba(255,255,255,.65);
}
.swp-section { padding: 5rem 0; }
.swp-page-header { padding: 4.5rem 0 1rem; }
.swp-page-header h1 { font-size: clamp(2.7rem, 5vw, 4.5rem); }
.swp-grid { display: grid; gap: 1.2rem; }
.swp-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.swp-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.swp-card, .swp-note, .swp-alert {
  background: rgba(255,253,249,.78);
  border: 1px solid rgba(76, 56, 30, 0.08);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.swp-card.tall { padding: 1.8rem; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.swp-card a { color: var(--gold-deep); font-weight: 600; }
.swp-timeline { display: grid; gap: .85rem; }
.swp-timeline > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid var(--line);
}
.swp-timeline span { color: var(--muted); }
.swp-rsvp-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
  margin-top: 2rem; padding: 1.5rem;
  background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.swp-field { display: flex; flex-direction: column; gap: .45rem; }
.swp-field.full { grid-column: 1 / -1; }
.swp-field label { font-weight: 600; color: #382f28; }
.swp-field label span { color: #8e5a5a; }
.swp-field input, .swp-field textarea {
  width: 100%; border-radius: 16px; border: 1px solid rgba(40,30,20,.12);
  background: rgba(255,255,255,.92); padding: .9rem 1rem; font: inherit; color: var(--ink);
}
.swp-radio-group { display: flex; gap: 1.2rem; flex-wrap: wrap; padding-top: .35rem; }
.swp-alert.success { border-color: rgba(92, 148, 120, .22); }
.swp-alert.error { border-color: rgba(168, 84, 84, .24); }
.swp-site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); }
.swp-footer-inner { display: flex; justify-content: space-between; gap: 2rem; }
form.post-password-form { display: grid; gap: 1rem; }
form.post-password-form input[type="password"] {
  width: 100%; max-width: 320px; padding: .9rem 1rem; border-radius: 999px; border: 1px solid var(--line);
}
form.post-password-form input[type="submit"] {
  width: fit-content; min-height: 48px; padding: 0 1.2rem; border-radius: 999px; border: none;
  background: linear-gradient(135deg, var(--gold), #d7bd87); color: #fff; cursor: pointer;
}
@media (max-width: 900px) {
  .swp-grid.three, .swp-grid.two, .swp-rsvp-form { grid-template-columns: 1fr; }
  .swp-footer-inner { flex-direction: column; }
  .swp-nav { display: none; position: absolute; top: 76px; right: 1rem; background: rgba(255,253,249,.95); border: 1px solid var(--line); border-radius: 18px; padding: 1rem; box-shadow: var(--shadow); }
  .swp-nav.open { display: block; }
  .swp-nav .menu { flex-direction: column; align-items: flex-start; }
  .swp-menu-toggle { display: inline-flex; }
}
