:root {
  --bg: #0b0c09;
  --surface: #12140d;
  --surface-2: #181b11;
  --paper: #ecebdd;
  --paper-ink: #111309;
  --text: #f1f0e6;
  --muted: #a2a395;
  --dim: #85877a;
  --accent: #d9ff57;
  --accent-ink: #111505;
  --orange: #ff7a52;
  --line: rgba(241, 240, 230, 0.12);
  --line-strong: rgba(241, 240, 230, 0.22);
  --font-sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  --container: 1240px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 83% -12%, rgba(217, 255, 87, 0.085), transparent 36rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  pointer-events: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

button {
  color: inherit;
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(11, 12, 9, 0.75);
  transition: background 0.35s ease, border-color 0.35s ease;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(11, 12, 9, 0.9);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-10deg) scale(1.04);
  background: transparent;
  color: var(--accent);
}

.brand-wordmark {
  display: grid;
  gap: 1px;
}

.brand-wordmark strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-wordmark small {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-rss {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.nav-rss svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.nav-rss:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  padding-top: clamp(70px, 9vw, 126px);
  padding-bottom: clamp(76px, 9vw, 120px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(217, 255, 87, 0.45);
  animation: status-pulse 2.8s ease-out infinite;
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 255, 87, 0.45); }
  65%, 100% { box-shadow: 0 0 0 8px rgba(217, 255, 87, 0); }
}

.hero h1 {
  max-width: 760px;
  margin-top: 28px;
  font-family: var(--font-sans);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.062em;
  line-height: 1.12;
  text-wrap: balance;
}

.hero-emphasis {
  display: inline-block;
  position: relative;
  margin: 0.02em 0.07em 0.06em 0;
  padding: 0 0.1em 0.05em;
  border-radius: 0.1em 0.1em 0.1em 0.02em;
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-1.5deg);
  box-shadow: 0.09em 0.09em 0 rgba(217, 255, 87, 0.15);
}

.hero-intro {
  max-width: 570px;
  margin-top: 32px;
  color: var(--muted);
  font-size: clamp(15.5px, 1.35vw, 18px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 52px;
  padding: 0 22px 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.25s ease;
}

.button svg,
.read-more svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 0.3s var(--ease);
}

.button--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button--primary:hover {
  box-shadow: 0 12px 32px rgba(217, 255, 87, 0.16);
  transform: translateY(-3px);
}

.button--primary:hover svg {
  transform: translateX(4px);
}

.text-link {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 13px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.text-link:hover span {
  transform: translate(2px, 2px);
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 45px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.footnote-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dim);
}

.hero-art-wrap {
  position: relative;
  width: 100%;
  max-width: 492px;
  margin-bottom: 20px;
  justify-self: end;
}

.hero-poster {
  position: relative;
  aspect-ratio: 4 / 4.75;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #14170d;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.3);
  transform: rotate(1.2deg);
  transition: transform 0.65s var(--ease);
}

.hero-poster:hover {
  transform: rotate(0);
}

.poster-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 240, 230, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 240, 230, 0.075) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: auto -30% -44% 22%;
  aspect-ratio: 1;
  border: 1px solid rgba(217, 255, 87, 0.28);
  border-radius: 50%;
}

.poster-meta {
  position: absolute;
  right: 22px;
  left: 22px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: rgba(241, 240, 230, 0.56);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.poster-meta--top {
  top: 20px;
}

.poster-meta--bottom {
  bottom: 18px;
}

.poster-sun {
  position: absolute;
  top: 11%;
  right: 9%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(21, 24, 14, 0.16) 9px 11px),
    var(--orange);
  box-shadow: 0 0 70px rgba(255, 122, 82, 0.12);
}

.poster-disc {
  position: absolute;
  top: 26%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 64%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow:
    0 0 0 14px rgba(217, 255, 87, 0.055),
    0 0 0 28px rgba(217, 255, 87, 0.025);
}

.poster-disc::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(17, 21, 5, 0.22);
  border-radius: 50%;
}

