/* Capitalism Killed Software — restart, 2026-09.
   Black and white only. Dark by default. Source Serif 4 speaks, Inter works, JetBrains Mono labels. */
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/source-serif-4-400-normal.woff2) format('woff2')}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/source-serif-4-400-italic.woff2) format('woff2')}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/source-serif-4-600-normal.woff2) format('woff2')}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:600;font-display:swap;src:url(/fonts/source-serif-4-600-italic.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-400-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/inter-500-normal.woff2) format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/jetbrains-mono-400-normal.woff2) format('woff2')}

:root{
  --paper:#ffffff; --ink:#000000; --muted:#6b6b6b; --muted-2:#4a4a4a; --line:#e5e5e5; --soft:#f2f2f2; --card:#fafafa;
  --shadow:0 12px 24px rgba(0,0,0,.06);
  --band:#000000; --band-ink:#ffffff; --band-muted:#a3a3a3; --band-faint:#a3a3a3; --band-line:#262626;
  --max:1180px;
  /* the sticky pill's lower edge: the gap above the header, its padding, the 48px pill */
  --pill-bottom:calc(12px + 12px + 48px);
  /* a section on the opposite ground to the page, and the pill's colours while it passes over one */
  --invert-bg:#000000; --invert-ink:#e5e5e5; --invert-muted:#a3a3a3; --invert-line:#262626;
  --pill-over-bg:#fff; --pill-over-fg:#000; --pill-over-toggle:#ddd;
  --serif:'Source Serif 4',Georgia,'Times New Roman',serif;
  --sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){--paper:#000000;--ink:#e5e5e5;--muted:#a3a3a3;--muted-2:#c7c7c7;--line:#262626;--soft:#0d0d0d;--card:#0d0d0d;--shadow:0 12px 24px rgba(0,0,0,.45);--invert-bg:#ffffff;--invert-ink:#000000;--invert-muted:#6b6b6b;--invert-line:#e5e5e5;--pill-over-bg:#000;--pill-over-fg:#fff;--pill-over-toggle:#444;color-scheme:dark}
}
:root[data-theme="dark"]{--paper:#000000;--ink:#e5e5e5;--muted:#a3a3a3;--muted-2:#c7c7c7;--line:#262626;--soft:#0d0d0d;--card:#0d0d0d;--shadow:0 12px 24px rgba(0,0,0,.45);--invert-bg:#ffffff;--invert-ink:#000000;--invert-muted:#6b6b6b;--invert-line:#e5e5e5;--pill-over-bg:#000;--pill-over-fg:#fff;--pill-over-toggle:#444;color-scheme:dark}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased;transition:background .25s ease,color .25s ease}
@media (prefers-reduced-motion: reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto}}
a{color:inherit;text-decoration:none}
p a,li a,.quote-alt a,.contact-links a,.footer-mail{text-decoration:underline;text-underline-offset:3px}
.footer-links a,.row,.word,.more,.brand,.btn{text-decoration:none}
img{max-width:100%;height:auto}
.container{width:min(calc(100% - 48px),var(--max));margin:0 auto}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--ink);color:var(--paper);padding:8px 12px;z-index:100}
.skip-link:focus{left:8px}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
/* an anchored section lands below the sticky pill instead of behind it */
:target{scroll-margin-top:calc(var(--pill-bottom) + 24px)}
h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.02em;text-wrap:balance;margin:0}

