/* ─── Design Tokens ─── */
    :root {
      color-scheme: light;

      /* Colors */
      --paper: #fafafa;
      --ink: #0f0f0f;
      --muted: #737373;
      --secondary: #525252;
      --line: rgba(0, 0, 0, 0.10);
      --hover: rgba(225, 244, 53, 0.18);
      --active: rgba(225, 244, 53, 0.28);
      --image-outline: rgba(0, 0, 0, 0.1);

      /* Accent */
      --blue: #68720d;
      --blue-soft: rgba(225, 244, 53, 0.24);
      --orange: #ea580c;
      --orange-soft: #fff7ed;

      /* Motion */
      --spring: cubic-bezier(0.2, 0, 0, 1);
      --dur-fast: 80ms;
      --dur-moderate: 160ms;
      --dur-slow: 240ms;
    }

    /* ─── Dark Mode ─── */
    @media (prefers-color-scheme: dark) {
      :root {
        color-scheme: dark;
        --paper: #000000;
        --surface-1: #000000;
        --surface-2: #0f0f0f;
        --surface-3: #171717;
        --surface-4: #222222;
        --ink: #ffffff;
        --secondary: #bfbfbf;
        --muted: #858585;
        --quiet: #666666;
        --line: rgba(255, 255, 255, 0.10);
        --line-strong: rgba(255, 255, 255, 0.18);
        --hover: rgba(225, 244, 53, 0.08);
        --active: rgba(225, 244, 53, 0.14);
        --blue: #e1f435;
        --blue-soft: rgba(225, 244, 53, 0.14);
        --orange: #fb923c;
        --orange-soft: rgba(251, 146, 60, 0.14);
        --focus: #e1f435;
        --image-outline: rgba(255, 255, 255, 0.1);
        --floating-bg: rgba(6, 6, 6, 0.88);
        --floating-bg-strong: rgba(6, 6, 6, 0.98);
        --shadow-surface:
          inset 0 1px 0 rgba(255, 255, 255, 0.03),
          0 0 0 1px rgba(0, 0, 0, 0.28),
          0 1px 2px rgba(0, 0, 0, 0.45);
        --shadow-surface-hover:
          inset 0 1px 0 rgba(255, 255, 255, 0.05),
          0 0 0 1px rgba(255, 255, 255, 0.08),
          0 2px 4px rgba(0, 0, 0, 0.52);
      }
      .floating-nav {
        background: rgba(22, 22, 21, 0.88);
        border-color: rgba(230, 230, 226, 0.1);
        box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.25);
      }
      .floating-nav.is-scrolled {
        background: rgba(22, 22, 21, 0.97);
        border-color: rgba(230, 230, 226, 0.13);
        box-shadow: 0 1px 1px rgba(0,0,0,0.3), 0 4px 8px rgba(0,0,0,0.25), 0 16px 32px rgba(0,0,0,0.3);
      }
      .play {
        background: rgba(34, 34, 33, 0.96);
        color: #ddddd8;
        box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 2px 6px rgba(0,0,0,0.4), 0 8px 20px rgba(0,0,0,0.25);
      }
      .play:hover {
        background: rgba(40, 40, 39, 0.98);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 3px 8px rgba(0,0,0,0.45), 0 12px 24px rgba(0,0,0,0.3);
      }
      .photo {
        background: #1e1e1d;
        box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 2px 5px rgba(0,0,0,0.35), 0 10px 20px rgba(0,0,0,0.2);
      }
      .photo:hover {
        box-shadow: 0 0 0 1px rgba(255,255,255,0.07), 0 4px 10px rgba(0,0,0,0.5), 0 20px 32px rgba(0,0,0,0.3);
      }
      .video-cover { background: #1a1a19; }
      .work-preview {
        background: rgba(24, 24, 23, 0.97);
        border-color: rgba(230, 230, 226, 0.1);
        box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.3);
      }
      img, video { outline-color: var(--image-outline); }
    }

    /* ─── Base Reset ─── */
    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: var(--ds-font-family-body, 'Inter', sans-serif);
      font-size: 1rem;
      font-kerning: normal;
      font-synthesis: none;
      font-weight: 400;
      line-height: 1.5;
      letter-spacing: -0.011em;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: var(--ds-font-family-heading, 'Bricolage Grotesque', sans-serif);
      font-weight: 600;
    }

    button, a { color: inherit; font: inherit; }

    strong {
      font-weight: 520;
      font-variation-settings: 'wght' 520;
    }

    a {
      text-decoration-color: rgba(28, 28, 27, 0.22);
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      transition: color var(--dur-fast) var(--spring),
                  text-decoration-color var(--dur-fast) var(--spring);
    }

    a:hover {
      color: var(--ink);
      text-decoration-color: currentColor;
    }

    button { -webkit-tap-highlight-color: transparent; }

    img, video {
      display: block;
      max-width: 100%;
      outline: 1px solid var(--image-outline);
      outline-offset: -1px;
    }

    h1, h2, h3, p { margin: 0; }
    h1, h2, h3 { text-wrap: balance; }
    p { text-wrap: pretty; }

    /* ─── Canonical Layout ─── */
    .page {
      width: 100%;
      min-width: 0;
      margin: 0;
      padding: 0;
    }

    /* ─── Floating Nav ─── */
    .floating-nav {
      --nav-width: min(260px, calc(100vw - 24px));
      position: fixed;
      z-index: 20;
      top: 18px;
      left: 50%;
      display: flex;
      width: var(--nav-width);
      height: 44px;
      align-items: center;
      overflow: hidden;
      padding: var(--ds-space-8) var(--ds-space-2) var(--ds-space-8) var(--ds-space-8);
      border-radius: var(--ds-semantic-radius-container);
      border: 1px solid rgba(0, 0, 0, 0.07);
      background: rgba(251, 251, 250, 0.88);
      backdrop-filter: blur(18px) saturate(1.3);
      -webkit-backdrop-filter: blur(18px) saturate(1.3);
      box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
      transform: translateX(-50%);
      transition: background-color var(--dur-moderate) var(--spring),
                  box-shadow var(--dur-moderate) var(--spring),
                  border-color var(--dur-moderate) var(--spring);
    }

    .floating-nav.is-scrolled {
      background: rgba(251, 251, 250, 0.97);
      border-color: rgba(0, 0, 0, 0.09);
      box-shadow: 0 1px 1px rgba(0,0,0,0.03), 0 4px 8px rgba(0,0,0,0.05), 0 18px 36px rgba(0,0,0,0.07);
    }

    @keyframes floating-nav-reveal {
      0%   { width: 44px; opacity: 0; filter: blur(4px); transform: translateX(-50%) translateY(-8px) scale(0.92); }
      35%  { width: 44px; opacity: 1; filter: blur(0);   transform: translateX(-50%) translateY(0)    scale(1); }
      100% { width: var(--nav-width); opacity: 1; filter: blur(0); transform: translateX(-50%) translateY(0) scale(1); }
    }

    .floating-identity {
      display: flex;
      min-width: 148px;
      align-items: center;
      gap: var(--ds-space-8);
      text-decoration: none;
    }

    .nav-avatar {
      flex: 0 0 28px;
      width: 28px;
      height: 28px;
      border-radius: var(--ds-semantic-radius-control);
      outline-color: rgba(0, 0, 0, 0.08);
    }

    .nav-copy, .language {
      opacity: 0;
      transform: translateX(-4px);
    }

    @keyframes floating-nav-content-reveal {
      to { opacity: 1; transform: translateX(0); }
    }

    .nav-copy {
      display: grid;
      min-width: 0;
      line-height: 1.15;
    }

    .nav-name {
      overflow: hidden;
      font-size: 11.5px;
      font-variation-settings: 'wght' 530, 'opsz' 13;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-box: trim-both cap alphabetic;
    }

    .nav-status {
      display: flex;
      align-items: center;
      gap: var(--ds-space-4);
      margin-top: var(--ds-space-x3);
      overflow: hidden;
      color: var(--muted);
      font-size: 9.5px;
      font-variation-settings: 'wght' 400, 'opsz' 11;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .status-dot {
      width: 5px;
      height: 5px;
      flex: 0 0 5px;
      border-radius: 50%;
      background: #5aaa62;
      box-shadow: 0 0 0 2.5px rgba(90, 170, 98, 0.18);
      animation: status-pulse 3.2s ease-in-out infinite;
    }

    @keyframes status-pulse {
      0%, 100% { box-shadow: 0 0 0 2.5px rgba(90, 170, 98, 0.18); }
      50%       { box-shadow: 0 0 0 4.5px rgba(90, 170, 98, 0.07); }
    }

    /* ─── Language Toggle ─── */
    .language {
      display: inline-flex;
      align-items: center;
      flex: 0 0 auto;
      gap: 2px;
      padding: 2px;
      background: var(--surface-2);
      border: 1px solid var(--ds-semantic-color-border-subtle);
      border-radius: var(--ds-semantic-radius-control, 4px);
      height: var(--ds-density-footer-control-height, 28px);
      box-sizing: border-box;
      transition: height var(--dur-fast) var(--spring), border-radius var(--dur-fast) var(--spring);
    }

    .language button {
      position: relative;
      min-width: calc(var(--ds-density-footer-control-height, 28px) - 2px);
      height: var(--ds-density-footer-btn-height, 22px);
      min-height: var(--ds-density-footer-btn-height, 22px);
      padding: 0 6px;
      border: 0;
      border-radius: max(0px, calc(var(--ds-semantic-radius-control, 4px) - 2px));
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 500;
      font-variation-settings: 'wght' 500, 'opsz' 11;
      line-height: 1;
      box-sizing: border-box;
      transition: color var(--dur-fast) var(--spring),
                  background-color var(--dur-fast) var(--spring),
                  font-variation-settings var(--dur-fast) var(--spring),
                  height var(--dur-fast) var(--spring),
                  border-radius var(--dur-fast) var(--spring);
    }

    .language button[aria-pressed="true"] {
      color: var(--ink);
      background: var(--active);
      font-weight: 600;
      font-variation-settings: 'wght' 600, 'opsz' 11;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    }

    .language button:active { scale: 0.97; transition-duration: 60ms; }
    .play:active            { scale: 0.97; transition-duration: 60ms; }
    .proof-toggle:active    { scale: 0.97; transition-duration: 60ms; }
    .fit-toggle:active      { scale: 0.97; transition-duration: 60ms; }

    /* ─── Header ─── */
    .topline {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: var(--ds-space-24);
      padding-top: 14px;
      margin: 0;
    }

    .name {
      font-family: var(--ds-font-family-heading, 'Bricolage Grotesque', sans-serif);
      font-size: clamp(2rem, 1.6rem + 2vw, 3rem);
      font-weight: 600;
      line-height: 1.10;
      letter-spacing: -0.02em;
      text-wrap: balance;
    }

    .updated {
      margin-top: var(--ds-space-x2);
      color: var(--muted);
      font-size: 12.5px;
      font-variation-settings: 'wght' 400, 'opsz' 13;
      font-variant-numeric: tabular-nums;
    }

    .updated-separator {
      margin-inline: var(--ds-space-x3);
      opacity: 0.35;
    }

    .world-times {
      display: flex;
      flex-wrap: wrap;
      column-gap: var(--ds-space-3);
      row-gap: var(--ds-space-4);
    }

    .world-time {
      display: inline-flex;
      gap: var(--ds-space-4);
      white-space: nowrap;
    }

    .world-time strong {
      color: var(--ink);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.08em;
    }

    /* ─── Intro ─── */
    .intro-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0;
      align-items: start;
      margin-top: var(--ds-density-hero-gap, var(--ds-space-48));
    }

    .intro {
      font-size: 16px;
      font-variation-settings: 'wght' 390, 'opsz' 16;
      line-height: 1.5;
    }

    .intro p + p { margin-top: var(--ds-density-copy-gap, var(--ds-space-5)); }

    .intro strong {
      font-variation-settings: 'wght' 560, 'opsz' 16;
    }

    /* ─── Stats ─── */
    .proof-points {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      margin: var(--ds-density-proof-gap, 20px) 0 0;
      padding: 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .proof-points div {
      padding: var(--ds-space-x14) var(--ds-space-x14) var(--ds-space-x15) 0;
    }

    .proof-points div + div {
      padding-left: var(--ds-space-x14);
      border-left: 1px solid var(--line);
    }

    .proof-points dt {
      font-family: Georgia, "Times New Roman", serif;
      font-size: 18px;
      font-style: italic;
      line-height: 1.2;
    }

    .proof-points dd {
      margin: var(--ds-space-4) 0 0;
      color: var(--muted);
      font-size: 10px;
      font-variation-settings: 'wght' 400, 'opsz' 11;
      line-height: 1.4;
    }

    .header-rule {
      margin-top: var(--ds-space-32);
      border-top: 1px dashed color-mix(in oklab, var(--ink) 14%, transparent);
    }

    /* ─── Video ─── */
    .intro-video {
      position: relative;
      overflow: hidden;
      aspect-ratio: 4 / 3;
      border-radius: var(--ds-semantic-radius-container);
      background: var(--hover);
    }

    .intro-video video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .video-cover {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      background: #f1f0ec;
      transition: opacity 220ms var(--spring), filter 220ms var(--spring);
    }

    .video-poster-copy {
      position: absolute;
      inset: 10px 10px auto;
      display: grid;
      gap: var(--ds-space-x5);
      pointer-events: none;
    }

    .video-poster-eyebrow {
      color: var(--ds-semantic-color-text-muted);
      font-size: 9px;
      line-height: 1.2;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .video-poster-title {
      max-width: 140px;
      font-family: var(--ds-font-family-heading, 'Bricolage Grotesque', sans-serif);
      font-size: 12px;
      font-weight: 500;
      line-height: 1.2;
      color: var(--ds-semantic-color-text-primary);
    }

    .video-poster-title em { color: var(--ds-semantic-color-action-primary); font-style: italic; }

    .intro-video.is-playing .video-cover,
    .proof-media.is-playing .video-cover {
      pointer-events: none;
      opacity: 0;
      filter: blur(4px);
    }

    .play {
      display: grid;
      width: 38px;
      height: 38px;
      place-items: center;
      padding: 0;
      border: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.96);
      color: #222;
      cursor: pointer;
      box-shadow:
        0 0 0 1px rgba(0,0,0,0.05),
        0 2px 6px rgba(0,0,0,0.1),
        0 8px 20px rgba(0,0,0,0.08);
      transition: scale var(--dur-fast) var(--spring),
                  background-color var(--dur-fast) var(--spring),
                  box-shadow var(--dur-fast) var(--spring);
    }

    .play:hover {
      background: #fff;
      box-shadow:
        0 0 0 1px rgba(0,0,0,0.06),
        0 3px 8px rgba(0,0,0,0.13),
        0 12px 26px rgba(0,0,0,0.1);
    }

    .play svg { width: 15px; height: 15px; margin-left: var(--ds-space-x2); }

    .video-note {
      display: flex;
      justify-content: space-between;
      gap: var(--ds-space-x10);
      margin-top: var(--ds-space-x7);
      color: var(--muted);
      font-size: 11px;
      font-variation-settings: 'wght' 400, 'opsz' 12;
    }

    /* ─── Sections ─── */
    section {
      margin-top: var(--ds-density-section-gap, var(--ds-space-x72));
      scroll-margin-top: calc(var(--ds-space-20) + var(--ds-space-4));
    }

    header + section { margin-top: var(--ds-space-x28); }

    .section-title {
      display: flex;
      align-items: center;
      gap: var(--ds-space-8);
      margin-bottom: var(--ds-space-8);
      color: var(--ds-semantic-color-text-primary);
      font-family: var(--ds-font-family-heading, 'Bricolage Grotesque', sans-serif);
      font-size: 1.25rem;
      font-weight: 600;
      letter-spacing: -0.015em;
      text-transform: none;
      cursor: default;
      user-select: none;
    }

    .section-title svg {
      width: 13px;
      height: 13px;
      flex: 0 0 13px;
      color: var(--muted);
      stroke-width: 1.7;
      transition: stroke-width var(--dur-fast) var(--spring),
                  color var(--dur-fast) var(--spring);
    }

    .section-title:hover svg {
      stroke-width: 2.3;
      color: var(--secondary);
    }

    .section-deck {
      max-width: 560px;
      margin: calc(var(--ds-space-x3) * -1) 0 var(--ds-space-x18);
      color: var(--muted);
      font-size: 13px;
      font-variation-settings: 'wght' 390, 'opsz' 14;
      line-height: 1.5;
    }

    /* ─── List & Rows ─── */
    .list { border-top: 1px solid var(--line); container-type: inline-size; }

    .row {
      display: grid;
      grid-template-columns: var(--ds-work-row-date, 84px) minmax(0, 1fr) var(--ds-work-row-meta, 140px);
      gap: var(--ds-semantic-space-component-default, 16px);
      align-items: start;
      min-height: 48px;
      padding: calc(var(--ds-space-x7) + var(--ds-space-x6)) var(--ds-space-8);
      margin-inline: calc(var(--ds-space-8) * -1);
      border-bottom: 1px solid var(--line);
      border-radius: var(--ds-semantic-radius-control);
      transition: background-color var(--dur-fast) var(--spring);
    }

    .project-row, .role-row { padding-block: var(--ds-density-row-gap, var(--ds-space-16)); }

    .year, .category {
      color: var(--muted);
      font-size: 13px;
      font-variation-settings: 'wght' 400, 'opsz' 14;
    }

    .year { font-variant-numeric: tabular-nums; }

    .category { text-align: right; line-height: 1.45; }

    .row-title {
      min-inline-size: 0;
      font-size: 15px;
      font-variation-settings: 'wght' 430, 'opsz' 15;
      line-height: 1.4;
      text-box: trim-both cap alphabetic;
    }

    .project-body,
    .role-body {
      min-inline-size: 0;
      display: flex;
      flex-direction: column;
      gap: var(--ds-density-detail-gap, var(--ds-space-4));
    }

    .row-desc {
      max-inline-size: 460px;
      margin: 0;
      color: var(--secondary);
      font-size: 12.5px;
      font-variation-settings: 'wght' 390, 'opsz' 14;
      line-height: 1.6;
      text-wrap: pretty;
      overflow-wrap: anywhere;
    }

    .row-desc strong {
      color: var(--ink);
      font-variation-settings: 'wght' 540, 'opsz' 14;
    }

    .row-outcome {
      display: block;
      margin-top: var(--ds-space-4);
      color: var(--secondary);
      font-size: 11px;
      font-variation-settings: 'wght' 500, 'opsz' 12;
    }

    /* ─── Project Row Hover ─── */
    .project-row { cursor: default; }

    .project-row:hover,
    .project-row:focus-within {
      background: var(--hover);
    }

    .project-row:hover .row-title a,
    .project-row:focus-within .row-title a { color: var(--blue); }

    .row-title a { text-decoration: none; }

    /* ─── Roll Links ─── */
    .roll-link {
      display: inline-block;
      overflow: hidden;
      height: 1.4em;
      vertical-align: bottom;
    }

    .roll-track {
      display: grid;
      height: 1.4em;
      overflow: hidden;
    }

    .roll-track span {
      grid-area: 1 / 1;
      display: block;
      height: 1.4em;
      white-space: nowrap;
      transform: translateY(0);
      transition: transform 160ms var(--spring);
    }

    .roll-track span:last-child { transform: translateY(100%); }

    .roll-link:hover .roll-track span:first-child,
    .roll-link:focus-visible .roll-track span:first-child { transform: translateY(-100%); }

    .roll-link:hover .roll-track span:last-child,
    .roll-link:focus-visible .roll-track span:last-child { transform: translateY(0); }

    /* Faster roll-out */
    @media (hover: hover) {
      .roll-link:not(:hover):not(:focus-visible) .roll-track span {
        transition-duration: 110ms;
      }
    }

    .roll-link:hover { color: var(--blue); }

    /* ─── Work Preview ─── */
    .work-preview {
      --preview-color: var(--blue-soft);
      position: fixed;
      z-index: 4;
      top: 46%;
      right: max(18px, calc((100vw - 690px) / 2 - 202px));
      width: 176px;
      padding: var(--ds-space-8);
      border-radius: var(--ds-semantic-radius-container);
      border: 1px solid rgba(0, 0, 0, 0.06);
      background: rgba(255, 255, 255, 0.98);
      opacity: 0;
      filter: blur(4px);
      pointer-events: none;
      transform: translateY(8px) scale(0.98);
      box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.08);
      transition: opacity 160ms var(--spring),
                  filter 160ms var(--spring),
                  transform 160ms var(--spring);
    }

    .work-preview:not(.is-visible) { transition-duration: 110ms; }

    .work-preview.is-visible {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0) scale(1);
    }

    .preview-field {
      display: grid;
      aspect-ratio: 4 / 3;
      place-items: center;
      border-radius: var(--ds-semantic-radius-control);
      background: var(--preview-color);
      color: rgba(28, 28, 27, 0.6);
      font-size: 28px;
      font-variation-settings: 'wght' 540, 'opsz' 28;
      outline: 1px solid rgba(0, 0, 0, 0.07);
      outline-offset: -1px;
    }

    .preview-meta {
      display: grid;
      grid-template-columns: 24px minmax(0, 1fr);
      gap: var(--ds-space-x7);
      margin-top: var(--ds-space-8);
      font-size: 11px;
      font-variation-settings: 'wght' 400, 'opsz' 12;
      line-height: 1.35;
    }

    .preview-index, .preview-kind { color: var(--muted); }
    .preview-index { font-variant-numeric: tabular-nums; }
    .preview-title { font-variation-settings: 'wght' 530, 'opsz' 12; }
    .preview-kind { grid-column: 2; margin-top: calc(var(--ds-space-x3) - var(--ds-space-x2)); }

    /* ─── Tags ─── */
    .tag {
      display: inline-flex;
      align-items: center;
      min-height: 20px;
      margin-left: var(--ds-space-x7);
      padding: calc(var(--ds-space-x3) - var(--ds-space-x2)) var(--ds-space-x6) var(--ds-space-x2);
      border-radius: var(--ds-semantic-radius-control);
      font-size: 10.5px;
      font-variation-settings: 'wght' 490, 'opsz' 12;
      line-height: 1;
      vertical-align: 1px;
    }

    .tag.blue {
      background: var(--blue-soft);
      color: var(--blue);
    }

    .tag.orange {
      background: var(--orange-soft);
      color: var(--orange);
    }

    /* ─── Disclosure / Proof Panel ─── */
    .proof-toggle {
      display: inline-flex;
      align-items: center;
      gap: var(--ds-space-x6);
      min-height: 40px;
      margin: calc(var(--ds-space-x9) * -1) 0 calc(var(--ds-space-x9) * -1) calc(var(--ds-space-8) * -1);
      padding: 0 var(--ds-space-8);
      border: 0;
      background: transparent;
      color: var(--blue);
      cursor: pointer;
      font-size: 12px;
      font-variation-settings: 'wght' 460, 'opsz' 14;
      transition: color var(--dur-fast) var(--spring);
    }

    .category .proof-toggle {
      min-inline-size: 0;
      max-inline-size: 100%;
      height: auto;
      margin-inline: 0;
      justify-content: flex-end;
      text-align: end;
      white-space: normal;
    }

    .proof-toggle:hover { color: color-mix(in oklab, var(--blue) 80%, black); }

    .proof-icon { position: relative; width: 14px; height: 14px; }

    .proof-icon svg {
      position: absolute;
      inset: 0;
      width: 14px;
      height: 14px;
      transition: opacity 240ms var(--spring),
                  filter 240ms var(--spring),
                  scale 240ms var(--spring);
    }

    .proof-icon .close-icon,
    .experience-row.is-open .proof-icon .play-icon {
      opacity: 0; filter: blur(4px); scale: 0.25;
    }

    .experience-row.is-open .proof-icon .close-icon {
      opacity: 1; filter: blur(0); scale: 1;
    }

    .proof-panel {
      grid-column: 2 / 4;
      display: grid;
      grid-template-rows: 0fr;
      overflow: hidden;
      opacity: 0;
      transform: translateY(-4px);
      transition: grid-template-rows 220ms var(--spring),
                  opacity 220ms var(--spring),
                  transform 220ms var(--spring);
    }

    .experience-row.is-open .proof-panel {
      grid-template-rows: 1fr;
      opacity: 1;
      transform: translateY(0);
    }

    /* Faster close */
    .experience-row:not(.is-open) .proof-panel {
      transition-duration: 150ms;
    }

    .proof-inner { min-height: 0; overflow: hidden; }

    .proof-content {
      display: grid;
      grid-template-columns: 210px minmax(0, 1fr);
      gap: var(--ds-space-5);
      align-items: center;
      margin-top: var(--ds-space-x10);
      padding: var(--ds-space-16) 0 var(--ds-space-x3);
      border-top: 1px solid var(--line);
    }

    .proof-media {
      position: relative;
      overflow: hidden;
      aspect-ratio: 16 / 9;
      border-radius: var(--ds-semantic-radius-control);
      background: var(--hover);
    }

    .proof-media video { width: 100%; height: 100%; object-fit: cover; }

    .proof-media .video-cover {
      background:
        linear-gradient(rgba(251, 251, 250, 0.08), rgba(32, 32, 31, 0.28)),
        url("https://cdn.dribbble.com/userupload/17228857/file/original-916b1cf0ad5dedacce7b7152fac405a3.png?resize=752x&vertical=center") center / cover;
    }

    .proof-copy {
      color: var(--secondary);
      font-size: 13px;
      font-variation-settings: 'wght' 390, 'opsz' 14;
      line-height: 1.6;
    }

    .proof-by {
      margin-top: var(--ds-space-x7);
      color: var(--muted);
      font-size: 11px;
      font-variation-settings: 'wght' 400, 'opsz' 12;
    }

    /* ─── Off Screen / Photos ─── */
    .offscreen { margin-top: calc(var(--ds-space-x72) + var(--ds-space-x6)); }

    .photo-strip {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      margin: var(--ds-space-16) calc(var(--ds-space-x36) * -1) 0;
      padding: var(--ds-space-5) var(--ds-space-x30) var(--ds-space-4);
      overflow: hidden;
    }

    .photo {
      position: relative;
      flex: 0 0 128px;
      padding: var(--ds-space-x7) var(--ds-space-x7) calc(var(--ds-space-x15) + var(--ds-space-4));
      background: #fff;
      box-shadow:
        0 0 0 1px rgba(0,0,0,0.05),
        0 2px 5px rgba(0,0,0,0.07),
        0 10px 20px rgba(0,0,0,0.05);
      text-decoration: none;
      transition: transform 160ms var(--spring),
                  box-shadow 160ms var(--spring);
    }

    .photo + .photo { margin-left: calc(var(--ds-space-x14) * -1); }

    .photo:nth-child(1) { transform: rotate(-6deg) translateY(8px); }
    .photo:nth-child(2) { transform: rotate(-2deg); }
    .photo:nth-child(3) { transform: rotate(2deg) translateY(5px); }
    .photo:nth-child(4) { transform: rotate(5deg) translateY(10px); }

    .photo:hover {
      z-index: 2;
      transform: rotate(0) translateY(-10px) scale(1.02);
      box-shadow:
        0 0 0 1px rgba(0,0,0,0.07),
        0 4px 10px rgba(0,0,0,0.11),
        0 20px 32px rgba(0,0,0,0.1);
      transition-duration: 120ms;
    }

    .photo:active { transform: rotate(0) translateY(-5px) scale(0.98); }

    .photo picture { display: block; width: 100%; }
    .photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

    /* ─── Contact ─── */
    .contact {
      display: grid;
      grid-template-columns: 84px minmax(0, 1fr);
      gap: var(--ds-space-16);
      padding-top: calc(var(--ds-space-x7) + var(--ds-space-x6));
      border-top: 1px solid var(--line);
    }

    .contact-copy {
      max-width: 500px;
      font-size: 15px;
      font-variation-settings: 'wght' 390, 'opsz' 15;
      line-height: 1.57;
    }

    .fit { margin-top: var(--ds-space-x9); }

    .fit-toggle {
      display: inline-flex;
      align-items: center;
      gap: var(--ds-space-x6);
      min-height: 40px;
      margin-left: calc(var(--ds-space-8) * -1);
      padding: 0 var(--ds-space-8);
      border: 0;
      background: transparent;
      color: var(--blue);
      cursor: pointer;
      font-size: 13px;
      font-variation-settings: 'wght' 460, 'opsz' 14;
      transition: color var(--dur-fast) var(--spring);
    }

    .fit-toggle:hover { color: color-mix(in oklab, var(--blue) 80%, black); }

    .fit-icon { position: relative; width: 14px; height: 14px; }

    .fit-icon svg {
      position: absolute;
      inset: 0;
      width: 14px;
      height: 14px;
      transition: opacity 240ms var(--spring),
                  filter 240ms var(--spring),
                  scale 240ms var(--spring);
    }

    .fit-icon .close-icon,
    .fit.is-open .fit-icon .plus-icon {
      opacity: 0; filter: blur(4px); scale: 0.25;
    }

    .fit.is-open .fit-icon .close-icon {
      opacity: 1; filter: blur(0); scale: 1;
    }

    .fit-panel {
      display: grid;
      grid-template-rows: 0fr;
      overflow: hidden;
      opacity: 0;
      transform: translateY(-4px);
      transition: grid-template-rows 220ms var(--spring),
                  opacity 220ms var(--spring),
                  transform 220ms var(--spring);
    }

    .fit.is-open .fit-panel {
      grid-template-rows: 1fr;
      opacity: 1;
      transform: translateY(0);
    }

    .fit:not(.is-open) .fit-panel { transition-duration: 150ms; }

    .fit-inner { min-height: 0; overflow: hidden; }

    .fit-copy {
      max-width: 500px;
      padding: var(--ds-space-x2) 0 var(--ds-space-4);
      color: var(--secondary);
      font-size: 13px;
      font-variation-settings: 'wght' 390, 'opsz' 14;
      line-height: 1.6;
    }

    .contact-links {
      display: flex;
      flex-wrap: wrap;
      gap: var(--ds-space-8) var(--ds-space-x18);
      margin-top: var(--ds-space-x18);
      font-size: var(--ds-font-size-f14, 0.875rem);
      font-variation-settings: 'wght' 440, 'opsz' 14;
    }

    /* ─── Footer ─── */
    footer {
      display: flex;
      justify-content: space-between;
      gap: var(--ds-space-5);
      margin-top: calc(var(--ds-space-x72) + var(--ds-space-4));
      padding-top: var(--ds-space-12);
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 11px;
      font-variation-settings: 'wght' 400, 'opsz' 12;
    }

    /* ─── Focus ─── */
    :focus-visible {
      outline: 1.5px solid var(--blue);
      outline-offset: 2px;
    }

    /* ─── Responsive ─── */
    @media (max-width: 620px) {
      .page {
        width: min(100% - 32px, 520px);
        padding-top: var(--ds-density-page-start, calc(var(--ds-space-x88) + var(--ds-space-x6)));
      }

      .floating-nav { top: 12px; }

      .intro-grid {
        grid-template-columns: 1fr;
        gap: var(--ds-space-x28);
        margin-top: calc(var(--ds-space-x36) + var(--ds-space-x2));
      }

      .intro-focus { width: min(100%, 220px); }

      .proof-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: calc(var(--ds-space-x36) + var(--ds-space-x2));
      }

      .proof-points div:nth-child(3) { padding-left: 0; border-left: 0; }
      .proof-points div:nth-child(n + 3) { border-top: 1px solid var(--line); }

      section { margin-top: calc(var(--ds-space-x56) + var(--ds-space-4)); }

      .row {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: var(--ds-space-12);
        padding-inline: var(--ds-space-x5);
        margin-inline: calc(var(--ds-space-x5) * -1);
      }

      .category { grid-column: 2; text-align: left; }
      .proof-panel { grid-column: 2; }
      .proof-content { grid-template-columns: 1fr; }

      .photo-strip {
        justify-content: flex-start;
        margin-inline: calc(var(--ds-space-16) * -1);
        padding-inline: var(--ds-space-24);
        overflow-x: auto;
        scrollbar-width: none;
        /* Scroll fade hint */
        mask-image: linear-gradient(
          to right,
          transparent 0,
          black 28px,
          black calc(100% - 28px),
          transparent 100%
        );
        -webkit-mask-image: linear-gradient(
          to right,
          transparent 0,
          black 28px,
          black calc(100% - 28px),
          transparent 100%
        );
      }

      .photo-strip::-webkit-scrollbar { display: none; }
      .photo { flex-basis: 118px; }

      .roll-link { overflow: visible; height: auto; }
      .roll-track { height: auto; overflow: visible; }
      .roll-track span { height: auto; white-space: normal; }
      .roll-track span:last-child { display: none; }
      .roll-link:hover .roll-track span:first-child,
      .roll-link:focus-visible .roll-track span:first-child { transform: none; }

      .contact { grid-template-columns: 72px minmax(0, 1fr); gap: var(--ds-space-12); }
    }

    @media (max-width: 1119px) { .work-preview { display: none; } }

    @media (max-width: 400px) {
      body { font-size: 14px; }
      .row, .contact { grid-template-columns: 1fr; gap: var(--ds-space-4); }
      .category, .proof-panel { grid-column: 1; }
      .intro { font-size: 15px; }
    }

    /* ─── Fluid Functionalism workspace ─── */
    :root {
      color-scheme: light dark;
      --paper: #fafafa;
      --surface-1: #ffffff;
      --surface-2: #f5f5f5;
      --surface-3: #eeeeee;
      --surface-4: #d4d4d4;
      --ink: #0f0f0f;
      --secondary: #525252;
      --muted: #737373;
      --quiet: #a3a3a3;
      --line: rgba(0, 0, 0, 0.10);
      --line-strong: rgba(0, 0, 0, 0.18);
      --hover: rgba(225, 244, 53, 0.18);
      --active: rgba(225, 244, 53, 0.28);
      --blue: #68720d;
      --blue-soft: rgba(225, 244, 53, 0.24);
      --orange: #ea580c;
      --orange-soft: #fff7ed;
      --focus: #68720d;
      --image-outline: rgba(0, 0, 0, 0.1);
      --floating-bg: rgba(255, 255, 255, 0.88);
      --floating-bg-strong: rgba(255, 255, 255, 0.98);
      --space-1: var(--ds-space-4);
      --space-2: var(--ds-space-8);
      --space-3: var(--ds-space-12);
      --space-4: var(--ds-space-16);
      --space-5: var(--ds-space-5);
      --space-6: var(--ds-space-24);
      --space-8: var(--ds-space-32);
      --radius-control: var(--ds-semantic-radius-control);
      --radius-panel: var(--ds-semantic-radius-container);
      --spring: cubic-bezier(0.2, 0, 0, 1);
      --spring-enter: cubic-bezier(0.22, 1, 0.36, 1);
      --dur-fast: 80ms;
      --dur-moderate: 160ms;
      --dur-slow: 240ms;
      --exit-fast: 60ms;
      --exit-moderate: 120ms;
      --exit-slow: 160ms;
      --shadow-surface:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 0 1px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.03);
      --shadow-surface-hover:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(0, 0, 0, 0.07),
        0 2px 6px rgba(0, 0, 0, 0.05);
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) {
        color-scheme: dark;
        --paper: #000000;
        --surface-1: #000000;
        --surface-2: #0f0f0f;
        --surface-3: #171717;
        --surface-4: #222222;
        --ink: #ffffff;
        --secondary: #bfbfbf;
        --muted: #858585;
        --quiet: #666666;
        --line: rgba(255, 255, 255, 0.10);
        --line-strong: rgba(255, 255, 255, 0.18);
        --hover: rgba(225, 244, 53, 0.08);
        --active: rgba(225, 244, 53, 0.14);
        --blue: #e1f435;
        --blue-soft: rgba(225, 244, 53, 0.14);
        --orange: #fb923c;
        --orange-soft: rgba(251, 146, 60, 0.14);
        --focus: #e1f435;
        --image-outline: rgba(255, 255, 255, 0.1);
        --floating-bg: rgba(6, 6, 6, 0.88);
        --floating-bg-strong: rgba(6, 6, 6, 0.98);
        --shadow-surface:
          inset 0 1px 0 rgba(255, 255, 255, 0.03),
          0 0 0 1px rgba(0, 0, 0, 0.28),
          0 1px 2px rgba(0, 0, 0, 0.45);
        --shadow-surface-hover:
          inset 0 1px 0 rgba(255, 255, 255, 0.05),
          0 0 0 1px rgba(255, 255, 255, 0.08),
          0 2px 4px rgba(0, 0, 0, 0.52);
      }
    }

    :root[data-theme="light"] {
      color-scheme: light;
      --paper: #fafafa;
      --surface-1: #ffffff;
      --surface-2: #f5f5f5;
      --surface-3: #eeeeee;
      --surface-4: #d4d4d4;
      --ink: #0f0f0f;
      --secondary: #525252;
      --muted: #737373;
      --quiet: #a3a3a3;
      --line: rgba(0, 0, 0, 0.10);
      --line-strong: rgba(0, 0, 0, 0.18);
      --hover: rgba(225, 244, 53, 0.18);
      --active: rgba(225, 244, 53, 0.28);
      --blue: #68720d;
      --blue-soft: rgba(225, 244, 53, 0.24);
      --orange: #ea580c;
      --orange-soft: #fff7ed;
      --focus: #68720d;
      --image-outline: rgba(0, 0, 0, 0.1);
      --floating-bg: rgba(255, 255, 255, 0.88);
      --floating-bg-strong: rgba(255, 255, 255, 0.98);
    }

    :root[data-theme="dark"] {
      color-scheme: dark;
      --paper: #000000;
      --surface-1: #000000;
      --surface-2: #0f0f0f;
      --surface-3: #171717;
      --surface-4: #222222;
      --ink: #ffffff;
      --secondary: #bfbfbf;
      --muted: #858585;
      --quiet: #666666;
      --line: rgba(255, 255, 255, 0.10);
      --line-strong: rgba(255, 255, 255, 0.18);
      --hover: rgba(225, 244, 53, 0.08);
      --active: rgba(225, 244, 53, 0.14);
      --blue: #e1f435;
      --blue-soft: rgba(225, 244, 53, 0.14);
      --orange: #fb923c;
      --orange-soft: rgba(251, 146, 60, 0.14);
      --focus: #e1f435;
      --image-outline: rgba(255, 255, 255, 0.1);
      --floating-bg: rgba(6, 6, 6, 0.88);
      --floating-bg-strong: rgba(6, 6, 6, 0.98);
      --shadow-surface:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 0 0 1px rgba(0, 0, 0, 0.28),
        0 1px 2px rgba(0, 0, 0, 0.45);
      --shadow-surface-hover:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.52);
    }

    body {
      min-height: 100vh;
      background: var(--surface-1);
      color: var(--ink);
      overscroll-behavior-y: none;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    html.is-theme-changing body,
    html.is-theme-changing .page > header,
    html.is-theme-changing .page > section,
    html.is-theme-changing .context-card,
    html.is-theme-changing .work-preview,
    html.is-theme-changing .floating-nav {
      transition:
        background-color 180ms var(--spring),
        border-color 180ms var(--spring),
        color 180ms var(--spring),
        box-shadow 180ms var(--spring);
    }

    a:focus-visible,
    button:focus-visible {
      outline: 1px solid var(--focus);
      outline-offset: 2px;
    }

    .workspace-sidebar,
    .context-rail {
      display: none;
    }

    .page {
      width: 100%;
      min-width: 0;
      margin: 0;
      padding: 0;
      gap: 0;
    }

    .page > header,
    .page > section {
      position: relative;
      margin-top: var(--ds-density-section-gap, var(--ds-space-48, 48px));
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      overflow: visible;
    }

    .page > header {
      margin-top: 0;
      padding: 0;
    }

    .topline {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: var(--ds-space-24);
      margin: 0;
      padding-top: 14px;
    }

    .name {
      font-family: var(--ds-font-family-heading, 'Bricolage Grotesque', sans-serif);
      font-size: clamp(2.25rem, 1.8rem + 1.2vw, 2.75rem);
      font-style: normal;
      font-weight: 600;
      letter-spacing: -0.025em;
      line-height: 1.12;
      text-wrap: balance;
      color: var(--ds-semantic-color-text-primary);
    }

    .updated {
      margin-top: var(--ds-space-x6);
      color: var(--ds-semantic-color-text-secondary);
      font-size: 12px;
      font-variant-numeric: tabular-nums;
      display: flex;
      align-items: center;
      gap: var(--ds-space-4);
    }

    .updated.world-times {
      display: grid;
      grid-template-columns: minmax(0, 1fr) max-content max-content;
      align-items: center;
      column-gap: clamp(24px, 5vw, 52px);
      row-gap: 0;
      width: 100%;
      max-inline-size: 100%;
      margin-top: var(--ds-space-16, 16px);
    }

    .updated.world-times .world-time {
      display: grid;
      grid-template-columns: 28px minmax(0, 1fr);
      align-items: center;
      gap: 10px;
      min-inline-size: 0;
      white-space: nowrap;
    }

    .updated.world-times .world-time:not(.world-time--home) {
      justify-self: end;
    }

    .world-time__copy {
      display: grid;
      gap: 3px;
      min-inline-size: 0;
    }

    .updated.world-times .world-time strong {
      color: var(--ds-semantic-color-text-primary);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: -0.01em;
      line-height: 16px;
    }

    .updated.world-times time {
      display: block;
      font-variant-numeric: tabular-nums;
    }

    .world-time__clock {
      color: var(--ds-semantic-color-text-muted);
      font-size: 12px;
      line-height: 16px;
    }

    .world-time__zone {
      color: inherit;
    }

    .mini-clock {
      position: relative;
      width: 28px;
      height: 28px;
      color: var(--ds-semantic-color-text-secondary);
      background:
        radial-gradient(circle at 50% 1px, currentColor 1px, transparent 1.5px),
        radial-gradient(circle at calc(100% - 1px) 50%, currentColor 1px, transparent 1.5px),
        radial-gradient(circle at 50% calc(100% - 1px), currentColor 1px, transparent 1.5px),
        radial-gradient(circle at 1px 50%, currentColor 1px, transparent 1.5px);
      opacity: 0.9;
    }

    .mini-clock__hand {
      position: absolute;
      left: calc(50% - 0.5px);
      bottom: 50%;
      display: block;
      width: 1px;
      border-radius: 1px;
      background: currentColor;
      transform-origin: 50% 100%;
    }

    .mini-clock__hand--hour {
      height: 7px;
      transform: rotate(var(--clock-hour, 0deg));
    }

    .mini-clock__hand--minute {
      height: 10px;
      transform: rotate(var(--clock-minute, 0deg));
    }

    .intro-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0;
      margin-top: var(--ds-density-hero-gap, var(--ds-space-32, 32px));
      align-items: start;
    }

    .intro {
      color: var(--ds-semantic-color-text-secondary);
      font-size: 16px;
      line-height: 1.55;
      text-wrap: pretty;
      max-inline-size: var(--ds-measure-reading, 37.5rem);
    }

    .row-desc + .row-desc {
      margin-top: var(--ds-space-8, 8px);
    }

    .intro p {
      color: var(--ds-semantic-color-text-secondary);
    }

    .intro p[data-i18n="introOne"],
    .intro p:first-child {
      font-size: var(--ds-font-size-f18, 1.125rem);
      line-height: 28px;
      font-weight: 400;
      color: var(--ds-semantic-color-text-secondary);
    }

    .intro p + p {
      margin-top: var(--ds-density-copy-gap, var(--ds-space-12, 12px));
    }

    .intro strong {
      color: var(--ds-semantic-color-text-primary);
      font-weight: 600;
      font-variation-settings: 'wght' 600;
    }

    .intro a {
      color: var(--ds-semantic-color-text-primary);
      text-decoration: underline;
      text-decoration-color: var(--ds-semantic-color-border-strong);
      text-underline-offset: 3px;
    }

    .home-about-copy {
      max-inline-size: var(--ds-measure-reading, 37.5rem);
      color: var(--ds-semantic-color-text-secondary);
      font-size: 15px;
      line-height: 1.62;
      text-wrap: pretty;
    }

    .home-about-copy p {
      margin: 0;
    }

    .home-about-copy p + p {
      margin-top: var(--ds-density-copy-gap, var(--ds-space-16, 16px));
    }

    .home-about-copy strong {
      color: var(--ds-semantic-color-text-primary);
      font-weight: 600;
    }

    .intro-focus {
      min-height: auto;
      display: flex;
      flex-direction: column;
      gap: var(--ds-density-detail-gap, 8px);
      padding: var(--ds-density-detail-gap, 4px) 0 var(--ds-density-detail-gap, 4px) var(--ds-density-row-gap, 14px);
      border-left: 1px solid var(--ds-semantic-color-border-base);
      color: var(--ds-semantic-color-text-secondary);
    }

    .intro-focus__label,
    .intro-focus__meta {
      color: var(--ds-semantic-color-text-muted);
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.1em;
      line-height: 1.4;
      text-transform: uppercase;
    }

    .intro-focus strong {
      color: var(--ds-semantic-color-text-primary);
      font-family: var(--ds-font-family-heading);
      font-size: 14px;
      font-weight: 600;
      line-height: 1.25;
    }

    .intro-portrait {
      width: 104px;
      aspect-ratio: 1;
      margin: 0 0 var(--ds-space-12, 12px);
      overflow: hidden;
      background: transparent;
    }

    .intro-portrait__stack {
      position: relative;
      display: block;
      width: 100%;
      height: 100%;
      transform: scale(1.045);
      -webkit-mask-image: radial-gradient(ellipse 72% 76% at 50% 48%, #000 66%, transparent 100%);
      mask-image: radial-gradient(ellipse 72% 76% at 50% 48%, #000 66%, transparent 100%);
    }

    .intro-portrait__theme {
      position: absolute;
      inset: 0;
      display: block;
      opacity: 0;
      transition: opacity 160ms var(--ds-motion-easing-standard);
    }

    .intro-portrait__theme--light {
      opacity: 1;
    }

    .intro-portrait__image {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 140ms var(--ds-motion-easing-standard);
    }

    .intro-portrait[data-gaze="left"] .intro-portrait__image[data-pose="left"],
    .intro-portrait[data-gaze="center"] .intro-portrait__image[data-pose="center"],
    .intro-portrait[data-gaze="right"] .intro-portrait__image[data-pose="right"] {
      opacity: 1;
    }

    .intro-portrait__theme--dark {
      mix-blend-mode: lighten;
    }

    :root[data-theme="dark"] .intro-portrait__theme--light {
      opacity: 0;
    }

    :root[data-theme="dark"] .intro-portrait__theme--dark {
      opacity: 1;
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .intro-portrait__theme--light {
        opacity: 0;
      }

      :root:not([data-theme="light"]) .intro-portrait__theme--dark {
        opacity: 1;
      }
    }

    .video-cover {
      background: var(--ds-semantic-color-background-sunken);
    }

    .play {
      background: var(--surface-4);
      color: var(--ink);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 0 0 1px rgba(255, 255, 255, 0.09),
        0 8px 22px rgba(0, 0, 0, 0.38);
    }

    .play:hover {
      background: var(--surface-4);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        0 0 0 1px rgba(255, 255, 255, 0.14),
        0 10px 26px rgba(0, 0, 0, 0.48);
    }

    .language button:active,
    .play:active,
    .proof-toggle:active,
    .fit-toggle:active,
    .rail-action:active {
      scale: 0.96;
    }

    .video-note {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: var(--ds-space-x6);
      color: var(--ds-semantic-color-text-muted);
      font-size: 12px;
      line-height: 16px;
    }

    .video-unavailable-badge {
      position: absolute;
      inset: auto 10px 10px;
      width: fit-content;
      padding: var(--ds-space-4) var(--ds-space-8);
      border-radius: var(--ds-semantic-radius-control, 8px);
      background: var(--ds-semantic-color-background-raised);
      color: var(--ds-semantic-color-text-secondary);
      font-size: var(--ds-font-size-f11, 0.6875rem);
      font-weight: 500;
      line-height: 16px;
      box-shadow: 0 0 0 1px var(--ds-semantic-color-border-base);
    }

    .proof-points {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      margin: var(--ds-density-proof-gap, 20px) 0 0;
      padding: 0;
      border-top: 1px solid var(--ds-semantic-color-border-subtle);
      border-bottom: 1px solid var(--ds-semantic-color-border-subtle);
      gap: 0;
    }

    .proof-points div {
      min-height: auto;
      padding: var(--ds-density-metric-padding, 12px 12px 14px 0);
      border: 0;
      background: transparent;
    }

    .proof-points div + div {
      border-left: 1px solid var(--ds-semantic-color-border-subtle);
    }

    .proof-points dt {
      color: var(--ds-semantic-color-text-primary);
      font-family: var(--ds-font-family-heading);
      font-size: 1.75rem;
      font-style: normal;
      font-weight: 600;
      letter-spacing: -0.02em;
      line-height: 1.15;
    }

    .proof-points dd {
      margin-top: var(--ds-space-4);
      color: var(--ds-semantic-color-text-secondary);
      font-size: 12px;
      line-height: 16px;
    }

    .header-rule {
      display: none;
    }

    .page > section {
      scroll-margin-top: var(--ds-space-5);
    }

    .section-title {
      min-height: auto;
      margin: 0 0 var(--ds-density-detail-gap, var(--ds-space-x6, 6px));
      padding: 0;
      color: var(--ds-semantic-color-text-primary);
      font-size: 1.25rem;
      font-weight: 600;
      letter-spacing: -0.015em;
      display: flex;
      align-items: center;
      gap: var(--ds-space-8, 8px);
    }

    .section-title svg {
      display: block;
      color: var(--ds-semantic-color-text-secondary);
      stroke-width: 1.5;
    }

    .section-title:hover svg,
    .page > section:focus-within .section-title svg {
      color: var(--ds-semantic-color-text-primary);
      stroke-width: 2;
    }

    .section-deck {
      max-inline-size: var(--ds-measure-reading, 37.5rem);
      margin: 0 0 var(--ds-density-deck-gap, var(--ds-space-16, 16px));
      padding: 0;
      color: var(--ds-semantic-color-text-secondary);
      font-size: 14px;
      line-height: 1.5;
      text-wrap: pretty;
    }

    .experiment-portal {
      display: grid;
      grid-template-columns: 132px minmax(0, 1fr) auto;
      min-height: var(--ds-density-experiment-height, 104px);
      align-items: center;
      gap: var(--ds-density-row-gap, var(--ds-space-16));
      padding: var(--ds-density-content-inset, var(--ds-space-12)) 0;
      border: 0;
      border-top: 1px solid var(--ds-semantic-color-border-subtle);
      border-bottom: 1px solid var(--ds-semantic-color-border-subtle);
      border-radius: 0;
      color: inherit;
      text-decoration: none;
      transition: color var(--dur-fast) var(--spring);
    }

    .experiment-portal:hover,
    .experiment-portal:focus-visible {
      background: transparent;
    }

    .experiment-portal:active { transform: scale(0.98); }

    .experiment-portal-visual {
      position: relative;
      display: grid;
      height: var(--ds-density-experiment-visual-height, 72px);
      place-items: center;
      overflow: hidden;
      border-radius: var(--ds-semantic-radius-control, 6px);
      background: var(--ds-semantic-color-background-sunken);
      box-shadow: inset 0 0 0 1px var(--ds-semantic-color-border-subtle);
    }

    .experiment-pixels {
      display: grid;
      grid-template-columns: repeat(3, 5px);
      gap: var(--ds-space-2);
    }

    .experiment-pixels i {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--ds-semantic-color-text-primary);
      opacity: 0.14;
      animation: experiment-pixel 900ms ease-in-out calc(var(--i) * 90ms) infinite;
    }

    @keyframes experiment-pixel {
      30%, 55% { opacity: 0.9; transform: scale(1.08); }
    }

    .experiment-portal-copy { min-inline-size: 0; }
    .experiment-portal-copy strong {
      display: block;
      color: var(--ds-semantic-color-text-primary);
      font-size: 15px;
      text-wrap: balance;
      overflow-wrap: anywhere;
    }
    .experiment-portal-copy span {
      display: block;
      margin-block-start: var(--ds-space-x3);
      color: var(--ds-semantic-color-text-secondary);
      font-size: 13px;
      text-wrap: pretty;
      overflow-wrap: anywhere;
    }
    .experiment-portal-action { color: var(--ds-semantic-color-text-secondary); font-size: 13px; white-space: nowrap; }

    @media (max-width: 540px) {
      .experiment-portal { grid-template-columns: 86px minmax(0, 1fr); }
      .experiment-portal-action { display: none; }
    }

    .list {
      position: relative;
      border-top: 0;
      display: flex;
      flex-direction: column;
    }

    .row {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 84px minmax(0, 1fr) 140px;
      gap: var(--ds-density-row-gap, var(--ds-space-16, 16px));
      min-height: auto;
      margin: 0;
      padding: var(--ds-density-row-padding, var(--ds-space-16, 16px) 0);
      border-top: 1px solid var(--ds-semantic-color-border-subtle);
      border-radius: 0;
      background: transparent;
      align-items: baseline;
      transition:
        color var(--dur-fast) var(--spring),
        border-color var(--dur-fast) var(--spring);
    }

    #writing .row {
      display: grid;
      grid-template-columns: 84px minmax(0, 1fr) 140px;
      justify-content: stretch;
      width: 100%;
    }

    .row:last-child {
      border-bottom: 1px solid var(--ds-semantic-color-border-subtle);
    }

    .row:hover,
    .row:focus-within,
    .project-row:hover,
    .project-row:focus-within {
      background: transparent;
    }

    .year {
      color: var(--ds-semantic-color-text-muted);
      font-size: 13px;
      font-variant-numeric: tabular-nums;
    }

    .category {
      color: var(--ds-semantic-color-text-secondary);
      font-size: 13px;
      text-align: right;
      line-height: 1.35;
    }

    .category .row-outcome {
      display: block;
      color: var(--ds-semantic-color-text-primary);
      font-weight: 500;
      margin-top: var(--ds-space-x2);
    }

    .row-title {
      min-inline-size: 0;
      color: var(--ds-semantic-color-text-primary);
      font-size: 16px;
      font-weight: 550;
      line-height: 1.35;
      text-wrap: balance;
      display: flex;
      align-items: baseline;
      flex-wrap: wrap;
      gap: var(--ds-space-8);
    }

    .row-desc {
      color: var(--ds-semantic-color-text-secondary);
      font-size: 14px;
      line-height: 1.55;
      margin: 0;
      text-wrap: pretty;
      overflow-wrap: anywhere;
      max-inline-size: var(--ds-measure-reading, 37.5rem);
    }

    .work-period-mobile {
      display: none;
    }

    #work .row {
      grid-template-columns: 116px 40px minmax(0, 1fr) 128px;
      align-items: start;
    }

    #work .year {
      white-space: nowrap;
    }

    #work .work-mark {
      display: grid;
      width: 40px;
      height: 40px;
      place-items: center;
      background: transparent;
    }

    #work .work-logo {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      outline: 0;
      mix-blend-mode: multiply;
    }

    :root[data-theme="dark"] #work .work-logo {
      filter: invert(1);
      mix-blend-mode: screen;
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) #work .work-logo {
        filter: invert(1);
        mix-blend-mode: screen;
      }
    }

    #work .project-body,
    #work .role-body {
      gap: 0;
    }

    .work-place {
      margin: 3px 0 0;
      color: var(--ds-semantic-color-text-secondary);
      font-size: 13px;
      line-height: 1.4;
    }

    .work-place a {
      color: inherit;
      text-decoration-color: color-mix(in oklab, currentColor 45%, transparent);
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
    }

    .work-place a:hover,
    .work-place a:focus-visible {
      color: var(--blue);
      text-decoration-color: currentColor;
    }

    #work .row-desc {
      margin-top: 12px;
    }

    .row-outcome {
      color: var(--ds-semantic-color-text-secondary);
    }

    .project-row:hover .row-title a,
    .project-row:focus-within .row-title a {
      color: var(--ds-semantic-color-text-primary);
    }

    .roll-link:hover,
    .roll-link:focus-visible {
      color: var(--ds-semantic-color-text-primary);
    }

    .tag,
    .tag.blue.ds-badge {
      display: inline-flex;
      align-items: center;
      padding: calc(var(--ds-space-x3) - var(--ds-space-x2)) var(--ds-space-x6);
      font-size: 11px;
      font-weight: 500;
      line-height: 1.3;
      border-radius: var(--ds-semantic-radius-control, 4px);
      background: var(--ds-semantic-color-background-sunken);
      border: 1px solid var(--ds-semantic-color-border-subtle);
      color: var(--ds-semantic-color-text-secondary);
    }

    .proof-toggle,
    .fit-toggle {
      color: var(--secondary);
      transition:
        color var(--dur-fast) var(--spring),
        background-color var(--dur-fast) var(--spring),
        scale var(--dur-fast) var(--spring);
    }

    .proof-toggle:hover,
    .fit-toggle:hover {
      color: var(--ink);
      background: var(--hover);
    }

    .proof-content {
      margin-top: var(--ds-density-detail-gap, var(--ds-space-8));
      padding: var(--ds-density-content-inset, var(--ds-space-12));
      border-top: 1px solid var(--line);
      border-radius: var(--radius-control);
      background: var(--surface-3);
    }

    .proof-media {
      border-radius: var(--ds-semantic-radius-control);
      outline: 1px solid var(--image-outline);
      outline-offset: -1px;
    }

    .proof-panel,
    .fit-panel {
      transition:
        grid-template-rows 220ms var(--spring),
        opacity var(--dur-moderate) var(--spring),
        transform var(--dur-moderate) var(--spring);
    }

    .experience-row:not(.is-open) .proof-panel,
    .fit:not(.is-open) .fit-panel {
      transition-duration: var(--exit-slow), var(--exit-moderate), var(--exit-moderate);
    }

    .contact {
      grid-template-columns: 132px minmax(0, 1fr);
      gap: clamp(var(--ds-space-24, 24px), 5vw, var(--ds-space-64, 64px));
      padding: var(--ds-space-24, 24px) 0 0;
    }

    .contact-meta {
      display: grid;
      align-content: start;
      gap: var(--ds-space-8, 8px);
      padding-top: var(--ds-space-4, 4px);
    }

    .contact-availability {
      display: inline-flex;
      align-items: center;
      gap: var(--ds-space-8, 8px);
      color: var(--ds-semantic-color-text-primary);
      font-size: var(--ds-font-size-f12, 0.75rem);
      font-weight: 520;
      line-height: 1.4;
      text-wrap: pretty;
    }

    .contact-availability .status-dot {
      flex: 0 0 auto;
      width: 6px;
      height: 6px;
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--blue) 16%, transparent);
    }

    .contact-location {
      color: var(--ds-semantic-color-text-muted);
      font-size: var(--ds-font-size-f12, 0.75rem);
      line-height: 1.4;
    }

    .contact-body {
      min-inline-size: 0;
    }

    .contact-heading {
      max-inline-size: 17ch;
      margin: 0;
      color: var(--ds-semantic-color-text-primary);
      font-size: clamp(26px, 3.6vw, 38px);
      font-weight: 520;
      letter-spacing: -0.035em;
      line-height: 1.08;
      text-wrap: balance;
    }

    .contact-copy {
      max-inline-size: var(--ds-measure-reading, 37.5rem);
      margin-top: var(--ds-space-16, 16px);
      color: var(--ds-semantic-color-text-secondary);
      font-size: var(--ds-font-size-f14, 0.875rem);
      line-height: 1.62;
      text-wrap: pretty;
    }

    .contact-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: var(--ds-space-8, 8px);
      margin-top: var(--ds-space-24, 24px);
    }

    .contact-primary,
    .contact-email-link {
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      justify-content: center;
      border-radius: var(--ds-semantic-radius-control, 8px);
      text-decoration: none;
      transition:
        color var(--dur-fast) var(--spring),
        background-color var(--dur-fast) var(--spring),
        box-shadow var(--dur-fast) var(--spring),
        scale var(--dur-fast) var(--spring);
    }

    .contact-primary {
      gap: var(--ds-space-8, 8px);
      padding: 0 var(--ds-space-16, 16px);
      background: var(--ds-semantic-color-text-primary);
      color: var(--paper);
      box-shadow:
        inset 0 1px 0 color-mix(in oklab, white 12%, transparent),
        0 1px 2px color-mix(in oklab, black 18%, transparent),
        0 8px 20px color-mix(in oklab, black 10%, transparent);
      font-size: var(--ds-font-size-f14, 0.875rem);
      font-weight: 560;
    }

    .contact-primary:hover {
      background: color-mix(in oklab, var(--ds-semantic-color-text-primary) 88%, var(--blue));
      box-shadow:
        inset 0 1px 0 color-mix(in oklab, white 16%, transparent),
        0 2px 4px color-mix(in oklab, black 18%, transparent),
        0 10px 24px color-mix(in oklab, black 14%, transparent);
    }

    .contact-primary:active,
    .contact-email-link:active {
      scale: 0.96;
    }

    .contact-primary .ds-icon {
      width: 16px;
      height: 16px;
    }

    .contact-email-link {
      padding: 0 var(--ds-space-12, 12px);
      color: var(--ds-semantic-color-text-secondary);
      font-size: var(--ds-font-size-f13, 0.8125rem);
    }

    .contact-email-link:hover {
      background: var(--hover);
      color: var(--ds-semantic-color-text-primary);
    }

    .contact .fit {
      margin-top: var(--ds-space-12, 12px);
    }

    .contact-links {
      padding-top: var(--ds-space-12, 12px);
      border-top: 1px solid var(--line);
    }

    .contact-links a {
      display: inline-flex;
      min-inline-size: 40px;
      min-height: var(--ds-density-shell-control-height, 40px);
      justify-content: center;
      align-items: center;
      gap: var(--ds-space-4, 4px);
      padding: 0 var(--ds-space-8, 8px);
      border-radius: var(--radius-control);
      color: var(--secondary);
      text-decoration: none;
      transition:
        color var(--dur-fast) var(--spring),
        background-color var(--dur-fast) var(--spring),
        scale var(--dur-fast) var(--spring);
    }

    .contact-links a:hover {
      color: var(--ink);
      background: var(--hover);
    }

    .contact-links a:active {
      scale: 0.96;
    }

    .contact-links .ds-icon {
      width: 12px;
      height: 12px;
      opacity: 0.58;
      transition:
        opacity var(--dur-fast) var(--spring),
        transform var(--dur-fast) var(--spring);
    }

    .contact-links a:hover .ds-icon {
      opacity: 1;
      transform: translate(1px, -1px);
    }

    footer {
      margin-top: var(--ds-density-footer-gap, var(--ds-space-64));
      padding: var(--ds-density-content-inset, var(--ds-space-12)) var(--ds-density-detail-gap, var(--ds-space-4)) 0;
      color: var(--muted);
    }

    .floating-nav {
      --nav-width: min(336px, calc(100vw - 24px));
      min-height: var(--ds-density-shell-control-height, 40px);
      height: auto;
      gap: var(--ds-density-shell-padding, var(--ds-space-2, 8px));
      padding: var(--ds-density-shell-padding, var(--ds-space-2, 8px));
      border-radius: var(--ds-semantic-radius-container, 8px);
      background: var(--floating-bg);
      border-color: var(--line-strong);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .floating-nav.is-scrolled {
      background: var(--floating-bg-strong);
      border-color: var(--line-strong);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 12px 32px rgba(0, 0, 0, 0.16);
    }

    @keyframes compact-nav-enter {
      from { opacity: 0; filter: blur(4px); transform: translateX(-50%) translateY(-8px); }
      to { opacity: 1; filter: blur(0); transform: translateX(-50%) translateY(0); }
    }

    .floating-identity {
      min-width: 0;
      flex: 1 1 auto;
    }

    .floating-nav .nav-avatar {
      width: 32px;
      height: 32px;
      flex-basis: 32px;
      border-radius: var(--ds-semantic-radius-control, 4px);
    }

    .floating-nav .nav-copy,
    .floating-nav .language {
      opacity: 1;
      transform: none;
    }

    .nav-avatar {
      outline-color: var(--image-outline);
    }

    .language button[aria-pressed="true"] {
      background: var(--active);
    }

    .theme-toggle {
      position: relative;
      display: inline-grid;
      width: var(--ds-density-footer-control-height, 28px);
      height: var(--ds-density-footer-control-height, 28px);
      min-width: var(--ds-density-footer-control-height, 28px);
      min-height: var(--ds-density-footer-control-height, 28px);
      flex: 0 0 var(--ds-density-footer-control-height, 28px);
      place-items: center;
      padding: 0;
      border: 0;
      border-radius: var(--ds-semantic-radius-control, 4px);
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      box-sizing: border-box;
      transition:
        color var(--dur-fast) var(--spring),
        background-color var(--dur-fast) var(--spring),
        scale var(--dur-fast) var(--spring),
        width var(--dur-fast) var(--spring),
        height var(--dur-fast) var(--spring),
        border-radius var(--dur-fast) var(--spring);
    }

    .theme-toggle:hover {
      color: var(--ink);
      background: var(--hover);
    }

    .theme-toggle:active {
      scale: 0.96;
    }

    .theme-toggle svg {
      position: absolute;
      width: 15px;
      height: 15px;
      transition:
        opacity var(--dur-moderate) var(--spring),
        filter var(--dur-slow) var(--spring-enter),
        transform var(--dur-slow) var(--spring-enter);
    }

    .theme-toggle .theme-sun,
    :root[data-theme="dark"] .theme-toggle .theme-moon {
      opacity: 1;
      filter: blur(0);
      transform: scale(1) rotate(0);
    }

    .theme-toggle .theme-moon,
    :root[data-theme="dark"] .theme-toggle .theme-sun {
      opacity: 0;
      filter: blur(4px);
      transform: scale(0.72) rotate(-18deg);
    }

    .workspace-sidebar,
    .context-rail {
      color: var(--secondary);
      font-size: 13px;
      line-height: 20px;
    }

    .workspace-sidebar {
      flex-direction: column;
      gap: var(--ds-density-shell-gap, var(--ds-space-24, 24px));
      position: sticky;
      z-index: 10;
      top: 48px;
      align-self: start;
      height: calc(100dvh - 96px);
      min-width: 0;
      padding: 0;
    }

    .sidebar-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 0;
      border: 0;
      text-decoration: none;
      height: 32px;
      min-height: 32px;
      box-sizing: border-box;
    }

    .sidebar-brand img {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
      border-radius: var(--ds-semantic-radius-container, 8px);
      outline: 1px solid var(--image-outline);
      outline-offset: -1px;
    }

    .sidebar-brand > span {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2px;
      line-height: 1;
    }

    .sidebar-brand strong {
      color: var(--ink);
      font-size: 13px;
      font-weight: 600;
      font-variation-settings: 'wght' 580, 'opsz' 14;
      line-height: 1.15;
      margin: 0;
    }

    .sidebar-brand span span {
      color: var(--muted);
      font-size: 11px;
      line-height: 1.15;
      margin: 0;
    }

    .nav-label {
      display: none;
    }

    .workspace-nav {
      display: grid;
      gap: var(--ds-density-shell-padding, 8px);
      margin-top: var(--ds-space-4, 4px);
    }

    .workspace-nav a {
      position: relative;
      display: flex;
      min-height: var(--ds-density-shell-item-height, 40px);
      align-items: center;
      justify-content: space-between;
      padding: 0 var(--ds-density-shell-padding, 8px);
      border-radius: var(--ds-semantic-radius-control, 4px);
      color: var(--ds-semantic-color-text-muted);
      text-decoration: none;
      border-bottom: 1px solid var(--ds-semantic-color-border-subtle);
      transition: color var(--dur-fast) var(--spring);
    }

    .workspace-nav a:hover {
      color: var(--ds-semantic-color-text-primary);
      background: transparent;
    }

    .workspace-nav a[aria-current="true"] {
      color: var(--ds-semantic-color-text-primary);
      background: transparent;
      font-weight: 600;
    }

    .workspace-nav a span:last-child {
      color: var(--ds-semantic-color-text-muted);
      font-size: 11px;
      opacity: 0.65;
      font-variant-numeric: tabular-nums;
    }

    .sidebar-bottom {
      margin-top: auto;
      display: flex;
      flex-direction: column;
      gap: var(--ds-density-shell-block-gap, 10px);
      padding-top: 16px;
      border-top: 1px solid var(--ds-semantic-color-border-subtle);
    }

    .sidebar-controls {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: var(--ds-density-footer-control-height, 28px);
      min-height: var(--ds-density-footer-control-height, 28px);
      padding: 0;
    }

    .sidebar-controls .language {
      margin-left: 0;
      opacity: 1;
      transform: none;
      height: var(--ds-density-footer-control-height, 28px);
    }

    .sidebar-controls .language button {
      min-width: calc(var(--ds-density-footer-control-height, 28px) - 2px);
      height: var(--ds-density-footer-btn-height, 22px);
      min-height: var(--ds-density-footer-btn-height, 22px);
      border-radius: max(0px, calc(var(--ds-semantic-radius-control, 4px) - 2px));
    }

    .sidebar-controls .theme-toggle {
      margin-left: auto;
      width: var(--ds-density-footer-control-height, 28px);
      height: var(--ds-density-footer-control-height, 28px);
      min-width: var(--ds-density-footer-control-height, 28px);
      min-height: var(--ds-density-footer-control-height, 28px);
      border-radius: var(--ds-semantic-radius-control, 4px);
    }

    .sidebar-footnote {
      margin: 0;
      padding: 0;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.45;
      text-wrap: pretty;
      overflow-wrap: anywhere;
    }

    .context-rail {
      flex-direction: column;
      gap: var(--ds-density-shell-block-gap, 12px);
      position: sticky;
      z-index: 10;
      top: 48px;
      align-self: start;
      max-height: calc(100dvh - 96px);
      min-width: 0;
      padding: 0;
      overflow-y: auto;
      overscroll-behavior: contain;
      scrollbar-width: none;
    }

    .context-rail::-webkit-scrollbar {
      display: none;
    }

    .context-card {
      order: -1;
      width: 100%;
      padding: 0 0 var(--ds-density-shell-gap, var(--ds-space-20, 20px));
      background: transparent;
      border: 0;
      border-bottom: 1px solid var(--ds-semantic-color-border-subtle);
      box-shadow: none;
      box-sizing: border-box;
    }

    .ds-customizer-instrument--compact {
      padding-top: var(--ds-density-shell-gap, var(--ds-space-24, 24px));
    }

    .work-preview {
      overflow: hidden;
      width: 100%;
      padding: var(--ds-space-x14);
      border: 1px solid var(--line);
      border-radius: var(--ds-semantic-radius-container, 8px);
      background: var(--surface-2);
      box-shadow: var(--shadow-surface);
    }

    .context-card h2 {
      margin: 0;
      color: var(--ink);
      font-size: 14px;
      font-variation-settings: 'wght' 620, 'opsz' 16;
      line-height: 1.3;
      text-wrap: balance;
    }

    .availability {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-top: var(--ds-gap-element, 8px);
      color: var(--secondary);
      font-size: 12px;
      line-height: 1.4;
      min-height: 18px;
    }

    .availability .status-dot {
      width: 6px;
      height: 6px;
      flex-basis: 6px;
    }

    .context-list {
      display: grid;
      gap: 4px;
      margin: var(--ds-gap-element, 8px) 0 0;
    }

    .context-list div {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: var(--ds-density-shell-item-height, 32px);
      min-height: var(--ds-density-shell-item-height, 32px);
      padding: 0 8px;
      box-sizing: border-box;
      border: 1px solid var(--ds-semantic-color-border-subtle);
      border-radius: var(--ds-semantic-radius-control, 4px);
      background: var(--surface-2);
      color: var(--muted);
      font-size: 12px;
    }

    .context-list dd,
    .context-list dt {
      margin: 0;
    }

    .context-list dd {
      color: var(--secondary);
      text-align: right;
      font-variant-numeric: tabular-nums;
    }

    .rail-action {
      display: flex;
      height: var(--ds-density-shell-control-height, 36px);
      min-height: var(--ds-density-shell-control-height, 36px);
      box-sizing: border-box;
      align-items: center;
      justify-content: center;
      margin-top: var(--ds-gap-element, 8px);
      border-radius: var(--ds-semantic-radius-control, 4px);
      background: var(--ink);
      color: var(--surface-1);
      font-size: 12px;
      font-variation-settings: 'wght' 560, 'opsz' 13;
      text-decoration: none;
      transition:
        opacity var(--dur-fast) var(--spring),
        scale var(--dur-fast) var(--spring);
    }

    .rail-action:hover {
      color: var(--surface-1);
      opacity: 0.88;
    }

    .context-rail .work-preview {
      position: relative;
      top: auto;
      right: auto;
      z-index: auto;
      opacity: 0;
      filter: blur(4px);
      transform: translateY(8px) scale(0.98);
    }

    .context-rail .work-preview.is-visible {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0) scale(1);
    }

    .context-rail .preview-field {
      border-radius: var(--ds-semantic-radius-control);
      background: var(--surface-3);
      color: var(--secondary);
      outline-color: var(--image-outline);
    }

    @keyframes workspace-enter {
      from {
        opacity: 0;
        filter: blur(4px);
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
      }
    }

    @keyframes rail-enter {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (min-width: 1200px) {
      .workspace-sidebar,
      .context-rail {
        display: flex;
      }

      .floating-nav {
        display: none;
      }
    }

    @media (min-width: 900px) and (max-width: 1199px) {
      .workspace-sidebar {
        display: flex;
      }

      .context-rail {
        display: none;
      }

      .floating-nav {
        display: none;
      }

      .photo-strip {
        margin-inline: calc(var(--ds-layout-page-margin-inline) * -1);
      }
    }

    @media (max-width: 720px) {
      .page {
        padding-top: 0;
      }

      .page > header {
        padding: var(--space-5) var(--space-4) 0;
      }

      .page > section {
        scroll-margin-top: calc(var(--ds-space-x72) + var(--ds-space-4));
      }

      .intro-grid {
        grid-template-columns: 1fr;
      }

      .intro-focus {
        min-height: var(--ds-density-focus-height, 184px);
        max-width: 260px;
      }

      .intro-portrait {
        width: 92px;
      }

      .proof-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-inline: calc(var(--space-4) * -1);
      }

      .proof-points div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
      }

      .proof-points div:nth-child(4) {
        border-top: 1px solid var(--line);
      }

      .row {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: var(--ds-density-row-gap, var(--ds-space-12));
        padding-inline: var(--ds-density-content-inset, var(--ds-space-12));
      }

      .category {
        grid-column: 2;
        text-align: left;
      }

      #writing .row {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        padding-inline: var(--ds-density-content-inset, var(--ds-space-12));
      }

      #writing .category {
        grid-column: 3;
        text-align: right;
      }

      .proof-panel {
        grid-column: 2;
      }

      .contact {
        grid-template-columns: 1fr;
        padding-inline: var(--ds-density-content-inset, var(--ds-space-12));
      }

      .contact-links {
        gap: var(--ds-space-2);
      }
    }

    @media (max-width: 720px) {
      .floating-nav {
        --nav-width: calc(100vw - 24px);
      }

      .floating-nav .nav-status {
        display: none;
      }

      .floating-nav .nav-copy {
        display: none;
      }

      .floating-nav .floating-identity {
        min-width: 0;
      }

      .floating-nav .ds-customizer-trigger span {
        display: none;
      }

      .floating-nav .ds-customizer-trigger {
        width: var(--ds-density-shell-control-height, 40px);
        padding-inline: 0;
        justify-content: center;
      }

      #writing .row {
        grid-template-columns: 52px minmax(0, 1fr);
      }

      #writing .category {
        display: none;
      }
    }

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

      .topline,
      .intro,
      .intro-focus,
      .intro-portrait__stack,
      .intro-portrait__image,
      .proof-points,
      .workspace-sidebar,
      .context-rail,
      .floating-nav,
      .nav-copy,
      .language,
      .theme-toggle svg {
        animation: none !important;
      }

      .status-dot,
      .experiment-pixels i {
        animation: none !important;
      }

      .intro-portrait__stack {
        transform: scale(1.045) !important;
        transition: none !important;
      }

      .intro-portrait__theme,
      .intro-portrait__image {
        transition: none !important;
      }

      .roll-track {
        transform: none !important;
        transition: none !important;
      }

      .roll-track span {
        transform: none !important;
        transition: none !important;
      }

      .roll-track span:last-child {
        display: none;
      }

      .experiment-portal:active {
        transform: none;
      }

      .photo,
      .work-preview,
      .proof-panel,
      .fit-panel,
      .proof-icon svg,
      .fit-icon svg,
      .theme-toggle svg {
        transform: none !important;
        transition-property: opacity, color, background-color, border-color !important;
      }
    }

    :root[data-motion="off"] .status-dot,
    :root[data-motion="off"] .experiment-pixels i {
      animation: none !important;
    }

    :root[data-motion="off"] .roll-track {
      transform: none !important;
      transition: none !important;
    }

    :root[data-motion="off"] .roll-track span {
      transform: none !important;
      transition: none !important;
    }

    :root[data-motion="off"] .roll-track span:last-child {
      display: none;
    }

    :root[data-motion="off"] .experiment-portal:active {
      transform: none;
    }

    /* Home-only layout pass.
       Intentionally hardcoded here so the shared design system stays untouched. */
    @media (max-width: 720px) {
      .ds-page-frame {
        padding: 0;
      }

      .page {
        --home-page-inline: var(--ds-space-24, 24px);
        width: 100%;
        max-width: none;
        padding: 0 var(--home-page-inline) 72px;
      }

      .page > header {
        padding: 88px 0 0;
      }

      .floating-nav {
        --nav-width: calc(100vw - 24px);
        top: 12px;
        min-height: 48px;
        padding: 4px;
      }

      .floating-identity,
      .floating-nav .language,
      .floating-nav .language button,
      .floating-nav .theme-toggle,
      .floating-nav .ds-customizer-trigger {
        min-block-size: 40px;
      }

      .floating-nav .language {
        block-size: 40px;
        padding-block: 0;
      }

      .floating-nav .language button,
      .floating-nav .theme-toggle,
      .floating-nav .ds-customizer-trigger {
        block-size: 40px;
      }

      .floating-nav .language button,
      .floating-nav .theme-toggle,
      .floating-nav .ds-customizer-trigger {
        min-inline-size: 40px;
      }

      .floating-nav .nav-avatar {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
      }

      .name {
        font-size: 32px;
        line-height: 1.08;
      }

      .updated {
        margin-top: 8px;
      }

      .intro-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-top: 28px;
      }

      .intro {
        font-size: 15.5px;
        line-height: 1.55;
      }

      .intro p[data-i18n="introOne"],
      .intro p:first-child {
        font-size: 16.5px;
        line-height: 1.55;
      }

      .intro p + p {
        margin-top: 16px;
      }

      .intro-focus {
        width: 100%;
        max-width: none;
        min-height: 0;
        gap: 18px;
        padding: 14px 0 14px 18px;
      }

      .intro-portrait {
        width: 84px;
      }

      .proof-points {
        margin: 28px 0 0;
      }

      .proof-points div {
        min-height: 88px;
        padding: 16px;
      }

      .proof-points div:nth-child(odd) {
        padding-left: 0;
      }

      .proof-points dt {
        font-size: 26px;
      }

      .page > section {
        margin-top: var(--ds-density-section-gap, 48px);
        padding: 0;
      }

      .section-title {
        margin-bottom: 8px;
        font-size: 20px;
      }

      .section-deck {
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 1.55;
      }

      .row {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 14px;
        margin: 0;
        padding: 18px 0;
      }

      .project-row {
        padding-block: 8px;
      }

      .project-row .row-title,
      .project-row .row-title a {
        min-block-size: 40px;
        align-items: center;
      }

      .project-row .row-title a {
        display: inline-flex;
      }

      .row-title {
        font-size: 15px;
        line-height: 1.4;
      }

      .row-desc {
        margin: 0;
        font-size: 13px;
        line-height: 1.6;
      }

      .category {
        grid-column: 2;
        margin-top: 2px;
        font-size: 12px;
        text-align: left;
      }

      #writing .row {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;
        min-height: 56px;
        padding: 8px 0;
      }

      #writing .row-title a {
        min-block-size: 40px;
        display: inline-flex;
        align-items: center;
      }

      #writing .category {
        display: none;
      }

      .experiment-portal {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 16px;
        padding: 16px 0;
      }

      .experiment-portal-visual {
        height: 64px;
      }

      .photo-strip {
        margin: 0 calc(var(--home-page-inline) * -1);
        padding: 18px 32px 28px;
      }

      .contact {
        grid-template-columns: 1fr;
        gap: var(--ds-space-20, 20px);
        padding: var(--ds-space-20, 20px) 0 0;
      }

      .contact-meta {
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: center;
        gap: var(--ds-space-12, 12px);
        padding-top: 0;
      }

      .contact-heading {
        max-inline-size: 15ch;
        font-size: clamp(28px, 8vw, 36px);
      }

      .contact-actions {
        align-items: stretch;
      }

      .contact-primary {
        flex: 1 1 190px;
      }

      .contact-email-link {
        flex: 0 1 auto;
      }

      .contact-links {
        gap: var(--ds-space-4, 4px);
        margin-top: var(--ds-space-20, 20px);
      }

      .contact-links a {
        min-height: 40px;
        padding: 0 8px;
      }

      footer {
        align-items: flex-start;
        margin-top: var(--ds-density-footer-gap, 48px);
        padding-top: 16px;
        line-height: 1.5;
      }
    }

    @media (min-width: 721px) and (max-width: 899px) {
      .ds-page-frame {
        padding-block-start: 0;
      }

      .page {
        width: min(calc(100% - 88px), 680px);
        max-width: 680px;
        padding-bottom: 96px;
      }

      .page > header {
        padding-top: 112px;
      }

      .floating-nav {
        --nav-width: min(360px, calc(100vw - 32px));
        top: 16px;
      }

      .floating-nav .nav-status,
      .floating-nav .ds-customizer-trigger span {
        display: none;
      }

      .floating-nav .ds-customizer-trigger {
        width: 40px;
        flex: 0 0 40px;
        justify-content: center;
        padding-inline: 0;
      }

      .page > section {
        margin-top: var(--ds-density-section-gap, 48px);
      }
    }

    @media (max-width: 380px) {
      .page {
        --home-page-inline: var(--ds-space-5, 20px);
      }

      .row,
      .contact {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .category,
      .proof-panel {
        grid-column: 1;
      }

      #writing .row {
        grid-template-columns: 52px minmax(0, 1fr);
      }
    }

    /* Home-only redline inspector. The shared grid overlay is hidden here because
       this mode measures real component geometry instead of drawing global rulers. */
    html[data-ds-grid="on"] .ds-grid-overlay {
      display: none !important;
    }

    html[data-ds-grid="on"] .work-preview {
      display: none !important;
    }

    .home-redline-layer {
      position: fixed;
      z-index: 80;
      inset: 0;
      display: none;
      overflow: hidden;
      pointer-events: none;
      color: #fff;
      font-family: var(--ds-font-family-body, Inter, sans-serif);
      font-size: 10px;
      line-height: 1;
    }

    html[data-ds-grid="on"] .home-redline-layer {
      display: block;
    }

    .home-redline-box,
    .home-redline-scope {
      position: absolute;
      border: 1px solid rgba(226, 116, 88, 0.58);
      background: rgba(226, 116, 88, 0.025);
    }

    .home-redline-scope {
      border-color: rgba(226, 116, 88, 0.96);
      background: rgba(226, 116, 88, 0.045);
    }

    .home-redline-size,
    .home-redline-value {
      position: absolute;
      z-index: 2;
      padding: 3px 4px;
      border-radius: 3px;
      background: #e27458;
      color: #fff;
      white-space: nowrap;
      box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
      font-variant-numeric: tabular-nums;
    }

    .home-redline-size {
      right: 3px;
      bottom: 3px;
      background: rgba(226, 116, 88, 0.9);
    }

    .home-redline-ruler-x,
    .home-redline-ruler-y,
    .home-redline-gap {
      position: absolute;
      z-index: 1;
      background: #e27458;
    }

    .home-redline-ruler-x {
      height: 1px;
    }

    .home-redline-ruler-x::before,
    .home-redline-ruler-x::after {
      content: "";
      position: absolute;
      top: -4px;
      width: 1px;
      height: 9px;
      background: #e27458;
    }

    .home-redline-ruler-x::before { left: 0; }
    .home-redline-ruler-x::after { right: 0; }

    .home-redline-ruler-y {
      width: 1px;
    }

    .home-redline-ruler-y::before,
    .home-redline-ruler-y::after {
      content: "";
      position: absolute;
      left: -4px;
      width: 9px;
      height: 1px;
      background: #e27458;
    }

    .home-redline-ruler-y::before { top: 0; }
    .home-redline-ruler-y::after { bottom: 0; }

    .home-redline-ruler-x > .home-redline-value {
      top: 0;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .home-redline-ruler-y > .home-redline-value {
      top: 50%;
      left: 0;
      transform: translate(-50%, -50%);
    }

    .home-redline-gap {
      width: 1px;
    }

    .home-redline-gap::before,
    .home-redline-gap::after {
      content: "";
      position: absolute;
      left: -3px;
      width: 7px;
      height: 1px;
      background: #e27458;
    }

    .home-redline-gap::before { top: 0; }
    .home-redline-gap::after { bottom: 0; }

    .home-redline-gap > .home-redline-value {
      top: 50%;
      left: 0;
      transform: translate(-50%, -50%);
    }

    .home-redline-padding {
      position: absolute;
      z-index: 2;
      padding: 3px 4px;
      border-radius: 3px;
      background: rgba(226, 116, 88, 0.9);
      color: #fff;
      font-variant-numeric: tabular-nums;
    }

    /* Home density normalization: 20px compact rows, 40px comfortable ceiling. */
    :root[data-size="compact"] {
      --ds-density-btn-padding: 4px 8px;
      --ds-density-btn-min-height: 32px;
      --ds-density-nav-gap: 2px;
      --ds-density-row-padding: 8px 0;
      --ds-density-customizer-gap: 8px;
      --ds-density-section-gap: 32px;
      --ds-density-hero-gap: 16px;
      --ds-density-proof-gap: 16px;
      --ds-density-copy-gap: 10px;
      --ds-density-deck-gap: 10px;
      --ds-density-layout-gap: 20px;
      --ds-density-row-gap: 10px;
      --ds-density-detail-gap: 2px;
      --ds-density-focus-height: auto;
      --ds-density-content-inset: 8px;
      --ds-density-media-padding: 12px;
      --ds-density-experiment-height: 88px;
      --ds-density-experiment-visual-height: 64px;
      --ds-density-footer-gap: 32px;
      --ds-density-shell-gap: 16px;
      --ds-density-shell-block-gap: 8px;
      --ds-density-shell-item-height: 20px;
      --ds-density-shell-control-height: 32px;
      --ds-density-footer-control-height: 24px;
      --ds-density-footer-btn-height: 20px;
      --ds-density-shell-padding: 4px;
    }

    :root,
    :root[data-size="default"] {
      --ds-density-btn-padding: 8px 12px;
      --ds-density-btn-min-height: 36px;
      --ds-density-nav-gap: 4px;
      --ds-density-row-padding: 12px 0;
      --ds-density-customizer-gap: 12px;
      --ds-density-section-gap: 40px;
      --ds-density-hero-gap: 20px;
      --ds-density-proof-gap: 20px;
      --ds-density-copy-gap: 12px;
      --ds-density-deck-gap: 12px;
      --ds-density-layout-gap: 24px;
      --ds-density-row-gap: 12px;
      --ds-density-detail-gap: 4px;
      --ds-density-focus-height: auto;
      --ds-density-content-inset: 10px;
      --ds-density-media-padding: 14px;
      --ds-density-experiment-height: 96px;
      --ds-density-experiment-visual-height: 68px;
      --ds-density-footer-gap: 40px;
      --ds-density-shell-gap: 20px;
      --ds-density-shell-block-gap: 10px;
      --ds-density-shell-item-height: 32px;
      --ds-density-shell-control-height: 36px;
      --ds-density-footer-control-height: 28px;
      --ds-density-footer-btn-height: 22px;
      --ds-density-shell-padding: 4px;
    }

    :root[data-size="comfortable"] {
      --ds-density-btn-padding: 8px 16px;
      --ds-density-btn-min-height: 40px;
      --ds-density-nav-gap: 6px;
      --ds-density-row-padding: 14px 0;
      --ds-density-customizer-gap: 14px;
      --ds-density-section-gap: 48px;
      --ds-density-hero-gap: 24px;
      --ds-density-proof-gap: 24px;
      --ds-density-copy-gap: 14px;
      --ds-density-deck-gap: 14px;
      --ds-density-layout-gap: 28px;
      --ds-density-row-gap: 14px;
      --ds-density-detail-gap: 4px;
      --ds-density-focus-height: auto;
      --ds-density-content-inset: 12px;
      --ds-density-media-padding: 16px;
      --ds-density-experiment-height: 104px;
      --ds-density-experiment-visual-height: 72px;
      --ds-density-footer-gap: 48px;
      --ds-density-shell-gap: 24px;
      --ds-density-shell-block-gap: 12px;
      --ds-density-shell-item-height: 40px;
      --ds-density-shell-control-height: 40px;
      --ds-density-footer-control-height: 32px;
      --ds-density-footer-btn-height: 26px;
      --ds-density-shell-padding: 6px;
    }

    /* Dynamic Radius Tokens */
    :root,
    :root[data-radius="sharp"] {
      --ds-semantic-radius-control: 2px;
      --ds-semantic-radius-container: 4px;
    }
    :root[data-radius="soft"] {
      --ds-semantic-radius-control: 6px;
      --ds-semantic-radius-container: 12px;
    }
    :root[data-radius="rounded"] {
      --ds-semantic-radius-control: 12px;
      --ds-semantic-radius-container: 18px;
    }
    :root[data-radius="pill"] {
      --ds-semantic-radius-control: 9999px;
      --ds-semantic-radius-container: 24px;
    }

    .workspace-nav {
      gap: var(--ds-density-nav-gap, 4px);
    }

    .workspace-nav .ds-nav-item {
      position: relative;
      display: flex;
      min-height: var(--ds-density-shell-item-height, 32px);
      align-items: center;
      justify-content: space-between;
      padding: 0 var(--ds-density-shell-padding, 8px);
      border-radius: var(--ds-semantic-radius-control, 4px);
      border-bottom: 1px solid var(--ds-semantic-color-border-subtle);
      color: var(--ds-semantic-color-text-muted);
      text-decoration: none;
    }

    .workspace-nav .ds-nav-item[aria-disabled="true"] {
      cursor: default;
      opacity: 0.62;
      user-select: none;
    }

    .workspace-nav .ds-nav-item span:last-child {
      color: var(--ds-semantic-color-text-muted);
      font-size: 11px;
      font-variant-numeric: tabular-nums;
      opacity: 0.72;
    }

    .context-card {
      padding-bottom: var(--ds-density-shell-gap, 20px);
    }

    .availability {
      min-height: 18px;
      margin-top: var(--ds-gap-element, 8px);
    }

    .context-list {
      gap: 4px;
      margin-top: var(--ds-gap-element, 8px);
    }

    .context-list div {
      min-height: var(--ds-density-shell-item-height, 32px);
      height: var(--ds-density-shell-item-height, 32px);
      align-items: center;
      padding: 0 8px;
      box-sizing: border-box;
      border: 1px solid var(--ds-semantic-color-border-subtle);
      border-radius: var(--ds-semantic-radius-control, 4px);
      background: var(--surface-2);
    }

    .rail-action {
      height: var(--ds-density-shell-control-height, 36px);
      min-height: var(--ds-density-shell-control-height, 36px);
      box-sizing: border-box;
      border-radius: var(--ds-semantic-radius-control, 4px);
      margin-top: var(--ds-gap-element, 8px);
    }

    .ds-customizer-instrument--compact {
      padding-top: var(--ds-density-shell-gap, 20px);
    }

    .ds-customizer-instrument--compact .ds-customizer-header {
      gap: 4px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--ds-semantic-color-border-subtle);
    }

    .ds-customizer-instrument--compact .rail-current-state {
      margin-top: 4px;
    }

    .ds-customizer-form--compact {
      gap: 12px;
    }

    .ds-customizer-form--compact .ds-theme-radios {
      gap: 4px;
      padding: 4px;
    }

    .ds-customizer-form--compact .ds-radio-label {
      height: var(--ds-density-shell-control-height, 36px);
      min-height: 0;
      padding-block: 0;
    }

    .rail-actions-group {
      display: grid;
      overflow: hidden;
      border: 1px solid var(--ds-semantic-color-border-base);
      border-radius: var(--ds-semantic-radius-control, 4px);
      background: var(--surface-2);
    }

    .rail-actions-group .rail-grid-control {
      min-height: var(--ds-density-shell-control-height, 36px);
      padding: 0 10px;
      border: 0;
      transition:
        background-color var(--ds-motion-duration-fast) var(--ds-motion-easing-standard),
        color var(--ds-motion-duration-fast) var(--ds-motion-easing-standard);
    }

    .rail-actions-group .rail-customize-action {
      min-height: var(--ds-density-shell-control-height, 36px);
      padding: 0 10px;
      border: 0;
      border-top: 1px solid var(--ds-semantic-color-border-subtle);
      border-radius: 0;
      outline: 0;
      transition:
        background-color var(--ds-motion-duration-fast) var(--ds-motion-easing-standard),
        color var(--ds-motion-duration-fast) var(--ds-motion-easing-standard),
        box-shadow var(--ds-motion-duration-fast) var(--ds-motion-easing-standard);
    }

    .rail-actions-group .rail-customize-action:hover {
      border-color: var(--ds-semantic-color-border-subtle);
      background: var(--ds-semantic-color-background-sunken);
    }

    .rail-actions-group .rail-customize-action:focus-visible {
      outline: 0;
      box-shadow: inset 0 0 0 2px var(--ds-semantic-color-focus-ring);
    }

    .rail-actions-group .rail-customize-action:active {
      scale: 1;
      transform: none;
      background: var(--ds-semantic-color-background-raised);
    }

    .rail-actions-group .rail-grid-control:has(.ds-customizer-checkbox:focus-visible) {
      box-shadow: inset 0 0 0 2px var(--ds-semantic-color-focus-ring);
    }

    .rail-actions-group .rail-switch:has(.ds-customizer-checkbox:focus-visible) > span[aria-hidden="true"] {
      outline: 0;
    }

    .ds-customizer-form--compact .ds-radio-label:hover {
      background: var(--ds-semantic-color-background-raised);
    }

    .ds-customizer-form--compact .ds-radio-label:has(.ds-radio-input:checked):hover {
      background: var(--ds-semantic-color-text-primary);
    }

    .ds-customizer-form--compact .ds-radio-label:has(.ds-radio-input:focus-visible) {
      outline: 0;
      box-shadow: inset 0 0 0 2px var(--ds-semantic-color-focus-ring);
    }

    .ds-customizer-form--compact .ds-customizer-status:empty {
      display: none;
    }

    /* Work history becomes a compact LinkedIn-like reading stack on narrow screens. */
    @media (max-width: 720px) {
      .updated.world-times {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 14px;
      }

      .updated.world-times .world-time--home {
        grid-column: 1 / -1;
      }

      .updated.world-times .world-time:not(.world-time--home) {
        justify-self: start;
      }

      #work .row {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        min-height: 0;
        padding: 20px 0;
      }

      #work .work-mark {
        display: grid;
        grid-column: 1;
        grid-row: 1;
        width: 44px;
        height: 44px;
        place-items: center;
        background: transparent;
      }

      #work .year,
      #work .category {
        display: none;
      }

      #work .project-body,
      #work .role-body {
        grid-column: 2;
        min-width: 0;
      }

      #work .row-title {
        min-height: 0;
        font-size: 16px;
        line-height: 1.3;
      }

      #work .work-period-mobile {
        display: block;
        margin: 2px 0 0;
        color: var(--ds-semantic-color-text-muted);
        font-size: 13px;
        line-height: 1.4;
        font-variant-numeric: tabular-nums;
      }

      #work .row-desc {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.58;
      }
    }