:root {
  color-scheme: light;
  background: #fff;
  color: #242424;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }

.page {
  width: min(100% - 112px, 1280px);
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.logo img { display: block; width: 80px; height: auto; }
.wordmark {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.wordmark span { display: block; }
.logo:focus-visible { outline: 2px solid #777; outline-offset: 8px; }

main { padding: clamp(64px, 10vh, 120px) 0 120px; }

h1, h2, h3, h4, h5, h6 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", serif;
  font-weight: 400;
  color: #242424;
}

article { max-width: 640px; margin-inline: auto; }

h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-align: center;
  text-wrap: balance;
}

article p, article li {
  color: #737373;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-wrap: pretty;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

section { margin-top: 64px; }

h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

article p { margin: 0 0 16px; }
article ul, article ol { margin: 0 0 16px; padding-left: 18px; }
article li { margin-bottom: 8px; }
strong { font-weight: 500; color: #242424; }

article a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(22, 24, 29, 0.3);
  text-underline-offset: 3px;
  transition: color 150ms;
}
article a:hover { color: #242424; text-decoration-color: #242424; }
article a:focus-visible { outline: 2px solid #777; outline-offset: 2px; }

article .read-more a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  overflow: hidden;
  padding: 2px 6px;
  border: 1px solid #242424;
  border-radius: 3px;
  background: #fff;
  text-decoration: none;
  --steps: 20;
  --dur: 480ms;
}
/* Three rows of square "pixels" sweep in like the logo's staircase; each row
   moves one block width per step (--steps is set from the button size). */
.read-more .fill { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-rows: repeat(3, 1fr); }
.read-more .fill i {
  background: #161616;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) steps(var(--steps));
}
.read-more .fill i:nth-child(1) { transition-delay: 100ms; }
.read-more .fill i:nth-child(2) { transition-delay: 50ms; }
.read-more a:hover .fill i, .read-more a:focus-visible .fill i { transform: scaleX(1); transform-origin: left; }
/* White text inverted against the fill: black on white, white on black, letter by letter. */
article .read-more .label { display: inline-flex; align-items: center; gap: 6px; color: #fff; mix-blend-mode: difference; }
/* On hover the arrow flies out to the top right and a fresh one steps in from the
   bottom left, timed to land as the fill reaches it. Leaving snaps back invisibly. */
.read-more .arrow { display: inline-grid; overflow: hidden; width: 10px; height: 10px; }
.read-more .arrow svg { grid-area: 1 / 1; }
.read-more .arrow svg + svg { transform: translate(-100%, 100%); }
.read-more a:hover .arrow svg, .read-more a:focus-visible .arrow svg { transform: translate(100%, -100%); transition: transform 360ms steps(5) 220ms; }
.read-more a:hover .arrow svg + svg, .read-more a:focus-visible .arrow svg + svg { transform: none; }
article .read-more a:focus-visible { outline: 2px solid #777; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .read-more .fill i, .read-more a .arrow svg { transition: none !important; }
}

article p.lead { color: #242424; }

.cite { white-space: nowrap; color: #b26341; }
article .cite a { color: #b26341; text-decoration: none; }
article .cite a:hover { color: #b26341; text-decoration: underline; }

section.references { margin-top: 128px; }
.references ol { padding-left: 28px; }
.references li {
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: anywhere;
}
.references li:target { color: #242424; }


@media (max-width: 600px) {
  .page { width: calc(100% - 48px); }
  header { padding-top: 16px; }
  main { padding-top: 64px; }
}
