.essay-page {
  background:
    radial-gradient(circle at 82% 5%, rgba(217, 162, 59, 0.08), transparent 28%),
    linear-gradient(180deg, #0d0f0f 0%, #121515 46%, #090a0a 100%);
}

.essay-header .brand {
  color: var(--ink);
}

.essay-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1fr);
  min-height: calc(100vh - 69px);
  border-bottom: 1px solid var(--line);
}

.essay-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 120px) clamp(28px, 5vw, 72px);
  background:
    radial-gradient(circle at 22% 30%, rgba(217, 162, 59, 0.1), transparent 36%),
    #0c0e0e;
}

.essay-hero h1 {
  max-width: none;
  margin: 14px 0 24px;
  color: var(--ink);
  font-size: clamp(4.2rem, 6.6vw, 6.6rem);
  line-height: 0.84;
}

.essay-hero h1 span {
  display: block;
}

.essay-deck {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.essay-byline {
  margin: 32px 0 0;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.essay-hero-art {
  position: relative;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  background: #050606;
}

.essay-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 14, 14, 0.35), transparent 32%),
    linear-gradient(0deg, rgba(5, 6, 6, 0.28), transparent 35%);
  pointer-events: none;
}

.essay-hero-art img {
  height: 100%;
  object-fit: cover;
}

.essay-shell {
  width: min(100% - 44px, 760px);
  margin: 0 auto;
  padding: clamp(82px, 10vw, 142px) 0;
}

.essay-shell p {
  margin: 0 0 1.55em;
  color: rgba(255, 243, 223, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 1.9vw, 1.34rem);
  line-height: 1.78;
}

.essay-shell .essay-opening {
  margin-bottom: 1.3em;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.5;
}

.essay-section {
  padding-top: clamp(76px, 10vw, 120px);
}

.essay-section + .essay-section {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.essay-section .section-number {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.15em;
}

.essay-section h2 {
  margin: 0 0 36px;
  color: var(--ink);
  font-size: clamp(2.6rem, 5.2vw, 4.9rem);
  line-height: 0.98;
}

.essay-section blockquote {
  margin: 58px -80px;
  padding: 32px 0 32px 42px;
  border-left: 5px solid var(--gold);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.essay-shell .three-line {
  display: grid;
  gap: 4px;
  margin: 54px 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  font-weight: 700;
  line-height: 1.05;
}

.operating-system {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(48px, 9vw, 130px);
  padding: clamp(80px, 10vw, 140px) clamp(28px, 8vw, 116px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(217, 162, 59, 0.1), transparent 36%),
    #151818;
}

.operating-system h2 {
  max-width: 9ch;
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.92;
}

.operating-system ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: principle;
}

.operating-system li {
  position: relative;
  padding: 18px 0 18px 52px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  counter-increment: principle;
}

.operating-system li::before {
  content: counter(principle, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 0;
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.essay-closing {
  display: grid;
  justify-items: center;
  padding: clamp(100px, 14vw, 190px) 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(217, 162, 59, 0.13), transparent 34%),
    #090b0b;
}

.essay-closing > p:first-child {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.6;
}

.essay-closing .closing-line {
  max-width: 980px;
  margin: 78px 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 700;
  line-height: 0.95;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 26px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  background: #080909;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .essay-hero,
  .operating-system {
    grid-template-columns: 1fr;
  }

  .essay-hero {
    min-height: 0;
  }

  .essay-hero-art {
    min-height: 420px;
  }

  .operating-system h2 {
    max-width: 12ch;
  }

  .essay-section blockquote {
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .essay-header {
    align-items: center;
    flex-direction: row;
  }

  .essay-header nav {
    display: none;
  }

  .essay-hero h1 {
    font-size: clamp(3.8rem, 16vw, 5.4rem);
  }

  .essay-hero-art {
    min-height: 290px;
  }

  .essay-shell {
    width: min(100% - 38px, 760px);
  }

  .essay-section blockquote {
    padding-left: 24px;
  }

  .operating-system {
    padding-right: 20px;
    padding-left: 20px;
  }

  .essay-closing .closing-line {
    margin: 58px 0;
  }
}
