      :root { color-scheme: light; --paper: #faf9f6; --ink: #252822; --muted: #6d7067; --line: #dedfd6; --green: #42634b; }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
      a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
      a:hover { color: var(--green); }
      a:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
      .page { width: min(100% - 48px, 1040px); margin: 0 auto; }
      header { display: flex; justify-content: space-between; align-items: center; padding: 38px 0; }
      .wordmark { font-size: 18px; font-weight: 650; letter-spacing: -1px; text-decoration: none; }
      .wordmark span { color: var(--green); }
      nav { display: flex; gap: 26px; }
      nav a { font-size: 13px; color: var(--muted); text-decoration: none; }
      main { padding-top: 83px; }
      .eyebrow, .section-label, .project-type { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
      .eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--green); }
      .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
      h1 { font-size: clamp(42px, 8vw, 64px); line-height: 1.12; font-weight: 500; letter-spacing: -3px; margin: 22px 0; }
      .intro { max-width: 470px; color: var(--muted); font-size: 18px; line-height: 1.7; margin: 0; }
      .identity { display: flex; flex-direction: column; align-items: flex-start; }
      .identity h1 { margin-bottom: 12px; }
      .identity-links { display: inline-flex; align-items: center; gap: 18px; }
      .identity-links a { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--muted); }
      .identity-links svg { display: block; }
      .identity-links a:hover { color: var(--green); }
      .email-link { font-size: 12px; }
      section { scroll-margin-top: 35px; }
      #work { margin-top: 83px; }
      .section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 21px; }
      .section-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 400; margin: 0; color: var(--muted); }
      .section-note { font-size: 11px; color: var(--muted); }
      details { border-top: 1px solid var(--line); }
      details:last-child { border-bottom: 1px solid var(--line); }
      summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr auto 20px; gap: 24px; align-items: center; padding: 23px 0; }
      summary::-webkit-details-marker { display: none; }
      .project-name { display: block; font-weight: 500; font-size: 17px; letter-spacing: -.3px; }
      .project-description { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
      .project-type { font-size: 10px; color: var(--muted); }
      .expand { color: var(--muted); justify-self: end; }
      details[open] .expand { transform: rotate(180deg); }
      details p { max-width: 540px; margin: -3px 0 24px; font-size: 14px; color: var(--muted); }
      .hobby-projects { margin-top: 59px; }
      .about { margin-top: 59px; display: grid; grid-template-columns: 150px 1fr; gap: 25px; }
      .about .section-label { padding-top: 5px; }
      .about p { margin: 0; color: var(--muted); }
      .skill-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
      .skill-label { margin: 0; color: var(--muted); font: 400 10px "SFMono-Regular", Consolas, "Liberation Mono", monospace; letter-spacing: 1.5px; text-transform: uppercase; }
      .tools { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 9px; font-size: 12px; color: var(--green); }



      @media (max-width: 540px) {
        header { padding-top: 25px; }
        main { padding-top: 48px; }
        h1 { letter-spacing: -2px; }
        .intro { font-size: 17px; }
        #work { margin-top: 60px; }
        summary { grid-template-columns: 1fr 20px; gap: 12px; }
        .project-type { display: none; }
        .hobby-projects { margin-top: 43px; }
        .about { grid-template-columns: 1fr; gap: 16px; margin-top: 43px; }
        .skill-groups { grid-template-columns: 1fr; gap: 18px; }

      }
      @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

      nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
      .posts { margin-top: 65px; }
      .post-card { display: block; padding: 28px 0 30px; border-top: 1px solid var(--line); text-decoration: none; }
      .post-card:last-child { border-bottom: 1px solid var(--line); }
      .post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; color: var(--muted); }
      .post-card h2 { display: flex; justify-content: space-between; gap: 20px; margin: 12px 0 7px; font-size: 23px; line-height: 1.4; font-weight: 500; letter-spacing: -.6px; }
      .post-card h2 span { font-size: 18px; color: var(--green); }
      .post-card p { margin: 0; font-size: 14px; color: var(--muted); }
      .back-link { font-size: 12px; color: var(--muted); text-decoration: none; }
      .article-main { padding-top: 24px; }
      .article-heading { margin: 24px 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
      .article-heading h1 { font-size: clamp(36px, 7vw, 52px); line-height: 1.16; letter-spacing: -2px; margin: 18px 0; }
      .article-heading .intro { max-width: none; font-size: 18px; }
      .prose { max-width: none; font-size: 16px; line-height: 1.75; }
      .prose p { margin: 0 0 22px; }
      .prose h2 { font-size: 23px; font-weight: 500; letter-spacing: -.5px; margin: 36px 0 14px; line-height: 1.4; }
      .prose pre { overflow-x: auto; padding: 22px; background: #efefe8; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; line-height: 1.8; }
      .prose code { font-family: "SFMono-Regular", Consolas, monospace; }
      .prose :not(pre) > code { overflow-wrap: anywhere; }
      .prose blockquote { margin: 30px 0; padding: 5px 0 5px 22px; border-left: 2px solid var(--green); color: var(--green); font-size: 20px; line-height: 1.6; }
      .article-end { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 24px; }
      .article-end a { font-size: 14px; }
      @media (max-width: 540px) {
        nav { gap: 17px; }
        .posts { margin-top: 45px; }
        .post-card h2 { font-size: 21px; }
        .article-main { padding-top: 20px; }
      }

      .blog-button { display: inline-flex; align-items: center; color: var(--muted); width: auto; height: auto; min-height: 32px; padding: 4px 12px; gap: 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; text-decoration: none; }
      .blog-button:hover { border-color: var(--green); }

      .page { position: relative; }
      .top-links { position: absolute; top: 26px; right: 0; }

      .prose img { display: block; max-width: 100%; height: auto; border-radius: 4px; }
      .prose figure { margin: 32px 0; }
      .prose h3 { font-size: 18px; font-weight: 500; letter-spacing: -.3px; margin: 28px 0 10px; }
      .prose h3 + .image-carousel { margin-top: 0; }
      .image-carousel-track { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding-bottom: 12px; }
      .image-carousel-track:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
      .image-carousel-slide { flex: 0 0 min(50%, 520px); min-width: 0; scroll-snap-align: start; text-decoration: none; }
      .image-carousel-slide img { width: 100%; }
      .image-carousel-slide span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
      @media (max-width: 540px) { .image-carousel-slide { flex-basis: 88%; } }
      .prose figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; }

      .article-main.article-with-navigation { padding-top: 83px; }

      main { padding-bottom: 48px; }

      .prose blockquote p:last-child { margin-bottom: 0; }
