:root {
  color-scheme: light;
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  background: #f4f2ee;
  color: #0b0b0a;
  --paper: #f4f2ee;
  --paper-deep: #eceae5;
  --ink: #0b0b0a;
  --muted: #686763;
  --soft: #8b8983;
  --line: #d4d1ca;
  --accent: #ff5a1f;
  --accent-dark: #d9430f;
  --blue: #397fc1;
  --surface: #fffefa;
  --max-width: 1440px;
  --page-gutter: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(255, 90, 31, .5);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  width: min(100%, var(--max-width));
  min-height: 78px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}
.brand strong {
  overflow: hidden;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.065em;
  text-overflow: ellipsis;
}
.brand-rule { width: clamp(28px, 8vw, 150px); height: 1px; background: #aaa79f; }
.brand small { overflow: hidden; color: var(--muted); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(17px, 3vw, 42px); }
.primary-nav a {
  position: relative;
  padding: 28px 0 25px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--accent-dark); }
.primary-nav a[aria-current="page"]::after { position: absolute; bottom: 17px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); content: ""; transform: translateX(-50%); }
.header-actions { display: flex; justify-content: flex-end; }
.subscribe-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  transition: background .18s ease;
}
.subscribe-link:hover { background: var(--accent-dark); }
.site-main { width: min(100%, var(--max-width)); margin: 0 auto; padding: 0 var(--page-gutter) 70px; }
.hero {
  display: grid;
  min-height: clamp(510px, 53vw, 680px);
  grid-template-columns: 1.02fr .98fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 72px) clamp(20px, 4vw, 58px) clamp(42px, 5vw, 66px) 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font: 500 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero-kicker { margin-bottom: 12px; color: #45443f; letter-spacing: .28em; }
.hero-kicker span { color: var(--accent); }
.hero h1 {
  max-width: 100%;
  margin: 0 0 4px -8px;
  font-size: clamp(64px, 9.2vw, 136px);
  font-weight: 800;
  letter-spacing: -.09em;
  line-height: .92;
  overflow-wrap: anywhere;
}
.hero-title {
  margin: 18px 0 12px;
  padding-left: 22px;
  border-left: 5px solid var(--accent);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1.25;
}
.hero-statement { max-width: 490px; margin: 7px 0 0; padding-left: 27px; color: #56544f; font-size: clamp(14px, 1.25vw, 17px); line-height: 1.9; }
.hero-now { display: flex; align-items: flex-start; gap: 9px; margin: 15px 0 0 27px; color: #4d4b46; font-size: 12px; line-height: 1.65; }
.hero-now i { width: 7px; height: 7px; flex: 0 0 7px; margin-top: 5px; border-radius: 50%; background: var(--accent); }
.hero-now > span:nth-child(2) { color: var(--accent-dark); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.hero-directions { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 13px 0 0 27px; color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero-directions span + span::before { margin-right: 10px; color: var(--accent); content: "/"; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin: 24px 0 0 27px; }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 19px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 13px; font-weight: 650; text-decoration: none; }
.text-link:hover { color: var(--accent-dark); }
.text-link span, .card-arrow, .project-row-arrow { transition: transform .18s ease; }
.text-link:hover span, .card-arrow:hover, .project-row-arrow:hover { transform: translateX(4px); }
.hero-visual { position: relative; min-height: 440px; overflow: hidden; background: #293440; }
.hero-visual > img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.hero-vertical-label { position: absolute; top: 28px; right: 24px; display: flex; flex-direction: column; gap: 5px; color: rgba(255,255,255,.9); font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.hero-vertical-label i, .hero-orange-note i { width: 23px; height: 1px; margin-top: 9px; background: currentColor; }
.hero-orange-note { position: absolute; right: 0; bottom: 0; display: flex; width: clamp(92px, 11vw, 132px); min-height: 176px; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 20px 15px; background: var(--accent); color: #17120f; font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; }
.hero-orange-note strong { font-weight: 600; }
.hero-orange-note i { color: #17120f; }
.content-section { padding: 36px 0 48px; border-bottom: 1px solid var(--line); }
.notes-section { display: grid; grid-template-columns: minmax(145px, .73fr) minmax(0, 2.8fr); gap: clamp(20px, 4vw, 58px); }
.editorial-intro { align-self: start; padding: 5px 0 0; }
.section-mark { display: block; width: 11px; height: 11px; margin-bottom: 13px; background: var(--accent); }
.editorial-intro .eyebrow, .tools-intro .eyebrow { margin-bottom: 10px; color: #3c3b37; letter-spacing: .12em; }
.editorial-intro h2, .tools-intro h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); font-weight: 750; letter-spacing: -.055em; line-height: 1.13; }
.section-description { max-width: 250px; margin: 17px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.note-cards-wrap { min-width: 0; }
.note-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 2.4vw, 34px); margin: 0; padding: 0; list-style: none; }
.note-card { position: relative; min-width: 0; padding: 0 0 8px; }
.note-card + .note-card { padding-left: clamp(12px, 1.7vw, 25px); border-left: 1px solid var(--line); }
.note-card-cover { display: block; width: 100%; aspect-ratio: 1.58; margin-bottom: 13px; background-color: #d9d5cc; background-position: center; background-size: cover; }
.note-card--1 .note-card-cover, .note-row--1 .note-row-cover { background-image: url("cover-mountain.28ab767d6687.svg"); }
.note-card--2 .note-card-cover, .note-row--2 .note-row-cover { background-image: url("cover-code.25cc2f80a957.svg"); }
.note-card--3 .note-card-cover, .note-row--3 .note-row-cover { background-image: url("cover-city.7132bbd9acdb.svg"); }
.note-card:nth-child(3n+1) .note-card-cover, .note-row:nth-child(3n+1) .note-row-cover { background-image: url("cover-mountain.28ab767d6687.svg"); }
.note-card:nth-child(3n+2) .note-card-cover, .note-row:nth-child(3n+2) .note-row-cover { background-image: url("cover-code.25cc2f80a957.svg"); }
.note-card:nth-child(3n) .note-card-cover, .note-row:nth-child(3n) .note-row-cover { background-image: url("cover-city.7132bbd9acdb.svg"); }
.note-card-meta, .note-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; color: var(--soft); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.note-card h3 { margin: 8px 0 7px; font-size: clamp(15px, 1.35vw, 18px); font-weight: 700; letter-spacing: -.035em; line-height: 1.45; }
.note-card h3 a, .note-row-copy h2 a { color: var(--ink); text-decoration: none; }
.note-card h3 a:hover, .note-row-copy h2 a:hover { color: var(--accent-dark); }
.note-card > p, .note-row-copy > p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.card-arrow { display: inline-flex; margin-top: 10px; color: var(--ink); font-size: 20px; text-decoration: none; }
.projects-showcase { display: grid; min-height: 335px; grid-template-columns: 1.08fr .95fr; margin: 0 calc(var(--page-gutter) * -1); border-bottom: 1px solid var(--line); }
.projects-feature-panel { position: relative; min-height: 335px; overflow: hidden; background: #101213; color: white; }
.projects-feature-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.projects-feature-panel::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,11,.95), rgba(8,10,11,.3)); content: ""; }
.projects-feature-copy { position: relative; z-index: 1; max-width: 400px; padding: clamp(35px, 5vw, 62px) var(--page-gutter); }
.projects-feature-copy .eyebrow { color: rgba(255,255,255,.76); }
.projects-feature-copy .section-mark { display: inline-block; width: 10px; height: 10px; margin: 0 8px 0 0; vertical-align: -1px; }
.projects-feature-copy h2 { margin: 16px 0 11px; font-size: clamp(30px, 3.3vw, 42px); letter-spacing: -.05em; }
.projects-feature-copy > p:not(.eyebrow) { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.8; }
.text-link-light { margin-top: 15px; color: white; }
.text-link-light:hover { color: #ff9c70; }
.project-index { position: absolute; z-index: 1; top: 30px; right: 9%; display: flex; flex-direction: column; gap: 13px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.48); color: rgba(255,255,255,.8); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.project-feature-list { align-self: center; margin: 0; padding: 12px clamp(20px, 4vw, 56px); list-style: none; }
.project-feature-row { display: grid; grid-template-columns: 44px minmax(0,1fr) auto 18px; align-items: center; gap: 14px; min-height: 90px; border-bottom: 1px solid var(--line); }
.project-feature-row:last-child { border-bottom: 0; }
.project-row-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 19px; }
.project-row-copy { min-width: 0; }
.project-row-copy h3 { margin: 0; font-size: 15px; font-weight: 700; }
.project-row-copy h3 a { color: var(--ink); text-decoration: none; }
.project-row-copy h3 a:hover { color: var(--accent-dark); }
.project-row-copy p { overflow: hidden; margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.project-row-status { color: var(--soft); font-size: 10px; white-space: nowrap; }
.project-row-arrow { color: var(--ink); font-size: 19px; text-decoration: none; }
.tools-showcase { display: grid; grid-template-columns: minmax(180px, .9fr) minmax(250px, 1fr) minmax(180px, .8fr); align-items: stretch; gap: 20px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.tools-intro { align-self: center; }
.tool-card { display: flex; min-height: 150px; align-items: center; gap: 17px; padding: 22px; background: #ebe9e4; color: var(--ink); text-decoration: none; transition: background .2s ease, transform .2s ease; }
.tool-card:hover { transform: translateY(-3px); background: #e2dfd8; }
.tool-card-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid #aaa69e; font-size: 25px; }
.tool-card-copy { display: flex; flex: 1; flex-direction: column; gap: 6px; }
.tool-card-copy strong { font-size: 17px; }
.tool-card-copy small { color: var(--accent-dark); font-size: 11px; }
.tool-card-copy > span { color: var(--muted); font-size: 11px; line-height: 1.65; }
.tool-card-arrow { align-self: flex-end; font-size: 20px; }
.tools-visual { position: relative; min-height: 150px; overflow: hidden; background: var(--blue); }
.tools-visual img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.tools-visual > span { position: absolute; top: 18px; right: 13px; color: #fff; font: 10px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.tools-directory { margin: 0 0 70px; border-top: 1px solid var(--line); }
.tools-directory-heading { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); }
.tools-directory-heading h2 { margin: 0; font-size: 13px; font-weight: 600; }
.tools-directory-heading > span { color: var(--soft); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.tool-directory-card { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 360px; margin-top: 22px; border: 1px solid var(--line); background: var(--surface); }
.tool-directory-visual { position: relative; min-height: 360px; overflow: hidden; background: #334352; }
.tool-directory-visual img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.tool-directory-visual > span { position: absolute; top: 20px; right: 18px; color: white; font: 10px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.tool-directory-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 5vw, 64px); }
.tool-directory-copy .eyebrow { margin-bottom: 12px; }
.tool-directory-copy h2 { margin: 0; font-size: clamp(30px, 3.3vw, 42px); font-weight: 750; letter-spacing: -.055em; }
.tool-directory-copy > p:not(.eyebrow) { max-width: 470px; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 24px; padding: 0; list-style: none; }
.tool-tags li { padding: 6px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.tool-directory-index { position: absolute; top: 17px; left: calc(52.5% + 20px); color: #fff; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }

.site-footer { width: min(100%, var(--max-width)); margin: 0 auto; padding: 27px var(--page-gutter) 20px; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(250px, 1.5fr); align-items: center; gap: 25px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; gap: 3px; color: inherit; text-decoration: none; }
.footer-brand strong { color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.05em; }
.footer-brand span { font-size: 11px; }
.footer-motto { margin: 0; color: var(--ink); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 19px; }
.footer-links a, .footer-bottom a { color: var(--ink); font-size: 11px; text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--accent-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 12px; color: var(--soft); font-size: 10px; }

/* Shared content pages */
.page-intro { padding: clamp(58px, 9vw, 118px) 0 52px; }
.page-intro .eyebrow { margin-bottom: 20px; }
.page-intro h1 { max-width: 900px; margin: 0; font-size: clamp(42px, 6.5vw, 76px); font-weight: 760; letter-spacing: -.075em; line-height: 1.03; }
.page-intro > p:not(.eyebrow) { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.notes-intro { max-width: 900px; padding-bottom: 44px; }
.notes-intro h1 { font-size: clamp(34px, 5vw, 60px); }
.rss-link, .about-links a { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--ink); font-size: 12px; font-weight: 650; text-decoration: none; }
.rss-link:hover, .about-links a:hover { color: var(--accent-dark); }
.series-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.series-filter a { padding: 7px 11px; color: var(--muted); font-size: 11px; text-decoration: none; }
.series-filter a.is-active, .series-filter a:hover { background: var(--ink); color: white; }
.series-filter a span { margin-left: 5px; color: inherit; opacity: .7; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.note-series-link { display: inline-block; margin-top: 8px; color: var(--accent-dark); font-size: 11px; text-decoration: none; }
.note-series-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.note-tags { display: flex; flex-wrap: wrap; gap: 6px 13px; margin: 10px 0 0; padding: 0; color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; list-style: none; }
.note-tags li + li::before { margin-right: 12px; color: var(--accent); content: "/"; }
.notes-index { padding-bottom: 40px; }
.notes-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.notes-list-grid .note-row { min-width: 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.note-row-cover { display: block; width: 100%; aspect-ratio: 1.9; margin-bottom: 15px; background-color: #ddd9d1; background-position: center; background-size: cover; }
.note-row-copy { position: relative; padding-right: 10px; }
.note-row-meta { justify-content: space-between; margin-bottom: 9px; }
.note-row-copy h2 { margin: 0; font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: -.04em; line-height: 1.4; }
.note-row-copy > p { max-width: 620px; margin-top: 8px; }
.note-row-copy .card-arrow { margin-top: 9px; }
.project-list-section { border-top: 1px solid var(--line); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.project-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20,18,14,.1); }
.project-card-link { display: block; color: inherit; text-decoration: none; }
.project-cover { display: block; width: 100%; height: clamp(190px, 25vw, 340px); object-fit: cover; background: #dad6ce; }
.project-cover-empty { display: grid; place-items: center; background: url("project-dark.8f8e71b27fb6.svg") center / cover; color: white; }
.project-cover-empty span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.5); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; }
.project-card-body { position: relative; padding: 22px 24px 24px; }
.project-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.project-card h3 { margin: 14px 30px 7px 0; font-size: 23px; letter-spacing: -.045em; }
.project-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.project-card-arrow { position: absolute; right: 24px; bottom: 27px; color: var(--ink); font-size: 20px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 19px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 6px 9px; background: #eceae4; color: #4f4d48; font-size: 10px; }
.tag-list-compact { margin-top: 15px; padding-right: 28px; }
.status { display: inline-flex; align-items: center; padding: 5px 9px; background: #e9e7e0; color: #494741; font: 600 10px sans-serif; }
.status-development, .status-running { background: #e6efe8; color: #315d3c; }
.status-paused { background: #f3eadb; color: #795b25; }
.status-completed { background: #e4ebf1; color: #3e5a70; }
.status-failed { background: #f4e4df; color: #8b3d2b; }
.note-article { max-width: 880px; margin: 0 auto; padding: 45px 0 90px; }
.note-back, .back-link { display: inline-flex; margin: 0 0 38px; color: var(--muted); font-size: 12px; text-decoration: none; }
.note-back:hover, .back-link:hover { color: var(--accent-dark); }
.note-header { max-width: 760px; margin: 0 auto; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.note-header .eyebrow { margin-bottom: 14px; }
.note-header h1 { margin: 0; font-size: clamp(36px, 6vw, 66px); font-weight: 760; letter-spacing: -.065em; line-height: 1.15; }
.note-excerpt { margin: 17px 0 0; color: #5c5a55; font-size: 18px; line-height: 1.8; }
.note-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 17px; margin-top: 19px; color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.note-meta .note-tags, .note-meta .note-series-link { margin: 0; }
.note-reading-layout { display: flow-root; margin-top: 0; }
.note-reading-main { max-width: 760px; margin: 0 auto; }
.note-toc { max-width: 760px; margin: 0 auto 25px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note-toc .eyebrow { margin: 0 0 10px; }
.note-toc .toc ul { margin: 0; padding: 0; list-style: none; }
.note-toc .toc ul ul { margin: 5px 0 2px 5px; padding-left: 14px; border-left: 1px solid var(--line); }
.note-toc .toc li { margin: 6px 0; }
.note-toc .toc a { color: var(--muted); font-size: 12px; text-decoration: none; }
.note-toc .toc a:hover { color: var(--accent-dark); }
.article-body { padding-top: 28px; color: #34332f; font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.article-body h2, .article-body h3, .article-body h4 { margin: 1.8em 0 .65em; color: var(--ink); font-weight: 750; letter-spacing: -.035em; line-height: 1.4; }
.article-body h2 { font-size: 28px; }
.article-body h3 { font-size: 22px; }
.article-body h4 { font-size: 18px; }
.article-body p { margin: 0 0 1.25em; }
.article-body a { color: var(--accent-dark); text-decoration-color: rgba(217,67,15,.4); text-underline-offset: 3px; }
.article-body blockquote { margin: 1.5em 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--accent); color: #68645d; }
.article-body ul, .article-body ol { margin: 0 0 1.25em; padding-left: 1.5em; }
.article-body li { padding-left: .2em; }
.article-body code { padding: .14em .38em; background: #e8e5de; color: #8d371a; font: .88em ui-monospace, SFMono-Regular, Menlo, monospace; }
.article-body pre { overflow-x: auto; margin: 1.5em 0; padding: 20px 22px; background: #161819; color: #f3efe8; line-height: 1.7; }
.article-body pre code { padding: 0; background: transparent; color: inherit; }
.article-body table { width: 100%; margin: 1.5em 0; border-collapse: collapse; font-size: 14px; }
.article-body th, .article-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.article-body th { color: var(--ink); }
.article-body img { max-width: 100%; height: auto; }
.note-end { display: flex; align-items: center; justify-content: space-between; margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.note-end span { color: var(--accent); font-size: 18px; font-weight: 800; }
.note-end a { color: inherit; text-decoration: none; }
.note-end a:hover { color: var(--accent-dark); }
.project-detail { padding-bottom: 70px; }
.project-hero { padding: 0 0 46px; }
.project-hero h1 { margin: 20px 0 0; font-size: clamp(44px, 7.5vw, 90px); letter-spacing: -.075em; line-height: 1.05; }
.detail-summary { max-width: 760px; color: #5c5a55; font-size: 19px; line-height: 1.7; }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.detail-cover { margin: 0 0 55px; }
.detail-cover img { display: block; width: 100%; max-height: 600px; object-fit: cover; background: #ddd9d1; }
.detail-cover figcaption { margin-top: 10px; color: var(--muted); font-size: 11px; }
.detail-columns { display: grid; grid-template-columns: minmax(0,1fr) 220px; gap: 60px; }
.detail-section { padding: 0 0 42px; }
.detail-section h2, .detail-aside h2 { margin: 0; font-size: 25px; letter-spacing: -.045em; }
.detail-section .eyebrow { margin-bottom: 9px; }
.prose { color: #4f4d48; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.detail-aside { align-self: start; padding-left: 23px; border-left: 1px solid var(--line); }
.detail-aside h2 { margin-bottom: 16px; font-size: 15px; }
.detail-aside .status { margin: 0 0 12px; }
.detail-aside .muted { color: var(--muted); font-size: 11px; }
.log-section { padding-top: 35px; border-top: 1px solid var(--line); }
.timeline { margin: 26px 0; padding: 0; list-style: none; }
.timeline li { position: relative; margin-left: 5px; padding: 0 0 30px 25px; border-left: 1px solid var(--line); }
.timeline li::before { position: absolute; top: 5px; left: -5px; width: 8px; height: 8px; border: 2px solid var(--paper); border-radius: 50%; background: var(--accent); content: ""; }
.timeline time { color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.timeline h3 { margin: 8px 0; font-size: 16px; }
.about-content { max-width: 800px; padding: 0 0 90px; }
.about-content .section-mark { margin-bottom: 18px; }
.about-content .article-body { padding-top: 0; }
.about-tags { margin-top: 24px; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.about-links a { margin: 0; }
.empty-note { padding: 28px 0; color: var(--muted); font-size: 14px; }

@media (min-width: 1200px) {
  .note-toc { position: sticky; float: left; top: 28px; width: clamp(120px, calc(50vw - 450px), 180px); max-height: calc(100vh - 56px); overflow: auto; margin: 0 0 0 calc(440px - 50vw); padding: 4px 0 0 13px; border: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; row-gap: 0; }
  .brand { grid-column: 1; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 26px; overflow-x: auto; }
  .primary-nav a { padding: 0 0 13px; }
  .primary-nav a[aria-current="page"]::after { bottom: 5px; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .hero h1 { font-size: clamp(64px, 10vw, 108px); }
  .notes-section { grid-template-columns: minmax(130px,.65fr) minmax(0,2.4fr); }
  .tools-showcase { grid-template-columns: minmax(160px,.8fr) minmax(240px,1.2fr); }
  .tools-visual { display: none; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 22px; }
  .site-header { min-height: 66px; padding-top: 8px; grid-template-columns: minmax(0,1fr) auto; }
  .brand { gap: 8px; }
  .brand-mark { width: 23px; height: 23px; flex-basis: 23px; }
  .brand strong { font-size: 19px; }
  .brand-rule { display: none; }
  .brand small { display: none; }
  .primary-nav { gap: 22px; }
  .primary-nav a { font-size: 12px; }
  .subscribe-link { min-height: 35px; padding: 0 12px; font-size: 11px; }
  .site-main { padding-bottom: 45px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 52px 0 42px; }
  .hero h1 { margin-left: -4px; font-size: clamp(64px, 15vw, 98px); }
  .hero-title { font-size: clamp(24px, 6vw, 34px); }
  .hero-statement, .hero-now, .hero-directions, .hero-actions { margin-left: 18px; padding-left: 0; }
  .hero-now { margin-left: 18px; }
  .hero-visual { min-height: 360px; max-height: 480px; }
  .hero-visual > img { min-height: 360px; }
  .hero-orange-note { min-height: 130px; }
  .notes-section { grid-template-columns: 1fr; gap: 25px; }
  .editorial-intro { display: grid; grid-template-columns: 12px auto 1fr; align-items: center; column-gap: 10px; }
  .editorial-intro .section-mark { margin: 0; }
  .editorial-intro .eyebrow { margin: 0; }
  .editorial-intro h2 { grid-column: 1 / 2; grid-row: 3 / 5; font-size: 28px; }
  .editorial-intro .section-description { grid-column: 2 / 4; max-width: 100%; margin: 6px 0; }
  .editorial-intro .text-link { grid-column: 2 / 4; }
  .note-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .note-card + .note-card { padding-left: 0; border-left: 0; }
  .note-card:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .note-card-cover { aspect-ratio: 1.4; }
  .note-card h3 { font-size: 15px; }
  .projects-showcase { grid-template-columns: 1fr; }
  .projects-feature-panel { min-height: 290px; }
  .projects-feature-copy { padding: 36px var(--page-gutter); }
  .project-feature-list { padding: 10px var(--page-gutter); }
  .project-feature-row { grid-template-columns: 38px minmax(0,1fr) auto 18px; gap: 9px; min-height: 82px; }
  .project-row-status { display: none; }
  .tools-showcase { grid-template-columns: 1fr; gap: 18px; }
  .tool-directory-card { grid-template-columns: 1fr; }
  .tool-directory-visual, .tool-directory-visual img { min-height: 230px; max-height: 300px; }
  .tool-directory-copy { padding: 28px 22px 30px; }
  .tool-directory-index { top: 16px; left: auto; right: 18px; color: #fff; }
  .tools-intro { display: grid; grid-template-columns: 12px auto 1fr; align-items: center; column-gap: 10px; }
  .tools-intro .section-mark { margin: 0; }
  .tools-intro .eyebrow { margin: 0; }
  .tools-intro h2 { grid-column: 1 / -1; margin-top: 8px; font-size: 28px; }
  .tools-intro .section-description { grid-column: 1 / -1; max-width: none; margin: 6px 0 8px; }
  .tools-intro .text-link { grid-column: 1 / -1; }
  .tool-card { min-height: 125px; }
  .footer-top { grid-template-columns: 1fr auto; gap: 16px; }
  .footer-motto { display: none; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
  .page-intro { padding: 65px 0 36px; }
  .page-intro h1 { font-size: clamp(38px, 10vw, 58px); }
  .notes-intro h1 { font-size: clamp(34px, 9vw, 48px); }
  .notes-list-grid { grid-template-columns: 1fr; gap: 22px; }
  .note-row-cover { aspect-ratio: 1.9; }
  .project-grid { grid-template-columns: 1fr; gap: 17px; }
  .project-cover { height: 230px; }
  .note-article { padding-top: 32px; }
  .note-back, .back-link { margin-bottom: 25px; }
  .note-header h1 { font-size: clamp(34px, 9vw, 48px); }
  .note-excerpt { font-size: 16px; }
  .article-body { font-size: 15px; }
  .detail-columns { grid-template-columns: 1fr; gap: 15px; }
  .detail-aside { padding: 19px 0; border-top: 1px solid var(--line); border-left: 0; }
  .detail-cover { margin-bottom: 38px; }
  .site-footer { padding-top: 20px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  :root { --page-gutter: 16px; }
  .site-header { padding-right: 16px; padding-left: 16px; }
  .primary-nav { gap: 17px; }
  .primary-nav a { font-size: 11px; }
  .header-actions .subscribe-link { gap: 7px; padding: 0 9px; }
  .hero-copy { padding-top: 43px; }
  .hero-kicker { font-size: 9px; }
  .hero h1 { font-size: clamp(56px, 15vw, 76px); }
  .hero-title { padding-left: 14px; border-left-width: 4px; }
  .hero-actions { gap: 16px; }
  .note-cards { grid-template-columns: 1fr; }
  .note-card:nth-child(even) { padding-left: 0; border-left: 0; }
  .note-card-cover { aspect-ratio: 1.85; }
  .project-feature-row { grid-template-columns: 32px minmax(0,1fr) 16px; }
  .project-row-copy p { white-space: normal; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