/* buttons: pills */
.btn{display:inline-flex;align-items:center;gap:10px;border:1px solid currentColor;border-radius:999px;padding:12px 18px;font-family:var(--sans);font-size:14px;font-weight:500;line-height:1;text-decoration:none;background:transparent;color:inherit;transition:.2s ease;cursor:pointer}
.btn:hover{opacity:.85}
.btn-solid{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.btn-ghost{background:transparent;color:inherit;border-color:currentColor}
.btn-light{background:#fff;color:#000;border-color:#fff}

/* header: the pill */
.site-header{position:sticky;top:12px;z-index:30;padding:12px 0 0;pointer-events:none}
.site-header .pill{pointer-events:auto;width:min(calc(100% - 24px),var(--max));margin:0 auto;background:#fff;color:#000;border-radius:999px;padding:9px 10px 9px 16px;display:flex;align-items:center;gap:18px;box-shadow:0 8px 24px rgba(0,0,0,.18);transition:width .45s cubic-bezier(.2,.7,.2,1),padding .3s ease,background .3s ease,color .3s ease,box-shadow .3s ease}
.site-header.scrolled .pill{width:min(calc(100% - 24px),920px);padding:7px 8px 7px 14px}
.site-header.over-light .pill{background:var(--pill-over-bg,#000);color:var(--pill-over-fg,#fff);box-shadow:0 8px 24px rgba(0,0,0,.25)}
.site-header.over-light .btn-solid{background:var(--pill-over-fg,#fff);color:var(--pill-over-bg,#000);border-color:var(--pill-over-fg,#fff)}
.site-header.over-light .mode-toggle{border-color:var(--pill-over-toggle,#444);color:var(--pill-over-fg,#fff)}
.site-header.over-light .nav-toggle{color:var(--pill-over-fg,#fff)}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.brand .mark{width:26px;height:26px;display:block}
.brand .wordmark{font-weight:500;font-size:15px;letter-spacing:-.01em}
.site-header .nav{display:flex;gap:18px;margin-left:auto;font-size:14px;font-weight:500}
.site-header .nav a{text-decoration:none;color:inherit;opacity:.85}
.site-header .nav a:hover,.site-header .nav a.active{opacity:1}
.header-tools{display:flex;align-items:center;gap:8px}
.site-header .btn{padding:9px 14px;font-size:13px}
.site-header .btn-solid{background:#000;color:#fff;border-color:#000}
.mode-toggle{background:none;border:1px solid #ddd;color:#000;border-radius:999px;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;font-size:16px;cursor:pointer}
.glyph-sun{display:none}
:root[data-theme="dark"] .glyph-moon{display:none}
:root[data-theme="dark"] .glyph-sun{display:block}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .glyph-moon{display:none}:root:not([data-theme="light"]) .glyph-sun{display:block}}
.nav-toggle{display:none;background:none;border:0;color:#000;font-size:20px;cursor:pointer;margin-left:auto}
@media (max-width:760px){
  /* the header keeps its closed height in the flow, so the open nav lays over the page instead of
     pushing it down: the 8px gap above the pill, its 8px padding, the 34px control and 8px below */
  :root{--pill-bottom:calc(8px + 8px + 48px)}
  .site-header{top:8px;padding-top:8px;height:calc(8px + 8px + 34px + 8px)}
  .site-header .pill{padding:8px 8px 8px 12px;gap:10px;flex-wrap:wrap}
  .nav-toggle{display:inline-flex}
  .site-header .nav{display:none;width:100%;flex-direction:column;gap:0;margin:4px 0 0;border-top:1px solid #eee;padding-top:6px}
  .site-header .nav.open{display:flex}
  /* open, the pill squares off to a card: a 999px radius on a box this tall is a blob that curves into the links */
  .site-header.nav-open .pill{border-radius:25px}
  .site-header.over-light .nav{border-top-color:var(--pill-over-toggle,#444)}
  .site-header .nav a{padding:10px 6px}
  .site-header .nav{order:3}
  .header-tools{margin-left:0}
  .site-header .btn{padding:8px 12px}
}

/* icons and section rhythm (inner pages) */
.icon{width:36px;height:36px;display:block;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.icon-sm{width:28px;height:28px}
.section{padding:72px 0}
.section-sm{padding:42px 0}
.section-dark{background:var(--band);color:var(--band-ink)}
.arrow{font-size:16px;line-height:1;transition:transform .2s ease}

/* footer. One quiet block: the invitation and the form on the left, the links on the right, the sign-off on one
   line beneath. The field is a rule, not a box, and the button is a word on a rule: the footer keeps to hairlines */
.site-footer{border-top:1px solid var(--line);padding:56px 0 44px;font-size:14px}
body.home .site-footer{border-top-color:var(--home-footer-line)}
.footer-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px 64px;align-items:start}
.footer-nl{max-width:460px}
.footer-nl-title{font-family:var(--serif);font-size:24px;line-height:1.2;letter-spacing:-.015em;color:var(--ink);margin:0}
.footer-nl-fine{margin:8px 0 0;color:var(--muted);text-wrap:pretty}
.subscribe{display:flex;align-items:flex-end;gap:24px;margin-top:22px}
.subscribe input{flex:1;min-width:0;border:0;border-bottom:1px solid var(--muted);border-radius:0;background:transparent;color:var(--ink);padding:8px 0;font:inherit;font-size:16px;line-height:1.4;outline-offset:4px}
.subscribe input::placeholder{color:var(--muted)}
.subscribe input:focus{border-bottom-color:var(--ink)}
.subscribe button{border:0;border-bottom:1px solid var(--ink);border-radius:0;background:none;color:var(--ink);padding:8px 0;font:500 15px/1.4 var(--sans);cursor:pointer;outline-offset:4px}
.subscribe button:hover{opacity:.7}
.footer-links{display:flex;gap:22px;flex-wrap:wrap;justify-content:flex-end;padding-top:6px}
/* a page that carries its own signup above the footer leaves the footer its links alone */
.footer-main:has(> .footer-links:only-child){grid-template-columns:1fr}
.footer-main > .footer-links:only-child{justify-content:flex-start;padding-top:0}
.footer-links a{text-decoration:none;color:var(--muted)}
.footer-links a:hover{color:var(--ink)}
.footer-bottom{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:56px;color:var(--muted)}
.footer-note{margin:0}
.footer-mail{margin-left:auto;color:var(--muted);text-decoration:none}
.footer-mail:hover{color:var(--ink)}
@media (max-width:760px){
  .site-footer{padding:40px 0 36px}
  .footer-main{grid-template-columns:1fr;gap:28px}
  .footer-links{justify-content:flex-start;gap:6px 18px;padding-top:0} .footer-links a{display:inline-block;padding:5px 0}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:10px;margin-top:36px}
  .footer-mail{margin-left:0}
}

/* HOME — dark: constant dark, one light section. Light: the mirror, constant light with one dark section.
   Every colour the home uses lives in a variable here; the defaults are the dark page. */
body.home{--paper:#000000;--ink:#e5e5e5;--muted:#a3a3a3;--muted-2:#c7c7c7;--line:#262626;--soft:#0d0d0d;--card:#0d0d0d;color-scheme:dark;
  --home-bg:#000;--home-fg:#fff;--home-body:#e5e5e5;--home-muted:#a3a3a3;--home-footer-line:#1a1a1a;
  --belief-bg:#fff;--belief-ink:#1a1a1a;--belief-h:#000;--belief-span:#c4c4c4;--belief-shadow:rgba(0,0,0,.45);
  --band-filter:none;--pill-over-bg:#000;--pill-over-fg:#fff;--pill-over-toggle:#444}
:root[data-theme="light"] body.home{
  --paper:#ffffff;--ink:#000000;--muted:#6b6b6b;--muted-2:#4a4a4a;--line:#e5e5e5;--soft:#f2f2f2;--card:#fafafa;color-scheme:light;
  --home-bg:#fff;--home-fg:#000;--home-body:#1a1a1a;--home-muted:#6b6b6b;--home-footer-line:#e5e5e5;
  --belief-bg:#000;--belief-ink:#e5e5e5;--belief-h:#fff;--belief-span:#555;--belief-shadow:rgba(0,0,0,.18);
  --band-filter:invert(1);--pill-over-bg:#fff;--pill-over-fg:#000;--pill-over-toggle:#ddd}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]) body.home{
  --paper:#ffffff;--ink:#000000;--muted:#6b6b6b;--muted-2:#4a4a4a;--line:#e5e5e5;--soft:#f2f2f2;--card:#fafafa;color-scheme:light;
  --home-bg:#fff;--home-fg:#000;--home-body:#1a1a1a;--home-muted:#6b6b6b;--home-footer-line:#e5e5e5;
  --belief-bg:#000;--belief-ink:#e5e5e5;--belief-h:#fff;--belief-span:#555;--belief-shadow:rgba(0,0,0,.18);
  --band-filter:invert(1);--pill-over-bg:#fff;--pill-over-fg:#000;--pill-over-toggle:#ddd}}
.hero{padding:64px 0 56px}
.hero-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:40px;align-items:center}
.hero-mark{color:var(--home-fg);max-width:340px}
.hero-mark svg{width:100%;height:auto;display:block}
.hero h1{font-size:clamp(40px,6vw,76px);line-height:1.02;color:var(--home-fg);margin:0 0 10px}
.belief h2 a{color:inherit;text-decoration:none;border-bottom:2px solid var(--belief-h)}
.lede{font-size:18px;line-height:1.5;max-width:52ch;margin:0 0 22px;color:var(--home-body,#e5e5e5)}
.btns{display:flex;gap:10px;flex-wrap:wrap}
.hero .btns .btn-solid{background:var(--home-fg);color:var(--home-bg);border-color:var(--home-fg)}
.hero .btns .btn-ghost{color:var(--home-fg);border-color:var(--home-fg)}

.words{padding:56px 0 20px}
.word{display:grid;grid-template-columns:minmax(260px,1fr) 1.3fr;gap:40px;align-items:center;padding:28px 0;border-top:1px solid var(--line);text-decoration:none;color:inherit;position:relative}
.word:last-child{border-bottom:1px solid var(--line)}
.word .d{transition:color .3s ease,transform .4s cubic-bezier(.2,.7,.2,1)}
.word:hover .d{color:var(--home-fg);transform:translateX(6px)}
.word .w{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.word:hover .w{transform:translateX(10px)}
.word .w{font-family:var(--serif);font-size:clamp(56px,9vw,120px);line-height:1;letter-spacing:-.03em;color:var(--home-fg)}
.word .d{font-size:18px;line-height:1.5;max-width:44ch;color:var(--home-body)}

.band{margin:56px 0 0;position:relative;overflow:hidden;aspect-ratio:1920/620}
.band img{position:absolute;inset:-8% 0;width:100%;height:116%;object-fit:cover;object-position:50% 50%;filter:var(--band-filter,none)}
.band::before,.band::after{content:'';position:absolute;left:0;right:0;height:22%;z-index:1;pointer-events:none}
.band::before{top:0;background:linear-gradient(var(--home-bg,#000),transparent)}
.band::after{bottom:0;background:linear-gradient(transparent,var(--home-bg,#000))}

.belief{background:var(--belief-bg);color:var(--belief-ink);padding:96px 0 104px;border-radius:36px 36px 0 0;margin-top:-40px;position:relative;z-index:2;box-shadow:0 -24px 60px var(--belief-shadow)}
.belief h2 span{display:inline-block}
.belief h2{font-size:clamp(32px,4.5vw,60px);line-height:1.08;color:var(--belief-h);max-width:24ch;margin:0 0 22px;text-wrap:pretty}
.belief h2 .line{display:block}
.belief p{max-width:58ch;font-size:18px;margin:0 0 14px}
.belief p:last-child{margin-bottom:0}

.latest{padding:80px 0 40px}
.latest .rows{margin-top:14px}
.row{display:grid;grid-template-columns:170px 1fr 40px;gap:20px;padding:20px 0;border-top:1px solid var(--line);align-items:baseline;text-decoration:none;color:inherit}
.row .arrow{transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.row:hover .arrow{transform:translateX(8px);color:var(--home-fg,#fff)}
.row:last-child{border-bottom:1px solid var(--line)}
.row .d{font-family:var(--serif);font-size:15px;color:var(--muted)}
.row .t{font-family:var(--serif);font-size:22px;line-height:1.3;color:var(--home-fg,#fff)}
.row .arrow{color:var(--muted)}
.row:hover .t{text-decoration:underline;text-underline-offset:6px}
.latest .more{display:inline-block;margin-top:18px;font-size:15px;color:var(--muted);text-decoration:none}
.latest .more:hover{color:var(--ink)}
/* the home's writings block: three equal cards of date and title, heading and link on one line */
.latest-home .latest-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px}
.latest-home .latest-head .more{margin:0}
.latest-home .rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:26px}
.latest-home .row{display:flex;flex-direction:column;gap:10px;border:0;padding:0}
.latest-home .row:hover .t{text-decoration:underline;text-underline-offset:5px}
.latest-home .row .t{font-size:21px;line-height:1.3}
@media (max-width:760px){.latest-home .rows{grid-template-columns:1fr;gap:24px}}

/* the closing block sits on the grid like every other section: the question left, the buttons right, bottoms level */
.contact{padding:72px 0 80px}
.contact .container{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 64px;align-items:end}
.contact h2{font-size:clamp(28px,3.4vw,40px);line-height:1.1;color:var(--home-fg,#fff);margin:0}
.contact .lede{margin:12px 0 0;max-width:40ch;font-size:18px;color:var(--home-muted,#a3a3a3);text-wrap:pretty}
.contact .actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
/* the home page closes on the signup instead: the same grid, the form where the buttons would be */
.subscribe-cta .subscribe{width:min(100%,440px);margin-top:0}
.contact .actions .btn-solid{background:var(--home-fg,#fff);color:var(--home-bg,#000);border-color:var(--home-fg,#fff)}
.contact .actions .btn-ghost{color:var(--home-fg,#fff);border-color:var(--home-fg,#fff)}

@media (max-width:760px){
  .hero{padding:28px 0 32px}
  .hero-grid{grid-template-columns:1fr;gap:18px}
  .hero-mark{max-width:120px}
  .hero h1{font-size:38px}
  .lede{font-size:16px;margin:0 0 16px}
  .words{padding:24px 0 10px}
  .word{grid-template-columns:1fr;gap:6px;padding:16px 0}
  .word .w{font-size:52px}
  .word .d{font-size:15.5px;max-width:none}
  .band img{aspect-ratio:4/3}
  .belief{padding:48px 0} .belief h2{font-size:32px}
  .latest{padding:40px 0}
  .row{grid-template-columns:1fr;gap:6px;padding:16px 0} .row .t{font-size:19px} .row .arrow{display:none}
  /* tap targets grow on a phone */
  .contact{padding:44px 0 52px} .contact .container{display:block} .contact h2{font-size:28px} .contact .lede{font-size:16px;max-width:none}
  .contact .actions{flex-direction:column;align-items:stretch;margin-top:22px} .contact .actions .btn{justify-content:center}
}

/* QUOTE */
.quote{padding:56px 0 80px}
.quote-inner{max-width:640px}
.quote h1{font-size:clamp(34px,5vw,54px);line-height:1.05;margin:10px 0 14px}
.quote p{max-width:56ch}
.quote-form{display:flex;flex-direction:column;gap:16px;margin-top:26px}
.quote-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500}
.quote-form input,.quote-form textarea,.quote-form select{font:inherit;font-size:16px;font-weight:400;border:1px solid var(--line);background:transparent;color:inherit;padding:11px 12px;border-radius:6px}
/* a transparent select gets a white popup with the page's light text in Chromium; both need the page's own colours */
.quote-form select{background:var(--paper)}
.quote-form option{background:var(--paper);color:var(--ink)}
.quote-form textarea{resize:vertical}
.quote-form .btn{align-self:flex-start}
.quote-form .status{margin:0;font-size:14px;color:var(--muted)}
.quote-alt{margin-top:22px;color:var(--muted);font-size:14px}


/* INNER PAGES — same tokens, follow the theme */
.page .cover{position:relative;overflow:hidden;aspect-ratio:1920/760;background:var(--paper)}
.page .cover .cover-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.page .cover::after{content:'';position:absolute;left:0;right:0;bottom:0;height:34%;background:linear-gradient(transparent,var(--paper));pointer-events:none}
/* one-colour covers flip with the theme; photographic ones never do */
:root[data-theme="dark"] img[data-ground="light"]{filter:invert(1)}
:root[data-theme="light"] img[data-ground="dark"]{filter:invert(1)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) img[data-ground="light"]{filter:invert(1)}}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]) img[data-ground="dark"]{filter:invert(1)}}
.page-head{padding:40px 0 24px}
.page-head h1{font-size:clamp(34px,4.6vw,62px);line-height:1.06;max-width:22ch;margin:0}
.page-head .lede{font-size:18px;line-height:1.55;max-width:60ch;margin:20px 0 0;color:var(--muted-2)}
.page-head .lede a{text-decoration:underline;text-underline-offset:3px}
.prose{padding:24px 0 72px}
.prose-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:64px;align-items:start}
.prose-main p{font-size:18px;line-height:1.6;max-width:56ch;margin:0 0 20px}
.prose-main .lead{font-family:var(--serif);font-size:clamp(24px,2.6vw,34px);line-height:1.25;color:var(--ink);margin:0 0 26px}
.prose-side{font-size:15px}
.prose-side p{margin:8px 0 0} .prose-side a{text-decoration:underline;text-underline-offset:3px}
.ruled{list-style:none;padding:0;margin:10px 0 0}
.ruled li{padding:12px 0;border-top:1px solid var(--line)} .ruled li:last-child{border-bottom:1px solid var(--line)}

/* about: type only. The statement alone at the top with room around it, a rule, then the thesis and the copy side by
   side on the grid, everything on one left edge */
.about-head{padding:96px 0 0}
.about-head h1{font-size:clamp(36px,5vw,72px);line-height:1.02;letter-spacing:-.03em;max-width:24ch;margin:0}
.about-body{padding:64px 0 112px}
.about-body .container{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:start;border-top:1px solid var(--line);padding-top:48px}
.about-body .lead{grid-column:1/6;margin:0;font-family:var(--serif);font-size:clamp(26px,2.6vw,38px);line-height:1.15;letter-spacing:-.02em;color:var(--ink);text-wrap:pretty}
.about-body .copy{grid-column:7/13;display:grid;gap:24px}
.about-body .copy p{margin:0;font-size:20px;line-height:1.6;max-width:56ch;text-wrap:pretty}
@media (max-width:760px){
  .about-head{padding:40px 0 0} .about-head h1{font-size:38px;max-width:none}
  .about-body{padding:36px 0 60px} .about-body .container{display:block;padding-top:32px}
  .about-body .lead{font-size:26px;margin:0 0 28px}
  .about-body .copy{gap:18px} .about-body .copy p{font-size:17px}
}

/* services: the route */
/* services: a plain list. The head, then each service as a row on the grid with a rule between, then the four
   steps the same way under their heading, then the one line that matters */
.services-head{padding:96px 0 0}
.services-head h1{font-size:clamp(36px,5vw,72px);line-height:1.02;letter-spacing:-.03em;max-width:none}
.services-head .lede{max-width:60ch;margin-top:24px}
.services-list{padding:56px 0 0}
.svc{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:start;padding:36px 0;border-top:1px solid var(--line)}
.svc:last-child{border-bottom:1px solid var(--line)}
.svc h2{grid-column:1/5;font-size:clamp(32px,3.6vw,48px);line-height:1;letter-spacing:-.025em;margin:0}
.svc-copy{grid-column:5/13;display:grid;gap:14px}
.svc-copy p{margin:0;font-size:19px;line-height:1.55;max-width:60ch;text-wrap:pretty}
.svc-copy .small{font-size:16px;color:var(--muted)}
.services-steps{padding:80px 0 104px}
.services-steps h2{font-size:clamp(26px,3vw,36px);line-height:1.1;margin:0 0 20px}
.steps{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.steps li{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:baseline;padding:20px 0;border-bottom:1px solid var(--line)}
.steps h3{grid-column:1/5;font-size:24px;line-height:1.15;margin:0}
.steps p{grid-column:5/13;margin:0;font-size:17px;line-height:1.55;color:var(--muted-2);max-width:60ch;text-wrap:pretty}
.services-steps .own{margin:48px 0 0;font-family:var(--serif);font-size:clamp(28px,3.4vw,44px);line-height:1.1;letter-spacing:-.02em}
@media (max-width:760px){
  .services-head{padding:40px 0 0} .services-head h1{font-size:38px} .services-head .lede{margin-top:16px}
  .services-list{padding:32px 0 0}
  .svc{display:block;padding:24px 0} .svc h2{font-size:32px;margin-bottom:12px}
  .svc-copy p{font-size:17px}
  .services-steps{padding:48px 0 64px}
  .steps li{display:block;padding:16px 0} .steps h3{font-size:21px;margin-bottom:6px} .steps p{font-size:16px}
  .services-steps .own{font-size:28px;margin-top:32px}
}

@property --draw{syntax:"<number>";inherits:true;initial-value:0}
@keyframes ds-draw{from{--draw:0}to{--draw:1}}



/* writings index: a quiet head, then the essays one per rule. A tag page says so in one line */
.writings-head{padding:96px 0 0}
.writings-head h1{max-width:30ch;font-size:clamp(30px,3.4vw,44px);line-height:1.12;text-wrap:balance}
.writings-head .lede{max-width:60ch;font-size:18px;margin-top:18px}
.tag-note{margin:28px 0 0;font-family:var(--serif);font-size:20px;color:var(--muted)}
.tag-note a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
@media (max-width:760px){.writings-head{padding:40px 0 0} .writings-head h1{font-size:30px} .tag-note{margin-top:20px;font-size:18px}}
.latest.index{padding:44px 0 96px} .latest.index .rows{margin-top:0}
.page .row{color:var(--ink)} .page .row .t{color:var(--ink)}
.row[hidden]{display:none}
/* the index: one essay per rule, the title and the date, nothing else. The covers come back when they are redrawn */
.latest.index .rows{border-top:1px solid var(--line)}
.row.row-full{display:flex;justify-content:space-between;align-items:baseline;gap:24px;padding:22px 0;border-top:0;border-bottom:1px solid var(--line)}
.row-full .t{font-family:var(--serif);font-size:clamp(22px,2.2vw,30px);line-height:1.2;letter-spacing:-.01em}
.row-full .d{font-family:var(--serif);font-size:17px;color:var(--muted);white-space:nowrap}
@media (max-width:760px){.row.row-full{flex-direction:column;gap:6px;padding:18px 0} .row-full .t{font-size:22px}}

/* portfolio: an entry per company, then the index band */
/* PORTFOLIO — editorial entries. Companies are catalogue entries with
     the address set under the name; open source and experiments close the page as a small,
     dense index. The catalogue is set to one measure (--band) so every rule stops where the
     text stops instead of running on past it. */
  .pf-entries{--pf-measure:1006px}
  .pf-entries .page-head{padding:40px 0 0}
  /* below the two-column split the head runs the width of the page, like the other covers */
  .pf-entries .page-head h1{max-width:none;text-wrap:balance}
  .pf-entries .page-head .lede{max-width:none;margin-top:18px}
  /* on wide screens the head splits the way every entry below it does */
  @media (min-width:1000px){
    .pf-entries .page-head .container{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
      column-gap:clamp(32px,4vw,64px);align-items:end}
    .pf-entries .page-head .lede{margin-top:0}
  }

  /* section heads: a serif title over a rule the width of the band */
  .pf-entries .pf-head{max-width:var(--pf-measure);display:flex;align-items:baseline;justify-content:flex-start;
    gap:20px;border-bottom:1px solid var(--ink);padding-bottom:14px}
  .pf-entries .pf-head h2{font-size:clamp(24px,2.6vw,34px);line-height:1.1}

  /* the catalogue */
  .pf-entries .pf-works{padding:clamp(52px,5.6vw,82px) 0 0}
  .pf-entries .pf-list{margin:0}
  .pf-entries .pf-entry{max-width:var(--pf-measure);display:grid;
    grid-template-columns:minmax(0,340px) minmax(0,1fr);
    column-gap:clamp(22px,3vw,46px);row-gap:14px;align-items:start;
    padding:clamp(26px,2.9vw,40px) 0;border-bottom:1px solid var(--line)}
  .pf-entries .pf-title{grid-column:1;grid-row:1;margin:0;line-height:1.05;
    font-size:clamp(26px,2.6vw,38px);text-wrap:balance}
  .pf-entries .pf-name{display:inline-block;color:var(--ink)}
  .pf-entries a.pf-name{transition:transform .3s cubic-bezier(.2,.7,.2,1)}
  .pf-entries a.pf-name:hover{transform:translateX(5px)}
  /* every entry carries this second line — an address, or the reason there isn't one — so the
     seventeen bands hold one height and no name is left hanging over a gap */
  .pf-entries .pf-link,.pf-entries .pf-note{grid-column:1;grid-row:2;justify-self:start;max-width:100%;
    margin:0;font-size:15px;color:var(--muted)}
  .pf-entries .pf-link{display:inline-flex;align-items:center;gap:7px;text-decoration:none;
    border-bottom:1px solid var(--line);padding-bottom:3px;transition:color .2s ease,border-color .2s ease}
  .pf-entries .pf-link:hover{color:var(--ink);border-bottom-color:var(--ink)}
  .pf-entries .pf-note{padding-bottom:4px}
  /* the column is the measure — no max-width under it, so the text runs to the rule */
  .pf-entries .pf-blurb{grid-column:2;grid-row:1/3;font-family:var(--serif);font-size:19px;line-height:1.5;
    color:var(--muted-2);margin:0;padding-top:.3em;text-wrap:pretty}
  .pf-arrow{width:10px;height:10px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4;
    stroke-linecap:round;stroke-linejoin:round}

  /* the index at the back sits on the opposite ground to the page, the way the belief section does on the
     home page: two lists set in real columns so a name is read down, not across */
  .pf-entries .pf-index{margin-top:clamp(56px,6vw,88px);background:var(--invert-bg);color:var(--invert-ink);
    padding:clamp(56px,6vw,88px) 0 clamp(56px,6vw,80px)}
  .pf-entries .pf-index-grid{max-width:var(--pf-measure);display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,4vw,60px);align-items:start}
  .pf-entries .pf-index .pf-head{max-width:none;border-bottom-color:var(--invert-ink);padding-bottom:12px}
  .pf-entries .pf-index .pf-head h2{font-size:clamp(22px,2.2vw,28px)}
  .pf-entries .pf-names{list-style:none;margin:0;padding:0;font-size:17px;line-height:1.35}
  /* columns fill downward and balance their own height, so both blocks end level */
  .pf-entries .pf-names.two{columns:2;column-gap:clamp(22px,2.6vw,40px)}
  .pf-entries .pf-names li{break-inside:avoid;border-bottom:1px solid var(--invert-line)}
  .pf-entries .pf-names a,.pf-entries .pf-names span{display:flex;align-items:baseline;
    gap:7px;padding:13px 0;color:var(--invert-muted);text-decoration:none}
  .pf-entries .pf-names a{color:var(--invert-ink)}
  .pf-entries .pf-names a .pf-arrow{opacity:.4;flex:none;transition:opacity .2s ease,transform .2s ease}
  .pf-entries .pf-names a:hover .pf-arrow{opacity:1;transform:translate(2px,-2px)}
  .pf-entries .pf-names a:hover{text-decoration:underline;text-underline-offset:4px}

  /* tablet keeps the two columns; the address drops to a line of its own beneath them */
  @media (max-width:900px){
    .pf-entries .pf-entry{grid-template-columns:minmax(0,240px) minmax(0,1fr);row-gap:12px}
    .pf-entries .pf-link,.pf-entries .pf-note{grid-column:1/3;grid-row:2}
    .pf-entries .pf-blurb{grid-column:2;grid-row:1;font-size:18px}
    .pf-entries .pf-index-grid{grid-template-columns:1fr;gap:40px}
  }
  @media (max-width:760px){
    .pf-entries .page-head h1{max-width:none}
    .pf-entries .pf-works{padding:38px 0 0}
    .pf-entries .pf-entry{grid-template-columns:minmax(0,1fr);row-gap:10px;padding:22px 0}
    .pf-entries .pf-title{grid-column:1;font-size:26px}
    .pf-entries .pf-link,.pf-entries .pf-note{grid-column:1;grid-row:2;overflow-wrap:anywhere}
    .pf-entries .pf-blurb{grid-column:1;grid-row:3;font-size:17px}
    .pf-entries .pf-index{margin-top:56px}
    .pf-entries .pf-names{font-size:16px}
    .pf-entries .pf-names.two{columns:1}
  }

/* designer software page: one centred column, figures in a consistent frame under centred headings */
.ds-head .container{text-align:center} .ds-head h1{margin:0 auto;max-width:22ch} .ds-head .lede{margin:20px auto 0;max-width:56ch}
.ds-prose{padding-top:8px} .ds-prose .col{max-width:none}
.ds-prose h2{font-size:clamp(28px,3.4vw,40px);line-height:1.15;margin:64px auto 18px;max-width:22ch;text-align:center}
.ds-prose h2:first-child{margin-top:8px}
.ds-prose p{font-size:18px;line-height:1.62;margin:0 auto 20px;max-width:60ch}
.diagram{max-width:960px;margin:8px auto 40px;color:var(--ink);border:1px solid var(--line);padding:32px 32px 22px}
.diagram .fig-m{display:none} .diagram svg{height:auto;display:block;margin:0 auto;width:100%}
.diagram-agent-loop .fig-d svg,.diagram-rented-vs-owned .fig-d svg{max-width:720px}
.diagram figcaption{margin-top:18px;text-align:center;font-size:15px;color:var(--muted)}
.belief h2 a{text-decoration:none}
.ds-link{color:inherit;text-decoration:underline;text-underline-offset:.16em;text-decoration-thickness:1px} a.ds-link:hover{text-decoration-thickness:2px}
@media (max-width:760px){.ds-prose p{font-size:17px} .ds-prose h2{margin-top:48px} .diagram{margin:4px -4px 32px;padding:18px 14px 14px} .diagram .fig-d{display:none} .diagram .fig-m{display:block} .diagram figcaption{font-size:14px}}

/* essay */
/* one centred column: head, body and foot share a 780px measure */
.essay-head .container,.essay .container,.essay-foot .container{width:min(calc(100% - 48px),780px)}
.essay-head{padding:56px 0 8px} .essay-head h1{max-width:none;font-size:clamp(34px,4.4vw,58px)} .essay-meta{margin:18px 0 0;font-family:var(--serif);font-size:17px;color:var(--muted)}
.essay{padding:20px 0 40px} .essay .col{max-width:none}
.essay p,.essay li{font-family:var(--serif);font-size:19px;line-height:1.75;margin:0 0 24px}
.essay h2{font-size:30px;line-height:1.2;margin:48px 0 18px} .essay h3{font-size:22px;margin:36px 0 14px;font-weight:600}
.essay ul,.essay ol{padding-left:24px} .essay a{text-decoration:underline;text-underline-offset:3px}
.essay blockquote{margin:0 0 24px;padding-left:20px;border-left:2px solid var(--ink)} .essay hr{border:0;border-top:1px solid var(--line);margin:40px 0}
.essay-foot{padding:0 0 40px} .essay-foot .tag-row{font-size:15px} .essay-foot .tag-row a{margin-right:10px}
.pn{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:22px;border-top:1px solid var(--line);padding-top:22px}
.pn a{text-decoration:none;display:flex;flex-direction:column;gap:6px} .pn a:last-child{text-align:right} .pn .lbl{font-size:14px;color:var(--muted)} .pn .ttl{font-family:var(--serif);font-size:19px}
.pn a:hover .ttl{text-decoration:underline;text-underline-offset:4px}
.page .contact{border-top:1px solid var(--line);margin-top:24px}
.page .contact h2{color:var(--ink)} .page .contact .lede{color:var(--muted-2)}
.page .contact .actions .btn-solid{background:var(--ink);color:var(--paper);border-color:var(--ink)} .page .contact .actions .btn-ghost{color:var(--ink);border-color:currentColor}

@media (max-width:760px){
  .page .cover{aspect-ratio:4/3}
  .page-head{padding:28px 0 12px} .page-head h1{font-size:32px}
  .prose-grid{grid-template-columns:1fr;gap:36px} .prose-main p{font-size:17px}
  .tiles{grid-template-columns:1fr 1fr}
  .essay-head{padding:36px 0 8px} .essay p,.essay li{font-size:17.5px} .pn{grid-template-columns:1fr} .pn a:last-child{text-align:left}
}

/* MOTION — native only; everything is visible at rest without scripts or support */
html{scroll-behavior:smooth}
@view-transition{navigation:auto}
::view-transition-old(root){animation:vt-out .22s ease both}
::view-transition-new(root){animation:vt-in .32s ease both}
@keyframes vt-out{to{opacity:0}}
@keyframes vt-in{from{opacity:0}}

@media (prefers-reduced-motion:no-preference){
  /* hero: the mark draws on, the copy rises after it */
  body.home.js .hero-mark path{fill-opacity:0;stroke:currentColor;stroke-width:1.2;stroke-dasharray:640;stroke-dashoffset:640;animation:draw 1.4s cubic-bezier(.4,0,.2,1) forwards,ink .6s ease 1.1s forwards}
  @keyframes draw{to{stroke-dashoffset:0}}
  @keyframes ink{to{fill-opacity:1;stroke-width:0}}
  body.home.js .hero-copy>*{opacity:0;transform:translateY(22px);animation:rise .9s cubic-bezier(.2,.7,.2,1) forwards}
  body.home.js .hero-copy>:nth-child(1){animation-delay:.35s} body.home.js .hero-copy>:nth-child(2){animation-delay:.5s} body.home.js .hero-copy>:nth-child(3){animation-delay:.62s} body.home.js .hero-copy>:nth-child(4){animation-delay:.76s}
  @keyframes rise{to{opacity:1;transform:none}}

  /* the band drifts as it passes; if the timeline ever stalls the image is merely a little off centre */
  @supports (animation-timeline: view()){
    .band img{animation:parallax linear both;animation-timeline:view();animation-range:entry 0% exit 100%}
  }
  @keyframes parallax{from{transform:translateY(-6%)}to{transform:translateY(6%)}}
}

/* Scroll-linked reveals start from nothing, so they run only where the pointer is a mouse. On an
   iPhone the scrolling thread can leave a compositor-driven opacity animation at its first frame
   with the copy in view, and on a phone a reveal is not worth that risk: there, everything is
   simply present at rest. */
@media (prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine){
  @supports (animation-timeline: view()){
    .word,.row,.latest .section-title,.latest .more,.contact .container>*,.ds-prose h2,.ds-prose p,.diagram figcaption{animation:reveal linear both;animation-timeline:view();animation-range:entry 0% entry 22%}
    /* the scroll timeline lives on the svg element and drives one inherited number; the lines and labels read it */
    .diagram .fig svg{animation:ds-draw linear both;animation-timeline:view();animation-range:entry 10% entry 80%}
    .diagram .fig :is(path,line,rect,circle,ellipse,polyline)[pathLength]{stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--draw))}
    .diagram .fig text{opacity:calc((var(--draw) - .45) / .5)}
    .belief h2 span{color:var(--belief-span);animation:inkin linear both;animation-timeline:view();animation-range:entry 30% cover 42%}
    .belief h2 span{animation-range-start:calc(entry 20% + var(--i,0) * 3%);animation-range-end:calc(cover 30% + var(--i,0) * 3%)}
    .belief p{animation:reveal linear both;animation-timeline:view();animation-range:entry 0% entry 45%}
  }
  /* the JS fallback adds .in where view() is unsupported */
  @supports not (animation-timeline: view()){
    body.js .word,body.js .row,body.js .latest .section-title,body.js .latest .more,body.js .contact .container>*,body.js .belief p,body.js .ds-prose h2,body.js .ds-prose p,body.js .diagram{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
    body.js .in{opacity:1;transform:none}
    body.js .belief h2 span{color:var(--belief-span);transition:color .6s ease} body.js .belief h2.in span{color:var(--belief-h,#000)}
  }
  @keyframes reveal{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
  @keyframes inkin{to{color:var(--belief-h,#000)}}
}

/* flash after a form post, rendered at the top of main */
.flash{width:min(calc(100% - 48px),var(--max));margin:16px auto 0;font-size:15px;color:var(--muted)}
