:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --ink: #151515;
  --muted: #5f5f5a;
  --rule: #c9c8c1;
  --measure: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: min(calc(100% - 3rem), var(--measure));
  margin-inline: auto;
}

.site-header {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--rule);
}

.name {
  font-weight: 650;
  text-decoration: none;
}

.introduction {
  display: grid;
  align-content: center;
  padding-block: clamp(6rem, 12vw, 10rem);
}

.descriptor,
.section h2 {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  max-width: 22ch;
  margin: clamp(2rem, 4vw, 3.5rem) 0;
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.landscape {
  width: min(100%, 56rem);
  margin: 0 0 clamp(4.5rem, 8vw, 7rem) auto;
}

.landscape img {
  display: block;
  width: 100%;
  height: auto;
}

.landscape figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.section {
  display: grid;
  grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 2fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: clamp(4.5rem, 8vw, 7rem);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 2rem;
}

#areas {
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.index-list {
  margin: 0 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.index-list > li {
  position: relative;
  padding-left: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
}

.index-list > li + li {
  margin-top: 0.55rem;
}

.index-list > li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.method-copy {
  max-width: 48rem;
}

.method-copy p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

footer {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
}

footer p {
  margin: 0;
}

@media (max-width: 46rem) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 2rem), var(--measure));
  }

  .site-header {
    min-height: 4.75rem;
  }


  .introduction {
    padding-block: 5rem;
  }

  h1 {
    margin-block: 2.25rem;
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .section {
    grid-template-columns: 1fr;
  }

  .section {
    gap: 3.5rem;
  }


  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  :root {
    --paper: #fff;
    --ink: #000;
    --muted: #333;
    --rule: #aaa;
  }

  .site-header nav,
  .skip-link {
    display: none;
  }

  .introduction {
    min-height: auto;
  }

  .section {
    break-inside: avoid;
  }
}
