:root {
  --paper: #f5f2eb;
  --ink: #1d1c1a;
  --muted: #6b675f;
  --hair: rgba(29, 28, 26, 0.16);
  --red: #e02619;
  --blue: #004cbb;
  --yellow: #f7e200;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141413;
    --ink: #e9e5db;
    --muted: #9a968c;
    --hair: rgba(233, 229, 219, 0.16);
    --blue: #2f6fe6;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
p,
dl,
dd {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.page {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  column-gap: clamp(2rem, 7vw, 7rem);
  align-content: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.statement {
  grid-column: 1;
  max-width: 31rem;
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
  line-height: 1.45;
}

.art {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  width: 6rem;
  height: auto;
}

.details {
  grid-column: 1;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--hair);
}

.details > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  padding: 0.9rem 0;
  border-top: 1px solid var(--hair);
}

.details dt,
.site-footer {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.details dt {
  padding-top: 0.45rem;
}

.details dd span {
  color: var(--muted);
}

.not-found {
  align-self: center;
  display: block;
}

@media (max-width: 48rem) {
  main {
    grid-template-columns: minmax(0, 1fr);
  }
  .art {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    width: 4.5rem;
    margin-top: 2.5rem;
  }
  .details {
    margin-top: 2.5rem;
  }
}
