:root {
  --article-bg: #050505;
  --article-text: #f2f2ef;
  --article-muted: #8a8a8a;
  --article-line: #2a2a2a;
  --article-shell: min(1320px, calc(100% - 64px));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
.article-page {
  margin: 0;
  background: var(--article-bg);
  color: var(--article-text);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.article-page a {
  color: inherit;
}
.article-shell {
  width: var(--article-shell);
  margin-inline: auto;
}
.reading-progress {
  position: fixed;
  z-index: 1100;
  top: 72px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  pointer-events: none;
}
.article-hero {
  padding: 148px 0 78px;
  border-bottom: 1px solid var(--article-line);
}
.article-kicker,
.article-section-label {
  color: #737373;
  font:
    500 10px/1 "Space Grotesk",
    Arial,
    sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 32px;
}
.article-meta span,
.article-meta time {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #343434;
  color: #909090;
  font:
    500 9px/1 "Space Grotesk",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-hero h1 {
  max-width: 1180px;
  margin: 0;
  font:
    500 clamp(54px, 7.1vw, 102px) / 0.93 "Space Grotesk",
    Arial,
    sans-serif;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
.article-hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 720px) auto;
  justify-content: space-between;
  align-items: end;
  gap: 70px;
  margin-top: 54px;
}
.article-lead {
  margin: 0;
  color: #9a9a9a;
  font-size: 19px;
  line-height: 1.58;
}
.article-back {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-width: 210px;
  padding: 17px 19px;
  border: 1px solid #eee;
  background: #eee;
  color: #050505 !important;
  text-decoration: none;
  font:
    600 11px/1 "Space Grotesk",
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition:
    background 0.2s,
    color 0.2s;
}
.article-back:hover {
  background: #050505;
  color: #fff !important;
}
.article-cover {
  position: relative;
  border-bottom: 1px solid var(--article-line);
}
.article-cover-inner {
  position: relative;
  min-height: clamp(360px, 55vw, 720px);
  overflow: hidden;
}
.article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.7;
}
.article-cover:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, #050505);
  pointer-events: none;
}
.article-cover-mark {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 30px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: #050505;
  color: #ddd;
  font:
    500 9px/1 "Space Grotesk",
    Arial,
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.article-cover-placeholder {
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}
.article-cover-placeholder:before,
.article-cover-placeholder:after {
  content: "";
  position: absolute;
  width: min(52vw, 650px);
  border-top: 1px solid #696969;
  transform: rotate(20deg);
}
.article-cover-placeholder:after {
  transform: rotate(-20deg);
}
.article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px) minmax(170px, 1fr);
  gap: 64px;
  padding: 96px 0 118px;
}
.article-toc {
  position: sticky;
  top: 112px;
  align-self: start;
}
.article-toc-title {
  display: block;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--article-line);
  color: #6c6c6c;
  font:
    500 9px/1 "Space Grotesk",
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.article-toc nav {
  display: flex;
  flex-direction: column;
}
.article-toc a {
  padding: 12px 0;
  border-bottom: 1px solid #202020;
  color: #777;
  text-decoration: none;
  font-size: 11px;
  line-height: 1.35;
  transition: color 0.2s;
}
.article-toc a:hover,
.article-toc a.active {
  color: #fff;
}
.article-aside {
  position: sticky;
  top: 112px;
  align-self: start;
  padding-top: 26px;
  border-top: 1px solid var(--article-line);
}
.article-aside strong {
  display: block;
  margin: 16px 0 10px;
  font:
    500 24px/1.08 "Space Grotesk",
    Arial,
    sans-serif;
  letter-spacing: -0.04em;
}
.article-aside p {
  margin: 0 0 22px;
  color: #777;
  font-size: 12px;
  line-height: 1.55;
}
.article-aside a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-block: 1px solid #333;
  text-decoration: none;
  font:
    600 10px/1 "Space Grotesk",
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.article-content {
  min-width: 0;
}
.article-content > *:first-child {
  margin-top: 0;
}
.article-content h2 {
  scroll-margin-top: 110px;
  margin: 82px 0 25px;
  padding-top: 25px;
  border-top: 1px solid var(--article-line);
  font:
    500 clamp(34px, 4vw, 50px) / 1.03 "Space Grotesk",
    Arial,
    sans-serif;
  letter-spacing: -0.045em;
}
.article-content h3 {
  scroll-margin-top: 110px;
  margin: 48px 0 17px;
  font:
    500 clamp(24px, 2.5vw, 31px) / 1.12 "Space Grotesk",
    Arial,
    sans-serif;
  letter-spacing: -0.035em;
}
.article-content h4 {
  margin: 34px 0 14px;
  font:
    600 19px/1.25 "Space Grotesk",
    Arial,
    sans-serif;
}
.article-content p {
  margin: 0 0 24px;
  color: #aaa;
  font-size: 18px;
  line-height: 1.78;
}
.article-content strong {
  color: #f2f2ef;
  font-weight: 600;
}
.article-content em {
  color: #cfcfcb;
}
.article-content a {
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.article-content ul,
.article-content ol {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  counter-reset: item;
}
.article-content li {
  position: relative;
  margin: 0;
  padding: 16px 0 16px 35px;
  border-bottom: 1px solid #242424;
  color: #aaa;
  font-size: 17px;
  line-height: 1.6;
}
.article-content ul li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: #fff;
}
.article-content ol li {
  counter-increment: item;
}
.article-content ol li:before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 21px;
  color: #666;
  font:
    500 9px/1 "Space Grotesk",
    Arial,
    sans-serif;
}
.article-content blockquote {
  margin: 48px 0;
  padding: 28px 0 28px 30px;
  border-left: 1px solid #fff;
  color: #eee;
  font:
    500 clamp(23px, 3vw, 34px) / 1.3 "Space Grotesk",
    Arial,
    sans-serif;
  letter-spacing: -0.03em;
}
.article-content blockquote p {
  margin: 0;
  color: #eee;
  font: inherit;
}
.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 44px 0;
  border: 1px solid #292929;
  filter: grayscale(1);
}
.article-content figure {
  margin: 44px 0;
}
.article-content figure img {
  margin: 0;
}
.article-content figcaption {
  padding-top: 10px;
  color: #666;
  font-size: 11px;
}
.article-content pre {
  max-width: 100%;
  margin: 36px 0;
  padding: 23px;
  overflow: auto;
  border: 1px solid #303030;
  background: #0a0a0a;
  color: #d7d7d3;
  font:
    13px/1.65 Consolas,
    monospace;
}
.article-content code {
  padding: 0.12em 0.35em;
  background: #151515;
  color: #eee;
  font-family: Consolas, monospace;
  font-size: 0.86em;
}
.article-content pre code {
  padding: 0;
  background: transparent;
}
.article-content table {
  display: block;
  width: 100%;
  margin: 38px 0;
  overflow-x: auto;
  border-collapse: collapse;
}
.article-content th,
.article-content td {
  min-width: 140px;
  padding: 14px;
  border: 1px solid #303030;
  text-align: left;
  color: #aaa;
  font-size: 14px;
}
.article-content th {
  background: #efefec;
  color: #050505;
  font-weight: 600;
}
.article-content hr {
  margin: 58px 0;
  border: 0;
  border-top: 1px solid var(--article-line);
}
.article-content > div {
  margin: 34px 0;
  padding: 24px;
  border: 1px solid #303030;
  background: #080808;
}
.article-content > div h3:first-child {
  margin-top: 0;
}
.article-content > div p:last-child {
  margin-bottom: 0;
}
.article-author {
  border-top: 1px solid var(--article-line);
  border-bottom: 1px solid var(--article-line);
}
.article-author-inner {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 44px;
  padding: 54px 0;
}
.article-author-label {
  color: #666;
  font:
    500 9px/1 "Space Grotesk",
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.article-author h2 {
  margin: 0 0 9px;
  font:
    500 28px/1 "Space Grotesk",
    Arial,
    sans-serif;
}
.article-author p {
  max-width: 620px;
  margin: 0;
  color: #7f7f7f;
  font-size: 14px;
  line-height: 1.55;
}
.article-author a {
  display: inline-flex;
  padding: 13px 16px;
  border: 1px solid #393939;
  text-decoration: none;
  font:
    600 10px/1 "Space Grotesk",
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.article-cta {
  padding: 100px 0;
  border-bottom: 1px solid var(--article-line);
}
.article-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
}
.article-cta h2 {
  max-width: 930px;
  margin: 20px 0 0;
  font:
    500 clamp(50px, 7vw, 98px) / 0.9 "Space Grotesk",
    Arial,
    sans-serif;
  letter-spacing: -0.07em;
}
.article-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-width: 250px;
  padding: 18px 20px;
  border: 1px solid #eee;
  background: #eee;
  color: #050505;
  text-decoration: none;
  font:
    600 11px/1 "Space Grotesk",
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.article-footer {
  padding: 32px 0;
}
.article-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #666;
  font-size: 11px;
}
.article-footer-links {
  display: flex;
  gap: 24px;
}
.article-footer a {
  color: #888;
  text-decoration: none;
}
.article-page :focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
@media (max-width: 1100px) {
  .article-layout {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .article-aside {
    display: none;
  }
}
@media (max-width: 768px) {
  :root {
    --article-shell: calc(100% - 40px);
  }
  .reading-progress {
    top: 69px;
  }
  .article-hero {
    padding: 120px 0 58px;
  }
  .article-hero h1 {
    font-size: clamp(50px, 12vw, 78px);
  }
  .article-hero-bottom {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 34px;
  }
  .article-back {
    width: 100%;
  }
  .article-cover-inner {
    min-height: 420px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    padding: 68px 0 88px;
  }
  .article-toc {
    position: static;
  }
  .article-toc nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .article-toc a:nth-child(odd) {
    padding-right: 15px;
  }
  .article-toc a:nth-child(even) {
    padding-left: 15px;
    border-left: 1px solid #202020;
  }
  .article-author-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .article-author a {
    width: max-content;
  }
  .article-cta-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .article-cta a {
    width: 100%;
  }
}
@media (max-width: 520px) {
  :root {
    --article-shell: calc(100% - 30px);
  }
  .article-meta {
    gap: 7px;
  }
  .article-hero h1 {
    font-size: 12.3vw;
    line-height: 0.96;
  }
  .article-lead {
    font-size: 16px;
  }
  .article-cover-inner {
    min-height: 270px;
  }
  .article-cover-mark {
    right: 15px;
    bottom: 15px;
  }
  .article-layout {
    padding-top: 54px;
  }
  .article-toc nav {
    grid-template-columns: 1fr;
  }
  .article-toc a:nth-child(n) {
    padding-inline: 0;
    border-left: 0;
  }
  .article-content h2 {
    margin-top: 64px;
    font-size: 34px;
  }
  .article-content h3 {
    font-size: 25px;
  }
  .article-content p {
    font-size: 17px;
    line-height: 1.72;
  }
  .article-content li {
    font-size: 16px;
  }
  .article-content blockquote {
    padding-left: 20px;
  }
  .article-content > div {
    padding: 19px;
  }
  .article-cta {
    padding: 76px 0;
  }
  .article-cta h2 {
    font-size: 49px;
  }
  .article-footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .article-footer-links {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .article-page * {
    transition: none !important;
  }
}
