/* About page. Shares the case vocabulary (../cases/case.css); the "×" marks come from the splash (js/shapes.js). */
.h, .t { display: none; } @media (hover: hover) { .h { display: inline; } } @media (hover: none) { .t { display: inline; } }
.lab { font-size: 13px; font-weight: 400; color: var(--muted); }
.pill { display: inline-flex; padding: 12px 16px; border: 1px solid currentColor; font-size: 13px; line-height: 1; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.pill:hover { background: var(--hot); border-color: var(--hot); color: #fff; } .pill:active { transform: scale(.97); }
.pill.solid { background: var(--ink); border-color: var(--ink); color: #fff; } .pill.solid:hover { background: var(--hot); border-color: var(--hot); }

.top { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 48px; align-items: center; min-height: min(780px, calc(100svh - 60px)); }
/* Same voice as the home splash: uppercase tight name, red mono line, mono links instead of boxed buttons */
.top h1 { margin: 0; font-weight: 500; font-size: clamp(40px, 5.2vw, 112px); letter-spacing: -0.04em; line-height: .95; text-transform: uppercase; }
.top .role { margin-top: 24px; color: var(--hot); }
.top .lead { max-width: 27em; margin-top: clamp(32px, 3vw, 56px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: clamp(32px, 3vw, 56px); }
.cta a { padding-block: 8px; transition: color .2s; } .cta a:hover { color: var(--hot); }
.cta .mail { text-transform: none; }
.portrait canvas { display: block; width: 100%; aspect-ratio: 1; touch-action: pan-y; cursor: crosshair; }
.portrait figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: right; }

.logos { margin-top: 72px; }
.tape { --t: 60s; overflow: hidden; margin: 24px calc(50% - 50vw) 0; border-block: 1px solid var(--line); }
.tape + .tape { margin-top: -1px; }
.tape ul { list-style: none; display: flex; width: max-content; animation: tape var(--t) linear infinite; }
.tape.rev ul { animation-direction: reverse; }
.tape:hover ul, .tape:focus-within ul { animation-play-state: paused; }
.tape li { flex: none; display: flex; align-items: center; justify-content: center; gap: 12px; height: 112px; padding: 0 clamp(28px, 3vw, 56px); border-right: 1px solid var(--line); font-size: 22px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.tape li img { height: var(--s, 30px); width: auto; max-width: none; }
.tape li img.gray { filter: grayscale(1) brightness(.55); }
.tape li img.blk { filter: grayscale(1) contrast(5); }
@keyframes tape { to { transform: translateX(-50%); } }

.editor { margin: 40px var(--pad) 0; border: 1px solid var(--ink); }
.monitor { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 32px; padding: clamp(20px, 2.4vw, 40px); min-height: 290px; }
.when strong { display: block; font-weight: 500; font-size: clamp(56px, 6vw, 104px); line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.when span { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
#now { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 32px; align-content: start; }
#now h3 { font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
#now .r { font-size: 15px; color: var(--muted); margin-top: 2px; } #now p { margin-top: 10px; font-size: 15px; line-height: 1.5; }
#now a { display: inline-block; margin-top: 10px; font-size: 15px; border-bottom: 1px solid currentColor; } #now a:hover { color: var(--hot); }
.pond { position: relative; height: 120px; margin-top: -32px; overflow: hidden; pointer-events: none; }
.frog { position: absolute; left: 0; bottom: 0; width: 48px; height: 36px; fill: var(--ink); shape-rendering: crispEdges; pointer-events: auto; cursor: pointer; }
.tongue { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; fill: var(--hot); shape-rendering: crispEdges; opacity: 0; pointer-events: none; } .tongue.on { opacity: 1; }
.fly { position: absolute; left: -7px; top: -4px; width: 15px; height: 9px; fill: var(--hot); shape-rendering: crispEdges; opacity: 0; } .fly.on { opacity: 1; }
.pop { position: absolute; bottom: 92px; translate: -50% 0; font-size: 12px; white-space: nowrap; animation: pop 1.1s ease-out forwards; } @keyframes pop { 0% { opacity: 0; transform: translateY(8px); } 20%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }
.transport { display: flex; align-items: center; gap: 16px; padding: 10px clamp(16px, 2vw, 32px); border-block: 1px solid var(--ink); font-size: 13px; }
.transport button { min-width: 150px; padding: 14px 18px; background: var(--hot); color: #fff; text-transform: uppercase; transition: background .2s; } .transport button:hover { background: var(--ink); }
.transport button.hint { animation: hint 1.6s var(--ease) 3; } @keyframes hint { 0% { box-shadow: 0 0 0 0 rgba(255,0,37,.45); } 100% { box-shadow: 0 0 0 14px rgba(255,0,37,0); } } @media (max-width: 560px) { .transport button { min-width: 92px; padding: 12px; } .transport button span { display: none; } }
@media (prefers-reduced-motion: reduce) { .transport button.hint { animation: none; } }
.transport input { flex: 1; min-width: 0; accent-color: var(--hot); height: 32px; cursor: ew-resize; }
.tlwrap { overflow-x: auto; }
.tl { position: relative; min-width: 1080px; height: 352px; user-select: none; touch-action: pan-x pan-y; cursor: ew-resize; }
.tl .yr { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--line); padding: 8px 6px; font: 11px "Berkeley Mono", monospace; color: var(--muted); pointer-events: none; }
.tl .clip { position: absolute; height: 34px; padding: 0 8px; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; color: #8f8f8f; background: #f6f6f6; border-left: 2px solid #d6d6d6; transition: background .15s, color .15s; }
.tl .clip:hover { color: var(--ink); background: #eee; } .tl .clip.on { background: #ffe5e9; color: var(--ink); border-color: var(--hot); z-index: 1; }
.tl .clip.on:hover { z-index: 3; }
.tl .head { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--hot); z-index: 2; pointer-events: none; }
.tl .head::before { content: ""; position: absolute; top: 0; left: -6px; border: 7px solid transparent; border-top: 10px solid var(--hot); border-bottom: 0; }

.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; margin-top: 48px; }
.num strong { display: block; font-weight: 500; font-size: clamp(48px, 5vw, 88px); letter-spacing: -.05em; line-height: 1; }
.num p { margin-top: 8px; font-size: 16px; max-width: 22em; }
.num .x { margin-top: 20px; display: grid; gap: 0; width: max-content; font: 15px/17px "Berkeley Mono", monospace; }
.num .x i { font-style: normal; width: 13px; text-align: center; color: #cfcfcf; transition: color .4s; transition-delay: calc(var(--n) * 12ms); }
.num.is-in .x i.f { color: var(--hot); }

.kb { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: clamp(28px, 3vw, 56px); align-items: stretch; margin-top: 40px; }
.keys { container-type: inline-size; align-self: center; }
.krow { display: flex; gap: 8px; margin-bottom: 8px; } .krow:nth-child(2) { margin-left: 4%; } .krow:nth-child(3) { margin-left: 9%; }
.key { flex: none; width: calc((100cqw - 72px) / 10); aspect-ratio: 1; padding: clamp(5px, 1cqw, 10px); text-align: left; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #cfcfcf; border-bottom-width: 4px; border-radius: 8px; color: #b3b3b3; font: 14px "Berkeley Mono", monospace; overflow: hidden; transition: transform .08s, border-bottom-width .08s, background .15s, color .15s; }
.key small { font-size: clamp(8px, 1.22cqw, 12px); line-height: 1.1; letter-spacing: -.04em; }
.key.has { color: var(--ink); border-color: var(--ink); cursor: pointer; } .key.has:hover { background: #f3f3f3; }
.game { display: flex; flex-direction: column; gap: 12px; min-height: 400px; }
.g-bar { display: flex; gap: 24px; font-size: 13px; color: var(--muted); } .g-bar b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; } #g-lives { margin-left: auto; color: var(--hot); letter-spacing: 4px; } #g-lives i { font-style: normal; } #g-lives .off { color: #d5d5d5; }
.g-field { position: relative; flex: 1; min-height: 280px; border: 1px solid var(--ink);  overflow: hidden; }
.g-field canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.g-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; background: rgba(255,255,255,.86); } .g-over[hidden] { display: none; }
.g-over strong { font-weight: 500; font-size: clamp(28px, 2.4vw, 44px); line-height: 1.05; letter-spacing: -.03em; }
.game .typed { display: flex; align-items: baseline; gap: 10px; min-height: 28px; margin: 0; } .game .typed b { font-size: 20px; }
.key.hint { box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 55%, transparent); } .key.miss { animation: kmiss .28s; } @keyframes kmiss { 25% { translate: -4px; } 75% { translate: 4px; } }
.key.down { transform: translateY(3px); border-bottom-width: 1px; } .key.has.down { background: var(--hot); border-color: var(--hot); color: #fff; }
.typed { min-height: 5em; } .typed b { display: block; font-weight: 500; font-size: clamp(32px, 3.2vw, 56px); letter-spacing: -.03em; line-height: 1.05; } .typed span { color: var(--muted); }

.more { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-top: 140px; } .more ul { list-style: none; } .more li, .more p { font-size: 17px; line-height: 1.5; margin-top: 10px; }

.printer { margin-top: 48px; max-width: 860px; margin-left: auto; margin-right: auto; }
.machine { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 20px 24px; background: #f0f0f0; border: 1px solid var(--ink); border-radius: 14px 14px 0 0; font-size: 13px; }
.machine #pstate { flex: 1; } .led { width: 8px; height: 8px; background: #1fae4b; } .printing .led { background: var(--hot); animation: led .25s steps(2) infinite; } @keyframes led { 50% { opacity: .2; } }
.slot { position: relative; z-index: 2; height: 12px; background: #111; }
.feed { height: var(--len, 0px); max-height: 5000px; overflow: hidden; margin: 0 clamp(8px, 7%, 60px); position: relative; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/16px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/16px 100%; }
.paper { border-inline: 1px solid #cfcfcf; position: absolute; left: 0; right: 0; top: 0; display: block; padding: 24px clamp(8px, 3vw, 28px) 44px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 24px 60px -24px rgba(0,0,0,.4); }
.paper img { width: 100%; }

.bye { margin-top: 160px; padding-bottom: 80px; } .bye button { display: block; margin: 16px 0; font-weight: 500; font-size: clamp(26px, 7.4vw, 128px); letter-spacing: -.05em; line-height: 1.1; transition: color .2s; } .bye button:hover { color: var(--hot); } #copied { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .top { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; } .monitor, .kb { grid-template-columns: 1fr; gap: 24px; } .game { order: -1; } .monitor { min-height: 420px; align-content: start; }
  .nums { grid-template-columns: 1fr 1fr; } .more { grid-template-columns: 1fr; margin-top: 96px; } .tape li { height: 80px; font-size: 18px; }
}
@media (max-width: 370px) { .nums { grid-template-columns: 1fr !important; } }
@media (max-width: 560px) { .nums { grid-template-columns: 1fr 1fr; gap: 40px 14px; } .num .x { zoom: .9; } .krow { gap: 4px; margin-bottom: 4px; } .key { width: calc((100cqw - 36px) / 10); padding: 4px; border-radius: 6px; font-size: 12px; } .key small { display: none; } .game { min-height: 360px; } .machine #pstate { flex-basis: 70%; } }
@media (prefers-reduced-motion: reduce) { .tape { overflow-x: auto; } .tape ul { animation: none; } }
@media (max-width: 900px) { .monitor { min-height: 0 !important; } #now { grid-template-columns: 1fr 1fr; gap: 18px 16px; } #now p { display: none; } #now h3 { font-size: 18px; } #now .r, #now a { font-size: 13px; } #now a { margin-top: 6px; } .pond { margin-top: -12px; } }

/* How I work: a flow diagram. One frame, six stages on a track, the design system as a shared layer under them */
.wf { margin-top: 32px; border: 1px solid var(--ink); }
.wf-steps { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.wf-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 52px; border-top: 1px solid var(--line); }
.wf-steps li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px clamp(12px, 1.4vw, 22px) 24px; border-left: 1px solid var(--line); cursor: default; }
.wf-steps li:first-child { border-left: 0; }
.wf-steps li::before { content: ""; position: absolute; left: clamp(12px, 1.4vw, 22px); top: 48px; width: 9px; height: 9px; background: #fff; border: 1px solid var(--ink); transition: background .25s, border-color .25s; }
.wf-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -7px; top: 42px; z-index: 1; padding: 0 2px; background: #fff; font: 13px/1 "Berkeley Mono", monospace; color: #b5b5b5; }
.wf h3 { display: flex; gap: 10px; font-size: 13px; font-weight: 400; } .wf h3 i { font-style: normal; color: #b5b5b5; transition: color .25s; }
.wf-steps strong { margin-top: 26px; font-weight: 500; font-size: clamp(20px, 1.6vw, 28px); letter-spacing: -.02em; }
.wf-steps p { margin-top: auto; font-size: 14px; line-height: 1.4; color: var(--muted); }
.wf-steps li.on::before { background: var(--hot); border-color: var(--hot); } .wf-steps li.on h3 i { color: var(--hot); } .wf-steps li.on p { color: var(--ink); }
.wf-a { min-height: 96px; padding: 12px; border: 1px solid var(--line); font-size: 13px; transition: border-color .25s; } .on .wf-a { border-color: var(--ink); }
.wf-a.mono { font-size: 11px; line-height: 1.6; text-transform: none; }
.wf-a.wf-issue { display: grid; align-content: start; gap: 6px; line-height: 1.3; } .wf-a.wf-issue span { font-size: 11px; color: var(--muted); }
.wf-a.wf-fig { display: grid; gap: 10px; outline: 1px dashed #cfcfcf; outline-offset: -6px; } .wf-a.wf-fig span { font-size: 11px; line-height: 1.5; text-transform: none; color: var(--muted); }
.wf-a b { display: block; padding: 7px 0; font-weight: 400; text-align: center; font-size: 12px; color: #fff; background: var(--hot); border-radius: 14px; }
.wf-a.wf-term span { display: block; color: var(--hot); }
.wf-a.wf-web { display: grid; gap: 14px; align-content: start; } .wf-a.wf-web span { padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); text-transform: none; }
.wf-a.wf-git span, .wf-a.wf-git s, .wf-a.wf-git ins, .wf-a.wf-git em { display: block; text-decoration: none; font-style: normal; } .wf-a.wf-git span { color: var(--muted); } .wf-a.wf-git s { color: var(--hot); } .wf-a.wf-git s::before { content: "− "; } .wf-a.wf-git ins::before { content: "+ "; }
.wf-a.wf-rel { display: flex; flex-wrap: wrap; gap: 6px; align-content: start; } .wf-a.wf-rel span { padding: 4px 8px; border: 1px solid var(--ink); }
.wf-ds { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr); gap: 24px; align-items: baseline; padding: 20px clamp(12px, 1.4vw, 22px); border-top: 1px solid var(--ink); }
.wf-ds h3 i { color: var(--hot); } .wf-ds p { font-size: 15px; line-height: 1.45; max-width: 46em; }
.wf-back { padding: 14px clamp(12px, 1.4vw, 22px); border-top: 1px dashed #cfcfcf; font-size: 12px; color: var(--muted); }
@media (max-width: 1100px) { .wf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wf-steps::before { display: none; } .wf-steps li:nth-child(4) { border-left: 0; } .wf-steps li:nth-child(n+4) { border-top: 1px solid var(--line); } .wf-steps li:nth-child(3)::after { display: none; } }
@media (max-width: 640px) { .wf-steps { grid-template-columns: 1fr; } .wf-steps li { border-left: 0; border-top: 1px solid var(--line); padding-left: 40px; } .wf-steps li:first-child { border-top: 0; } .wf-steps li::before { left: 14px; top: 23px; } .wf-steps li::after { display: none; } .wf-steps strong { margin-top: 0; } .wf-ds { grid-template-columns: 1fr; gap: 8px; } }
/* How I grow teams */
.team-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border: 1px solid var(--ink); border-bottom: 0; }
.team-tabs button { display: grid; gap: 6px; align-content: start; padding: 18px clamp(14px, 1.6vw, 24px); text-align: left; color: #9a9a9a; border-left: 1px solid var(--line); transition: color .2s, background .2s; }
.team-tabs button:first-child { border-left: 0; } .team-tabs button:hover { color: var(--ink); }
.team-tabs strong { font-weight: 500; font-size: clamp(40px, 4vw, 72px); line-height: .9; letter-spacing: -.04em; } .team-tabs span { font-size: clamp(14px, 1vw, 17px); } .team-tabs small { font-size: 11px; }
.team-tabs button[aria-pressed=true] { color: var(--ink); background: #f6f6f6; } .team-tabs button[aria-pressed=true] strong { color: var(--hot); }
.tw { border: 1px solid var(--ink); }
.tw-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 14px clamp(14px, 1.6vw, 24px); border-bottom: 1px solid var(--line); font-size: 12px; }
.tw-lg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--muted); text-transform: none; } .tw-lg i { margin-left: 10px; }
.tw i { display: inline-block; width: 12px; height: 12px; border: 1px solid var(--ink); background: #fff; } .tw i.f { background: var(--ink); } .tw i.me { border-color: var(--hot); } .tw i.me.f { background: var(--hot); }
.tw ol { list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.tw li { display: grid; grid-template-rows: 1fr auto auto; gap: 8px; min-height: 150px; padding: 20px clamp(12px, 1.4vw, 22px); border-left: 1px solid var(--line); opacity: .12; transition: opacity .5s calc(var(--k) * .35s); }
.tw li:first-child { border-left: 0; } .tw.go li { opacity: 1; }
.tw .sq { display: flex; flex-wrap: wrap; align-content: end; gap: 5px; max-width: 100px; } .tw .sq i { width: 15px; height: 15px; } .tw .sq i.me { margin-right: calc(100% - 15px); }
.tw li b { font-weight: 400; font-size: 11px; color: var(--muted); text-transform: none; } .tw li span { font-size: clamp(14px, 1vw, 17px); line-height: 1.3; }
.team-t { max-width: 38em; min-height: 4.6em; margin-top: 16px; font-size: clamp(16px, 1.15vw, 20px); line-height: 1.5; }
.fb { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 120px); align-items: center; margin-top: 72px; } #fb { display: grid; gap: 6px; justify-items: start; } #fb button { padding: 8px 0; font-size: clamp(17px, 1.3vw, 22px); color: #9a9a9a; text-decoration: line-through; text-decoration-color: transparent; transition: color .2s; } #fb button:hover { color: var(--ink); } #fb button[aria-pressed=true] { color: var(--ink); text-decoration-color: var(--hot); } #fb-a { min-height: 2.3em; font-size: clamp(28px, 3.4vw, 60px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.grow { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; margin-top: 88px; } .grow dl > div { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid #dcdcdc; } .grow dt { font-size: 17px; letter-spacing: -.01em; } .grow dd { font-size: 15px; line-height: 1.5; color: var(--muted); }
.mx { display: grid; gap: 28px; } .mx-r { display: grid; grid-template-columns: 1fr 64px; gap: 8px 20px; align-items: end; } .mx-r span { grid-column: 1 / -1; font-size: 15px; } .mx-x { display: flex; } .mx-x button { flex: 1; padding: 8px 0; font-size: 18px; color: #cfcfcf; } .mx-x .f { color: var(--hot); } .mx-r svg { justify-self: center; overflow: visible; shape-rendering: crispEdges; }
@media (max-width: 900px) { .grow, .fb { grid-template-columns: 1fr; } .fb { gap: 24px; margin-top: 56px; } .grow { margin-top: 56px; } }
@media (max-width: 560px) { .grow dl > div { grid-template-columns: 1fr; gap: 4px; } .team-tabs { grid-template-columns: 1fr; } .team-tabs button { border-left: 0; border-top: 1px solid var(--line); } .team-tabs button:first-child { border-top: 0; } .tw ol { grid-template-columns: 1fr; } .tw li { grid-template-columns: 110px 1fr; grid-template-rows: auto auto; min-height: 0; border-left: 0; border-top: 1px solid var(--line); } .tw li:first-child { border-top: 0; } .tw .sq { grid-row: span 2; } }
@media (prefers-reduced-motion: reduce) { #team-steps p { transition: none !important; animation: none !important; } }

@media (max-width: 900px) { .topbar .link, .foot .link { padding: 12px 0; margin: -12px 0; } #now a { padding-bottom: 4px; } }
