@font-face {
  font-family: "DM Sans";
  src: url("./dm-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #152640;
  --muted: #4a5666;
  --paper: #f8f7f3;
  --rule: #c9ced0;
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  max-width: 1600px;
  min-height: 100dvh;
  padding: 0 clamp(22px, 5.8vw, 96px);
  font: 16px/1.5 "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(20px, 2.75vw, 40px) 0;
  border-bottom: 1px solid var(--ink);
}
.masthead p, .eligibility {
  margin: 0;
  font-size: .78rem;
  font-weight: 630;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.wordmark { width: clamp(126px, 12vw, 172px); height: auto; display: block; }
.invitation {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.97fr);
  align-items: stretch;
  gap: clamp(32px, 6vw, 110px);
  margin: clamp(26px, 3vw, 50px) 0;
}
.copy { padding: clamp(14px, 3.6vw, 58px) 0; align-self: center; }
.eligibility { color: var(--muted); font-size: .71rem; }
h1 {
  margin: 1.1rem 0 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.052em;
  font-size: clamp(3.2rem, 5.4vw, 5.9rem);
  max-width: 12ch;
  text-wrap: balance;
}
h1 em { font-weight: inherit; }
.summary, .instructions { max-width: 40ch; margin: 0; }
.summary { font-size: clamp(1.1rem, 1.45vw, 1.38rem); line-height: 1.43; }
.instructions { margin-top: 1.05rem; font-size: 1rem; color: var(--muted); }
.join {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 49px;
  padding: 12px 21px;
  margin-top: 1.65rem;
  color: white;
  background: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-radius: 3px;
}
.join:hover { background: #2b435d; }
.join span { font-size: 1.2em; line-height: 1; }
.address { margin: .65rem 0 0; font-size: .83rem; color: var(--muted); overflow-wrap: anywhere; }
.address a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #226ba1; outline-offset: 5px; }
.photo { position: relative; background: #e9e5d9; min-height: min(41vw, 620px); overflow: hidden; }
.photo img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 4rem;
  padding: 17px 0 25px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .84rem;
}
footer p { margin: 0; }
footer strong { color: var(--ink); font-weight: 640; }
@media (max-width: 760px) {
  body { padding-inline: clamp(18px, 6vw, 38px); }
  .masthead { padding-block: 18px; }
  .masthead p { font-size: .65rem; }
  .invitation { grid-template-columns: 1fr; gap: 26px; margin: 30px 0 23px; }
  .copy { padding: 0; }
  h1 { max-width: 13ch; font-size: clamp(2.8rem, 9.7vw, 4.5rem); margin: .8rem 0 1rem; }
  .summary { font-size: 1.12rem; }
  .instructions { margin-top: .8rem; }
  .join { margin-top: 1.2rem; }
  .photo { min-height: 0; aspect-ratio: 1.55; }
  footer { flex-direction: column; gap: .42rem; padding-top: 15px; }
}
