:root {
  --type-size: 16px;
  --ink: #111111;
  --muted: rgba(17, 17, 17, 0.62);
  --line: rgba(17, 17, 17, 0.14);
  --paper: #f4f0e8;
  --panel: rgba(255, 255, 255, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  font-size: var(--type-size);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 40%),
    linear-gradient(135deg, #f6f2eb 0%, var(--paper) 100%);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1rem;
  line-height: 1.55;
}

h1,
p,
figure {
  margin: 0;
  font-size: 1rem;
}

.page {
  width: min(1120px, calc(100% - 3rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 4rem) 0;
  display: grid;
  grid-template-rows: auto 1fr;
}

.site-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.site-header h1 {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 9vw, 7rem) 0;
}

.intro-copy {
  max-width: 29rem;
}

.intro-copy p {
  color: var(--muted);
}

.intro-photo {
  justify-self: end;
  width: min(100%, 31rem);
  padding: 0.9rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.intro-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 760px) {
  .page {
    width: min(36rem, calc(100% - 2rem));
  }

  .intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .intro-photo {
    justify-self: stretch;
  }
}
