  /* ============================================================
     NULLSOFT ehf. — Architectural Blueprint
     Engineered dark. Matte deep-navy ink. Cobalt as a single
     dimensioned highlight. Hairline rules, measurement grid,
     registration ticks, drawing-sheet section numbering.
     Exact, calm, senior — an engineering drawing, not decoration.
     ============================================================ */

  /* ---------- self-hosted fonts (subset latin + latin-ext) ---------- */
  @font-face {
    font-family: 'Archivo Expanded';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 125%; /* pin wdth axis: always the Expanded cut */
    font-display: swap;
    src: url('../fonts/archivo-normal-100-900-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Archivo Expanded';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 125%; /* pin wdth axis: always the Expanded cut */
    font-display: swap;
    src: url('../fonts/archivo-normal-100-900-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/hanken-normal-400-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/hanken-normal-400-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Saira SemiCondensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/saira-normal-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Saira SemiCondensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/saira-normal-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Saira SemiCondensed';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/saira-normal-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Saira SemiCondensed';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/saira-normal-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Saira SemiCondensed';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/saira-normal-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Saira SemiCondensed';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/saira-normal-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  :root {
    /* ink canvas — never pure black; tinted toward navy */
    --ink-900: oklch(18% 0.035 256);   /* deepest panel */
    --ink-850: oklch(20% 0.038 256);   /* page base */
    --ink-800: oklch(23% 0.040 256);   /* raised panel / ghost monogram */
    --ink-700: oklch(28% 0.040 256);   /* hairlines / borders */
    --ink-600: oklch(36% 0.038 256);   /* stronger rules */

    /* cool off-white text — never pure white; reduced chroma at high L */
    --paper-100: oklch(95% 0.008 256); /* headings */
    --paper-200: oklch(90% 0.010 256); /* body strong */
    --paper-300: oklch(80% 0.012 256); /* body */
    --paper-400: oklch(66% 0.014 256); /* muted body */
    --paper-500: oklch(61% 0.018 256); /* labels / captions — AA (>4.7:1) on ink */
    --paper-600: oklch(60% 0.020 256); /* faint-but-readable marks — AA on ink-850/900 */
    --tick-faint: oklch(46% 0.020 256); /* purely decorative crosshairs (aria-hidden) */

    /* cobalt / royal blue — one solid accent, used sparingly (~10%) */
    --cobalt: oklch(60% 0.170 262);        /* fill: dark text on it clears AA */
    --cobalt-bright: oklch(67% 0.165 262); /* for cobalt text on dark, AA */
    --cobalt-deep: oklch(46% 0.150 262);
    --cobalt-dim: oklch(52% 0.110 262);    /* corner ticks on panels */
    --on-cobalt: oklch(14% 0.030 256);     /* near-black navy text on cobalt fill (AA) */

    /* blueprint grid — extremely low contrast */
    --grid-line: oklch(31% 0.030 256 / 0.40);
    --grid-line-soft: oklch(29% 0.028 256 / 0.28);

    --measure: 'Saira SemiCondensed', sans-serif;
    --body: 'Hanken Grotesk', sans-serif;
    --display: 'Archivo Expanded', 'Hanken Grotesk', sans-serif;

    --gutter: clamp(1.25rem, 5vw, 5.5rem);
    --rule: 1px;
    --maxw: 1320px;

    --t-fast: 180ms;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  *, *::before, *::after { box-sizing: border-box; }

  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    margin: 0;
    background-color: var(--ink-850);
    color: var(--paper-300);
    font-family: var(--body);
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
    line-height: 1.62;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  /* Blueprint measurement grid on a FIXED layer behind all content. The
     vertical fade + edge vignette dissolve the mesh WITHOUT ever masking
     the page text (the mask applies to this pseudo-element, not the body). */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
      radial-gradient(120% 80% at 72% -10%, transparent 38%, var(--ink-850) 100%),
      linear-gradient(var(--grid-line-soft) var(--rule), transparent var(--rule)),
      linear-gradient(90deg, var(--grid-line-soft) var(--rule), transparent var(--rule)),
      linear-gradient(var(--grid-line) var(--rule), transparent var(--rule)),
      linear-gradient(90deg, var(--grid-line) var(--rule), transparent var(--rule));
    background-size:
      100% 100%,
      28px 28px,
      28px 28px,
      140px 140px,
      140px 140px;
    background-position: 0 0, -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    -webkit-mask-image: linear-gradient(180deg,
      oklch(0% 0 0) 0%,
      oklch(0% 0 0 / 0.85) 14%,
      oklch(0% 0 0 / 0.30) 34%,
      oklch(0% 0 0 / 0.16) 60%,
      oklch(0% 0 0 / 0.22) 100%);
            mask-image: linear-gradient(180deg,
      oklch(0% 0 0) 0%,
      oklch(0% 0 0 / 0.85) 14%,
      oklch(0% 0 0 / 0.30) 34%,
      oklch(0% 0 0 / 0.16) 60%,
      oklch(0% 0 0 / 0.22) 100%);
  }

  a { color: inherit; text-decoration: none; }

  ::selection { background: var(--cobalt-deep); color: var(--paper-100); }

  :focus-visible {
    outline: 2px solid var(--cobalt-bright);
    outline-offset: 3px;
    border-radius: 1px;
  }

  .skip {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 100;
    background: var(--cobalt);
    color: var(--on-cobalt);
    font-family: var(--measure);
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.6rem 1rem;
  }
  .skip:focus { left: 1rem; top: 1rem; }

  /* skip-link target is programmatically focusable but should not show a ring */
  main:focus { outline: none; }

  /* ---------- shared structure ---------- */

  .shell {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 1;
  }

  /* small letter-spaced uppercase label */
  .label {
    font-family: var(--measure);
    font-weight: 500;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--paper-500);
  }

  /* dimension-style coordinate label (deliberate measure face) */
  .dim {
    font-family: var(--measure);
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--paper-500);
    font-variant-numeric: tabular-nums;
  }

  .accent { color: var(--cobalt-bright); }

  /* a registration tick (corner crosshair) */
  .tick {
    position: absolute;
    width: 13px;
    height: 13px;
    pointer-events: none;
    color: var(--tick-faint);
  }
  /* tick pinned at the gutter origin of its positioning context (replaces
     the inline style= that a strict style-src CSP forbids) */
  .tick.origin { top: 0; left: calc(var(--gutter) - 6px); }
  .tick::before, .tick::after {
    content: "";
    position: absolute;
    background: currentColor;
  }
  .tick::before { left: 6px; top: 0; width: var(--rule); height: 13px; }
  .tick::after  { top: 6px; left: 0; width: 13px; height: var(--rule); }

  /* L-bracket corner crosshairs for data panels (registration language) */
  .corner { position: relative; }
  .corner::before, .corner::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-color: var(--cobalt-dim);
    pointer-events: none;
  }
  .corner::before { top: -1px; left: -1px; border-top: var(--rule) solid; border-left: var(--rule) solid; }
  .corner::after  { bottom: -1px; right: -1px; border-bottom: var(--rule) solid; border-right: var(--rule) solid; }

  /* horizontal hairline rule used between sections */
  .ruleline {
    border: 0;
    border-top: var(--rule) solid var(--ink-700);
    margin: 0;
  }

  /* ============================================================
     HEADER / NAV
     ============================================================ */

  .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in oklab, var(--ink-850) 86%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: var(--rule) solid var(--ink-700);
  }
  .topbar .shell {
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 68px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--paper-100);
    flex-shrink: 0;
  }
  .brand svg { width: 24px; height: 24px; display: block; color: var(--cobalt-bright); }
  .brand .wordmark {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.16em;
  }

  .topnav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2.4rem);
  }
  .topnav ul {
    display: flex;
    gap: clamp(1rem, 2.2vw, 2.2rem);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .topnav a[href^="#"] {
    font-family: var(--measure);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--paper-400);
    padding: 0.4rem 0;
    position: relative;
    transition: color var(--t-fast) var(--ease);
  }
  .topnav a[href^="#"]::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -2px;
    height: var(--rule);
    background: var(--cobalt-bright);
    transition: right var(--t-fast) var(--ease);
  }
  .topnav a[href^="#"]:hover { color: var(--paper-100); }
  .topnav a[href^="#"]:hover::after { right: 0; }

  .action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--measure);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--on-cobalt);
    background: var(--cobalt);
    padding: 0.62rem 1.1rem;
    border: var(--rule) solid var(--cobalt);
    transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
    white-space: nowrap;
  }
  .action:hover { background: var(--cobalt-bright); transform: translateY(-1px); }
  .action.quiet {
    color: var(--paper-200);
    background: transparent;
    border-color: var(--ink-600);
  }
  .action.quiet:hover { background: var(--ink-800); color: var(--paper-100); }
  .action .arr {
    display: inline-block;
    transition: transform var(--t-fast) var(--ease);
  }
  .action.quiet:hover .arr { transform: translateX(3px); }

  .topnav .nav-links { display: flex; align-items: center; }

  /* ============================================================
     HERO
     ============================================================ */

  .hero {
    position: relative;
    padding-block: clamp(4.5rem, 11vh, 9rem) clamp(3.5rem, 8vh, 6rem);
    overflow: hidden;
  }
  .hero .shell { position: relative; }

  /* recessive ghost-N monogram, bleeding off the right edge */
  .hero .ghost-n {
    position: absolute;
    right: clamp(-5rem, -6vw, -2rem);
    top: 50%;
    transform: translateY(-48%);
    width: min(48vw, 560px);
    height: auto;
    color: var(--ink-800);
    pointer-events: none;
    z-index: 0;
  }

  .hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
  @media (min-width: 920px) {
    .hero-grid {
      grid-template-columns: auto minmax(0, 7fr) minmax(0, 4fr);
      align-items: end;
      column-gap: clamp(1.4rem, 3vw, 2.6rem);
    }
  }

  /* vertical coordinate rail — blueprint measurement in the left margin */
  .hero-rail {
    display: none;
  }
  @media (min-width: 920px) {
    .hero-rail {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.9rem;
      align-self: stretch;
      padding-bottom: 0.4rem;
    }
    .hero-rail .vline {
      width: var(--rule);
      flex: 1;
      min-height: 6rem;
      background: linear-gradient(var(--cobalt) 0 22%, var(--ink-700) 22%);
    }
    .hero-rail .coord {
      font-family: var(--measure);
      font-weight: 400;
      font-variant-numeric: tabular-nums;
      font-size: 0.66rem;
      letter-spacing: 0.18em;
      color: var(--paper-500);
      writing-mode: vertical-rl;
      text-orientation: mixed;
      transform: rotate(180deg);
      white-space: nowrap;
    }
  }

  .hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
  }
  .hero .eyebrow::after {
    content: "";
    flex: 1;
    height: var(--rule);
    background: linear-gradient(90deg, var(--ink-600), transparent);
  }

  .hero h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.5rem, 1.4rem + 5.2vw, 5.3rem);
    line-height: 0.99;
    letter-spacing: -0.012em;
    color: var(--paper-100);
    margin: 0;
    max-width: 16ch;
  }
  .hero h1 .lead-meas {
    display: block;
    font-family: var(--measure);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cobalt-bright);
    margin-bottom: 0.9rem;
  }
  .hero h1 em {
    font-style: normal;
    color: var(--cobalt-bright);
  }

  .hero-lede {
    margin: clamp(1.6rem, 3vw, 2.2rem) 0 0;
    max-width: 52ch;
    font-size: clamp(1.05rem, 1rem + 0.4vw, 1.28rem);
    line-height: 1.55;
    color: var(--paper-300);
  }

  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: clamp(1.8rem, 4vw, 2.6rem);
  }
  .hero-cta .action { padding-block: 0.78rem; padding-inline: 1.4rem; font-size: 0.84rem; }

  /* blueprint callout panel: a single dimensioned spec block */
  .spec-callout {
    position: relative;
    z-index: 1;
    border: var(--rule) solid var(--ink-700);
    background: var(--ink-900);
    padding: 1.6rem 1.5rem 1.4rem;
  }
  .spec-callout .dim-top {
    position: absolute;
    top: -0.62rem;
    left: 1.4rem;
    background: var(--ink-850);
    padding-inline: 0.55rem;
  }
  .spec-callout h2 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.94rem;
    letter-spacing: 0.02em;
    color: var(--paper-100);
    margin: 0.2rem 0 1.1rem;
  }
  .spec-callout dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem 1rem;
    align-items: baseline;
  }
  .spec-callout dt {
    font-family: var(--measure);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--paper-500);
  }
  .spec-callout dd {
    margin: 0;
    font-size: 0.92rem;
    color: var(--paper-200);
    font-variant-numeric: tabular-nums;
  }
  .spec-callout dd .accent { font-weight: 600; }

  /* ============================================================
     SECTION FRAME — drawing-sheet header (coordinate index + title)
     ============================================================ */

  section.block { padding-block: clamp(4rem, 9vh, 7.5rem); position: relative; }

  /* registration tick at the top-left gutter intersection of each block */
  .block > .block-tick {
    top: 0;
    left: calc(var(--gutter) - 6px);
  }

  .sechead {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
  }
  @media (min-width: 720px) {
    .sechead {
      grid-template-columns: auto minmax(0, 1fr);
      align-items: start;
      gap: clamp(1.5rem, 4vw, 3rem);
    }
  }
  /* drawing-grid coordinate plate: number in the left index column */
  .sechead .index {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-top: 0.2rem;
  }
  .sechead .secno {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    color: var(--paper-100);
    font-variant-numeric: tabular-nums;
  }
  .sechead .secno .of {
    color: var(--paper-600);
    font-weight: 600;
    font-size: 0.62em;
  }
  .sechead .seg {
    width: 2.4rem;
    height: var(--rule);
    background: linear-gradient(90deg, var(--cobalt), transparent);
  }
  @media (min-width: 720px) {
    .sechead .seg {
      width: var(--rule);
      height: clamp(2rem, 4vw, 3rem);
      background: linear-gradient(var(--cobalt), transparent);
      margin-left: 0.1rem;
    }
  }
  .sechead .label.sec-label { display: block; margin-bottom: 0.9rem; }
  .sechead h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: var(--paper-100);
    margin: 0;
  }
  .sechead .deck {
    margin: 0.9rem 0 0;
    max-width: 56ch;
    color: var(--paper-400);
    font-size: 1.02rem;
  }

  /* ============================================================
     SERVICES — editorial numbered ledger, not icon cards
     ============================================================ */

  .ledger { border-top: var(--rule) solid var(--ink-700); }

  .ledger > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem 2rem;
    padding-block: clamp(1.6rem, 3.4vw, 2.4rem);
    border-bottom: var(--rule) solid var(--ink-700);
    position: relative;
    transition: background var(--t-fast) var(--ease);
  }
  @media (min-width: 760px) {
    .ledger > .row {
      grid-template-columns: 4.5rem minmax(0, 9fr) minmax(0, 11fr);
      align-items: baseline;
    }
  }
  .ledger > .row:hover { background: color-mix(in oklab, var(--ink-800) 55%, transparent); }
  .ledger .row-no {
    font-family: var(--measure);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: var(--paper-500);
    font-variant-numeric: tabular-nums;
    padding-top: 0.18rem;
  }
  .ledger .row:hover .row-no { color: var(--cobalt-bright); }
  .ledger h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
    line-height: 1.08;
    letter-spacing: -0.005em;
    color: var(--paper-100);
    margin: 0;
  }
  .ledger .row p {
    margin: 0;
    color: var(--paper-400);
    max-width: 54ch;
    font-size: 0.99rem;
  }

  /* ============================================================
     APPROACH — principles, structural, asymmetric
     ============================================================ */

  #approach { background: color-mix(in oklab, var(--ink-900) 60%, transparent); }
  #approach::before, #approach::after {
    content: "";
    position: absolute; left: 0; right: 0; height: var(--rule);
    background: var(--ink-700);
  }
  #approach::before { top: 0; }
  #approach::after { bottom: 0; }

  .principles {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    counter-reset: prin;
  }
  @media (min-width: 880px) {
    .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  .principle {
    counter-increment: prin;
    padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 3vw, 2.6rem);
    border-top: var(--rule) solid var(--ink-700);
    position: relative;
  }
  @media (min-width: 880px) {
    .principle:nth-child(odd) { border-right: var(--rule) solid var(--ink-700); }
  }
  .principle .pno {
    font-family: var(--measure);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    color: var(--cobalt-bright);
    text-transform: uppercase;
  }
  .principle .pno::before { content: "P." counter(prin, decimal-leading-zero) "  /  "; color: var(--paper-500); }
  .principle h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.2rem, 1rem + 0.9vw, 1.62rem);
    line-height: 1.1;
    letter-spacing: -0.008em;
    color: var(--paper-100);
    margin: 0.85rem 0 0.7rem;
    max-width: 18ch;
  }
  .principle p { margin: 0; color: var(--paper-400); max-width: 46ch; }
  .principle p code {
    font-family: var(--measure);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--paper-200);
    background: var(--ink-800);
    padding: 0.05em 0.4em;
    border: var(--rule) solid var(--ink-700);
    font-size: 0.86em;
  }

  /* ============================================================
     SELECTED WORK — case studies, a/b/a layout rhythm
     ============================================================ */

  .case {
    position: relative;
    border: var(--rule) solid var(--ink-700);
    background: var(--ink-900);
    margin-bottom: clamp(1.8rem, 4vw, 3rem);
  }
  .case:last-of-type { margin-bottom: 0; }

  .case-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 2.6rem);
    border-bottom: var(--rule) solid var(--ink-700);
  }
  @media (min-width: 760px) {
    .case-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  }
  .case-head .title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.8rem, 1.3rem + 2.4vw, 3.1rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: var(--paper-100);
    margin: 0.7rem 0 0;
    text-transform: lowercase;
  }
  .case-head .title .tld { color: var(--paper-500); font-weight: 500; }
  .case-head .one-liner {
    margin: 1rem 0 0;
    max-width: 60ch;
    color: var(--paper-300);
    font-size: clamp(1rem, 0.96rem + 0.3vw, 1.16rem);
  }
  .case-head .visit {
    font-family: var(--measure);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cobalt-bright);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: gap var(--t-fast) var(--ease);
  }
  .case-head .visit:hover { gap: 0.75rem; }

  .case-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  @media (min-width: 860px) {
    .case-body { grid-template-columns: minmax(0, 13fr) minmax(0, 9fr); }
  }

  .case-highlights {
    padding: clamp(1.4rem, 3.5vw, 2.4rem) clamp(1.4rem, 4vw, 2.6rem);
  }
  @media (min-width: 860px) {
    .case-highlights { border-right: var(--rule) solid var(--ink-700); }
  }
  .case-highlights ul { list-style: none; margin: 1rem 0 0; padding: 0; }
  .case-highlights li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    padding-block: 0.85rem;
    border-top: var(--rule) solid var(--ink-700);
    color: var(--paper-300);
    font-size: 0.97rem;
  }
  .case-highlights li:first-child { border-top: 0; padding-top: 0; }
  .case-highlights li .h-no {
    font-family: var(--measure);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--paper-500);
    font-variant-numeric: tabular-nums;
    padding-top: 0.2rem;
  }
  .case-highlights li strong { color: var(--paper-100); font-weight: 600; }

  .case-spec {
    position: relative;
    padding: clamp(1.4rem, 3.5vw, 2.4rem) clamp(1.4rem, 4vw, 2.6rem);
    background: color-mix(in oklab, var(--ink-850) 50%, var(--ink-900));
  }
  .case-spec .spec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .case-spec .spec-head .blip { width: 6px; height: 6px; background: var(--cobalt-bright); flex: none; }
  .case-spec dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1rem;
  }
  .case-spec dt {
    font-family: var(--measure);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--paper-500);
    white-space: nowrap;
    padding-block: 0.62rem;
    border-bottom: var(--rule) dashed var(--ink-700);
    align-self: stretch;
  }
  .case-spec dd {
    margin: 0;
    color: var(--paper-300);
    font-size: 0.9rem;
    padding-block: 0.62rem;
    border-bottom: var(--rule) dashed var(--ink-700);
  }
  .case-spec dl > dt:last-of-type,
  .case-spec dl > dd:last-of-type { border-bottom: 0; }

  /* the middle case (kauply, data-tag b) is a mirror image between two
     standard layouts — spec aside on the left, highlights on the right
     (structural differentiation, not just a tint) */
  @media (min-width: 860px) {
    .case[data-tag="b"] .case-body { grid-template-columns: minmax(0, 9fr) minmax(0, 13fr); }
    .case[data-tag="b"] .case-highlights { border-right: 0; order: 2; }
    .case[data-tag="b"] .case-spec { border-right: var(--rule) solid var(--ink-700); order: 1; }
  }

  /* ============================================================
     EXPERIENCE — vertical timeline / roster
     ============================================================ */

  .roster { border-top: var(--rule) solid var(--ink-700); }
  .engagement {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem 2rem;
    padding-block: clamp(1.6rem, 3.4vw, 2.4rem);
    border-bottom: var(--rule) solid var(--ink-700);
    position: relative;
  }
  @media (min-width: 800px) {
    .engagement {
      grid-template-columns: minmax(0, 7fr) minmax(0, 13fr);
      align-items: baseline;
      column-gap: clamp(1.5rem, 4vw, 3rem);
    }
  }
  .engagement .who {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--paper-100);
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    flex-wrap: wrap;
  }
  .engagement .who .now {
    font-family: var(--measure);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-cobalt);
    background: var(--cobalt);
    padding: 0.18em 0.5em;
    transform: translateY(-0.18em);
  }
  .engagement .what { margin: 0; color: var(--paper-400); max-width: 56ch; font-size: 0.98rem; }
  .engagement .what .sector {
    display: block;
    font-family: var(--measure);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--paper-500);
    margin-bottom: 0.4rem;
  }

  /* ============================================================
     ABOUT
     ============================================================ */

  #about {
    background: color-mix(in oklab, var(--ink-900) 60%, transparent);
    position: relative;
    overflow: hidden;
  }
  #about::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0;
    height: var(--rule); background: var(--ink-700);
  }
  /* second, smaller ghost-N bottom-left in About */
  #about .ghost-n {
    position: absolute;
    left: clamp(-4rem, -4vw, -1.5rem);
    bottom: clamp(-3rem, -3vw, -1rem);
    width: min(34vw, 360px);
    height: auto;
    color: var(--ink-800);
    pointer-events: none;
    z-index: 0;
  }
  .about-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
  @media (min-width: 900px) {
    .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  }
  .about-grid .lead-statement {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.05rem);
    line-height: 1.12;
    letter-spacing: -0.012em;
    color: var(--paper-100);
    margin: 0;
  }
  .about-grid .lead-statement em { font-style: normal; color: var(--cobalt-bright); }
  /* principal panel — the named human behind the "senior, hands-on" claims,
     set in the same dimensioned-callout language as the hero spec block */
  .principal {
    position: relative;
    margin-top: clamp(1.8rem, 4vw, 2.6rem);
    border: var(--rule) solid var(--ink-700);
    background: var(--ink-900);
    padding: 1.7rem 1.5rem 1.5rem;
    max-width: 34rem;
  }
  .principal .dim-top {
    position: absolute;
    top: -0.62rem;
    left: 1.4rem;
    background: var(--ink-850);
    padding-inline: 0.55rem;
  }
  .principal h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.65rem);
    line-height: 1.05;
    letter-spacing: -0.008em;
    color: var(--paper-100);
    margin: 0.2rem 0 0.45rem;
  }
  .principal .role {
    font-family: var(--measure);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cobalt-bright);
    margin: 0 0 0.9rem;
  }
  .principal .bio {
    margin: 0;
    color: var(--paper-300);
    font-size: 0.97rem;
    max-width: 44ch;
  }

  .about-prose p { margin: 0 0 1.2rem; color: var(--paper-300); max-width: 60ch; }
  .about-prose p:last-child { margin-bottom: 0; }
  .about-prose strong { color: var(--paper-100); font-weight: 600; }

  .about-facts {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    border: var(--rule) solid var(--ink-700);
    background: color-mix(in oklab, var(--ink-900) 55%, transparent);
  }
  .about-facts > div {
    padding: 1.1rem 1.2rem;
    border-right: var(--rule) solid var(--ink-700);
  }
  .about-facts > div:last-child { border-right: 0; }
  .about-facts dt { font-family: var(--measure); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-500); }
  .about-facts dd { margin: 0.4rem 0 0; color: var(--paper-100); font-size: 0.96rem; font-weight: 500; }

  /* ============================================================
     CONTACT
     ============================================================ */

  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: end;
  }
  @media (min-width: 820px) {
    .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  }
  .contact-lead {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2rem, 1.4rem + 3.2vw, 3.6rem);
    line-height: 1.0;
    letter-spacing: -0.018em;
    color: var(--paper-100);
    margin: 0.6rem 0 0;
    max-width: 16ch;
  }
  .contact-lead a {
    color: var(--cobalt-bright);
    text-decoration: underline;
    text-decoration-thickness: var(--rule);
    text-underline-offset: 0.12em;
    transition: text-decoration-thickness var(--t-fast) var(--ease);
  }
  .contact-lead a:hover { text-decoration-thickness: 2px; }
  .contact-aside {
    border: var(--rule) solid var(--ink-700);
    padding: 1.6rem 1.5rem;
    background: var(--ink-900);
  }
  .contact-aside dl { margin: 0; display: grid; gap: 1.1rem; }
  .contact-aside dt { font-family: var(--measure); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-500); }
  .contact-aside dd { margin: 0.35rem 0 0; color: var(--paper-200); }
  .contact-aside dd a { color: var(--cobalt-bright); }
  .contact-aside .action { margin-top: 0.4rem; width: 100%; justify-content: center; }

  /* ============================================================
     FOOTER
     ============================================================ */

  footer.site {
    border-top: var(--rule) solid var(--ink-700);
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--ink-900);
    position: relative;
    z-index: 1;
  }
  footer.site .shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
    align-items: center;
  }
  @media (min-width: 720px) {
    footer.site .shell { grid-template-columns: auto 1fr auto; }
  }
  footer .brand svg { color: var(--paper-300); }
  footer .brand .wordmark { color: var(--paper-200); }
  footer .colophon {
    font-family: var(--measure);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--paper-500);
    line-height: 1.7;
  }
  footer .colophon a { color: var(--paper-300); }
  footer .colophon a:hover { color: var(--cobalt-bright); }
  footer .foot-coords { text-align: left; }
  @media (min-width: 720px) { footer .foot-coords { text-align: right; } }

  /* ============================================================
     PAGE-LOAD REVEAL (single, ~600ms staggered, transform+opacity)
     ============================================================ */
  /* the 'js' class on <html> (set synchronously by reveal.js in <head>) opts
     into the hidden pre-reveal state — no JS, no hiding, no <noscript> hack */
  @media (prefers-reduced-motion: no-preference) {
    html.js .reveal { opacity: 0; transform: translateY(14px); }
    html.js .topbar.reveal { transform: translateY(-100%); }
    html.js body.loaded .reveal {
      opacity: 1;
      transform: none;
      transition: opacity 480ms var(--ease), transform 520ms var(--ease);
    }
    html.js body.loaded .topbar.reveal { transition: transform 420ms var(--ease); }
    html.js body.loaded .reveal[data-d="1"] { transition-delay: 70ms; }
    html.js body.loaded .reveal[data-d="2"] { transition-delay: 150ms; }
    html.js body.loaded .reveal[data-d="3"] { transition-delay: 230ms; }
    html.js body.loaded .reveal[data-d="4"] { transition-delay: 310ms; }
    html.js body.loaded .reveal[data-d="5"] { transition-delay: 390ms; }
  }

  /* ---------- responsive nav trimming ---------- */
  @media (max-width: 860px) {
    .topnav ul { display: none; }
  }
  @media (max-width: 520px) {
    .topnav .action.quiet { display: none; }
    .brand .wordmark { font-size: 0.95rem; }
  }