.poster-character {
  font-family: var(--font-serif);
  font-size: clamp(88px, 11vw, 144px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.poster-role {
  margin-top: 11px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.45;
  text-align: center;
}

.poster-motto {
  position: absolute;
  bottom: 15%;
  left: 22px;
  z-index: 3;
  display: grid;
  gap: 2px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.poster-motto span {
  color: var(--muted);
  font-size: 11px;
}

.poster-motto strong {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
}

.poster-star {
  position: absolute;
  right: 20px;
  bottom: 11%;
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}

.hero-code {
  position: absolute;
  bottom: -22px;
  left: -46px;
  z-index: 4;
  width: min(260px, 70%);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(9, 10, 7, 0.96);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
  transform: rotate(-2.2deg);
  transition: transform 0.4s var(--ease);
}

.hero-art-wrap:hover .hero-code {
  transform: rotate(-0.8deg) translateY(-4px);
}

.hero-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 27px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--dim);
}

.hero-code pre {
  margin: 0;
  padding: 13px 14px 15px;
  color: #c7c9ba;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.7;
}

.syntax-key { color: #ff9b7f; }
.syntax-string { color: var(--accent); }
.syntax-bool { color: #b6b3ff; }

/* Ticker */
.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(11, 12, 9, 0.6);
  background: var(--accent);
  color: var(--accent-ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.ticker span {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding: 15px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ticker i {
  margin: 0 25px;
  font-style: normal;
  font-size: 14px;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* Section heading */
.section-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.section-index {
  align-self: start;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.8;
}

.section-heading h2 {
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.section-heading > p {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.writing {
  padding-top: clamp(88px, 10vw, 132px);
}

.featured-card {
  margin-top: clamp(34px, 4.5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.4s ease, transform 0.5s var(--ease), box-shadow 0.5s ease;
}

.featured-card:hover {
  border-color: rgba(217, 255, 87, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
}

.featured-link {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 540px;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4.3vw, 64px);
  padding-right: clamp(28px, 3vw, 44px);
}

.post-kicker {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.featured-copy h3 {
  max-width: 520px;
  margin-top: 20px;
  font-size: clamp(31px, 3.55vw, 50px);
  font-weight: 750;
  letter-spacing: -0.052em;
  line-height: 1.24;
  transition: color 0.3s ease;
}

.featured-card:hover .featured-copy h3 {
  color: var(--accent);
}

.featured-excerpt {
  max-width: 470px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  margin-top: auto;
  padding-top: 40px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.post-meta span + span::before {
  content: "·";
  margin-right: 17px;
  color: var(--line-strong);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin-top: 28px;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}

.read-more svg {
  width: 16px;
}

.featured-card:hover .read-more {
  color: var(--accent);
}

.featured-card:hover .read-more svg {
  transform: translateX(4px);
}

/* Featured cover artwork */
.cover {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: #0f120b;
}

.cover-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 240, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 240, 230, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 58% 48%, black 15%, transparent 74%);
}

.cover--container {
  background:
    radial-gradient(circle at 76% 16%, rgba(255, 122, 82, 0.18), transparent 28%),
    radial-gradient(circle at 25% 80%, rgba(217, 255, 87, 0.1), transparent 32%),
    #0f120b;
}

.cover-number {
  position: absolute;
  top: 16px;
  right: 23px;
  color: rgba(241, 240, 230, 0.07);
  font-family: var(--font-mono);
  font-size: clamp(90px, 11vw, 150px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.browser {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(241, 240, 230, 0.2);
  border-radius: 7px;
  background: rgba(16, 18, 12, 0.92);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.42);
  transition: transform 0.65s var(--ease);
}

.browser--back {
  top: 18%;
  left: 13%;
  width: 46%;
  height: 35%;
  transform: rotate(-5deg);
  opacity: 0.55;
}

.browser--front {
  top: 34%;
  left: 26%;
  width: 59%;
  height: 42%;
  transform: rotate(2deg);
}

.featured-card:hover .browser--back {
  transform: rotate(-7deg) translate(-8px, -6px);
}

.featured-card:hover .browser--front {
  transform: rotate(0) translateY(-7px);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 11px;
  border-bottom: 1px solid rgba(241, 240, 230, 0.1);
  background: rgba(241, 240, 230, 0.035);
}

.browser-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dim);
}

.browser-bar i:first-child { background: var(--orange); }
.browser-bar i:nth-child(2) { background: #d7c84a; }
.browser-bar i:nth-child(3) { background: #789a4b; }

.browser-bar em {
  margin-left: 10px;
  color: rgba(241, 240, 230, 0.4);
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
}

.browser-lines {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.browser-lines span {
  height: 9px;
  border-radius: 2px;
  background: rgba(241, 240, 230, 0.08);
}

.browser-lines span:nth-child(1) { width: 72%; }
.browser-lines span:nth-child(2) { width: 48%; }

.browser-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  height: calc(100% - 30px);
  padding: 15px;
}

.product-art {
  border-radius: 4px;
  background:
    radial-gradient(circle at 30% 28%, var(--accent) 0 14%, transparent 14.5%),
    linear-gradient(145deg, #333d1c, #151b0d 70%);
  border: 1px solid rgba(241, 240, 230, 0.12);
}

.product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.product-line {
  display: block;
  width: 90%;
  height: 5px;
  border-radius: 4px;
  background: rgba(241, 240, 230, 0.13);
}

.product-line--title {
  width: 68%;
  height: 9px;
  background: rgba(241, 240, 230, 0.3);
}

.product-line--short { width: 56%; }

.product-pill {
  width: max-content;
  margin-top: 7px;
  padding: 4px 7px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 600;
}

.container-tag {
  position: absolute;
  bottom: 22px;
  left: 24px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
}

.container-tag span {
  opacity: 0.58;
}

.cover-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: right;
}

/* Article list */
.section-heading--list {
  margin-top: clamp(80px, 9vw, 118px);
}

.post-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.post-row {
  border-bottom: 1px solid var(--line);
}

.post-row > a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 142px 44px;
  gap: 26px;
  align-items: center;
  margin-inline: -18px;
  padding: 30px 18px;
  transition: background 0.3s ease;
}

.post-row > a:hover {
  background: rgba(217, 255, 87, 0.035);
}

.post-row-index {
  align-self: start;
  padding-top: 3px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
}

.post-row-main h3 {
  margin-top: 8px;
  font-size: clamp(20px, 2.15vw, 28px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.post-row > a:hover .post-row-main h3 {
  color: var(--accent);
}

.post-row-main > p:last-child {
  max-width: 620px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.post-row-meta {
  display: flex;
  align-self: start;
  flex-direction: column;
  gap: 6px;
  padding-top: 25px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  text-align: right;
}

.post-row-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--dim);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.4s var(--ease);
}

.post-row-arrow svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.post-row > a:hover .post-row-arrow {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(8deg);
}

/* About */
.about-band {
  position: relative;
  overflow: hidden;
  margin-top: clamp(110px, 13vw, 172px);
  padding-block: clamp(72px, 10vw, 126px);
  background: var(--paper);
  color: var(--paper-ink);
}

.about-band::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -12%;
  width: 45vw;
  max-width: 700px;
  aspect-ratio: 1;
  border: 1px solid rgba(17, 19, 9, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 6vw rgba(17, 19, 9, 0.025),
    0 0 0 12vw rgba(17, 19, 9, 0.018);
  pointer-events: none;
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(52px, 8vw, 120px);
}

.eyebrow--dark {
  color: #5f6053;
  letter-spacing: 0.13em;
}

.eyebrow--dark .section-index {
  color: #b0451c;
  margin-right: 4px;
}

.about-heading h2 {
  max-width: 620px;
  margin-top: 28px;
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.about-asterisk {
  display: block;
  margin-top: 42px;
  color: var(--orange);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
}

.about-content {
  padding-top: 44px;
}

.about-lead {
  max-width: 620px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.25vw, 31px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.55;
}

.about-content > p:not(.about-lead):not(.about-build) {
  max-width: 600px;
  margin-top: 26px;
  color: #56574d;
  font-size: 14.5px;
  line-height: 1.95;
}

.principles {
  margin-top: 40px;
  border-top: 1px solid rgba(17, 19, 9, 0.16);
  list-style: none;
}

.principles li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(17, 19, 9, 0.16);
}

.principles li > span {
  padding-top: 2px;
  color: #8b8a7a;
  font-family: var(--font-mono);
  font-size: 9px;
}

.principles strong {
  font-size: 14px;
  font-weight: 700;
}

.principles p {
  margin-top: 5px;
  color: #646559;
  font-size: 13px;
  line-height: 1.7;
}

.about-build {
  margin-top: 32px;
  color: #636457;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  line-height: 1.9;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 30px;
  background: var(--bg);
}

.footer-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 900;
}

.footer-identity strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-identity p {
  margin-top: 3px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 30px;
  padding-top: 12px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 12px;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.footer-accent {
  color: var(--accent);
}

.footer-watermark {
  position: absolute;
  right: -0.03em;
  bottom: -0.24em;
  z-index: 1;
  color: rgba(241, 240, 230, 0.026);
  font-family: var(--font-mono);
  font-size: clamp(150px, 25vw, 340px);
  font-weight: 800;
  letter-spacing: -0.12em;
  line-height: 1;
  pointer-events: none;
}

/* =========================
   Article pages
   ========================= */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(217, 255, 87, 0.5);
}

.post-page .site-header {
  border-bottom-color: var(--line);
}

.post-main {
  padding-top: clamp(40px, 5vw, 70px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.breadcrumbs a {
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.post-header {
  max-width: 1020px;
  margin-inline: auto;
  padding-top: 48px;
  text-align: center;
}

.post-header .post-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.post-header .post-kicker::before,
.post-header .post-kicker::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}

.title-break {
  display: none;
}

.post-header h1 {
  margin-top: 24px;
  font-size: clamp(39px, 5.8vw, 76px);
  font-weight: 800;
  letter-spacing: -0.056em;
  line-height: 1.16;
  text-wrap: balance;
}

.post-deck {
  max-width: 810px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.85;
  text-wrap: balance;
}

.post-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.author-avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-right: 3px;
  border: 1px solid rgba(217, 255, 87, 0.4);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
}

.byline-author {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
}

.byline-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

.share-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 9px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.share-copy:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.share-copy svg {
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

/* Article hero covers */
.post-cover {
  position: relative;
  height: clamp(300px, 37vw, 440px);
  margin-top: clamp(44px, 6vw, 70px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0e100a;
}

.post-cover .cover-mesh {
  mask-image: radial-gradient(circle at 50% 50%, black 5%, transparent 78%);
}

.cover-label,
.cover-index {
  position: absolute;
  z-index: 5;
  font-family: var(--font-mono);
  letter-spacing: 0.13em;
}

.cover-label {
  top: 22px;
  left: 24px;
  color: rgba(241, 240, 230, 0.48);
  font-size: 8px;
}

.cover-index {
  top: 12px;
  right: 23px;
  color: rgba(241, 240, 230, 0.08);
  font-size: clamp(70px, 10vw, 130px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

/* CSS cover */
.post-cover--css {
  background:
    radial-gradient(circle at 78% 23%, rgba(255, 122, 82, 0.16), transparent 25%),
    radial-gradient(circle at 17% 79%, rgba(217, 255, 87, 0.12), transparent 30%),
    #0e100a;
}

.pc-browser {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(241, 240, 230, 0.2);
  border-radius: 6px;
  background: rgba(12, 14, 9, 0.93);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.35);
}

.pc-browser--one {
  top: 23%;
  left: 16%;
  width: 31%;
  height: 49%;
  transform: rotate(-5deg);
  opacity: 0.48;
}

.pc-browser--two {
  top: 22%;
  left: 32%;
  width: 43%;
  height: 57%;
  transform: rotate(1.5deg);
}

.pc-browser--three {
  top: 37%;
  right: 9%;
  width: 27%;
  height: 39%;
  transform: rotate(5deg);
  opacity: 0.7;
}

.pc-browser .browser-bar {
  height: 26px;
}

.pc-browser-body {
  display: grid;
  gap: 9px;
  padding: 15px;
}

.pc-browser-body span {
  height: 6px;
  border-radius: 4px;
  background: rgba(241, 240, 230, 0.1);
}

.pc-browser-body span:nth-child(2) { width: 70%; }
.pc-browser-body span:nth-child(3) { width: 83%; }
.pc-browser-body span:nth-child(4) { width: 46%; }

.pc-card-preview {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
  padding: 15px;
}

.pc-card-preview .product-art {
  min-height: 78px;
}

.pc-query-code {
  padding: 42px 12px !important;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.3vw, 14px);
  line-height: 1.9;
}

.pc-query-code span {
  height: auto;
  color: rgba(241, 240, 230, 0.42);
  background: none;
  font-size: 0.8em;
}

.pc-floating-tag {
  position: absolute;
  bottom: 29px;
  left: 27px;
  z-index: 6;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

.pc-floating-caption {
  position: absolute;
  right: 27px;
  bottom: 30px;
  z-index: 6;
  color: rgba(241, 240, 230, 0.42);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

/* Performance cover */
.post-cover--performance {
  background:
    radial-gradient(circle at 67% 53%, rgba(217, 255, 87, 0.12), transparent 32%),
    #0d0f0a;
}

.perf-display {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 7vw, 100px);
  padding: 40px;
}

.perf-value {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.perf-value span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.perf-value strong {
  font-family: var(--font-mono);
  font-size: clamp(56px, 9vw, 116px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.perf-value--before {
  color: rgba(241, 240, 230, 0.22);
}

.perf-value--after {
  color: var(--accent);
}

.perf-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(50px, 6vw, 78px);
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 26px;
}

.perf-bars {
  position: absolute;
  right: 30px;
  bottom: 26px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 43px;
}

.perf-bars i {
  display: block;
  width: 4px;
  background: rgba(217, 255, 87, 0.16);
}

.perf-bars i:nth-child(1) { height: 32%; }
.perf-bars i:nth-child(2) { height: 58%; }
.perf-bars i:nth-child(3) { height: 38%; }
.perf-bars i:nth-child(4) { height: 82%; background: var(--accent); }
.perf-bars i:nth-child(5) { height: 64%; }
.perf-bars i:nth-child(6) { height: 96%; background: var(--accent); }
.perf-bars i:nth-child(7) { height: 46%; }
.perf-bars i:nth-child(8) { height: 72%; background: rgba(217, 255, 87, 0.5); }

.perf-annotation {
  position: absolute;
  bottom: 28px;
  left: 27px;
  display: flex;
  gap: 18px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.perf-annotation b {
  color: var(--accent);
  font-weight: 500;
}

/* React cover */
.post-cover--react {
  background:
    radial-gradient(circle at 50% 55%, rgba(217, 255, 87, 0.09), transparent 30%),
    #0d0f0a;
}

.state-map {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.state-node {
  position: absolute;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: clamp(105px, 14vw, 160px);
  aspect-ratio: 1.45;
  gap: 7px;
  border: 1px solid rgba(241, 240, 230, 0.17);
  border-radius: 7px;
  background: rgba(16, 18, 12, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.state-node span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.state-node strong {
  font-size: 13px;
  font-weight: 650;
}

.state-node--local { top: 15%; left: 13%; }
.state-node--shared { top: 15%; right: 13%; }
.state-node--url { bottom: 13%; left: 22%; }
.state-node--server { right: 22%; bottom: 13%; border-color: rgba(217, 255, 87, 0.36); }
.state-node--server strong { color: var(--accent); }

.state-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(88px, 10vw, 118px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 0 0 13px rgba(217, 255, 87, 0.04);
}

.state-line {
  position: absolute;
  width: 45%;
  height: 1px;
  background: rgba(217, 255, 87, 0.18);
}

.state-line--a { top: 34%; left: 18%; transform: rotate(24deg); }
.state-line--b { top: 34%; right: 18%; transform: rotate(-24deg); }
.state-line--c { bottom: 34%; left: 18%; transform: rotate(-24deg); }
.state-line--d { right: 18%; bottom: 34%; transform: rotate(24deg); }

/* Design system cover */
.post-cover--system {
  background:
    linear-gradient(115deg, rgba(217, 255, 87, 0.055), transparent 50%),
    #0e100a;
}

.token-board {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(77%, 660px);
  transform: translate(-50%, -50%);
  overflow: hidden;
  border: 1px solid rgba(241, 240, 230, 0.18);
  border-radius: 7px;
  background: rgba(15, 17, 11, 0.94);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
}

.token-swatch {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  aspect-ratio: 1.9;
  padding: 12px;
  border-right: 1px solid rgba(241, 240, 230, 0.08);
  border-bottom: 1px solid rgba(241, 240, 230, 0.08);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.token-swatch:nth-child(3n) { border-right: 0; }
.token-swatch:nth-child(n + 4) { border-bottom: 0; }
.token-swatch span { opacity: 0.55; }
.token-swatch--lime { background: var(--accent); color: var(--accent-ink); }
.token-swatch--orange { background: var(--orange); color: var(--paper-ink); }
.token-swatch--paper { background: var(--paper); color: var(--paper-ink); }
.token-swatch--ink { background: #1a1c13; color: rgba(241, 240, 230, 0.48); }
.token-swatch--moss { background: #6f783f; color: var(--paper-ink); }
.token-swatch--night { background: #080906; color: rgba(241, 240, 230, 0.42); }

.token-annotation {
  position: absolute;
  bottom: 27px;
  left: 26px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.token-annotation strong {
  color: var(--accent);
  font-weight: 500;
}

/* TypeScript cover */
.post-cover--typescript {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 122, 82, 0.13), transparent 27%),
    radial-gradient(circle at 20% 80%, rgba(217, 255, 87, 0.08), transparent 28%),
    #0e100a;
}

.ts-composition {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: clamp(15px, 3vw, 38px);
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: clamp(68px, 10vw, 130px);
  font-weight: 700;
  line-height: 1;
}

.ts-composition .brace {
  color: rgba(241, 240, 230, 0.18);
}

.ts-types {
  display: grid;
  gap: 4px;
  color: var(--accent);
  font-size: clamp(24px, 4vw, 48px);
  letter-spacing: -0.07em;
  line-height: 1.1;
}

.ts-types em {
  color: var(--orange);
  font-style: normal;
}

.ts-caption {
  position: absolute;
  right: 25px;
  bottom: 27px;
  max-width: 280px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: right;
}

.ts-chip {
  position: absolute;
  bottom: 27px;
  left: 26px;
  padding: 6px 10px;
  border: 1px solid rgba(217, 255, 87, 0.28);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
}

/* Article layout */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 230px;
  gap: clamp(54px, 7.5vw, 116px);
  justify-content: center;
  margin-top: clamp(58px, 7vw, 86px);
}

.post-body {
  min-width: 0;
  color: #c7c8ba;
  font-size: clamp(16px, 1.3vw, 17.5px);
  line-height: 1.96;
}

.post-body > p:first-child {
  color: #dedfd2;
  font-size: 1.09em;
  line-height: 1.9;
}

.post-body p {
  margin-top: 24px;
}

.post-body h2 {
  scroll-margin-top: 112px;
  margin-top: 68px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(25px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.4;
}

.post-body h2::before {
  content: "§";
  display: inline-block;
  margin-right: 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.58em;
  font-weight: 500;
  transform: translateY(-0.15em);
}

.post-body h3 {
  scroll-margin-top: 112px;
  margin-top: 42px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.post-body strong {
  color: var(--text);
  font-weight: 650;
}

.post-body a {
  border-bottom: 1px solid rgba(217, 255, 87, 0.35);
  color: var(--accent);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.post-body a:hover {
  border-bottom-color: var(--accent);
  background: rgba(217, 255, 87, 0.06);
}

.post-body ul,
.post-body ol {
  display: grid;
  gap: 11px;
  margin: 25px 0 0;
  padding-left: 1.35em;
}

.post-body li {
  padding-left: 0.3em;
}

.post-body li::marker {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8em;
}

.post-body blockquote {
  position: relative;
  margin: 40px 0;
  padding: 27px 30px 27px 34px;
  border-left: 2px solid var(--accent);
  background: rgba(217, 255, 87, 0.045);
  color: var(--text);
}

.post-body blockquote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.22em;
  letter-spacing: -0.02em;
  line-height: 1.7;
}

.post-body blockquote cite {
  display: block;
  margin-top: 12px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
}

.post-body code {
  padding: 0.18em 0.38em;
  border: 1px solid rgba(241, 240, 230, 0.09);
  border-radius: 3px;
  background: rgba(241, 240, 230, 0.055);
  color: #e7e9d6;
  font-family: var(--font-mono);
  font-size: 0.84em;
  overflow-wrap: break-word;
}

.code-block {
  position: relative;
  margin: 34px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0b08;
}

.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 12px 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.code-bar .window-dots {
  margin-right: 10px;
}

.code-copy {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.code-copy:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.code-block pre {
  margin: 0;
  overflow-x: auto;
  padding: 20px 18px 22px;
  color: #c6cbb8;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  tab-size: 2;
}

.code-block code {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
}

.token-comment { color: #666a5d; }
.token-selector { color: #f4be72; }
.token-property { color: #a7c5ff; }
.token-value { color: var(--accent); }
.token-keyword { color: #ff9b7f; }
.token-string { color: #c6df89; }
.token-function { color: #cabaff; }
.token-number { color: #b6b3ff; }

.callout {
  margin: 38px 0;
  padding: 25px 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.callout-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.callout-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.callout p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.callout p + p {
  margin-top: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 36px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.metric {
  padding: 22px 18px;
  background: var(--surface);
}

.metric span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.metric strong {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.metric small {
  display: block;
  margin-top: 6px;
  color: var(--dim);
  font-size: 10px;
  line-height: 1.5;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.comparison > div {
  padding: 24px;
  background: var(--surface);
}

.comparison h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.comparison ul {
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.comparison pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.75;
}

.comparison pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

.comparison--bad h4 { color: var(--orange); }
.comparison--good h4 { color: var(--accent); }

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.post-tags span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.author-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 38px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.author-card .author-avatar {
  width: 54px;
  height: 54px;
  margin: 0;
  font-size: 24px;
}

.author-card strong {
  color: var(--text);
  font-size: 15px;
}

.author-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: 112px;
  align-self: start;
  padding-top: 10px;
}

.toc-label {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.toc-nav {
  display: grid;
  gap: 1px;
  margin-top: 14px;
}

.toc-nav a {
  padding: 6px 0 6px 13px;
  border-left: 1px solid var(--line);
  color: var(--dim);
  font-size: 11px;
  line-height: 1.55;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.toc-nav a.is-active {
  border-left-color: var(--accent);
  color: var(--accent);
}

.sidebar-note {
  margin-top: 34px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.8;
}

.sidebar-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
}

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 82px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.post-nav a {
  display: flex;
  min-height: 140px;
  padding: 26px;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  transition: background 0.3s ease;
}

.post-nav a:hover {
  background: var(--surface-2);
}

.post-nav a:last-child {
  align-items: flex-end;
  text-align: right;
}

.post-nav span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.post-nav strong {
  margin-top: 15px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  transition: color 0.2s ease;
}

.post-nav a:hover strong {
  color: var(--accent);
}

/* 404 */
.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 80px var(--gutter);
}

.error-card {
  max-width: 680px;
  text-align: center;
}

.error-card .section-index {
  font-size: 12px;
}

.error-code {
  margin-top: 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(92px, 19vw, 190px);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 1;
}

.error-card h1 {
  margin-top: 20px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.error-card p {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.error-card .button {
  margin-top: 32px;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }

  .js [data-reveal][data-reveal-delay="1"] {
    transition-delay: 0.12s;
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 44px;
  }

  .hero-code {
    left: -32px;
    bottom: -58px;
  }

  .featured-link {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  }

  .post-layout {
    grid-template-columns: minmax(0, 700px) 210px;
    gap: 50px;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 62px;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 740px;
  }

  .hero-art-wrap {
    width: min(100%, 500px);
    justify-self: start;
    margin-bottom: 35px;
  }

  .hero-poster {
    aspect-ratio: 4 / 4.35;
  }

  .hero-code {
    left: auto;
    right: -20px;
    bottom: -30px;
  }

  .hero-code pre {
    font-size: 10.5px;
  }

  .poster-character {
    font-size: clamp(100px, 20vw, 150px);
  }

  .featured-link {
    grid-template-columns: 1fr;
  }

  .featured-copy {
    min-height: 420px;
  }

  .cover {
    min-height: 420px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .browser--back {
    top: 15%;
    left: 18%;
    width: 38%;
    height: 47%;
  }

  .browser--front {
    top: 26%;
    left: 30%;
    width: 53%;
    height: 51%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-content {
    padding-top: 42px;
  }

  .post-layout {
    grid-template-columns: minmax(0, 760px);
    max-width: 760px;
  }

  .post-sidebar {
    display: none;
  }

  .post-nav {
    margin-bottom: 20px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 22px;
  }

  html {
    scroll-padding-top: 82px;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .brand-wordmark small {
    font-size: 7px;
  }

  .site-nav {
    gap: 20px;
  }

  .nav-link {
    font-size: 12px;
  }

  .nav-rss {
    width: 34px;
    padding: 0;
    justify-content: center;
  }

  .nav-rss span {
    display: none;
  }

  .hero {
    padding-top: 54px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(43px, 11.7vw, 70px);
    line-height: 1.13;
  }

  .hero-intro {
    margin-top: 26px;
    font-size: 15.5px;
    line-height: 1.85;
  }

  .hero-actions {
    gap: 22px;
    margin-top: 31px;
  }

  .button {
    height: 49px;
    padding-inline: 20px;
    font-size: 12px;
  }

  .text-link {
    font-size: 12px;
  }

  .hero-footnote {
    margin-top: 36px;
    font-size: 8px;
  }

  .poster-meta {
    right: 17px;
    left: 17px;
  }

  .hero-code {
    display: none;
  }

  .hero-poster {
    aspect-ratio: 4 / 4.2;
  }

  .poster-disc {
    width: 66%;
  }

  .ticker span {
    padding-block: 12px;
    font-size: 9px;
  }

  .ticker i {
    margin-inline: 18px;
    font-size: 11px;
  }

  .section-heading {
    grid-template-columns: auto 1fr;
    gap: 15px;
  }

  .section-heading > p {
    display: none;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .featured-copy {
    min-height: 0;
    padding: 30px 24px 32px;
  }

  .featured-copy h3 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .featured-excerpt {
    font-size: 14px;
  }

  .post-meta {
    flex-wrap: wrap;
    gap: 9px 14px;
    padding-top: 28px;
  }

  .post-meta span + span::before {
    margin-right: 14px;
  }

  .read-more {
    margin-top: 23px;
  }

  .cover {
    min-height: 330px;
  }

  .cover-number {
    font-size: 90px;
  }

  .browser--back {
    top: 15%;
    left: 10%;
    width: 47%;
    height: 45%;
  }

  .browser--front {
    top: 27%;
    left: 23%;
    width: 67%;
    height: 49%;
  }

  .container-tag {
    bottom: 17px;
    left: 17px;
    font-size: 8px;
  }

  .cover-caption {
    right: 17px;
    bottom: 19px;
    font-size: 6.5px;
  }

  .post-row > a {
    grid-template-columns: 35px minmax(0, 1fr) 38px;
    gap: 12px;
    margin-inline: -10px;
    padding: 24px 10px;
  }

  .post-row-meta {
    display: none;
  }

  .post-row-main h3 {
    font-size: 21px;
    line-height: 1.45;
  }

  .post-row-main > p:last-child {
    display: none;
  }

  .post-row-arrow {
    width: 36px;
    height: 36px;
  }

  .post-row-arrow svg {
    width: 16px;
  }

  .about-band {
    margin-top: 92px;
    padding-block: 72px;
  }

  .about-heading h2 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .about-asterisk {
    margin-top: 28px;
  }

  .about-content {
    padding-top: 34px;
  }

  .about-lead {
    font-size: 22px;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 13px 22px;
    padding-top: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .post-main {
    padding-top: 30px;
  }

  .breadcrumbs {
    font-size: 8px;
  }

  .post-header {
    padding-top: 34px;
    text-align: left;
  }

  .post-header .post-kicker::before,
  .post-header .post-kicker::after {
    display: none;
  }

  .post-header h1 {
    margin-top: 17px;
    font-size: clamp(34px, 8.5vw, 50px);
  }

  .post-deck {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
  }

  .post-byline {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 25px;
    line-height: 1.6;
  }

  .share-copy {
    margin-left: 0;
  }

  .post-cover {
    height: 280px;
    margin-top: 35px;
  }

  .pc-browser--one {
    left: 6%;
    width: 40%;
  }

  .pc-browser--two {
    left: 27%;
    width: 57%;
  }

  .pc-browser--three {
    display: none;
  }

  .pc-floating-caption {
    display: none;
  }

  .perf-display {
    gap: 16px;
    padding: 22px;
  }

  .perf-value strong {
    font-size: clamp(50px, 15vw, 74px);
  }

  .perf-arrow {
    width: 42px;
    font-size: 18px;
  }

  .perf-annotation {
    left: 17px;
    bottom: 17px;
  }

  .state-node {
    width: 100px;
  }

  .state-node--local { top: 13%; left: 6%; }
  .state-node--shared { top: 13%; right: 6%; }
  .state-node--url { bottom: 10%; left: 11%; }
  .state-node--server { right: 11%; bottom: 10%; }

  .state-core {
    width: 78px;
    font-size: 9px;
  }

  .token-board {
    width: 88%;
  }

  .token-swatch {
    aspect-ratio: 1.55;
    padding: 8px;
    font-size: 6px;
  }

  .token-annotation {
    bottom: 16px;
    left: 16px;
  }

  .ts-composition {
    font-size: 74px;
  }

  .ts-types {
    font-size: 26px;
  }

  .ts-caption {
    display: none;
  }

  .ts-chip {
    bottom: 15px;
    left: 16px;
  }

  .post-layout {
    margin-top: 46px;
  }

  .post-body {
    font-size: 16px;
    line-height: 1.92;
  }

  .post-body > p:first-child {
    font-size: 1.03em;
  }

  .post-body h2 {
    margin-top: 52px;
    font-size: 25px;
  }

  .post-body h3 {
    margin-top: 36px;
    font-size: 18px;
  }

  .post-body blockquote {
    margin: 32px 0;
    padding: 23px 20px 23px 23px;
  }

  .post-body blockquote p {
    font-size: 1.12em;
  }

  .code-block {
    margin: 29px -10px;
    border-radius: 4px;
  }

  .code-block pre {
    padding: 17px 15px 19px;
    font-size: 11px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    align-items: center;
    padding: 17px;
  }

  .metric span {
    grid-column: 1;
  }

  .metric strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    margin: 0;
  }

  .metric small {
    grid-column: 1;
    margin: 0;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .author-card {
    padding: 22px;
  }

  .post-nav {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .post-nav a {
    min-height: 115px;
  }

  .post-nav a:last-child {
    align-items: flex-start;
    text-align: left;
  }

  .footer-watermark {
    font-size: 46vw;
  }
}

@media (max-width: 600px) {
  .title-break {
    display: inline;
  }
}

@media (max-width: 430px) {
  .nav-link {
    font-size: 11px;
  }

  .site-nav {
    gap: 15px;
  }

  .brand-wordmark small {
    display: none;
  }

  .brand-wordmark strong {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 41px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-footnote {
    gap: 9px;
  }

  .cover {
    min-height: 290px;
  }

  .browser-content {
    padding: 10px;
  }

  .browser--front {
    left: 19%;
    width: 73%;
  }

  .cover-caption {
    display: none;
  }

  .about-heading h2 {
    font-size: 45px;
  }

  .post-header h1 {
    font-size: clamp(29px, 8.8vw, 34px);
  }

  .post-cover {
    height: 245px;
  }

  .cover-label {
    top: 16px;
    left: 16px;
    font-size: 7px;
  }

  .cover-index {
    top: 8px;
    right: 16px;
    font-size: 62px;
  }

  .pc-browser--one {
    display: none;
  }

  .pc-browser--two {
    top: 25%;
    left: 8%;
    width: 84%;
    height: 54%;
  }

  .pc-floating-tag {
    bottom: 15px;
    left: 16px;
    font-size: 8px;
  }

  .perf-display {
    gap: 9px;
  }

  .perf-value strong {
    font-size: 45px;
  }

  .perf-value span {
    font-size: 7px;
  }

  .perf-arrow {
    width: 32px;
    font-size: 14px;
  }

  .perf-bars {
    display: none;
  }

  .state-node {
    width: 87px;
    aspect-ratio: 1.5;
  }

  .state-node strong {
    font-size: 11px;
  }

  .state-node--local { top: 12%; left: 4%; }
  .state-node--shared { top: 12%; right: 4%; }
  .state-node--url { bottom: 9%; left: 7%; }
  .state-node--server { right: 7%; bottom: 9%; }

  .state-core {
    width: 68px;
    font-size: 8px;
  }

  .state-line {
    opacity: 0.45;
  }

  .token-board {
    width: 93%;
  }

  .token-annotation {
    display: none;
  }

  .ts-composition {
    gap: 10px;
    font-size: 61px;
  }

  .ts-types {
    font-size: 21px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 34px;
  }
}
