:root {
  --black: #050608;
  --primary: #2A3548;
  --primary-deep: #182131;
  --secondary: #F78F3B;
  --white: #F7F7F4;
  --muted: rgba(247, 247, 244, .72);
  --soft: rgba(247, 247, 244, .56);
  --max: 1200px;
  --radius: 28px;
  --shadow: 0 28px 80px rgba(0,0,0,.36);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  background: linear-gradient(180deg, var(--black) 0%, #05070b 48%, #020304 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background:
    repeating-linear-gradient(90deg, rgba(247,247,244,.05) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(180deg, rgba(247,143,59,.04) 0 1px, transparent 1px 112px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.95), transparent 96%);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
body > header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 6, 8, .76);
  box-shadow: 0 1px 0 rgba(247,247,244,.07), 0 20px 60px rgba(0,0,0,.16);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-family: "Oxanium", sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand span { font-size: 1rem; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav {
  display: flex;
  gap: 18px;
  color: var(--soft);
  font-size: .9rem;
}
nav a {
  text-decoration: none;
  transition: color .18s ease;
}
nav a:hover,
nav a[aria-current="page"],
.taskyon-link:hover { color: var(--secondary); }
.taskyon-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(42,53,72,.5);
  box-shadow: inset 0 0 0 1px rgba(247,247,244,.08);
}
.taskyon-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.taskyon-link span {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.04;
}
.taskyon-link strong {
  font-family: "Oxanium", sans-serif;
  font-size: .88rem;
}
.taskyon-link small {
  color: var(--soft);
  font-size: .7rem;
}
.blog-main,
.article-main {
  position: relative;
  isolation: isolate;
}
.blog-hero { padding: 42px 0 18px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(247,247,244,.78);
  background: rgba(42,53,72,.44);
  box-shadow: inset 0 0 0 1px rgba(247,143,59,.18);
  font-family: "Oxanium", sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 16px rgba(247,143,59,.82);
}
h1, h2, h3, h4 { font-family: "Oxanium", sans-serif; }
.blog-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 600;
}
.accent {
  color: var(--secondary);
  text-shadow: 0 0 300px rgba(247,144,59,.98), 0 0 20px rgba(247,144,59,.64);
}
.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.72;
}
.section-divider {
  width: min(var(--max), calc(100% - 40px));
  height: 92px;
  margin: -18px auto -12px;
  background: url("../assets/line-root-divider.svg") center / 100% 100% no-repeat;
  opacity: .58;
  pointer-events: none;
}
.blog-list { padding: 26px 0 72px; }
.current-list { padding-top: 8px; }
.archive-divider { margin-top: -18px; }
.archive-list { padding-top: 14px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.section-head h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: -.02em;
  font-weight: 600;
}
.section-head p {
  margin: 0;
  color: var(--soft);
  font-size: .82rem;
  line-height: 1.4;
}
.series-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
}
.series-kicker {
  color: var(--secondary);
  font-family: "Oxanium", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.series-summary {
  color: var(--soft);
  font-size: .82rem;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.series-grid { gap: 30px; }
.series-item {
  position: relative;
  min-width: 0;
}
.series-item-one::after {
  content: "→";
  position: absolute;
  z-index: 8;
  top: 4px;
  right: -22px;
  color: var(--secondary);
  font-family: "Oxanium", sans-serif;
  font-size: 1rem;
  pointer-events: none;
}
.series-step {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 10px 4px;
  min-height: 20px;
}
.series-number {
  color: var(--secondary);
  font-family: "Oxanium", sans-serif;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
}
.series-cue {
  color: var(--soft);
  font-family: "Oxanium", sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.series-item-two .series-number { color: #9bbcf0; }
.series-card {
  box-shadow: var(--shadow);
}
.line-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(42,53,72,.5), rgba(24,33,49,.38));
  box-shadow: var(--shadow);
}
.line-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: url("../assets/line-frame.svg") center / 100% 100% no-repeat;
  opacity: .58;
  z-index: 2;
}
.post-card {
  min-height: 300px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 90px rgba(0,0,0,.42);
}
.post-card > a {
  position: relative;
  z-index: 3;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 26px;
  text-decoration: none;
}
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--soft);
  font-size: .82rem;
}
.post-meta span {
  color: var(--secondary);
  font-family: "Oxanium", sans-serif;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.post-card h3 {
  margin: 36px 0 14px;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.16;
  letter-spacing: -.025em;
}
.post-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.read-more {
  margin-top: auto;
  padding-top: 28px;
  color: rgba(247,247,244,.88);
  font-family: "Oxanium", sans-serif;
  font-size: .84rem;
}
.article-main { padding: 42px 0 92px; }
.article-shell { width: min(900px, calc(100% - 40px)); }
.article-back { margin: 6px 0 34px; }
.article-back a {
  color: var(--soft);
  text-decoration: none;
}
.article-back a:hover { color: var(--secondary); }
.article-header .post-meta { margin-bottom: 22px; }
.article-header h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 600;
}
.article-deck {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
}
.archive-note {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--muted);
  background: rgba(42,53,72,.38);
  box-shadow: inset 0 0 0 1px rgba(247,143,59,.18);
  line-height: 1.58;
}
.archive-note strong {
  color: var(--secondary);
  font-family: "Oxanium", sans-serif;
}
.living-note strong { color: #9bbcf0; }
.living-note {
  box-shadow: inset 0 0 0 1px rgba(155,188,240,.2);
}
.article-hero { margin: 34px 0 0; }
.article-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  opacity: .82;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.article-body {
  margin-top: 56px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}
.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.article-body h2 {
  margin: 62px 0 20px;
  font-size: clamp(1.7rem, 3.4vw, 2.65rem);
}
.article-body h3 {
  margin: 44px 0 16px;
  font-size: 1.45rem;
}
.article-body h4 {
  margin: 34px 0 12px;
  font-size: 1.15rem;
}
.article-body p { margin: 0 0 20px; }
.article-body ul,
.article-body ol {
  margin: 0 0 24px 1.35rem;
  padding: 0;
}
.article-body li { margin: 7px 0; }
.article-body a {
  color: #9bbcf0;
  text-decoration-color: rgba(155,188,240,.45);
  text-underline-offset: .18em;
}
.article-body a:hover { color: var(--secondary); }
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
}
.article-body :not(pre) > code {
  padding: .15em .38em;
  border-radius: 6px;
  color: rgba(247,247,244,.9);
  background: rgba(42,53,72,.64);
}
.article-body pre {
  overflow-x: auto;
  margin: 26px 0;
  padding: 20px;
  border-radius: 18px;
  color: rgba(247,247,244,.9);
  background: #0b0f16;
  box-shadow: inset 0 0 0 1px rgba(247,247,244,.08);
  line-height: 1.55;
}
.article-body pre.result {
  color: rgba(247,247,244,.72);
  background: rgba(24,33,49,.55);
}
.article-body figure { margin: 32px 0; }
.article-body figure img,
.article-body > img,
.article-body p > img {
  max-height: 480px;
  margin-inline: auto;
  border-radius: 20px;
}
.article-body .article-illustration {
  margin: 38px 0;
}
.article-body .article-illustration img {
  width: 100%;
  max-height: none;
  border-radius: 22px;
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent),
    linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent),
    linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  mask-composite: intersect;
}
.article-body figcaption {
  margin-top: 10px;
  color: var(--soft);
  font-size: .86rem;
  line-height: 1.5;
}
.article-body .html-viz {
  margin: 38px 0;
  padding: 24px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(42,53,72,.48), rgba(11,15,22,.8)),
    repeating-linear-gradient(90deg, rgba(247,247,244,.035) 0 1px, transparent 1px 34px);
  box-shadow: inset 0 0 0 1px rgba(247,247,244,.07), 0 22px 64px rgba(0,0,0,.2);
}
.html-viz small {
  color: var(--secondary);
  font-family: "Oxanium", sans-serif;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.html-viz strong {
  color: var(--white);
  font-family: "Oxanium", sans-serif;
}
.html-viz span { color: var(--muted); }

.flow-track {
  display: grid;
  grid-template-columns: 1fr auto 1.18fr auto 1.18fr auto 1.08fr auto 1fr;
  gap: 9px;
  align-items: stretch;
}
.viz-node {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(5,6,8,.54);
  box-shadow: inset 0 0 0 1px rgba(247,247,244,.08);
}
.viz-node strong { font-size: 1.02rem; }
.viz-node span { font-size: .78rem; line-height: 1.4; }
.viz-node.hot { box-shadow: inset 0 0 0 1px rgba(247,143,59,.44); }
.viz-node.focus { background: rgba(42,53,72,.8); }
.viz-node.selection {
  background: rgba(247,143,59,.11);
  box-shadow: inset 0 0 0 2px rgba(247,143,59,.62);
}
.viz-arrow {
  display: grid;
  place-items: center;
  color: var(--secondary);
  font-size: 1.7rem;
}
.pressure-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.pressure-row span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(155,188,240,.08);
  box-shadow: inset 0 0 0 1px rgba(155,188,240,.2);
  font-family: ui-monospace, monospace;
  font-size: .72rem;
}
.feedback-strip {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  text-align: center;
  color: var(--muted);
  background: rgba(5,6,8,.42);
  font-size: .78rem;
}
.feedback-strip span {
  margin-right: 8px;
  color: var(--secondary);
  font-size: 1.15rem;
}

