@font-face {
  font-family: Outfit;
  src: url("/design-assets/1209-outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f5f0e0;
  --panel: #fbf8ef;
  --ink: #11271d;
  --green: #135335;
  --copy: #26382f;
  --muted: #4b6358;
  --rule: #c9cdb8;
  --olive: #98a958;
  --lime: #d9f236;
  --gutter: 40px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.3 Outfit, Helvetica, Arial, sans-serif;
}
h1, h2, p, dl, dd, ul { margin: 0; }
a { color: var(--green); }
a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.invitation-scroll {
  max-block-size: 100vh;
  max-block-size: 100dvh;
  overflow-y: auto;
}
.invitation-scroll:focus-visible,
.banner:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -3px;
}
.invitation {
  width: min(600px, 100%);
  padding-block: 24px;
  margin-inline: auto;
}
.inset { margin-inline: var(--gutter); }
.banner, .banner img { display: block; }
.banner img {
  width: 100%;
  height: auto;
}
.intro { padding-top: 8px; }
.kicker {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.intro .kicker { color: var(--green); }
h1 {
  margin: 14px 0 18px;
  font: 700 34px/1.1 Georgia, 'Times New Roman', serif;
}
h1 em {
  color: var(--green);
  font-weight: 400;
}
.intro-copy {
  color: var(--copy);
  line-height: 1.6;
}
.facts {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--panel);
}
.facts > div { padding: 14px 16px; }
.facts > div + div { border-left: 2px solid var(--ink); }
.facts dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.facts dd { font-size: 15px; font-weight: 600; }
@media (max-width: 620px) {
  :root { --gutter: 24px; }
  .invitation { width: 100%; }
  h1 { font-size: 30px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div {
    border-left: 0;
    border-top: 2px solid var(--ink);
  }
}

.agenda { margin-top: 32px; }
.agenda .kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.agenda .kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
}
.agenda ul {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.agenda li {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding-block: 12px;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}
.agenda li::before {
  content: "";
  display: block;
  flex: 0 0 8px;
  height: 8px;
  background: var(--olive);
  transform: translate(2px, -1px) rotate(45deg);
}
.rsvp {
  margin-top: 36px;
  padding: 28px 28px 30px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--green);
}
.limited {
  display: inline-block;
  padding: 5px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.rsvp h2 {
  margin: 14px 0 6px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
}
.rsvp s { text-decoration-color: #ef5425; }
.deadline {
  color: var(--copy);
  font-size: 15px;
  line-height: 1.5;
}
.rsvp-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  margin-top: 22px;
  padding: 12px 22px;
  background: var(--green);
  color: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
}
.rsvp-link:hover, .rsvp-link:active { background: var(--ink); }
.rsvp-link span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 15px;
}
.hosts { margin-top: 40px; }
.hosts .kicker {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}
.host-marks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  margin-top: 12px;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1.5px solid #bfc6bc;
  border-radius: 14px;
}
.host-marks li { padding: 6px 4px; }
.host-marks a {
  display: grid;
  align-items: center;
  width: 100%;
  max-width: 160px;
  min-height: 32px;
  margin-inline: auto;
}
.host-marks img {
  display: block;
  width: 100%;
  height: auto;
}
.sign-off {
  margin-top: 20px;
  padding-bottom: 8px;
  color: var(--copy);
  font-size: 15px;
  line-height: 1.6;
}
.sign-off p + p { margin-top: 6px; }
@media (max-width: 620px) {
  .rsvp h2 { font-size: 30px; }
}
