/* ===========================================================================
   Hackerman — site layer for the 2nd review  (prototype v3.1, identity v0.5.1)
   Loaded after site.css on every public page. Each block names the review
   point it answers.
   =========================================================================== */
:root { --nav-fs: clamp(15px, 1vw, 18px); }

/* ---- Nav ------------------------------------------------------------------
   Logo: the wordmark's x-height is 8/42 of the logo's height, Satoshi's is 0.5em,
   so 2.625 × the nav font size makes "hackerman" exactly the nav items' size.  */
.nav__logo img { height: calc(var(--nav-fs) * 2.625); width: auto; }
.pill a, .pill button { font-size: var(--nav-fs); }
.pill a { transition: background-color var(--dur-3) var(--ease-out), color var(--dur-2); }
.nav .btn { font-size: var(--nav-fs); }

/* ---- Hero: a quiet field of squares behind, clear around the copy ---------- */
.hero-band { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-band .hero { position: relative; z-index: 1; min-height: calc(100svh - var(--nav-h)); }
.mode__menu { min-width: 300px; }
.mode__menu button { font-size: 16px; }
.mode__menu button small { font-size: 14px; }

/* ---- Field: chips, hover tooltip, live count ----------------------------- */
.fieldband { position: relative; }
.fieldband__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: clamp(20px, 2vw, 32px); }
.fchip { position: relative; overflow: hidden; height: 38px; padding: 0 14px; border: 0; border-radius: var(--r-s); background: rgba(255,255,255,.55); color: var(--ink-2); font: var(--w-regular) 14px/1 var(--font); cursor: pointer; transition: background-color var(--dur-2), color var(--dur-2); }
.fchip:hover { background: var(--raised); color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--raised); color: var(--ink); }
.fchip__t { position: relative; z-index: 1; }
/* the active chip's time remaining, as an orange bar along its foot */
.fchip__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--orange); opacity: 0; }
.fchip[aria-pressed="true"] .fchip__bar { opacity: 1; }
.fieldband__plot canvas { width: 100%; display: block; cursor: crosshair; }
.fieldband__cap { font-size: 15px; }
.fieldband__q b { font-weight: var(--w-medium); font-variant-numeric: tabular-nums; color: var(--orange-ink); }
.fieldtip, .grain > .fieldtip { position: absolute; z-index: 5; pointer-events: none; min-width: 180px; padding: 10px 12px; border-radius: var(--r-s); background: var(--action); color: #F2F1EE; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(4px); transition: opacity var(--dur-1), transform var(--dur-1); }
.fieldtip.is-on { opacity: 1; transform: none; }
.fieldtip b { font-weight: var(--w-medium); }
.fieldtip span { display: flex; align-items: center; gap: 8px; margin-top: 2px; color: #C9C7C2; }
.fieldtip em { font-style: normal; color: var(--orange); }
.fieldtip .st { width: 8px; height: 8px; background: var(--c); }
.st--active { --c: var(--st-active); } .st--acquired { --c: var(--st-acquired); } .st--public { --c: var(--st-public); } .st--inactive { --c: var(--st-inactive); }

/* ---- Stat strip: three equal columns, centred, descriptions of equal length - */
.proof { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: clamp(32px, 3.4vw, 56px); }
@media (min-width: 760px) { .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); } }
@media (min-width: 1100px) { .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.proof__i { justify-items: center; text-align: center; align-content: start; gap: clamp(16px, 1.6vw, 24px); }
.proof__i p { font-size: clamp(17px, .95rem + .3vw, 20px); line-height: 1.45; color: var(--ink-2); max-width: 24ch; text-wrap: balance; }

/* ---- Section heads: orange carries the emphasis (no grey) ------------------ */
.sec__head h2 { max-width: 22ch; text-wrap: balance; }
#how .sec__head h2 { max-width: 28ch; }
.sec__head .t-lede { color: var(--ink-2); max-width: 52ch; }
.t-dim { color: inherit; }

/* ---- Thumbnails: generative square art ------------------------------------- */
.thumb--art { background: #1F1F1D; }
.thumb--art::after { display: none; }
.thumb--art .art__cv { position: absolute; inset: 0; display: block; }
.thumb--art .tag { z-index: 2; }
.thumb--art[data-art="field"] { background: var(--field); }
.thumb--art[data-art="orange"], .thumb--art[data-art="orange-white"] { background: var(--orange); }
.thumb--art[data-art="white"] { background: #FFFFFF; }
.thumb--art[data-art="wash"] { background: var(--orange-wash); }
.thumb--art[data-art^="plate-"] { background: var(--plate); }
.thumb--art[data-art^="plate-"] .tag--plate { background: #FFFFFF; color: var(--ink); }
.thumb--art[data-art="wash"] .tag--plate { background: var(--orange); color: #FFFFFF; }
/* the tag on report art stays in the same two colours */
.thumb--art[data-art="orange-white"] .tag--plate { background: #FFFFFF; color: var(--orange-ink); }
.thumb--art[data-art="white"] .tag--plate { background: var(--orange); color: #FFFFFF; }

/* ---- How it works ----------------------------------------------------------- */
.how-cells > .how { display: flex; flex-direction: column; gap: clamp(18px, 1.8vw, 26px); }
.how__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.how__chat { display: grid; gap: clamp(16px, 1.6vw, 22px); align-content: start; }
.how__q { justify-self: end; background: var(--paper) !important; border-radius: var(--r-m); padding: 12px 16px; font-size: 17px; max-width: 92%; }
.how__lead { font-size: clamp(20px, 1.5vw, 26px); }
.how__work { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; color: var(--ink-3); }
.how__work li { display: flex; align-items: center; gap: 10px; }
.how__work li::before { content: ""; width: 8px; height: 8px; background: var(--orange); }
.how__work b { font-weight: var(--w-medium); color: var(--ink); }
.how__work.is-done li::before { background: var(--lime); box-shadow: inset 0 0 0 1px rgba(20,20,20,.14); }
/* the foot sits on the card's bottom edge in both cards: same place, no box */
.how__foot { margin-top: auto; display: grid; gap: 14px; justify-items: start; padding: 6px 0 0; background: none; border-radius: 0; }
.how__foot .how__src { font-size: 14px; color: var(--ink-3); margin: 0; }
.steps-l li { font-size: 16px; }
/* playback states: before the card is reached, only the frame shows */
.how.is-armed [data-step] { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.how.is-armed [data-step].is-on { opacity: 1; transform: none; }
.how.is-armed [data-sub] { opacity: 0; transform: translateX(-6px); transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out); }
.how.is-armed [data-sub].is-on { opacity: 1; transform: none; }
.how.is-armed .how__q.is-on { animation: hk-bubble 520ms var(--ease-out); }
@keyframes hk-bubble { from { transform: translateY(10px) scale(.96); transform-origin: right bottom; } to { transform: none; } }
.how.is-armed .hk-fig rect { transition: none; }
.how.is-armed .hk-fig:not(.is-drawn) rect { opacity: 0; }
.how.is-armed .how__foot { opacity: 0; transition: opacity 500ms var(--ease-out); }
.how.is-played .how__foot { opacity: 1; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: var(--orange); animation: hk-blink 900ms steps(1) infinite; }

/* "What you can rely on": one card, three parts, grounded under the two exchanges */
.feats.card { margin-top: var(--gap); padding-top: clamp(28px, 3vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px clamp(24px, 3vw, 56px); }
@media (min-width: 860px) { .feats.card { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feats .feat h3 { font-size: clamp(18px, 1rem + .3vw, 21px); }
.feats .feat p { font-size: 16px; }

/* ---- Stories -------------------------------------------------------------- */
.rcard h3 { text-wrap: balance; }
.rcard p { font-size: 16px; line-height: 1.45; }
.rcard .meta { font-size: 15px; }
.rcard--feat p { font-size: var(--fs-lede); }
.inprog__l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.inprog__l li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-m); background: rgba(255,255,255,.6); font-size: var(--fs-h4); font-weight: var(--w-head); letter-spacing: -.01em; color: var(--ink-2); }
.inprog__l li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--line-strong); }

/* ---- MCP: a quieter row card --------------------------------------------- */
#mcp { padding-top: var(--section-y); }
.mcp2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
@media (min-width: 900px) { .mcp2 { grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 2.4vw, 40px); } }
.mcp2__icon { width: 72px; height: 72px; border-radius: var(--r-m); background: var(--paper); display: grid; place-items: center; }
.mcp2__txt { display: grid; gap: 10px; }
.mcp2__txt h2 { margin: 0; }
.mcp2__txt p { margin: 0; font-size: 16px; color: var(--ink-2); max-width: 60ch; }

/* ---- CTA: beige field (the old MCP band look), grey squares that gather around the cursor */
#ask { padding-top: clamp(40px, 4vw, 72px); }
.cta2 { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--field); min-height: clamp(460px, 40vw, 640px); display: grid; place-items: center; text-align: center; }
.grain > .cta2__cloud, .cta2__cloud { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cta2__txt { position: relative; z-index: 1; display: grid; justify-items: center; gap: clamp(20px, 2.4vw, 32px); padding: clamp(48px, 5vw, 96px) var(--card-pad); width: min(100%, 980px); }
.cta2__h { font-size: clamp(2.5rem, 1rem + 3.6vw, 5rem); color: var(--ink); max-width: 14ch; }
.cta2 .ask { width: 100%; }
.cta2 .ask:focus-within { box-shadow: inset 0 0 0 1px var(--ink); }
.cta2 .hk-ask-chip { background: var(--raised); }
.eyebrow--ink { color: var(--ink); }
.eyebrow--ink::before { background: var(--ink); }

/* ---- Footer --------------------------------------------------------------- */
footer.on-dark { margin-top: var(--section-y); }
.foot2 { background: #0E0E0D; color: #F2F1EE; overflow: hidden; }
.foot2 .frame { padding-top: clamp(72px, 7vw, 136px); }
.foot2__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 860px) { .foot2__top { grid-template-columns: minmax(0, 1.6fr) minmax(0, .6fr) minmax(0, .6fr); gap: clamp(40px, 5vw, 96px); } }
.foot2__brand { display: grid; gap: 28px; align-content: start; }
.foot2__logo { height: clamp(44px, 3.4vw, 60px); width: auto; justify-self: start; }
.foot2__brand p { margin: 0; max-width: 34ch; font-size: clamp(18px, 1rem + .35vw, 21px); line-height: 1.55; color: #E4E2DD; }
.foot2__social { display: flex; gap: 12px; }
.foot2__social a { width: 46px; height: 46px; border-radius: 50%; background: #F2F1EE; color: #0E0E0D; display: grid; place-items: center; transition: background-color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.foot2__social a:hover { background: var(--orange); transform: translateY(-2px); }
.foot2__social svg { width: 20px; height: 20px; }
.foot2__col :is(h4, .foot2__h) { margin: 0 0 22px; font: var(--w-medium) clamp(17px, 1rem + .2vw, 19px)/1.2 var(--font); color: #F2F1EE; }
.foot2__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.foot2__col a { font-size: clamp(17px, 1rem + .2vw, 19px); color: #BEBCB6; text-decoration: none; transition: color var(--dur-1); }
.foot2__col a:hover { color: var(--orange); }
.foot2__bot { margin-top: clamp(64px, 6vw, 112px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 15px; color: #8D8A84; }
.foot2__legal { display: flex; gap: 24px; }
.foot2__legal a { color: inherit; text-decoration: none; } .foot2__legal a:hover { color: #F2F1EE; }
/* the giant dot-matrix wordmark, bleeding off the bottom edge */
.foot2__mark { margin-top: clamp(32px, 3vw, 56px); padding-inline: max(var(--pad), (100% - var(--frame-max)) / 2 + var(--pad)); margin-bottom: -1.2vw; }
.foot2__cv { display: block; width: 100%; cursor: crosshair; }
/* phones: the CTA's content must shrink inside the card; long chips wrap */
.cta2 { grid-template-columns: minmax(0, 1fr); }
.cta2__txt { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.cta2 .hk-ask-chip { white-space: normal; text-align: left; max-width: 100%; }
.cta2 .chips { max-width: 100%; }
@media (max-width: 640px) { .cta2__txt { padding-inline: 18px; } .cta2 .chips { justify-content: center; } }

/* 18 Nov: the Ask Hackerman CTA runs full width, edge to edge (no card), and
   sits flush on the footer so the page ends on one continuous band. */


/* 18 Nov: the hero background fades out instead of stopping at a hard edge,
   and the field card gets room of its own below the hero */
.hero__bg { -webkit-mask-image: linear-gradient(#000 0, #000 62%, transparent 100%); mask-image: linear-gradient(#000 0, #000 62%, transparent 100%); }
.hero-band { overflow: visible; }
#field { padding-top: clamp(24px, 3vw, 56px); }

/* 18 Nov (b): a slimmer nav (72 → 60px at 1440). At rest it is almost clear,
   with the hero's squares running up behind it; once the page scrolls it
   frosts to the full value (site.css .nav.is-scrolled: 80% / blur 8px). */
:root { --nav-h: clamp(54px, 4.2vw, 80px); }
.nav { background: color-mix(in srgb, var(--paper) 35%, transparent); -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); transition: background-color var(--dur-3), backdrop-filter var(--dur-3); }
.nav.is-scrolled { background: color-mix(in srgb, var(--paper) 80%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-band { margin-top: calc(-1 * var(--nav-h)); }
.hero-band .hero { min-height: 100svh; padding-top: calc(var(--nav-h) + clamp(56px, 9vh, 140px)); }

/* 18 Nov: report titles take the same share of their container (about two
   thirds, balanced over two lines), so Harbor, Squid and InstaAgent match. */
@media (min-width: 640px) { #reports .rcard:not(.rcard--feat) h3 { max-width: 16.6em; text-wrap: pretty; } }

/* 18 Nov (c): near-full-width bands. The field band and the Ask Hackerman box
   sit a small gap (--edge) from the window edges. Inside, text keeps to the page
   margins (--inset), while the field's squares use almost the whole band. */
:root {
  --edge: clamp(8px, 1vw, 16px);
  --inset: calc(max(var(--out), (100vw - var(--frame-max)) / 2) + var(--pad) - var(--edge));
}
.edge { padding-inline: var(--edge); }
.fieldband { padding: clamp(32px, 3.4vw, 64px) var(--inset); }   /* equal top and bottom */
.fieldband__plot { margin-inline: calc(var(--edge) * 2 - var(--inset)); }
#ask .cta2 { border-radius: var(--r-xl); min-height: clamp(520px, 44vw, 720px); }
#ask { padding-bottom: var(--edge); }
body:has(#ask) footer.on-dark { margin-top: 0; }

/* 18 Nov (d): field questions as five equal tabs in one row, so they read as a
   balanced set (was 4 + 1 when wrapping). Below 1100px they become a single
   swipeable row of the same tabs. */
.fieldband__chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.fchip { height: auto; min-height: 64px; padding: 12px 14px 14px; display: flex; align-items: flex-start; text-align: left; line-height: 1.35; font-size: 15px; }
.fchip__t { text-wrap: wrap; }   /* first line fills; the last two words are bound (home.js), so line 2 never holds one word */
.fchip__bar { height: 3px; }
@media (max-width: 1279px) {
  .fieldband__chips { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--inset)); padding-inline: var(--inset); scroll-padding-inline: var(--inset); }
  .fieldband__chips::-webkit-scrollbar { display: none; }
  .fchip { flex: 0 0 min(220px, 62vw); scroll-snap-align: start; }
}

/* 18 Nov: How it works title in three lines, the first ending on "seconds."
   (measured: that sentence is 19.55em; 20em fits it and keeps line 2 to
   "…an afternoon's"). The head column is released from its 860px cap. */
#how .sec__head > div { max-width: none; }
#how .sec__head h2 { max-width: 20em; text-wrap: wrap; }
/* 18 Nov: the narrowest five-tab widths (1280–1439) get slightly tighter tab padding,
   so every question stays on two lines with the letter roll applied */
@media (min-width: 1280px) and (max-width: 1439px) { .fchip { padding-inline: 12px; } .fieldband__chips { gap: 6px; } }

/* 18 Nov: story thumbnails on beige, with slightly darker beige squares */
.thumb--art[data-art^="beige"] { background: var(--field); }

/* 18 Nov: the stat strip closes on a centred ask, spanning all three columns */
.proof__cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: clamp(12px, 1.6vw, 24px); padding: 18px 18px 18px 26px; justify-self: center; border-radius: var(--r-l); background: var(--paper); }
.proof__cta p { margin: 0; font-size: clamp(16px, .95rem + .2vw, 18px); color: var(--ink); text-align: center; }
@media (max-width: 759px) { .proof__cta { padding: 20px; flex-direction: column; } }
/* 18 Nov (b): the ask row runs the full width of the stat card, text left, button right */
.proof__cta { justify-self: stretch; justify-content: space-between; padding: 18px 18px 18px 28px; }
.proof__cta p { text-align: left; }
@media (max-width: 759px) { .proof__cta { justify-content: center; } .proof__cta p { text-align: center; } }
.thumb--art[data-art^="beige"] .tag--plate { background: #FFFFFF; color: var(--ink); }

/* 18 Nov: clearer pixel icons for the How it works card (13 x 13 grid, 3px per
   square). Source: _src/pix-icons.js (page + check / speech bubble with a question
   mark / arrow into a tray). These override the 5 x 5 marks in site.css. */
:root {
  --m-src: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2013%2013%27%3E%3Cpath%20d%3D%27M0%200h.86v.86h-.86zM1%200h.86v.86h-.86zM2%200h.86v.86h-.86zM3%200h.86v.86h-.86zM4%200h.86v.86h-.86zM0%201h.86v.86h-.86zM4%201h.86v.86h-.86zM5%201h.86v.86h-.86zM0%202h.86v.86h-.86zM4%202h.86v.86h-.86zM6%202h.86v.86h-.86zM0%203h.86v.86h-.86zM4%203h.86v.86h-.86zM5%203h.86v.86h-.86zM6%203h.86v.86h-.86zM0%204h.86v.86h-.86zM6%204h.86v.86h-.86zM0%205h.86v.86h-.86zM2%205h.86v.86h-.86zM3%205h.86v.86h-.86zM4%205h.86v.86h-.86zM6%205h.86v.86h-.86zM0%206h.86v.86h-.86zM6%206h.86v.86h-.86zM0%207h.86v.86h-.86zM2%207h.86v.86h-.86zM3%207h.86v.86h-.86zM4%207h.86v.86h-.86zM6%207h.86v.86h-.86zM12%207h.86v.86h-.86zM0%208h.86v.86h-.86zM6%208h.86v.86h-.86zM11%208h.86v.86h-.86zM12%208h.86v.86h-.86zM0%209h.86v.86h-.86zM2%209h.86v.86h-.86zM3%209h.86v.86h-.86zM6%209h.86v.86h-.86zM8%209h.86v.86h-.86zM10%209h.86v.86h-.86zM11%209h.86v.86h-.86zM0%2010h.86v.86h-.86zM6%2010h.86v.86h-.86zM8%2010h.86v.86h-.86zM9%2010h.86v.86h-.86zM10%2010h.86v.86h-.86zM0%2011h.86v.86h-.86zM6%2011h.86v.86h-.86zM9%2011h.86v.86h-.86zM0%2012h.86v.86h-.86zM1%2012h.86v.86h-.86zM2%2012h.86v.86h-.86zM3%2012h.86v.86h-.86zM4%2012h.86v.86h-.86zM5%2012h.86v.86h-.86zM6%2012h.86v.86h-.86z%27%2F%3E%3C%2Fsvg%3E") center/100% 100% no-repeat;
  --m-gap: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2013%2013%27%3E%3Cpath%20d%3D%27M1%200h.86v.86h-.86zM2%200h.86v.86h-.86zM3%200h.86v.86h-.86zM4%200h.86v.86h-.86zM5%200h.86v.86h-.86zM6%200h.86v.86h-.86zM7%200h.86v.86h-.86zM8%200h.86v.86h-.86zM9%200h.86v.86h-.86zM10%200h.86v.86h-.86zM11%200h.86v.86h-.86zM0%201h.86v.86h-.86zM12%201h.86v.86h-.86zM0%202h.86v.86h-.86zM5%202h.86v.86h-.86zM6%202h.86v.86h-.86zM7%202h.86v.86h-.86zM12%202h.86v.86h-.86zM0%203h.86v.86h-.86zM4%203h.86v.86h-.86zM8%203h.86v.86h-.86zM12%203h.86v.86h-.86zM0%204h.86v.86h-.86zM8%204h.86v.86h-.86zM12%204h.86v.86h-.86zM0%205h.86v.86h-.86zM7%205h.86v.86h-.86zM12%205h.86v.86h-.86zM0%206h.86v.86h-.86zM6%206h.86v.86h-.86zM12%206h.86v.86h-.86zM0%207h.86v.86h-.86zM12%207h.86v.86h-.86zM0%208h.86v.86h-.86zM6%208h.86v.86h-.86zM12%208h.86v.86h-.86zM0%209h.86v.86h-.86zM12%209h.86v.86h-.86zM1%2010h.86v.86h-.86zM2%2010h.86v.86h-.86zM3%2010h.86v.86h-.86zM4%2010h.86v.86h-.86zM6%2010h.86v.86h-.86zM7%2010h.86v.86h-.86zM8%2010h.86v.86h-.86zM9%2010h.86v.86h-.86zM10%2010h.86v.86h-.86zM11%2010h.86v.86h-.86zM4%2011h.86v.86h-.86zM6%2011h.86v.86h-.86zM4%2012h.86v.86h-.86zM5%2012h.86v.86h-.86z%27%2F%3E%3C%2Fsvg%3E") center/100% 100% no-repeat;
  --m-keep: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2013%2013%27%3E%3Cpath%20d%3D%27M6%200h.86v.86h-.86zM6%201h.86v.86h-.86zM6%202h.86v.86h-.86zM6%203h.86v.86h-.86zM3%204h.86v.86h-.86zM6%204h.86v.86h-.86zM9%204h.86v.86h-.86zM4%205h.86v.86h-.86zM6%205h.86v.86h-.86zM8%205h.86v.86h-.86zM5%206h.86v.86h-.86zM6%206h.86v.86h-.86zM7%206h.86v.86h-.86zM6%207h.86v.86h-.86zM0%208h.86v.86h-.86zM12%208h.86v.86h-.86zM0%209h.86v.86h-.86zM12%209h.86v.86h-.86zM0%2010h.86v.86h-.86zM12%2010h.86v.86h-.86zM0%2011h.86v.86h-.86zM1%2011h.86v.86h-.86zM2%2011h.86v.86h-.86zM3%2011h.86v.86h-.86zM4%2011h.86v.86h-.86zM5%2011h.86v.86h-.86zM6%2011h.86v.86h-.86zM7%2011h.86v.86h-.86zM8%2011h.86v.86h-.86zM9%2011h.86v.86h-.86zM10%2011h.86v.86h-.86zM11%2011h.86v.86h-.86zM12%2011h.86v.86h-.86z%27%2F%3E%3C%2Fsvg%3E") center/100% 100% no-repeat;
}
.feats .pix { width: 65px; height: 65px; margin-bottom: 28px; }   /* 5px per square */

/* 19 Nov: the home page's language on the report and story pages.
   (1) The hero's drifting squares behind the top of the page, pulled up under the
   nav like the home hero, masked to the right (the copy is left-aligned) and fading
   out downward. It sits behind every card (z -1 inside main's own stacking context). */
main.has-bg { position: relative; isolation: isolate; }
.page__bg { position: absolute; z-index: -1; left: 0; top: calc(-1 * var(--nav-h)); width: 100%; height: min(100svh, 980px); pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 0, #000 55%, transparent 100%); mask-image: linear-gradient(#000 0, #000 55%, transparent 100%); }
body:has(main.has-bg) .nav:not(.is-scrolled) { background: color-mix(in srgb, var(--paper) 35%, transparent); }
@media (max-width: 760px) { .page__bg { opacity: .55; } }
/* (2) The shared Ask Hackerman box (build.js ASK) on every page: an optional lede */
.cta2__lede { margin: calc(-1 * clamp(4px, 1vw, 12px)) 0 0; color: var(--ink-2); max-width: 40ch; }
.cta2 .chips .btn { white-space: normal; }
.rp #ask, .has-bg #ask { margin-top: clamp(48px, 6vw, 112px); }
/* every shared ask title sets its own breaks; the 14ch cap only fought them */
.cta2__h { max-width: none; }
@media (max-width: 640px) { .cta2__h br { display: none; } .cta2__h { text-wrap: balance; } }

/* 19 Nov (report review, carried to the story): one left edge and the page margin
   on the right. The reading grid loses its empty third column, so boxes (figures,
   callouts, tables) run from the text edge to the page margin; running text keeps
   its 720px measure. Figures no longer hang a card-padding past either edge. The
   hero lines up with the body column (as on the report), leaving the left margin,
   beside the contents rail, to the background squares. */
@media (min-width: 1100px) {
  .read { grid-template-columns: 190px minmax(0, 1fr); }
  .read .hk-fig { margin-left: 0; margin-right: 0; }
  .story-hero .frame { padding-left: calc(var(--pad) + 190px + 64px); }
}
.read .ch > :is(p, h2, h3, .hk-eyebrow, ul, ol) { max-width: 720px; }

/* 19 Nov (c), carried from the report: the story hero is page width again, and
   chapter text runs to the right page margin (no 720px measure). */
@media (min-width: 1100px) { .story-hero .frame { padding-left: var(--pad); } }
.read .ch > :is(p, h2, h3, .hk-eyebrow, ul, ol) { max-width: none; }

/* 19 Nov (i): story type on the identity tokens, matching home and the report:
   the page title is display size (it was h2), chapter titles are h2 (were 30–44px) */
.story-hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--tr-display); max-width: 16ch; }
.read .ch h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2); }

/* 20 Nov: the home hero's load blur-in on the report and story main titles
   (word by word, same keyframes and timing). Chapter titles are not affected. */
.js-anim :is(.rp-hero, .story-hero) h1 .w { opacity: 0; }
.js-anim.is-loaded :is(.rp-hero, .story-hero) h1 .w { display: inline-block; animation: hk-blurin 900ms var(--ease-out) calc(120ms + var(--i) * 55ms) both; }
@media (prefers-reduced-motion: reduce) { .js-anim :is(.rp-hero, .story-hero) h1 .w { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; } }
/* 20 Nov (b): the text around the title follows, in the home hero's order and
   timing: the dek at --t-sub (set from the title's word count in site.js), then
   the tags 140ms later (as home's ask bar), then the story's placeholder note. */
.js-anim :is(.rp-dek, .rp-hero .rp-meta, .story-hero .rhead__lede, .story-hero .rhead__meta, .story-hero .placeholder) { opacity: 0; }
.js-anim.is-loaded :is(.rp-dek, .story-hero .rhead__lede) { animation: hk-blurin 900ms var(--ease-out) var(--t-sub, 600ms) both; }
.js-anim.is-loaded :is(.rp-hero .rp-meta, .story-hero .rhead__meta) { animation: hk-blurin 900ms var(--ease-out) calc(var(--t-sub, 600ms) + 140ms) both; }
.js-anim.is-loaded .story-hero .placeholder { animation: hk-blurin 900ms var(--ease-out) calc(var(--t-sub, 600ms) + 260ms) both; }
@media (prefers-reduced-motion: reduce) { .js-anim :is(.rp-dek, .rp-hero .rp-meta, .story-hero .rhead__lede, .story-hero .rhead__meta, .story-hero .placeholder) { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; } }

/* ---- 20 Nov: type onto the shared scale (audit follow-up) ------------------------
   Every size below was off the --fs tokens. Each now uses the nearest shared size,
   except where noted. Long-form text (report prose, story paragraphs) goes one step
   up the scale to --fs-h4, by request. */
.read .ch > p:not(.lede) { font-size: var(--fs-h4); }               /* story paragraphs: 18px → h4 (one size up) */
/* (featured report title 39px and Ask Hackerman title 68px: mapped, then undone by
   request, so both keep their own sizes; type-audit.js lists them as accepted) */
.proof__i p { font-size: var(--fs-h4); }                             /* stat captions: 19.5px → h4 */
.proof__cta p { font-size: var(--fs-body); }                         /* stat strip ask: 18px → body */
.how__lead { font-size: var(--fs-lede); }                            /* How it works lead: 20–21px → lede */
.foot2__brand p { font-size: var(--fs-lede); }                       /* footer intro: 21px → lede */
.foot2__col :is(h4, .foot2__h) { font-size: var(--fs-h4); }                          /* footer heads: 19px → h4 */
.foot2__col a, .foot2__legal a { font-size: var(--nav-fs); }         /* footer links = the nav items' size (15 at 1440, 18 at 1920) */
.sheet a.sheet__l { font-size: var(--fs-h2); }                       /* phone menu links: 30px → h2 */

/* 20 Nov: footer social buttons in the button system. They were 46px white circles,
   the only round buttons on the site; now they are secondary icon buttons for a
   dark ground: the site's button height and radius (--h, --r-s), the dark theme's
   sunk tone (#2A2A28), light icon, orange on hover. --icon-cut keeps the cut-outs
   inside the LinkedIn mark in the button's own colour. */
.foot2__social { gap: 8px; }
.foot2__social a { --icon-cut: #2A2A28; width: clamp(40px, 2.5vw, 48px); height: clamp(40px, 2.5vw, 48px); border-radius: var(--r-s); background: #2A2A28; color: #F2F1EE; transform: none; }
.foot2__social a:hover { --icon-cut: var(--orange); background: var(--orange); color: #FFFFFF; transform: none; }
.foot2__social svg { width: 18px; height: 18px; }
.foot2__col ul { gap: 10px; }   /* links are now nav-sized (15px at 1440): tighter rhythm than the 14px gap set for 19px links */

/* ---- 20 Nov: one reading layout and one body text style, report + story --------
   Layout values (were in report.css .rp-page) are shared here. Body text takes the
   report bio paragraph's style: lede size, 1.55 line height, full ink. */
:root {
  --rp-toc-w: 260px;   /* 20 Nov: 210 → 260, so the longest story item ("02 Why the raw number misleads", ~258px with its box) fits */
  --rp-gutter: clamp(40px, 4.4vw, 88px);
  --rp-body: 940px;
  --read-fs: var(--fs-lede);
  --read-lh: 1.55;
  --read-ink: var(--ink);
}
@media (min-width: 1100px) {
  .read { grid-template-columns: minmax(var(--rp-toc-w), 1fr) minmax(0, var(--rp-body)); column-gap: var(--rp-gutter); }
}
.read .ch > p, .read .ch > p:not(.lede) { font-size: var(--read-fs); line-height: var(--read-lh); color: var(--read-ink); }
/* story rail titles stay on one line: at the rail's 210px minimum (1100–1399) the
   longest, "Why the raw number misleads", needs ~220px; the gutter absorbs the rest */
@media (min-width: 1100px) { .rail a { white-space: nowrap; } }

/* 20 Nov (b): body text back to the slightly softer ink it had before (#2A2926, the
   report's old --rp-text and the story's old paragraph colour). Shared by report
   prose, story paragraphs and the company bio. */
:root { --read-ink: #2A2926; }

/* 20 Nov: the story's chapter index in the report's contents style (.rp-toc): a
   square per item (grey; ink once read; orange and slightly larger for the current
   one), the current item in a white box, grey hover box, 14px ink-3 text, 2px rows.
   The story keeps its 01–05 numbers. The progress line is dropped (the report has
   none; no lines). */
.rail ol { gap: 2px; }
.rail a { grid-template-columns: 14px auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border-radius: var(--r-s); font-size: 14px; line-height: 1.35; color: var(--ink-3); transition: color var(--dur-1), background-color var(--dur-2); }
.rail a::before { content: ""; width: 6px; height: 6px; background: var(--line-strong); transition: background-color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.rail a span:first-child { padding-top: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.rail a.is-on span:first-child::before { display: none; }
.rail a:hover { color: var(--ink); background: var(--sunk); }
.rail a.is-read::before { background: var(--ink); }
.rail a.is-on { color: var(--ink); background: var(--raised); }
.rail a.is-on::before { background: var(--orange); transform: scale(1.35); }
.rail__prog { display: none; }
