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

:root {
  --accent: #8A4B14;
  --accent-hover: #703A0D;
  --teal: #1A6B6A;
  --paper: #F7F6F2;
  --paper-warm: #ECE9E2;
  --ink: #1D1D1F;
  --copy: #505054;
  --muted: #626268;
  --line: rgba(29, 29, 31, .12);
  --card: rgba(255, 255, 255, .78);
  --dark: #1D1D1F;
  --white: #FFFFFF;
}

html { scroll-behavior: smooth; }
body.editorial-page {
  min-height: 100vh;
  background:
    radial-gradient(760px 520px at 7% 8%, rgba(196, 122, 42, .15), transparent 62%),
    radial-gradient(680px 500px at 94% 34%, rgba(26, 107, 106, .08), transparent 68%),
    linear-gradient(180deg, #FCFBF8 0, var(--paper) 34rem, #EEEDE8 100%);
  color: var(--copy);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body.editorial-page[data-theme="nervous-system"] {
  --theme-accent: #8A4B14;
  --theme-accent-rgb: 138, 75, 20;
  --theme-accent-2: #4E9B97;
}

body.editorial-page[data-theme="burnout"] {
  --theme-accent: #854515;
  --theme-accent-rgb: 133, 69, 21;
  --theme-accent-2: #8B6F91;
}

body.editorial-page a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(28, 28, 29, .93);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  backdrop-filter: saturate(140%) blur(20px);
}

.article-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #F5F5F7 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #D5903E, var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.04em;
  box-shadow: 0 9px 28px rgba(196, 122, 42, .22);
}

.article-nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.article-nav-links > a {
  color: #D3D3D5;
  font-size: 13px;
  text-decoration: none;
}
.article-nav-links > a:hover { color: #fff; }

.article-nav .nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--theme-accent);
  color: #fff !important;
  font-weight: 750;
  box-shadow: 0 8px 28px rgba(var(--theme-accent-rgb), .22);
}
.article-nav .nav-cta:hover { background: var(--accent-hover); }

.article {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 28px 112px;
}

.article > .article-tag,
.article > .eyebrow,
.article > h1,
.article > .article-deck,
.article > .article-meta {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.article-tag {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(var(--theme-accent-rgb), .14);
  color: #3B3127;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  margin-top: 18px;
  margin-bottom: 22px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.article > h1 {
  color: var(--ink);
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 650;
  letter-spacing: -.057em;
  line-height: .98;
  text-wrap: balance;
}

.article-deck {
  margin-top: 28px;
  color: #626266;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 430;
  letter-spacing: -.018em;
  line-height: 1.38;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  margin-top: 28px;
  margin-bottom: 48px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.7;
  text-transform: uppercase;
}

.article-meta span + span::before {
  content: "·";
  margin-right: 13px;
  color: rgba(29, 29, 31, .34);
}

.hero-img {
  display: block;
  width: 100%;
  max-height: 660px;
  margin: 0 auto 72px;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 36px 90px rgba(26, 26, 23, .17), 0 0 0 1px rgba(255, 255, 255, .72);
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  color: var(--copy);
}

.article-body p,
.article-body ul,
.article-body ol { margin-bottom: 25px; }
.article-body p, .article-body li { color: var(--copy); }
.article-body strong { color: var(--ink); }
.article-body a { color: #8E591E; }
.article-body a:hover { color: var(--accent-hover); }

.article-body h2,
.article-body h3 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.article-body h2 {
  position: relative;
  margin: 82px 0 20px;
  padding-top: 23px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.article-body h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--theme-accent), var(--theme-accent-2));
}

.article-body h3 {
  margin: 48px 0 12px;
  font-size: 23px;
  line-height: 1.25;
}

.article-body > ul,
.article-body > ol {
  margin: 34px 0;
  padding: 28px 34px 28px 58px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 48px rgba(36, 36, 32, .06);
}

.article-body li { margin-bottom: 10px; }
.article-body li:last-child { margin-bottom: 0; }
.article-body li::marker { color: var(--theme-accent); font-weight: 800; }

.article-body blockquote {
  margin: 48px 0;
  padding: 34px 38px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(var(--theme-accent-rgb), .18), rgba(255, 255, 255, .91) 64%);
  color: var(--ink);
  font-size: 21px;
  font-style: normal;
  line-height: 1.5;
  box-shadow: 0 18px 45px rgba(34, 34, 31, .07);
}

.answer-box,
.scope-box,
.source-box {
  margin: 34px 0;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 22px 60px rgba(34, 34, 31, .07);
}

