@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/work-sans-400.woff2") format("woff2"); }
    @font-face { font-family: "Work Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/work-sans-500.woff2") format("woff2"); }
    @font-face { font-family: "Work Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/work-sans-600.woff2") format("woff2"); }

    html { color-scheme: only light; }

    @font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-serif-400.woff2") format("woff2"); }

    :root {
      color-scheme: only light;
      --paper: #fdf9f6;
      --surface: #f4e7e2;
      --ink: #241e22;
      --ink-soft: #5a4e55;
      --plum: #3e2438;
      --wash: #f4e7e2;
      --line: #ecdfd9;
      --line-strong: #c8ada4;
      --on-plum: #f6ede9;
      --apricot: #e9a17c;
      --max: 1010px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

    body {
      margin: 0; background: var(--paper); color: var(--ink);
      font-family: "Work Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      font-size: 17.5px; line-height: 1.66; -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; }
    a:focus-visible, button:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
    h1, h2, h3 { font-weight: 500; letter-spacing: -.016em; }
    p { margin: 0 0 18px; }
    .wrap { width: min(calc(100% - 44px), var(--max)); margin: 0 auto; }
    .skip-link { position: absolute; left: -9999px; top: 0; z-index: 60; padding: 12px 18px; background: var(--plum); color: var(--on-plum); font-size: .94rem; text-decoration: none; }
    .skip-link:focus { left: 12px; top: 12px; }

    .site-nav { position: sticky; top: 0; z-index: 40; background: rgba(253,249,246,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
    .nav-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .wordmark { font-size: .86rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
    .nav-links { display: flex; align-items: center; gap: 26px; }
    .nav-links a { font-size: .94rem; text-decoration: none; color: var(--ink-soft); }
    .nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--plum); }
    .nav-toggle { display: none; align-items: center; gap: 9px; padding: 8px 13px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 3px; color: var(--ink); font: inherit; font-size: .86rem; cursor: pointer; }
    .nav-toggle .bars { display: grid; gap: 3px; }
    .nav-toggle .bars i { display: block; width: 15px; height: 1.5px; background: var(--ink); }

    /* ── masthead ───────────────────────────────────────────── */
    .masthead { padding: 84px 0 52px; border-bottom: 1px solid var(--line); }
    .masthead .rule { width: 62px; height: 2px; background: var(--apricot); margin-bottom: 34px; }
    .masthead h1 { margin: 0 0 16px; color: var(--ink);
      font-family: "Source Serif 4", Georgia, serif; font-weight: 400;
      font-size: clamp(2.3rem, 4.6vw, 3.3rem); line-height: 1.14; }
    .masthead-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 66px; align-items: start; }
    .masthead .beat {
      margin: 0; max-width: 26ch;
      font-size: 1.12rem; line-height: 1.6; color: var(--ink-soft);
    }
    .masthead-body p:last-of-type { margin-bottom: 0; }
    .masthead p { max-width: 58ch; font-size: 1rem; line-height: 1.72; color: var(--ink-soft); }
    .masthead p.quiet { margin-top: 26px; font-size: .94rem; }
    .masthead p.quiet a { color: var(--plum); }

    /* ── archive ────────────────────────────────────────────── */
    section { padding: 74px 0; }
    h2 { margin: 0 0 26px; font-size: 1.02rem; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
    .pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .piece {
      display: flex; flex-direction: column;
      padding: 24px 22px 20px;
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 3px;
      text-decoration: none;
      transition: border-color .16s ease, background .16s ease;
    }
    .piece:hover { border-color: var(--plum); background: var(--wash); }
    .piece .topic { font-size: .86rem; color: var(--ink-soft); }
    .piece h3 {
      margin: 0 0 10px;
      font-family: "Source Serif 4", Georgia, serif; font-weight: 400;
      font-size: 1.24rem; line-height: 1.28; color: var(--ink);
    }
    .piece p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
    .piece .meta {
      display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
      margin-top: auto; padding-top: 20px;
      font-size: .86rem;
    }
    .piece .mins { color: var(--ink-soft); }
    .piece .go { color: var(--plum); }



    .rows { border-top: 1px solid var(--line-strong); margin-top: 18px; }
    .entry {
      display: grid; grid-template-columns: minmax(0, 1fr) auto;
      gap: 24px; align-items: baseline;
      /* fill spans the row, so it lines up with the hairlines; the text sits inside it */
      padding: 15px 18px;
      border-bottom: 1px solid var(--line);
      border-radius: 2px;
      text-decoration: none; transition: background .16s ease;
    }
    .entry:hover { background: var(--wash); }
    .entry .date { color: var(--ink-soft); font-size: .86rem; font-variant-numeric: tabular-nums; }
    .entry .name { font-size: 1rem; line-height: 1.4; }
    .entry .mins { color: var(--ink-soft); font-size: .86rem; white-space: nowrap; }

    .band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .band p { max-width: 58ch; }
    .band p:last-child { margin-bottom: 0; }

    @media (max-width: 900px) {
      .pieces { grid-template-columns: 1fr; }
      .entry { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 15px 12px; }
      .entry .mins { display: none; }
      .nav-toggle { display: inline-flex; }
      .nav-links {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 6px 22px 14px; background: var(--paper); border-bottom: 1px solid var(--line);
      }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
      .nav-links a:last-child { border-bottom: 0; }
    }
    @media (max-width: 560px) {
      .wrap { width: calc(100% - 32px); }
      .masthead { padding: 52px 0 44px; }
      .masthead-grid { grid-template-columns: 1fr; gap: 30px; }
      .masthead .beat { max-width: 44ch; }
      section { padding: 54px 0; }
    }

    /* in-app browsers (Instagram, Facebook, LinkedIn) force dark mode on pages
       that do not declare a scheme; these keep the light palette in every case */
    @media (prefers-color-scheme: dark) {
      html, body { background: #fdf9f6 !important; color: #241e22 !important; }
      .site-nav { background: rgba(253,249,246,.95) !important; }
    }

    .why { border-top: 1px solid var(--line); }
    .why .wrap { max-width: 64ch; }
    .why p { margin: 0 0 16px; color: var(--ink-soft); }
    .why p:last-child { margin-bottom: 0; }
    .why a { color: var(--plum); }

    .footer-stripe { height: 10px; background: var(--plum); }

    .block { margin-top: 62px; }

    .hero { padding: 84px 0 6px; }
    .hero .wrap > .rule, .rule { width: 62px; height: 2px; background: var(--apricot); margin-bottom: 34px; }
    .hero h1 {
      margin: 0; color: var(--ink);
      font-family: "Source Serif 4", Georgia, serif;
      font-weight: 400; font-size: clamp(2.3rem, 4.4vw, 3.3rem);
      line-height: 1.16; letter-spacing: -.005em; max-width: 20ch;
    }
    .hero h1 em { font-style: normal; color: var(--plum); }
    .hero-lower { padding: 52px 0 62px; }
    .hero-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr); gap: 52px; align-items: start; }
    .hero-lower p { max-width: 58ch; font-size: 1.08rem; }
    .hero-lower p.quiet { color: var(--ink-soft); }
    .portrait { width: 100%; height: auto; display: block; border-radius: 8px; }
    .portrait-slot {
      aspect-ratio: 4 / 5; border-radius: 8px; background: var(--surface);
      display: grid; place-items: center; text-align: center;
      color: var(--ink-soft); font-size: .82rem; line-height: 1.5; padding: 14px;
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
    .button {
      display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px;
      border-radius: 3px; font-size: .94rem; text-decoration: none;
      transition: background .16s ease, color .16s ease;
    }
    .button.primary { background: var(--apricot); color: var(--plum); border: 1px solid var(--apricot); font-weight: 500; }
    .button.primary:hover { background: #dd8f66; border-color: #dd8f66; }
    .button.secondary { color: var(--plum); border: 1px solid var(--plum); }
    .button.secondary:hover { background: var(--surface); }
    .figure { margin-top: 52px; padding-top: 20px; border-top: 2px solid var(--plum); max-width: 500px; }
    .figure p { margin: 0 0 20px; font-size: .92rem; color: var(--ink-soft); }
    .figure svg { width: 100%; max-width: 460px; height: auto; display: block; }
    .figure .note { margin: 18px 0 0; padding-top: 13px; border-top: 1px solid var(--line); font-size: .8rem; line-height: 1.55; }
    .head-h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.2; }
    .intro { max-width: 60ch; color: var(--ink-soft); margin-bottom: 46px; }
    .project { padding: 38px 0; border-top: 1px solid var(--line); }
    .project:last-of-type { border-bottom: 1px solid var(--line); }
    .project-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
    .project h3 { margin: 0; font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
    .project .where { margin: 6px 0 0; font-size: .9rem; color: var(--plum); }
    .project .body p { max-width: 62ch; }
    .project .body p:last-child { margin-bottom: 0; }
    .statement p { font-size: clamp(1.2rem, 2.3vw, 1.5rem); line-height: 1.5; max-width: 34ch; margin: 0 0 22px; }
    .statement p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: 1.09rem; max-width: 58ch; }
    .essays { border-top: 1px solid var(--line); }
    .essay:hover { background: var(--surface); }
    .essay h3 { margin: 0 0 5px; font-size: 1.14rem; line-height: 1.35; }
    .essay p { margin: 0; color: var(--ink-soft); font-size: .92rem; max-width: 62ch; }
    .essay .go { color: var(--plum); font-size: .88rem; white-space: nowrap; }
    .after-list { margin-top: 28px; }
    .book-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 60px; align-items: center; }
    .book-cover { width: 100%; height: auto; display: block; border: 1px solid var(--line-strong); box-shadow: 0 14px 34px rgba(36,30,34,.16); }
    .book-copy p { max-width: 58ch; }
    .book-copy p:last-child { margin-top: 26px; margin-bottom: 0; }
    .book-more { max-width: 66ch; }
    .book-more h2 { margin: 38px 0 14px; font-size: 1.02rem; font-weight: 600; max-width: none; letter-spacing: -.01em; }
    .book-more h2:first-child { margin-top: 0; }
    .book-more p { color: var(--ink-soft); }
    .book-more p:last-child { margin-bottom: 0; }
    .about-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 60px; align-items: start; }
    .about-copy p { color: var(--ink-soft); max-width: 62ch; }
    .credentials { margin-top: 30px; border-top: 1px solid var(--line); }
    .credential span { color: var(--ink-soft); }
    .hero-split, .project-grid, .book-grid, .about-grid { grid-template-columns: 1fr; }
    .book-cover, .portrait, .portrait-slot { max-width: 220px; }
    .ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
    .way:hover { border-color: var(--plum); background: var(--surface); }
    .way h3 { margin: 0 0 8px; font-size: 1.14rem; }
    .way p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
    .way .go { margin-top: 20px; color: var(--plum); font-size: .88rem; }
    .headline-figures { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0 0 34px; padding: 0; list-style: none; }
    .headline-figures li { font-size: .93rem; color: var(--ink-soft); }
    .headline-figures b { display: block; font-size: 1.5rem; font-weight: 500; color: var(--ink); line-height: 1.2; }
    .about-copy h2 { margin: 40px 0 14px; font-size: 1.02rem; font-weight: 600; color: var(--ink); max-width: none; letter-spacing: -.01em; }
    .contact-grid { display: grid; grid-template-columns: 330px minmax(0,1fr); gap: 72px; align-items: start; }
    .channel {
      display: flex; align-items: center; gap: 16px;
      padding: 16px 18px; margin-bottom: 10px;
      border: 1px solid var(--line); border-radius: 3px;
      text-decoration: none; color: var(--ink);
      transition: border-color .16s ease, background .16s ease;
    }
    .channel:hover { border-color: var(--apricot); background: var(--surface); }
    .glyph {
      flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
      display: grid; place-items: center;
      background: var(--plum); color: var(--paper);
    }
    .glyph svg { width: 19px; height: 19px; display: block; }
    .channel-text { display: block; min-width: 0; }
    .channel-label { display: block; font-size: .78rem; color: var(--ink-soft); }
    .channel-value { display: block; font-size: .92rem; word-break: break-word; }
    .contact-side .where { font-size: .93rem; color: var(--ink-soft); margin: 26px 0 0; }
    .contact-grid h2 { margin: 0 0 12px; font-size: 1.02rem; font-weight: 600; max-width: none; letter-spacing: -.01em; }
    .contact-grid h2 + h2, .contact-grid p + h2, .contact-side .where + h2 { margin-top: 38px; }
    .hero .lead { margin: 0; color: var(--ink-soft); font-size: 1.06rem; max-width: 48ch; }
