:root {
  color-scheme: light;
  --paper: #f5efe3;
  --ink: #29211c;
  --muted: #60534a;
  --accent: #702c33;
  --rule: #c9bba9;
  background: var(--paper);
  color: var(--ink);
  font: 100% / 1.6 Georgia, serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
.page { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }
.masthead, .label, .meta, figcaption, footer, .download {
  font-family: system-ui, sans-serif;
}
.masthead {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.masthead, .label {
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.label { color: var(--accent); margin: 0 0 .85rem; }
.author span { color: var(--muted); margin-inline-start: .6em; white-space: nowrap; }
h1, h2 { font-weight: 400; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3.15rem, 7.7vw, 7.5rem); letter-spacing: -.065em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.045em; }
.intro { font-size: clamp(1.2rem, 2.2vw, 1.65rem); max-width: 27ch; margin: 1.5rem 0; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.download {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  background: var(--accent);
  color: #fffaf1;
  padding: .85rem 1.1rem;
  font-weight: 650;
  text-decoration: none;
}
.download:hover { background: #522027; }
.download span { font-size: 1.25em; }
.meta, figcaption { color: var(--muted); font-size: .82rem; }
.meta { margin: .65rem 0 0; }
figure { margin: 0; max-width: 23rem; justify-self: end; }
figure img { display: block; width: 100%; height: auto; box-shadow: 8px 12px 26px #29211c25; }
figcaption { margin-top: .9rem; }
.notes {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2rem, 5vw, 4rem);
  border-block: 1px solid var(--rule);
  font-size: 1.125rem;
}
.notes p { max-width: 60ch; }
footer { padding-block: 1.4rem; color: var(--muted); font-size: .82rem; }

@media (max-width: 720px) {
  .hero, .notes { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero .intro { margin-inline: auto; }
  .hero figure {
    justify-self: center;
    width: min(100%, 70vw, 19rem);
  }
}

@media (max-width: 360px) {
  .page { width: calc(100% - 2rem); }
  h1 { font-size: 2.8rem; }
}