.answer-box { background: linear-gradient(145deg, rgba(var(--theme-accent-rgb), .12), rgba(255, 255, 255, .9)); }
.scope-box { border-color: rgba(var(--theme-accent-rgb), .34); }
.source-box { background: rgba(255, 255, 255, .62); }

.answer-box h2,
.scope-box h2,
.source-box h2 {
  margin-top: 0;
  padding-top: 0;
  font-size: 27px;
}

.answer-box h2::before,
.scope-box h2::before,
.source-box h2::before { display: none; }
.answer-box > :last-child,
.scope-box > :last-child,
.source-box > :last-child { margin-bottom: 0; }
.answer-box ol, .source-box ol { padding-left: 24px; }

.article-after {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 780px;
  margin: 70px auto 0;
}

.article-cta {
  padding: 40px;
  border-radius: 28px;
  background:
    radial-gradient(500px 260px at 90% 10%, rgba(var(--theme-accent-rgb), .35), transparent 72%),
    var(--dark);
  color: #D7D7D9;
  box-shadow: 0 30px 70px rgba(28, 28, 25, .2);
}

.article-cta h2 {
  max-width: 620px;
  margin-bottom: 13px;
  color: #fff;
  font-size: 31px;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.article-cta p { margin-bottom: 24px; }
.article-cta a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border-radius: 999px;
  background: var(--theme-accent);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.author-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 48px rgba(34, 34, 31, .05);
}

.author-mark {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(var(--theme-accent-rgb), .15);
  color: var(--theme-accent);
  font-weight: 850;
  letter-spacing: -.04em;
}
.author-card strong { display: block; color: var(--ink); font-size: 17px; }
.author-card p { margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.55; }

.share-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 30px 0 46px;
}
.share-label {
  margin-right: 4px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.share-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .64);
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}
.share-btn:hover { border-color: rgba(var(--theme-accent-rgb), .45); background: #fff; }

.related h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 29px;
  letter-spacing: -.035em;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.related-grid a {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 36px rgba(34, 34, 31, .05);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.related-grid a span {
  color: var(--theme-accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.article-footer {
  padding: 42px 24px;
  border-top: 1px solid var(--line);
  background: #E7E5DF;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (min-width: 960px) {
  main.article {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
    grid-template-rows: auto auto auto auto 1fr auto;
    column-gap: clamp(46px, 6vw, 86px);
    align-items: start;
  }
  .article > .article-tag,
  .article > .eyebrow,
  .article > h1,
  .article > .article-deck,
  .article > .article-meta {
    grid-column: 1;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .article > .article-tag { justify-self: start; width: auto; }
  .article > h1 { font-size: clamp(48px, 5vw, 68px); }
  .article > .article-deck { font-size: clamp(19px, 1.8vw, 24px); }
  .article > .hero-img {
    grid-area: 1 / 2 / 7;
    align-self: stretch;
    height: 100%;
    min-height: 650px;
    max-height: 760px;
    margin: 0;
  }
  .article > .article-body {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 780px;
    margin: 96px auto 0;
  }
}

@media (max-width: 850px) {
  .article { padding-top: 64px; }
  .article > h1 { font-size: clamp(42px, 10vw, 66px); }
  .hero-img { margin-bottom: 54px; border-radius: 24px; }
}

@media (max-width: 700px) {
  .brand-name,
  .article-nav-links > a:not(.nav-cta) { display: none; }
  .article-nav { padding-inline: 16px; }
  .article-nav .nav-cta { padding: 8px 14px; font-size: 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid a { min-height: 104px; }
}

@media (max-width: 600px) {
  body.editorial-page { font-size: 16.5px; }
  .article { padding: 48px 18px 80px; }
  .article > h1 { font-size: clamp(38px, 12vw, 54px); line-height: 1.01; }
  .article-deck { font-size: 20px; }
  .article-meta { margin-bottom: 34px; }
  .hero-img { min-height: 420px; max-height: 520px; border-radius: 20px; }
  .article-body h2 { margin-top: 64px; font-size: 31px; }
  .article-body > ul, .article-body > ol { padding: 24px 22px 24px 44px; border-radius: 20px; }
  .answer-box, .scope-box, .source-box { padding: 26px 22px; border-radius: 20px; }
  .article-body blockquote { padding: 28px 24px; border-radius: 20px; }
  .article-cta { padding: 31px 24px; border-radius: 22px; }
  .author-card { grid-template-columns: 48px 1fr; padding: 20px; }
  .author-mark { width: 48px; height: 48px; border-radius: 15px; }
  .share-row { justify-content: flex-start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
