---
title: "Resume & Portfolio"
description: "Website blocks - Resume & Portfolio: Blocks for a developer's or designer's personal site: who you are and whether you can be hired, the projects you did, your open-source work, and a CV with experience, education and skills that prints."
slug: "website-resume-portfolio"
---

import { DocPage, PageHeader, DocText, DocLink } from "../../lib/components/index";

<DocPage meta={meta}>

<PageHeader slug="website-resume-portfolio" title="Resume &amp; Portfolio" introStyle="max-width:42rem;">
  Blocks for a developer's or designer's personal site: who you are and whether you can be hired, the projects you did, your open-source work, and a CV with experience, education and skills that prints. Every block is CSS-only and built from the library's components and tokens.
</PageHeader>

<h2 id="template" class="h2-display">The template</h2>

<DocText>The Resume &amp; Portfolio blocks composed into one personal site, with the <DocLink href="project-item.html">Project Item</DocLink>, <DocLink href="project-details.html">Project Details</DocLink> and <DocLink href="section-header.html">Section Header</DocLink> blocks - the source is the page. About, Work and Résumé are routes of <DocLink href="routing.html">defuss-dom-router</DocLink>; a project is a route (<code>#/work/museo-digital</code>) whose page <code>prepare()</code> fills from a data block, and a discipline filters the work (<code>#/work?discipline=design</code>). Her writing is listed on About and under Writing (<code>#/writing</code>), and each note is a page of its own (<code>#/writing/eleven-date-pickers</code>) with the project it comes from - written from a second data block, in English and German. The language switch translates the frame with <DocLink href="translation.html">defuss-i18n</DocLink> - durations come from <code>Intl.DurationFormat</code>, the start date and the rate from the locale's date and currency formats; the projects and the résumé stay in her words as written. The Résumé prints as a CV: the site's chrome, the Site Footer and the buttons leave the page.</DocText>

<div class="flex flex-wrap items-center gap-2 mb-6">
  <a class="btn" href="full-website-resume-portfolio.html" target="_blank" rel="noopener"><i data-lucide="maximize-2"></i> Open full screen</a>
</div>

```html example label="A personal site" schema="none" hint="About, Work, Writing and Résumé are routes; a project is #/work/museo-digital, a note #/writing/eleven-date-pickers, both filled from a data block; #/work?discipline=design filters. The switch translates the frame. Site Header, Resume Header, Availability, Project Items, Repository Items, Blog Items, Project Details, Article Header and Body, Author Bio, Resume Entries, Skill Matrices and Site Footer - print the Résumé from the full-screen page." previewStyle="align-items:stretch;"
<style>
  /* the page the site is on, and the link to it */
  #site-resume nav [aria-current] {
    background: var(--accent);
    color: var(--accent-foreground);
  }
  /* the printed CV: the site's chrome stays on screen */
  @media print {
    #site-resume [data-resume-noprint] {
      display: none !important;
    }
  }
  /* light or dark: the Swap writes the page's dark class - every look has a light and a dark palette */
  #site-resume .site-mode {
    flex: none;
    border: 1px solid var(--input);
    border-radius: var(--radius-md);
    background: var(--background);
    color: var(--foreground);
  }
  #site-resume .site-mode:hover {
    background: var(--accent);
    color: var(--accent-foreground);
  }
  /* -- modes: each look in light and dark, derived from the palettes above (the other mode of each look) -- */
  :root:not(.dark) #site-resume[data-look='studio'] {
    --primary: oklch(0.62 0.19 32);
    --primary-foreground: oklch(0.17 0.03 32);
    --accent: oklch(0.93 0.045 145);
  }
  .dark #site-resume[data-look='studio'] {
    --accent: oklch(0.3 0.05 150);
  }
  .dark #site-resume[data-look='darkroom'] {
    --primary: oklch(0.62 0.22 27);
    --primary-foreground: oklch(0.17 0.03 27);
    --accent: oklch(0.26 0.05 27);
  }
  :root:not(.dark) #site-resume[data-look='darkroom'] {
    color-scheme: light;
    --background: oklch(0.985 0.006 30);
    --foreground: oklch(0.2 0.012 40);
    --card: oklch(0.997 0.01 30);
    --card-foreground: oklch(0.2 0.012 40);
    --muted: oklch(0.95 0.012 30);
    --muted-foreground: oklch(0.46 0.02 35);
    --border: oklch(0.9 0.02 30);
    --input: oklch(0.88 0.02 30);
    --primary: oklch(0.58 0.22 27);
    --primary-foreground: oklch(0.985 0.005 27);
    --secondary: oklch(0.955 0.02 30);
    --secondary-foreground: oklch(0.25 0.012 40);
    --accent: oklch(0.94 0.025 27);
    --accent-foreground: oklch(0.2 0.012 40);
    --ring: oklch(0.6 0.22 27);
    --rs-blob: oklch(0.6 0.22 27 / 0.35);
    --rs-hand: oklch(0.45 0.2 27);
    --rs-band: oklch(0.989 0.01 20);
    --popover: oklch(0.997 0 0);
    --popover-foreground: oklch(0.2 0 0);
  }
  :root:not(.dark) #site-resume[data-look='sketch'] {
    --accent: oklch(0.93 0.045 100);
  }
  .dark #site-resume[data-look='sketch'] {
    color-scheme: dark;
    --background: oklch(0.17 0.004 95);
    --foreground: oklch(0.94 0.01 260);
    --card: oklch(0.205 0.003 95);
    --card-foreground: oklch(0.94 0.01 260);
    --muted: oklch(0.24 0.004 95);
    --muted-foreground: oklch(0.74 0.01 260);
    --border: oklch(0.95 0.01 260 / 0.14);
    --input: oklch(0.95 0.01 260 / 0.14);
    --primary: oklch(0.72 0.17 265);
    --primary-foreground: oklch(0.17 0.03 265);
    --secondary: oklch(0.25 0.004 95);
    --secondary-foreground: oklch(0.9 0.01 260);
    --accent: oklch(0.26 0.042 100);
    --accent-foreground: oklch(0.94 0.01 260);
    --ring: oklch(0.72 0.17 265);
    --rs-blob: oklch(0.92 0.12 100);
    --rs-hand: oklch(0.72 0.17 265);
    --rs-band: oklch(0.225 0.004 90);
    --popover: oklch(0.215 0 0);
    --popover-foreground: oklch(0.94 0 0);
  }
  /* -- modes: end -- */
</style>
<style>
  @import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&family=Syne:wght@700;800&display=swap');
  /* A design engineer's own site: the portrait in a soft blob with her availability running round it, a name set
     big, the first project pinned at a slant, the way to reach her pointed at by hand. Looks: Studio (follows light
     / dark), Darkroom (a red safelight over charcoal) and Sketchbook (pencil on squared paper). */
  #site-resume {
    --background: oklch(0.975 0.012 140);
    --foreground: oklch(0.25 0.04 155);
    --card: oklch(0.99 0.006 140);
    --card-foreground: var(--foreground);
    --muted: oklch(0.94 0.018 140);
    --muted-foreground: oklch(0.47 0.035 155);
    --border: oklch(0.88 0.025 145);
    --input: var(--border);
    --primary: oklch(0.6 0.19 32);
    --primary-foreground: oklch(0.99 0.01 60);
    --secondary: oklch(0.93 0.035 140);
    --secondary-foreground: var(--foreground);
    --accent: oklch(0.88 0.06 145);
    --accent-foreground: var(--foreground);
    --ring: var(--primary);
    --radius: 0.75rem;
    --radius-sm: max(0px, calc(var(--radius) - 4px));
    --radius-md: max(0px, calc(var(--radius) - 2px));
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
    --rs-blob: oklch(0.88 0.06 145);
    --rs-hand: oklch(0.6 0.19 32);
    color-scheme: light;
    box-shadow: 0 0 0 100vmax var(--background);
    clip-path: inset(0 -100vmax);
    overflow-x: clip;
    background: var(--background);
    color: var(--foreground);
    font-family: 'DM Sans', var(--font-sans);
  }
  .dark #site-resume[data-look='studio'] {
    color-scheme: dark;
    --background: oklch(0.21 0.02 155);
    --foreground: oklch(0.94 0.012 140);
    --card: oklch(0.25 0.022 155);
    --muted: oklch(0.28 0.024 155);
    --muted-foreground: oklch(0.76 0.025 145);
    --border: oklch(0.36 0.03 155);
    --primary: oklch(0.74 0.16 38);
    --primary-foreground: oklch(0.2 0.02 155);
    --secondary: oklch(0.3 0.035 155);
    --accent: oklch(0.36 0.05 150);
    --rs-blob: oklch(0.36 0.05 150);
    --rs-hand: oklch(0.74 0.16 38);
  }
  #site-resume[data-look='darkroom'] {
    color-scheme: dark;
    --background: oklch(0.17 0.006 30);
    --foreground: oklch(0.93 0.012 40);
    --card: oklch(0.21 0.01 30);
    --muted: oklch(0.24 0.012 30);
    --muted-foreground: oklch(0.72 0.02 35);
    --border: oklch(0.32 0.02 30);
    --primary: oklch(0.6 0.22 27);
    --primary-foreground: oklch(0.97 0.01 40);
    --secondary: oklch(0.26 0.02 30);
    --secondary-foreground: var(--foreground);
    --accent: oklch(0.3 0.06 27);
    --accent-foreground: var(--foreground);
    --rs-blob: oklch(0.6 0.22 27 / 0.35);
    --rs-hand: oklch(0.7 0.2 27);
  }
  #site-resume[data-look='sketch'] {
    color-scheme: light;
    --background: oklch(0.975 0.004 95);
    --foreground: oklch(0.3 0.01 260);
    --card: oklch(0.99 0.003 95);
    --muted: oklch(0.95 0.004 95);
    --muted-foreground: oklch(0.45 0.01 260);
    --border: oklch(0.3 0.01 260 / 0.3);
    --primary: oklch(0.48 0.17 265);
    --primary-foreground: oklch(0.99 0.003 95);
    --secondary: oklch(0.95 0.004 95);
    --accent: oklch(0.92 0.12 100);
    --accent-foreground: oklch(0.3 0.01 260);
    --radius: 0.25rem;
    --rs-blob: oklch(0.92 0.12 100);
    --rs-hand: oklch(0.48 0.17 265);
  }
  #site-resume .rs-look-only {
    display: none;
  }
  #site-resume[data-look='darkroom'] .rs-look-only[data-for='darkroom'],
  #site-resume[data-look='sketch'] .rs-look-only[data-for='sketch'] {
    display: block;
  }
  #site-resume .rs-paper {
    --surface-size: 22px;
    --surface-ink: oklch(0.48 0.17 265 / 0.12);
    mask-image: linear-gradient(#000 55%, transparent);
  }
  #site-resume .rs-light {
    mask-image: radial-gradient(70% 90% at 15% 20%, #000 20%, transparent 75%);
    opacity: 0.8;
  }

  #site-resume .mk-resume-header {
    position: relative;
    isolation: isolate;
    padding-block: 2rem 1rem;
  }
  #site-resume .mk-resume-header > :is(.surface, .shader) {
    inset: -1.5rem -1.5rem 0;
  }
  /* the portrait in a blob, its availability running round it */
  #site-resume .rs-portrait {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: clamp(10rem, 28cqi, 15rem);
    aspect-ratio: 1;
  }
  #site-resume .rs-portrait .mk-resume-header-photo {
    width: 72%;
    border-radius: 58% 42% 48% 52% / 46% 56% 44% 54%;
    box-shadow: 0 0 0 0.6rem var(--rs-blob);
    rotate: -4deg;
  }
  #site-resume .rs-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--foreground);
    animation: rs-turn 30s linear infinite;
  }
  #site-resume .rs-ring text {
    font:
      700 7.4px/1 'DM Sans',
      sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    fill: currentColor;
  }
  @keyframes rs-turn {
    to {
      rotate: 360deg;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    #site-resume .rs-ring {
      animation: none;
    }
  }
  #site-resume .mk-resume-header-name {
    font-family: 'Syne', var(--font-sans);
    font-weight: 800;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
  }
  #site-resume[data-look='sketch'] .mk-resume-header-name {
    background: linear-gradient(transparent 62%, var(--accent) 62% 86%, transparent 86%);
    width: fit-content;
  }
  #site-resume[data-look='darkroom'] .mk-resume-header-name {
    text-shadow: 0 0 1.5rem oklch(0.6 0.22 27 / 0.45);
  }
  #site-resume .mk-resume-header-actions {
    position: relative;
  }
  #site-resume .rs-hand {
    position: absolute;
    left: -0.5rem;
    top: calc(100% + 0.25rem);
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    margin: 0;
    font:
      600 1.35rem/1 'Caveat',
      cursive;
    color: var(--rs-hand);
    rotate: -3deg;
    pointer-events: none;
  }
  #site-resume .rs-hand svg {
    width: 2.4rem;
    height: 2.4rem;
  }
  #site-resume .mk-section-header-title {
    font-family: 'Syne', var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  /* the first project pinned at a slant; the others lift when hovered */
  #site-resume .mk-project-item {
    transition:
      rotate 200ms,
      translate 200ms;
  }
  #site-resume [data-resume-view='about'] .mk-project-item:first-child {
    rotate: -2deg;
  }
  #site-resume .mk-project-item:hover {
    rotate: 1deg;
    translate: 0 -0.25rem;
  }
  #site-resume[data-look='sketch'] .mk-project-item {
    border: 1.5px solid var(--foreground);
    box-shadow: 0.3rem 0.3rem 0 var(--foreground);
    background: var(--card);
    padding: 0.5rem;
  }
  #site-resume[data-look='darkroom'] .mk-project-item img {
    filter: sepia(0.5) hue-rotate(-30deg) saturate(1.4);
  }
  @media (prefers-reduced-motion: reduce) {
    #site-resume .mk-project-item {
      transition: none;
    }
  }
  /* the site bar: her name, the routes at reading size, the look and the language */
  #site-resume .rs-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 2rem;
    min-height: 3.5rem;
    padding-block-end: 1.25rem;
    border-block-end: 1px solid var(--border);
  }
  #site-resume .rs-brand {
    color: var(--foreground);
    text-decoration: none;
    font:
      800 1.125rem/1 'Syne',
      var(--font-sans);
    letter-spacing: -0.01em;
  }
  #site-resume .rs-bar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-inline-end: auto;
  }
  #site-resume .rs-bar nav a {
    height: auto;
    padding: 0.5rem 0.875rem;
    font-size: 1rem;
    font-weight: 500;
  }
  #site-resume .rs-bar-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  /* selected work on a band of its own, wall to wall */
  #site-resume {
    --rs-band: oklch(0.94 0.022 145);
  }
  .dark #site-resume[data-look='studio'] {
    --rs-band: oklch(0.2 0.025 155);
  }
  #site-resume[data-look='darkroom'] {
    --rs-band: oklch(0.15 0.01 20);
  }
  #site-resume[data-look='sketch'] {
    --rs-band: oklch(0.95 0.004 90);
  }
  #site-resume .rs-work {
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
    background: var(--rs-band);
    box-shadow: 0 0 0 100vmax var(--rs-band);
    clip-path: inset(0 -100vmax);
  }
  #site-resume .rs-work .mk-project-item {
    background: var(--card);
    padding: 0.75rem 0.75rem 1rem;
    border-radius: calc(var(--radius) * 1.25);
    box-shadow: 0 1px 2px oklch(0 0 0 / 0.05);
  }
  #site-resume [hidden] {
    display: none !important;
  }
  /* the Site Header: the bar keeps its own layout, the block gives it its landmark */
  #site-resume .rs-bar.mk-header {
    background: transparent;
  }
  /* the notes: a typographic list, the date in its own column */
  #site-resume .rs-posts {
    display: grid;
    max-width: 52rem;
  }
  #site-resume .rs-posts .mk-blog-item-title {
    font-family: 'Syne', var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.015em;
  }
  #site-resume .rs-posts .mk-blog-item-title a {
    color: inherit;
    text-decoration: none;
  }
  #site-resume .rs-posts .mk-blog-item-title a:hover {
    color: var(--primary);
  }
  @media (width < 36rem) {
    #site-resume .rs-posts .mk-blog-item[data-variant='minimal'] {
      grid-template-columns: minmax(0, 1fr);
    }
    #site-resume .rs-posts .mk-blog-item[data-variant='minimal'] .mk-blog-item-byline {
      grid-row: auto;
      grid-column: 1;
    }
    #site-resume
      .rs-posts
      .mk-blog-item[data-variant='minimal']
      :is(.mk-blog-item-meta, .mk-blog-item-title, .mk-blog-item-excerpt) {
      grid-column: 1;
    }
  }
  /* a note: the reading measure, the headline in the site's display face, the project it comes from */
  #site-resume .rs-post {
    width: 100%;
    max-width: 46rem;
    margin-inline: auto;
  }
  #site-resume .rs-post .mk-article-header,
  #site-resume .rs-post .mk-article-body {
    max-width: none;
    margin: 0;
    padding-inline: 0;
  }
  #site-resume .rs-post .mk-article-header-title {
    font-family: 'Syne', var(--font-sans);
    font-weight: 800;
    letter-spacing: -0.025em;
  }
  #site-resume .rs-post .mk-article-body h2 {
    font-family: 'Syne', var(--font-sans);
    font-weight: 700;
  }
  #site-resume[data-look='sketch'] .rs-post .mk-article-header-title {
    background: linear-gradient(transparent 62%, var(--accent) 62% 86%, transparent 86%);
  }
  #site-resume .rs-post-project {
    display: grid;
    gap: 0.75rem;
  }
  #site-resume .rs-post-project h2 {
    margin: 0;
    font:
      600 1.35rem/1 'Caveat',
      cursive;
    color: var(--rs-hand);
    rotate: -2deg;
    width: fit-content;
  }
  #site-resume .rs-post-project .mk-related-item {
    padding: 0.75rem;
    border-radius: calc(var(--radius) * 1.25);
    background: var(--rs-band);
  }
  /* the Site Footer: a band of its own, wall to wall, never on the printed CV */
  #site-resume .rs-foot {
    margin-block: auto -1.5rem;
    background: var(--rs-band);
    box-shadow: 0 0 0 100vmax var(--rs-band);
    clip-path: inset(0 -100vmax);
  }
  #site-resume .rs-foot .mk-footer-inner {
    max-width: none;
    padding-inline: 0;
  }
  #site-resume .rs-foot .mk-footer-heading {
    color: var(--foreground);
    font-family: 'Syne', var(--font-sans);
    font-weight: 700;
  }
  #site-resume .rs-foot .mk-footer-list a {
    color: var(--muted-foreground);
  }
  #site-resume .rs-foot .mk-footer-list a:hover {
    color: var(--foreground);
  }
  #site-resume .rs-foot .mk-footer-brand {
    color: var(--foreground);
    font:
      800 1.125rem/1 'Syne',
      var(--font-sans);
    text-decoration: none;
  }
  @media print {
    #site-resume .rs-foot {
      display: none !important;
    }
  }
</style>
<div
  id="site-resume"
  data-look="studio"
  data-i18n-component
  style="
    display: flex;
    flex-direction: column;
    gap: 3rem;
    box-sizing: border-box;
    width: 100%;
    padding: 1.5rem max(1.5rem, calc((100% - 69rem) / 2));
  "
>
  <header class="mk-header rs-bar" data-resume-noprint>
    <a class="rs-brand" href="#/" data-router-link>Mara Okafor</a>
    <nav data-resume-nav aria-label="Site" data-i18n-aria-label-en="Site" data-i18n-aria-label-de="Website">
      <a class="btn" data-variant="ghost" href="#/" data-router-link aria-current="page"
        ><span data-i18n-target="nav-about">About</span></a
      >
      <a class="btn" data-variant="ghost" href="#/work" data-router-link
        ><span data-i18n-target="nav-work">Work</span></a
      >
      <a class="btn" data-variant="ghost" href="#/writing" data-router-link
        ><span data-i18n-target="nav-writing">Writing</span></a
      >
      <a class="btn" data-variant="ghost" href="#/resume" data-router-link
        ><span data-i18n-target="nav-resume">Résumé</span></a
      >
    </nav>
    <div class="rs-bar-controls">
      <select
        class="select"
        data-size="sm"
        data-site-look
        aria-label="Look"
        data-i18n-aria-label-en="Look"
        data-i18n-aria-label-de="Stil"
        style="width: auto"
      >
        <option value="studio" data-i18n-target="look-studio">Studio</option>
        <option value="darkroom" data-i18n-target="look-darkroom">Darkroom</option>
        <option value="sketch" data-i18n-target="look-sketch">Sketchbook</option>
      </select>
      <div
        class="language-switcher"
        data-app-locale
        role="group"
        aria-label="Language"
        data-i18n-aria-label-en="Language"
        data-i18n-aria-label-de="Sprache"
        data-languages="en de"
        data-value="en"
        data-size="sm"
        data-variant="swap"
        data-display="code"
        data-flag-shape="rounded"
      ></div>
      <label class="swap site-mode" data-variant="rotate" data-size="sm">
        <input
          type="checkbox"
          data-site-mode
          aria-label="Dark mode"
          data-i18n-aria-label-en="Dark mode"
          data-i18n-aria-label-de="Dunkler Modus"
        />
        <span class="swap-on" aria-hidden="true"><i data-lucide="moon"></i></span>
        <span class="swap-off" aria-hidden="true"><i data-lucide="sun"></i></span>
      </label>
    </div>
  </header>

  <!-- About -->
  <div class="flex flex-col gap-12" data-resume-view="about">
    <header class="mk-resume-header">
      <div
        class="surface rs-paper rs-look-only"
        data-for="sketch"
        data-variant="background"
        data-pattern="grid"
        data-style="pencil"
        aria-hidden="true"
      ></div>
      <div
        class="shader rs-light rs-look-only"
        data-for="darkroom"
        data-variant="background"
        data-effect="god-rays"
        data-colors="oklch(0.55 0.22 27) oklch(0.3 0.1 27)"
        data-background="transparent"
        data-speed="0.3"
        data-fps="30"
        aria-hidden="true"
      ></div>
      <div class="rs-portrait">
        <img class="mk-resume-header-photo" src="images/avatars/16-480.webp" alt="" />
        <svg class="rs-ring" viewBox="0 0 100 100" aria-hidden="true">
          <defs><path id="rs-ring-path" d="M50 50m-42 0a42 42 0 1 1 84 0a42 42 0 1 1-84 0" /></defs>
          <text>
            <textPath href="#rs-ring-path" textLength="262" lengthAdjust="spacingAndGlyphs" data-i18n-target="ring">
              open for projects · from December · Berlin · remote ·
            </textPath>
          </text>
        </svg>
      </div>
      <div class="mk-resume-header-body">
        <p class="mk-resume-header-status"
          ><span class="indicator-dot" data-variant="success" data-animate="ping" aria-hidden="true"></span>
          <span data-i18n-target="status">Available for projects from December</span></p
        >
        <h1 class="mk-resume-header-name">Mara Okafor</h1>
        <p class="mk-resume-header-role" data-i18n-target="role"
          >Design engineer - design systems, front-end architecture and accessibility</p
        >
        <p class="mk-resume-header-summary"
          >Eleven years between design and code. I build the systems product teams ship with, and I make them fast,
          accessible and calm to work in.</p
        >
        <ul class="mk-resume-header-facts">
          <li
            ><i data-lucide="map-pin"></i>
            <span data-i18n-target="fact-where">Berlin, Germany - remote across Europe</span></li
          >
          <li><i data-lucide="briefcase"></i> <span data-i18n-target="fact-years">11 years in product teams</span></li>
          <li><i data-lucide="mail"></i> <a href="mailto:mara@example.com">mara@example.com</a></li>
        </ul>
        <div class="mk-resume-header-actions">
          <p class="rs-hand" aria-hidden="true"
            ><svg viewBox="0 0 48 48" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round">
              <path d="M8 44C10 28 18 16 34 10" />
              <path d="M27 8l8 2-3 8" /></svg
            ><span data-i18n-target="hand">say hello!</span></p
          >
          <a class="btn" href="mailto:mara@example.com"
            ><i data-lucide="send"></i> <span data-i18n-target="contact">Get in touch</span></a
          >
          <a class="btn" data-variant="outline" href="#/resume" data-router-link
            ><i data-lucide="file-text"></i> <span data-i18n-target="to-resume">Read the CV</span></a
          >
          <ul
            class="mk-resume-header-links"
            aria-label="Profiles"
            data-i18n-aria-label-en="Profiles"
            data-i18n-aria-label-de="Profile"
          >
            <li
              ><a
                class="btn"
                data-variant="ghost"
                data-size="icon"
                href="https://github.com/"
                target="_blank"
                rel="noopener"
                aria-label="GitHub"
                ><svg viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true">
                  <path
                    d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
                  /></svg></a
            ></li>
            <li
              ><a
                class="btn"
                data-variant="ghost"
                data-size="icon"
                href="https://www.linkedin.com/"
                target="_blank"
                rel="noopener"
                aria-label="LinkedIn"
                ><svg viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true">
                  <path
                    d="M5 3.5A2.5 2.5 0 1 1 5 8.5 2.5 2.5 0 0 1 5 3.5ZM3 10h4v11H3V10Zm7 0h3.8v1.6h.1c.5-1 1.8-1.9 3.6-1.9 3.9 0 4.5 2.5 4.5 5.8V21h-4v-4.9c0-1.2 0-2.7-1.7-2.7s-2 1.3-2 2.6v5h-4V10Z"
                  /></svg></a
            ></li>
          </ul>
        </div>
      </div>
    </header>
    <aside class="mk-availability" data-variant="banner" aria-labelledby="rs-banner">
      <p class="mk-availability-status"
        ><span class="indicator-dot" data-variant="success" aria-hidden="true"></span>
        <span data-i18n-target="av-status-1">Available</span></p
      >
      <p class="mk-availability-title" id="rs-banner" data-i18n-target="av-banner"
        >Booking design-system and front-end projects from December</p
      >
      <div class="mk-availability-actions">
        <a class="btn" data-size="sm" href="#/resume" data-router-link
          ><span data-i18n-target="av-terms">See the terms</span></a
        >
      </div>
    </aside>
    <section class="flex flex-col gap-6 rs-work" aria-labelledby="rs-selected">
      <header class="mk-section-header" data-variant="split" style="padding-inline: 0">
        <div class="mk-section-header-copy">
          <span class="mk-section-header-eyebrow">Portfolio</span>
          <h2 class="mk-section-header-title" id="rs-selected" data-i18n-target="sel-title">Selected work</h2>
        </div>
        <div class="mk-section-header-actions">
          <a class="btn" data-variant="ghost" href="#/work" data-router-link
            ><span data-i18n-target="sel-all">All work</span> <i data-lucide="arrow-right"></i
          ></a>
        </div>
      </header>
      <div class="grid grid-cols-auto gap-6">
        <article class="mk-project-item">
          <figure class="mk-project-item-media"><img src="images/photos/s-rp-northwind-800x600.webp" alt="" /></figure>
          <div class="mk-project-item-body">
            <h3 class="mk-project-item-title"
              ><a href="#/work/northwind-system" data-router-link>Northwind design system</a></h3
            >
            <p class="mk-project-item-meta"><span>Design system</span><span>2025</span></p>
          </div>
        </article>
        <article class="mk-project-item">
          <figure class="mk-project-item-media"><img src="images/photos/s-rp-museo-800x600.webp" alt="" /></figure>
          <div class="mk-project-item-body">
            <h3 class="mk-project-item-title"><a href="#/work/museo-digital" data-router-link>Museo Digital</a></h3>
            <p class="mk-project-item-meta"><span>Website</span><span>2024</span></p>
          </div>
        </article>
        <article class="mk-project-item">
          <figure class="mk-project-item-media"><img src="images/photos/s-rp-atlas-800x600.webp" alt="" /></figure>
          <div class="mk-project-item-body">
            <h3 class="mk-project-item-title"><a href="#/work/atlas-transit" data-router-link>Atlas Transit app</a></h3>
            <p class="mk-project-item-meta"><span>Mobile app</span><span>2023</span></p>
          </div>
        </article>
      </div>
    </section>
    <section class="flex flex-col gap-6" aria-labelledby="rs-oss">
      <header class="mk-section-header" style="padding-inline: 0">
        <div class="mk-section-header-copy">
          <span class="mk-section-header-eyebrow">GitHub</span>
          <h2 class="mk-section-header-title" id="rs-oss">Open Source</h2>
        </div>
      </header>
      <div class="grid grid-cols-auto gap-4">
        <article class="mk-repository-item">
          <div class="mk-repository-item-head">
            <i data-lucide="book-marked"></i>
            <h3 class="mk-repository-item-name"
              ><a href="#/work/quiet-tokens" data-router-link
                ><span class="mk-repository-item-owner">maraokafor/</span>quiet-tokens</a
              ></h3
            >
          </div>
          <p class="mk-repository-item-description"
            >Design tokens as plain CSS custom properties - one file per theme, light and dark.</p
          >
          <ul class="mk-repository-item-stats">
            <li><span class="mk-repository-item-language" data-language="css"></span> CSS</li>
            <li><i data-lucide="star"></i> 2.4k<span class="sr-only" data-i18n-target="stars-1"> stars</span></li>
            <li><i data-lucide="git-fork"></i> 184<span class="sr-only" data-i18n-target="forks-1"> forks</span></li>
          </ul>
        </article>
        <article class="mk-repository-item">
          <div class="mk-repository-item-head">
            <i data-lucide="book-marked"></i>
            <h3 class="mk-repository-item-name"
              ><a href="#/work/focus-trail" data-router-link
                ><span class="mk-repository-item-owner">maraokafor/</span>focus-trail</a
              ></h3
            >
          </div>
          <p class="mk-repository-item-description"
            >Shows where keyboard focus went - a devtool overlay for accessibility reviews.</p
          >
          <ul class="mk-repository-item-stats">
            <li><span class="mk-repository-item-language" data-language="typescript"></span> TypeScript</li>
            <li><i data-lucide="star"></i> 812<span class="sr-only" data-i18n-target="stars-2"> stars</span></li>
            <li><i data-lucide="git-fork"></i> 41<span class="sr-only" data-i18n-target="forks-2"> forks</span></li>
          </ul>
        </article>
        <article class="mk-repository-item">
          <div class="mk-repository-item-head">
            <i data-lucide="book-marked"></i>
            <h3 class="mk-repository-item-name"
              ><a href="https://github.com/" target="_blank" rel="noopener"
                ><span class="mk-repository-item-owner">maraokafor/</span>kerning-kit</a
              ></h3
            >
          </div>
          <p class="mk-repository-item-description"
            >Prints the kerning pairs of a font that a design system's sizes actually use.</p
          >
          <ul class="mk-repository-item-stats">
            <li><span class="mk-repository-item-language" data-language="rust"></span> Rust</li>
            <li><i data-lucide="star"></i> 96<span class="sr-only" data-i18n-target="stars-3"> stars</span></li>
          </ul>
        </article>
      </div>
    </section>
    <section class="flex flex-col gap-2" aria-labelledby="rs-writing">
      <header class="mk-section-header" data-variant="split" style="padding-inline: 0">
        <div class="mk-section-header-copy">
          <span class="mk-section-header-eyebrow" data-i18n-target="wr-eyebrow">Notes</span>
          <h2 class="mk-section-header-title" id="rs-writing" data-i18n-target="wr-title">Writing</h2>
        </div>
        <div class="mk-section-header-actions">
          <a class="btn" data-variant="ghost" href="#/writing" data-router-link
            ><span data-i18n-target="wr-all">All writing</span> <i data-lucide="arrow-right"></i
          ></a>
        </div>
      </header>
      <div class="rs-posts" data-resume-posts="3"></div>
    </section>
  </div>

  <!-- Work: every project, a discipline filters -->
  <div class="flex flex-col gap-8" data-resume-view="work" hidden>
    <header class="mk-section-header" data-variant="split" style="padding-inline: 0">
      <div class="mk-section-header-copy">
        <h2 class="mk-section-header-title" data-i18n-target="work-title">Work</h2>
        <p class="mk-section-header-desc" data-i18n-target="work-desc">Design and engineering, 2022 to today.</p>
      </div>
      <nav
        class="mk-section-header-actions"
        data-resume-filter
        aria-label="Discipline"
        data-i18n-aria-label-en="Discipline"
        data-i18n-aria-label-de="Disziplin"
      >
        <a class="btn" data-variant="ghost" href="#/work" data-router-link aria-current="page"
          ><span data-i18n-target="filter-all">All</span></a
        >
        <a class="btn" data-variant="ghost" data-size="sm" href="#/work?discipline=design" data-router-link>Design</a>
        <a class="btn" data-variant="ghost" data-size="sm" href="#/work?discipline=engineering" data-router-link
          >Engineering</a
        >
      </nav>
    </header>
    <ul class="grid grid-cols-auto gap-6" style="margin: 0; padding: 0; list-style: none">
      <li data-discipline="engineering">
        <article class="mk-project-item">
          <figure class="mk-project-item-media"
            ><img src="images/photos/s-rp-northwind-800x600.webp" alt="" loading="lazy"
          /></figure>
          <div class="mk-project-item-body">
            <h3 class="mk-project-item-title"
              ><a href="#/work/northwind-system" data-router-link>Northwind design system</a></h3
            >
            <p class="mk-project-item-meta"><span>Design system</span><span>2025</span></p>
          </div>
        </article>
      </li>
      <li data-discipline="design">
        <article class="mk-project-item">
          <figure class="mk-project-item-media"
            ><img src="images/photos/s-rp-museo-800x600.webp" alt="" loading="lazy"
          /></figure>
          <div class="mk-project-item-body">
            <h3 class="mk-project-item-title"><a href="#/work/museo-digital" data-router-link>Museo Digital</a></h3>
            <p class="mk-project-item-meta"><span>Website</span><span>2024</span></p>
          </div>
        </article>
      </li>
      <li data-discipline="engineering">
        <article class="mk-project-item">
          <figure class="mk-project-item-media"
            ><img src="images/photos/s-rp-tokens-800x600.webp" alt="" loading="lazy"
          /></figure>
          <div class="mk-project-item-body">
            <h3 class="mk-project-item-title"><a href="#/work/quiet-tokens" data-router-link>quiet-tokens</a></h3>
            <p class="mk-project-item-meta"><span>Open source</span><span>2026</span></p>
          </div>
        </article>
      </li>
      <li data-discipline="design">
        <article class="mk-project-item">
          <figure class="mk-project-item-media"
            ><img src="images/photos/s-rp-atlas-800x600.webp" alt="" loading="lazy"
          /></figure>
          <div class="mk-project-item-body">
            <h3 class="mk-project-item-title"><a href="#/work/atlas-transit" data-router-link>Atlas Transit app</a></h3>
            <p class="mk-project-item-meta"><span>Mobile app</span><span>2023</span></p>
          </div>
        </article>
      </li>
      <li data-discipline="engineering">
        <article class="mk-project-item">
          <figure class="mk-project-item-media"
            ><img src="images/photos/s-rp-focus-800x600.webp" alt="" loading="lazy"
          /></figure>
          <div class="mk-project-item-body">
            <h3 class="mk-project-item-title"><a href="#/work/focus-trail" data-router-link>focus-trail</a></h3>
            <p class="mk-project-item-meta"><span>Developer tool</span><span>2025</span></p>
          </div>
        </article>
      </li>
      <li data-discipline="design">
        <article class="mk-project-item">
          <figure class="mk-project-item-media"
            ><img src="images/photos/s-rp-kite-800x600.webp" alt="" loading="lazy"
          /></figure>
          <div class="mk-project-item-body">
            <h3 class="mk-project-item-title"><a href="#/work/kite-festival" data-router-link>Kite Festival</a></h3>
            <p class="mk-project-item-meta"><span>Campaign site</span><span>2022</span></p>
          </div>
        </article>
      </li>
    </ul>
  </div>

  <!-- A project: prepare() fills it from the data block -->
  <div class="flex flex-col gap-6" data-resume-view="project" hidden>
    <a class="btn" data-variant="ghost" href="#/work" data-router-link style="align-self: flex-start"
      ><i data-lucide="arrow-left"></i> <span data-i18n-target="back">All work</span></a
    >
    <article class="mk-project-details" aria-labelledby="rp-title">
      <header class="mk-project-details-head">
        <h2 class="mk-project-details-title" id="rp-title" data-project-field="title">Museo Digital</h2>
        <p class="mk-project-details-summary" data-project-field="summary"
          >A museum's collection online - eight thousand objects you can walk through like the rooms of the building.</p
        >
      </header>
      <figure class="mk-project-details-cover"
        ><img
          data-project-cover
          src="images/photos/s-rp-museo-1600x800.webp"
          alt="The collection's start page on a laptop"
      /></figure>
      <dl class="mk-project-details-facts">
        <div><dt data-i18n-target="pf-client">Client</dt><dd data-project-field="client">Lagos Museum of Art</dd></div>
        <div><dt data-i18n-target="pf-year">Year</dt><dd data-project-field="year">2024</dd></div>
        <div><dt data-i18n-target="pf-role">Role</dt><dd data-project-field="role">Design lead</dd></div>
        <div><dt data-i18n-target="pf-tools">Tools</dt><dd data-project-field="tools">Figma, Eleventy</dd></div>
      </dl>
      <div class="mk-project-details-brief">
        <section aria-labelledby="rp-brief"
          ><h3 id="rp-brief" data-i18n-target="pf-brief">The brief</h3
          ><p data-project-field="brief"
            >The museum had photographed its whole collection and put it in a spreadsheet. Visitors should find a mask
            the way they find it in the building - by room, by material, by the story next to it.</p
          ></section
        >
        <section aria-labelledby="rp-deliv"
          ><h3 id="rp-deliv" data-i18n-target="pf-deliverables">Deliverables</h3>
          <ul class="mk-project-details-deliverables" data-project-deliverables>
            <li>Collection browser <span>Web</span></li>
            <li>Object pages <span>Web</span></li>
            <li>Room maps <span>Illustration</span></li>
          </ul>
        </section>
      </div>
      <div class="mk-project-details-gallery">
        <figure data-span="wide"
          ><img data-project-shot src="images/photos/s-rp-museo-1-1200x600.webp" alt="" loading="lazy"
        /></figure>
        <figure><img data-project-shot src="images/photos/s-rp-museo-2-600x600.webp" alt="" loading="lazy" /></figure>
        <figure><img data-project-shot src="images/photos/s-rp-museo-3-600x600.webp" alt="" loading="lazy" /></figure>
      </div>
      <a class="mk-project-details-next" href="#/work/quiet-tokens" rel="next" data-router-link data-project-next-link
        ><span
          ><small data-i18n-target="pf-next">Next project</small><strong data-project-next>quiet-tokens</strong></span
        ><i data-lucide="arrow-right"></i
      ></a>
    </article>
  </div>

  <!-- Writing: every note, newest first -->
  <div class="flex flex-col gap-4" data-resume-view="writing" hidden>
    <header class="mk-section-header" style="padding-inline: 0">
      <div class="mk-section-header-copy">
        <h2 class="mk-section-header-title" data-i18n-target="wr-page-title">Writing</h2>
        <p class="mk-section-header-desc" data-i18n-target="wr-page-desc"
          >Notes on design systems, accessibility and the work in between.</p
        >
      </div>
    </header>
    <div class="rs-posts" data-resume-posts="all"></div>
  </div>

  <!-- A note: filled from the data block, in the language shown -->
  <article class="flex flex-col gap-8 rs-post" data-resume-view="post" aria-labelledby="rs-post-title" hidden>
    <a class="btn" data-variant="ghost" href="#/writing" data-router-link style="align-self: flex-start"
      ><i data-lucide="arrow-left"></i> <span data-i18n-target="wr-back">All writing</span></a
    >
    <header class="mk-article-header">
      <a class="mk-article-header-category" href="#/writing" data-router-link data-post-field="topic">Design systems</a>
      <h1 class="mk-article-header-title" id="rs-post-title" data-post-field="title">Eleven date pickers</h1>
      <p class="mk-article-header-subtitle" data-post-field="dek"></p>
      <div class="mk-article-header-byline">
        <span class="avatar"><img class="avatar-image" src="images/avatars/16-160.webp" alt="" /></span>
        <div>
          <span class="mk-article-header-author">Mara Okafor</span>
          <div class="mk-article-header-meta"
            ><time data-post-date datetime="2026-06-03">3 June 2026</time><span data-post-minutes>7 min read</span></div
          >
        </div>
      </div>
    </header>
    <div class="mk-article-body" data-post-body></div>
    <section class="rs-post-project" aria-labelledby="rs-post-project">
      <h2 id="rs-post-project" data-i18n-target="wr-project">The project behind it</h2>
      <article class="mk-related-item">
        <figure class="mk-related-item-media"
          ><img data-post-project-image src="images/photos/s-rp-northwind-480x320.webp" alt=""
        /></figure>
        <div class="mk-related-item-body">
          <span class="mk-related-item-kind" data-post-project-kind>Design system · 2025</span>
          <h3 class="mk-related-item-title"
            ><a href="#/work/northwind-system" data-router-link data-post-project-link>Northwind design system</a></h3
          >
          <p class="mk-related-item-meta" data-post-project-summary></p>
        </div>
      </article>
    </section>
    <section class="mk-author-bio" aria-labelledby="rs-bio-name">
      <span class="avatar" data-size="lg"><img class="avatar-image" src="images/avatars/16-160.webp" alt="" /></span>
      <div class="mk-author-bio-body">
        <span class="mk-author-bio-label" data-i18n-target="wr-written-by">Written by</span>
        <h2 class="mk-author-bio-name" id="rs-bio-name">Mara Okafor</h2>
        <p class="mk-author-bio-text" data-i18n-target="wr-bio"
          >Design engineer in Berlin. I build design systems and write about the parts that are hard to see.</p
        >
        <div class="mk-author-bio-actions"
          ><a class="btn" data-variant="outline" data-size="sm" href="#/resume" data-router-link
            ><span data-i18n-target="wr-bio-cv">Read the CV</span></a
          ><a class="btn" data-variant="ghost" data-size="sm" href="mailto:mara@example.com"
            ><span data-i18n-target="wr-bio-mail">Write to me</span></a
          ></div
        >
      </div>
    </section>
    <nav
      class="mk-article-nav"
      aria-label="More notes"
      data-i18n-aria-label-en="More notes"
      data-i18n-aria-label-de="Weitere Notizen"
    >
      <a class="mk-article-nav-link" href="#/writing" data-router-link rel="prev" data-post-near="prev"
        ><span class="mk-article-nav-dir"><span data-i18n-target="wr-newer">Newer</span></span
        ><span class="mk-article-nav-title" data-post-near-title>Writing</span></a
      >
      <a class="mk-article-nav-link" href="#/writing" data-router-link rel="next" data-post-near="next"
        ><span class="mk-article-nav-dir"><span data-i18n-target="wr-older">Older</span></span
        ><span class="mk-article-nav-title" data-post-near-title>Writing</span></a
      >
    </nav>
  </article>

  <!-- Résumé: the CV - it prints -->
  <div class="flex flex-col gap-10" data-resume-view="resume" hidden>
    <div class="flex flex-wrap items-center gap-2" data-resume-noprint data-resume-print-slot>
      <button type="button" class="btn" data-variant="outline" data-size="sm" data-resume-print
        ><i data-lucide="printer"></i> <span data-i18n-target="print">Print or save as PDF</span></button
      >
    </div>
    <header class="mk-resume-header" data-variant="compact">
      <img class="mk-resume-header-photo" src="images/mk-portrait2.png" alt="" />
      <div class="mk-resume-header-body">
        <h1 class="mk-resume-header-name">Mara Okafor</h1>
        <p class="mk-resume-header-role" data-i18n-target="cv-role">Design engineer</p>
        <ul class="mk-resume-header-facts">
          <li><i data-lucide="map-pin"></i> Berlin</li>
          <li><i data-lucide="mail"></i> <a href="mailto:mara@example.com">mara@example.com</a></li>
          <li><i data-lucide="phone"></i> +49 30 1234 5678</li>
          <li><i data-lucide="globe"></i> <a href="#/">maraokafor.dev</a></li>
        </ul>
      </div>
    </header>
    <section class="flex flex-col gap-6" aria-labelledby="cv-experience">
      <header class="mk-section-header" data-variant="divider" style="padding-inline: 0">
        <div class="mk-section-header-copy">
          <h2 class="mk-section-header-title" id="cv-experience" data-i18n-target="cv-experience">Experience</h2>
        </div>
      </header>
      <ol class="mk-resume-entries">
        <li class="mk-resume-entry">
          <span class="mk-resume-entry-mark" aria-hidden="true">NW</span>
          <div class="mk-resume-entry-body">
            <div class="mk-resume-entry-head">
              <h3 class="mk-resume-entry-title">Staff design engineer</h3>
              <p class="mk-resume-entry-org"
                ><a href="#/work/northwind-system" data-router-link>Northwind</a><span>Full-time</span></p
              >
              <p class="mk-resume-entry-when"
                ><time datetime="2023-04">04/2023</time> - <span data-i18n-target="today-1">today</span> ·
                <span data-i18n-target="dur-nw"><span data-i18n-value="durNw">3 yrs, 8 mths</span></span></p
              >
              <p class="mk-resume-entry-where">Berlin</p>
            </div>
            <p class="mk-resume-entry-text"
              >Leads the design system fourteen product teams build with - components, tokens, documentation and the
              review of every change.</p
            >
            <ul class="mk-resume-entry-highlights">
              <li>Cut the system's CSS from 240 kB to 38 kB by moving variants to data attributes</li>
              <li>Took the product to WCAG 2.2 AA in nine months</li>
            </ul>
            <ul
              class="mk-resume-entry-tags"
              aria-label="Skills"
              data-i18n-aria-label-en="Skills"
              data-i18n-aria-label-de="Fähigkeiten"
            >
              <li>TypeScript</li>
              <li>CSS</li>
              <li>Figma</li>
            </ul>
          </div>
        </li>
        <li class="mk-resume-entry">
          <span class="mk-resume-entry-mark" aria-hidden="true">GX</span>
          <div class="mk-resume-entry-body">
            <div class="mk-resume-entry-head">
              <h3 class="mk-resume-entry-title">Globex</h3>
              <p class="mk-resume-entry-org"><span>Hamburg</span></p>
              <p class="mk-resume-entry-when"
                ><time datetime="2018-02">02/2018</time> - <time datetime="2023-03">03/2023</time> ·
                <span data-i18n-target="dur-gx"><span data-i18n-value="durGx">5 yrs, 2 mths</span></span></p
              >
            </div>
            <ol class="mk-resume-entry-roles">
              <li>
                <h4 class="mk-resume-entry-role">Senior front-end engineer</h4>
                <p class="mk-resume-entry-when"
                  ><time datetime="2020-06">06/2020</time> - <time datetime="2023-03">03/2023</time></p
                >
                <p class="mk-resume-entry-text">Rebuilt the research wiki's editor; led a team of four.</p>
              </li>
              <li>
                <h4 class="mk-resume-entry-role">Front-end engineer</h4>
                <p class="mk-resume-entry-when"
                  ><time datetime="2018-02">02/2018</time> - <time datetime="2020-05">05/2020</time></p
                >
              </li>
            </ol>
          </div>
        </li>
        <li class="mk-resume-entry">
          <span class="mk-resume-entry-mark" aria-hidden="true">SK</span>
          <div class="mk-resume-entry-body">
            <div class="mk-resume-entry-head">
              <h3 class="mk-resume-entry-title">Interaction designer</h3>
              <p class="mk-resume-entry-org"><span>Studio Kollektiv</span><span>Freelance</span></p>
              <p class="mk-resume-entry-when"
                ><time datetime="2015-05">05/2015</time> - <time datetime="2018-01">01/2018</time> ·
                <span data-i18n-target="dur-sk"><span data-i18n-value="durSk">2 yrs, 9 mths</span></span></p
              >
              <p class="mk-resume-entry-where">Remote</p>
            </div>
            <p class="mk-resume-entry-text"
              >Apps and websites for cultural institutions - from the first sketch to the shipped front end.</p
            >
          </div>
        </li>
      </ol>
    </section>
    <section class="flex flex-col gap-6" aria-labelledby="cv-education">
      <header class="mk-section-header" data-variant="divider" style="padding-inline: 0">
        <div class="mk-section-header-copy">
          <h2 class="mk-section-header-title" id="cv-education" data-i18n-target="cv-education">Education</h2>
        </div>
      </header>
      <ol class="mk-resume-entries" data-variant="columns">
        <li class="mk-resume-entry">
          <div class="mk-resume-entry-body">
            <div class="mk-resume-entry-head">
              <h3 class="mk-resume-entry-title">M.Sc. Human-Computer Interaction</h3>
              <p class="mk-resume-entry-org"><span>TU Berlin</span></p>
              <p class="mk-resume-entry-when"
                ><time datetime="2013-10">2013</time> - <time datetime="2015-09">2015</time></p
              >
            </div>
            <p class="mk-resume-entry-text">Thesis: how keyboard users find their way through dense data tables.</p>
          </div>
        </li>
        <li class="mk-resume-entry">
          <div class="mk-resume-entry-body">
            <div class="mk-resume-entry-head">
              <h3 class="mk-resume-entry-title">B.A. Communication Design</h3>
              <p class="mk-resume-entry-org"><span>HTW Berlin</span></p>
              <p class="mk-resume-entry-when"
                ><time datetime="2010-10">2010</time> - <time datetime="2013-09">2013</time></p
              >
            </div>
          </div>
        </li>
      </ol>
    </section>
    <section class="flex flex-col gap-6" aria-labelledby="cv-skills">
      <header class="mk-section-header" data-variant="divider" style="padding-inline: 0">
        <div class="mk-section-header-copy">
          <h2 class="mk-section-header-title" id="cv-skills" data-i18n-target="cv-skills">Skills</h2>
        </div>
      </header>
      <div class="mk-skill-matrix">
        <section class="mk-skill-matrix-group" aria-labelledby="cv-eng">
          <h3 class="mk-skill-matrix-title" id="cv-eng"><i data-lucide="code-xml"></i> Engineering</h3>
          <ul class="mk-skill-matrix-list">
            <li class="mk-skill-matrix-skill">
              <label class="mk-skill-matrix-name" for="cv-ts">TypeScript</label>
              <meter class="mk-skill-matrix-level" id="cv-ts" min="0" max="5" value="5">5 / 5</meter>
            </li>
            <li class="mk-skill-matrix-skill">
              <label class="mk-skill-matrix-name" for="cv-css">CSS</label>
              <meter class="mk-skill-matrix-level" id="cv-css" min="0" max="5" value="5">5 / 5</meter>
            </li>
            <li class="mk-skill-matrix-skill">
              <label class="mk-skill-matrix-name" for="cv-a11y">Accessibility</label>
              <meter class="mk-skill-matrix-level" id="cv-a11y" min="0" max="5" value="4">4 / 5</meter>
            </li>
            <li class="mk-skill-matrix-skill">
              <label class="mk-skill-matrix-name" for="cv-rust">Rust</label>
              <meter class="mk-skill-matrix-level" id="cv-rust" min="0" max="5" value="2">2 / 5</meter>
            </li>
          </ul>
        </section>
        <section class="mk-skill-matrix-group" aria-labelledby="cv-design">
          <h3 class="mk-skill-matrix-title" id="cv-design"><i data-lucide="pen-tool"></i> Design</h3>
          <ul class="mk-skill-matrix-list">
            <li class="mk-skill-matrix-skill">
              <label class="mk-skill-matrix-name" for="cv-figma">Figma</label>
              <meter class="mk-skill-matrix-level" id="cv-figma" min="0" max="5" value="5">5 / 5</meter>
            </li>
            <li class="mk-skill-matrix-skill">
              <label class="mk-skill-matrix-name" for="cv-type">Type &amp; layout</label>
              <meter class="mk-skill-matrix-level" id="cv-type" min="0" max="5" value="4">4 / 5</meter>
            </li>
            <li class="mk-skill-matrix-skill">
              <label class="mk-skill-matrix-name" for="cv-motion">Motion</label>
              <meter class="mk-skill-matrix-level" id="cv-motion" min="0" max="5" value="3">3 / 5</meter>
            </li>
          </ul>
        </section>
      </div>
      <div class="mk-skill-matrix" data-variant="dots">
        <section class="mk-skill-matrix-group" aria-labelledby="cv-lang">
          <h3 class="mk-skill-matrix-title" id="cv-lang"
            ><i data-lucide="languages"></i> <span data-i18n-target="cv-languages">Languages</span></h3
          >
          <ul class="mk-skill-matrix-list">
            <li class="mk-skill-matrix-skill">
              <label class="mk-skill-matrix-name" for="cv-en" data-i18n-target="lang-en">English</label>
              <meter class="mk-skill-matrix-level" id="cv-en" min="0" max="5" value="5">5 / 5</meter>
              <span class="mk-skill-matrix-note">C2</span>
            </li>
            <li class="mk-skill-matrix-skill">
              <label class="mk-skill-matrix-name" for="cv-de" data-i18n-target="lang-de">German</label>
              <meter class="mk-skill-matrix-level" id="cv-de" min="0" max="5" value="4">4 / 5</meter>
              <span class="mk-skill-matrix-note">C1</span>
            </li>
            <li class="mk-skill-matrix-skill">
              <label class="mk-skill-matrix-name" for="cv-yo" data-i18n-target="lang-yo">Yoruba</label>
              <meter class="mk-skill-matrix-level" id="cv-yo" min="0" max="5" value="5">5 / 5</meter>
              <span class="mk-skill-matrix-note" data-i18n-target="native">native</span>
            </li>
          </ul>
        </section>
      </div>
    </section>
    <aside class="mk-availability" aria-labelledby="cv-hire">
      <p class="mk-availability-status"
        ><span class="indicator-dot" data-variant="success" data-animate="ping" aria-hidden="true"></span>
        <span data-i18n-target="av-status-2">Available</span></p
      >
      <h2 class="mk-availability-title" id="cv-hire" data-i18n-target="av-title">Booking projects from December</h2>
      <dl class="mk-availability-facts">
        <div
          ><dt data-i18n-target="av-start">Start</dt
          ><dd
            ><time datetime="2026-12-01" data-i18n-target="av-start-date"
              ><span data-i18n-value="start">December 1, 2026</span></time
            ></dd
          ></div
        >
        <div
          ><dt data-i18n-target="av-capacity">Capacity</dt
          ><dd data-i18n-target="av-capacity-value">3 days a week</dd></div
        >
        <div
          ><dt data-i18n-target="av-engagement">Engagement</dt
          ><dd data-i18n-target="av-engagement-value">Freelance or contract</dd></div
        >
        <div
          ><dt data-i18n-target="av-rate">Day rate</dt
          ><dd data-i18n-target="av-rate-value">from <span data-i18n-value="rate">€950</span></dd></div
        >
      </dl>
      <div class="mk-availability-actions">
        <a class="btn" href="mailto:mara@example.com"
          ><i data-lucide="mail"></i> <span data-i18n-target="av-email">Email me</span></a
        >
      </div>
    </aside>
  </div>

  <!-- the Site Footer: the site's pages, recent projects and the ways to reach her - on screen only -->
  <footer class="mk-footer rs-foot">
    <div class="mk-footer-inner">
      <nav
        class="mk-footer-nav"
        aria-label="Footer"
        data-i18n-aria-label-en="Footer"
        data-i18n-aria-label-de="Fußzeile"
      >
        <div class="mk-footer-col">
          <h3 class="mk-footer-heading" data-i18n-target="ft-site">This site</h3>
          <ul class="mk-footer-list">
            <li><a href="#/" data-router-link data-i18n-target="ft-about">About</a></li>
            <li><a href="#/work" data-router-link data-i18n-target="ft-work">Work</a></li>
            <li><a href="#/writing" data-router-link data-i18n-target="ft-writing">Writing</a></li>
            <li><a href="#/resume" data-router-link data-i18n-target="ft-resume">Résumé</a></li>
          </ul>
        </div>
        <div class="mk-footer-col">
          <h3 class="mk-footer-heading" data-i18n-target="ft-recent">Recent projects</h3>
          <ul class="mk-footer-list">
            <li><a href="#/work/quiet-tokens" data-router-link>quiet-tokens</a></li>
            <li><a href="#/work/northwind-system" data-router-link>Northwind design system</a></li>
            <li><a href="#/work/museo-digital" data-router-link>Museo Digital</a></li>
          </ul>
        </div>
        <div class="mk-footer-col">
          <h3 class="mk-footer-heading" data-i18n-target="ft-hello">Say hello</h3>
          <ul class="mk-footer-list">
            <li><a href="mailto:mara@example.com">mara@example.com</a></li>
            <li><a href="https://github.com/" target="_blank" rel="noopener">GitHub</a></li>
            <li><a href="https://www.linkedin.com/" target="_blank" rel="noopener">LinkedIn</a></li>
          </ul>
        </div>
      </nav>
      <hr class="separator mk-footer-rule" />
      <div class="mk-footer-bottom">
        <a class="mk-footer-brand" href="#/" data-router-link>Mara Okafor</a>
        <div class="mk-footer-meta">
          <p class="mk-footer-copy" data-i18n-target="ft-copy"
            >© 2026 Mara Okafor · Made in Berlin, tested by keyboard</p
          >
        </div>
      </div>
    </div>
  </footer>

  <!-- one note in a list (About, Writing), filled from the data block -->
  <template data-resume-post-item>
    <article class="mk-blog-item" data-variant="minimal">
      <div class="mk-blog-item-body">
        <div class="mk-blog-item-meta"
          ><span class="badge" data-variant="secondary" data-post-topic></span><span data-post-minutes></span
        ></div>
        <h3 class="mk-blog-item-title"><a href="#/writing" data-router-link data-post-link></a></h3>
        <p class="mk-blog-item-excerpt" data-post-dek></p>
        <div class="mk-blog-item-byline"><time class="mk-blog-item-date" data-post-date></time></div>
      </div>
    </article>
  </template>

  <!-- the notes the routes name, newest first, in English and German. A body line is a paragraph, "## " a heading -->
  <script type="application/json" id="resume-posts">
    {
      "words": {
        "en": { "read": "min read" },
        "de": { "read": "Min. Lesezeit" }
      },
      "posts": {
        "dark-mode-palette": {
          "date": "2026-10-14",
          "minutes": 6,
          "project": "quiet-tokens",
          "en": {
            "topic": "Design systems",
            "title": "Dark mode is a second palette, not a filter",
            "dek": "Why quiet-tokens ships every theme twice - and what inverting the colours gets wrong.",
            "body": [
              "Every few months someone shows me a dark mode made by inverting the light one. It looks fine for a minute. Then the shadows glow, the brand colour turns muddy and the focus ring disappears.",
              "## Two palettes, one set of names",
              "In quiet-tokens a theme is a file with two blocks: the light palette and the dark one. They share the same token names, so a component never knows which one it gets. What changes is every value - and each value is chosen, not computed.",
              "## What to check by hand",
              "Contrast first: text needs 4.5:1 against its surface in both modes. Then elevation - in the dark, a raised card is lighter, not darker. Last, the accent: a saturated colour that works on white often vibrates on black, so it gets a softer twin.",
              "The checker in quiet-tokens fails a theme when a pair drops below 4.5:1 in either mode. It has caught more mistakes than any review I have done."
            ]
          },
          "de": {
            "topic": "Designsysteme",
            "title": "Der dunkle Modus ist eine zweite Palette, kein Filter",
            "dek": "Warum quiet-tokens jedes Theme zweimal liefert - und was beim Invertieren der Farben schiefgeht.",
            "body": [
              "Alle paar Monate zeigt mir jemand einen dunklen Modus, der durch Invertieren des hellen entstanden ist. Eine Minute lang sieht das gut aus. Dann leuchten die Schatten, die Markenfarbe wird trüb und der Fokusrahmen verschwindet.",
              "## Zwei Paletten, ein Satz Namen",
              "In quiet-tokens ist ein Theme eine Datei mit zwei Blöcken: der hellen Palette und der dunklen. Beide tragen dieselben Token-Namen, eine Komponente weiß also nie, welche sie bekommt. Was sich ändert, ist jeder Wert - und jeder Wert ist gewählt, nicht berechnet.",
              "## Was man von Hand prüft",
              "Zuerst der Kontrast: Text braucht in beiden Modi 4,5:1 gegen seine Fläche. Dann die Höhe - im Dunkeln ist eine erhöhte Karte heller, nicht dunkler. Zuletzt der Akzent: Eine satte Farbe, die auf Weiß funktioniert, flimmert auf Schwarz oft und bekommt deshalb einen sanfteren Zwilling.",
              "Der Prüfer in quiet-tokens lässt ein Theme durchfallen, sobald ein Paar in einem der Modi unter 4,5:1 fällt. Er hat mehr Fehler gefunden als jedes Review, das ich gemacht habe."
            ]
          }
        },
        "focus-order-review": {
          "date": "2026-08-27",
          "minutes": 5,
          "project": "focus-trail",
          "en": {
            "topic": "Accessibility",
            "title": "Reviewing focus order in ten minutes",
            "dek": "A routine for keyboard reviews that fits between two meetings.",
            "body": [
              "Most focus bugs are not exotic. A dialog that leaves focus behind, a menu that traps it, a card whose link comes after its button. They are easy to fix and easy to miss.",
              "## The routine",
              "Open the page, put the mouse away and press Tab until you are back at the top. Write down every stop that surprised you. With focus-trail running, the stops are numbered on the page and the jumps are marked in red.",
              "## What counts as a jump",
              "A jump is a stop that moves against the reading order - up the page, or across columns and back. Not every jump is a bug, but every one needs a reason.",
              "Ten minutes per page is enough for a first pass. The bugs you find there are the ones your keyboard users meet every day."
            ]
          },
          "de": {
            "topic": "Barrierefreiheit",
            "title": "Die Fokusreihenfolge in zehn Minuten prüfen",
            "dek": "Eine Routine für Tastatur-Reviews, die zwischen zwei Meetings passt.",
            "body": [
              "Die meisten Fokusfehler sind nicht exotisch. Ein Dialog, der den Fokus zurücklässt, ein Menü, das ihn festhält, eine Karte, deren Link nach ihrem Knopf kommt. Sie sind leicht zu beheben und leicht zu übersehen.",
              "## Die Routine",
              "Öffne die Seite, leg die Maus weg und drücke Tab, bis du wieder oben bist. Notiere jeden Halt, der dich überrascht hat. Mit focus-trail sind die Halte auf der Seite nummeriert und die Sprünge rot markiert.",
              "## Was als Sprung zählt",
              "Ein Sprung ist ein Halt gegen die Leserichtung - die Seite hinauf oder über Spalten hinweg und zurück. Nicht jeder Sprung ist ein Fehler, aber jeder braucht einen Grund.",
              "Zehn Minuten pro Seite reichen für einen ersten Durchgang. Die Fehler, die du dabei findest, sind die, denen deine Tastatur-Nutzer jeden Tag begegnen."
            ]
          }
        },
        "eleven-date-pickers": {
          "date": "2026-06-03",
          "minutes": 7,
          "project": "northwind-system",
          "en": {
            "topic": "Design systems",
            "title": "Eleven date pickers",
            "dek": "What a component inventory at Northwind taught me about adoption.",
            "body": [
              "When I joined Northwind, we counted the date pickers in the product. There were eleven. Each was written by a team that needed one on a Friday.",
              "## Inventory first",
              "We took screenshots of every control in every product and laid them out on one wall. Nobody argued about consistency after that - the wall argued for us.",
              "## Adoption is a feature",
              "A design system succeeds when teams choose it, not when it is mandatory. We measured how long a new team took to ship its first screen with the system, and worked on that number like on any other feature.",
              "## What changed",
              "Fourteen teams build with the system today. There is one date picker. Agreeing on its keyboard behaviour took longer than writing it."
            ]
          },
          "de": {
            "topic": "Designsysteme",
            "title": "Elf Datumsauswahlen",
            "dek": "Was mir eine Komponenten-Inventur bei Northwind über Akzeptanz beigebracht hat.",
            "body": [
              "Als ich bei Northwind anfing, zählten wir die Datumsauswahlen im Produkt. Es waren elf. Jede hatte ein Team geschrieben, das an einem Freitag eine brauchte.",
              "## Zuerst die Inventur",
              "Wir machten Screenshots von jedem Bedienelement in jedem Produkt und legten sie an einer Wand aus. Danach stritt niemand mehr über Einheitlichkeit - die Wand stritt für uns.",
              "## Akzeptanz ist eine Funktion",
              "Ein Designsystem hat Erfolg, wenn Teams es wählen, nicht wenn es Pflicht ist. Wir haben gemessen, wie lange ein neues Team für seinen ersten Screen mit dem System brauchte, und an dieser Zahl gearbeitet wie an jeder anderen Funktion.",
              "## Was sich geändert hat",
              "Heute bauen vierzehn Teams mit dem System. Es gibt eine Datumsauswahl. Uns auf ihr Tastaturverhalten zu einigen, hat länger gedauert, als sie zu schreiben."
            ]
          }
        },
        "one-hand-in-the-rain": {
          "date": "2026-03-19",
          "minutes": 4,
          "project": "atlas-transit",
          "en": {
            "topic": "Interaction design",
            "title": "Designing for one hand in the rain",
            "dek": "Notes from the Atlas Transit study: the ticket flow nobody had to learn.",
            "body": [
              "We tested the Atlas ticket flow at real stations, in February. Half the people held a bag, a child or an umbrella in the other hand.",
              "## Three taps, one thumb",
              "Every action in the flow sits in the bottom half of the screen, where a thumb reaches. The price is on the button, so nobody has to look up to check it.",
              "## What we removed",
              "An account, a confirmation screen and a choice of payment methods on the first ride. Each one cost seconds at the edge of the platform, and seconds were what people did not have.",
              "The final version sold a ticket in a median of 14 seconds. The queue at the machine took four minutes."
            ]
          },
          "de": {
            "topic": "Interaktionsdesign",
            "title": "Gestalten für eine Hand im Regen",
            "dek": "Notizen aus der Studie für Atlas Transit: der Ticketkauf, den niemand lernen musste.",
            "body": [
              "Wir haben den Ticketkauf von Atlas an echten Bahnhöfen getestet, im Februar. Die Hälfte der Leute hielt in der anderen Hand eine Tasche, ein Kind oder einen Schirm.",
              "## Drei Berührungen, ein Daumen",
              "Jede Aktion liegt in der unteren Hälfte des Bildschirms, wo ein Daumen hinkommt. Der Preis steht auf dem Knopf, niemand muss nach oben schauen, um ihn zu prüfen.",
              "## Was wir gestrichen haben",
              "Ein Konto, einen Bestätigungsbildschirm und die Wahl der Zahlungsart bei der ersten Fahrt. Jedes davon kostete Sekunden an der Bahnsteigkante, und Sekunden hatten die Leute nicht.",
              "Die fertige Version verkaufte ein Ticket im Median in 14 Sekunden. Die Schlange am Automaten dauerte vier Minuten."
            ]
          }
        }
      }
    }
  </script>

  <!-- the projects the routes name, in order -->
  <script type="application/json" id="resume-projects">
    {
      "northwind-system": {
        "title": "Northwind design system",
        "summary": "One system for fourteen product teams - 120 components, a token pipeline and documentation that writes itself from the source.",
        "client": "Northwind",
        "year": "2025",
        "role": "Lead design engineer",
        "tools": "Figma, TypeScript, CSS",
        "brief": "Northwind's teams had built the same date picker eleven times. They needed one set of components every team trusts - fast enough for the slowest laptop in the warehouse.",
        "deliverables": [
          ["120 components", "Code"],
          ["Token pipeline", "Code"],
          ["Docs site", "Web"],
          ["Contribution guide", "Process"]
        ],
        "seed": "rp-northwind",
        "alt": "The Northwind component library on a large screen"
      },
      "museo-digital": {
        "title": "Museo Digital",
        "summary": "A museum's collection online - eight thousand objects you can walk through like the rooms of the building.",
        "client": "Lagos Museum of Art",
        "year": "2024",
        "role": "Design lead",
        "tools": "Figma, Eleventy",
        "brief": "The museum had photographed its whole collection and put it in a spreadsheet. Visitors should find a mask the way they find it in the building - by room, by material, by the story next to it.",
        "deliverables": [
          ["Collection browser", "Web"],
          ["Object pages", "Web"],
          ["Room maps", "Illustration"]
        ],
        "seed": "rp-museo",
        "alt": "The collection's start page on a laptop"
      },
      "quiet-tokens": {
        "title": "quiet-tokens",
        "summary": "Design tokens as plain CSS custom properties - one file per theme, light and dark, no build step.",
        "client": "Open source",
        "year": "2026",
        "role": "Author and maintainer",
        "tools": "CSS, TypeScript",
        "brief": "Every theme tool I used needed a build step. quiet-tokens is a folder of CSS files and a checker that keeps them in step.",
        "deliverables": [
          ["Token files", "CSS"],
          ["Checker", "CLI"],
          ["Theme gallery", "Web"]
        ],
        "seed": "rp-tokens",
        "alt": "Three themes of the same card side by side"
      },
      "atlas-transit": {
        "title": "Atlas Transit app",
        "summary": "Buying a ticket in three taps, at a station, in the rain, with one hand.",
        "client": "Atlas Transit",
        "year": "2023",
        "role": "Interaction designer",
        "tools": "Figma, ProtoPie",
        "brief": "Atlas sold most tickets at machines with queues. The app had to be faster than the queue - for people who ride once a year as much as for daily commuters.",
        "deliverables": [
          ["Ticket flow", "iOS, Android"],
          ["Live departures", "iOS, Android"],
          ["Usability study", "Research"]
        ],
        "seed": "rp-atlas",
        "alt": "The ticket screen of the app on two phones"
      },
      "focus-trail": {
        "title": "focus-trail",
        "summary": "A devtool overlay that draws where keyboard focus went - for accessibility reviews that take minutes, not hours.",
        "client": "Open source",
        "year": "2025",
        "role": "Author",
        "tools": "TypeScript",
        "brief": "Reviewing focus order meant pressing Tab and taking notes. focus-trail numbers every stop on the page and flags the ones that jump.",
        "deliverables": [
          ["Browser extension", "Code"],
          ["Report export", "Code"]
        ],
        "seed": "rp-focus",
        "alt": "Numbered focus stops drawn over a sign-up form"
      },
      "kite-festival": {
        "title": "Kite Festival",
        "summary": "A campaign site for a city's kite festival - a programme you can read on a windy beach.",
        "client": "City of Kiel",
        "year": "2022",
        "role": "Designer and developer",
        "tools": "Figma, Astro",
        "brief": "Three days, forty events, one beach. The programme had to work on a phone in bright sun, and the site had to survive the morning the whole city looked at it.",
        "deliverables": [
          ["Visual identity", "Brand"],
          ["Programme site", "Web"],
          ["Posters", "Print"]
        ],
        "seed": "rp-kite",
        "alt": "Kites over a beach on the festival poster"
      }
    }
  </script>

  <!-- the translations: one template per target and language (defuss-i18n) -->
  <template data-i18n-for="ring" data-i18n-locale="en">open for projects · from December · Berlin · remote · </template>
  <template data-i18n-for="ring" data-i18n-locale="de">offen für Projekte · ab Dezember · Berlin · remote · </template>
  <template data-i18n-for="hand" data-i18n-locale="en">say hello!</template>
  <template data-i18n-for="hand" data-i18n-locale="de">sag hallo!</template>
  <template data-i18n-for="look-studio" data-i18n-locale="en">Studio</template>
  <template data-i18n-for="look-studio" data-i18n-locale="de">Atelier</template>
  <template data-i18n-for="look-darkroom" data-i18n-locale="en">Darkroom</template>
  <template data-i18n-for="look-darkroom" data-i18n-locale="de">Dunkelkammer</template>
  <template data-i18n-for="look-sketch" data-i18n-locale="en">Sketchbook</template>
  <template data-i18n-for="look-sketch" data-i18n-locale="de">Skizzenbuch</template>
  <template data-i18n-for="nav-about" data-i18n-locale="en">About</template>
  <template data-i18n-for="nav-about" data-i18n-locale="de">Über mich</template>
  <template data-i18n-for="nav-work" data-i18n-locale="en">Work</template>
  <template data-i18n-for="nav-work" data-i18n-locale="de">Arbeiten</template>
  <template data-i18n-for="nav-resume" data-i18n-locale="en">Résumé</template>
  <template data-i18n-for="nav-resume" data-i18n-locale="de">Lebenslauf</template>
  <template data-i18n-for="status" data-i18n-locale="en">Available for projects from December</template>
  <template data-i18n-for="status" data-i18n-locale="de">Ab Dezember frei für Projekte</template>
  <template data-i18n-for="role" data-i18n-locale="en"
    >Design engineer - design systems, front-end architecture and accessibility</template
  >
  <template data-i18n-for="role" data-i18n-locale="de"
    >Design Engineer - Designsysteme, Frontend-Architektur und Barrierefreiheit</template
  >
  <template data-i18n-for="fact-where" data-i18n-locale="en">Berlin, Germany - remote across Europe</template>
  <template data-i18n-for="fact-where" data-i18n-locale="de">Berlin - remote in ganz Europa</template>
  <template data-i18n-for="fact-years" data-i18n-locale="en">11 years in product teams</template>
  <template data-i18n-for="fact-years" data-i18n-locale="de">11 Jahre in Produktteams</template>
  <template data-i18n-for="contact" data-i18n-locale="en">Get in touch</template>
  <template data-i18n-for="contact" data-i18n-locale="de">Kontakt aufnehmen</template>
  <template data-i18n-for="to-resume" data-i18n-locale="en">Read the CV</template>
  <template data-i18n-for="to-resume" data-i18n-locale="de">Zum Lebenslauf</template>
  <template data-i18n-for="av-status-1" data-i18n-locale="en">Available</template>
  <template data-i18n-for="av-status-1" data-i18n-locale="de">Verfügbar</template>
  <template data-i18n-for="av-banner" data-i18n-locale="en"
    >Booking design-system and front-end projects from December</template
  >
  <template data-i18n-for="av-banner" data-i18n-locale="de"
    >Ab Dezember buchbar für Designsystem- und Frontend-Projekte</template
  >
  <template data-i18n-for="av-terms" data-i18n-locale="en">See the terms</template>
  <template data-i18n-for="av-terms" data-i18n-locale="de">Zu den Konditionen</template>
  <template data-i18n-for="sel-title" data-i18n-locale="en">Selected work</template>
  <template data-i18n-for="sel-title" data-i18n-locale="de">Ausgewählte Arbeiten</template>
  <template data-i18n-for="sel-all" data-i18n-locale="en">All work</template>
  <template data-i18n-for="sel-all" data-i18n-locale="de">Alle Arbeiten</template>
  <template data-i18n-for="stars-1" data-i18n-locale="en"> stars</template>
  <template data-i18n-for="stars-1" data-i18n-locale="de"> Sterne</template>
  <template data-i18n-for="forks-1" data-i18n-locale="en"> forks</template>
  <template data-i18n-for="forks-1" data-i18n-locale="de"> Forks</template>
  <template data-i18n-for="stars-2" data-i18n-locale="en"> stars</template>
  <template data-i18n-for="stars-2" data-i18n-locale="de"> Sterne</template>
  <template data-i18n-for="forks-2" data-i18n-locale="en"> forks</template>
  <template data-i18n-for="forks-2" data-i18n-locale="de"> Forks</template>
  <template data-i18n-for="stars-3" data-i18n-locale="en"> stars</template>
  <template data-i18n-for="stars-3" data-i18n-locale="de"> Sterne</template>
  <template data-i18n-for="work-title" data-i18n-locale="en">Work</template>
  <template data-i18n-for="work-title" data-i18n-locale="de">Arbeiten</template>
  <template data-i18n-for="work-desc" data-i18n-locale="en">Design and engineering, 2022 to today.</template>
  <template data-i18n-for="work-desc" data-i18n-locale="de">Design und Engineering, von 2022 bis heute.</template>
  <template data-i18n-for="filter-all" data-i18n-locale="en">All</template>
  <template data-i18n-for="filter-all" data-i18n-locale="de">Alle</template>
  <template data-i18n-for="back" data-i18n-locale="en">All work</template>
  <template data-i18n-for="back" data-i18n-locale="de">Alle Arbeiten</template>
  <template data-i18n-for="pf-client" data-i18n-locale="en">Client</template>
  <template data-i18n-for="pf-client" data-i18n-locale="de">Auftraggeber</template>
  <template data-i18n-for="pf-year" data-i18n-locale="en">Year</template>
  <template data-i18n-for="pf-year" data-i18n-locale="de">Jahr</template>
  <template data-i18n-for="pf-role" data-i18n-locale="en">Role</template>
  <template data-i18n-for="pf-role" data-i18n-locale="de">Rolle</template>
  <template data-i18n-for="pf-tools" data-i18n-locale="en">Tools</template>
  <template data-i18n-for="pf-tools" data-i18n-locale="de">Werkzeuge</template>
  <template data-i18n-for="pf-brief" data-i18n-locale="en">The brief</template>
  <template data-i18n-for="pf-brief" data-i18n-locale="de">Die Aufgabe</template>
  <template data-i18n-for="pf-deliverables" data-i18n-locale="en">Deliverables</template>
  <template data-i18n-for="pf-deliverables" data-i18n-locale="de">Ergebnisse</template>
  <template data-i18n-for="pf-next" data-i18n-locale="en">Next project</template>
  <template data-i18n-for="pf-next" data-i18n-locale="de">Nächstes Projekt</template>
  <template data-i18n-for="print" data-i18n-locale="en">Print or save as PDF</template>
  <template data-i18n-for="print" data-i18n-locale="de">Drucken oder als PDF sichern</template>
  <template data-i18n-for="cv-role" data-i18n-locale="en">Design engineer</template>
  <template data-i18n-for="cv-role" data-i18n-locale="de">Design Engineer</template>
  <template data-i18n-for="cv-experience" data-i18n-locale="en">Experience</template>
  <template data-i18n-for="cv-experience" data-i18n-locale="de">Berufserfahrung</template>
  <template data-i18n-for="today-1" data-i18n-locale="en">today</template>
  <template data-i18n-for="today-1" data-i18n-locale="de">heute</template>
  <template data-i18n-for="dur-nw" data-i18n-locale="en"><span data-i18n-value="durNw"></span></template>
  <template data-i18n-for="dur-nw" data-i18n-locale="de"><span data-i18n-value="durNw"></span></template>
  <template data-i18n-for="dur-gx" data-i18n-locale="en"><span data-i18n-value="durGx"></span></template>
  <template data-i18n-for="dur-gx" data-i18n-locale="de"><span data-i18n-value="durGx"></span></template>
  <template data-i18n-for="dur-sk" data-i18n-locale="en"><span data-i18n-value="durSk"></span></template>
  <template data-i18n-for="dur-sk" data-i18n-locale="de"><span data-i18n-value="durSk"></span></template>
  <template data-i18n-for="cv-education" data-i18n-locale="en">Education</template>
  <template data-i18n-for="cv-education" data-i18n-locale="de">Ausbildung</template>
  <template data-i18n-for="cv-skills" data-i18n-locale="en">Skills</template>
  <template data-i18n-for="cv-skills" data-i18n-locale="de">Fähigkeiten</template>
  <template data-i18n-for="cv-languages" data-i18n-locale="en">Languages</template>
  <template data-i18n-for="cv-languages" data-i18n-locale="de">Sprachen</template>
  <template data-i18n-for="lang-en" data-i18n-locale="en">English</template>
  <template data-i18n-for="lang-en" data-i18n-locale="de">Englisch</template>
  <template data-i18n-for="lang-de" data-i18n-locale="en">German</template>
  <template data-i18n-for="lang-de" data-i18n-locale="de">Deutsch</template>
  <template data-i18n-for="lang-yo" data-i18n-locale="en">Yoruba</template>
  <template data-i18n-for="lang-yo" data-i18n-locale="de">Yoruba</template>
  <template data-i18n-for="native" data-i18n-locale="en">native</template>
  <template data-i18n-for="native" data-i18n-locale="de">Muttersprache</template>
  <template data-i18n-for="av-status-2" data-i18n-locale="en">Available</template>
  <template data-i18n-for="av-status-2" data-i18n-locale="de">Verfügbar</template>
  <template data-i18n-for="av-title" data-i18n-locale="en">Booking projects from December</template>
  <template data-i18n-for="av-title" data-i18n-locale="de">Projekte ab Dezember buchbar</template>
  <template data-i18n-for="av-start" data-i18n-locale="en">Start</template>
  <template data-i18n-for="av-start" data-i18n-locale="de">Beginn</template>
  <template data-i18n-for="av-start-date" data-i18n-locale="en"><span data-i18n-value="start"></span></template>
  <template data-i18n-for="av-start-date" data-i18n-locale="de"><span data-i18n-value="start"></span></template>
  <template data-i18n-for="av-capacity" data-i18n-locale="en">Capacity</template>
  <template data-i18n-for="av-capacity" data-i18n-locale="de">Umfang</template>
  <template data-i18n-for="av-capacity-value" data-i18n-locale="en">3 days a week</template>
  <template data-i18n-for="av-capacity-value" data-i18n-locale="de">3 Tage pro Woche</template>
  <template data-i18n-for="av-engagement" data-i18n-locale="en">Engagement</template>
  <template data-i18n-for="av-engagement" data-i18n-locale="de">Art</template>
  <template data-i18n-for="av-engagement-value" data-i18n-locale="en">Freelance or contract</template>
  <template data-i18n-for="av-engagement-value" data-i18n-locale="de">Freiberuflich oder angestellt auf Zeit</template>
  <template data-i18n-for="av-rate" data-i18n-locale="en">Day rate</template>
  <template data-i18n-for="av-rate" data-i18n-locale="de">Tagessatz</template>
  <template data-i18n-for="av-rate-value" data-i18n-locale="en">from <span data-i18n-value="rate"></span></template>
  <template data-i18n-for="av-rate-value" data-i18n-locale="de">ab <span data-i18n-value="rate"></span></template>
  <template data-i18n-for="av-email" data-i18n-locale="en">Email me</template>
  <template data-i18n-for="av-email" data-i18n-locale="de">E-Mail schreiben</template>
  <template data-i18n-for="nav-writing" data-i18n-locale="en">Writing</template>
  <template data-i18n-for="nav-writing" data-i18n-locale="de">Notizen</template>
  <template data-i18n-for="wr-eyebrow" data-i18n-locale="en">Notes</template>
  <template data-i18n-for="wr-eyebrow" data-i18n-locale="de">Notizbuch</template>
  <template data-i18n-for="wr-title" data-i18n-locale="en">Writing</template>
  <template data-i18n-for="wr-title" data-i18n-locale="de">Notizen</template>
  <template data-i18n-for="wr-all" data-i18n-locale="en">All writing</template>
  <template data-i18n-for="wr-all" data-i18n-locale="de">Alle Notizen</template>
  <template data-i18n-for="wr-page-title" data-i18n-locale="en">Writing</template>
  <template data-i18n-for="wr-page-title" data-i18n-locale="de">Notizen</template>
  <template data-i18n-for="wr-page-desc" data-i18n-locale="en"
    >Notes on design systems, accessibility and the work in between.</template
  >
  <template data-i18n-for="wr-page-desc" data-i18n-locale="de"
    >Notizen über Designsysteme, Barrierefreiheit und die Arbeit dazwischen.</template
  >
  <template data-i18n-for="wr-back" data-i18n-locale="en">All writing</template>
  <template data-i18n-for="wr-back" data-i18n-locale="de">Alle Notizen</template>
  <template data-i18n-for="wr-project" data-i18n-locale="en">The project behind it</template>
  <template data-i18n-for="wr-project" data-i18n-locale="de">Das Projekt dahinter</template>
  <template data-i18n-for="wr-written-by" data-i18n-locale="en">Written by</template>
  <template data-i18n-for="wr-written-by" data-i18n-locale="de">Geschrieben von</template>
  <template data-i18n-for="wr-bio" data-i18n-locale="en"
    >Design engineer in Berlin. I build design systems and write about the parts that are hard to see.</template
  >
  <template data-i18n-for="wr-bio" data-i18n-locale="de"
    >Design Engineer in Berlin. Ich baue Designsysteme und schreibe über die Teile, die man schwer sieht.</template
  >
  <template data-i18n-for="wr-bio-cv" data-i18n-locale="en">Read the CV</template>
  <template data-i18n-for="wr-bio-cv" data-i18n-locale="de">Zum Lebenslauf</template>
  <template data-i18n-for="wr-bio-mail" data-i18n-locale="en">Write to me</template>
  <template data-i18n-for="wr-bio-mail" data-i18n-locale="de">Schreib mir</template>
  <template data-i18n-for="wr-newer" data-i18n-locale="en">Newer</template>
  <template data-i18n-for="wr-newer" data-i18n-locale="de">Neuer</template>
  <template data-i18n-for="wr-older" data-i18n-locale="en">Older</template>
  <template data-i18n-for="wr-older" data-i18n-locale="de">Älter</template>
  <template data-i18n-for="ft-site" data-i18n-locale="en">This site</template>
  <template data-i18n-for="ft-site" data-i18n-locale="de">Diese Seite</template>
  <template data-i18n-for="ft-about" data-i18n-locale="en">About</template>
  <template data-i18n-for="ft-about" data-i18n-locale="de">Über mich</template>
  <template data-i18n-for="ft-work" data-i18n-locale="en">Work</template>
  <template data-i18n-for="ft-work" data-i18n-locale="de">Arbeiten</template>
  <template data-i18n-for="ft-writing" data-i18n-locale="en">Writing</template>
  <template data-i18n-for="ft-writing" data-i18n-locale="de">Notizen</template>
  <template data-i18n-for="ft-resume" data-i18n-locale="en">Résumé</template>
  <template data-i18n-for="ft-resume" data-i18n-locale="de">Lebenslauf</template>
  <template data-i18n-for="ft-recent" data-i18n-locale="en">Recent projects</template>
  <template data-i18n-for="ft-recent" data-i18n-locale="de">Neue Projekte</template>
  <template data-i18n-for="ft-hello" data-i18n-locale="en">Say hello</template>
  <template data-i18n-for="ft-hello" data-i18n-locale="de">Sag hallo</template>
  <template data-i18n-for="ft-copy" data-i18n-locale="en"
    >© 2026 Mara Okafor · Made in Berlin, tested by keyboard</template
  >
  <template data-i18n-for="ft-copy" data-i18n-locale="de"
    >© 2026 Mara Okafor · Gemacht in Berlin, mit der Tastatur getestet</template
  >
</div>
<script type="module">
  // routing and translation: defuss-dom-router owns the address, defuss-i18n the language
  import { createRouter } from 'https://cdn.jsdelivr.net/npm/defuss-dom-router@0.1.1/dist/index.js';
  import { createDomI18n, createI18n } from 'https://cdn.jsdelivr.net/npm/defuss-i18n@0.2.0/dist/core.js';

  // df$ comes with the component bundle - a full-screen page loads it after this module
  addEventListener('DOMContentLoaded', async () => {
    // light or dark: the switch writes the page's dark class (every look has both palettes); it follows the class when
    // something else sets it (the docs card follows the site's mode)
    const siteMode = df$('#site-resume [data-site-mode]');
    const syncMode = () => siteMode.prop('checked', document.documentElement.classList.contains('dark'));
    siteMode.on('change', () => {
      document.documentElement.classList.toggle('dark', siteMode.prop('checked'));
      document.dispatchEvent(new CustomEvent('defuss-theme-change'));
    });
    new MutationObserver(syncMode).observe(document.documentElement, { attributes: true, attributeFilter: ['class'] });
    syncMode();

    const site = df$('#site-resume').get(0);
    const PROJECTS = JSON.parse(df$('#resume-projects').text());
    const ORDER = Object.keys(PROJECTS);
    // the page's "now": the current role counts up to it
    const NOW = '2026-11';
    const SPANS = { durNw: ['2023-04', NOW], durGx: ['2018-02', '2023-03'], durSk: ['2015-05', '2018-01'] };

    // -- translation: the markup is the catalog (the templates at the end of the page)
    const locale = createI18n({
      locale: 'en', // the demos start in English; the language select offers German
    });
    // how long a role lasted, both months counted - Intl.DurationFormat, else the units one by one
    const duration = (from, to) => {
      const [fy, fm] = from.split('-').map(Number);
      const [ty, tm] = to.split('-').map(Number);
      const total = (ty - fy) * 12 + (tm - fm) + 1;
      const span = { years: Math.floor(total / 12), months: total % 12 };
      if (Intl.DurationFormat) return new Intl.DurationFormat(locale.locale, { style: 'short' }).format(span);
      return Object.entries({ year: span.years, month: span.months })
        .filter(([, n]) => n)
        .map(([unit, n]) => locale.formatNumber(n, { style: 'unit', unit, unitDisplay: 'short' }))
        .join(' ');
    };
    createDomI18n(df$).bind(site, locale, {
      values: () => ({
        ...Object.fromEntries(Object.entries(SPANS).map(([key, [from, to]]) => [key, duration(from, to)])),
        start: locale.formatDate(Date.UTC(2026, 11, 1), { dateStyle: 'long', timeZone: 'UTC' }),
        rate: locale.formatNumber(950, { style: 'currency', currency: 'EUR', maximumFractionDigits: 0 }),
      }),
    });
    // the Language Switcher sets the locale on a pick and follows it when something else sets it
    df$.shadcn.languageSwitcher.bind(df$('[data-app-locale]').get(0), locale);

    // -- the look: one of the site's designs. An element with data-look-set takes that look's attributes (a shader's
    // effect, colors or contrast); a shader reads its colors again on defuss-theme-change
    const lookRoot = df$('#site-resume').get(0);
    const look = df$('#site-resume [data-site-look]');
    const applyLook = (name) => {
      lookRoot.dataset.look = name;
      df$('#site-resume [data-look-set]').each((_i, el) => {
        const sets = JSON.parse(el.dataset.lookSet);
        for (const [attr, value] of Object.entries({ ...sets.default, ...sets[name] })) el.setAttribute(attr, value);
      });
      document.dispatchEvent(new CustomEvent('defuss-theme-change'));
    };
    look.val(lookRoot.dataset.look).on('change', () => applyLook(look.val()));

    // -- print: a docs preview is a sandboxed frame without allow-modals - only a page of its own prints
    if (globalThis.top !== globalThis.self) df$('[data-resume-print-slot]').prop('hidden', true);
    df$('[data-resume-print]').on('click', () => globalThis.print());

    // -- the notes: the lists (About, Writing) and a note's page from one data block, in the language shown, written
    // as text
    const NOTES = JSON.parse(df$('#resume-posts').text());
    const POSTS = Object.keys(NOTES.posts);
    const noteText = (post) => post[locale.locale] ?? post.en;
    const noteDate = (iso) => locale.formatDate(Date.parse(iso), { dateStyle: 'long', timeZone: 'UTC' });
    const noteMinutes = (n) => n + ' ' + (NOTES.words[locale.locale] ?? NOTES.words.en).read;
    const drawLists = () =>
      df$('#site-resume [data-resume-posts]').each((_i, list) => {
        const count = list.dataset.resumePosts === 'all' ? POSTS.length : Number(list.dataset.resumePosts);
        df$(list).html('');
        for (const slug of POSTS.slice(0, count)) {
          const post = NOTES.posts[slug];
          const text = noteText(post);
          const item = df$(df$('template[data-resume-post-item]').get(0).content.firstElementChild.cloneNode(true));
          item.find('[data-post-topic]').text(text.topic);
          item.find('[data-post-minutes]').text(noteMinutes(post.minutes));
          item
            .find('[data-post-link]')
            .attr('href', '#/writing/' + slug)
            .text(text.title);
          item.find('[data-post-dek]').text(text.dek);
          item.find('[data-post-date]').attr('datetime', post.date).text(noteDate(post.date));
          df$(list).append(item);
        }
      });
    let openNote = null;
    const drawNote = (slug) => {
      openNote = slug;
      const post = NOTES.posts[slug];
      const text = noteText(post);
      const page = df$('#site-resume [data-resume-view="post"]');
      page.find('[data-post-field]').each((_i, field) => {
        df$(field).text(text[field.dataset.postField]);
      });
      page.find('[data-post-date]').attr('datetime', post.date).text(noteDate(post.date));
      page.find('[data-post-minutes]').text(noteMinutes(post.minutes));
      const body = page.find('[data-post-body]').html('');
      for (const line of text.body) {
        body.append(line.startsWith('## ') ? df$('<h2></h2>').text(line.slice(3)) : df$('<p></p>').text(line));
      }
      // the project the note comes from
      const project = PROJECTS[post.project];
      page
        .find('[data-post-project-image]')
        .attr('src', 'images/photos/s-' + project.seed + '-480x320.webp')
        .attr('alt', project.alt);
      page.find('[data-post-project-kind]').text(project.client + ' · ' + project.year);
      page
        .find('[data-post-project-link]')
        .attr('href', '#/work/' + post.project)
        .text(project.title);
      page.find('[data-post-project-summary]').text(project.summary);
      // the newer and the older note
      const at = POSTS.indexOf(slug);
      page.find('[data-post-near]').each((_i, link) => {
        const near = POSTS[at + (link.dataset.postNear === 'prev' ? -1 : 1)];
        df$(link).prop('hidden', !near);
        if (near) {
          df$(link).attr('href', '#/writing/' + near);
          df$(link).find('[data-post-near-title]').text(noteText(NOTES.posts[near]).title);
        }
      });
    };
    drawLists();
    // a language change writes the lists and the open note again
    locale.subscribe(() => {
      drawLists();
      if (openNote) drawNote(openNote);
    });

    // -- routing
    const routes = [
      { id: 'about', path: '/' },
      { id: 'work', path: '/work' },
      { id: 'project', path: '/work/:project' },
      { id: 'writing', path: '/writing' },
      { id: 'post', path: '/writing/:post' },
      { id: 'resume', path: '/resume' },
      { id: 'missing', path: '*' },
    ];
    const mark = (links, href) =>
      df$(links).each((_i, link) => {
        if (link.getAttribute('href') === href) link.setAttribute('aria-current', 'page');
        else link.removeAttribute('aria-current');
      });
    // prepare: the project page built from the data block; commit: one view shown, the navs marked
    const view = (to) => {
      const slug = to.routeId === 'project' && PROJECTS[to.params.project] ? to.params.project : null;
      const note = to.routeId === 'post' && NOTES.posts[to.params.post] ? to.params.post : null;
      const name =
        to.routeId === 'missing'
          ? 'about'
          : to.routeId === 'project' && !slug
            ? 'work'
            : to.routeId === 'post' && !note
              ? 'writing'
              : to.routeId;
      const discipline = name === 'work' ? new URLSearchParams(to.search).get('discipline') : null;
      const project = slug && PROJECTS[slug];
      const next = slug && ORDER[(ORDER.indexOf(slug) + 1) % ORDER.length];
      // the nav link of the view's section
      const section = { about: '#/', resume: '#/resume', writing: '#/writing', post: '#/writing' }[name] ?? '#/work';
      return {
        commit() {
          openNote = null;
          if (note) drawNote(note);
          if (project) {
            const page = df$('#site-resume .mk-project-details');
            page.find('[data-project-field]').each((_i, field) => {
              df$(field).text(project[field.dataset.projectField]);
            });
            page
              .find('[data-project-cover]')
              .attr('src', 'images/photos/s-' + project.seed + '-1600x800.webp')
              .attr('alt', project.alt);
            page.find('[data-project-shot]').each((i, shot) => {
              const [w, h] = i === 0 ? [1200, 600] : [600, 600];
              df$(shot).attr('src', 'images/photos/s-' + project.seed + '-' + (i + 1) + '-' + w + 'x' + h + '.webp');
            });
            const list = page.find('[data-project-deliverables]').html('');
            for (const [what, kind] of project.deliverables) {
              list.append(
                df$('<li></li>')
                  .text(what + ' ')
                  .append(df$('<span></span>').text(kind)),
              );
            }
            page.find('[data-project-next-link]').attr('href', '#/work/' + next);
            page.find('[data-project-next]').text(PROJECTS[next].title);
          }
          df$('#site-resume [data-resume-view]').each((_i, part) => {
            part.hidden = part.dataset.resumeView !== name;
          });
          df$('#site-resume [data-discipline]').each((_i, item) => {
            item.hidden = !!discipline && item.dataset.discipline !== discipline;
          });
          mark('[data-resume-nav] [data-router-link]', section);
          mark('[data-resume-filter] [data-router-link]', discipline ? '#/work?discipline=' + discipline : '#/work');
        },
      };
    };
    const show = (to) => view(to).commit();
    // a new page opens at its start, the way a page load would - the first view stays where the reader is
    let shownPath = null;
    const showAt = (to) => {
      show(to);
      if (shownPath !== null && shownPath !== to.path)
        df$('#site-resume [data-resume-view]:not([hidden])')
          .get(0)
          ?.scrollIntoView({ block: 'start', behavior: 'instant' });
      shownPath = to.path;
    };
    const router = createRouter({ mode: 'hash', routes, prepare: ({ to }) => ({ commit: () => showAt(to) }) });
    router.attachLinks(site);
    if ((await router.start()).status === 'rejected') {
      // no address the router may own - a docs preview is an about:srcdoc frame: the same routes match its hash
      const preview = createRouter({ mode: 'hash', routes, baseUrl: 'https://preview.invalid/' });
      const follow = () => showAt(preview.resolve(location.hash.startsWith('#/') ? location.hash : '#/'));
      addEventListener('hashchange', follow);
      follow();
    }
  });
</script>
```

<h2 id="blocks" class="h2-display">The blocks</h2>

<div class="grid gap-4 mb-8" style="grid-template-columns:repeat(auto-fill,minmax(16rem,1fr))">
  <a class="card" data-size="sm" href="resume-header.html" style="text-decoration:none;color:inherit">
    <div class="card-header">
      <h3 class="card-title card-title-sm">Resume Header</h3>
      <p class="card-description">Opens a personal site or a CV - the portrait, the name, the role, a summary, the facts, the actions and the profiles elsewhere.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="availability.html" style="text-decoration:none;color:inherit">
    <div class="card-header">
      <h3 class="card-title card-title-sm">Availability</h3>
      <p class="card-description">Says whether someone can be hired and on what terms - a card or a banner across the page.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="resume-entry.html" style="text-decoration:none;color:inherit">
    <div class="card-header">
      <h3 class="card-title card-title-sm">Resume Entry</h3>
      <p class="card-description">One line of a CV - a position, a degree, a talk; a promotion path, a timeline, or the dates in a column.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="skill-matrix.html" style="text-decoration:none;color:inherit">
    <div class="card-header">
      <h3 class="card-title card-title-sm">Skill Matrix</h3>
      <p class="card-description">Skills in groups, each level a native meter - as bars, as five dots, or as tags without levels.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="repository-item.html" style="text-decoration:none;color:inherit">
    <div class="card-header">
      <h3 class="card-title card-title-sm">Repository Item</h3>
      <p class="card-description">One open-source project - name, description, topics, language, stars, forks and licence.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="portfolio-grid.html" style="text-decoration:none;color:inherit">
    <div class="card-header">
      <h3 class="card-title card-title-sm">Portfolio Grid</h3>
      <p class="card-description">The work arranged with character - bento mosaic, masonry, scattered polaroids, a film strip, an editorial index.</p>
    </div>
  </a>
</div>

<h2 id="styles" class="h2-display">Portfolio styles</h2>

<DocText>The same blocks in ten personalities - each a one-page site with its own palette and typefaces set on its root and its own full-screen page, composed with the shape utilities (<DocLink href="shapes.html">Shapes</DocLink>), <DocLink href="motion.html">Motion</DocLink> entrances, <DocLink href="parallax.html">Parallax</DocLink> reveals, <DocLink href="text-rotate.html">Text Rotate</DocLink>, <DocLink href="typewriter.html">Typewriter</DocLink> and the page's own CSS.</DocText>

<div class="grid gap-4 mb-8" style="grid-template-columns:repeat(auto-fill,minmax(16rem,1fr))">
  <a class="card" data-size="sm" href="portfolio-editorial.html" style="text-decoration:none;color:inherit;overflow:hidden;padding-block-start:0">
    <div aria-hidden="true" style="height:0.75rem;background:linear-gradient(90deg, oklch(0.972 0.012 80) 0% 25%, oklch(0.23 0.02 45) 25% 50%, oklch(0.52 0.14 38) 50% 75%, oklch(0.85 0.02 70) 75% 100%)"></div>
    <div class="card-header">
      <h3 class="card-title card-title-sm">Editorial</h3>
      <p class="card-description">Warm paper, a masthead, serif italics, an arched portrait, a pull quote and a feature with a drop cap.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="portfolio-playful.html" style="text-decoration:none;color:inherit;overflow:hidden;padding-block-start:0">
    <div aria-hidden="true" style="height:0.75rem;background:linear-gradient(90deg, oklch(0.93 0.05 350) 0% 25%, oklch(0.5 0.22 266) 25% 50%, oklch(0.88 0.16 92) 50% 75%, oklch(0.8 0.13 165) 75% 100%)"></div>
    <div class="card-header">
      <h3 class="card-title card-title-sm">Playful</h3>
      <p class="card-description">Candy colours, wobbling blobs, a flower portrait with a spinning sticker, polaroids and a shelf of shape stickers.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="portfolio-developer.html" style="text-decoration:none;color:inherit;overflow:hidden;padding-block-start:0">
    <div aria-hidden="true" style="height:0.75rem;background:linear-gradient(90deg, oklch(0.16 0.012 250) 0% 25%, oklch(0.235 0.016 250) 25% 50%, oklch(0.82 0.17 152) 50% 75%, oklch(0.78 0.13 220) 75% 100%)"></div>
    <div class="card-header">
      <h3 class="card-title card-title-sm">Developer</h3>
      <p class="card-description">A terminal over matrix rain: a status line, a shell that types, a hexagon avatar, pinned repositories, a sparkline and a git-log career.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="portfolio-bento.html" style="text-decoration:none;color:inherit;overflow:hidden;padding-block-start:0">
    <div aria-hidden="true" style="height:0.75rem;background:linear-gradient(90deg, oklch(0.955 0.004 260) 0% 25%, oklch(1 0 0) 25% 50%, oklch(0.66 0.19 42) 50% 75%, oklch(0.2 0.01 260) 75% 100%)"></div>
    <div class="card-header">
      <h3 class="card-title card-title-sm">Bento</h3>
      <p class="card-description">The whole profile on one screen - tiles in named areas that rearrange for tablets and phones.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="portfolio-brutalist.html" style="text-decoration:none;color:inherit;overflow:hidden;padding-block-start:0">
    <div aria-hidden="true" style="height:0.75rem;background:linear-gradient(90deg, oklch(0.94 0.2 118) 0% 25%, oklch(0.13 0 0) 25% 50%, oklch(0.7 0.24 340) 50% 75%, oklch(0.99 0 0) 75% 100%)"></div>
    <div class="card-header">
      <h3 class="card-title card-title-sm">Brutalist</h3>
      <p class="card-description">Acid yellow, black rules, a name that fills the screen, thick frames, hard shadows and a rate card.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="portfolio-photographer.html" style="text-decoration:none;color:inherit;overflow:hidden;padding-block-start:0">
    <div aria-hidden="true" style="height:0.75rem;background:linear-gradient(90deg, oklch(0.12 0 0) 0% 25%, oklch(0.2 0 0) 25% 50%, oklch(0.68 0 0) 50% 75%, oklch(0.95 0 0) 75% 100%)"></div>
    <div class="card-header">
      <h3 class="card-title card-title-sm">Photographer</h3>
      <p class="card-description">A gallery-black wall: a parallax opening, an iris portrait, masonry that zooms in and a before and after of the edit.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="portfolio-swiss.html" style="text-decoration:none;color:inherit;overflow:hidden;padding-block-start:0">
    <div aria-hidden="true" style="height:0.75rem;background:linear-gradient(90deg, oklch(1 0 0) 0% 25%, oklch(0.14 0 0) 25% 50%, oklch(0.6 0.235 28) 50% 75%, oklch(0.96 0 0) 75% 100%)"></div>
    <div class="card-header">
      <h3 class="card-title card-title-sm">Swiss</h3>
      <p class="card-description">A twelve-column grid, black, white and one red, a name set flush left across the page and numbered sections.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="portfolio-neon.html" style="text-decoration:none;color:inherit;overflow:hidden;padding-block-start:0">
    <div aria-hidden="true" style="height:0.75rem;background:linear-gradient(90deg, oklch(0.15 0.035 285) 0% 25%, oklch(0.85 0.13 200) 25% 50%, oklch(0.66 0.22 295) 50% 75%, oklch(0.72 0.22 335) 75% 100%)"></div>
    <div class="card-header">
      <h3 class="card-title card-title-sm">Neon</h3>
      <p class="card-description">A night palette, a drifting aurora behind glass cards, a gradient name, a release to play and the shows as numbers.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="portfolio-zine.html" style="text-decoration:none;color:inherit;overflow:hidden;padding-block-start:0">
    <div aria-hidden="true" style="height:0.75rem;background:linear-gradient(90deg, oklch(0.95 0.022 85) 0% 25%, oklch(0.2 0.02 40) 25% 50%, oklch(0.6 0.22 30) 50% 75%, oklch(0.92 0.17 102) 75% 100%)"></div>
    <div class="card-header">
      <h3 class="card-title card-title-sm">Zine</h3>
      <p class="card-description">Grainy paper, a name in cut-out letters, a taped polaroid with a stamp, torn edges and fair tickets.</p>
    </div>
  </a>
  <a class="card" data-size="sm" href="portfolio-minimal.html" style="text-decoration:none;color:inherit;overflow:hidden;padding-block-start:0">
    <div aria-hidden="true" style="height:0.75rem;background:linear-gradient(90deg, oklch(0.975 0.01 85) 0% 25%, oklch(0.94 0.014 85) 25% 50%, oklch(0.52 0.16 32) 50% 75%, oklch(0.22 0.02 60) 75% 100%)"></div>
    <div class="card-header">
      <h3 class="card-title card-title-sm">Minimal</h3>
      <p class="card-description">Mostly words, set like a printed page: a drop cap, outline figures, accent underlines and ruled paper drifting behind.</p>
    </div>
  </a>
</div>

<DocText>The template also uses blocks from other sections: <DocLink href="project-item.html">Project Item</DocLink> and <DocLink href="project-details.html">Project Details</DocLink> (Company) for the work, <DocLink href="section-header.html">Section Header</DocLink> (Landing Page) above each part.</DocText>

</DocPage>