.fitness-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}
.fitness-pressure,
.fitness-core {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(5,6,8,.48);
  box-shadow: inset 0 0 0 1px rgba(247,247,244,.08);
}
.fitness-pressure strong,
.fitness-core strong { font-size: 1rem; }
.fitness-pressure span,
.fitness-core span { font-size: .77rem; line-height: 1.4; }
.fitness-core {
  grid-column: 2;
  grid-row: 2;
  text-align: center;
  background: rgba(247,143,59,.12);
  box-shadow: inset 0 0 0 2px rgba(247,143,59,.58);
}
.fitness-pressure.strong-pressure { box-shadow: inset 4px 0 0 rgba(247,143,59,.78), inset 0 0 0 1px rgba(247,247,244,.08); }
.fitness-pressure.deceptive { box-shadow: inset 4px 0 0 rgba(247,143,59,.48), inset 0 0 0 1px rgba(247,247,244,.08); }
.fitness-pressure.delayed small { color: #9bbcf0; }

.stealth-entry {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 18px;
  text-align: center;
  background: rgba(110,48,48,.18);
  box-shadow: inset 0 0 0 1px rgba(247,143,59,.34);
}
.stealth-entry strong,
.stealth-entry span { display: block; }
.stealth-entry strong { margin: 4px 0; }
.stealth-entry span { font-size: .78rem; }
.stealth-fork {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 13px auto;
  max-width: 580px;
}
.stealth-fork span { height: 1px; background: rgba(247,143,59,.4); }
.stealth-fork b {
  color: var(--soft);
  font-family: ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 400;
}
.stealth-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stealth-branch {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 18px;
  border-radius: 20px;
}
.stealth-branch strong { font-size: 1.15rem; }
.stealth-branch span,
.stealth-branch em { font-size: .8rem; line-height: 1.45; }
.stealth-branch em { margin-top: 8px; font-style: normal; color: var(--white); }
.stealth-branch.exposed {
  background: rgba(110,48,48,.18);
  box-shadow: inset 4px 0 0 rgba(247,143,59,.7), inset 0 0 0 1px rgba(247,247,244,.06);
}
.stealth-branch.hidden {
  background: rgba(42,53,72,.6);
  box-shadow: inset 4px 0 0 rgba(155,188,240,.6), inset 0 0 0 1px rgba(247,247,244,.06);
}
.stealth-result {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  text-align: center;
  background: rgba(5,6,8,.42);
}
.stealth-result span { margin-right: 8px; color: var(--secondary); }

.immune-memory {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 20px;
  text-align: center;
  background: rgba(42,53,72,.72);
  box-shadow: inset 0 0 0 1px rgba(155,188,240,.3);
}
.immune-memory strong,
.immune-memory span { display: block; }
.immune-memory span { margin-top: 4px; font-size: .76rem; }
.immune-links {
  width: 76%;
  height: 34px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.immune-links i {
  position: relative;
  display: block;
  border-bottom: 1px solid rgba(155,188,240,.35);
}
.immune-links i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -27px;
  width: 1px;
  height: 27px;
  background: rgba(155,188,240,.35);
}
.immune-population {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}
.immune-cell {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 15px;
  border-radius: 22px;
  background: rgba(5,6,8,.48);
}
.immune-cell strong { font-size: .95rem; }
.immune-cell span,
.immune-cell b { font-size: .74rem; line-height: 1.35; }
.immune-cell b { margin-top: 8px; color: var(--white); font-weight: 500; }
.cell-a { border: 1px solid rgba(155,188,240,.48); border-radius: 30px 12px 24px 16px; }
.cell-b { border: 1px dashed rgba(247,143,59,.6); border-radius: 12px 30px 16px 24px; }
.cell-c { box-shadow: inset 4px 0 0 #9bbcf0, inset 0 0 0 1px rgba(247,247,244,.06); border-radius: 18px; }
.cell-d { box-shadow: inset 0 0 0 2px rgba(247,143,59,.42); border-radius: 30px; }
.immune-return {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 16px 0 0;
  color: var(--soft);
  font-family: ui-monospace, monospace;
  font-size: .72rem;
}
.immune-return i { height: 1px; background: rgba(247,143,59,.32); }
.immune-return strong { font-family: ui-monospace, monospace; font-size: .72rem; }
.diversity-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(5,6,8,.4);
  font-size: .78rem;
  line-height: 1.5;
}
.diversity-note strong { color: var(--secondary); }


.article-body .callout {
  margin: 26px 0;
  padding: 20px;
  border-radius: 18px;
  background: rgba(42,53,72,.42);
  box-shadow: inset 3px 0 0 var(--secondary), inset 0 0 0 1px rgba(247,247,244,.06);
}
.article-body .callout > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--secondary);
  font-family: "Oxanium", sans-serif;
}
footer {
  padding: 30px 0 44px;
  color: rgba(247,247,244,.46);
  font-size: .88rem;
}
footer a {
  margin-left: 12px;
  color: rgba(247,247,244,.62);
}
@media (max-width: 900px) {
  nav { display: none; }
  .section-head,
  .post-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; }
  .blog-hero { padding-top: 64px; }
  .series-grid { gap: 28px; }
  .series-item-one::after { display: none; }
  .flow-track { grid-template-columns: 1fr; }
  .viz-arrow { transform: rotate(90deg); min-height: 20px; }
  .fitness-grid { grid-template-columns: 1fr 1fr; }
  .fitness-core { grid-column: 1 / -1; grid-row: auto; }
  .immune-population { grid-template-columns: 1fr 1fr; }
  .immune-links { display: none; }
}
@media (max-width: 660px) {
  .shell,
  .article-shell { width: min(var(--max), calc(100% - 24px)); }
  .taskyon-link small { display: none; }
  .taskyon-link { padding-inline: 10px; }
  .blog-hero { padding: 38px 0 16px; }
  .blog-list { padding-bottom: 60px; }
  .section-divider { width: calc(100% - 24px); }
  .post-card { min-height: 270px; }
  .article-main { padding-top: 28px; }
  .series-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .article-body .html-viz { padding: 16px; }
  .fitness-grid,
  .stealth-branches,
  .immune-population { grid-template-columns: 1fr; }
  .immune-return { grid-template-columns: 1fr; text-align: center; }
  .immune-return i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}