/* ============================================================
   AltxDesign — NOTES: the index, category, author and note pages (all built by
   tools/blog-build.mjs). The Notes redesign, 21 Nov 2026: site-v3/altx-notes-handoff/HANDOVER.md.

   Lifted from the approved samples (notes-index/index.html and note-article/index.html, the CSS
   between "NOTES · index and article" and "CONTACT"), which are the source of truth for layout,
   spacing and motion. Changes from the samples:
     - the header, menu, footer and buttons are the site's own (css/style.css), not the samples'
       stand-ins, and so is the FAQ accordion (.qa, with the X toggle);
     - taken out: the placeholder notes' "Placeholder" tag (.nrow__soon), and rules nothing on
       these pages uses (the older glow-cover variants a to d, the tile and ring covers, the list
       rows, the chip filter, the "nothing here yet" line);
     - a few selectors are classes instead of bare b and span, so the site's buttons and screen-
       reader notes inside them are left alone (.asks__q, .asks__a, .author__name, .author__role),
       and the breadcrumbs are a list;
     - the filter's options are links (to the index and the category pages), so the current one
       is marked with aria-current;
     - added from the old css/notes.css (now retired): what a note's body can hold beyond the
       sample's (lists, quotes, tables, code), From our work, Sources, the closing line, the page
       numbers and the draft-preview bar;
     - "The latest" above the latest note's title is left out (Navin, 21 Nov); every page closes
       on "Ready when you are." with the short brief (css/sentence-form.css; forms handover, 22 Nov).
   Tokens from css/style.css. One font (Urbanist). No eyebrow labels. The logo X stands in for icons.

   Depth comes from three things: dark bands, paper panels that sit above the cream with a soft
   shadow, and cover art built from the logo X that shifts in layers.
   ============================================================ */
@keyframes rise{to{transform:none}}
@keyframes in{to{opacity:1;transform:none}}
.defs{position:absolute;width:0;height:0;overflow:hidden}

/* ---------- the dark glow art (the note header): a dark panel, a glow, three logo X shapes at
   different depths and a dot screen. --mx and --my move the layers. ---------- */
