:root {
  color-scheme: light;
  --bg: #faf6ef;
  --paper: #ffffff;
  --ink: #2a2520;
  --ink-soft: #5a5048;
  --muted: #8a7f72;
  --line: rgb(42 37 32 / 9%);
  --line-soft: rgb(42 37 32 / 5%);
  --pink: #d4a5a5;
  --pink-deep: #b88787;
  --pink-soft: #f0dfdf;
  --sage: #9caa92;
  --sage-deep: #788770;
  --sage-soft: #e3e8df;
  --whatsapp: #25d366;
  --whatsapp-deep: #1da851;
  --shadow-sm: 0 1px 6px rgb(42 37 32 / 4%);
  --shadow-md: 0 6px 24px rgb(42 37 32 / 6%);
  --display: "Fraunces", "Times New Roman", Georgia, serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  line-height: 1.55;
  overflow-x: hidden;
}

button {
  font: inherit;
}

::selection {
  background: var(--pink);
  color: var(--ink);
}

.page-shell {
  position: relative;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.site-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  font-size: 0.9rem;
}

.site-brand {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.84rem;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.site-link:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.invite-card {
  position: relative;
}

.hero {
  position: relative;
  padding: 48px 0 24px;
}

.hero-copy {
  position: relative;
  display: grid;
  justify-items: start;
}

.invite-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 28px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink-deep);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.8rem, 9.5vw, 4.6rem);
  color: var(--ink);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  letter-spacing: -0.015em;
}

.hero-mark {
  position: absolute;
  top: 24px;
  right: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  width: clamp(88px, 22vw, 130px);
  height: clamp(88px, 22vw, 130px);
  border-radius: 50%;
  background: var(--pink);
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(3.6rem, 11vw, 5.4rem);
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.intro {
  max-width: 36ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-image {
  width: 100%;
  margin: 44px 0 0;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.event-grid {
  display: grid;
  gap: 1px;
  margin: 64px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}

.event-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  padding: 24px 24px;
  background: var(--paper);
}

.tile-icon {
  display: grid;
  grid-row: 1 / span 3;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.tile-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.detail-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-grid strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.event-grid article > span:not(.detail-label):not(.tile-icon) {
  color: var(--muted);
  font-size: 0.88rem;
}

.rsvp-panel {
  margin: 72px 0 32px;
  padding: 8px 0;
  text-align: center;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 8px auto 0;
  max-width: 22ch;
}

.rsvp-help {
  margin: 16px auto 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 10px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-primary {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--ink-soft);
}

.button-whatsapp {
  background: var(--whatsapp);
}

.button-whatsapp:hover {
  background: var(--whatsapp-deep);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.action-row {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

@media (min-width: 720px) {
  .page-shell {
    padding: 0 56px 80px;
  }

  .hero {
    padding: 96px 0 32px;
  }

  .hero-copy {
    width: min(100%, 620px);
  }

  .hero-mark {
    top: 96px;
    right: 24px;
  }

  .intro {
    font-size: 1.12rem;
  }

  .hero-image {
    width: min(100%, 720px);
    margin-top: 56px;
  }

  .event-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 88px;
  }

  .rsvp-panel {
    margin-top: 96px;
  }

  .action-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 480px;
    margin: 28px auto 0;
  }
}

@media (min-width: 980px) {
  .event-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
