/* Lonely Gnome: warm paper, workshop brass, and the teal of the original mark. */
:root {
  color-scheme: light;
  --paper: #f4efe6;
  --paper-deep: #ebe3d5;
  --ink: #292c25;
  --muted: #63685b;
  --line: #cfcbbd;
  --accent: #a64424;
  --forest: #22382f;
  --forest-light: #b5c4b2;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%238f806a' opacity='.35' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { background: #d5deca; color: #1f3028; }
img, svg { max-width: 100%; display: block; }
.arrow-icon { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; flex-shrink: 0; }
.note-arrow .arrow-icon { width: 24px; height: 24px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: 1.08; }
h1 { font-size: clamp(48px, 5.8vw, 78px); }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-weight: 500; line-height: 1.3; }
em { font-weight: inherit; }
hr { border: 0; border-top: 1px solid var(--line); }
.wrap { width: min(1184px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow { font: 11px/1.65 var(--mono); font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.orange { color: var(--accent); }
.muted { color: var(--muted); }
.small-note { color: var(--muted); font: 12px/1.6 var(--mono); }
.mono-caption { color: var(--muted); font: 11px/1.5 var(--mono); letter-spacing: .07em; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 12px 18px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 8px; }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 112px; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font: 23px/1.1 var(--serif); letter-spacing: -.045em; }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 50%; border: 1px solid #927452; width: 48px; height: 48px; }
.brand-sub { display: block; margin-top: 7px; font: 9px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .11em; color: var(--muted); }
.site-nav { display: flex; gap: 32px; align-items: center; }
.site-nav a { position: relative; padding-block: 8px; text-decoration: none; font-size: 13px; }
.site-nav a[aria-current] { color: var(--accent); }
.site-nav a[aria-current]::after { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); position: absolute; bottom: -2px; left: calc(50% - 2px); }
.menu-button { background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 9px 13px; cursor: pointer; font-size: 13px; }
.hero { padding-block: 76px 80px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: center; gap: 70px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.tiny-cross { font-size: 22px; line-height: 1; }
.hero h1 { font-size: clamp(50px, 5.9vw, 80px); line-height: 1.04; letter-spacing: -.055em; }
.hero h1 em { color: var(--accent); }
.hero-intro { margin-top: 28px; max-width: 45ch; color: var(--muted); font-size: 15px; line-height: 1.8; }
.actions { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; gap: 24px; justify-content: space-between; align-items: center; padding: 13px 18px; background: var(--accent); border: 1px solid var(--accent); color: #fff7e9; font-size: 12px; font-weight: 500; text-decoration: none; transition: background .2s; }
.button:hover { background: #83361f; color: #fff7e9; }
.text-link { display: inline-flex; gap: 18px; align-items: center; font-size: 12px; font-weight: 500; text-decoration: none; padding-block: 7px; border-bottom: 1px solid currentColor; width: fit-content; }
.text-link span { font-size: 17px; line-height: 1; }
.control-diagram { position: relative; color: var(--paper); background: var(--forest); padding: 25px 24px 23px; box-shadow: 9px 9px 0 #dcd7c9; transform: rotate(1.2deg); }
.control-diagram::before { content: ''; position: absolute; top: -9px; left: 42%; width: 78px; height: 19px; transform: rotate(-5deg); background: #c9ba95; opacity: .75; }
.diagram-label { display: flex; justify-content: space-between; align-items: center; font: 9px/1.4 var(--mono); letter-spacing: .1em; color: #b5c4b2; padding-bottom: 14px; border-bottom: 1px solid #526054; }
.diagram-dot { width: 6px; height: 6px; background: #dfab7e; border-radius: 50%; }
.control-diagram svg { width: 100%; height: auto; margin-block: 13px 0; }
.control-diagram figcaption { padding-top: 17px; border-top: 1px solid #526054; color: #e7e8d9; font-size: 12px; line-height: 1.7; }
.control-diagram figcaption span { color: var(--forest-light); font-size: 10px; }
.principles-strip { border-block: 1px solid var(--line); }
.principles-strip .wrap { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; }
.principles-strip span { color: var(--muted); font: 10px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.principles-strip span::before { content: '＋'; color: var(--accent); margin-right: 12px; }
.section { padding-block: 85px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading > .text-link { flex-shrink: 0; margin-bottom: 4px; }
.heading-copy { max-width: 35ch; color: var(--muted); font-size: 14px; }
.notes-list { border-top: 1px solid var(--line); }
.note-row { position: relative; display: grid; grid-template-columns: 66px 1fr 48px; align-items: start; gap: 12px; padding-block: 33px; border-bottom: 1px solid var(--line); }
.note-number { padding-top: 3px; font: 13px/1.5 var(--mono); color: var(--muted); }
.note-content h3 { margin-block: 9px 12px; font: 400 clamp(25px, 2.7vw, 36px)/1.16 var(--serif); letter-spacing: -.035em; }
.note-content h3 a { text-decoration: none; }
.note-content h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.note-content > p:last-child { color: var(--muted); max-width: 61ch; font-size: 14px; line-height: 1.7; }
.note-arrow { text-align: right; margin-top: 21px; font-size: 27px; font-weight: 300; text-decoration: none; }
.project-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; padding: 56px; background: var(--paper-deep); border: 1px solid #d8cfbe; }
.project-intro h2 { margin-block: 18px 23px; }
.project-intro p:not(.eyebrow) { max-width: 40ch; font-size: 14px; color: var(--muted); }
.project-intro .text-link { margin-top: 20px; }
.project-detail { align-self: center; }
.project-detail dl { margin: 20px 0; }
.project-detail dl div { display: grid; grid-template-columns: 92px 1fr; gap: 15px; border-top: 1px solid #c8c2b4; padding-block: 21px; }
.project-detail dt { font: 12px/1.7 var(--mono); color: var(--accent); }
.project-detail dd { margin: 0; font-size: 13px; }
.lab-strip { display: grid; grid-template-columns: .55fr 1.15fr 1fr; gap: 30px; align-items: start; padding-block: 70px; border-bottom: 1px solid var(--line); }
.lab-strip h2 { font-size: 32px; letter-spacing: -.04em; }
.lab-strip .eyebrow { padding-top: 6px; }
.lab-strip p { color: var(--muted); font-size: 14px; }
.lab-strip .text-link { margin-top: 15px; }
.about-strip { display: grid; grid-template-columns: 80px 1fr auto; gap: 30px; align-items: center; padding-block: 55px 80px; }
.about-strip img { border-radius: 50%; border: 1px solid #927452; }
.about-strip .eyebrow { margin-bottom: 7px; }
.about-strip div > p:last-child { max-width: 45ch; font-size: 17px; }
.site-footer { color: #efe8d8; background: #293329; }
.footer-top { display: flex; gap: 35px; justify-content: space-between; align-items: center; padding-block: 38px; border-bottom: 1px solid #50594b; }
.footer-wordmark { color: #efe8d8; text-decoration: none; font: 30px/1.15 var(--serif); letter-spacing: -.055em; }
.footer-wordmark .orange { color: #df9564; }
.footer-top > p { color: #bcc5b3; font-size: 12px; }
.footer-top a:hover, .footer-bottom a:hover { color: #e3b08b; }
.footer-bottom { padding-block: 23px 28px; display: flex; justify-content: space-between; gap: 20px; color: #bcc5b3; font-size: 10px; }
.footer-bottom > div { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }
.footer-bottom .arrow-icon { width: 10px; height: 10px; }
.page-intro { padding-block: 76px 66px; }
.page-intro > .eyebrow, .page-intro > div > .eyebrow { margin-bottom: 21px; }
.page-intro h1 em { color: var(--accent); }
.page-intro > p:not(.eyebrow) { max-width: 53ch; font-size: 17px; color: var(--muted); margin-top: 26px; }
.writing-layout { display: grid; grid-template-columns: 270px 1fr; gap: 65px; padding-bottom: 85px; }
.writing-aside { border-top: 1px solid var(--line); padding-top: 30px; }
.writing-aside h2 { font-size: 30px; margin-block: 16px; }
.writing-aside p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-bottom: 25px; }
.writing-layout .note-row { grid-template-columns: 32px 1fr 32px; }
.reading-context { border-top: 1px solid var(--line); padding-block: 45px 70px; }
.reading-context h2 { font-size: 32px; margin-block: 14px 16px; }
.project-page-intro { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 65px; }
.large-lead { font: 30px/1.28 var(--serif); letter-spacing: -.03em; margin-top: 25px; }
.project-page-intro .intro-side { font-size: 15px !important; margin: 0 0 4px !important; }
.pipeline-section { padding-block: 55px; background: var(--forest); color: var(--paper); }
.pipeline-section .eyebrow { color: #d5a27c; }
.pipeline-section h2 { font-size: 38px; }
.pipeline-section .mono-caption { color: #b7c3ae; }
.pipeline { display: grid; grid-template-columns: repeat(7, 1fr); gap: 17px; margin: 40px 0 30px; padding: 0; list-style: none; }
.pipeline li { position: relative; min-width: 0; }
.pipeline li:not(:last-child)::after { content: ''; height: 1px; background: #647663; position: absolute; left: 43px; right: -17px; top: 18px; }
.flow-marker { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #a1b39a; border-radius: 50%; color: #dce3cf; margin-bottom: 22px; font: 10px/1 var(--mono); }
.human-step .flow-marker { border-color: #d8a17b; color: #e5ba98; border-radius: 2px; background: #453a2c; }
.pipeline .eyebrow { font-size: 9px; letter-spacing: .07em; color: #b7c3ae; }
.pipeline .human-step .eyebrow { color: #e0ab82; }
.pipeline h3 { font: 25px/1.2 var(--serif); margin-block: 7px 10px; }
.pipeline p { color: #bdc8b5; font-size: 12px; }
.workflow-note { max-width: 87ch; font-size: 11px; color: #bdc8b5; border-top: 1px solid #52634f; padding-top: 22px; }
.table-scroll { overflow-x: auto; }
.contract-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; text-align: left; }
.contract-table th, .contract-table td { padding: 21px 24px 21px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.contract-table thead th { font: 10px/1.5 var(--mono); color: var(--accent); letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid var(--line); }
.contract-table tbody th { width: 20%; font-weight: 500; }
.contract-table tbody td { color: var(--muted); }
.contract-table th:last-child, .contract-table td:last-child { padding-right: 0; }
.principle-section { padding-block: 0 80px; }
.principle-section blockquote { font: 40px/1.22 var(--serif); letter-spacing: -.04em; margin: 22px 0 36px; }
.principle-section blockquote em { color: var(--accent); }
.principle-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.principle-columns > div { border-top: 1px solid var(--line); padding-top: 20px; }
.principle-columns h3 { font-size: 15px; margin-bottom: 12px; }
.principle-columns p { font-size: 13px; color: var(--muted); }
.lab-panel { background: var(--paper-deep); border-block: 1px solid #d8cfbe; }
.lab-panel-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; padding-block: 60px; }
.lab-panel h2 { margin-block: 18px 25px; }
.lab-panel p:not(.eyebrow) { font-size: 14px; color: var(--muted); max-width: 43ch; }
.lab-capabilities { margin: 0; align-self: center; }
.lab-capabilities > div { padding-block: 18px; border-bottom: 1px solid #c8c2b4; }
.lab-capabilities dt { color: var(--accent); font: 11px/1.5 var(--mono); margin-bottom: 6px; }
.lab-capabilities dd { font-size: 14px; margin: 0; }
.about-intro { display: grid; grid-template-columns: 1fr 230px; gap: 70px; align-items: center; }
.about-intro h1 { font-size: clamp(46px, 5.5vw, 72px); }
.about-intro p:not(.eyebrow) { color: var(--muted); margin-top: 25px; }
.about-logo { border-radius: 50%; border: 1px solid #927452; }
.about-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 65px; padding-bottom: 60px; }
.about-body aside { border-top: 1px solid var(--line); padding-top: 24px; }
.side-note { margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.prose { max-width: 700px; color: #3e4338; font-size: 18px; line-height: 1.85; }
.prose > p { margin-bottom: 24px; }
.prose h2 { color: var(--ink); font-size: 33px; margin-block: 48px 22px; letter-spacing: -.04em; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--accent); }
.prose ul { padding-left: 22px; margin-block: 0 28px; }
.prose li { padding-left: 6px; margin-bottom: 21px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { font: .82em var(--mono); background: #e6e1d7; padding: 3px 5px; border-radius: 3px; overflow-wrap: anywhere; }
.contact-panel { padding: 38px; background: var(--paper-deep); border: 1px solid #d8cfbe; display: flex; gap: 35px; align-items: center; justify-content: space-between; margin-block: 0 80px; }
.contact-panel h2 { font-size: 32px; margin-block: 12px 17px; }
.contact-panel p:not(.eyebrow) { color: var(--muted); font-size: 14px; max-width: 52ch; }
.contact-panel .button { flex-shrink: 0; }
.article-header { max-width: 900px; padding-block: 42px 45px; }
.back-link { text-decoration: none; font-size: 12px; color: var(--muted); display: inline-block; padding-block: 5px; margin-bottom: 40px; }
.article-header > .eyebrow { margin-bottom: 20px; }
.article-header h1 { max-width: 16ch; font-size: clamp(44px, 5.7vw, 74px); }
.article-deck { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 54ch; margin-top: 24px; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; font-size: 12px; }
.article-byline img { border-radius: 50%; border: 1px solid #927452; }
.article-date { padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.article-layout { border-top: 1px solid var(--line); padding-top: 40px; display: grid; grid-template-columns: 230px minmax(0, 700px); gap: 65px; }
.article-aside { align-self: start; position: sticky; top: 30px; }
.article-aside ol { list-style: none; padding: 0; margin: 18px 0 24px; }
.article-aside li { margin-bottom: 12px; font-size: 12px; line-height: 1.5; }
.article-aside a { color: var(--muted); text-decoration: none; }
.article-aside a:hover { color: var(--accent); }
.copy-link { background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--accent); cursor: pointer; padding-inline: 0; }
.copy-status { display: block; color: var(--muted); margin-top: 10px; font-size: 11px; }
.source-note { font-size: 12px; padding: 14px 18px; border-left: 2px solid var(--accent); background: #ece6d9; color: var(--muted); line-height: 1.6; }
.article-signoff { border-top: 1px solid var(--line); padding-block: 27px; margin-top: 45px; font-size: 14px; line-height: 1.7; }
.article-signoff p:not(.eyebrow) { margin-block: 12px; }
.next-note { margin-block: 35px 80px; padding-block: 25px; border-block: 1px solid var(--line); }
.next-note > a { display: flex; gap: 30px; justify-content: space-between; font: 30px/1.25 var(--serif); letter-spacing: -.03em; margin-top: 12px; text-decoration: none; }
.not-found { padding-block: 90px 120px; }
.not-found h1 { margin-block: 20px 30px; }
.not-found > p:not(.eyebrow) { max-width: 50ch; color: var(--muted); }
.anatomy-section { padding-top: 0; }
.lab-panel .text-link { margin-top: 22px; }
/* Stormforge: the layer stack */
.stack-section { padding-block: 60px; background: var(--forest); color: var(--paper); }
.stack-section .eyebrow { color: #d5a27c; }
.stack-section h2 { font-size: 38px; }
.stack-section .mono-caption { color: #b7c3ae; }
.stack { list-style: none; margin: 40px 0 28px; padding: 0; border-top: 1px solid #52634f; }
.stack li { display: grid; grid-template-columns: 60px 190px 1fr 1fr; gap: 24px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid #52634f; }
.stack .layer-no { font: 10px/1.5 var(--mono); color: #a1b39a; letter-spacing: .08em; }
.stack h3 { font: 25px/1.2 var(--serif); letter-spacing: -.03em; }
.stack p { font-size: 13px; color: #bdc8b5; }
.stack .layer-why { color: #e7e8d9; }
.stack .human-layer .layer-no, .stack .human-layer h3 { color: #e5ba98; }
.stack-note { max-width: 87ch; font-size: 11px; color: #bdc8b5; }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
.status-grid h3 { font: 11px/1.5 var(--mono); color: var(--accent); letter-spacing: .1em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.status-grid ul { list-style: none; margin: 0; padding: 0; }
.status-grid li { padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.status-grid li span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
/* Lab log */
.log-section { padding-bottom: 85px; }
.log-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.log-entry { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; padding-block: 34px; border-bottom: 1px solid var(--line); }
.log-entry time { font: 12px/1.7 var(--mono); color: var(--muted); padding-top: 4px; }
.log-entry h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; margin-block: 8px 12px; }
.log-entry p:not(.eyebrow) { max-width: 64ch; color: var(--muted); font-size: 15px; }
.log-entry p + p { margin-top: 12px; }
.log-entry a { color: var(--accent); }
@media (min-width: 1400px) { .hero { gap: 100px; } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 45px; }
  .hero h1 { font-size: 64px; }
  .hero .eyebrow { font-size: 9px; }
  .actions { gap: 18px; }
  .project-feature { gap: 45px; padding: 38px; }
  .lab-strip { grid-template-columns: .6fr 1fr 1fr; }
  .writing-layout, .about-body { grid-template-columns: 220px 1fr; gap: 40px; }
  .article-layout { grid-template-columns: 190px 1fr; gap: 35px; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .pipeline { gap: 12px; }
  .pipeline li:not(:last-child)::after { right: -12px; }
  .stack li { grid-template-columns: 50px 160px 1fr; }
  .stack .layer-why { grid-column: 3; }
  .status-grid { gap: 40px; }
}
@media (max-width: 780px) {
  .site-nav { gap: 16px; }
  .stack li { grid-template-columns: 44px 1fr; gap: 6px 14px; }
  .stack li > :not(.layer-no) { grid-column: 2; }
  .status-grid { grid-template-columns: 1fr; }
  .log-entry { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 780px) {
  .wrap { width: calc(100% - 44px); }
  .site-header { min-height: 94px; }
  .site-nav { gap: 20px; }
  .brand { font-size: 21px; }
  .brand img { width: 41px; height: 41px; }
  .brand-sub { font-size: 8px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 25px; padding-block: 55px; }
  .hero h1 { font-size: 49px; }
  .hero .eyebrow { display: block; font-size: 9px; }
  .tiny-cross { display: none; }
  .hero-intro { font-size: 13px; }
  .control-diagram { padding: 18px 16px; }
  .diagram-label { font-size: 8px; }
  .control-diagram figcaption { font-size: 11px; }
  .control-diagram figcaption span { font-size: 9px; }
  .principles-strip span { font-size: 8px; letter-spacing: .02em; }
  .principles-strip span::before { margin-right: 6px; }
  .section { padding-block: 60px; }
  .section-heading { gap: 20px; }
  .note-row { grid-template-columns: 40px 1fr 30px; }
  .project-feature { padding: 30px; gap: 25px; }
  .project-detail dl div { grid-template-columns: 1fr; gap: 7px; }
  .lab-strip { grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 45px; }
  .lab-strip > .eyebrow { grid-column: 1 / -1; }
  .about-strip { grid-template-columns: 60px 1fr; gap: 20px; padding-block: 40px 55px; }
  .about-strip img { width: 60px; height: 60px; }
  .about-strip > .text-link { grid-column: 2; }
  .footer-top { flex-wrap: wrap; gap: 15px; }
  .footer-top > p { order: 3; flex-basis: 100%; }
  .footer-bottom { flex-direction: column; }
  .writing-layout, .about-body { grid-template-columns: 1fr; gap: 30px; padding-bottom: 50px; }
  .writing-aside { display: none; }
  .project-page-intro { grid-template-columns: 1fr; gap: 25px; }
  .project-page-intro .intro-side { max-width: 55ch; }
  .pipeline { grid-template-columns: 1fr; margin-block: 30px; gap: 0; }
  .pipeline li { padding: 0 0 28px 60px; min-height: 95px; }
  .flow-marker { position: absolute; left: 0; top: 0; margin: 0; }
  .pipeline li:not(:last-child)::after { height: auto; width: 1px; left: 18px; top: 42px; bottom: 5px; right: auto; }
  .pipeline li:last-child { padding-bottom: 0; min-height: auto; }
  .pipeline h3 { font-size: 25px; margin-block: 3px 5px; }
  .pipeline p { font-size: 13px; }
  .pipeline-section .section-heading { display: block; }
  .pipeline-section .mono-caption { display: block; margin-top: 18px; }
  .heading-copy { max-width: 35ch; }
  .principle-columns { gap: 20px; }
  .lab-panel-inner { gap: 40px; }
  .about-intro { grid-template-columns: 1fr 145px; gap: 25px; }
  .about-intro h1 { font-size: 48px; }
  .about-body aside { display: none; }
  .article-layout { grid-template-columns: 1fr; padding-top: 30px; }
  .article-aside { position: static; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .article-aside nav { display: none; }
  .article-header { padding-bottom: 30px; }
  .article-header h1 { font-size: 56px; }
  .article-header .back-link { margin-bottom: 30px; }
  .prose { max-width: none; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { position: relative; flex-wrap: wrap; gap: 0; padding-block: 19px; min-height: 85px; }
  .brand { gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .site-nav { flex-basis: 100%; justify-content: space-between; padding-top: 18px; gap: 15px; }
  .site-nav a { font-size: 12px; }
  .js .menu-button:not([hidden]) { display: inline-flex; gap: 15px; align-items: center; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 44px; padding-block: 42px 48px; }
  .hero h1 { font-size: clamp(47px, 11.5vw, 65px); }
  .hero .eyebrow { font-size: 9px; margin-bottom: 20px; }
  .hero-intro { font-size: 14px; margin-top: 24px; }
  .actions { gap: 20px; }
  .button { font-size: 12px; padding: 12px 16px; }
  .control-diagram { width: calc(100% - 12px); max-width: 390px; justify-self: center; transform: rotate(.7deg); padding: 22px; }
  .diagram-label { font-size: 9px; }
  .control-diagram figcaption { font-size: 12px; }
  .control-diagram figcaption span { font-size: 10px; }
  .principles-strip .wrap { flex-direction: column; gap: 10px; padding-block: 18px; }
  .principles-strip span { font-size: 9px; letter-spacing: .06em; }
  .principles-strip span::before { margin-right: 12px; }
  .section { padding-block: 48px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > .text-link { margin-top: 20px; }
  .section-heading .heading-copy { margin-top: 20px; }
  h2 { font-size: 35px; }
  .note-row, .writing-layout .note-row { grid-template-columns: 24px 1fr 20px; gap: 10px; padding-block: 27px; }
  .note-number { font-size: 10px; }
  .note-content .eyebrow { font-size: 8px; letter-spacing: .08em; }
  .note-content h3 { font-size: 26px; }
  .note-content > p:last-child { font-size: 13px; }
  .note-arrow { font-size: 22px; margin-top: 25px; }
  .project-feature { grid-template-columns: 1fr; padding: 28px 24px; gap: 30px; }
  .project-intro h2 { font-size: 42px; }
  .project-detail dl div { grid-template-columns: 75px 1fr; padding-block: 17px; }
  .lab-strip { grid-template-columns: 1fr; gap: 20px; }
  .lab-strip h2 { font-size: 33px; }
  .about-strip { align-items: start; gap: 18px; }
  .about-strip div > p:last-child { font-size: 15px; }
  .about-strip .eyebrow { font-size: 9px; }
  .footer-top { padding-block: 30px; }
  .footer-wordmark { font-size: 28px; }
  .footer-bottom { font-size: 10px; }
  .footer-bottom > div { gap: 12px 20px; }
  .page-intro { padding-block: 45px 38px; }
  .page-intro h1 { font-size: 49px; }
  .page-intro > p:not(.eyebrow) { font-size: 15px; margin-top: 20px; }
  .page-intro > .eyebrow { font-size: 9px; }
  .reading-context { padding-block: 30px 45px; }
  .reading-context h2 { font-size: 29px; }
  .project-page-intro h1 { font-size: 48px; }
  .large-lead { font-size: 28px; }
  .pipeline-section { padding-block: 40px; }
  .pipeline-section h2 { font-size: 33px; }
  .contract-table { min-width: 580px; font-size: 13px; }
  .principle-section { padding-bottom: 45px; }
  .principle-section blockquote { font-size: 32px; margin-inline: 0; }
  .principle-columns { grid-template-columns: 1fr; gap: 25px; }
  .principle-columns p { font-size: 14px; }
  .lab-panel-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 42px; }
  .about-intro { grid-template-columns: 1fr; gap: 28px; }
  .about-logo { width: 125px; height: 125px; }
  .prose { font-size: 17px; line-height: 1.85; }
  .prose h2 { font-size: 29px; margin-block: 35px 18px; }
  .contact-panel { padding: 28px 24px; gap: 25px; margin-bottom: 45px; }
  .contact-panel h2 { font-size: 31px; }
  .contact-panel .button { max-width: 100%; gap: 12px; }
  .article-header { padding-top: 28px; }
  .article-header h1 { font-size: 47px; }
  .article-deck { font-size: 17px; margin-top: 20px; }
  .article-header .eyebrow { font-size: 10px; }
  .article-byline { gap: 9px; font-size: 11px; }
  .article-date { width: 100%; border-left: 0; padding-left: 0; margin-left: 47px; font-size: 10px; }
  .next-note { margin-block: 20px 45px; }
  .next-note > a { font-size: 26px; }
  .not-found { padding-block: 55px 75px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .article-aside, .next-note, .back-link, .article-signoff { display: none; }
  .wrap { width: 100%; }
  .article-layout { display: block; border: 0; padding-top: 0; }
  .article-header { padding-top: 0; }
  .article-header h1 { font-size: 34pt; }
  .prose { font-size: 11pt; max-width: none; }
  h2 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}
