---
title: "Brutalist Portfolio"
description: "A portfolio that shouts - acid yellow, black rules, a name in capitals as big as the screen, a tilted portrait with a hard shadow, a spinning sticker, work in thick frames that opens a page each, a process in numbered boxes, a rate card, a CV that prints and a cut-corner call to action."
slug: "portfolio-brutalist"
---

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

<DocPage meta={meta}>

<PageHeader slug="portfolio-brutalist" title="Brutalist Portfolio" introStyle="max-width:42rem;">
  A portfolio that shouts - acid yellow, black rules, a name in capitals as big as the screen, a tilted portrait with a hard shadow, a spinning sticker, work in thick frames that opens a page each, a process in numbered boxes, a rate card, a CV that prints and a cut-corner call to action. One of the <DocLink href="website-resume-portfolio.html">Resume &amp; Portfolio</DocLink> styles.
</PageHeader>

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

```html example label="Knut Berg, creative developer" schema="none" hint="Acid yellow, black, no radius and Archivo Black + Space Mono on the page's root (inverted in dark mode); a Site Header under a thick rule; News Ticker (inverse); Resume Header (poster) with a frame-thick, shadow-retro portrait and a shape-burst sticker; Portfolio Grid (strip) in frame-thick + shadow-hard - each piece opens its page (#/work/synth-in-a-tab: Project Details from a data block, with previous and next); Process Step (horizontal); a rate card; Skill Matrix (dots); Availability (spotlight) with cut-corners; a CV route that prints (#/cv); a Site Footer (dark) closing on the name. Motion flips, skews and slides things in." previewStyle="align-items:stretch;padding:0;"
<style>
  @import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Mono:wght@400;700&display=swap');
  #pf-brutalist {
    --background: oklch(0.94 0.2 118);
    --foreground: oklch(0.13 0 0);
    --card: oklch(0.99 0 0);
    --card-foreground: var(--foreground);
    --muted: oklch(0.9 0.18 118);
    --muted-foreground: oklch(0.3 0 0);
    --border: var(--foreground);
    --input: var(--foreground);
    --primary: var(--foreground);
    --primary-foreground: var(--background);
    --secondary: var(--card);
    --secondary-foreground: var(--foreground);
    --accent: oklch(0.7 0.24 340);
    --accent-foreground: var(--card);
    --ring: oklch(0.7 0.24 340);
    --radius: 0px;
    --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);
    --font-sans: 'Space Mono', ui-monospace, monospace;
    --font-mono: 'Space Mono', ui-monospace, monospace;
    --shape-ink: var(--foreground);
    container: pf-brutalist / inline-size;
    box-sizing: border-box;
    width: 100%;
    overflow: clip;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
  }
  .dark #pf-brutalist {
    --background: oklch(0.13 0 0);
    --foreground: oklch(0.94 0.2 118);
    --card: oklch(0.19 0 0);
    --muted: oklch(0.22 0.03 118);
    --muted-foreground: oklch(0.85 0.12 118);
  }
  /* one view at a time: the home view, a project or the CV */
  #pf-brutalist [hidden] {
    display: none !important;
  }
  #pf-brutalist .pf-page {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 7vw, 5rem);
    max-width: 76rem;
    margin-inline: auto;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 2.5rem) 3rem;
  }
  #pf-brutalist .pf-display,
  #pf-brutalist .mk-resume-header-name,
  #pf-brutalist .mk-availability-title,
  #pf-brutalist .mk-process-step-title {
    font-family: 'Archivo Black', var(--font-sans);
    font-weight: 400;
    letter-spacing: -0.02em;
  }
  /* the header: the Site Header on the yellow, under a thick rule */
  #pf-brutalist .pf-bar {
    border-block-end: 3px solid var(--foreground);
    background: var(--background);
  }
  #pf-brutalist .pf-bar .mk-header-inner {
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    max-width: 76rem;
    padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  }
  #pf-brutalist .mk-header-brand {
    color: var(--foreground);
  }
  #pf-brutalist .mk-header-name {
    color: inherit;
    font-family: 'Archivo Black', var(--font-sans);
    font-size: 1.375rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: uppercase;
  }
  #pf-brutalist .mk-header-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    margin-inline-end: auto;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
  }
  #pf-brutalist .mk-header-nav a {
    padding-block: 0.15rem;
    border-block-end: 3px solid transparent;
    color: inherit;
    text-decoration: none;
  }
  #pf-brutalist .mk-header-nav a:is(:hover, :focus-visible, [aria-current]) {
    border-color: currentColor;
  }
  #pf-brutalist .mk-header-actions {
    gap: 1rem;
  }
  @container pf-brutalist (max-width: 40rem) {
    #pf-brutalist .mk-header-nav {
      order: 3;
      width: 100%;
    }
  }
  #pf-brutalist .mk-news-ticker {
    border-block-end: 3px solid var(--foreground);
  }
  #pf-brutalist .mk-news-ticker-label {
    background: var(--accent);
    color: var(--accent-foreground);
  }
  #pf-brutalist .mk-portfolio-grid-caption {
    padding: 0.75rem 0.85rem 0.9rem;
  }
  #pf-brutalist .mk-resume-header {
    position: relative;
  }
  #pf-brutalist .mk-resume-header-name {
    line-height: 0.82;
  }
  #pf-brutalist .mk-resume-header-photo {
    filter: grayscale(1) contrast(1.35);
    --shape-ink: var(--accent);
  }
  #pf-brutalist .pf-sticker {
    position: absolute;
    inset-block-end: -4rem;
    inset-inline-end: -1rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 16rem;
    aspect-ratio: 1;
    background: var(--accent);
    color: var(--accent-foreground);
    font-family: 'Archivo Black', var(--font-sans);
    font-size: 2rem;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    animation: pf-brutalist-spin 12s linear infinite;
  }
  @keyframes pf-brutalist-spin {
    to {
      rotate: 360deg;
    }
  }
  #pf-brutalist .btn {
    border: 3px solid var(--foreground);
    box-shadow: 4px 4px 0 var(--foreground);
    font-weight: 700;
    text-transform: uppercase;
    transition:
      translate 0.1s,
      box-shadow 0.1s;
  }
  #pf-brutalist .btn:is(:hover, :focus-visible) {
    translate: 2px 2px;
    box-shadow: 2px 2px 0 var(--foreground);
  }
  #pf-brutalist .mk-resume-header-actions {
    gap: 1.25rem 1.5rem;
    margin-block-start: 1rem;
  }
  #pf-brutalist .mk-resume-header-actions .btn {
    height: 3rem;
    padding-inline: 1.5rem;
    font-size: 0.9375rem;
  }
  #pf-brutalist .pf-h2 {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 0 0 1.5rem;
    padding-block-end: 0.5rem;
    border-block-end: 3px solid var(--foreground);
    font-family: 'Archivo Black', var(--font-sans);
    font-size: clamp(2.25rem, 1rem + 5cqi, 4.5rem);
    font-weight: 400;
    line-height: 0.95;
    text-transform: uppercase;
  }
  #pf-brutalist .pf-h2 span {
    font-family: var(--font-mono);
    font-size: 1rem;
  }
  #pf-brutalist .mk-portfolio-grid-link {
    background: var(--card);
  }
  #pf-brutalist .mk-portfolio-grid-media {
    filter: grayscale(1) contrast(1.2);
    transition: filter 0.2s;
  }
  #pf-brutalist .mk-portfolio-grid-link:is(:hover, :focus-visible) .mk-portfolio-grid-media {
    filter: none;
  }
  #pf-brutalist .mk-portfolio-grid-title {
    text-transform: uppercase;
  }
  #pf-brutalist .mk-process-steps {
    gap: 1.5rem;
  }
  #pf-brutalist .mk-process-step {
    padding: 1.25rem;
    border: 3px solid var(--foreground);
    background: var(--card);
    box-shadow: 6px 6px 0 var(--foreground);
  }
  #pf-brutalist .mk-process-step::before {
    display: none;
  }
  #pf-brutalist .mk-process-step-number {
    font-family: 'Archivo Black', var(--font-sans);
    color: var(--pf-pink);
  }
  #pf-brutalist .pf-rates {
    width: 100%;
    border-collapse: collapse;
    border: 3px solid var(--foreground);
    background: var(--card);
    font-size: 1rem;
  }
  #pf-brutalist .pf-rates :is(th, td) {
    padding: 0.85rem 1rem;
    border-block-end: 3px solid var(--foreground);
    text-align: start;
  }
  #pf-brutalist .pf-rates td:last-child {
    font-family: 'Archivo Black', var(--font-sans);
    font-size: 1.5rem;
    text-align: end;
  }
  #pf-brutalist .pf-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    gap: 2.5rem 3rem;
    align-items: start;
  }
  #pf-brutalist .mk-availability[data-variant='spotlight'] {
    --shape-cut: 2.5rem;
    border: 0;
  }
  /* a project: the Project Details block in thick frames, a number as big as the title */
  #pf-brutalist .pf-back {
    align-self: flex-start;
    margin-block-end: -1.5rem;
    color: inherit;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-block-end: 3px solid currentColor;
  }
  #pf-brutalist .pf-back svg {
    width: 1rem;
    height: 1rem;
    vertical-align: -0.15em;
  }
  #pf-brutalist .pf-kicker {
    justify-self: start;
    margin: 0;
    padding: 0.2rem 0.6rem;
    background: var(--foreground);
    color: var(--background);
    font-weight: 700;
    text-transform: uppercase;
  }
  #pf-brutalist .mk-project-details-title {
    font-family: 'Archivo Black', var(--font-sans);
    font-size: clamp(2.5rem, 1rem + 7cqi, 6rem);
    font-weight: 400;
    line-height: 0.9;
    text-transform: uppercase;
    overflow-wrap: anywhere;
  }
  #pf-brutalist .mk-project-details-summary {
    color: inherit;
    font-size: 1.125rem;
  }
  #pf-brutalist .mk-project-details-cover,
  #pf-brutalist .pf-shots figure {
    border: 4px solid var(--foreground);
    box-shadow: 8px 8px 0 var(--foreground);
  }
  #pf-brutalist .mk-project-details-cover img,
  #pf-brutalist .pf-shots img {
    filter: grayscale(1) contrast(1.2);
  }
  #pf-brutalist .mk-project-details-facts {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
    border-block: 3px solid var(--foreground);
  }
  #pf-brutalist .mk-project-details-facts dt {
    color: inherit;
    font-weight: 700;
  }
  #pf-brutalist :is(.mk-project-details-brief, .pf-result) h2 {
    margin: 0 0 0.75rem;
    font-family: 'Archivo Black', var(--font-sans);
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
  }
  #pf-brutalist :is(.mk-project-details-brief, .pf-result) p {
    margin: 0;
    color: inherit;
    line-height: 1.7;
  }
  #pf-brutalist .pf-result {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    gap: 0.5rem 2rem;
    align-items: end;
    padding: 1.5rem;
    background: var(--foreground);
    color: var(--background);
  }
  #pf-brutalist .pf-result h2 {
    grid-column: 1 / -1;
  }
  #pf-brutalist .pf-result .pf-big {
    font-family: 'Archivo Black', var(--font-sans);
    font-size: clamp(3rem, 2rem + 6cqi, 6rem);
    line-height: 0.85;
  }
  #pf-brutalist .pf-result .pf-big small {
    display: block;
    margin-block-start: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.3;
    text-transform: uppercase;
  }
  @container pf-brutalist (max-width: 40rem) {
    #pf-brutalist .pf-result {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  #pf-brutalist .pf-shots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 2rem;
  }
  #pf-brutalist .pf-shots figure {
    margin: 0;
    background: var(--card);
  }
  #pf-brutalist .pf-shots img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  #pf-brutalist .pf-shots figcaption {
    padding: 0.6rem 0.8rem;
    border-block-start: 3px solid var(--foreground);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
  }
  #pf-brutalist .mk-article-nav-link {
    border: 3px solid var(--foreground);
    background: var(--card);
    box-shadow: 6px 6px 0 var(--foreground);
  }
  #pf-brutalist .mk-article-nav-link:hover {
    background: var(--accent);
    color: var(--accent-foreground);
  }
  #pf-brutalist .mk-article-nav-dir {
    color: inherit;
    font-weight: 700;
    text-transform: uppercase;
  }
  #pf-brutalist .mk-article-nav-title {
    font-family: 'Archivo Black', var(--font-sans);
    font-weight: 400;
    text-transform: uppercase;
  }
  /* the CV: rows under thick rules; it prints */
  #pf-brutalist .pf-cv-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem 2rem;
  }
  #pf-brutalist .pf-cv-head h1 {
    margin: 0;
    font-family: 'Archivo Black', var(--font-sans);
    font-size: clamp(3rem, 1.5rem + 8cqi, 7rem);
    font-weight: 400;
    line-height: 0.85;
    text-transform: uppercase;
  }
  #pf-brutalist .pf-cv-head p {
    margin: 0.75rem 0 0;
    font-weight: 700;
  }
  #pf-brutalist .pf-cv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  #pf-brutalist .pf-cv-rows {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #pf-brutalist .pf-cv-rows li {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr) auto;
    gap: 0.25rem 1.5rem;
    padding-block: 0.85rem;
    border-block-end: 3px solid var(--foreground);
  }
  #pf-brutalist .pf-cv-rows strong {
    font-family: 'Archivo Black', var(--font-sans);
    font-weight: 400;
    text-transform: uppercase;
  }
  #pf-brutalist .pf-cv-rows a {
    color: inherit;
  }
  @container pf-brutalist (max-width: 40rem) {
    #pf-brutalist .pf-cv-rows li {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  /* the footer: the Site Footer inverted, closing on the name */
  #pf-brutalist .mk-footer {
    border-block-start: 3px solid var(--foreground);
  }
  #pf-brutalist .mk-footer-inner {
    max-width: 76rem;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
  }
  #pf-brutalist .mk-footer-nav {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  }
  #pf-brutalist .mk-footer[data-variant='dark'] .mk-footer-heading {
    color: inherit;
    font-family: 'Archivo Black', var(--font-sans);
    font-size: 1rem;
    text-transform: uppercase;
  }
  #pf-brutalist .mk-footer-list {
    gap: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
  }
  #pf-brutalist .mk-footer-wordmark {
    color: inherit;
    font-family: 'Archivo Black', var(--font-sans);
    font-size: min(11cqi, 9.5rem);
    font-weight: 400;
    text-transform: uppercase;
  }
  #pf-brutalist .mk-footer-brand-name {
    font-weight: 700;
    text-transform: uppercase;
  }
  @container pf-brutalist (max-width: 40rem) {
    #pf-brutalist .pf-sticker {
      inset: 0 auto auto 0;
      width: 9rem;
      font-size: 1.25rem;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    #pf-brutalist .pf-sticker {
      animation: none;
    }
    #pf-brutalist .btn,
    #pf-brutalist .mk-portfolio-grid-media {
      transition: none;
    }
  }
  /* printed, the CV is the page */
  @media print {
    #pf-brutalist :is(.mk-header, .mk-footer, .pf-cv-actions) {
      display: none;
    }
  }
  /* light or dark: the Swap writes the page's dark class - every look has a light and a dark palette */
  #pf-brutalist .site-mode {
    flex: none;
    border: 1px solid var(--input);
    border-radius: var(--radius-md);
    background: var(--background);
    color: var(--foreground);
  }
  #pf-brutalist .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) #pf-brutalist {
    --accent: oklch(0.895 0.045 340);
    --accent-foreground: oklch(0.13 0 0);
  }
  .dark #pf-brutalist {
    --accent: oklch(0.24 0.05 340);
    --accent-foreground: oklch(0.94 0.2 118);
  }
  /* -- modes: end -- */
  /* the pink for text on the cards (--accent is the hover surface, a tint too faint for text) */
  :root:not(.dark) #pf-brutalist {
    --pf-pink: oklch(0.58 0.24 340);
  }
  .dark #pf-brutalist {
    --pf-pink: oklch(0.74 0.2 340);
  }
</style>
<div id="pf-brutalist">
  <header class="mk-header pf-bar">
    <div class="mk-header-inner">
      <a class="mk-header-brand" href="#/" data-router-link><span class="mk-header-name">Knut Berg</span></a>
      <nav class="mk-header-nav" aria-label="Sections">
        <a href="#pf-br-work">Work</a>
        <a href="#pf-br-how">How</a>
        <a href="#pf-br-rates">Rates</a>
        <a href="#/cv" data-router-link>CV</a>
      </nav>
      <div class="mk-header-actions">
        <a class="btn" data-size="sm" href="#pf-br-hire">Hire me</a>
        <label class="swap site-mode" data-variant="rotate" data-size="sm">
          <input type="checkbox" data-site-mode aria-label="Dark mode" />
          <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>
    </div>
  </header>

  <!-- the home view: the whole portfolio -->
  <div data-pf-view="home">
    <section class="mk-news-ticker" data-variant="inverse" aria-label="News">
      <span class="mk-news-ticker-label">Now</span>
      <div class="mk-news-ticker-viewport">
        <div class="mk-news-ticker-track">
          <ul class="mk-news-ticker-items">
            <li><a href="mailto:knut@example.com">Available for work</a></li>
            <li><a href="#pf-br-work">Creative developer</a></li>
            <li><a href="#pf-br-skills">WebGL · Canvas · CSS</a></li>
            <li><a href="#/cv" data-router-link>Bergen, Norway</a></li>
            <li><a href="mailto:knut@example.com">Say hei</a></li>
          </ul>
          <ul class="mk-news-ticker-items" aria-hidden="true" inert>
            <li><a href="mailto:knut@example.com">Available for work</a></li>
            <li><a href="#pf-br-work">Creative developer</a></li>
            <li><a href="#pf-br-skills">WebGL · Canvas · CSS</a></li>
            <li><a href="#/cv" data-router-link>Bergen, Norway</a></li>
            <li><a href="mailto:knut@example.com">Say hei</a></li>
          </ul>
        </div>
      </div>
    </section>
    <div class="pf-page">
      <header class="mk-resume-header" data-variant="poster">
        <img
          class="mk-resume-header-photo frame-thick shadow-retro rounded-none"
          src="images/photos/91-700x700.webp"
          alt="Knut Berg"
          data-df-entrance="flip"
        />
        <div class="mk-resume-header-body">
          <h1 class="mk-resume-header-name" data-df-entrance="left">Knut<br />Berg</h1>
          <p class="mk-resume-header-role" data-df-entrance="skew" style="--df-motion-delay: 200ms"
            >Creative developer - sites that move</p
          >
          <p class="mk-resume-header-summary" data-df-entrance="up" style="--df-motion-delay: 300ms"
            >Ten years of WebGL, scroll stories and type that does things. No templates. No carousels. No regrets.</p
          >
          <div class="mk-resume-header-actions" data-df-entrance="up" style="--df-motion-delay: 400ms">
            <a class="btn" href="mailto:knut@example.com">knut@example.com</a>
            <a class="btn" data-variant="secondary" href="#/cv" data-router-link>Read the CV</a>
          </div>
        </div>
        <span class="pf-sticker shape-burst" aria-hidden="true">Hire<br />me!</span>
      </header>
      <section aria-labelledby="pf-br-work">
        <h2 class="pf-h2" id="pf-br-work">Work <span>(04)</span></h2>
        <ul class="mk-portfolio-grid" data-variant="strip">
          <li class="mk-portfolio-grid-item">
            <a
              class="mk-portfolio-grid-link frame-thick shadow-hard"
              href="#/work/northern-lights-live"
              data-router-link
            >
              <img class="mk-portfolio-grid-media" src="images/photos/1079-640x800.webp" alt="" />
              <span class="mk-portfolio-grid-caption">
                <strong class="mk-portfolio-grid-title">Northern Lights Live</strong>
                <span class="mk-portfolio-grid-meta">WebGL · 2026</span>
              </span>
            </a>
          </li>
          <li class="mk-portfolio-grid-item">
            <a
              class="mk-portfolio-grid-link frame-thick shadow-hard"
              href="#/work/fjord-typeface-site"
              data-router-link
            >
              <img class="mk-portfolio-grid-media" src="images/photos/942-640x800.webp" alt="" />
              <span class="mk-portfolio-grid-caption">
                <strong class="mk-portfolio-grid-title">Fjord Typeface Site</strong>
                <span class="mk-portfolio-grid-meta">Variable fonts · 2025</span>
              </span>
            </a>
          </li>
          <li class="mk-portfolio-grid-item">
            <a class="mk-portfolio-grid-link frame-thick shadow-hard" href="#/work/synth-in-a-tab" data-router-link>
              <img class="mk-portfolio-grid-media" src="images/photos/145-640x800.webp" alt="" />
              <span class="mk-portfolio-grid-caption">
                <strong class="mk-portfolio-grid-title">Synth in a Tab</strong>
                <span class="mk-portfolio-grid-meta">Web Audio · 2024</span>
              </span>
            </a>
          </li>
          <li class="mk-portfolio-grid-item">
            <a class="mk-portfolio-grid-link frame-thick shadow-hard" href="#/work/metro-night-map" data-router-link>
              <img class="mk-portfolio-grid-media" src="images/photos/1033-640x800.webp" alt="" />
              <span class="mk-portfolio-grid-caption">
                <strong class="mk-portfolio-grid-title">Metro Night Map</strong>
                <span class="mk-portfolio-grid-meta">D3 · 2023</span>
              </span>
            </a>
          </li>
        </ul>
      </section>
      <section aria-labelledby="pf-br-how">
        <h2 class="pf-h2" id="pf-br-how">How <span>(04)</span></h2>
        <ol class="mk-process-steps" data-variant="horizontal">
          <li class="mk-process-step">
            <span class="mk-process-step-number" aria-hidden="true">01</span>
            <div class="mk-process-step-body">
              <h3 class="mk-process-step-title">Brief</h3>
              <p class="mk-process-step-desc">One call. What must people feel?</p>
            </div>
          </li>
          <li class="mk-process-step">
            <span class="mk-process-step-number" aria-hidden="true">02</span>
            <div class="mk-process-step-body">
              <h3 class="mk-process-step-title">Sketch</h3>
              <p class="mk-process-step-desc">Three wild prototypes in a week.</p>
            </div>
          </li>
          <li class="mk-process-step">
            <span class="mk-process-step-number" aria-hidden="true">03</span>
            <div class="mk-process-step-body">
              <h3 class="mk-process-step-title">Build</h3>
              <p class="mk-process-step-desc">Fast on old phones. Always.</p>
            </div>
          </li>
          <li class="mk-process-step">
            <span class="mk-process-step-number" aria-hidden="true">04</span>
            <div class="mk-process-step-body">
              <h3 class="mk-process-step-title">Ship</h3>
              <p class="mk-process-step-desc">Launch, then a month of fixes for free.</p>
            </div>
          </li>
        </ol>
      </section>
      <div class="pf-two">
        <section aria-labelledby="pf-br-rates">
          <h2 class="pf-h2" id="pf-br-rates">Rates</h2>
          <table class="pf-rates">
            <tbody>
              <tr>
                <th scope="row">Day</th>
                <td>€850</td>
              </tr>
              <tr>
                <th scope="row">Week</th>
                <td>€3,900</td>
              </tr>
              <tr>
                <th scope="row">Retainer</th>
                <td>Ask</td>
              </tr>
            </tbody>
          </table>
        </section>
        <section aria-labelledby="pf-br-skills">
          <h2 class="pf-h2" id="pf-br-skills">Can do</h2>
          <div class="mk-skill-matrix" data-variant="dots">
            <section class="mk-skill-matrix-group" aria-label="Techniques">
              <ul class="mk-skill-matrix-list">
                <li class="mk-skill-matrix-skill">
                  <label class="mk-skill-matrix-name" for="pf-br-webgl">WebGL / three.js</label>
                  <meter class="mk-skill-matrix-level" id="pf-br-webgl" min="0" max="5" value="5">5 of 5</meter>
                </li>
                <li class="mk-skill-matrix-skill">
                  <label class="mk-skill-matrix-name" for="pf-br-glsl">GLSL</label>
                  <meter class="mk-skill-matrix-level" id="pf-br-glsl" min="0" max="5" value="4">4 of 5</meter>
                </li>
                <li class="mk-skill-matrix-skill">
                  <label class="mk-skill-matrix-name" for="pf-br-css">CSS animation</label>
                  <meter class="mk-skill-matrix-level" id="pf-br-css" min="0" max="5" value="5">5 of 5</meter>
                </li>
                <li class="mk-skill-matrix-skill">
                  <label class="mk-skill-matrix-name" for="pf-br-audio">Web Audio</label>
                  <meter class="mk-skill-matrix-level" id="pf-br-audio" min="0" max="5" value="4">4 of 5</meter>
                </li>
              </ul>
            </section>
          </div>
        </section>
      </div>
      <aside class="mk-availability cut-corners" data-variant="spotlight" aria-labelledby="pf-br-hire">
        <p class="mk-availability-status"
          ><span class="indicator-dot" data-variant="success" aria-hidden="true"></span> Available now</p
        >
        <h2 class="mk-availability-title" id="pf-br-hire">Let's make the web weird again</h2>
        <div class="mk-availability-actions">
          <a class="btn" data-variant="secondary" href="mailto:knut@example.com">knut@example.com</a>
        </div>
      </aside>
    </div>
  </div>

  <!-- a project: the route's slug picks it from the data block below -->
  <div class="pf-page" data-pf-view="project" hidden>
    <a class="pf-back" href="#pf-br-work"><i data-lucide="arrow-left"></i> All work</a>
    <article class="mk-project-details" aria-labelledby="pf-br-p-title">
      <header class="mk-project-details-head">
        <p class="pf-kicker" data-p="kicker">WebGL · 2026</p>
        <h1 class="mk-project-details-title" id="pf-br-p-title" data-p="title">Northern Lights Live</h1>
        <p class="mk-project-details-summary" data-p="summary"
          >The aurora over Tromsø, live in the browser - a WebGL sky that moves with the magnetometer readings, minute
          by minute.</p
        >
      </header>
      <figure class="mk-project-details-cover" data-p-shot="0" data-p-size="1600/800">
        <img
          src="images/photos/1079-1600x800.webp"
          alt="A ring of sparks spun in the dark, a long exposure in black and white"
        />
      </figure>
      <dl class="mk-project-details-facts">
        <div><dt>Client</dt><dd data-p="client">Tromsø Sky Station</dd></div>
        <div><dt>Year</dt><dd data-p="year">2026</dd></div>
        <div><dt>Role</dt><dd data-p="role">Concept, WebGL, sound</dd></div>
        <div><dt>Stack</dt><dd data-p="stack">WebGL, GLSL, Web Audio</dd></div>
      </dl>
      <div class="mk-project-details-brief">
        <section aria-labelledby="pf-br-p-brief">
          <h2 id="pf-br-p-brief">The brief</h2>
          <p data-p="brief"
            >The station streamed its magnetometer data as a table nobody read. They wanted people who will never stand
            under the aurora to feel when it starts.</p
          >
        </section>
        <section aria-labelledby="pf-br-p-part">
          <h2 id="pf-br-p-part">What I did</h2>
          <p data-p="part"
            >A shader that turns the readings into curtains of light: the stronger the storm, the faster and greener the
            sky. A low drone follows the field, so the page can run on a second screen all night.</p
          >
        </section>
      </div>
      <section class="pf-result" aria-labelledby="pf-br-p-result">
        <h2 id="pf-br-p-result">The result</h2>
        <p class="pf-big"><span data-p="stat">1.2M</span><small data-p="unit">visits in the first storm week</small></p>
        <p data-p="result"
          >People stayed fourteen minutes on average - most of them with the sound on. Two schools now use the sky in
          their physics lessons.</p
        >
      </section>
      <div class="pf-shots">
        <figure data-p-shot="1" data-p-size="900/675">
          <img
            src="images/photos/1022-900x675.webp"
            alt="Green northern lights over a single pine tree"
            loading="lazy"
          />
          <figcaption>The real sky, for the colours</figcaption>
        </figure>
        <figure data-p-shot="2" data-p-size="900/675">
          <img src="images/photos/903-900x675.webp" alt="A person under the Milky Way at night" loading="lazy" />
          <figcaption>The second-screen mode</figcaption>
        </figure>
      </div>
      <nav class="mk-article-nav" aria-label="More work">
        <a class="mk-article-nav-link" href="#/work/metro-night-map" rel="prev" data-router-link
          ><span class="mk-article-nav-dir"><i data-lucide="arrow-left" aria-hidden="true"></i> Previous</span
          ><span class="mk-article-nav-title" data-p-prev>Metro Night Map</span></a
        >
        <a class="mk-article-nav-link" href="#/work/fjord-typeface-site" rel="next" data-router-link
          ><span class="mk-article-nav-dir">Next <i data-lucide="arrow-right" aria-hidden="true"></i></span
          ><span class="mk-article-nav-title" data-p-next>Fjord Typeface Site</span></a
        >
      </nav>
    </article>
  </div>

  <!-- the CV: a page of its own that prints -->
  <div class="pf-page" data-pf-view="cv" hidden>
    <a class="pf-back" href="#/" data-router-link><i data-lucide="arrow-left"></i> Back</a>
    <header class="pf-cv-head">
      <div>
        <h1>Knut Berg</h1>
        <p>Creative developer · Bergen, Norway · knut@example.com</p>
      </div>
      <div class="pf-cv-actions">
        <button class="btn" data-variant="secondary" type="button" data-pf-print>
          <i data-lucide="printer"></i> Print the CV
        </button>
        <a class="btn" href="mailto:knut@example.com">Write me</a>
      </div>
    </header>
    <section aria-labelledby="pf-br-cv-work">
      <h2 class="pf-h2" id="pf-br-cv-work">Experience</h2>
      <ol class="pf-cv-rows">
        <li><span>2019 - today</span><strong>Creative developer</strong><span>Own studio, Bergen</span></li>
        <li><span>2015 - 2019</span><strong>Interactive developer</strong><span>Lysverk, Oslo</span></li>
        <li><span>2013 - 2015</span><strong>Front-end developer</strong><span>Vind Digital, Bergen</span></li>
      </ol>
    </section>
    <section aria-labelledby="pf-br-cv-projects">
      <h2 class="pf-h2" id="pf-br-cv-projects">Selected projects</h2>
      <ol class="pf-cv-rows">
        <li
          ><span>2026</span
          ><strong><a href="#/work/northern-lights-live" data-router-link>Northern Lights Live</a></strong
          ><span>Tromsø Sky Station</span></li
        >
        <li
          ><span>2025</span
          ><strong><a href="#/work/fjord-typeface-site" data-router-link>Fjord Typeface Site</a></strong
          ><span>Fjord Type Foundry</span></li
        >
        <li
          ><span>2024</span><strong><a href="#/work/synth-in-a-tab" data-router-link>Synth in a Tab</a></strong
          ><span>Open source</span></li
        >
        <li
          ><span>2023</span><strong><a href="#/work/metro-night-map" data-router-link>Metro Night Map</a></strong
          ><span>Nattlinjer, Oslo</span></li
        >
      </ol>
    </section>
    <div class="pf-two">
      <section aria-labelledby="pf-br-cv-school">
        <h2 class="pf-h2" id="pf-br-cv-school">School</h2>
        <ol class="pf-cv-rows">
          <li><span>2010 - 2013</span><strong>B.A. Interaction design</strong><span>Bergen</span></li>
        </ol>
      </section>
      <section aria-labelledby="pf-br-cv-talks">
        <h2 class="pf-h2" id="pf-br-cv-talks">Talks</h2>
        <ol class="pf-cv-rows">
          <li><span>2025</span><strong>Shaders for people who hate maths</strong><span>Oslo</span></li>
          <li><span>2024</span><strong>Scroll is a timeline</strong><span>Bergen</span></li>
        </ol>
      </section>
    </div>
  </div>

  <footer class="mk-footer" data-variant="dark">
    <div class="mk-footer-inner">
      <nav class="mk-footer-nav" aria-label="Footer">
        <div class="mk-footer-col">
          <h2 class="mk-footer-heading">Work</h2>
          <ul class="mk-footer-list">
            <li><a href="#/work/northern-lights-live" data-router-link>Northern Lights Live</a></li>
            <li><a href="#/work/fjord-typeface-site" data-router-link>Fjord Typeface Site</a></li>
            <li><a href="#/work/synth-in-a-tab" data-router-link>Synth in a Tab</a></li>
            <li><a href="#/work/metro-night-map" data-router-link>Metro Night Map</a></li>
          </ul>
        </div>
        <div class="mk-footer-col">
          <h2 class="mk-footer-heading">Site</h2>
          <ul class="mk-footer-list">
            <li><a href="#pf-br-how">How I work</a></li>
            <li><a href="#pf-br-rates">Rates</a></li>
            <li><a href="#/cv" data-router-link>CV</a></li>
            <li><a href="#pf-br-hire">Hire me</a></li>
          </ul>
        </div>
        <div class="mk-footer-col">
          <h2 class="mk-footer-heading">Elsewhere</h2>
          <ul class="mk-footer-list">
            <li><a href="https://github.com/" target="_blank" rel="noopener">GitHub</a></li>
            <li><a href="https://codepen.io/" target="_blank" rel="noopener">CodePen</a></li>
            <li><a href="https://www.instagram.com/" target="_blank" rel="noopener">Instagram</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><span class="mk-footer-brand-name">Knut Berg</span></a>
        <p class="mk-footer-copy">© 2026 · No cookies. No carousels. No regrets.</p>
      </div>
      <p class="mk-footer-wordmark" aria-hidden="true">Knut Berg</p>
    </div>
  </footer>

  <!-- the projects the routes name, in the order of the strip -->
  <script type="application/json" id="pf-br-projects">
    {
      "northern-lights-live": {
        "title": "Northern Lights Live",
        "kicker": "WebGL · 2026",
        "summary": "The aurora over Tromsø, live in the browser - a WebGL sky that moves with the magnetometer readings, minute by minute.",
        "client": "Tromsø Sky Station",
        "year": "2026",
        "role": "Concept, WebGL, sound",
        "stack": "WebGL, GLSL, Web Audio",
        "brief": "The station streamed its magnetometer data as a table nobody read. They wanted people who will never stand under the aurora to feel when it starts.",
        "part": "A shader that turns the readings into curtains of light: the stronger the storm, the faster and greener the sky. A low drone follows the field, so the page can run on a second screen all night.",
        "stat": "1.2M",
        "unit": "visits in the first storm week",
        "result": "People stayed fourteen minutes on average - most of them with the sound on. Two schools now use the sky in their physics lessons.",
        "shots": [
          [1079, "A ring of sparks spun in the dark, a long exposure in black and white"],
          [1022, "Green northern lights over a single pine tree", "The real sky, for the colours"],
          [903, "A person under the Milky Way at night", "The second-screen mode"]
        ]
      },
      "fjord-typeface-site": {
        "title": "Fjord Typeface Site",
        "kicker": "Variable fonts · 2025",
        "summary": "A type specimen you can bend - every axis of a variable typeface on the page, and the letters carved like a fjord as you scroll.",
        "client": "Fjord Type Foundry",
        "year": "2025",
        "role": "Design, front end",
        "stack": "CSS, variable fonts, scroll-driven animation",
        "brief": "A small foundry had spent four years on one typeface with three axes. Their PDF specimen showed none of them.",
        "part": "The site is built around the axes: the weight follows your scroll, the width follows the window and the headline slopes when you drag it. No canvas - just CSS and the font.",
        "stat": "3x",
        "unit": "the foundry's licences of the year before, in one month",
        "result": "The family sold more licences in its launch month than the whole catalogue had the year before. The specimen itself won a type award.",
        "shots": [
          [942, "A white concrete facade with tall, narrow slits, in black and white"],
          [1052, "Black sea stacks off a misty beach", "The display cut, at its heaviest"],
          [1015, "A deep blue fjord between grey cliffs, seen from above", "The scroll that carves the letters"]
        ]
      },
      "synth-in-a-tab": {
        "title": "Synth in a Tab",
        "kicker": "Web Audio · 2024",
        "summary": "A two-oscillator synthesizer in one browser tab - keys, knobs, a sequencer and a link that holds the whole sound.",
        "client": "Open source",
        "year": "2024",
        "role": "Everything",
        "stack": "Web Audio, Web MIDI, CSS",
        "brief": "I wanted a synth I could open on any computer in a workshop and hand to a ten-year-old. Every plugin I tried wanted an install and a licence key.",
        "part": "Two oscillators, a filter, an envelope and a sixteen-step sequencer, all in Web Audio. A MIDI keyboard works the moment you plug it in, and the whole patch fits in the address - so a link is a sound.",
        "stat": "40k",
        "unit": "patches shared in the first year",
        "result": "It runs a weekly workshop for children at a library in Bergen, and three music schools use it to teach what a filter does.",
        "shots": [
          [145, "The tuning pegs of a guitar headstock"],
          [39, "The arm of a record player over a spinning record", "The sequencer, sixteen steps"],
          [452, "A concert crowd with raised hands under stage lights", "A patch played live in Oslo"]
        ]
      },
      "metro-night-map": {
        "title": "Metro Night Map",
        "kicker": "D3 · 2023",
        "summary": "A night map of a city's last trains and night buses - a line lights up for every departure, and your way home is the brightest.",
        "client": "Nattlinjer, Oslo",
        "year": "2023",
        "role": "Data visualisation, front end",
        "stack": "D3, SVG, a service worker",
        "brief": "After midnight a nine-page timetable was the only way to find a bus home. The operator wanted one map that answers: how do I get home from here?",
        "part": "The network drawn in D3 from the live departure feed: every departure lights its line for a minute, and a tap on a stop draws the fastest way home. It works offline, because phones die at 2 a.m.",
        "stat": "-50%",
        "unit": "night-bus calls to the help line",
        "result": "Calls about night buses fell by half in the first winter. The map now runs on the screens of twelve stations.",
        "shots": [
          [1033, "An empty metro station with an escalator between lit platforms"],
          [1078, "A tower block at night with its windows lit", "The city the map is drawn for"],
          [1026, "Railway tracks in a freight yard at sunset", "The last trains of the night"]
        ]
      }
    }
  </script>
</div>
<script type="module">
  // 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$('#pf-brutalist [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();

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

    // -- the pages: the home view, a page per project (#/work/synth-in-a-tab) filled from the data block and the CV
    // (#/cv); the header's sections are anchors of the home view (#pf-br-rates)
    const site = df$('#pf-brutalist').get(0);
    const PROJECTS = JSON.parse(df$('#pf-br-projects').text());
    const ORDER = Object.keys(PROJECTS);
    const SECTIONS = ['pf-br-work', 'pf-br-how', 'pf-br-rates', 'pf-br-skills', 'pf-br-hire'];
    const fill = (slug) => {
      const item = PROJECTS[slug];
      const page = df$('#pf-brutalist [data-pf-view="project"]');
      const at = ORDER.indexOf(slug);
      const prev = ORDER[(at + ORDER.length - 1) % ORDER.length];
      const next = ORDER[(at + 1) % ORDER.length];
      page.find('[data-p]').each((_i, el) => {
        df$(el).text(item[el.dataset.p]);
      });
      page.find('[data-p-shot]').each((_i, figure) => {
        const [id, alt, caption] = item.shots[Number(figure.dataset.pShot)];
        df$(figure)
          .find('img')
          .attr('src', 'images/photos/' + id + '-' + figure.dataset.pSize.replace('/', 'x') + '.webp')
          .attr('alt', alt);
        if (caption) df$(figure).find('figcaption').text(caption);
      });
      page.find('[rel="prev"]').attr('href', '#/work/' + prev);
      page.find('[data-p-prev]').text(PROJECTS[prev].title);
      page.find('[rel="next"]').attr('href', '#/work/' + next);
      page.find('[data-p-next]').text(PROJECTS[next].title);
    };
    const still = matchMedia('(prefers-reduced-motion: reduce)').matches;
    // one view at a time; the header marks where the reader is
    const reveal = (name, current) => {
      df$('#pf-brutalist [data-pf-view]').each((_i, part) => {
        part.hidden = part.dataset.pfView !== name;
      });
      df$('#pf-brutalist .mk-header-nav a').each((_i, link) => {
        df$(link).attr('aria-current', link.getAttribute('href') === current ? 'true' : null);
      });
    };
    let first = true;
    // a route: the home view (#/), a project or the CV - a page opens at its top
    const show = (to) => {
      const slug = to.routeId === 'project' && PROJECTS[to.params.slug] ? to.params.slug : null;
      const name = slug ? 'project' : to.routeId === 'cv' ? 'cv' : 'home';
      if (slug) fill(slug);
      reveal(name, slug ? '#pf-br-work' : name === 'cv' ? '#/cv' : '');
      if (!first) site.scrollIntoView({ block: 'start', behavior: name !== 'home' || still ? 'instant' : 'smooth' });
      first = false;
    };
    // a section of the home view: the home view shows again (a page hides it) and the section scrolls into view - on
    // a deep link once the page has laid out
    const plain = () => location.hash.length > 1 && !location.hash.startsWith('#/');
    const jump = () => {
      const id = decodeURIComponent(location.hash.slice(1));
      if (!SECTIONS.includes(id)) return;
      reveal('home', '#' + id);
      const go = () =>
        df$('#' + id)
          .get(0)
          .scrollIntoView({ block: 'start', behavior: still ? 'instant' : 'smooth' });
      if (document.readyState !== 'complete') addEventListener('load', go, { once: true });
      else go();
      first = false;
    };
    addEventListener('hashchange', () => plain() && jump());
    if (plain()) jump();
    const routes = [
      { id: 'home', path: '/' },
      { id: 'project', path: '/work/:slug' },
      { id: 'cv', path: '/cv' },
      { id: 'missing', path: '*' },
    ];
    try {
      const { createRouter } = await import('https://cdn.jsdelivr.net/npm/defuss-dom-router@0.1.1/dist/index.js');
      const router = createRouter({
        mode: 'hash',
        scroll: 'manual',
        routes,
        prepare: ({ to }) => ({ commit: () => show(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 = () => plain() || show(preview.resolve(location.hash.startsWith('#/') ? location.hash : '#/'));
        addEventListener('hashchange', follow);
        follow();
      }
    } catch {
      // the router did not load (offline): the home view stays, and it holds every section
    }
  });
</script>
```

