{
  "before": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>How I Think About Design — Slide Notes</title>\n<link href=\"https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,400&family=DM+Sans:opsz,wght@9..40,300..600&family=DM+Mono:wght@400;500&display=swap\" rel=\"stylesheet\">\n<style>\n  *,*::before,*::after{box-sizing:border-box;margin:0;padding:0}\n\n  :root{\n    --cream:#FAF7E3;\n    --paper:#FFFDF6;\n    --ink:#211d16;\n    --ink-2:#5c5648;\n    --ink-3:#928a78;\n    --clay:#CD7854;\n    --clay-deep:#b45e3c;\n    --line:#e6e0cc;\n    --line-soft:#efeadb;\n    --red:#b23b32;\n    --green:#5f7a3a;\n    --display:'Fraunces',Georgia,serif;\n    --body:'DM Sans',system-ui,sans-serif;\n    --mono:'DM Mono',ui-monospace,monospace;\n  }\n\n  html,body{height:100%}\n  body{\n    font-family:var(--body);\n    background:var(--cream);\n    color:var(--ink);\n    -webkit-font-smoothing:antialiased;\n    overflow:hidden;\n  }\n\n  /* ── Stage ── */\n  .stage{position:fixed;inset:0;display:grid;place-items:center;padding:32px}\n\n  .slide{\n    display:none;\n    width:min(760px,100%);\n    max-height:calc(100vh - 64px);\n    overflow:auto;\n    background:var(--paper);\n    border:1px solid var(--line);\n    border-radius:18px;\n    padding:56px 60px 52px;\n    box-shadow:0 1px 0 rgba(0,0,0,.02),0 24px 60px -32px rgba(60,45,20,.28);\n    animation:rise .45s cubic-bezier(.2,.7,.2,1);\n  }\n  .slide.active{display:block}\n  @keyframes rise{from{opacity:0;transform:translateY(10px) scale(.995)}to{opacity:1;transform:none}}\n\n  /* ── Shared type ── */\n  .kicker{\n    font-family:var(--mono);\n    font-size:11px;letter-spacing:.16em;text-transform:uppercase;\n    color:var(--clay-deep);\n    display:flex;align-items:center;gap:10px;\n    margin-bottom:24px;\n  }\n  .kicker .num{\n    display:inline-grid;place-items:center;\n    min-width:24px;height:24px;padding:0 6px;\n    background:var(--clay);color:#fff;border-radius:7px;\n    font-size:11px;font-weight:500;letter-spacing:.06em;\n  }\n  .kicker .rule{flex:1;height:1px;background:var(--line);}\n\n  h1{font-family:var(--display);font-weight:400;font-size:44px;line-height:1.08;letter-spacing:-.01em;}\n  h2{font-family:var(--display);font-weight:400;font-size:34px;line-height:1.12;letter-spacing:-.005em;margin-bottom:14px;}\n  .rulez{font-size:18px;line-height:1.55;color:var(--ink);margin-bottom:22px;max-width:56ch;}\n  .rulez em{font-style:italic;color:var(--clay-deep);}\n\n  .why{\n    border-left:2px solid var(--clay);\n    padding:2px 0 2px 18px;\n    margin:0 0 22px;\n    max-width:58ch;\n  }\n  .why .lab{\n    font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;\n    color:var(--ink-3);display:block;margin-bottom:6px;\n  }\n  .why p{font-size:15px;line-height:1.6;color:var(--ink-2);}\n\n  ul.pts{list-style:none;margin:0 0 22px;display:grid;gap:9px;max-width:58ch;}\n  ul.pts li{position:relative;padding-left:20px;font-size:15px;line-height:1.5;color:var(--ink);}\n  ul.pts li::before{content:\"\";position:absolute;left:2px;top:9px;width:6px;height:6px;border-radius:50%;background:var(--clay);}\n  ul.pts li b{font-weight:600;}\n\n  .avoid{\n    display:flex;gap:10px;align-items:flex-start;\n    font-size:14px;line-height:1.5;color:var(--ink-2);\n    background:rgba(178,59,50,.05);\n    border:1px solid rgba(178,59,50,.16);\n    border-radius:10px;padding:12px 15px;max-width:60ch;\n  }\n  .avoid .dot{color:var(--red);font-weight:600;flex:none;}\n  .avoid b{color:var(--red);font-weight:600;}\n\n  /* ── Cover ── */\n  .cover{text-align:left;}\n  .cover .eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--clay-deep);margin-bottom:22px;}\n  .cover h1{font-size:56px;margin-bottom:20px;}\n  .cover .sub{font-size:18px;line-height:1.6;color:var(--ink-2);max-width:52ch;margin-bottom:30px;}\n  .cover .by{font-family:var(--mono);font-size:12px;color:var(--ink-3);letter-spacing:.04em;}\n  .cover .by span{color:var(--clay-deep);}\n\n  /* ── One idea ── */\n  .oneidea h2{font-size:40px;max-width:20ch;}\n  .oneidea .big{font-family:var(--display);font-weight:300;font-size:22px;line-height:1.45;color:var(--ink);max-width:34ch;margin:8px 0 0;}\n  .oneidea .big strong{font-weight:600;color:var(--clay-deep);}\n\n  /* ── Overview grid ── */\n  .grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px;}\n  .gcard{border:1px solid var(--line);border-radius:11px;padding:14px 16px;background:var(--cream);}\n  .gcard .gn{font-family:var(--mono);font-size:11px;color:var(--clay-deep);letter-spacing:.06em;}\n  .gcard .gt{font-family:var(--display);font-size:17px;margin-top:3px;line-height:1.2;}\n  .gcard .gd{font-size:12.5px;color:var(--ink-2);margin-top:5px;line-height:1.4;}\n\n  /* ── Tokens table ── */\n  table.tok{width:100%;border-collapse:collapse;margin-top:4px;font-size:14px;}\n  table.tok td{padding:11px 12px;border-bottom:1px solid var(--line-soft);vertical-align:top;line-height:1.45;}\n  table.tok tr:last-child td{border-bottom:none;}\n  table.tok td.axis{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--clay-deep);white-space:nowrap;width:88px;padding-top:13px;}\n  table.tok td.val{color:var(--ink-2);}\n  table.tok td.val b{color:var(--ink);font-weight:600;}\n  .sw{display:inline-block;width:11px;height:11px;border-radius:3px;border:1px solid rgba(0,0,0,.12);vertical-align:-1px;margin-right:5px;}\n\n  /* ── Close ── */\n  .close h2{font-size:40px;max-width:22ch;}\n  .close .kick2{font-size:16px;line-height:1.6;color:var(--ink-2);max-width:50ch;margin-bottom:8px;}\n  .close .stamp{font-family:var(--display);font-style:italic;font-size:24px;color:var(--clay-deep);margin-top:26px;}\n\n  .checklist{list-style:none;display:grid;gap:8px;margin:6px 0 0;max-width:56ch;}\n  .checklist li{position:relative;padding-left:26px;font-size:14.5px;line-height:1.5;color:var(--ink);}\n  .checklist li::before{content:\"○\";position:absolute;left:0;top:0;color:var(--clay);font-size:14px;}\n\n  /* ── Chrome: nav + progress ── */\n  .bar{\n    position:fixed;left:0;right:0;bottom:0;height:56px;\n    display:flex;align-items:center;justify-content:center;gap:18px;\n    z-index:20;pointer-events:none;\n  }\n  .bar > *{pointer-events:auto;}\n  .nav{\n    display:flex;align-items:center;gap:4px;\n    background:var(--paper);border:1px solid var(--line);\n    border-radius:999px;padding:5px 6px;\n    box-shadow:0 8px 24px -14px rgba(60,45,20,.4);\n  }\n  .nav button{\n    border:none;background:transparent;cursor:pointer;\n    width:30px;height:30px;border-radius:50%;\n    display:grid;place-items:center;color:var(--ink-2);\n    transition:background .15s,color .15s;\n  }\n  .nav button:hover{background:var(--cream);color:var(--ink);}\n  .nav button:disabled{opacity:.32;cursor:default;}\n  .nav .count{font-family:var(--mono);font-size:12px;color:var(--ink-2);min-width:52px;text-align:center;letter-spacing:.04em;}\n\n  .dots{display:flex;gap:6px;align-items:center;}\n  .dots i{width:6px;height:6px;border-radius:50%;background:var(--line);cursor:pointer;transition:background .18s,transform .18s;display:inline-block;}\n  .dots i.on{background:var(--clay);transform:scale(1.35);}\n\n  .progress{position:fixed;top:0;left:0;height:3px;background:var(--clay);z-index:30;transition:width .35s cubic-bezier(.2,.7,.2,1);width:0;}\n\n  .hint{\n    position:fixed;top:16px;right:18px;z-index:25;\n    font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;\n    color:var(--ink-3);text-transform:uppercase;\n  }\n  .hint kbd{border:1px solid var(--line);border-radius:5px;padding:1px 5px;background:var(--paper);color:var(--ink-2);margin:0 1px;}\n\n  @media (max-width:640px){\n    .stage{padding:16px}\n    .slide{padding:36px 26px 34px;border-radius:14px}\n    h1{font-size:34px}.cover h1{font-size:38px}h2{font-size:26px}\n    .oneidea h2{font-size:28px}.oneidea .big{font-size:18px}\n    .grid{grid-template-columns:1fr}\n    .hint{display:none}\n  }\n</style>\n</head>\n<body>\n\n<div class=\"progress\" id=\"progress\"></div>\n<div class=\"hint\"><kbd>←</kbd><kbd>→</kbd> to move</div>\n\n<div class=\"stage\" id=\"stage\">\n\n  <!-- 1 · COVER -->\n  ",
  "slides": [
    "<section class=\"slide active cover\">\n    <div class=\"eyebrow\">Slide notes · Design</div>\n    <h1>How I think<br>about design</h1>\n    <p class=\"sub\">One philosophy, built up across InventList, Kuickr, StockLive, Nodepad, PaveLabs and Family OS. Seven principles, one idea underneath them all.</p>\n    <div class=\"by\">by <span>Nauman Tariq</span> · a visual read of my design-principles</div>\n  </section>",
    "<section class=\"slide oneidea\">\n    <div class=\"kicker\"><span class=\"num\">00</span> The one idea underneath everything <span class=\"rule\"></span></div>\n    <h2>Spend the reader's cognition carefully.</h2>\n    <p class=\"rulez\">Attention is scarce. Working memory holds only a few chunks. Reading is slow. So every choice earns its keep by <em>reducing mental effort</em> — show what's needed, when it's needed, in a column the eye can actually read.</p>\n    <p class=\"big\">The warm, narrow, editorial look is <strong>downstream</strong> of the cognition — not the point of it.</p>\n  </section>",
    "<section class=\"slide\">\n    <div class=\"kicker\"><span class=\"num\">7</span> principles, in priority order <span class=\"rule\"></span></div>\n    <h2 style=\"margin-bottom:18px\">The spine</h2>\n    <div class=\"grid\">\n      <div class=\"gcard\"><div class=\"gn\">01</div><div class=\"gt\">Progressive disclosure</div><div class=\"gd\">Reveal complexity in layers</div></div>\n      <div class=\"gcard\"><div class=\"gn\">02</div><div class=\"gt\">Clarity over density</div><div class=\"gd\">Clarity wins the conflict</div></div>\n      <div class=\"gcard\"><div class=\"gn\">03</div><div class=\"gt\">Reduce cognitive load</div><div class=\"gd\">One thing at a time</div></div>\n      <div class=\"gcard\"><div class=\"gn\">04</div><div class=\"gt\">Mode over chrome</div><div class=\"gd\">The work is the center</div></div>\n      <div class=\"gcard\"><div class=\"gn\">05</div><div class=\"gt\">Behavioral sequencing</div><div class=\"gd\">Design the order</div></div>\n      <div class=\"gcard\"><div class=\"gn\">06</div><div class=\"gt\">Calm &amp; scannability</div><div class=\"gd\">Shape before detail</div></div>\n      <div class=\"gcard\" style=\"grid-column:1 / -1\"><div class=\"gn\">07</div><div class=\"gt\">Warm editorial defaults</div><div class=\"gd\">Human, never cold corporate SaaS</div></div>\n    </div>\n  </section>",
    "<section class=\"slide\">\n    <div class=\"kicker\"><span class=\"num\">01</span> Progressive disclosure <span class=\"rule\"></span></div>\n    <h2>Reveal complexity in layers.</h2>\n    <p class=\"rulez\">As the person shows readiness — never all at once. The ladder: <em>overview list → light detail → focused action → full-screen mode → ⌘K palette.</em></p>\n    <div class=\"why\"><span class=\"lab\">Why it matters</span><p>Working memory is ~4 chunks and every control competes for that budget. Disclosure keeps the active set small, so cognition goes to the task, not the chrome.</p></div>\n    <div class=\"avoid\"><span class=\"dot\">✕</span><div><b>Avoid</b> — the kitchen-sink screen, or a relentless scroll of ten stacked sections.</div></div>\n  </section>",
    "<section class=\"slide\">\n    <div class=\"kicker\"><span class=\"num\">02</span> Reading clarity over control density <span class=\"rule\"></span></div>\n    <h2>When clarity and density conflict, clarity wins.</h2>\n    <p class=\"rulez\">Even when dense would \"fit more.\" Reading is fixations and jumps; the comfortable line is <em>~45–75 characters</em>.</p>\n    <ul class=\"pts\">\n      <li>~<b>660px</b> for prose &amp; editing; up to <b>960px</b> for a boxed app shell</li>\n      <li>Centered, boxed layouts — a contained frame, not an edge-to-edge wall</li>\n      <li>Editorial discipline closer to <b>HEY / Fizzy</b> than generic SaaS</li>\n    </ul>\n    <div class=\"avoid\"><span class=\"dot\">✕</span><div><b>Avoid</b> — full-width body text across a wide monitor; cramming controls edge-to-edge because the space looks \"wasted.\"</div></div>\n  </section>",
    "<section class=\"slide\">\n    <div class=\"kicker\"><span class=\"num\">03</span> Reduce cognitive load <span class=\"rule\"></span></div>\n    <h2>One thing at a time.</h2>\n    <p class=\"rulez\">Break big asks into small ones. Default what can be defaulted. The only load free to cut is <em>extraneous</em> — and most of it comes from showing or asking too much.</p>\n    <ul class=\"pts\">\n      <li><b>One new thing per step</b> — appear, then message, then call-to-action</li>\n      <li><b>Stepper over mega-form</b> — progress, labels, inline validation, save-as-draft</li>\n      <li><b>Smart defaults</b> — it works with zero configuration</li>\n      <li><b>Required vs optional</b> always visible — never make someone guess</li>\n    </ul>\n    <div class=\"avoid\"><span class=\"dot\">✕</span><div><b>Avoid</b> — a single-page form with forty fields, no progress, no draft-save, no required signal.</div></div>\n  </section>",
    "<section class=\"slide\">\n    <div class=\"kicker\"><span class=\"num\">04</span> Mode over chrome <span class=\"rule\"></span></div>\n    <h2>The work is the center.</h2>\n    <p class=\"rulez\">Focused tasks switch the whole screen rather than stacking another persistent panel. <em>Recognition beats recall.</em></p>\n    <ul class=\"pts\">\n      <li>No persistent sidebar in core document / reading mode</li>\n      <li>Config &amp; monitoring live in drawers or standalone URLs — not permanent nav slots</li>\n      <li>Reusable modes: <b>Library · Document · Share · Review · Sync · Requests · Agents · ⌘K</b></li>\n    </ul>\n    <div class=\"avoid\"><span class=\"dot\">✕</span><div><b>Avoid</b> — a sidebar-heavy shell where navigation itself becomes a thing to learn.</div></div>\n  </section>",
    "<section class=\"slide\">\n    <div class=\"kicker\"><span class=\"num\">05</span> Behavioral sequencing <span class=\"rule\"></span></div>\n    <h2>Design the order, not just the screens.</h2>\n    <p class=\"rulez\">Earn small commitments before big ones. Fewer, smaller decisions keep momentum <em>(Hick's law)</em>; permission and proof remove hesitation.</p>\n    <ul class=\"pts\">\n      <li><b>Micro-compliance laddering</b> — small agreements compound; the person onboards themselves</li>\n      <li><b>The Woolworths principle</b> — show the next step before they wonder; don't gate value behind a login</li>\n      <li><b>Social proof as permission</b> — \"others like me do this\"; milestones say \"I did the right thing\"</li>\n    </ul>\n    <div class=\"avoid\"><span class=\"dot\">✕</span><div><b>Avoid</b> — demanding signup, payment or commitment before any moment of value.</div></div>\n  </section>",
    "<section class=\"slide\">\n    <div class=\"kicker\"><span class=\"num\">06</span> Calm &amp; scannability <span class=\"rule\"></span></div>\n    <h2>Scannable at a glance, calm on sustained reading.</h2>\n    <p class=\"rulez\">People scan for the <em>shape</em> of the information first, then drop into detail. Whitespace isn't empty — it's the separation that lets each group register as a chunk.</p>\n    <ul class=\"pts\">\n      <li>Intentional type scale — display, body, utility each doing one job</li>\n      <li>Whitespace used to <b>group and separate</b>, not filled because it looks unfinished</li>\n      <li>A restrained badge / tag system — state recognised by colour</li>\n      <li>\"No fluff, no endless scroll\"</li>\n    </ul>\n    <div class=\"avoid\"><span class=\"dot\">✕</span><div><b>Avoid</b> — uniform visual weight everywhere, so nothing stands out.</div></div>\n  </section>",
    "<section class=\"slide\">\n    <div class=\"kicker\"><span class=\"num\">07</span> Warm editorial defaults <span class=\"rule\"></span></div>\n    <h2>When an axis is free — default warm, human, editorial.</h2>\n    <table class=\"tok\">\n      <tr><td class=\"axis\">Type</td><td class=\"val\"><b>Fraunces</b> display (restraint), <b>DM Sans / Inter / Plus Jakarta</b> body, <b>Amiri</b> for Arabic, <b>DM Mono</b> for data</td></tr>\n      <tr><td class=\"axis\">Colour</td><td class=\"val\"><span class=\"sw\" style=\"background:#FAF7E3\"></span><b>Cream #FAF7E3</b> as page background only — never cell fill. Accent <span class=\"sw\" style=\"background:#CD7854\"></span><b>Clay #CD7854</b></td></tr>\n      <tr><td class=\"axis\">Layout</td><td class=\"val\">Narrow, boxed, centered. <b>~960px</b> shell, <b>~660px</b> column. Generous line-height. Sentence-case banners</td></tr>\n      <tr><td class=\"axis\">Form</td><td class=\"val\">Prefer a rendered interactive artifact over a static spec. One justified aesthetic risk</td></tr>\n    </table>\n    <div class=\"avoid\" style=\"margin-top:20px\"><span class=\"dot\">✕</span><div><b>Avoid</b> — the templated AI look: big-number hero, gradient accent, decorative 01/02/03 markers where the content isn't a real sequence.</div></div>\n  </section>",
    "<section class=\"slide close\">\n    <div class=\"kicker\"><span class=\"num\">→</span> Before it ships <span class=\"rule\"></span></div>\n    <h2>The test that catches the rest.</h2>\n    <ul class=\"checklist\">\n      <li>The active set is small enough to hold in working memory</li>\n      <li>Complexity arrives in layers, not all at once</li>\n      <li>Long-form text sits in a readable column, not full-bleed</li>\n      <li>Big asks are broken into steps, with progress &amp; draft-save</li>\n      <li>Everything that could be defaulted just works</li>\n      <li>The work is the hero; chrome recedes during focus</li>\n      <li>The next step is always visible</li>\n      <li>The page scans in five seconds for its shape</li>\n      <li>One memorable signature — everything else quiet</li>\n      <li>I'd rather read this than brace to read it</li>\n    </ul>\n    <p><a href=\"https://design.kuickr.co/design-review.blocks.json\" target=\"_blank\" rel=\"noopener\">Open the review checklist</a></p><p class=\"stamp\">When a choice fails — remove, don't add.</p>\n  </section>"
  ],
  "after": "\n\n</div>\n\n<div class=\"bar\">\n  <div class=\"nav\">\n    <button id=\"prev\" aria-label=\"Previous\">\n      <svg width=\"15\" height=\"15\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M15 18l-6-6 6-6\"/></svg>\n    </button>\n    <span class=\"count\" id=\"count\">01 / 11</span>\n    <button id=\"next\" aria-label=\"Next\">\n      <svg width=\"15\" height=\"15\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M9 18l6-6-6-6\"/></svg>\n    </button>\n  </div>\n  <div class=\"dots\" id=\"dots\"></div>\n</div>\n\n<script>\n  const slides = Array.from(document.querySelectorAll('.slide'));\n  const total = slides.length;\n  let i = 0;\n  const count = document.getElementById('count');\n  const progress = document.getElementById('progress');\n  const dotsWrap = document.getElementById('dots');\n  const prev = document.getElementById('prev');\n  const next = document.getElementById('next');\n\n  slides.forEach((_, n) => {\n    const d = document.createElement('i');\n    d.addEventListener('click', () => go(n));\n    dotsWrap.appendChild(d);\n  });\n  const dots = Array.from(dotsWrap.children);\n\n  function pad(n){return String(n+1).padStart(2,'0');}\n\n  function go(n){\n    i = Math.max(0, Math.min(total - 1, n));\n    slides.forEach((s, n2) => s.classList.toggle('active', n2 === i));\n    dots.forEach((d, n2) => d.classList.toggle('on', n2 === i));\n    count.textContent = pad(i) + ' / ' + String(total).padStart(2,'0');\n    progress.style.width = ((i) / (total - 1) * 100) + '%';\n    prev.disabled = i === 0;\n    next.disabled = i === total - 1;\n    const s = slides[i]; if (s) s.scrollTop = 0;\n  }\n\n  prev.addEventListener('click', () => go(i - 1));\n  next.addEventListener('click', () => go(i + 1));\n  document.addEventListener('keydown', e => {\n    if (e.key === 'ArrowRight' || e.key === 'PageDown' || e.key === ' ') { e.preventDefault(); go(i + 1); }\n    if (e.key === 'ArrowLeft'  || e.key === 'PageUp') { e.preventDefault(); go(i - 1); }\n    if (e.key === 'Home') go(0);\n    if (e.key === 'End') go(total - 1);\n  });\n\n  let x0 = null;\n  document.addEventListener('touchstart', e => x0 = e.touches[0].clientX, {passive:true});\n  document.addEventListener('touchend', e => {\n    if (x0 === null) return;\n    const dx = e.changedTouches[0].clientX - x0;\n    if (Math.abs(dx) > 45) go(i + (dx < 0 ? 1 : -1));\n    x0 = null;\n  }, {passive:true});\n\n  go(0);\n</script>\n</body>\n</html>"
}