:root {
  --paper: #ebe7dc;
  --ink: #161514;
  --muted: #65615b;
  --line: #d9d2c6;
  --accent: #8b3a2c;
  --font: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(22, 21, 20, 0.018) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 28px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page {
  width: min(100% - 42px, 780px);
  margin: 0 auto;
  padding: 36px 0 72px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 86px;
  color: var(--muted);
  font-size: 13px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 22px;
  height: 22px;
}

.intro {
  max-width: 650px;
}

.kicker {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 9vw, 82px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: 0;
}

.lead {
  max-width: 520px;
  margin: 0 0 22px;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.22;
}

.intro p:not(.kicker):not(.lead),
.notes p {
  max-width: 660px;
  color: var(--muted);
}

.study {
  width: min(calc(100% + 220px), 980px);
  margin: 66px 0 62px;
  transform: translateX(-86px);
}

.study img {
  display: block;
  width: 100%;
  height: auto;
  filter: contrast(0.98) saturate(0.78);
  mix-blend-mode: multiply;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

.notes {
  display: grid;
  gap: 18px;
  padding-top: 10px;
}

.notes p {
  margin: 0;
}

.notes span {
  color: var(--ink);
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 30px, 780px);
    padding-top: 24px;
  }

  .masthead {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 62px;
  }

  .study {
    margin: 52px 0 46px;
    width: 100%;
    transform: none;
  }
}
