:root {
  --ink: #14120f;
  --paper: #f3eadc;
  --paper-warm: #e5d5bf;
  --muted: #6f6557;
  --faint: #9b8d7a;
  --line: rgba(20, 18, 15, 0.18);
  --deep: #17211f;
  --deep-2: #26322d;
  --moss: #536b50;
  --clay: #a15d44;
  --ochre: #b1833f;
  --plum: #75516a;
  --content: 1120px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Inter", "Suisse International", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(calc(100% - 28px), var(--content));
  height: 58px;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(243, 234, 220, 0.22);
  color: var(--paper);
  mix-blend-mode: difference;
}

.brand,
.nav,
.kicker,
.section-index,
.label,
.site-footer {
  font-family: "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand {
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 18px;
  color: rgba(243, 234, 220, 0.72);
  font-size: 11px;
}

.nav a:hover,
.nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ochre);
  outline: none;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding: 118px max(24px, calc((100vw - var(--content)) / 2)) 64px;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(12, 13, 12, 0.98), rgba(23, 33, 31, 0.94) 48%, rgba(64, 51, 44, 0.86)),
    linear-gradient(135deg, rgba(117, 81, 106, 0.22), transparent 42%),
    linear-gradient(180deg, #10110f 0%, #17211f 72%, #201b17 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: rgba(243, 234, 220, 0.24);
}

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(243, 234, 220, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 234, 220, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 72% 24%, rgba(177, 131, 63, 0.14), transparent 32rem),
    radial-gradient(circle at 20% 78%, rgba(83, 107, 80, 0.18), transparent 26rem);
  background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.84), transparent 88%);
}

.hero-copy {
  position: relative;
  width: min(100%, 790px);
}

.kicker,
.section-index,
.label {
  color: var(--faint);
  font-size: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  margin-top: 22px;
  font-size: clamp(4.8rem, 12vw, 10.6rem);
  line-height: 0.84;
}

.lede {
  max-width: 690px;
  margin: 34px 0 0;
  color: rgba(243, 234, 220, 0.86);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.22;
}

.stack-line {
  max-width: 54ch;
  margin: 30px 0 0;
  color: rgba(243, 234, 220, 0.58);
  font-size: 16px;
  line-height: 1.5;
}

.section {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  width: min(calc(100% - 44px), var(--content));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--line);
}

.section:first-of-type {
  border-top: 1px solid var(--line);
}

.section-body {
  max-width: 780px;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.section-body > p:first-of-type,
.split p:first-child {
  margin-top: 26px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.reading-list {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.reading-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 230px) minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.reading-list span {
  color: var(--clay);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.reading-list p {
  margin: 0;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

.comparison > div {
  min-height: 260px;
  padding: 28px;
}

.comparison > div + div {
  border-left: 1px solid var(--line);
}

.prompt {
  margin: 18px 0 26px;
  color: var(--deep);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 44px), var(--content));
  margin: 0 auto;
  padding: 24px 0 36px;
  color: var(--faint);
  font-size: 11px;
}

.site-footer p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

@media (max-width: 840px) {
  .site-header {
    width: min(calc(100% - 18px), var(--content));
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 76vh;
    padding: 96px 22px 48px;
  }

  h1 {
    font-size: clamp(2.5rem, 11vw, 3.2rem);
    line-height: 0.92;
  }

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

  .section {
    width: min(calc(100% - 28px), var(--content));
    gap: 18px;
  }

  .reading-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .comparison > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .site-footer {
    width: min(calc(100% - 28px), var(--content));
    flex-direction: column;
  }
}
