:root {
  --ink: #10130f;
  --night: #171b15;
  --moss: #668f56;
  --sage: #b7c8a6;
  --paper: #fffcf3;
  --clay: #b46443;
  --line: rgba(16, 19, 15, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Instrument Sans", Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(246, 242, 232, 0.18);
  background: rgba(16, 19, 15, 0.9);
  color: var(--paper);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--moss);
}

.nav-links {
  display: flex;
  gap: 22px;
  color: rgba(255, 252, 243, 0.78);
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--paper);
}

.hero {
  background: var(--night);
  color: var(--paper);
}

.hero-inner,
.content,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding: 88px 0 92px;
}

.eyebrow,
.section-kicker {
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 252, 243, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.content {
  padding: 76px 0 96px;
}

.split {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 10px;
  color: rgba(16, 19, 15, 0.68);
  font-weight: 700;
}

.toc a:hover {
  color: var(--ink);
}

.article-section {
  padding: 0 0 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.article-section:last-child {
  border-bottom: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

p {
  color: rgba(16, 19, 15, 0.68);
}

.work-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.work-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.work-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 800;
}

.cta-band {
  margin-top: 36px;
  padding: 28px;
  background: var(--moss);
  color: var(--paper);
}

.cta-band p {
  color: rgba(255, 252, 243, 0.82);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 10px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line);
}

.related a {
  display: block;
  min-height: 120px;
  padding: 20px;
  background: var(--paper);
  font-weight: 800;
}

footer {
  background: var(--ink);
  color: rgba(255, 252, 243, 0.62);
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

footer a {
  color: var(--paper);
  font-weight: 800;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

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

  .toc {
    position: static;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }
}
