@font-face {
  font-family: Campaign Roman;
  src: url("/assets/lmroman17-regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color: #141310;
  background: #f5f2e9;
  font: 100%/1.3 "Campaign Roman", "Times New Roman", serif;
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
main {
  max-width: 122rem;
  margin: 0 auto;
  padding: clamp(1.35rem, 3.2vw, 4rem) clamp(1.25rem, 4.55vw, 6rem);
}
header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 2rem;
  margin-bottom: clamp(2.2rem, 4.1vw, 5rem);
}
h1 {
  font-weight: 400;
  font-size: clamp(1.75rem, 5.85vw, 7rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.signature, .place {
  font: 500 .69rem/1.3 Arial, sans-serif;
  letter-spacing: .24em;
}
.spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .83fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(2rem, 6.4vw, 7.5rem);
  align-items: center;
}
.portrait {
  display: block;
  width: 100%;
  max-width: min(45rem, max(28rem, 51svh));
  height: auto;
  justify-self: end;
  grid-row: 1 / 3;
}
.date { grid-column: 2; align-self: center; padding-top: 3%; }
.year {
  font-size: clamp(5rem, 10.1vw, 12rem);
  line-height: 1;
  letter-spacing: -.065em;
}
.line { font-size: clamp(1.05rem, 1.48vw, 1.62rem); }
.place { grid-column: 2; justify-self: end; font-size: .62rem; }
@media (max-width: 43rem) {
  main { padding: 1.75rem clamp(1rem, 4.7vw, 2rem) 1.7rem; }
  header { flex-direction: column; gap: .62rem; margin-bottom: 1.85rem; }
  h1 { font-size: 8.5vw; }
  .signature { font-size: .57rem; }
  .spread { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .portrait { max-width: none; }
  .date { align-self: stretch; padding: 1.45rem 0 0; }
  .year { font-size: clamp(4.2rem, 15vw, 6rem); }
  .line { font-size: 1.13rem; }
  .place { text-align: right; margin-top: 2.45rem; }
}
