@charset "UTF-8";
:root {
  --bg: #111316;
  --surface: #1b1e22;
  --raised: #23272c;
  --text: #ecebe6;
  --muted: #b0b5bc;
  --dim: #9fa8b0;
  --line: #32363b;
  --accent: #adbcaf;
  --ink: #142010;
  --sans: "IBM Plex Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f4ec;
  --surface: #ebeee3;
  --raised: #e3e8dc;
  --text: #182019;
  --muted: #53604f;
  --dim: #687361;
  --line: #ccd2c4;
  --accent: #456637;
  --ink: #f7f8ef;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
input {
  outline-offset: 6px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
}
button {
  color: inherit;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1160px, calc(100% - 96px));
  margin: auto;
}
.mono,
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.eyebrow {
  color: var(--muted);
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--ink);
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 92px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-dot {
  color: var(--accent);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  transform: rotate(-8deg);
  color: var(--accent);
}
.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav a {
  color: var(--muted);
  font-size: 13px;
  position: relative;
  padding: 10px 0;
}
.nav a:hover,
.nav a[aria-current] {
  color: var(--text);
}
.nav a[aria-current]:after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  left: 50%;
  bottom: 0;
}
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.icon-btn {
  background: none;
  border: 1px solid transparent;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--muted);
}
.icon-btn:hover {
  background: var(--surface);
  color: var(--text);
}
.icon-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.search-toggle {
  display: flex;
  gap: 10px;
  width: auto;
  padding: 0 8px;
}
.search-toggle kbd {
  font: 11px var(--mono);
  border: 1px solid var(--line);
  padding: 0 5px;
  color: var(--dim);
}
.menu-toggle {
  display: none;
}
.hero {
  padding: 83px 0 70px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(46px, 5.65vw, 76px);
  line-height: 1.055;
  font-weight: 400;
  letter-spacing: -3.6px;
  margin: 0 0 30px;
  max-width: 720px;
}
.hero h1 span {
  color: var(--accent);
}
.hero-description {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 430px;
  margin: 0 0 28px;
}
.hero-description strong {
  font-weight: 400;
  color: var(--text);
}
.hero-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 12px 18px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: none;
  color: var(--text);
  min-height: 44px;
  border-radius: 3px;
  transition: background 0.18s, border-color 0.18s;
}
.button.primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.button:hover {
  background: var(--raised);
  border-color: var(--muted);
}
.button.primary:hover {
  background: var(--text);
  border-color: var(--text);
}
.text-link {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 36px;
}
.text-link:hover {
  color: var(--accent);
}
.arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.button:hover .arrow,
.text-link:hover .arrow,
.post-row:hover .arrow {
  transform: translateX(4px);
}
.orbital {
  position: relative;
  padding: 20px 0 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.orbital svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.orbital .orbit-stroke {
  stroke: var(--muted);
}
.orbital .orbit-accent {
  stroke: var(--accent);
}
.orbital .orbit-dim {
  stroke: var(--line);
}
.orbital text {
  fill: var(--dim);
  font: 9px var(--mono);
  letter-spacing: 1px;
}
.orbital .dot-fill {
  fill: var(--accent);
}
.orbital figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  margin: 18px 12px 0;
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.06em;
}
.orbit-system {
  transform-origin: 250px 228px;
  animation: none;
}
.orbit-system:hover {
  animation-play-state: paused;
}
@keyframes orbit-drift {
  to {
    transform: rotate(360deg);
  }
}
.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  color: var(--dim);
  font-size: 10px;
}
.hero-foot span:last-child {
  color: var(--muted);
}
.section {
  padding: 64px 0 0;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-head h2 {
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.85px;
  margin: 0;
}
.section-number {
  font: 10px var(--mono);
  color: var(--dim);
  margin-right: 16px;
}
.post-list {
  border-top: 1px solid var(--line);
}
.post-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 115px 1fr 25px;
  gap: 22px;
  padding: 26px 0;
  align-items: start;
  transition: background 0.18s;
}
.post-row:hover {
  background: var(--surface);
}
.post-date {
  font: 10px var(--mono);
  color: var(--dim);
  padding-top: 6px;
  line-height: 1.6;
}
.post-date span {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.post-title {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.4px;
  margin: 0 0 7px;
}
.post-description {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  max-width: 640px;
}
.post-row .arrow {
  font-size: 19px;
  color: var(--dim);
  padding-top: 3px;
}
.tagline {
  font: 9px var(--mono);
  letter-spacing: 0.07em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 7px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.project-card {
  display: block;
}
.project-art {
  aspect-ratio: 1.9;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}
.project-card:hover .project-art {
  border-color: var(--muted);
}
.project-art svg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
}
.project-card:hover svg {
  transform: scale(1.035);
}
.project-art .mono {
  position: absolute;
  left: 19px;
  top: 17px;
  font-size: 9px;
  color: var(--dim);
}
.project-art .art-id {
  left: auto;
  right: 19px;
}
.project-art path,
.project-art line,
.project-art rect,
.project-art circle {
  stroke: var(--line);
}
.project-art .bright {
  stroke: var(--accent);
}
.project-art text {
  fill: var(--muted);
  font: 12px var(--mono);
}
.project-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.project-info h3 {
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.7px;
  margin: 0 0 8px;
}
.project-info p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 440px;
  margin: 0;
}
.project-info .arrow {
  color: var(--muted);
}
.project-tags {
  color: var(--dim);
  font: 9px var(--mono);
  margin-top: 15px;
  letter-spacing: 0.05em;
}
.exploring {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 46px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 70px;
}
.exploring h2 {
  font-size: 24px;
  margin: 12px 0 18px;
}
.explore-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  font: 11px var(--mono);
  border: 1px solid var(--line);
  background: none;
  border-radius: 25px;
  padding: 8px 13px;
  min-height: 38px;
  color: var(--muted);
}
.chip:hover {
  border-color: var(--muted);
  color: var(--text);
}
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.explore-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.explore-panel p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 16px;
}
.footer {
  padding: 60px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 36px;
}
.footer-title {
  font-size: 32px;
  letter-spacing: -1.1px;
  font-weight: 400;
  margin: 0 0 7px;
}
.footer-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.socials {
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
}
.socials a:hover {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font: 9px var(--mono);
  gap: 20px;
}
.footer-bottom div {
  display: flex;
  gap: 18px;
}
.page-intro {
  padding: 70px 0 42px;
}
.page-intro .eyebrow {
  margin: 0 0 20px;
}
.page-intro h1 {
  font-size: 65px;
  line-height: 1.1;
  letter-spacing: -2.7px;
  font-weight: 400;
  margin: 0 0 22px;
}
.page-intro p {
  max-width: 540px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
  margin: 0;
}
.archive-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 26px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.search-field {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  color: var(--text);
  padding: 9px 12px;
  width: 235px;
  font-size: 12px;
  min-height: 40px;
}
.search-field::placeholder {
  color: var(--dim);
}
.result-count {
  color: var(--dim);
  font: 10px var(--mono);
  margin: 0 0 18px;
}
.empty {
  padding: 60px 24px;
  text-align: center;
  border: 1px solid var(--line);
  color: var(--muted);
}
.empty button {
  margin-top: 15px;
}
.page-content {
  padding-bottom: 30px;
}
.project-intro {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin: 45px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-intro h2 {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}
.reader-progress {
  position: fixed;
  top: 92px;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: var(--progress, 0%);
  z-index: 25;
}
.article-head {
  max-width: 920px;
  padding: 50px 0 45px;
}
.article-head h1 {
  font-size: 58px;
  line-height: 1.12;
  letter-spacing: -2.2px;
  font-weight: 400;
  margin: 30px 0 22px;
}
.article-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  color: var(--dim);
  font: 11px var(--mono);
}
.article-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 740px;
  margin: 25px 0 0;
}
.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  gap: 90px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.prose {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
}
.prose h2 {
  color: var(--text);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.7px;
  margin: 36px 0 15px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  margin: 0 0 22px;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose ul {
  padding-left: 23px;
}
.prose li {
  margin-bottom: 8px;
}
.prose code {
  font: 13px var(--mono);
  color: var(--text);
}
.codeblock {
  margin: 26px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 7px 16px;
  font: 10px var(--mono);
  color: var(--dim);
}
.copy-code {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 6px 10px;
  font: 11px var(--mono);
  min-height: 34px;
}
.copy-code:hover {
  color: var(--accent);
}
pre {
  margin: 0;
  padding: 22px;
  overflow: auto;
  line-height: 1.9;
}
.prose blockquote {
  border-left: 2px solid var(--accent);
  margin: 26px 0;
  padding: 4px 0 4px 23px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: -0.3px;
}
.toc {
  position: sticky;
  top: 133px;
  align-self: start;
  font-size: 12px;
  color: var(--dim);
}
.toc summary {
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  font: 10px var(--mono);
  margin-bottom: 17px;
  letter-spacing: 0.08em;
}
.toc nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 17px;
  border-left: 1px solid var(--line);
}
.toc a:hover,
.toc a.active {
  color: var(--accent);
}
.original-note {
  border-top: 1px solid var(--line);
  padding: 23px 0;
  margin-top: 34px;
  font-size: 12px;
  color: var(--dim);
}
.original-note p {
  margin-bottom: 10px;
}
.article-next {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
  padding: 28px 0;
}
.article-next h3 {
  font-size: 22px;
  font-weight: 400;
  margin: 6px 0 0;
  letter-spacing: -0.6px;
}
.note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.note-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 3px;
}
.note-card h2 {
  font-weight: 400;
  letter-spacing: -0.6px;
  font-size: 23px;
  line-height: 1.35;
  margin: 14px 0;
}
.note-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 90px;
}
.about-layout h2 {
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.6px;
}
.about-layout p {
  color: var(--muted);
  line-height: 1.9;
}
.about-sidebar {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.about-sidebar dl {
  margin: 20px 0;
}
.about-sidebar dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 12px;
}
.about-sidebar dt {
  color: var(--dim);
}
.about-sidebar dd {
  margin: 0;
}
.contact {
  margin-top: 30px;
}
.project-detail {
  max-width: 740px;
}
.project-detail h2 {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.6px;
}
.project-detail p,
.project-detail li {
  color: var(--muted);
  line-height: 1.9;
}
.project-detail .project-art {
  margin: 25px 0;
}
.dialog {
  padding: 0;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  max-width: min(650px, calc(100vw - 32px));
  width: 650px;
  max-height: calc(100dvh - 60px);
  box-shadow: 0 30px 120px #0007;
}
.dialog::backdrop {
  background: #050805b8;
  backdrop-filter: blur(8px);
}
.dialog-head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}
.dialog-head input {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font-size: 17px;
  min-height: 30px;
}
.dialog-head input::placeholder {
  color: var(--dim);
}
.dialog-close {
  background: none;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 3px;
  font: 10px var(--mono);
  padding: 6px 9px;
  min-height: 32px;
}
.dialog-close:hover {
  color: var(--text);
}
.search-results {
  padding: 12px;
  overflow: auto;
  max-height: 430px;
}
.search-result {
  display: block;
  padding: 13px 15px;
  border-radius: 3px;
}
.search-result:hover,
.search-result:focus-visible {
  background: var(--raised);
}
.search-result h3 {
  font-size: 16px;
  font-weight: 400;
  margin: 3px 0 0;
  letter-spacing: -0.2px;
}
.search-result .eyebrow {
  font-size: 9px;
}
.dialog-foot {
  border-top: 1px solid var(--line);
  padding: 12px 24px;
  font: 10px var(--mono);
  color: var(--dim);
  display: flex;
  justify-content: space-between;
}
.project-dialog-content {
  padding: 30px;
  overflow-y: auto;
}
.project-dialog-content h2 {
  font-size: 35px;
  letter-spacing: -1px;
  font-weight: 400;
  margin: 16px 0;
}
.project-dialog-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
.project-dialog-content .project-art {
  margin: 23px 0;
}
.dialog-project-head {
  justify-content: space-between;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
  background: var(--accent);
  color: var(--ink);
  border-radius: 4px;
  font: 12px var(--mono);
  padding: 12px 20px;
  pointer-events: none;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
body.dialog-open {
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.back-top {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 0;
  font: 9px var(--mono);
}
.back-top:hover {
  color: var(--accent);
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 78px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 0;
    grid-template-columns: 1.3fr 1fr;
  }
  .hero h1 {
    font-size: 60px;
    letter-spacing: -2.9px;
  }
  .nav {
    gap: 23px;
  }
  .header-inner {
    gap: 26px;
  }
  .reading-layout {
    gap: 40px;
  }
  .about-layout {
    gap: 45px;
  }
  .hero-description {
    max-width: 380px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 92px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 74px;
    gap: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-mark {
    width: 25px;
    height: 25px;
  }
  .menu-toggle {
    display: flex;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    top: 74px;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    box-shadow: 0 30px 50px #0005;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px;
    font-size: 17px;
  }
  .nav a[aria-current]:after {
    left: auto;
    right: 14px;
    bottom: 22px;
  }
  .search-toggle kbd {
    display: none;
  }
  .header-actions {
    gap: 0;
  }
  .hero {
    padding: 50px 0 30px;
    display: block;
  }
  .hero h1 {
    font-size: clamp(42px, 10.4vw, 69px);
    letter-spacing: -2.2px;
    line-height: 1.08;
    max-width: 650px;
    margin-bottom: 24px;
  }
  .hero .eyebrow {
    font-size: 9px;
    gap: 8px;
    margin-bottom: 25px;
  }
  .hero-description {
    font-size: 14px;
    max-width: 480px;
    line-height: 1.85;
  }
  .hero-links {
    gap: 9px;
  }
  .button {
    padding: 11px 14px;
    gap: 23px;
  }
  .orbital {
    width: min(410px, 100%);
    margin: 20px auto 0;
    max-height: 340px;
    padding: 0;
  }
  .orbital svg {
    max-height: 280px;
  }
  .orbital figcaption {
    margin: 0 5px;
    font-size: 8px;
    padding: 12px 0;
  }
  .hero-foot {
    font-size: 8px;
    gap: 12px;
    line-height: 1.5;
  }
  .hero-foot .foot-right {
    max-width: 140px;
    text-align: right;
  }
  .section {
    padding-top: 45px;
  }
  .section-head h2 {
    font-size: 24px;
  }
  .section-number {
    font-size: 9px;
    margin-right: 10px;
  }
  .section-head {
    gap: 10px;
    margin-bottom: 22px;
  }
  .section-head .text-link {
    font-size: 10px;
    gap: 8px;
  }
  .post-row {
    grid-template-columns: 1fr 22px;
    gap: 10px;
    padding: 23px 0;
  }
  .post-date {
    grid-column: 1/-1;
    padding: 0;
    font-size: 9px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .post-date span {
    display: inline;
    margin: 0;
  }
  .post-title {
    font-size: 19px;
    line-height: 1.35;
  }
  .post-description {
    font-size: 12px;
    line-height: 1.7;
  }
  .tagline {
    font-size: 8px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .project-art {
    margin-bottom: 16px;
  }
  .project-info h3 {
    font-size: 22px;
  }
  .exploring {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 45px;
    padding: 32px 0;
  }
  .explore-panel p {
    font-size: 15px;
  }
  .footer {
    padding: 42px 0 24px;
  }
  .footer-top {
    display: block;
    padding-bottom: 30px;
  }
  .footer-title {
    font-size: 28px;
  }
  .socials {
    margin-top: 25px;
  }
  .footer-bottom {
    flex-direction: column;
    font-size: 9px;
    gap: 15px;
  }
  .footer-bottom div {
    gap: 17px;
    flex-wrap: wrap;
  }
  .page-intro {
    padding: 48px 0 30px;
  }
  .page-intro h1 {
    font-size: 48px;
    letter-spacing: -2px;
    margin-bottom: 20px;
  }
  .page-intro p {
    font-size: 14px;
  }
  .archive-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    padding: 8px 0 20px;
  }
  .filters {
    gap: 6px;
  }
  .chip {
    font-size: 10px;
    padding: 8px 12px;
  }
  .search-field {
    width: 100%;
  }
  .article-head {
    padding: 32px 0;
  }
  .article-head h1 {
    font-size: 39px;
    letter-spacing: -1.6px;
    margin-top: 20px;
  }
  .article-description {
    font-size: 16px;
  }
  .article-meta {
    font-size: 10px;
    gap: 12px;
  }
  .reading-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 25px;
    padding-top: 22px;
  }
  .toc {
    position: static;
    width: 100%;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--line);
  }
  .toc summary {
    margin: 0;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
  }
  .toc summary:after {
    content: "+";
    font-size: 15px;
  }
  .toc[open] summary:after {
    content: "−";
  }
  .toc nav {
    margin-top: 18px;
  }
  .reader-progress {
    top: 74px;
  }
  .prose {
    font-size: 15px;
    line-height: 1.85;
  }
  .prose h2 {
    font-size: 25px;
  }
  .prose blockquote {
    font-size: 19px;
  }
  .prose code {
    font-size: 12px;
  }
  pre {
    padding: 17px;
  }
  .note-grid,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .note-card {
    padding: 23px;
  }
  .article-next {
    margin-top: 35px;
    padding: 23px 0;
  }
  .article-next h3 {
    font-size: 19px;
  }
  .project-dialog-content {
    padding: 23px;
  }
  .dialog {
    max-height: calc(100dvh - 32px);
  }
  .dialog-head {
    padding: 15px;
  }
  .dialog-head input {
    font-size: 15px;
  }
  .project-intro {
    margin-top: 30px;
  }
  .project-intro h2 {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.brand-dot {
  color: var(--muted);
  font-weight: 400;
  margin-left: -10px;
}
.hero {
  padding-top: 88px;
  padding-bottom: 35px;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
}
.hero h1 {
  font-family: var(--sans);
  font-size: 64px;
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.hero h1 span {
  color: var(--text);
  font-style: italic;
}
.hero-description {
  font-family: var(--sans);
  line-height: 1.75;
  font-size: 17px;
  max-width: 480px;
}
.hero-links .button {
  border-radius: 30px;
}
.button.primary {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.button.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.button.secondary {
  color: var(--muted);
}
.section-head h2 {
  font: 10px var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head {
  margin-bottom: 18px;
}
.home-writing {
  padding-top: 45px;
}
.post-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.post-description {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-row {
  padding: 25px 0;
  grid-template-columns: 122px 1fr 25px;
}
.project-info h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.project-info p {
  font-family: var(--sans);
}
.project-tags {
  font-size: 9px;
}
.orbital {
  margin: 0;
  opacity: 0.8;
}
.orbital figcaption {
  border: 0;
  max-width: 260px;
  align-self: center;
  flex-direction: column;
  gap: 3px;
  margin-top: 0;
  padding-top: 0;
  font-size: 9px;
  text-transform: none;
}
.orbital svg {
  max-height: 430px;
}
.exploring h2 {
  font-family: var(--sans);
  font-size: 26px;
}
.explore-panel p {
  font-family: var(--sans);
  font-size: 16px;
}
.footer-top {
  padding: 0;
  align-items: center;
  gap: 20px;
}
.footer-signature {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.footer-signature span {
  font-size: 11px;
  color: var(--dim);
}
.footer-bottom {
  margin-top: 25px;
  border-top: none;
}
.socials {
  gap: 20px;
  font-size: 11px;
}
.footer {
  padding-top: 48px;
}
.page-intro h1 {
  font-size: 55px;
  font-family: var(--sans);
  letter-spacing: -1.8px;
}
.page-intro p {
  font-size: 16px;
}
.article-head h1 {
  font-family: var(--sans);
  font-size: 52px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.025em;
  max-width: 900px;
}
.article-head {
  max-width: 960px;
  padding-top: 45px;
}
.article-description {
  font-size: 16px;
}
.reading-layout {
  grid-template-columns: 190px minmax(0, 740px);
  gap: 70px;
  justify-content: start;
}
.prose {
  font-family: var(--sans);
  color: var(--text);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: normal;
  max-width: 68ch;
  min-width: 0;
}
.prose h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 26px;
}
.prose h3 {
  font-family: var(--sans);
  font-size: 21px;
  line-height: 1.5;
  font-weight: 400;
  margin: 28px 0 14px;
  color: var(--text);
}
.prose a {
  overflow-wrap: anywhere;
}
.prose table {
  width: 100%;
  display: block;
  overflow: auto;
  font-family: var(--sans);
  font-size: 13px;
  margin: 25px 0;
}
.prose th,
.prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
.prose th {
  color: var(--text);
  font-weight: 500;
}
.prose img {
  max-width: 100%;
  height: auto;
}
.prose div[data-rehype-pretty-code-fragment] {
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  overflow: hidden;
}
.prose div[data-rehype-pretty-code-fragment] pre {
  padding: 20px;
  background: var(--surface) !important;
  border-radius: 0;
  overflow: auto;
  font-size: 12px;
  line-height: 1.8;
}
.prose div[data-rehype-pretty-code-fragment] code {
  background: none;
  display: grid;
}
.prose div[data-rehype-pretty-code-fragment] .line {
  border: 0;
  padding: 0;
  min-height: 1.8em;
  white-space: pre;
}
.prose div[data-rehype-pretty-code-fragment] .line:before {
  display: none;
}
.prose .code-head {
  font: 10px var(--mono);
}
.prose p code,
.prose li code {
  font-family: var(--mono);
  font-size: 12px;
  padding: 3px 5px;
  background: var(--surface) !important;
  color: var(--text) !important;
}
.prose blockquote {
  font-family: var(--sans);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  background: var(--surface);
  padding: 22px;
  font-size: 18px;
}
.prose blockquote p:last-child {
  margin: 0;
}
.prose hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.toc {
  font-family: var(--sans);
  max-height: calc(100vh - 160px);
  overflow: auto;
}
.toc nav {
  gap: 12px;
}
.toc a {
  font-size: 11px;
  line-height: 1.6;
}
.article-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.article-tags a {
  font: 9px var(--mono);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 11px;
  color: var(--muted);
}
.article-tags a:hover {
  color: var(--accent);
  border-color: var(--muted);
}
.legacy-page {
  padding-top: 50px;
  min-height: 50vh;
}
.legacy-page h1 {
  font: 48px var(--sans);
  letter-spacing: -1.5px;
  margin-bottom: 35px;
}
.legacy-page h2 {
  font-weight: 400;
}
.legacy-page p {
  color: var(--muted);
}
.legacy-page .text-white {
  color: var(--text);
}
.legacy-page a {
  color: var(--accent);
}
.notfound {
  min-height: 50vh;
  padding-top: 80px;
}
.note-date {
  font: 10px var(--mono);
  color: var(--dim);
}
@media (max-width: 1000px) {
  .hero h1 {
    font-size: 55px;
  }
  .hero {
    gap: 15px;
  }
  .reading-layout {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 40px;
  }
  .article-head h1 {
    font-size: 48px;
  }
}
@media (max-width: 760px) {
  .hero {
    padding-top: 48px;
    display: block;
  }
  .hero h1 {
    font-size: 45px;
    letter-spacing: -1.5px;
    line-height: 1.14;
  }
  .hero-description {
    font-size: 14px;
    max-width: 420px;
  }
  .orbital {
    width: min(340px, 100%);
    margin: 20px auto 0;
    max-height: 310px;
  }
  .orbital svg {
    max-height: 280px;
  }
  .orbital figcaption {
    align-self: flex-start;
    margin: 0 0 0 18px;
    font-size: 8px;
  }
  .section-head h2 {
    font-size: 9px;
  }
  .home-writing {
    padding-top: 35px;
  }
  .post-row {
    grid-template-columns: 1fr 20px;
    padding: 21px 0;
  }
  .post-title {
    font-size: 21px;
  }
  .post-description {
    -webkit-line-clamp: 3;
    font-size: 13px;
  }
  .footer-top {
    display: block;
  }
  .footer-signature {
    gap: 13px;
    flex-wrap: wrap;
  }
  .footer-signature span {
    font-size: 10px;
  }
  .socials {
    margin-top: 22px;
  }
  .footer-bottom {
    font-size: 8px;
  }
  .page-intro h1 {
    font-size: 42px;
  }
  .reading-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .article-head h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }
  .prose {
    font-size: 15px;
  }
  .prose h2 {
    font-size: 23px;
  }
  .prose h3 {
    font-size: 19px;
  }
  .article-description {
    font-size: 15px;
  }
  .desktop-break {
    display: none;
  }
  .legacy-page h1 {
    font-size: 38px;
  }
  .project-grid {
    gap: 30px;
  }
  .exploring h2 {
    font-size: 24px;
  }
  .dialog-foot {
    font-size: 9px;
  }
  .hero-links .button {
    font-size: 11px;
    gap: 15px;
  }
}
.article-cover {
  margin-top: 28px;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.toc-sub {
  padding-left: 10px;
}
.prose strong {
  font-weight: 600;
}
.prose h4 {
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
}
.prose pre code {
  white-space: pre;
}
.prose .code-head {
  color: #91969c;
  border-color: #32363b;
  background: #1b1e22;
}
.code-head .copy-code {
  color: #b7bdb8;
}
.code-head .copy-code:hover {
  color: #ecebe6;
}
:root[data-theme="light"] .prose div[data-rehype-pretty-code-fragment] pre {
  background: #1b1e22 !important;
}
:root[data-theme="light"] .prose div[data-rehype-pretty-code-fragment] pre code {
  color: #ecebe6;
}
.note-card h2 {
  font-family: var(--sans);
}
.legacy-page h1,
.legacy-page h2 {
  line-height: 1.3;
}
.legacy-page > div {
  max-width: 900px;
}
.legacy-page > div#search {
  max-width: none;
}
#search {
  padding-bottom: 30px;
}
#main-content > h1 {
  margin: 50px 0 30px;
  font-size: 40px;
}

/* Keep Tailwind's typography palette aligned with both reading themes. */
.reading-layout .prose {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  --tw-prose-body: var(--text);
  --tw-prose-headings: var(--text);
  --tw-prose-lead: var(--muted);
  --tw-prose-links: var(--text);
  --tw-prose-bold: var(--text);
  --tw-prose-counters: var(--muted);
  --tw-prose-bullets: var(--muted);
  --tw-prose-hr: var(--line);
  --tw-prose-quotes: var(--text);
  --tw-prose-quote-borders: var(--line);
  --tw-prose-captions: var(--muted);
  --tw-prose-code: var(--text);
  --tw-prose-th-borders: var(--line);
  --tw-prose-td-borders: var(--line);
}

/* Readability pass: clear text hierarchy without changing the approved composition. */
.nav a,
.text-link {
  font-size: 14px;
}
.section-head h2,
.post-date,
.tagline,
.project-tags,
.note-date,
.article-tags a,
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.035em;
}
.article-meta {
  font-size: 12px;
  line-height: 1.7;
}
.toc a {
  font-size: 13px;
  line-height: 1.55;
}
.toc summary {
  font-size: 12px;
}
.project-info p,
.note-card p {
  font-size: 16px;
  line-height: 1.7;
}
.hero-links .button,
.footer-bottom,
.socials {
  font-size: 12px;
}
.footer-signature span {
  font-size: 12px;
}
.prose h2,
.prose h3 {
  font-weight: 500;
  letter-spacing: -0.015em;
}
.reading-layout .prose div[data-rehype-pretty-code-fragment] pre {
  font-size: 13px;
}
.prose p code,
.prose li code {
  font-size: 0.82em;
}
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(36px, 10.6vw, 45px);
    letter-spacing: -0.025em;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.7;
  }
  .post-title {
    font-size: 21px;
    line-height: 1.4;
  }
  .post-description {
    font-size: 15px;
    line-height: 1.65;
  }
  .article-head h1 {
    font-size: 36px;
    letter-spacing: -0.02em;
  }
  .reading-layout .prose {
    font-size: 17px;
    line-height: 1.75;
  }
  .article-description {
    font-size: 16px;
    line-height: 1.7;
  }
}

.result-count,
.project-count,
.code-head {
  font-size: 12px;
}

/* Keep the publication context visible without interrupting the reading column. */
.article-source {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.article-source a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 2rem 0; }
.prose figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.prose figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }
