:root {
  color-scheme: dark;
  --background: #000;
  --foreground: #fff;
  --secondary: #c6c6c6;
  --rule: #454545;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.5rem, 3.2vw, 4rem);
  --section-space: clamp(5rem, 11vw, 10rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  font-size: 100%;
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--background);
  background: var(--foreground);
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.15;
  text-wrap: pretty;
}

h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  letter-spacing: -0.025em;
}

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

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

:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 6px;
}

main:focus {
  outline: none;
}

.shell {
  width: min(100%, 100rem);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: var(--gutter);
  z-index: 2;
  padding: 0.75rem 1rem;
  color: var(--background);
  background: var(--foreground);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  padding-block: 1.75rem;
}

.wordmark {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navigation a {
  display: inline-block;
  padding-block: 0.5rem;
  text-decoration: none;
}

.navigation a:hover,
.navigation a[aria-current="page"] {
  text-decoration: underline;
}

.hero {
  min-height: min(52rem, 86svh);
  display: flex;
  align-items: center;
  padding-block: 6rem;
}

.hero h1 {
  max-width: 27ch;
  font-size: clamp(2.5rem, 3.8vw, 4.5rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.introduction {
  padding-top: clamp(3rem, 7vw, 7rem);
  padding-bottom: var(--section-space);
}

.introduction p {
  max-width: 43rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.55;
}

.statement {
  padding-block: var(--section-space);
}

.statement h2 {
  max-width: 19ch;
}

.conversation {
  padding-block: var(--section-space);
}

.conversation h2 {
  max-width: 18ch;
  margin-bottom: 2.5rem;
}

.conversation a {
  display: inline-block;
  padding-block: 0.5rem;
}

.page {
  min-height: 68svh;
}

.page-intro {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
}

.page-intro h1 {
  max-width: 21ch;
  margin-bottom: 3.5rem;
}

.lead {
  max-width: 35ch;
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.body-copy {
  max-width: 43rem;
  margin-top: 2.5rem;
}

.empty-state {
  max-width: 38ch;
}

.editorial-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 1.25rem 4rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--rule);
}

.editorial-row:first-child {
  border-top: 0;
}

.editorial-row h2,
.editorial-row h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  letter-spacing: -0.02em;
}

.editorial-row p {
  max-width: 48ch;
  color: var(--secondary);
}

.end-note {
  padding-block: 3rem 5rem;
}

.work-projects {
  padding-bottom: 5rem;
}

.editorial-row h2,
.editorial-row h3 {
  overflow-wrap: anywhere;
}

.writing-titles {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--secondary);
}

.writing-titles li + li {
  margin-top: 1rem;
}

.point-of-view {
  padding-block: 2rem var(--section-space);
}

.point-of-view blockquote {
  max-width: 22ch;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.point-of-view figcaption {
  margin-top: 1.5rem;
  color: var(--secondary);
}

.principles > h2 {
  margin-bottom: 3rem;
}

.principles {
  padding-bottom: 5rem;
}

.suggested-reading {
  border-top: 1px solid var(--rule);
  padding-block: 3rem 5rem;
}

.suggested-reading h2 {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.principle-references {
  list-style: decimal;
  margin: 0;
  padding-left: 1.75rem;
  color: var(--secondary);
  font-size: 1rem;
}

.principle-references li {
  padding-left: 0.5rem;
}

.principle-references li + li {
  margin-top: 1rem;
}

.principle-references a {
  color: var(--foreground);
}

.contact-intro h1 {
  max-width: 16ch;
}

.recovery-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  list-style: none;
  padding: 0;
  margin-top: 3rem;
}

.recovery-links a {
  display: inline-block;
  padding-block: 0.5rem;
}

.contact-links {
  display: grid;
  font-size: clamp(1.125rem, 2.5vw, 2rem);
  overflow-wrap: anywhere;
}

.site-footer {
  padding-block: 4rem;
  color: var(--secondary);
  font-size: 1rem;
}

.footer-name {
  color: var(--foreground);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 40rem) {
  .site-header {
    padding-top: 1.5rem;
    gap: 1rem;
  }

  .site-header nav {
    width: 100%;
  }

  .navigation {
    justify-content: space-between;
    gap: 0.25rem 1rem;
    font-size: 1rem;
  }

  .hero {
    min-height: 34rem;
    padding-block: 4rem 6rem;
  }

  .editorial-row {
    grid-template-columns: 1fr;
    padding-block: 2rem;
  }

  .page-intro h1 {
    margin-bottom: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