<DocText>Built from <DocLink href="site-header.html">Site Header</DocLink>, <DocLink href="news-ticker.html">News Ticker</DocLink> (inverse), <DocLink href="resume-header.html">Resume Header</DocLink> (poster), <DocLink href="portfolio-grid.html">Portfolio Grid</DocLink> (strip), <DocLink href="process-step.html">Process Step</DocLink> (horizontal), <DocLink href="skill-matrix.html">Skill Matrix</DocLink> (dots), <DocLink href="availability.html">Availability</DocLink> (spotlight) and <DocLink href="site-footer.html">Site Footer</DocLink> (dark, with the wordmark). Every project and the CV are routes of <DocLink href="routing.html">defuss-dom-router</DocLink>: <code>#/work/synth-in-a-tab</code> fills <DocLink href="project-details.html">Project Details</DocLink> from a data block, with <DocLink href="article-navigation.html">Article Navigation</DocLink> to the previous and the next project; <code>#/cv</code> is a page that prints on its own (the header and the footer stay off the paper); the header's sections are anchors of the home view. The palette, the zero radius and the two typefaces are set on the page's root. <code>frame-thick</code>, <code>shadow-retro</code>, <code>shadow-hard</code>, <code>shape-burst</code> and <code>cut-corners</code> are <DocLink href="shapes.html">Shapes</DocLink> utilities, the flip, skew and slide entrances <DocLink href="motion.html">Motion</DocLink>'s.</DocText>

</DocPage>
