:root {
  --text: #202124;
  --muted: #6f7479;
  --soft: #9aa0a6;
  --line: #e2e4e7;
  --surface: #ffffff;
  --subtle: #f6f7f7;
  --accent: #176b62;
  --dark: #101b24;
  --shell: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { color: #fff; background: var(--accent); }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
}
.home-page .header-inner {
  width: min(calc(100% - 40px), 1280px);
  min-height: 72px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 200px minmax(300px, 600px) 1fr;
  align-items: center;
  gap: 24px;
}
.article-page .header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-word { font: 700 23px/1 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--dark);
  font: 600 14px/1 "Space Grotesk", sans-serif;
}
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font: 600 14px/1 "Space Grotesk", sans-serif; }
.brand-copy small { margin-top: 5px; color: var(--soft); font: 400 7px/1 "IBM Plex Mono", monospace; letter-spacing: .06em; }
.search-box {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border: 1px solid #d8dadd;
  border-radius: 8px;
  background: #fff;
}
.search-box span { position: relative; width: 14px; height: 14px; flex: 0 0 auto; border: 2px solid #8b9298; border-radius: 50%; }
.search-box span::after { position: absolute; right: -5px; bottom: -3px; width: 6px; height: 2px; content: ""; background: #8b9298; transform: rotate(45deg); }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font: 400 13px/1 "Noto Sans JP", sans-serif; }
.search-box input::placeholder { color: #9da3aa; }
.header-nav, .site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.header-nav a, .site-nav a { color: #4f555b; text-decoration: none; font-size: 12px; font-weight: 600; }
.header-nav a:hover, .site-nav a:hover, .site-nav a.is-active { color: var(--text); }
.header-button { padding: 8px 15px; border-radius: 7px; color: #fff !important; background: var(--dark); }

/* Home layout */
.site-layout {
  width: min(100%, 1280px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  padding: 30px 24px 50px 20px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
}
.sidebar nav { display: grid; }
.sidebar a { color: #666d73; text-decoration: none; font-size: 13px; }
.sidebar a:hover, .sidebar a.is-active { color: var(--text); font-weight: 600; }
.sidebar-main { padding: 8px 5px; }
.sidebar-group { margin-top: 24px; padding: 22px 5px 0; border-top: 1px solid var(--line); }
.sidebar-group h2 { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.sidebar-group > a { display: block; padding: 5px 0; }
.trend-list { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.trend-list a { display: grid; grid-template-columns: 22px 1fr; align-items: center; padding: 4px 0; }
.trend-list span { color: #8a9096; font: 500 11px/1 "IBM Plex Mono", monospace; }
.sidebar-about p { margin: 0; color: #858b90; font-size: 11px; line-height: 1.8; }

.feed { min-width: 0; padding: 52px 44px 0; }
.feed-section { padding-bottom: 56px; }
.feed-section + .feed-section { padding-top: 44px; border-top: 1px solid var(--line); }
.feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.feed-kicker { margin: 0 0 4px; color: var(--accent); font: 500 9px/1 "IBM Plex Mono", monospace; letter-spacing: .1em; }
.feed-heading h1, .feed-heading h2 { margin: 0; font-size: 23px; font-weight: 700; letter-spacing: -.03em; }
.feed-heading > span { color: var(--soft); font: 400 9px/1 "IBM Plex Mono", monospace; }
.compact-heading { margin-bottom: 18px; }

.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feed-card { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.feed-card:hover { box-shadow: 0 8px 24px rgba(25,35,45,.08); transform: translateY(-2px); }
.feed-card > a { display: block; text-decoration: none; }
.feed-thumb { position: relative; height: 210px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--subtle); }
.feed-thumb small { position: absolute; right: 16px; bottom: 14px; color: rgba(255,255,255,.8); font: 400 8px/1 "IBM Plex Mono", monospace; letter-spacing: .09em; }
.thumb-profile { display: grid; place-items: center; background: linear-gradient(140deg, #dcd9d0, #5f7473); }
.thumb-profile::before { position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.4); content: ""; }
.thumb-profile > span { z-index: 1; color: #fff; font: 700 64px/1 "Space Grotesk", sans-serif; letter-spacing: -.08em; }
.thumb-robot { background: #a9b8b0; }
.thumb-robot::before { position: absolute; inset: 0; content: ""; background-image: linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px); background-size: 28px 28px; }
.simple-arm { position: absolute; top: 50%; left: 50%; width: 220px; height: 130px; transform: translate(-50%,-50%); }
.simple-arm i { position: absolute; display: block; height: 14px; border: 2px solid #fff; border-radius: 8px; transform-origin: 7px 7px; }
.simple-arm i::before { position: absolute; top: 50%; left: 0; width: 23px; height: 23px; border: 2px solid #fff; border-radius: 50%; content: ""; background: #a9b8b0; transform: translate(-50%,-50%); }
.simple-arm i:nth-child(1) { bottom: 11px; left: 31px; width: 95px; transform: rotate(-58deg); }
.simple-arm i:nth-child(2) { top: 34px; left: 80px; width: 108px; transform: rotate(10deg); }
.simple-arm i:nth-child(3) { top: 55px; right: 8px; width: 64px; height: 10px; transform: rotate(78deg); }
.feed-card-body { padding: 19px 20px 18px; }
.card-label { margin: 0 0 6px; color: var(--accent); font-size: 10px; font-weight: 600; }
.feed-card h2 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.feed-card-body > p:not(.card-label) { min-height: 45px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.card-meta { display: flex; align-items: center; gap: 8px; margin-top: 17px; color: #858b91; font-size: 9px; }
.card-meta time { margin-left: auto; }
.mini-avatar { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--dark); font: 500 8px/1 "Space Grotesk", sans-serif; }

.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.topic-card { min-height: 135px; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.topic-card:hover { border-color: #aeb3b7; background: #fafafa; }
.topic-card > span { color: var(--accent); font: 500 9px/1 "IBM Plex Mono", monospace; }
.topic-card strong { margin-top: auto; font: 600 17px/1.2 "Space Grotesk", sans-serif; }
.topic-card small { margin-top: 5px; color: var(--muted); font-size: 10px; }

.article-list { border-top: 1px solid var(--line); }
.article-list > a { display: grid; grid-template-columns: 42px 1fr auto 20px; align-items: center; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.article-list > a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.list-index { color: var(--soft); font: 500 10px/1 "IBM Plex Mono", monospace; }
.article-list span { color: var(--accent); font-size: 9px; font-weight: 600; }
.article-list h3 { margin: 2px 0 3px; font-size: 16px; }
.article-list p { margin: 0; color: var(--muted); font-size: 10px; }
.article-list time { color: var(--soft); font: 400 9px/1 "IBM Plex Mono", monospace; }
.article-list b { color: var(--muted); font-weight: 400; }
.feed-footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--soft); font-size: 10px; }
.feed-footer strong { color: #6d7378; font: 600 13px/1 "Space Grotesk", sans-serif; }

/* Article pages */
.article-page { background: #fff; }
.page-glow, .visual-orbit, .floating-chip { display: none; }
.article-hero { min-height: 540px; display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,380px); align-items: center; gap: 70px; padding-block: 72px 82px; }
.back-link { display: inline-block; margin-bottom: 40px; color: var(--muted); text-decoration: none; font: 500 9px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font: 500 9px/1.4 "IBM Plex Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.article-heading h1 { margin: 0; font-size: clamp(50px,7vw,76px); font-weight: 700; line-height: 1.25; letter-spacing: -.055em; }
.title-dot { color: var(--accent); }
.article-lead { max-width: 550px; margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 2; }
.article-meta { display: flex; gap: 15px; margin-top: 27px; color: var(--soft); font: 400 8px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.article-meta span::before { margin-right: 15px; content: "/"; }
.portrait-panel, .blueprint-panel { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 9px; background: #e6e7e3; }
.panel-code { position: absolute; top: 20px; left: 21px; z-index: 3; color: #777; font: 400 8px/1 "IBM Plex Mono", monospace; }
.portrait-panel > strong { position: absolute; top: 49%; left: 50%; color: #303638; font: 700 82px/1 "Space Grotesk", sans-serif; letter-spacing: -.09em; transform: translate(-52%,-50%); }
.portrait-orbit { position: absolute; top: 49%; left: 50%; width: 60%; aspect-ratio: 1; border: 1px solid #b8bcb9; border-radius: 50%; transform: translate(-50%,-50%); }
.portrait-status { position: absolute; right: 21px; bottom: 20px; color: #727776; font: 400 8px/1 "IBM Plex Mono", monospace; }
.portrait-status i { width: 5px; height: 5px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--accent); }
.blueprint-panel { background: #c1ccc6; }
.blueprint-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.28) 1px,transparent 1px); background-size: 28px 28px; }
.blueprint-arm { position: absolute; top: 52%; left: 49%; width: 74%; height: 53%; transform: translate(-50%,-50%); }
.blueprint-arm i { position: absolute; height: 13px; border: 2px solid #fff; border-radius: 8px; transform-origin: 7px 7px; }
.blueprint-arm i::before { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; border: 2px solid #fff; border-radius: 50%; content: ""; background: #c1ccc6; transform: translate(-50%,-50%); }
.blueprint-arm i:nth-child(1) { bottom: 24px; left: 42px; width: 110px; transform: rotate(-67deg); }
.blueprint-arm i:nth-child(2) { top: 57px; left: 97px; width: 120px; transform: rotate(5deg); }
.blueprint-arm i:nth-child(3) { top: 67px; right: 9px; width: 62px; height: 9px; transform: rotate(81deg); }
.blueprint-arm i:nth-child(4) { right: -8px; bottom: 36px; width: 44px; height: 8px; }
.dimension { position: absolute; color: rgba(20,45,40,.65); font: 400 7px/1 "IBM Plex Mono", monospace; }
.dimension-x { right: 26px; bottom: 25px; }
.dimension-y { top: 43px; right: 18px; writing-mode: vertical-rl; }
.article-layout { display: grid; grid-template-columns: 175px minmax(0,680px); justify-content: space-between; gap: 65px; padding-block: 95px 120px; border-top: 1px solid var(--line); }
.article-aside { position: sticky; top: 105px; height: max-content; }
.article-aside > p { margin: 0 0 16px; color: var(--soft); font: 400 8px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.article-aside nav { display: grid; }
.article-aside a { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); text-decoration: none; font: 400 9px/1.3 "IBM Plex Mono", monospace; }
.article-aside a:hover { color: var(--text); }
.prose-section { position: relative; padding-bottom: 75px; scroll-margin-top: 90px; }
.prose-section + .prose-section { padding-top: 75px; border-top: 1px solid var(--line); }
.section-number { position: absolute; top: 8px; left: -50px; color: var(--accent); font: 500 8px/1 "IBM Plex Mono", monospace; }
.prose-section + .prose-section .section-number { top: 83px; }
.prose-section h2 { margin: 0 0 27px; font-size: clamp(29px,4vw,39px); line-height: 1.4; letter-spacing: -.04em; }
.prose-section > p { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 2.05; }
.prose-section .lead-paragraph { color: var(--text); font-size: 18px; font-weight: 500; line-height: 1.9; }
.field-grid, .focus-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 34px; }
.field-card, .focus-grid > div { padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.field-card { min-height: 190px; }
.field-card > span { display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 32px; border-radius: 5px; color: #fff; background: var(--dark); font: 500 8px/1 "IBM Plex Mono", monospace; }
.field-card h3 { margin: 0 0 9px; font: 600 15px/1 "Space Grotesk", sans-serif; }
.field-card p, .focus-grid p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.skill-list { margin-top: 24px; border-top: 1px solid var(--line); }
.skill-list > div { position: relative; min-height: 74px; display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; border-bottom: 1px solid var(--line); }
.skill-list span { font: 500 12px/1 "IBM Plex Mono", monospace; }
.skill-list p { margin: 0; color: var(--muted); font-size: 11px; }
.skill-list i { position: absolute; bottom: -1px; left: 0; width: var(--level); height: 2px; background: var(--accent); }
.quote-section blockquote { margin: 0 0 28px; font-size: clamp(25px,4vw,36px); font-weight: 600; line-height: 1.65; letter-spacing: -.04em; }
.quote-section blockquote::before { display: block; margin-bottom: 9px; color: var(--accent); content: "“"; font: 500 40px/1 "Space Grotesk", sans-serif; }
.next-note { position: relative; display: grid; gap: 10px; padding: 27px 60px 27px 27px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.next-note:hover { background: #fafafa; }
.next-note span { color: var(--accent); font: 400 8px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.next-note span small { margin-left: 6px; color: var(--soft); }
.next-note strong { font-size: 20px; }
.next-note > b { position: absolute; top: 50%; right: 24px; color: var(--muted); font-weight: 400; transform: translateY(-50%); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 140px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.footer-inner > p { display: none; }
.footer-meta { display: flex; gap: 20px; color: var(--soft); font: 400 8px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.footer-meta a { color: var(--muted); text-decoration: none; }
.manifesto, .signal-strip, .notes-section { display: none; }
.timeline { margin-top: 38px; }
.timeline article { position: relative; display: grid; grid-template-columns: 105px 1fr; gap: 28px; padding-bottom: 44px; }
.timeline article::before { position: absolute; top: 7px; bottom: -7px; left: 78px; width: 1px; content: ""; background: var(--line); }
.timeline article::after { position: absolute; top: 7px; left: 75px; width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--accent); }
.timeline article:last-child::before { display: none; }
.timeline time { font: 600 20px/1 "Space Grotesk", sans-serif; }
.timeline article div > span { color: var(--accent); font: 400 7px/1 "IBM Plex Mono", monospace; }
.timeline h3 { margin: 8px 0 9px; font-size: 17px; }
.timeline p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.focus-grid > div { min-height: 170px; }
.focus-grid span { display: block; margin-bottom: 38px; color: var(--accent); font: 400 7px/1 "IBM Plex Mono", monospace; }
.focus-grid strong { display: block; margin-bottom: 8px; font-size: 14px; }

@media (max-width: 900px) {
  .home-page .header-inner { grid-template-columns: 175px minmax(240px,1fr) auto; }
  .site-layout { grid-template-columns: 180px minmax(0,1fr); }
  .feed { padding-inline: 30px; }
  .article-hero { grid-template-columns: 1fr 330px; gap: 40px; }
  .article-layout { grid-template-columns: 150px minmax(0,630px); gap: 40px; }
  .section-number { display: none; }
}

@media (max-width: 760px) {
  .home-page .header-inner { grid-template-columns: 1fr auto; }
  .search-box { display: none; }
  .site-layout { display: block; }
  .sidebar { display: none; }
  .feed { width: min(100%,720px); margin-inline: auto; padding: 40px 22px 0; }
  .article-hero { grid-template-columns: 1fr; padding-block: 58px 70px; }
  .portrait-panel, .blueprint-panel { max-width: 430px; aspect-ratio: 1.2; }
  .article-layout { grid-template-columns: 1fr; padding-top: 68px; }
  .article-aside { display: none; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 30px),var(--shell)); }
  .home-page .header-inner { width: calc(100% - 30px); min-height: 64px; }
  .brand-word { font-size: 19px; }
  .header-nav a:first-child { display: none; }
  .featured-grid { grid-template-columns: 1fr; }
  .feed-thumb { height: 190px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 105px; }
  .article-list > a { grid-template-columns: 32px 1fr 18px; }
  .article-list time { display: none; }
  .feed { padding-inline: 15px; }
  .article-heading h1 { font-size: 52px; }
  .article-hero { padding-block: 50px 62px; }
  .article-layout { padding-block: 60px 85px; }
  .prose-section { padding-bottom: 62px; }
  .prose-section + .prose-section { padding-top: 62px; }
  .field-grid, .focus-grid { grid-template-columns: 1fr; }
  .field-card, .focus-grid > div { min-height: auto; }
  .field-card > span, .focus-grid span { margin-bottom: 24px; }
  .skill-list > div { grid-template-columns: 1fr; align-content: center; gap: 7px; }
  .timeline article { grid-template-columns: 70px 1fr; gap: 20px; }
  .timeline article::before { left: 55px; }
  .timeline article::after { left: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Articles-only home */
.articles-home { background: #fff; }
.reading-shell { width: min(calc(100% - 40px), 1080px); margin-inline: auto; }
.article-index-header { border-bottom: 1px solid var(--line); }
.article-index-header .reading-shell { min-height: 72px; display: flex; align-items: center; }
.article-index-header a { color: var(--text); text-decoration: none; font: 700 21px/1 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.article-index { min-height: calc(100vh - 160px); padding-block: 68px 100px; }
.index-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid var(--text); }
.index-title h1 { margin: 0; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.index-title span { color: var(--soft); font: 400 9px/1 "IBM Plex Mono", monospace; }
.pure-article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pure-article-list article { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.pure-article-list article > a { height: 100%; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.pure-article-list article > a:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pure-thumb { position: relative; height: 175px; flex: 0 0 auto; overflow: hidden; border-bottom: 1px solid var(--line); background: #eef0ee; }
.pure-thumb-profile { display: grid; place-items: center; background: linear-gradient(140deg, #dcd9d0, #667876); }
.pure-thumb-profile::before { position: absolute; inset: 17px; border: 1px solid rgba(255,255,255,.42); content: ""; }
.pure-thumb-profile strong { z-index: 1; color: #fff; font: 700 49px/1 "Space Grotesk", sans-serif; letter-spacing: -.08em; }
.pure-thumb-robot { background: #aab9b1; }
.pure-thumb-robot::before { position: absolute; inset: 0; content: ""; background-image: linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px); background-size: 25px 25px; }
.pure-arm { position: absolute; top: 52%; left: 50%; width: 180px; height: 110px; transform: translate(-50%,-50%); }
.pure-arm i { position: absolute; display: block; height: 12px; border: 2px solid #fff; border-radius: 7px; transform-origin: 6px 6px; }
.pure-arm i::before { position: absolute; top: 50%; left: 0; width: 19px; height: 19px; border: 2px solid #fff; border-radius: 50%; content: ""; background: #aab9b1; transform: translate(-50%,-50%); }
.pure-arm i:nth-child(1) { bottom: 9px; left: 27px; width: 79px; transform: rotate(-58deg); }
.pure-arm i:nth-child(2) { top: 29px; left: 67px; width: 91px; transform: rotate(10deg); }
.pure-arm i:nth-child(3) { top: 47px; right: 6px; width: 54px; height: 9px; transform: rotate(78deg); }
.pure-article-body { min-width: 0; flex: 1; display: flex; flex-direction: column; padding: 20px; }
.pure-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--soft); font-size: 9px; }
.pure-meta span { color: var(--accent); font-weight: 600; }
.pure-meta time { font-family: "IBM Plex Mono", monospace; }
.pure-article-body h2 { margin: 9px 0 9px; font-size: 22px; line-height: 1.4; letter-spacing: -.025em; }
.pure-article-body p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.pure-article-body > small { display: inline-flex; gap: 12px; margin-top: auto; padding-top: 18px; color: #555c61; font-size: 10px; }
.pure-article-body > small b { color: var(--accent); font-weight: 400; }
.article-index-footer { border-top: 1px solid var(--line); }
.article-index-footer .reading-shell { min-height: 88px; display: flex; align-items: center; color: var(--soft); font: 400 8px/1 "IBM Plex Mono", monospace; }

@media (max-width: 900px) {
  .pure-article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .reading-shell { width: min(calc(100% - 30px), 860px); }
  .article-index { padding-block: 48px 75px; }
  .pure-article-list { grid-template-columns: 1fr; }
  .pure-thumb { height: 205px; }
}

/* Plain technical blog posts */
.simple-post-page { background: #fff; }
.post-shell { width: min(calc(100% - 40px), 760px); margin-inline: auto; }
.simple-post-header { border-bottom: 1px solid var(--line); }
.simple-post-header .post-shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.post-brand { color: var(--text); text-decoration: none; font: 700 20px/1 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.post-back { color: var(--muted); text-decoration: none; font-size: 11px; }
.post-back:hover { color: var(--text); }
.simple-post { padding-block: 78px 100px; }
.simple-post-title { padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.simple-post-title > p:first-child { margin: 0 0 14px; color: var(--accent); font-size: 10px; font-weight: 600; }
.simple-post-title h1 { margin: 0; font-size: clamp(38px,7vw,58px); line-height: 1.3; letter-spacing: -.05em; }
.simple-post-title .simple-post-lead { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.95; }
.simple-post-title > div { display: flex; gap: 14px; margin-top: 24px; color: var(--soft); font: 400 9px/1 "IBM Plex Mono", monospace; }
.simple-post-title > div span::before { margin-right: 14px; content: "/"; }
.simple-post-body { padding-block: 16px 20px; }
.simple-post-body h2 { margin: 64px 0 22px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 25px; line-height: 1.5; letter-spacing: -.03em; }
.simple-post-body h3 { margin: 35px 0 10px; font-size: 18px; line-height: 1.5; }
.simple-post-body p { margin: 0 0 20px; color: #42474b; font-size: 15px; line-height: 2.05; }
.simple-post-body ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.simple-post-body li { padding: 14px 4px; border-bottom: 1px solid var(--line); color: #42474b; font-size: 14px; }
.simple-post-body li strong { color: var(--text); }
.plain-history { border-top: 1px solid var(--line); }
.plain-history section { display: grid; grid-template-columns: 75px 1fr; gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.plain-history time { padding-top: 3px; color: var(--accent); font: 500 13px/1.5 "IBM Plex Mono", monospace; }
.plain-history h3 { margin: 0 0 5px; font-size: 17px; }
.plain-history p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.simple-post-nav { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); }
.simple-post-nav a { min-height: 82px; display: flex; flex-direction: column; justify-content: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 7px; text-decoration: none; }
.simple-post-nav a:hover { background: #fafafa; }
.simple-post-nav small { margin-bottom: 5px; color: var(--soft); font-size: 9px; }
.simple-post-nav strong { font-size: 13px; }
.simple-post-footer { border-top: 1px solid var(--line); }
.simple-post-footer .post-shell { min-height: 90px; display: flex; align-items: center; color: var(--soft); font: 400 8px/1 "IBM Plex Mono", monospace; }

@media (max-width: 600px) {
  .post-shell { width: min(calc(100% - 30px),760px); }
  .simple-post { padding-block: 55px 80px; }
  .simple-post-title { padding-bottom: 38px; }
  .simple-post-title h1 { font-size: 40px; }
  .simple-post-body h2 { margin-top: 52px; font-size: 23px; }
  .plain-history section { grid-template-columns: 58px 1fr; gap: 16px; }
  .simple-post-nav { grid-template-columns: 1fr; }
}