.cover{position:relative;display:block;overflow:hidden;border-radius:var(--r-lg);background:var(--near);isolation:isolate;--mx:0;--my:0}
.cover__glow{position:absolute;inset:-20%;background:radial-gradient(closest-side at var(--gx,30%) var(--gy,35%),rgba(255,74,28,.55),rgba(200,16,46,.22) 45%,transparent 72%);transition:transform .8s var(--ease-out);transform:translate(calc(var(--mx) * -14px),calc(var(--my) * -14px))}
.cover__dots{position:absolute;inset:0;background-image:radial-gradient(circle,rgba(245,241,231,.22) 1.2px,transparent 1.5px);background-size:12px 12px;-webkit-mask-image:linear-gradient(120deg,transparent 35%,#000 100%);mask-image:linear-gradient(120deg,transparent 35%,#000 100%)}
.cover__x{position:absolute;aspect-ratio:1;transition:transform .8s var(--ease-out);transform:translate(calc(var(--mx) * var(--d,10) * 1px),calc(var(--my) * var(--d,10) * 1px)) rotate(var(--r,0deg))}
.cover__x--1{width:62%;left:var(--x1,46%);top:var(--y1,-12%);--d:22;--r:12deg}
.cover__x--1 path{fill:url(#coverGrad)}
.cover__x--2{width:38%;left:var(--x2,8%);top:var(--y2,48%);--d:-12;--r:-18deg}
.cover__x--2 path{fill:none;stroke:rgba(245,241,231,.38);stroke-width:1.2;vector-effect:non-scaling-stroke}
.cover__x--3{width:20%;left:var(--x3,30%);top:var(--y3,14%);--d:38;--r:45deg}
.cover__x--3 path{fill:var(--cream)}
.cover__word{position:absolute;left:5%;bottom:4%;font-size:clamp(15px,1.2vw,18px);font-weight:700;letter-spacing:-.01em;color:var(--cream);display:inline-flex;align-items:center;gap:8px}
.cover__word::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--orange)}
.cover--half{background:#EFEADD}

/* ---------- filter: one sentence with a pick list, so twenty categories take the room of one ---------- */
.nhero{position:relative;z-index:3}
.nfilt{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .35em;font-size:clamp(20px,1.9vw,28px);font-weight:500;letter-spacing:-.012em;line-height:1.3;color:var(--muted)}
.nfilt__btn{display:inline-flex;align-items:center;gap:.35em;padding:0 0 2px;border:0;border-bottom:2px solid var(--near);background:none;font:inherit;font-weight:700;color:var(--near);cursor:pointer}
.nfilt__btn svg{width:.6em;height:.6em;transition:transform .4s var(--ease-out)}
.nfilt__btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.nfilt__btn:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
.nfilt__list{position:absolute;z-index:5;left:0;top:calc(100% + 12px);min-width:min(320px,100%);max-height:min(340px,50vh);overflow:auto;padding:8px;list-style:none;border-radius:var(--r-lg);background:var(--paper);box-shadow:0 1px 0 rgba(11,11,13,.04),0 40px 70px -30px rgba(11,11,13,.45)}
/* the list opens from the button (js/page-notes.js). With scripts off, or if they never run, it
   simply shows as a row of links under the sentence. */
.fx-js:not(.fx-safe) .nfilt__list:not(.is-open){display:none}
html:not(.fx-js) .nfilt__list,.fx-safe .nfilt__list{position:static;display:flex;flex-wrap:wrap;gap:4px;min-width:0;max-height:none;padding:0;margin-top:10px;background:none;box-shadow:none}
html:not(.fx-js) .nfilt__btn svg,.fx-safe .nfilt__btn svg{display:none}
.nfilt__opt{display:flex;justify-content:space-between;align-items:baseline;gap:24px;width:100%;padding:11px 14px;border:0;border-radius:12px;background:none;font:inherit;font-size:18px;font-weight:600;letter-spacing:-.01em;color:var(--near);text-align:left;text-decoration:none;cursor:pointer}
.nfilt__opt i{font-style:normal;font-size:14px;font-weight:500;color:var(--muted)}
.nfilt__opt:hover,.nfilt__opt:focus-visible{background:rgba(11,11,13,.06);outline:0}
.nfilt__opt[aria-current]{background:var(--near);color:var(--cream)}
.nfilt__opt[aria-current] i{color:rgba(245,241,231,.6)}

/* ---------- covers with room for a hook: quiet art pushed to one side, a short line in the space.
   Sizes are in cover units (cqw) so the same cover works as a thumbnail or a hero. ---------- */
.cover--neg{container-type:size;background:#EFEADD;color:var(--near)}
.cover__hook{position:absolute;z-index:2;left:6cqw;top:46%;transform:translateY(-50%);max-width:46cqw;font-size:6.6cqw;font-weight:800;letter-spacing:-.04em;line-height:.96;text-wrap:balance}
.cover--neg .cover__word{color:inherit;z-index:2;left:6cqw;font-size:max(12px,2.3cqw)}
.cover--neg svg{position:absolute}
.cv-ht{position:absolute;width:64cqw;aspect-ratio:1;right:-9cqw;top:-10cqw;background:radial-gradient(circle closest-side,#2B2B2E 58%,transparent 64%) 0 0 / 1.9cqw 1.9cqw;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0H9L41 25Q50 31 59 25L91 0H100V9L75 41Q69 50 75 59L100 91V100H91L59 75Q50 69 41 75L9 100H0V91L25 59Q31 50 25 41L0 9Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat,linear-gradient(200deg,#000 20%,rgba(0,0,0,.2) 90%);-webkit-mask-composite:source-in;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0H9L41 25Q50 31 59 25L91 0H100V9L75 41Q69 50 75 59L100 91V100H91L59 75Q50 69 41 75L9 100H0V91L25 59Q31 50 25 41L0 9Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat,linear-gradient(200deg,#000 20%,rgba(0,0,0,.2) 90%);mask-composite:intersect;transition:transform .8s var(--ease-out);transform:translate(calc(var(--mx) * 16px),calc(var(--my) * 16px)) rotate(14deg)}
.cv-mark{width:6cqw;aspect-ratio:1;left:6cqw;top:6cqw;transform:rotate(45deg)}
.cv-mark path{fill:var(--orange)}
.cover--hor{background:#EFEADD}
.cv-sun{position:absolute;width:42cqw;aspect-ratio:1;left:50cqw;top:calc(100cqh - 30cqw);border-radius:50%;background:linear-gradient(180deg,var(--gold),var(--orange) 30%,var(--seal) 52%);-webkit-mask:linear-gradient(180deg,#000 0 16%,transparent 16% 17.2%,#000 17.2% 27%,transparent 27% 29%,#000 29% 36%,transparent 36% 39%,#000 39% 100%);mask:linear-gradient(180deg,#000 0 16%,transparent 16% 17.2%,#000 17.2% 27%,transparent 27% 29%,#000 29% 36%,transparent 36% 39%,#000 39% 100%);transition:transform .8s var(--ease-out);transform:translateY(calc(var(--my) * -14px))}
.cv-ground{position:absolute;left:0;right:0;bottom:0;height:15cqh;background:#EFEADD;border-top:max(1px,.14cqw) solid var(--near)}
.cv-star{width:5.5cqw;aspect-ratio:1;right:9cqw;top:8cqw;transform:rotate(45deg)}
.cv-star path{fill:var(--near)}
.cover--blue{background:linear-gradient(rgba(43,43,46,.09) max(1px,.08cqw),transparent 0) 0 0 / 5cqw 5cqw,linear-gradient(90deg,rgba(43,43,46,.09) max(1px,.08cqw),transparent 0) 0 0 / 5cqw 5cqw,#EFEADD}
.cv-svg{inset:0;width:100%;height:100%}
.cv-plan *{fill:none;stroke:#2B2B2E;stroke-width:max(1px,.12cqw);vector-effect:non-scaling-stroke}
.cv-plan .b-thin{stroke:rgba(43,43,46,.35)}
.cv-plan .b-dash{stroke:var(--orange);stroke-dasharray:1.2cqw .8cqw;animation:cvmarch 3s linear infinite}
.cv-plan .b-ring{stroke-dasharray:.4cqw 1cqw;transform-origin:118px 50px;animation:cvspin 60s linear infinite}
.cv-plan .b-or{stroke:var(--orange)}
.cv-plan .b-x{stroke-width:max(1.5px,.22cqw)}
.cv-plan .b-dot{fill:#2B2B2E;stroke:none}
.cover--orbit{background:var(--near);color:var(--cream)}
.cv-glow{position:absolute;inset:0;background:radial-gradient(circle 46cqw at 78% 72%,rgba(255,74,28,.4),rgba(200,16,46,.14) 50%,transparent 80%)}
.cv-orb{transform-origin:80px 50px;animation:cvspin linear infinite}
.cv-orb circle{fill:none;stroke:rgba(245,241,231,.28);stroke-width:max(1px,.1cqw);vector-effect:non-scaling-stroke}
.cv-core{fill:url(#coverGrad)}
@keyframes cvspin{to{transform:rotate(360deg)}}
@keyframes cvmarch{to{stroke-dashoffset:-2cqw}}
@media(prefers-reduced-motion:reduce){.cover--neg *{animation-play-state:paused!important}}

/* ---------- more notes as cards, so each cover is big enough to carry its hook ---------- */
.ncards{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.6vw,40px);margin-top:clamp(28px,3.4vw,48px)}
/* the link stretches to the row's height as a flex item, so its -12px margins (the paper panel that
   shows on hover reaching past the card) are counted in. With the sample's height:100% the panel was
   24px shorter than its content, and the tallest card in each row (the longest summary) ran its meta
   line past the bottom edge (Navin, 21 Nov). */
.ncard{display:flex}
.ncard a{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:12px;padding:12px 12px 22px;margin:-12px;border-radius:calc(var(--r-lg) + 12px);color:inherit;text-decoration:none;transition:background .35s ease,box-shadow .35s ease,transform .6s var(--ease-out)}
.ncard a:hover,.ncard a:focus-visible{background:var(--paper);box-shadow:0 30px 60px -36px rgba(11,11,13,.4);transform:translateY(-4px);outline:0}
/* flex:none: the cover is size-contained (container-type:size), so in the card's column it would
   otherwise give way to a long title and lose its 16:10 */
.ncard .cover{flex:none;width:100%;aspect-ratio:16 / 10;margin-bottom:6px;box-shadow:0 24px 44px -30px rgba(11,11,13,.45)}
.ncard__title{padding-inline:4px;font-size:clamp(21px,1.8vw,28px);font-weight:700;letter-spacing:-.03em;line-height:1.1;text-wrap:balance}
.ncard__dek{padding-inline:4px;font-size:16px;line-height:1.45;color:var(--muted)}
.ncard .nmeta{margin-top:auto;padding:6px 4px 0}
@media(max-width:1100px){.ncards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ncards{grid-template-columns:1fr}}

/* ---------- a hook keeps its space clear (Navin, 21 Nov: "the hook must not touch the art").
   The builder marks a cover that has a hook .cover--hook. The halftone and horizon art stays on
   the right anyway. On the blueprint, the horizontal axis line starts where the drawing does
   (tools/blog-build.mjs) and the hook is kept a little narrower, so a long line can't reach the
   dotted ring. On the orbit, whose outer rings and their small X marks sweep the whole cover,
   the art fades out behind the hook. tools/note-cover.html (the share image) does the same. ---------- */
.cover--hook.cover--blue .cover__hook{max-width:40cqw}
.cover--hook.cover--orbit .cv-svg{-webkit-mask-image:radial-gradient(ellipse 42cqw 22cqw at 29cqw 46%,transparent 78%,#000 100%);mask-image:radial-gradient(ellipse 42cqw 22cqw at 29cqw 46%,transparent 78%,#000 100%)}

/* ---------- SHARE (SHARE-ADDENDUM.md, 21 Nov): Copy link, LinkedIn, X, Facebook, Instagram as round
   icon buttons, in the contents rail on desktop and in a row after the article everywhere. The
   icons (Font Awesome Free, cut down to six, self-hosted) are defined with the footer's social
   icons in css/style.css, ICONS, since the footer is on every page. ---------- */
.toc__share{margin-top:28px;padding-top:20px;border-top:1px solid rgba(11,11,13,.12)}
.share__rail,.share__row{list-style:none;display:flex;flex-wrap:wrap;gap:10px}
.share__rail{margin-top:12px;gap:8px}
.toc .share__rail a,.share__rail button,.share__row a,.share__row button{display:inline-grid;place-items:center;width:46px;height:46px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 1.5px rgba(11,11,13,.2);font-size:18px;color:var(--near);text-decoration:none;cursor:pointer;transition:background .3s ease,color .3s ease,box-shadow .3s ease,transform .5s var(--ease-out)}
.toc .share__rail a,.share__rail button{width:38px;height:38px;font-size:15px}
.toc .share__rail a:hover,.share__rail button:hover,.share__row a:hover,.share__row button:hover{background:var(--near);color:var(--cream);box-shadow:none;transform:translateY(-2px)}
.share__row li:first-child button{background:var(--near);color:var(--cream);box-shadow:none}
.share [data-share-copy].is-done,.share__rail [data-share-copy].is-done{background:var(--orange);color:var(--near);box-shadow:none}
.share{grid-column:2;display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:clamp(48px,5.5vw,80px);padding-top:clamp(24px,3vw,36px);border-top:1px solid rgba(11,11,13,.16)}
.share__title{font-size:clamp(22px,2.2vw,30px);font-weight:800;letter-spacing:-.03em;line-height:1}
.share a:focus-visible,.share button:focus-visible,.share__rail a:focus-visible,.share__rail button:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.share__say{flex-basis:100%;min-height:1.4em;font-size:15px;color:var(--muted)}
.share + .author{margin-top:clamp(32px,4vw,56px)}
@media(max-width:900px){.share{grid-column:1}}
@media(prefers-reduced-motion:reduce){.share__rail :is(a,button),.share__row :is(a,button){transition:none}.share__rail :is(a,button):hover,.share__row :is(a,button):hover{transform:none}}

/* ---------- INDEX ---------- */
.nhero{padding:clamp(140px,19vh,200px) var(--edge) clamp(40px,5vw,72px)}
.nhero__in{max-width:var(--wrap);margin-inline:auto;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:clamp(32px,6vw,112px);align-items:end}
.nhero__title{font-size:clamp(84px,17vw,280px);font-weight:800;letter-spacing:-.06em;line-height:.8}
.nhero__title > span:not(.sr-only){display:block;overflow:hidden;padding-bottom:.1em;margin-bottom:-.1em}
.nhero__title i{display:inline-block;font-style:normal;transform:translateY(105%);animation:rise 1s var(--ease-out) forwards}
.nhero__side{display:flex;flex-direction:column;gap:clamp(20px,2.4vw,32px);padding-bottom:.6em;opacity:0;animation:in .9s var(--ease-out) .5s forwards}
.nhero__lead{font-size:clamp(20px,1.9vw,28px);font-weight:500;letter-spacing:-.012em;line-height:1.3;text-wrap:pretty}
.nhero__page{white-space:nowrap;color:var(--muted)}
/* the latest note: a paper panel lifted off the page, with the cover breaking out of its edge */
.nfeat{padding:clamp(48px,6vw,96px) var(--edge) 0}
.nfeat__in{max-width:var(--wrap);margin-inline:auto}
.nfeat__card{position:relative;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:clamp(28px,4vw,72px);align-items:center;padding:clamp(20px,2.4vw,36px);padding-left:0;border-radius:calc(var(--r-lg) * 1.4);background:var(--paper);box-shadow:0 1px 0 rgba(11,11,13,.04),0 50px 90px -50px rgba(11,11,13,.38);color:inherit;text-decoration:none}
.nfeat__card .cover{aspect-ratio:16 / 10;margin:clamp(-36px,-2.4vw,-20px) 0 clamp(-36px,-2.4vw,-20px) clamp(-28px,-2vw,-16px);box-shadow:0 40px 70px -34px rgba(11,11,13,.6);transition:transform .9s var(--ease-out)}
.nfeat__card:hover .cover{transform:translateY(-6px) rotate(-.6deg)}
.nfeat__text{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(14px,1.6vw,22px);padding-right:clamp(8px,2vw,40px)}
.nfeat__title{font-size:clamp(30px,3.4vw,54px);font-weight:800;letter-spacing:-.04em;line-height:1;text-wrap:balance}
.nfeat__dek{font-size:clamp(17px,1.4vw,20px);line-height:1.5;color:rgba(11,11,13,.78);text-wrap:pretty}
.nmeta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:15px;color:var(--muted)}
.nmeta > span:not(:last-child)::after{content:"";display:inline-block;width:4px;height:4px;margin-left:14px;border-radius:50%;background:currentColor;vertical-align:middle;opacity:.6}
.nfeat__card:focus-visible{outline:2px solid var(--orange);outline-offset:6px}
/* the rest */
.nlist{padding:clamp(96px,11vw,150px) var(--edge) clamp(96px,12vw,170px)}
.nlist__in{max-width:var(--wrap);margin-inline:auto}
.nlist__title{font-size:clamp(34px,4.1vw,60px);font-weight:700;letter-spacing:-.035em;line-height:1}
.nlist__all{margin-top:clamp(40px,5vw,64px)}
/* the page numbers, once there are more than nine notes */
.npager{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:clamp(48px,6vw,80px);font-size:16px}
.npager ol{display:flex;gap:6px;list-style:none}
.npager ol a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding-inline:12px;border:1px solid transparent;border-radius:999px;transition:border-color .2s ease}
.npager ol a:hover{border-color:rgba(11,11,13,.14)}
.npager ol a[aria-current]{background:var(--near);color:var(--cream)}

/* ---------- ARTICLE ---------- */
.nbar{position:fixed;z-index:60;left:0;top:0;height:3px;width:100%;transform-origin:0 50%;transform:scaleX(var(--read,0));background:linear-gradient(90deg,var(--gold),var(--orange) 45%,var(--seal))}
.phero{position:relative;overflow:hidden;background:var(--near);color:var(--cream);padding:clamp(150px,20vh,220px) var(--edge) clamp(150px,15vw,230px);isolation:isolate;--mx:0;--my:0}
.phero .cover__glow{inset:-10% -10% -30% 30%;--gx:62%;--gy:40%}
.phero .cover__dots{-webkit-mask-image:linear-gradient(100deg,transparent 45%,#000 100%);mask-image:linear-gradient(100deg,transparent 45%,#000 100%)}
.phero .cover__x--1{width:min(46vw,640px);left:auto;right:-6%;top:-14%}
.phero .cover__x--2{width:min(22vw,300px);left:auto;right:30%;top:auto;bottom:-10%}
.phero .cover__x--3{width:min(8vw,110px);left:auto;right:9%;top:auto;bottom:16%}
.phero__in{position:relative;z-index:1;max-width:var(--wrap);margin-inline:auto}
.crumbs ol{display:flex;flex-wrap:wrap;gap:10px;list-style:none;font-size:15px;font-weight:600;color:rgba(245,241,231,.62)}
.crumbs li + li::before{content:"/";margin-right:10px}
.crumbs a{color:inherit;text-decoration:none}
.crumbs a:hover{color:var(--cream)}
.phero__title{max-width:17ch;margin-top:clamp(20px,2.4vw,32px);font-size:clamp(40px,6.4vw,104px);font-weight:800;letter-spacing:-.045em;line-height:.94;text-wrap:balance}
.phero__title span{display:block;overflow:hidden;padding-bottom:.12em;margin-bottom:-.12em}
.phero__title i{display:inline-block;font-style:normal;transform:translateY(105%);animation:rise 1s var(--ease-out) forwards}
.phero__dek{max-width:46ch;margin-top:clamp(20px,2.4vw,32px);font-size:clamp(19px,1.8vw,26px);font-weight:500;line-height:1.35;color:rgba(245,241,231,.82);text-wrap:pretty;opacity:0;animation:in .9s var(--ease-out) .5s forwards}
.byline{display:flex;align-items:center;gap:14px;margin-top:clamp(28px,3.2vw,44px);opacity:0;animation:in .9s var(--ease-out) .65s forwards}
.byline img,.byline__mark{flex:none;width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:50% 18%;box-shadow:0 0 0 2px rgba(245,241,231,.25)}
.byline__mark{display:grid;place-items:center;background:var(--cream);color:var(--near)}
.byline b{display:block;font-size:17px;font-weight:700}
.byline b a{color:inherit;text-decoration:none}
.byline p > span{display:block;font-size:15px;color:rgba(245,241,231,.62)}
.pbody{padding:0 var(--edge) clamp(96px,12vw,170px)}
.pbody__in{max-width:var(--wrap);margin-inline:auto;display:grid;grid-template-columns:minmax(0,3fr) minmax(0,7fr) minmax(0,2fr);column-gap:clamp(28px,4vw,72px);align-items:start}
/* the short answer sits half on the dark band, half on the page */
.short{grid-column:2;position:relative;z-index:2;overflow-wrap:break-word;margin-top:clamp(-150px,-9vw,-90px);padding:clamp(24px,3vw,44px);border-radius:calc(var(--r-lg) * 1.2);background:var(--paper);box-shadow:0 1px 0 rgba(11,11,13,.04),0 50px 90px -44px rgba(11,11,13,.55)}
.short__label{display:flex;align-items:center;gap:12px;font-size:clamp(20px,1.8vw,26px);font-weight:800;letter-spacing:-.025em}
.short__label svg{width:18px;height:18px;color:var(--orange)}
.short p{margin-top:14px;font-size:clamp(18px,1.5vw,22px);font-weight:500;line-height:1.5;text-wrap:pretty}
.short :is(ul,ol){margin-top:14px;padding-left:1.25em;font-size:clamp(18px,1.5vw,22px);font-weight:500;line-height:1.5}
.toc{grid-column:1;grid-row:1 / span 2;position:sticky;top:120px;padding-top:clamp(40px,5vw,72px)}
.toc__title{font-size:15px;font-weight:700}
.toc ol{list-style:none;margin-top:14px;border-left:2px solid rgba(11,11,13,.12)}
.toc a{position:relative;display:block;padding:9px 0 9px 18px;margin-left:-2px;border-left:2px solid transparent;font-size:15px;line-height:1.35;color:var(--muted);text-decoration:none;transition:color .3s ease,border-color .3s ease}
.toc a:hover{color:var(--near)}
.toc a.is-on{color:var(--near);font-weight:700;border-left-color:var(--orange)}
.toc__left{margin-top:20px;font-size:14px;color:var(--muted)}
.prose{grid-column:2;padding-top:clamp(48px,6vw,88px);overflow-wrap:break-word}
.prose h2{margin:clamp(56px,6.5vw,96px) 0 clamp(18px,2vw,26px);font-size:clamp(30px,3.4vw,50px);font-weight:800;letter-spacing:-.04em;line-height:1;text-wrap:balance;scroll-margin-top:110px}
.prose h2:first-child{margin-top:0}
.prose p{margin-top:1.1em;font-size:clamp(18px,1.45vw,21px);line-height:1.65;text-wrap:pretty}
.prose h2 + p{margin-top:0}
.prose .pull{margin:clamp(32px,4vw,56px) 0;padding-left:clamp(18px,2vw,28px);border-left:3px solid var(--orange);font-size:clamp(28px,3.4vw,52px);font-weight:800;letter-spacing:-.04em;line-height:1.02;text-wrap:balance}
.asks{list-style:none;margin:clamp(24px,3vw,40px) 0;display:grid;row-gap:14px}
.asks li{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:clamp(16px,2vw,28px);align-items:start;padding:clamp(20px,2.4vw,32px);border-radius:var(--r-lg);background:var(--paper);box-shadow:0 26px 50px -36px rgba(11,11,13,.4);transition:transform .6s var(--ease-out),box-shadow .4s ease}
.asks li:hover{transform:translateY(-4px);box-shadow:0 36px 60px -34px rgba(11,11,13,.5)}
.asks svg{width:22px;height:22px;margin-top:.35em;color:var(--orange)}
.asks__q{display:block;font-size:clamp(22px,2.2vw,32px);font-weight:800;letter-spacing:-.03em;line-height:1.08}
.asks__a{display:block;margin-top:8px;font-size:clamp(17px,1.35vw,20px);line-height:1.55}
.prose .faq__list{margin-top:8px}
.author{grid-column:2;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:clamp(18px,2.4vw,32px);align-items:center;margin-top:clamp(56px,6.5vw,96px);padding:clamp(18px,2vw,28px);border-radius:calc(var(--r-lg) * 1.2);background:var(--near);color:var(--cream);box-shadow:0 40px 70px -40px rgba(11,11,13,.6)}
/* height:auto, so the img's height attribute can't override the square (the sample's portrait ran tall) */
.author img,.author__mark{width:clamp(96px,11vw,150px);height:auto;aspect-ratio:1;border-radius:var(--r-lg);object-fit:cover;object-position:50% 16%}
.author__mark{display:grid;place-items:center;background:#17171a;color:var(--cream)}
.author__name{display:block;font-size:clamp(24px,2.4vw,36px);font-weight:800;letter-spacing:-.03em;line-height:1}
.author__name a{color:inherit;text-decoration:none}
.author__role{display:block;margin-top:6px;font-size:16px;color:rgba(245,241,231,.66)}
/* the micro bio between the role and the LinkedIn link (SHARE-ADDENDUM.md), as the sample sets it */
.author .author__bio{max-width:46ch;margin-top:14px;font-size:clamp(16px,1.3vw,18px);line-height:1.5;color:rgba(245,241,231,.88);text-wrap:pretty}
.author__bio--placeholder{font-style:italic}
.author .ilink{margin-top:16px;color:var(--cream)}
.more{padding:0 var(--edge) clamp(96px,12vw,170px)}
.more .nlist__in{padding-top:clamp(40px,5vw,72px);border-top:1px solid rgba(11,11,13,.16)}

/* ---------- what else a note's body can hold (carried over from css/notes.css) ---------- */
/* one link style for running text: underlined, so links never rely on colour alone */
:where(.short,.prose) a:not(.ilink){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em;
  text-decoration-color:color-mix(in srgb,currentColor 45%,transparent);transition:text-decoration-color .2s ease}
:where(.short,.prose) a:not(.ilink):hover{text-decoration-color:currentColor;text-decoration-thickness:2px}
.prose strong{font-weight:700}
.prose > h3{margin-top:1.8em;font-size:clamp(21px,1.8vw,26px);font-weight:700;letter-spacing:-.02em;line-height:1.25;scroll-margin-top:110px}
.prose > h3 + p{margin-top:.55em}
.prose > :is(ul,ol):not(.asks,.nsources){margin-top:1.1em;padding-left:1.3em;font-size:clamp(18px,1.45vw,21px);line-height:1.65}
.prose > :is(ul,ol):not(.asks,.nsources) li + li{margin-top:.5em}
.prose li::marker{color:var(--muted)}
.prose blockquote{margin-top:1.1em;padding-left:1.1em;border-left:1px solid rgba(11,11,13,.14);font-size:clamp(19px,1.6vw,22px);line-height:1.5}
.prose blockquote p{margin-top:0;font-size:inherit}
:where(.short,.prose) code{font-family:inherit;font-size:.94em;background:var(--tint);padding:.08em .32em;border-radius:4px;overflow-wrap:anywhere}
.prose pre{margin-top:1.1em;background:var(--tint);padding:18px 20px;border-radius:4px;overflow-x:auto;font-size:15px;line-height:1.6}
.prose pre code{background:none;padding:0;font-size:inherit;white-space:pre;overflow-wrap:normal}
/* tables scroll inside their own box on narrow screens; the page never does */
/* position:relative keeps the links' screen-reader notes (absolute) inside the scrolling box */
.ntable{position:relative;overflow-x:auto;margin-block:1.6em;border-top:1px solid var(--near)}
.ntable:focus-visible{outline:2px solid var(--ring);outline-offset:4px}
.ntable table{width:100%;min-width:520px;border-collapse:collapse;font-size:16px;line-height:1.45}
.ntable th{text-align:start;vertical-align:bottom;font-weight:700;padding:14px 20px 12px 0;border-bottom:1px solid var(--near)}
.ntable td{vertical-align:top;padding:12px 20px 12px 0;border-bottom:1px solid rgba(11,11,13,.14)}
.ntable tr:last-child td{border-bottom:0}
.ntable :is(th,td):last-child{padding-right:0}
.prose .ntable + p:has(> em:only-child){margin-top:-.6em;font-size:15px;color:var(--muted)}
/* From our work: a dark block inside the note */
.nwork{margin-top:clamp(48px,5vw,72px);padding:clamp(24px,3vw,40px);border-radius:var(--r-lg);background:var(--near);color:var(--cream)}
.prose .nwork h2{margin:0 0 12px;font-size:clamp(24px,2.2vw,30px)}
.nwork p{margin-top:1em}
.nwork h2 + p{margin-top:0}
.nwork--placeholder{background:transparent;color:var(--muted);outline:1.5px dashed currentColor;outline-offset:-1.5px}
.nwork--placeholder h2{color:var(--near)}
.nwork__note{font-size:15px;font-weight:600;color:var(--near)}
/* sources */
.nsources{padding-left:1.5em;font-size:15px;line-height:1.55;color:var(--muted)}
.nsources li{padding-block:5px}
.nsources a{color:var(--near);overflow-wrap:anywhere}
/* the note's own closing line, linking to the briefing */
.prose .nclosing{margin-top:clamp(40px,5vw,64px);font-size:clamp(22px,2.3vw,30px);font-weight:600;letter-spacing:-.015em;line-height:1.3}

/* the post's related site pages, at the end of the body */
.prose .nmore{margin-top:clamp(28px,3vw,40px);font-size:16px;color:var(--muted)}

/* (the closing section, every Notes page, is the short brief since 22 Nov 2026: css/sentence-form.css,
   written by tools/short-brief.mjs through tools/blog-build.mjs. The .nclose styles are gone.) */

/* ---------- the author page: the note header, holding the author ---------- */
.phero--author{padding-bottom:clamp(80px,9vw,128px)}
.phero--author .phero__title{max-width:none}
.phero--author .byline{flex-wrap:wrap}

/* ---------- draft preview only (never in production) ---------- */
.ndraftbar{position:fixed;z-index:130;bottom:16px;left:16px;max-width:calc(100% - 32px);padding:10px 16px;border-radius:999px;background:var(--near);color:var(--cream);font-size:14px;font-weight:600;box-shadow:0 6px 24px rgba(11,11,13,.18)}

@media(max-width:900px){
  .nhero__in{grid-template-columns:1fr;row-gap:28px}
  .nfeat__card{grid-template-columns:1fr;padding:0 0 clamp(20px,5vw,32px)}
  .nfeat__card .cover{margin:-14px -8px 22px}
  .nfeat__text{padding-inline:clamp(18px,5vw,28px)}
  .pbody__in{grid-template-columns:minmax(0,1fr)}   /* minmax: a long word in the short answer can't widen the page */
  .short,.prose,.author{grid-column:1}
  .toc{display:none}
  .phero .cover__x--1{width:90vw;right:-40%;top:-6%;opacity:.5}
  .phero .cover__x--2,.phero .cover__x--3{display:none}
}
@media(max-width:760px){
  .ndraftbar{bottom:10px;left:10px;max-width:calc(100% - 20px);padding:7px 12px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  .nhero__title i,.nhero__side,.phero__title i,.phero__dek,.byline{animation:none;opacity:1;transform:none}
  .cover__x,.cover__glow,.cv-ht,.cv-sun,.nfeat__card .cover,.ncard a,.asks li{transition:none}
  .nfeat__card:hover .cover,.asks li:hover{transform:none}
}
