/* B289 · The content pages, designed to be easy to use.
   1. The Lab and Scrubs hubs: newest first with Play or Read, start here, shelves you can play from, the Ledger, every note, follow.
   2. Note pages: a clear top, one way to listen, contents with progress, a strong ending.
   3. The Ledger: filter by status, scan by note.
   Blue #1559F5 is the only accent; Scrubs uses its violet. Rubik for the interface, Source Serif for CultureAI's words. */

.hb{--hb-acc:#1559F5;--hb-acc-ink:#0f46c9;--hb-tint:#eef3ff;--hb-tint2:#dfe8ff;--hb-ink:#0a1633;--hb-char:#3b4457;--hb-mute:#566074;--hb-line:#e3e7ef;--hb-card:#fff;--hb-r:18px;
  background:#fff;color:var(--hb-ink)}
.hb-scr{--hb-acc:#6D28D9;--hb-acc-ink:#5b21b6;--hb-tint:#f5f0ff;--hb-tint2:#ebe2fe}
.hb h2:not(.px-askf-h):not(.hb-nt){font:600 clamp(24px,2.4vw,32px)/1.15 Rubik,system-ui,sans-serif;letter-spacing:-.015em;color:var(--hb-ink);margin:0}
.hb a{color:inherit}
.hb button{font-family:Rubik,system-ui,sans-serif}
.hb :focus-visible{outline:3px solid var(--hb-acc);outline-offset:2px}

/* shared: play controls driven by the site player (data-state: idle, playing, paused) */
.hb-pi{display:grid;place-items:center;flex:none}
.hb-pi svg{width:14px;height:14px;fill:currentColor;display:block}
.hb-playbig{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 22px 0 8px;border:0;border-radius:999px;background:var(--hb-acc);color:#fff;
  font:500 16px/1 Rubik,system-ui,sans-serif;cursor:pointer;box-shadow:0 6px 18px -8px var(--hb-acc);transition:background .15s,transform .15s}
.hb-playbig .hb-pi{width:38px;height:38px;border-radius:999px;background:rgba(255,255,255,.18)}
.hb-playbig .px-pt{font:400 14px/1 Rubik,system-ui,sans-serif;opacity:.86;font-variant-numeric:tabular-nums}
.hb-playbig:hover{background:var(--hb-acc-ink)}
.hb-playbig:active{transform:scale(.98)}
.hb-read{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 22px 0 18px;border-radius:999px;text-decoration:none;
  font:500 16px/1 Rubik,system-ui,sans-serif;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55);transition:box-shadow .15s,background .15s}
.hb-read svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;flex:none}
.hb-read:hover{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1.5px #fff}
.hb-read .hb-rt2{font-weight:400;opacity:.8;font-size:14px}
.hb-read-d{color:var(--hb-ink);box-shadow:inset 0 0 0 1.5px #c9d0dd}
.hb-read-d:hover{background:var(--hb-tint);box-shadow:inset 0 0 0 1.5px var(--hb-ink)}
.hb-read-d .hb-rt2{color:var(--hb-mute);opacity:1}

/* ---------- 1. the hero: built around the newest episode's art ---------- */
.hb-hero{position:relative;overflow:hidden;background:#0a1633;color:#fff;isolation:isolate}
.hb-hbg{position:absolute;inset:-80px;z-index:-1;opacity:.5}
.hb-hbg img{width:100%;height:100%;object-fit:cover;filter:blur(70px) saturate(1.4);transform:scale(1.2)}
.hb-hero::after{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(80% 90% at 85% 10%,color-mix(in srgb,var(--hb-acc) 40%,transparent),transparent 65%),linear-gradient(180deg,rgba(10,22,51,.55),rgba(10,22,51,.92) 70%)}
.hb-hin{padding-top:clamp(28px,4vw,52px);padding-bottom:clamp(40px,5vw,72px)}
.hb-hhead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px 32px;padding-bottom:clamp(24px,3vw,36px);margin-bottom:clamp(28px,4vw,52px);border-bottom:1px solid rgba(255,255,255,.14)}
.hb-logo{margin:0;line-height:0}
.hb-logo img{height:clamp(40px,4vw,56px)!important;width:auto;display:block}
.hb-scr .hb-logo img{height:clamp(30px,3vw,42px)!important}
.hb-tag{font:400 clamp(16px,1.35vw,19px)/1.4 "Source Serif 4",Georgia,serif;color:#dbe3f5;max-width:520px;margin:0!important}
.hb .hb-byl{margin:0;align-items:center;gap:12px}
.hb .hb-byl img{width:44px;height:44px;box-shadow:0 0 0 2px rgba(255,255,255,.25)}
.hb .hb-byl .px-bn{color:#fff;font-size:15px;margin:0}
.hb .hb-byl .px-br{color:#c3cbe0;font-size:13px}
.hb .hb-byl .px-bio{display:none}
.hb-hfeat{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:center}
.hb-hart{display:block;border-radius:22px;overflow:hidden;box-shadow:0 40px 80px -30px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.08);transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.hb-hart:hover{transform:translateY(-4px)}
.hb-himg{display:block;width:100%;height:auto;aspect-ratio:1}
.hb-eyebrow{display:flex;align-items:center;gap:10px;font:500 14px/1.3 Rubik,system-ui,sans-serif;color:#c9d6ff;margin:0 0 16px!important}
.hb-scr .hb-eyebrow{color:#ddd0ff}
.hb-dot{width:8px;height:8px;border-radius:99px;background:#5b8cfa;box-shadow:0 0 0 4px rgba(91,140,250,.25);flex:none}
.hb-scr .hb-dot{background:#a78bfa;box-shadow:0 0 0 4px rgba(167,139,250,.25)}
.hb-nt{margin:0!important;color:#fff!important}
.hb-nk{display:block;font:500 15px/1.35 Rubik,system-ui,sans-serif;color:#c9d6ff;letter-spacing:0;margin-bottom:10px}
.hb-scr .hb-nk{color:#ddd0ff}
.hb-nt a{display:block;font:600 clamp(36px,4.6vw,64px)/1.02 Rubik,system-ui,sans-serif;letter-spacing:-.03em;color:#fff;text-decoration:none;text-wrap:balance}
.hb-nt a:hover{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}
.hb-nx{font:400 clamp(17px,1.4vw,20px)/1.5 "Source Serif 4",Georgia,serif;color:#dbe3f5;margin:20px 0 0!important;max-width:600px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hb-nacts{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hb-hero .hb-playbig{background:#fff;color:#0a1633;box-shadow:0 10px 30px -10px rgba(0,0,0,.6);min-height:56px;font-size:17px}
.hb-hero .hb-playbig .hb-pi{background:var(--hb-acc);color:#fff;width:42px;height:42px}
.hb-hero .hb-playbig:hover{background:#eef3ff}
.hb-hero .hb-playbig .px-pt{color:#566074;opacity:1}
.hb-hero .hb-read{min-height:56px;font-size:17px}
.hb-hfol{margin-top:28px!important}
.hb-hfol .px-fl{color:#c3cbe0!important}
.hb-hero>.px-prog{position:absolute;left:0;bottom:0;height:4px;width:0;background:#fff;z-index:2}
.hb-hero :focus-visible{outline-color:#fff}

/* the strip under the hero: what this is, at a glance, and the two ways to find a note */
.hb-bar{background:#fff;border-bottom:1px solid var(--hb-line)}
.hb-barin{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
.hb-stats{display:flex;flex-wrap:wrap;align-items:center;gap:6px 22px}
.hb-stats .px-ct{font:500 14px/1.4 Rubik,system-ui,sans-serif;color:var(--hb-ink);margin:0}
.hb-stats .px-press{margin:0;gap:2px 20px}
.hb-stats .px-press img{height:16px}
.hb-stats .px-pl{font-size:13px!important}
.hb-quick{display:flex;flex-wrap:wrap;gap:10px}
.hb-search{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 18px 0 14px;border:0;border-radius:999px;background:#fff;color:var(--hb-ink);cursor:pointer;
  font:500 15px/1 Rubik,system-ui,sans-serif;box-shadow:0 0 0 1px rgba(10,22,51,.14),0 1px 2px rgba(10,22,51,.06);transition:box-shadow .15s}
.hb-search svg,.hb-qlink svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;flex:none}
.hb-search:hover,.hb-qlink:hover{box-shadow:0 0 0 1px rgba(10,22,51,.3),0 4px 12px rgba(10,22,51,.08)}
.hb-qlink{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 18px 0 14px;border-radius:999px;background:var(--hb-ink);color:#fff!important;text-decoration:none;font:500 15px/1 Rubik,system-ui,sans-serif}
.hb-qlink:hover{background:#1b2a52}

/* ---------- 2. start here ---------- */
.hb-start{padding:clamp(40px,5vw,72px) 0 0}
.hb-sgrid{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:clamp(28px,4vw,56px);align-items:center;
  padding:clamp(26px,3.4vw,44px);border-radius:24px;background:var(--hb-tint);box-shadow:inset 0 0 0 1px rgba(10,22,51,.06)}
.hb-skick{font:500 13px/1.3 Rubik,system-ui,sans-serif;color:var(--hb-acc);text-transform:none;margin:0 0 8px!important;display:flex;align-items:center;gap:8px}
.hb-skick::before{content:"";width:18px;height:2px;background:currentColor;border-radius:2px}
.hb-start h2{font-size:clamp(20px,1.8vw,24px)!important}
.hb-quote{font:400 clamp(22px,2.3vw,30px)/1.32 "Source Serif 4",Georgia,serif;color:var(--hb-ink);margin:16px 0 0;padding:0;border:0;max-width:720px}
.hb-quote em{color:var(--hb-acc-ink)}
.hb-vals{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:20px 0 0;padding:0}
.hb-vals li{font:500 13px/1 Rubik,system-ui,sans-serif;color:var(--hb-ink);padding:9px 13px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px rgba(10,22,51,.1)}
.hb-sacts{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.hb-sart{display:block;border-radius:18px;overflow:hidden;box-shadow:0 24px 50px -24px rgba(10,22,51,.45);transform:rotate(1.5deg)}
.hb-simg{display:block;width:100%;height:auto;aspect-ratio:1}

/* ---------- 3. shelves ---------- */
.hb-shelf,.hb-ledger{padding:clamp(44px,5vw,72px) 0 0}
.hb-shead{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}
.hb-ssub{font:400 15px/1.5 Rubik,system-ui,sans-serif;color:var(--hb-mute);margin:6px 0 0!important;max-width:620px}
.hb-more{display:inline-flex;align-items:center;gap:6px;min-height:44px;flex:none;font:500 15px/1 Rubik,system-ui,sans-serif;color:var(--hb-acc)!important;text-decoration:none}
.hb-more svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hb-more:hover{text-decoration:underline;text-underline-offset:4px}
.hb-rail{position:relative}
.hb-cards{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 3*20px)/4.25);gap:20px;list-style:none;margin:0;padding:4px 2px 14px;
  overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 2px;scrollbar-width:thin;scrollbar-color:#c9d0dd transparent}
.hb-card{position:relative;scroll-snap-align:start;min-width:0;container-type:inline-size}
.hb-cart{border-radius:16px;overflow:hidden;position:relative;background:var(--hb-tint);box-shadow:0 0 0 1px rgba(10,22,51,.06)}
.hb-cimg{display:block;width:100%;height:auto;aspect-ratio:1;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.hb-card:hover .hb-cimg{transform:scale(1.03)}
.hb-cart .px-prog{position:absolute;left:0;bottom:0;height:4px;width:0;background:var(--hb-acc);z-index:2}
.hb-card .hb-cplay{position:absolute;right:12px;top:12px;z-index:3;width:46px;height:46px;border-radius:999px;border:0;display:grid;place-items:center;cursor:pointer;
  background:#fff;color:var(--hb-acc);box-shadow:0 8px 20px -8px rgba(10,22,51,.6),0 0 0 1px rgba(10,22,51,.06);transition:transform .15s,background .15s}
.hb-cplay .hb-pi svg{width:16px;height:16px}
.hb-cplay:hover{transform:scale(1.06)}
.hb-card:hover .hb-cplay{background:var(--hb-acc);color:#fff}
.hb-card.is-on .hb-cplay{background:var(--hb-acc);color:#fff}
.hb-ck{font:500 13px/1.35 Rubik,system-ui,sans-serif;color:var(--hb-acc);margin:14px 0 0!important;min-height:18px}
.hb-ct{font:600 17px/1.3 Rubik,system-ui,sans-serif!important;letter-spacing:-.005em;margin:4px 0 0!important;color:var(--hb-ink)}
.hb-ct a{text-decoration:none;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hb-ct a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:16px}
.hb-card:hover .hb-ct a{text-decoration:underline;text-underline-offset:3px}
.hb-ct a:focus-visible{outline:none}
.hb-ct a:focus-visible::after{outline:3px solid var(--hb-acc);outline-offset:4px}
.hb-cm{font:400 14px/1.4 Rubik,system-ui,sans-serif;color:var(--hb-mute);margin:6px 0 0!important}
.hb-rnav{position:absolute;top:calc(50% - 50px);z-index:4;width:44px;height:44px;border-radius:999px;border:0;background:#fff;color:var(--hb-ink);cursor:pointer;display:grid;place-items:center;
  box-shadow:0 0 0 1px rgba(10,22,51,.1),0 8px 20px -8px rgba(10,22,51,.35);transition:opacity .2s}
.hb-rnav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.hb-rnav.l{left:-18px}.hb-rnav.r{right:-18px}
.hb-rnav[disabled]{opacity:0;pointer-events:none}

/* the Ledger shelf */
.hb-calls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0}
.hb-call{display:flex;flex-direction:column;padding:22px;border-radius:var(--hb-r);background:#fff;box-shadow:0 0 0 1px var(--hb-line),0 1px 2px rgba(10,22,51,.04)}
.hb-calltop{display:flex;align-items:center;justify-content:space-between;gap:10px;font:400 13px/1.3 Rubik,system-ui,sans-serif;color:var(--hb-mute);margin:0!important}
.hb-st{font:500 13px/1 Rubik,system-ui,sans-serif;color:var(--hb-ink);padding:6px 10px;border-radius:999px;box-shadow:inset 0 0 0 1px #c9d0dd}
.hb-calltx{font:400 17px/1.45 "Source Serif 4",Georgia,serif;color:var(--hb-ink);margin:14px 0 0!important;flex:1}
.hb-callm{font:400 13px/1.3 Rubik,system-ui,sans-serif;color:var(--hb-mute);margin:14px 0 0!important}
.hb-callsrc{display:flex;justify-content:space-between;gap:12px;margin:12px 0 0!important;padding-top:12px;border-top:1px solid var(--hb-line);font:500 14px/1.3 Rubik,system-ui,sans-serif}
.hb-callsrc a{color:var(--hb-acc);text-decoration:none;min-height:24px;display:inline-flex;align-items:center}
.hb-callsrc a:last-child{color:var(--hb-mute);font-weight:400;flex:none}
.hb-callsrc a:hover{text-decoration:underline;text-underline-offset:3px}

/* the Ask band sits between shelves on the hub */
.hb .px-askband{padding:clamp(44px,5vw,72px) 0 0}
.hb .px-askf{max-width:none}

/* ---------- 4. every note ---------- */
.hb-all{padding:clamp(52px,6vw,88px) 0 0}
.hb-ahead{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.hb-ahead h2{font-size:clamp(28px,3vw,40px)!important}
.hb-aright{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hb-tools{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin:22px 0 8px;padding-bottom:18px;border-bottom:1.5px solid var(--hb-ink)}
.hb-chips,.hb-sort{display:flex;flex-wrap:wrap;gap:8px}
.hb-chips button,.hb-sort button{min-height:40px;padding:0 14px;border:0;border-radius:999px;background:#fff;color:var(--hb-char);cursor:pointer;
  font:500 14px/1 Rubik,system-ui,sans-serif;box-shadow:inset 0 0 0 1px #cfd5e1;transition:background .15s,color .15s,box-shadow .15s}
.hb-chips button span{font-weight:400;color:var(--hb-mute);margin-left:4px}
.hb-chips button:hover,.hb-sort button:hover{box-shadow:inset 0 0 0 1px var(--hb-ink);color:var(--hb-ink)}
.hb-chips button[aria-pressed=true],.hb-sort button[aria-pressed=true]{background:var(--hb-ink);color:#fff;box-shadow:none}
.hb-chips button[aria-pressed=true] span{color:#c3cbe0}
.hb-sort button{background:transparent}
.hb-rows{list-style:none;margin:0;padding:0}
.hb-row{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:22px;align-items:center;padding:20px 0;border-bottom:1px solid var(--hb-line)}
.hb-row[hidden]{display:none}
.hb-rimg{width:88px;height:88px;border-radius:12px;display:block;box-shadow:0 0 0 1px rgba(10,22,51,.06)}
.hb-rk{font:500 13px/1.3 Rubik,system-ui,sans-serif;color:var(--hb-acc);margin:0!important}
.hb-rt{font:600 19px/1.28 Rubik,system-ui,sans-serif!important;letter-spacing:-.01em;margin:3px 0 0!important;color:var(--hb-ink)}
.hb-rt a{text-decoration:none}
.hb-rt a::after{content:"";position:absolute;inset:0;z-index:1}
.hb-row:hover .hb-rt a{text-decoration:underline;text-underline-offset:3px}
.hb-rt a:focus-visible{outline:none}
.hb-rt a:focus-visible::after{outline:3px solid var(--hb-acc);outline-offset:2px;border-radius:12px}
.hb-rx{font:400 15px/1.5 Rubik,system-ui,sans-serif;color:var(--hb-char);margin:6px 0 0!important;max-width:720px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.hb-rm{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;font:400 13px/1.4 Rubik,system-ui,sans-serif;color:var(--hb-mute);margin:8px 0 0!important}
.hb-rpred{color:var(--hb-ink);font-weight:500;display:inline-flex;align-items:center;gap:6px}
.hb-rpred::before{content:"";width:6px;height:6px;border-radius:2px;background:var(--hb-acc)}
.hb-rplay{position:relative;z-index:2;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 16px 0 6px;border:0;border-radius:999px;background:#fff;color:var(--hb-ink);cursor:pointer;
  font:500 14px/1 Rubik,system-ui,sans-serif;box-shadow:inset 0 0 0 1px #cfd5e1;transition:box-shadow .15s;font-variant-numeric:tabular-nums;white-space:nowrap}
.hb-rplay .hb-pi{width:34px;height:34px;border-radius:999px;background:var(--hb-acc);color:#fff}
.hb-rplay:hover{box-shadow:inset 0 0 0 1px var(--hb-ink)}
.hb-row .px-prog{position:absolute;left:0;bottom:-1px;height:2px;width:0;background:var(--hb-acc)}
.hb-row.is-on .hb-rplay{box-shadow:inset 0 0 0 1.5px var(--hb-acc)}

/* ---------- 5. follow ---------- */
.hb-follow{padding:clamp(56px,6vw,96px) 0 clamp(56px,6vw,96px)}
.hb-fgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding:clamp(26px,3.4vw,44px);border-radius:24px;background:#0a1633;color:#fff}
.hb-follow h2{color:#fff!important}
.hb-fsub{font:400 16px/1.5 Rubik,system-ui,sans-serif;color:#c3cbe0;margin:8px 0 0!important}
.hb-fways{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr);gap:16px}
.hb-fway{display:flex;flex-direction:column;padding:20px;border-radius:16px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);margin:0}
.hb-fh{font:600 16px/1.3 Rubik,system-ui,sans-serif;color:#fff;margin:0!important}
.hb-fd{display:block;font:400 14px/1.5 Rubik,system-ui,sans-serif;color:#c3cbe0;margin:6px 0 16px!important;flex:1}
.hb-fpod{margin:0!important;gap:8px!important}
.hb-fli{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 16px 0 13px;border-radius:999px;background:#fff;color:#0a1633!important;text-decoration:none;font:500 15px/1.2 Rubik,system-ui,sans-serif;align-self:flex-start}
.hb-liico{width:20px;height:20px;flex:none}
.hb-ext{font-size:13px;opacity:.7}
.hb-frow{display:flex;gap:8px}
.hb-frow input{flex:1;min-width:0;height:44px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;font:400 15px/1 Rubik,system-ui,sans-serif}
.hb-frow input::placeholder{color:#aab4cc}
.hb-frow button{height:44px;padding:0 16px;border:0;border-radius:999px;background:#fff;color:#0a1633;font:500 15px/1 Rubik,system-ui,sans-serif;cursor:pointer;flex:none}
.hb-frow button:hover{background:#eef3ff}
.hb-follow :focus-visible{outline-color:#fff}

/* the hub's about-the-author keeps its place, with the photo */
.hb .px-author{margin-top:0}

/* ---------- hub: laptop to phone ---------- */
@media (max-width:1100px){
  .hb-hfeat{grid-template-columns:minmax(0,340px) minmax(0,1fr)}
  .hb-hhead{grid-template-columns:auto minmax(0,1fr)}
  .hb-hhead .hb-byl{grid-column:1/-1}
  .hb-cards{grid-auto-columns:calc((100% - 2*20px)/3.25)}
  .hb-fgrid{grid-template-columns:1fr}
}
@media (max-width:900px){
  .hb-hfeat{grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:32px}
  .hb-sgrid{grid-template-columns:minmax(0,1fr) 200px}
  .hb-calls{grid-template-columns:1fr;gap:12px}
  .hb-cards{grid-auto-columns:calc((100% - 2*16px)/2.4);gap:16px}
  .hb-fways{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .hb-hin{padding-top:20px;padding-bottom:28px}
  .hb-hhead{grid-template-columns:1fr;gap:10px;padding-bottom:18px;margin-bottom:22px}
  .hb-logo img{height:36px!important}
  .hb-scr .hb-logo img{height:26px!important}
  .hb-tag{font-size:16px}
  .hb .hb-byl img{width:36px;height:36px}
  .hb .hb-byl .px-br{display:none}
  .hb-hfeat{grid-template-columns:1fr;gap:20px}
  .hb-hart{width:min(64vw,260px);margin:0 auto;border-radius:16px}
  .hb-htx{display:flex;flex-direction:column}
  .hb-eyebrow{justify-content:center;margin-bottom:10px!important;font-size:13px}
  .hb-nt{text-align:center}
  .hb-nk{font-size:14px;margin-bottom:6px}
  .hb-nt a{font-size:30px;line-height:1.08}
  .hb-nacts{order:3;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
  .hb-nacts>*{justify-content:center;padding:0 12px 0 6px;font-size:16px}
  .hb-read{padding:0 14px}
  .hb-playbig .px-pt,.hb-read .hb-rt2{display:none}
  .hb-nx{order:4;font-size:16px;margin-top:18px!important;text-align:center;-webkit-line-clamp:2}
  .hb-hfol{order:5;justify-content:center;margin-top:18px!important}
  .hb-hfol .px-fl{text-align:center}
  .hb-barin{padding-top:12px;padding-bottom:12px}
  .hb-stats{display:none}
  .hb-quick{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .hb-quick>*{justify-content:center}
  .hb-start{padding-top:36px}
  .hb-sgrid{grid-template-columns:1fr;padding:22px 18px;border-radius:20px}
  .hb-sart{display:none}
  .hb-quote{font-size:21px}
  .hb-sacts{display:grid;grid-template-columns:1fr;gap:8px}
  .hb-sacts>*{justify-content:center}
  .hb-shelf,.hb-ledger,.hb .px-askband{padding-top:44px}
  .hb-shead{margin-bottom:14px;align-items:flex-start;flex-direction:column;gap:2px}
  .hb-more{min-height:40px}
  .hb-rail{margin:0 calc(-1 * var(--px-gut))}
  .hb-cards{grid-auto-columns:62%;gap:14px;padding-left:var(--px-gut);padding-right:var(--px-gut);scroll-padding:0 var(--px-gut);scrollbar-width:none}
  .hb-cards::-webkit-scrollbar{display:none}
  .hb-rnav{display:none}
  .hb-ct{font-size:16px!important}
  .hb-card .hb-cplay{width:44px;height:44px;right:10px;top:10px}
  .hb-all{padding-top:52px}
  .hb-ahead .hb-search{width:100%;justify-content:center}
  .hb-tools{margin-top:16px;gap:10px}
  .hb-chips{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(-1 * var(--px-gut));padding:2px var(--px-gut);scrollbar-width:none;width:calc(100% + 2*var(--px-gut))}
  .hb-chips::-webkit-scrollbar{display:none}
  .hb-chips button{flex:none;min-height:44px}
  .hb-sort button{min-height:44px}
  .hb-row{grid-template-columns:64px minmax(0,1fr) 44px;gap:14px;align-items:center;padding:16px 0}
  .hb-rimg{width:64px;height:64px;border-radius:10px;align-self:start}
  .hb-rt{font-size:17px!important}
  .hb-rx{display:none}
  .hb-rm{margin-top:6px!important}
  .hb-rplay{width:44px;height:44px;padding:0;justify-content:center;background:var(--hb-acc);box-shadow:none}
  .hb-rplay .hb-pi{width:44px;height:44px;background:none}
  .hb-rplay .px-pt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .hb-follow{padding:52px 0}
  .hb-fgrid{padding:24px 18px;border-radius:20px;margin:0 -4px}
  .hb-fway{padding:18px}
}
@media (prefers-reduced-motion:reduce){
  .hb *{transition:none!important}
  .hb-card:hover .hb-cimg{transform:none}
  .hb-cards{scroll-behavior:auto}
}

/* =========================================================================================
   2. Note pages: the cover, contents with progress, the jump menu, the ending
   ========================================================================================= */
.px-art{--hb-acc:#1559F5;--hb-acc-ink:#0f46c9;--hb-tint:#eef3ff;--hb-ink:#0a1633;--hb-char:#3b4457;--hb-mute:#566074;--hb-line:#e3e7ef}
.px-art.px-scr{--hb-acc:#6D28D9;--hb-acc-ink:#5b21b6;--hb-tint:#f5f0ff}
.px-art .hb-rplay .hb-pi{background:var(--hb-acc)}

/* the cover: the episode art, so a note and its episode read as one thing */
.px-hmain{position:relative}
.nt-cover{display:block;width:88px;height:88px;border-radius:14px;margin:0 0 18px;box-shadow:0 0 0 1px rgba(10,22,51,.06),0 10px 24px -14px rgba(10,22,51,.5)}
@media (min-width:901px){
  html:not(.px-notoc) .nt-cover{position:absolute;left:-244px;top:4px;width:180px;height:180px;border-radius:18px;margin:0;box-shadow:0 0 0 1px rgba(10,22,51,.06),0 24px 50px -26px rgba(10,22,51,.55)}
  .px-notoc .nt-cover{width:96px;height:96px}
}

/* laptop contents: a heading and a progress line above the sticky list */
.nt-toch{display:flex;flex-direction:column;gap:10px;margin:0 0 10px!important;padding-left:14px;font:500 13px/1.3 Rubik,system-ui,sans-serif;color:var(--hb-ink)}
.nt-tbar{display:block;height:3px;border-radius:3px;background:var(--hb-line);overflow:hidden}
.nt-tbar i{display:block;height:100%;background:var(--hb-acc);transform-origin:0 50%;transform:scaleX(0)}
.px-art .toc a{border-left-width:2px}

/* phone and tablet: one compact jump menu at the top of the note */
.nt-jump{display:none;margin:-14px 0 36px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px var(--hb-line),0 1px 2px rgba(10,22,51,.04);font-family:Rubik,system-ui,sans-serif}
.nt-jump summary{list-style:none;cursor:pointer;display:flex;flex-direction:column;gap:10px;padding:14px 16px 12px;min-height:44px}
.nt-jump summary::-webkit-details-marker{display:none}
.nt-jl{display:flex;align-items:center;gap:10px;font:500 15px/1.3 Rubik,system-ui,sans-serif;color:var(--hb-ink)}
.nt-jl svg,.nt-rj summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;flex:none}
.nt-jc{margin-left:auto;font-weight:400;color:var(--hb-mute);font-size:14px;max-width:55%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nt-jl::after{content:"";width:8px;height:8px;border-right:2px solid var(--hb-mute);border-bottom:2px solid var(--hb-mute);transform:rotate(45deg) translateY(-3px);flex:none;margin-left:4px}
.nt-jump[open] .nt-jl::after{transform:rotate(-135deg) translateY(-2px)}
.nt-jlist{list-style:none;margin:0;padding:4px 8px 10px;border-top:1px solid var(--hb-line)}
.nt-jlist a{display:flex;gap:12px;align-items:baseline;min-height:44px;padding:11px 8px;border-radius:10px;text-decoration:none!important;border:0!important;background-image:none!important;color:var(--hb-char)!important;font:400 15px/1.35 Rubik,system-ui,sans-serif}
.nt-jlist a b{font:500 12px/1 Rubik,system-ui,sans-serif;color:var(--hb-mute);flex:none;width:20px;font-variant-numeric:tabular-nums}
.nt-jlist a:hover{background:var(--hb-tint)}
.nt-jlist a.on{color:var(--hb-ink)!important;font-weight:500;background:var(--hb-tint)}
.nt-jlist a.on b{color:var(--hb-acc)}
.nt-jlist a:focus-visible{outline:3px solid var(--hb-acc);outline-offset:-2px}

/* the reading bar's sections menu (phone and tablet) */
.nt-rj{position:relative;display:none;flex:none}
.nt-rj summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border-radius:999px;background:var(--hb-tint);color:var(--hb-ink);font:500 14px/1 Rubik,system-ui,sans-serif;max-width:46vw}
.nt-rj summary::-webkit-details-marker{display:none}
.nt-rjc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nt-rjp{position:fixed;left:16px;right:16px;top:64px;width:auto;max-width:420px;max-height:min(70vh,520px);overflow:auto;background:#fff;border-radius:16px;
  box-shadow:0 0 0 1px var(--hb-line),0 24px 50px -20px rgba(10,22,51,.45);z-index:5}
.nt-rjh{font:500 13px/1.3 Rubik,system-ui,sans-serif;color:var(--hb-mute);margin:0!important;padding:14px 16px 8px}
.nt-rjp .nt-jlist{border-top:0;padding-top:0}
@media (max-width:900px){
  .nt-jump{display:block}
  .nt-rj{display:block}
  .nt-rj~.px-rbar-acts{margin-left:0}
}
@media (max-width:420px){.px-rbar-n{display:none}}

/* the ending: previous and next in the series */
.nt-series{margin:36px 0 32px}
.nt-sh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.nt-shk{font:600 18px/1.3 Rubik,system-ui,sans-serif;color:var(--hb-ink);margin:0!important}
.nt-shk span{display:block;font:400 14px/1.3 Rubik,system-ui,sans-serif;color:var(--hb-mute);margin-top:2px}
.nt-all{display:inline-flex;align-items:center;gap:6px;min-height:44px;font:500 15px/1 Rubik,system-ui,sans-serif;color:var(--hb-acc)!important;text-decoration:none!important;border:0!important;background-image:none!important}
.nt-all svg,.nt-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nt-all:hover{text-decoration:underline!important;text-underline-offset:4px}
.nt-sgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.nt-sn{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr) 44px;gap:14px;align-items:center;padding:14px;border-radius:16px;background:#fff;
  box-shadow:0 0 0 1px var(--hb-line),0 1px 2px rgba(10,22,51,.04);text-decoration:none!important;border:0!important;background-image:none!important;overflow:hidden}
.nt-snimg{width:72px;height:72px;border-radius:10px;display:block}
.nt-snk{font:500 12px/1.2 Rubik,system-ui,sans-serif;color:var(--hb-mute);margin:0!important;text-transform:none}
.nt-snt{font:600 16px/1.3 Rubik,system-ui,sans-serif;color:var(--hb-ink);margin:3px 0 0!important}
.nt-snt a{color:var(--hb-ink)!important;text-decoration:none!important;border:0!important;background-image:none!important}
.nt-snt a::after{content:"";position:absolute;inset:0;z-index:1}
.nt-sn:hover .nt-snt a{text-decoration:underline!important;text-underline-offset:3px}
.nt-snt a:focus-visible{outline:none}
.nt-snt a:focus-visible::after{outline:3px solid var(--hb-acc);outline-offset:-3px;border-radius:16px}
.nt-snm{font:400 13px/1.35 Rubik,system-ui,sans-serif;color:var(--hb-mute);margin:4px 0 0!important}
.nt-snplay{width:44px;height:44px;padding:0;justify-content:center;background:var(--hb-acc)!important;box-shadow:none!important}
.nt-snplay .hb-pi{width:44px;height:44px;background:none!important}
.nt-sn .px-prog{position:absolute;left:0;bottom:0;height:3px;width:0;background:var(--hb-acc)}
.nt-sn-hub{grid-template-columns:1fr;gap:2px;align-content:center;background:var(--hb-tint)}
.nt-sn-hub .nt-snt{color:var(--hb-acc-ink)}
.nt-sn-hub:hover .nt-snt{text-decoration:underline;text-underline-offset:3px}
.nt-sn-hub:focus-visible{outline:3px solid var(--hb-acc);outline-offset:2px}

/* the ending: follow and subscribe, then back to the series */
.nt-end{padding:clamp(40px,5vw,72px) 0}
.nt-endin{max-width:964px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:28px 48px;padding:clamp(24px,3.4vw,40px);border-radius:24px;background:#0a1633;color:#fff}
.nt-endtx h2{font:600 clamp(24px,2.4vw,30px)/1.15 Rubik,system-ui,sans-serif!important;letter-spacing:-.015em;color:#fff!important;margin:0!important}
.nt-endtx p{font:400 16px/1.5 Rubik,system-ui,sans-serif;color:#c3cbe0;margin:10px 0 0!important}
.nt-endacts{display:flex;flex-direction:column;gap:18px;min-width:0}
.nt-efol{margin:0!important}
.nt-mail label{display:block;font:500 14px/1.4 Rubik,system-ui,sans-serif;color:#c3cbe0;margin:0 0 8px}
.nt-end .hb-frow{display:flex;gap:8px}
.nt-end .hb-frow input{flex:1;min-width:0;height:44px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;font:400 15px/1 Rubik,system-ui,sans-serif}
.nt-end .hb-frow input::placeholder{color:#aab4cc}
.nt-end .hb-frow button{height:44px;padding:0 16px;border:0;border-radius:999px;background:#fff;color:#0a1633;font:500 15px/1 Rubik,system-ui,sans-serif;cursor:pointer;flex:none}
.nt-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;align-self:flex-start;font:500 15px/1 Rubik,system-ui,sans-serif;color:#fff!important;text-decoration:none}
.nt-back:hover{text-decoration:underline;text-underline-offset:4px}
.nt-end :focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (max-width:900px){.nt-endin{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){
  .nt-sgrid{grid-template-columns:1fr}
  .nt-end{padding:36px 0}
  .nt-endin{padding:22px 18px;border-radius:20px}
}

/* readable references */
.px-art .refsfold .rf-inner p{padding-left:0;font-size:15px;line-height:1.6}
.px-art .refsfold .rf-inner a{overflow-wrap:anywhere}
@media (prefers-reduced-motion:reduce){.nt-tbar i{transition:none}}

/* the hub's author: a compact profile with the photo, the bio and the links */
.hb .px-author{padding:clamp(48px,6vw,88px) 0;background:var(--hb-tint)}
.hb .px-author .px-agrid{grid-template-columns:200px minmax(0,1fr);gap:clamp(24px,4vw,56px);border-top:0;padding-top:0}
.hb .px-author .px-agrid>img{width:200px;height:200px;border-radius:24px;object-fit:cover;box-shadow:0 24px 50px -26px rgba(10,22,51,.55)}
.hb .px-author .px-abio{max-width:720px}
@media (max-width:640px){
  .hb .px-author .px-agrid{grid-template-columns:1fr}
  .hb .px-author .px-agrid>img{width:120px;height:120px;border-radius:18px}
}
/* the persistent player shows the episode's own art */
.px-dock .px-dk-art img[src$=".jpg"]{border-radius:8px;object-fit:cover;box-shadow:0 0 0 1px rgba(255,255,255,.18)}
.px-dock .px-dk-art:has(img[src$=".jpg"]){border-radius:9px;background:none;overflow:hidden}
.px-dock .px-dk-art img[src$=".jpg"]{width:100%;height:100%}

/* =========================================================================================
   3. The Ledger: filter by status and date, the note each call came from, faster to scan
   ========================================================================================= */
.lg-bar{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;margin:0 0 20px}
.lg-filt{display:flex;flex-wrap:wrap;gap:8px}
.lg-filt button{min-height:44px;padding:0 15px;border:0;border-radius:999px;background:#fff;color:#3b4457;cursor:pointer;
  font:500 14px/1 Rubik,system-ui,sans-serif;box-shadow:inset 0 0 0 1px #cfd5e1;transition:background .15s,color .15s}
.lg-filt button span{font-weight:400;color:#566074;margin-left:4px}
.lg-filt button:hover{box-shadow:inset 0 0 0 1px #0a1633;color:#0a1633}
.lg-filt button[aria-pressed=true]{background:#0a1633;color:#fff;box-shadow:none}
.lg-filt button[aria-pressed=true] span{color:#c3cbe0}
.lg-filt button:focus-visible{outline:3px solid #1559F5;outline-offset:2px}
.lg-filt+.lg-filt{padding-left:24px;border-left:1px solid #dfe3ea}
.px-calls .px-cl[hidden]{display:none}
.lg-empty{font:400 18px/1.5 "Source Serif 4",Georgia,serif;color:#0a1633;padding:28px;border-radius:18px;background:#fff;box-shadow:0 0 0 1px #e3e7ef;margin:0 0 24px}
.px-cl-src{display:inline-flex!important;align-items:center;gap:12px}
.lg-th{width:40px;height:40px;border-radius:8px;flex:none;display:block;box-shadow:0 0 0 1px rgba(10,22,51,.08)}
.px-cl .px-cl-call{font-size:clamp(19px,1.6vw,22px)!important;line-height:1.45!important}
@media (max-width:640px){
  .lg-bar{gap:8px}
  .lg-filt{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * var(--px-gut));padding:2px var(--px-gut);width:calc(100% + 2*var(--px-gut))}
  .lg-filt::-webkit-scrollbar{display:none}
  .lg-filt button{flex:none}
  .lg-filt+.lg-filt{padding-left:var(--px-gut);border-left:0}
  .lg-th{width:36px;height:36px}
}

/* iteration 2: a denser archive. Two columns of compact rows on laptop, one round play control everywhere */
.hb-rplay{width:44px;height:44px;padding:0;justify-content:center;background:var(--hb-acc);box-shadow:none;color:#fff}
.hb-rplay .hb-pi{width:44px;height:44px;background:none}
.hb-rplay .px-pt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hb-rplay:hover{background:var(--hb-acc-ink);box-shadow:none}
.hb-row.is-on .hb-rplay{box-shadow:0 0 0 3px color-mix(in srgb,var(--hb-acc) 30%,transparent)}
.hb-row{grid-template-columns:80px minmax(0,1fr) 44px;gap:18px}
.hb-rimg{width:80px;height:80px}
.hb-rx{-webkit-line-clamp:2;font-size:14.5px}
@media (min-width:1100px){
  .hb-rows{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:48px}
  .hb-rt{font-size:18px!important}
}

/* iteration 3: the follow band reads as three equal ways, each action on one baseline */
@media (min-width:901px){.hb-fways{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.3fr)}}
.hb-fpod{flex-direction:row!important;flex-wrap:wrap;align-items:center}
.hb-fpod .px-fbtn{margin:0}
/* the author's titles stay visible on the phone too */
@media (max-width:640px){
  .hb .hb-byl{align-items:flex-start}
  .hb .hb-byl .px-br{display:block;font-size:12.5px;line-height:1.4;margin-top:2px}
}
