:root {
  --bg: #080807;
  --panel: #11110f;
  --panel-2: #171714;
  --text: #faf9f4;
  --muted: #a09e94;
  --quiet: #68675f;
  --line: rgba(255, 226, 108, .13);
  --line-strong: rgba(255, 226, 108, .25);
  --acid: #ffcc03;
  --display: "Space Grotesk", Inter, sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% -8%, rgba(255, 204, 3, .11), transparent 28%),
    radial-gradient(circle at -10% 52%, rgba(255, 226, 108, .035), transparent 24%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}
::selection { color: #080807; background: var(--acid); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 0;
  height: 2px;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(255, 204, 3, .55);
}
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
}
.brand img { width: 31px; height: 31px; border-radius: 4px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #a5a39b; font-size: 13px; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-back { display: inline-flex; align-items: center; gap: 8px; color: var(--acid) !important; font-weight: 700; }
.nav-back svg { width: 15px; }

.article-hero {
  position: relative;
  padding: 174px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .45;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(#000, transparent 88%);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 27px;
  color: var(--acid);
  font: 700 10px/1.2 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.article-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 7.6vw, 106px);
  font-weight: 600;
  line-height: .91;
  letter-spacing: -.068em;
}
.article-hero h1 em { color: var(--acid); font-style: normal; }
.dek { max-width: 760px; margin: 30px 0 0; color: #b0aea5; font-size: clamp(18px, 2vw, 22px); line-height: 1.65; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 24px;
  margin-top: 43px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #77756e;
  font: 600 9px/1.4 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.article-meta span + span::before { content: "/"; margin-right: 24px; color: #3f3f3a; }

.article-shell { padding: 82px 0 120px; }
.article-layout { display: grid; grid-template-columns: 180px minmax(0, 720px) 1fr; gap: 60px; align-items: start; }
.toc { position: sticky; top: 35px; }
.toc strong { display: block; margin-bottom: 17px; color: #5f5e57; font: 700 9px/1.2 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.toc a { display: block; margin: 12px 0; color: #77756e; font-size: 11px; line-height: 1.45; transition: color .2s; }
.toc a:hover { color: var(--acid); }
.article-body { min-width: 0; }
.article-body > p { margin: 0 0 28px; color: #b4b1a8; font-size: 17px; line-height: 1.85; }
.article-body > p.lede { margin-bottom: 52px; color: #ebe8df; font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.48; letter-spacing: -.025em; }
.article-body h2 {
  margin: 78px 0 23px;
  padding-top: 5px;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 49px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -.05em;
  scroll-margin-top: 30px;
}
.article-body h3 { margin: 39px 0 13px; font-family: var(--display); font-size: 22px; line-height: 1.2; letter-spacing: -.03em; }
.article-body strong { color: #f0ede4; }
.article-body a { color: var(--acid); text-decoration: underline; text-decoration-color: rgba(255, 204, 3, .35); text-underline-offset: 4px; }
.article-body ul, .article-body ol { display: grid; gap: 15px; margin: 28px 0 34px; padding-left: 24px; color: #b4b1a8; font-size: 16px; line-height: 1.75; }
.article-body li::marker { color: var(--acid); font-family: var(--mono); }
.pull-quote {
  margin: 54px 0;
  padding: 31px 0 31px 29px;
  border-left: 2px solid var(--acid);
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(25px, 3.5vw, 35px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.principles { display: grid; gap: 1px; margin: 36px 0 50px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--line); }
.principle { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 23px; background: var(--panel); }
.principle b { color: var(--acid); font: 700 10px/1.6 var(--mono); }
.principle h3 { margin: 0 0 6px; font-size: 18px; }
.principle p { margin: 0; color: #8e8c84; font-size: 13px; line-height: 1.65; }
.side-note { position: sticky; top: 35px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .015); }
.side-note span { color: var(--acid); font: 700 9px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.side-note p { margin: 13px 0 0; color: #7d7b74; font-size: 11px; line-height: 1.7; }

.manifesto-card {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  margin: 52px 0;
  padding: 35px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #10100e;
  text-align: center;
}
.manifesto-card::before { content: "32"; position: absolute; right: -25px; bottom: -112px; color: rgba(255, 204, 3, .05); font-family: var(--display); font-size: 330px; font-weight: 700; line-height: 1; }
.manifesto-card p { position: relative; max-width: 520px; margin: 0; color: var(--text); font-family: var(--display); font-size: clamp(27px, 4vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -.045em; }
.manifesto-card p span { color: var(--acid); }
.hundred-card { margin: 52px 0; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.calendar-card { display: block; color: inherit !important; text-decoration: none !important; transition: transform .2s, border-color .2s; }
.calendar-card:hover { transform: translateY(-3px); border-color: rgba(255, 204, 3, .38); }
.hundred-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.hundred-head strong { color: var(--text); font-family: var(--display); font-size: 25px; letter-spacing: -.04em; }
.hundred-head span { color: #66645e; font: 700 8px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hundred-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.hundred-grid i { aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .08); border-radius: 2px; background: rgba(255, 255, 255, .018); }
.hundred-grid i.run { border-color: rgba(255, 204, 3, .24); background: rgba(255, 204, 3, .08); }
.hundred-grid i:nth-child(5n + 2), .hundred-grid i:nth-child(5n + 4) { background: rgba(255, 204, 3, .15); }
.hundred-grid i:nth-child(5n) { border-color: rgba(255, 204, 3, .5); background: rgba(255, 204, 3, .28); }
.day-loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 35px 0 48px; }
.day-step { min-height: 145px; padding: 19px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.day-step b { display: block; color: var(--acid); font: 700 9px/1 var(--mono); }
.day-step strong { display: block; margin: 32px 0 7px; font-family: var(--display); font-size: 16px; }
.day-step p { margin: 0; color: #77756e; font-size: 11px; line-height: 1.55; }

.article-end { margin-top: 83px; padding-top: 34px; border-top: 1px solid var(--line); }
.article-end > span { color: #68665f; font: 700 9px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.article-end p { margin: 14px 0 0; color: #aaa79f; font-size: 15px; line-height: 1.75; }
.next-story { display: block; margin-top: 44px; padding: 31px; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(135deg, rgba(255, 204, 3, .07), rgba(255, 255, 255, .01)); transition: transform .2s, border-color .2s; }
.next-story:hover { transform: translateY(-3px); border-color: rgba(255, 204, 3, .35); }
.next-story small { color: var(--acid); font: 700 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.next-story strong { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 14px; font-family: var(--display); font-size: clamp(24px, 4vw, 34px); line-height: 1.15; letter-spacing: -.04em; }
.next-story svg { width: 23px; flex: 0 0 auto; }

footer { padding: 37px 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-inner .brand { justify-self: start; font-size: 14px; }
.footer-inner .brand img { width: 27px; height: 27px; }
.footer-nav { display: flex; gap: 24px; color: #77756e; font-size: 12px; }
.footer-nav a:hover { color: var(--text); }
.copyright { justify-self: end; color: #56554f; font: 600 9px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 1050px) {
  .article-layout { grid-template-columns: minmax(0, 720px) 1fr; }
  .toc { display: none; }
}
@media (max-width: 780px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .nav { height: 68px; }
  .nav-links a:not(.nav-back) { display: none; }
  .article-hero { padding: 130px 0 70px; }
  .article-hero h1 { font-size: clamp(54px, 16vw, 78px); }
  .dek { font-size: 17px; }
  .article-meta { display: grid; gap: 8px; }
  .article-meta span + span::before { display: none; }
  .article-shell { padding: 61px 0 85px; }
  .article-layout { display: block; }
  .side-note { display: none; }
  .article-body > p { font-size: 16px; }
  .article-body > p.lede { font-size: 23px; }
  .article-body h2 { margin-top: 63px; }
  .day-loop { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-nav { display: none; }
}
@media (max-width: 480px) {
  .article-hero h1 { font-size: 52px; }
  .principle { grid-template-columns: 30px 1fr; padding: 19px; }
  .day-loop { grid-template-columns: 1fr; }
  .day-step { min-height: auto; }
  .day-step strong { margin-top: 20px; }
  .hundred-card { padding: 19px; }
  .hundred-grid { gap: 4px; }
  .manifesto-card { min-height: 260px; padding: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .copyright { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
