    :root {
      --paper: #f5f1ea; --paper-2: #ece6db; --ink: #1d1b18; --body: #3b3732; --mute: #77716a; --line: #ddd5c8;
      --accent: #0b7285; --wood: #b48b62; --wood-dark: #8d6a49;
      --serif: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
      --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
      --mono: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--sans); background: #ffffff; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
    a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
    img, video { display: block; max-width: 100%; }
    .wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
    .mono { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.01em; }
    .mute { color: var(--mute); }

    /* The lens: photos start out of focus and sharpen as they come into view */
    .lens { display: block; overflow: hidden; background: var(--paper-2); }
    .lens img, .lens video { width: 100%; height: 100%; object-fit: cover; }
    html.js .lens img, html.js .lens video { filter: blur(14px) saturate(0.85); transform: scale(1.05); transition: filter 1.5s cubic-bezier(.2,.7,.2,1), transform 1.5s cubic-bezier(.2,.7,.2,1); }
    html.js .lens.in img, html.js .lens.in video { filter: none; transform: none; }
    @media (prefers-reduced-motion: reduce) { html.js .lens img, html.js .lens video { filter: none; transform: none; transition: none; } }

    /* Section heads */
    .sec { padding: 72px 0; border-top: 1px solid var(--line); }
    .kicker { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 14px; }
    .sec h2.big { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 22ch; }
    .sec .lead { font-size: 1.05rem; color: var(--body); max-width: 40rem; margin-top: 16px; }

    /* Hackathon story */
    .story-quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; }
    .story-quote::before { content: "“"; color: var(--accent); }
    .story-quote::after { content: "”"; color: var(--accent); }
    .tally { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 44px; }
    .tally b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.04em; }
    .tally span { font-family: var(--mono); font-size: 0.72rem; color: var(--mute); }
    /* Writing: a bookshelf */
    .library { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; margin-top: 48px; }
    .shelf-wrap { min-width: 0; }
    .shelf { display: flex; align-items: flex-end; gap: 3px; padding: 26px 18px 0; min-height: 360px; border-bottom: 14px solid var(--wood); box-shadow: 0 10px 0 -4px var(--wood-dark); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
    .shelf::-webkit-scrollbar { display: none; }
    .spine { flex: 0 0 auto; width: var(--w); height: var(--h); background: var(--c); color: var(--t); border: 0; border-radius: 3px 3px 1px 1px; cursor: pointer; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 14px 0 12px; font: inherit;
             box-shadow: inset 3px 0 0 rgba(255,255,255,0.18), inset -4px 0 0 rgba(0,0,0,0.14), 0 1px 0 rgba(0,0,0,0.08);
             transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s; }
    .spine::before, .spine::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; opacity: 0.35; }
    .spine::before { top: 8px; } .spine::after { bottom: 34px; }
    .spine-title { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: calc(var(--h) - 64px); }
    .spine-year { font-family: var(--mono); font-size: 0.62rem; opacity: 0.8; }
    .spine.gold .spine-title { font-weight: 500; }
    .spine.gold::before { height: 6px; top: 22px; background: #d9b44a; opacity: 1; }
    .spine.meta { box-shadow: inset 3px 0 0 rgba(255,255,255,0.6), inset -4px 0 0 rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.06); }
    .spine.meta::before { top: auto; bottom: 46px; height: 46px; width: 6px; left: 50%; margin-left: -3px; background: #d4383b; opacity: 1; }
    .spine.meta .spine-title { font-family: var(--sans); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
    .spine:last-child { transform: rotate(7deg); transform-origin: 0 100%; margin-left: 6px; }
    .spine:hover, .spine:focus-visible, .spine.on { transform: translateY(-16px); box-shadow: inset 3px 0 0 rgba(255,255,255,0.18), inset -4px 0 0 rgba(0,0,0,0.14), 0 14px 20px -12px rgba(0,0,0,0.45); }
    .spine:last-child:hover, .spine:last-child:focus-visible, .spine:last-child.on { transform: rotate(7deg) translateY(-16px); }
    .spine:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
    .shelf-hint { margin-top: 18px; }
    .h-touch { display: none; }
    @media (hover: none) { .h-hover { display: none; } .h-touch { display: inline; } }
    .book-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .book-panel .cover { aspect-ratio: 4 / 3; border-radius: 4px; }
    .type-cover { width: 100%; height: 100%; background: #2f5e36; color: #f3ead2; display: flex; flex-direction: column; justify-content: space-between; padding: 9% 10%; }
    .type-cover .rule { height: 5px; width: 64px; background: #d9b44a; }
    .type-cover b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.08; letter-spacing: -0.02em; }
    .type-cover i { font-family: var(--serif); font-size: 0.95rem; opacity: 0.85; }
    .type-cover span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
    .book-panel h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.1; letter-spacing: -0.02em; margin-top: 4px; }
    .book-panel p#b-hook { color: var(--body); margin-top: 8px; }
    .book-panel .btn { font: inherit; font-size: 0.9rem; font-weight: 500; background: none; color: var(--ink); cursor: pointer; margin-top: 16px; }
    .book-panel .btn:hover { background: var(--ink); color: var(--paper); }

    /* Learning how to see */
    .see { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
    .see .lens { aspect-ratio: 3 / 4; border-radius: 4px; }
    .see blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -0.015em; }
    .see blockquote + blockquote { font-size: 1.15rem; line-height: 1.55; margin-top: 22px; color: var(--body); }
    .see .facts { margin-top: 30px; color: var(--body); max-width: 38rem; }
    .see .facts p + p { margin-top: 10px; }
    .see .row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 26px; }
    .see .row .btn { margin-top: 0; line-height: 1.4; }
    .see button.btn { font: inherit; font-size: 0.9rem; font-weight: 500; background: none; color: var(--ink); cursor: pointer; margin-top: 0; }
    .see button.btn:hover { background: var(--ink); color: var(--paper); }
    details.cv { margin-top: 0; }
    details.cv > summary { list-style: none; }
    details.cv > summary::-webkit-details-marker { display: none; }
    details.cv[open] > summary { background: var(--ink); color: var(--paper); }
    .cv-wrap { margin-top: 32px; }
    html.js .cv-wrap:not(.show) { display: none; }

    /* CV, matching the live site's structure */
    .cv-intro { color: var(--mute); font-size: 0.9rem; margin-bottom: 20px; }
    .cv-block-title { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); margin: 26px 0 8px; }
    .cv-list { list-style: none; }
    .cv-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
    .cv-year { font-family: var(--mono); font-size: 0.75rem; color: var(--mute); padding-top: 0.15rem; }
    .cv-desc { color: var(--body); }
    .cv-sep { display: none; }

    /* Bits & bytes: a dark band with a shallow depth of field */
    .inspo { background: #ffffff; color: var(--ink); border-top: 1px solid var(--ink); padding: 96px 0 104px; margin-top: 0; }
    .inspo .kicker { color: var(--accent); }
            box-shadow: inset 0 2px 0 rgba(255,255,255,0.16), inset 0 -3px 0 rgba(0,0,0,0.16); transition: transform 0.3s cubic-bezier(.2,.7,.2,1); }

    /* Footer */
    footer { padding: 64px 0 40px; border-top: 1px solid var(--line); }
    footer .say { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5.5vw, 4.4rem); letter-spacing: -0.04em; line-height: 1; }
    footer .say a { text-decoration: none; }
    footer .say a:hover { color: var(--accent); }
    footer .small { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 36px; }

    /* Reader */
    dialog.reader { border: 0; padding: 0; margin: auto; width: min(720px, 100vw); max-width: 100vw; height: min(92dvh, 1100px); max-height: 100dvh; background: var(--paper); color: var(--ink); border-radius: 8px; box-shadow: 0 20px 80px rgba(0,0,0,0.3); }
    dialog.reader::backdrop { background: rgba(20, 18, 15, 0.55); }
    .reader-inner { height: 100%; overflow-y: auto; padding: 56px 64px 72px; }
    .reader-close { position: sticky; top: -40px; float: right; margin: -32px -40px 0 0; font: inherit; font-size: 1.4rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
    .reader h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.1; letter-spacing: -0.025em; margin: 8px 0 28px; }
    .reader p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.7; color: var(--body); margin-bottom: 1.1em; }
    .reader p em { color: var(--ink); }
    .reader img, .reader video { width: 100% !important; max-width: 100% !important; height: auto; border-radius: 4px !important; margin: 1.6rem 0 !important; }
    .reader div.essay-pics { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px !important; }
    .reader div.essay-pics img { margin: 0 !important; aspect-ratio: 3/4; object-fit: cover; }
    .reader a.writing-link { font-family: var(--mono); font-size: 0.85rem; }

    @media (max-width: 900px) {
      .wrap { padding: 0 20px; }
      .see { grid-template-columns: 1fr; gap: 26px; }
      .library { grid-template-columns: 1fr; gap: 32px; }
      .shelf { min-height: 330px; }
      .see .lens { max-width: 340px; }
        .inspo { padding: 72px 0 80px; }
        .reader-inner { padding: 44px 22px 56px; }
      .reader-close { margin: -28px -6px 0 0; }
      dialog.reader { height: 100dvh; border-radius: 0; }
    }
    @media (max-width: 560px) {
      .wrap { padding: 0 16px; }
      .sec { padding: 56px 0; }
      .cv-item { grid-template-columns: 1fr; gap: 0; }
    }

    /* ===== Founder layer: editorial type and grid on top of the same content ===== */
    :root { --display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif; }
    :root { --paper: #ffffff; --paper-2: #f2f2f0; --ink: #111110; --body: #3a3936; --mute: #6d6d68; --line: #d9d7d0; --accent: #0b7285; --cell: #e3e1da; --wood: #b48b62; --wood-dark: #8d6a49; }
    @keyframes focusin { from { filter: blur(10px); opacity: 0.4; } to { filter: none; opacity: 1; } }

    .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 18px 0; border-bottom: 1px solid var(--line); }
    .bar .name { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
    .bar nav { display: flex; gap: 1.5rem; font-size: 0.875rem; }
    .bar nav a { text-decoration: none; color: var(--mute); }
    .bar nav a:hover { color: var(--ink); }
    .hdr-mail { justify-self: end; text-decoration: none; }
    .hdr-mail:hover { color: var(--accent); }

    .hero2 { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3.4fr); gap: 56px; align-items: end; padding: 56px 0 40px; }
    .hero2 .eyebrow { margin-bottom: 22px; }
    .hero2 h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 0.97; letter-spacing: -0.045em; text-wrap: balance; }
    .hero2 h1 .hl { color: var(--accent); }
    html.js .hero2 h1 { animation: focusin 1.6s cubic-bezier(.2,.7,.2,1) both; }
    .hero2 .thread { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--body); margin-top: 26px; max-width: 36rem; }
    .hero2 .links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 24px; font-size: 0.92rem; }
    .hero2 .links a:first-child { font-weight: 600; }
    .hero2 .portrait { aspect-ratio: 4 / 5; border-radius: 3px; }


    .sec, .sec2 { padding: 28px 0 72px; border-top: 1px solid var(--ink); }
    .sec-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
    .sec-head h2 { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
    .sec-lead { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.05; margin: 10px 0 22px; max-width: 24ch; text-wrap: balance; }

    details.row { border-bottom: 1px solid var(--line); }
    details.row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 1fr) 250px 64px 80px 24px; gap: 16px; align-items: center; padding: 14px 0; }
    details.row summary::-webkit-details-marker { display: none; }
    details.row summary:hover .t { color: var(--accent); }
    details.row summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
    .row .n { font-family: var(--mono); font-size: 0.8rem; color: var(--mute); }
    .row .t { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.15rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; transition: color 0.15s; }
    .row .k, .row .y { font-family: var(--mono); font-size: 0.75rem; color: var(--mute); }
    #projects .row .k { color: var(--accent); }
    .row .y { text-align: right; }
    .row .pm { font-family: var(--mono); color: var(--mute); text-align: right; transition: transform 0.2s; }
    details.row[open] .pm { transform: rotate(45deg); color: var(--accent); }
    .row .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 1px; }
    .case { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; row-gap: 16px; padding: 4px 0 34px; align-items: start; }
    .case-text { padding-right: 24px; }
    .row .th { width: 64px; height: 44px; border-radius: 2px; overflow: hidden; background: var(--paper-2); }
    .row .th img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: 0.75; transition: filter 0.3s, opacity 0.3s; }
    details.row summary:hover .th img, details.row[open] .th img { filter: none; opacity: 1; }
    .case-text { grid-column: 2; }
    .case-text p { color: var(--body); margin-bottom: 12px; max-width: 36rem; }
    .case-text .tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink); }
    .case-text .meta { font-family: var(--mono); font-size: 0.72rem; color: var(--mute); }
    .case-text .result { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--ink); background: var(--paper-2); padding: 0.25rem 0.7rem; border-radius: 999px; }
    .case-text .links { font-family: var(--mono); font-size: 0.78rem; display: flex; gap: 1.2rem; flex-wrap: wrap; }
    .case .lens { grid-column: 3; aspect-ratio: 4 / 3; border-radius: 3px; }
    .case .lens.white { background: #fff; }
    .case .lens.white img { object-fit: contain; padding: 6%; }


    /* Headline voice everywhere else */
    .story-quote { margin-top: 6px; }
    .tally b, .book-panel h3, footer .say, .see .facts { font-family: var(--display); }
    .tally b { font-weight: 600; letter-spacing: -0.05em; }
    .book-panel h3 { font-weight: 600; letter-spacing: -0.03em; }
    footer .say { font-weight: 600; letter-spacing: -0.05em; }
    .btn { border-radius: 999px; }
    .inspo .kicker { font-family: var(--mono); }

    @media (max-width: 900px) {
      .bar { grid-template-columns: 1fr auto; }
      .bar nav { display: none; }
      .hero2 { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
      .hero-side { max-width: 220px; }
        details.row summary { grid-template-columns: 34px minmax(0, 1fr) 56px 20px; gap: 4px 10px; }
      details.row summary .k { grid-column: 2; grid-row: 2; }
      details.row summary .th { grid-column: 3; grid-row: 1 / span 2; width: 56px; height: 42px; }
      details.row summary .y { display: none; }
      details.row summary .pm { grid-column: 4; grid-row: 1; }
      .case { grid-template-columns: 1fr; }
      .case-text, .case .lens { grid-column: 1; }
      .case .lens { order: -1; }
    }
    .btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.1rem; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--ink); background: none; transition: background 0.2s, color 0.2s; }
    .btn:hover { background: var(--ink); color: var(--paper); }
    .story-line { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 28ch; margin-top: 6px; text-wrap: balance; }
    .hack-list { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
    .hack-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
    .hack-list .y { font-family: var(--mono); font-size: 0.75rem; color: var(--mute); }
    .hack-list .e b { font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.015em; }
    .hack-list .e b a { text-decoration: none; }
    .hack-list .e b a:hover { color: var(--accent); }
    .hack-list .e span { color: var(--mute); font-size: 0.9rem; margin-left: 6px; }
    .hack-list .r { font-family: var(--mono); font-size: 0.78rem; color: var(--mute); text-align: right; white-space: nowrap; }
    .hack-list .r.w { color: var(--accent); font-weight: 500; }
    .hack-next { margin-top: 22px; font-size: 1rem; color: var(--body); }
    .hack-next a { font-weight: 600; text-decoration: none; color: var(--ink); }
    .hack-next a:hover { color: var(--accent); }
    @media (max-width: 760px) {
      .hack-list li { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; }
      .hack-list .r { grid-column: 2; text-align: left; }
      .hack-list .e span { display: block; margin-left: 0; }
        }
    /* Bookshelf panel: cover band, then the opening of the essay */
    .library { align-items: start; }
    .book-panel { gap: 14px; }
    .book-panel .cover { aspect-ratio: 21 / 9; }
    .book-panel #b-hook { font-family: var(--display); font-weight: 500; color: var(--ink); margin-top: 6px; }
    .excerpt { position: relative; max-height: 13.5em; overflow: hidden; margin-top: 10px; }
    .excerpt p { font-family: var(--serif); font-size: 1.02rem; line-height: 1.6; color: var(--body); margin-bottom: 0.7em; }
    .excerpt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5em; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
    .excerpt:empty { display: none; }
    .shelf { margin-top: 30px; }
    /* Project side panel */
    dialog.drawer { margin: 0 0 0 auto; padding: 0; border: 0; width: min(620px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--paper); color: var(--ink); box-shadow: -24px 0 60px rgba(0,0,0,0.16); }
    dialog.drawer:focus, dialog.reader:focus, dialog.drawer:focus-visible, dialog.reader:focus-visible { outline: none; }
    dialog.drawer::backdrop { background: rgba(17,17,16,0.35); }
    dialog.drawer[open] { animation: drawerin 0.32s cubic-bezier(.2,.7,.2,1); }
    @keyframes drawerin { from { transform: translateX(48px); opacity: 0; } }
    .drawer-inner { height: 100%; overflow-y: auto; padding: 24px 40px 64px; }
    .drawer-close { position: sticky; top: 0; float: right; z-index: 2; font: inherit; font-size: 1.4rem; line-height: 1; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
    .drawer-close:hover { border-color: var(--ink); }
    .drawer-body { clear: both; padding-top: 8px; }
    .drawer-body h1, .drawer-body .p-title { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.02; margin: 22px 0 8px; }
    .drawer-body h2 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; margin: 26px 0 10px; }
    .drawer-body img { display: block; max-width: 100%; height: auto; border-radius: 3px; }
    .drawer-body .project-detail-image { width: 100%; }
    .drawer-body .project-meta { font-family: var(--mono); font-size: 0.75rem; color: var(--mute); }
    .drawer-body .project-team { font-size: 0.92rem; color: var(--body); margin-top: 6px; }
    .drawer-body .project-detail-images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }
    .drawer-body .project-detail-images img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
    .drawer-body p { color: var(--body); line-height: 1.7; margin: 0 0 1em; }
    .drawer-body .project-lead { font-size: 1.08rem; color: var(--ink); }
    .drawer-body .project-quote { font-family: var(--serif); font-style: italic; font-size: 1.1rem; border-left: 2px solid var(--accent); padding-left: 14px; margin: 20px 0; color: var(--ink); }
    .drawer-body .project-quote cite { display: block; font-style: normal; font-family: var(--mono); font-size: 0.72rem; color: var(--mute); margin-top: 8px; }
    .drawer-body .project-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
    .drawer-body .project-btn { display: inline-flex; padding: 0.55rem 1rem; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: 0.88rem; font-weight: 500; }
    .drawer-body .project-btn:hover, .drawer-body .project-btn-primary { background: var(--ink); color: var(--paper); }
    .drawer-body .project-divider { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
    .drawer-body .video-embed { position: relative; aspect-ratio: 16 / 9; margin: 24px 0; border-radius: 3px; overflow: hidden; background: #000; }
    .drawer-body .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
    @media (max-width: 760px) { .drawer-inner { padding: 18px 18px 48px; } dialog.drawer { box-shadow: none; } }
    /* Bits & bytes: one compact row of sticky notes */
    .inspo { padding: 44px 0 52px; }
    .bits { display: flex; gap: 16px; overflow-x: auto; padding: 22px 6px 18px; margin: 4px -6px 0; scroll-snap-type: x proximity; scrollbar-width: thin;
            -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
    .bit { flex: 0 0 214px; height: 198px; scroll-snap-align: start; margin: 0; padding: 14px 14px 12px; display: flex; flex-direction: column; overflow: hidden;
           background: var(--note, #e3f0f1); color: #1d1b18; font-size: 0.82rem; line-height: 1.4; border-radius: 2px;
           box-shadow: 0 1px 1px rgba(0,0,0,0.06), 0 8px 14px -8px rgba(0,0,0,0.25); transform: rotate(var(--tilt, -1.5deg)); transition: transform 0.25s ease, box-shadow 0.25s ease; }
    .bit:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 2px 2px rgba(0,0,0,0.06), 0 14px 22px -10px rgba(0,0,0,0.3); }
    .bit:nth-child(5n+1) { --note: #e3f0f1; --tilt: -1.6deg; }
    .bit:nth-child(5n+2) { --note: #e3f0f1; --tilt: 1.2deg; }
    .bit:nth-child(5n+3) { --note: #e3f0f1; --tilt: -0.8deg; }
    .bit:nth-child(5n+4) { --note: #e3f0f1; --tilt: 1.8deg; }
    .bit:nth-child(5n+5) { --note: #e3f0f1; --tilt: -1.1deg; }
    .bit-type { display: block; font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(29,27,24,0.55); margin-bottom: 6px; }
    .bit blockquote, .bit b { display: block; font: inherit; font-weight: 400; }
    .bit b { font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
    .bit-q blockquote::before { content: "“"; } .bit-q blockquote::after { content: "”"; }
    .bit figcaption, .bit .by { display: block; font-family: var(--mono); font-size: 0.64rem; color: rgba(29,27,24,0.6); margin-top: auto; padding-top: 8px; }
    .bit a { color: inherit; }
    @media (prefers-reduced-motion: reduce) { .bit, .bit:hover { transform: none; transition: none; } }
    .away { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
    .away-label { color: var(--mute); }
    .chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
    .chips li { display: inline-flex; align-items: center; gap: 6px; padding: 0.3rem 0.75rem 0.3rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.86rem; color: var(--body); }
    .chips svg { width: 16px; height: 16px; flex: none; }
    /* About: the path from artist to founder (restored) */
    .path { list-style: none; margin-top: 0; border-top: 1px solid var(--line); }
    .path li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
    .path .step { color: var(--mute); }
    .path li:last-child .step { color: var(--accent); }
    .path p { color: var(--body); max-width: 40rem; }
    .path li:last-child p { color: var(--ink); }
    .btn-solid { background: var(--ink); color: var(--paper); }
    .btn-solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
    .btn-icon { width: 2.6rem; height: 2.6rem; padding: 0; justify-content: center; }
    .reader .essay-link a { font-size: 0.9rem; font-weight: 500; color: var(--accent); }
    .teach .hack-list li { grid-template-columns: 72px minmax(0, 1fr); }
    @media (max-width: 760px) { .path li { grid-template-columns: 1fr; gap: 4px; } .teach .hack-list li { grid-template-columns: 48px minmax(0, 1fr); } }
    .hero-sub { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.35; letter-spacing: -0.015em; color: var(--body); margin-top: 22px; max-width: 40ch; text-wrap: balance; }
    /* Hackathons without the accent colour */
    #hackathons .hack-list .r.w { color: var(--ink); font-weight: 600; }
    #hackathons .hack-list .e b a:hover, #hackathons .hack-next a:hover { color: var(--ink); text-decoration: underline; }
    /* Sticky notes: flat paper, slight tilt, soft shadow */
    .bits { padding-top: 22px; }
    .bit { box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 6px 12px -8px rgba(0,0,0,0.18); }
    .bit:hover { box-shadow: 0 2px 3px rgba(0,0,0,0.06), 0 12px 18px -10px rgba(0,0,0,0.22); }
    .bit:nth-child(5n+1) { --tilt: -0.9deg; } .bit:nth-child(5n+2) { --tilt: 0.6deg; } .bit:nth-child(5n+3) { --tilt: -0.4deg; }
    .bit:nth-child(5n+4) { --tilt: 1deg; } .bit:nth-child(5n+5) { --tilt: -0.6deg; }
    .bit a { text-decoration: none; } .bit a:hover { text-decoration: underline; }
    /* Phone: menu as a swipeable row, bigger tap targets */
    @media (max-width: 900px) {
      .bar { grid-template-columns: 1fr auto; row-gap: 4px; padding-bottom: 6px; }
      .bar nav { display: flex; grid-column: 1 / -1; order: 3; gap: 1.25rem; overflow-x: auto; white-space: nowrap; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
      .bar nav::-webkit-scrollbar { display: none; }
      .bar nav a { padding: 10px 0; font-size: 0.95rem; color: var(--body); }
      .hdr-mail { padding: 10px 0; }
      .hero2 .links { gap: 0 1.4rem; }
      .hero2 .links a { display: inline-block; padding: 10px 0; }
      .type-cover span { font-size: 0.75rem; }
      footer .small a { display: inline-block; padding: 10px 2px; }
      .book-panel { display: none; }
    }
    /* About: three plain paragraphs, no step labels */
    .path { border-top: 0; }
    .path li { display: block; padding: 0; border-bottom: 0; }
    .path li + li { margin-top: 14px; }
    .path p { color: var(--body); }
    @media (max-width: 760px) { .path li { display: block; } }
    .bit-list { list-style: none; display: grid; gap: 9px; }
    .bit-list .by { margin-top: 1px; padding-top: 0; }
    .drawer-body .stat { display: inline-block; font-weight: 600; color: var(--ink); background: var(--paper-2); padding: 0.3rem 0.8rem; border-radius: 999px; }
    .drawer-inner:focus, .drawer-inner:focus-visible, .reader-inner:focus, .reader-inner:focus-visible { outline: none; }
    /* Project rows without numbers */
    details.row summary { grid-template-columns: minmax(0, 1fr) 280px 64px 80px 24px; }
    .case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .case-text { grid-column: 1; }
    .case .lens { grid-column: 2; }
    @media (max-width: 900px) {
      details.row summary { grid-template-columns: minmax(0, 1fr) 56px 20px; }
      details.row summary .k { grid-column: 1; grid-row: 2; }
      details.row summary .th { grid-column: 2; grid-row: 1 / span 2; }
      details.row summary .pm { grid-column: 3; grid-row: 1; }
      .case { grid-template-columns: 1fr; }
      .case-text, .case .lens { grid-column: 1; }
    }
    .tally-line { color: var(--mute); margin-top: 14px; font-size: 1rem; }
    /* Away from the screen: plain items, no outlines */
    .chips { gap: 8px 22px; }
    .chips li { border: 0; border-radius: 0; padding: 0; }
    /* About ends with the contact */
    .contact { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
    .contact-note { color: var(--mute); font-size: 0.9rem; }
    .contact-mail { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; text-decoration: none; margin-top: 4px; }
    .contact-mail:hover { color: var(--accent); }
    .see .row { align-items: center; gap: 0.75rem 1.5rem; margin-top: 16px; }
    .social { display: inline-flex; gap: 1.2rem; }
    .social a { padding: 8px 0; }
    footer { padding: 26px 0 32px; }
    footer .small { margin-top: 0; }
    /* Project rows without arrows */
    #projects .row .pm { display: none; }
    #projects details.row summary { grid-template-columns: minmax(0, 1fr) 280px 64px 80px; }
    @media (max-width: 900px) { #projects details.row summary { grid-template-columns: minmax(0, 1fr) 56px; } }
    /* Phone: the menu stays at the top while scrolling */
    @media (max-width: 900px) {
      .bar { position: sticky; top: 0; z-index: 10; background: var(--paper); margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
      html { scroll-padding-top: 104px; }
    }
    @media (max-width: 560px) { .bar { margin: 0 -16px; padding-left: 16px; padding-right: 16px; } }
    .away-line { color: var(--body); margin-top: 14px; }
    /* Writing: the books lie in a stack, titles readable */
    .library { align-items: center; }
    .shelf { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 0; padding: 0; border-bottom: 0; box-shadow: none; overflow: visible; }
    .spine { width: min(100%, calc(var(--h) * 1.3)); height: calc(var(--w) * 0.8); flex-direction: row; align-items: center; justify-content: space-between; padding: 0 16px 0 18px; border-radius: 2px 4px 4px 2px;
             box-shadow: inset 0 3px 0 rgba(255,255,255,0.16), inset 0 -4px 0 rgba(0,0,0,0.14), 0 1px 0 rgba(0,0,0,0.08); transform: rotate(var(--tilt, 0deg)); margin-left: var(--off, 0); }
    .spine::before, .spine::after { top: 0; bottom: 0; height: auto; width: 2px; left: auto; right: auto; }
    .spine::before { left: 9px; } .spine::after { right: 48px; }
    .spine-title { writing-mode: horizontal-tb; transform: none; max-height: none; max-width: calc(100% - 60px); font-size: 0.98rem; }
    .spine.gold::before { width: 6px; height: auto; left: 22px; top: 0; }
    .spine.gold { padding-left: 38px; }
    .spine.meta::before { top: calc(50% - 3px); bottom: auto; left: auto; right: 62px; width: 40px; height: 6px; margin-left: 0; }
    .spine:nth-child(2) { --off: 14px; --tilt: -0.6deg; } .spine:nth-child(3) { --off: 4px; --tilt: 0.4deg; } .spine:nth-child(4) { --off: 20px; --tilt: -0.3deg; }
    .spine:nth-child(5) { --off: 8px; --tilt: 0.7deg; } .spine:nth-child(6) { --off: 16px; --tilt: -0.5deg; } .spine:nth-child(7) { --off: 2px; --tilt: 0.3deg; }
    .spine:last-child { transform: rotate(var(--tilt, 0deg)); margin-left: var(--off, 0); }
    .spine:hover, .spine:focus-visible, .spine.on,
    .spine:last-child:hover, .spine:last-child:focus-visible, .spine:last-child.on { transform: translateX(12px) rotate(0deg); box-shadow: inset 0 3px 0 rgba(255,255,255,0.16), inset 0 -4px 0 rgba(0,0,0,0.14), 0 8px 16px -10px rgba(0,0,0,0.45); }
    .shelf-hint { margin-top: 20px; }
    @media (max-width: 900px) { .spine { width: calc(100% - var(--off, 0px)); } .spine.on, .spine:hover { transform: rotate(var(--tilt, 0deg)); } }
    @media (prefers-reduced-motion: reduce) { .spine { transition: none; } }
    /* Preview keeps one fixed shape, so the page below never jumps */
    .book-panel h3 { min-height: 2.2em; display: flex; align-items: flex-end; }
    .book-panel #b-hook { min-height: 3.2em; line-height: 1.6; }
    .excerpt { height: 13.5em; max-height: none; }
    .excerpt:empty { display: block; }
    /* Panels and reader: a fixed top bar with a clear close button */
    .drawer-inner { --px: 40px; padding: 0 var(--px) calc(64px + env(safe-area-inset-bottom)); }
    .reader-inner { --px: 64px; padding: 0 var(--px) calc(72px + env(safe-area-inset-bottom)); }
    .dlg-bar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: flex-end; align-items: center; height: 56px;
               margin: 0 calc(-1 * var(--px)) 12px; padding: 0 calc(var(--px) - 8px); background: var(--paper); border-bottom: 1px solid var(--line); }
    .dlg-bar .drawer-close, .dlg-bar .reader-close { position: static; float: none; margin: 0; width: auto; height: auto; padding: 8px 14px; border-radius: 999px;
               font: inherit; font-size: 0.9rem; font-weight: 500; line-height: 1; display: inline-flex; align-items: center; gap: 6px; }
    .dlg-bar .drawer-close span, .dlg-bar .reader-close span { font-size: 1.2rem; line-height: 0.8; }
    .drawer-body { padding-top: 4px; }
    html:has(dialog[open]) { overflow: hidden; }
    @media (max-width: 900px) {
      dialog.drawer, dialog.reader { margin: 0; inset: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; box-shadow: none; }
      .drawer-inner { --px: 18px; } .reader-inner { --px: 20px; }
      .dlg-bar { height: 52px; }
      .reader h2 { margin-top: 4px; }
      dialog.drawer[open], dialog.reader[open] { animation: sheetup 0.28s cubic-bezier(.2,.7,.2,1); }
      @keyframes sheetup { from { transform: translateY(24px); opacity: 0; } }
    }
    .essay-pics { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
    .spine[data-book="manifesto"] { --c:#2f5e36; --t:#f3ead2; --w:62px; --h:336px; }
    .spine[data-book="skiing"] { --c:#dfe2e3; --t:#3a3f44; --w:44px; --h:246px; }
    .spine[data-book="paragliding"] { --c:#3d6ea8; --t:#f2f5fa; --w:48px; --h:270px; }
    .spine[data-book="swimming"] { --c:#1e4a5c; --t:#d9ecef; --w:50px; --h:284px; }
    .spine[data-book="cycling"] { --c:#c9566f; --t:#fdeef2; --w:46px; --h:258px; }
    .spine[data-book="balance"] { --c:#cdb994; --t:#3b3024; --w:54px; --h:266px; }
    .spine[data-book="metaspace"] { --c:#f4f3ef; --t:#2a2a2a; --w:66px; --h:306px; }
