:root {
  --paper: #f3eee6;
  --paper-deep: #ece4d7;
  --ink: #252320;
  --muted: #6e6a61;
  --gold: #b08a51;
  --stroke-green: #7b7a67;
  --stroke-beige: #d7c4ae;
  --border: rgba(37, 35, 32, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.45), transparent 25%),
    radial-gradient(circle at 80% 5%, rgba(255,255,255,.3), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(0,0,0,0)),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.02) 1px, transparent 1px);
  background-size: 100% 3px, 3px 100%;
  mix-blend-mode: multiply;
}

.page-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero,
.intro,
.details-rsvp,
footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 60svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 88px;
}

.hero-art-left {
  position: absolute;
  left: -140px;
  bottom: -60px;
  width: min(56vw, 520px);
  height: min(36vw, 330px);
  background:
    radial-gradient(circle at 22% 72%, rgba(89, 92, 77, .7), transparent 26%),
    linear-gradient(16deg,
      transparent 0 14%,
      rgba(123,122,103,.74) 14% 25%,
      rgba(164,153,130,.46) 25% 38%,
      rgba(215,196,174,.58) 38% 60%,
      rgba(244,238,230,0) 60% 100%);
  filter: blur(.4px);
  opacity: .95;
  transform: rotate(-14deg);
  border-radius: 28% 72% 0 0 / 100% 100% 0 0;
}

.hero-art-arc {
  position: absolute;
  top: -110px;
  right: -220px;
  width: 520px;
  height: 520px;
  border: 2px solid rgba(176, 138, 81, .92);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  opacity: .85;
}

.kicker,
.section-label {
  margin: 0 0 18px;
  font-size: .86rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, .signature {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 400;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: .97;
  letter-spacing: -.03em;
}

.rule,
.section-rule {
  width: 112px;
  height: 1px;
  background: var(--gold);
}

.rule {
  margin: 32px auto 26px;
}

.hero-meta {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
}

.intro {
  text-align: center;
  padding: 8px 24px 44px;
}

.section-rule {
  margin: 0 auto 26px;
}

.welcome {
  max-width: 22ch;
  margin: 0 auto 12px;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.33;
}

.body-copy {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--muted);
}

.details-rsvp {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  padding: 8px 0 40px;
}

.details-block,
.rsvp-block {
  background: rgba(255,255,255,.28);
  border: 1px solid var(--border);
  padding: 38px 34px 36px;
  position: relative;
}

.details-block::before,
.rsvp-block::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(176,138,81,.18);
  pointer-events: none;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.details-list {
  margin: 0;
}

.details-list > div {
  padding: 16px 0;
  border-top: 1px solid rgba(37,35,32,.09);
}

.details-list > div:last-child {
  border-bottom: 1px solid rgba(37,35,32,.09);
}

.details-list dt {
  margin-bottom: 5px;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.details-list dd {
  margin: 0;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.22rem;
  line-height: 1.35;
}

.compact {
  max-width: none;
  margin: 0 0 22px;
}

.button {
  display: inline-block;
  margin: 4px 0 12px;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.small {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

footer {
  text-align: center;
  padding: 12px 16px 8px;
}

.footer-copy {
  margin: 0 0 8px;
  color: var(--muted);
}

.signature {
  margin: 0;
  font-size: 2.2rem;
}

@media (max-width: 860px) {
  .details-rsvp {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100%, calc(100% - 24px));
    padding-top: 24px;
  }

  .hero {
    padding: 72px 10px 58px;
  }

  .hero-art-left {
    left: -120px;
    bottom: 10px;
    width: 78vw;
    height: 44vw;
    opacity: .8;
  }

  .hero-art-arc {
    width: 340px;
    height: 340px;
    top: -105px;
    right: -190px;
    border-width: 1.5px;
  }

  .kicker,
  .section-label {
    letter-spacing: .28em;
    font-size: .74rem;
  }

  .hero-meta {
    font-size: .94rem;
    line-height: 1.55;
    max-width: 18rem;
  }

  .welcome {
    max-width: 13ch;
  }

  .details-block,
  .rsvp-block {
    padding: 28px 24px;
  }

  .details-block::before,
  .rsvp-block::before {
    inset: 8px;
  }
}

.w3w {
  display: inline-block;
  margin-top: 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .88rem;
  color: var(--muted);
}

/* Hero artwork based directly on the Save the Date graphic */
.hero {
  min-height: 0;
  padding: 22px 0 48px;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(37, 35, 32, .06);
}

.hero-meta {
  margin-top: 24px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .88rem;
  color: var(--muted);
}

/* Hide the earlier CSS-drawn hero art now that the real artwork is used */
.hero-art-left,
.hero-art-arc,
.kicker,
.hero h1,
.hero .rule {
  display: none;
}

.food-note {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(37,35,32,.09);
}

.food-note .section-label {
  margin-bottom: 8px;
}

.food-note p:last-child {
  margin: 0;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.45;
}

.w3w {
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 138, 81, .45);
}

.w3w:hover,
.w3w:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 8px;
  }

  .hero-image {
    width: calc(100% + 24px);
    margin-left: -12px;
  }

  .hero-meta {
    margin-top: 18px;
    padding: 0 16px;
    font-size: .78rem;
  }
}
