  /* ── mobile timeline: centered axis, projects fit a page ─── */
  .mobile-timeline { display: none; }
  .mobile-timeline {
    position: relative;
  }
  .mt-intro {
    position: relative;
    background: var(--bg);
    text-align: center;
    padding: 8px 16px 56px 16px;
  }
  .mt-intro-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 22px;
  }
  .mt-intro-name {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 56px;
    line-height: 1.02;
    letter-spacing: -.02em;
    margin: 0 0 16px 0;
    color: var(--ink);
  }
  .mt-intro-meta {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.45;
    color: var(--ink-soft);
    margin-bottom: 22px;
    text-wrap: pretty;
  }
  .mt-intro-avail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .mt-intro-avail .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }
  .mobile-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line-strong);
    transform: translateX(-50%);
  }
  .mobile-timeline::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 1px;
    background: var(--line-strong);
    transform: translateX(-50%);
  }
  .mt-year {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    width: fit-content;
    padding: 6px 12px;
    background: var(--bg);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--ink-mute);
    text-align: center;
  }
  /* Section break shown right after the first project ("This Portfolio")
     and before the rest of the case studies. Solid bg masks the axis line. */
  .mt-divider {
    position: relative;
    z-index: 2;
    margin: 32px auto;
    width: fit-content;
    padding: 8px 16px;
    background: var(--bg);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    text-align: center;
    text-wrap: balance;
  }
  .mt-anchor,
  .mt-project {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .mt-anchor { min-height: 56vh; }
  .mt-project {
    min-height: 70vh;
    background: transparent;
    border: 0;
    width: 100%;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: transform .2s ease;
  }
  .mt-project:active { transform: scale(.98); }
  .mt-project:focus-visible { outline: none; }
  /* dot on the axis at the top of each item (anchors without a logo show a dot) */
  .mt-project::before,
  .mt-anchor::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--ink);
    transform: translate(-50%, -50%);
    z-index: 3;
  }
  /* when an anchor has a logo, the logo itself sits on the axis (replace the dot) */
  .mt-anchor:has(.mt-logo)::before { display: none; }
  .mt-logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    margin: -28px auto 16px auto;
    background: var(--bg);
    box-shadow: 0 0 0 4px var(--bg);
    position: relative;
    z-index: 3;
  }
  .mt-logo svg { width: 100%; height: 100%; display: block; }
  .mt-dot { display: none; }
  .mt-anchor-meta,
  .mt-project-meta {
    display: inline-block;
    background: var(--bg);
    padding: 0 10px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 12px;
  }
  .mt-anchor-role {
    display: inline-block;
    background: var(--bg);
    padding: 0 14px;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 40px;
    line-height: 1.02;
    letter-spacing: -.02em;
    margin: 0 0 14px 0;
  }
  .mt-anchor-story {
    background: var(--bg);
    padding: 4px 14px;
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.45;
    color: var(--ink-soft);
    margin: 0 auto;
    max-width: 320px;
    text-wrap: pretty;
  }
  .mt-cover {
    position: relative;
    z-index: 2;
    width: 240px;
    max-width: 78vw;
    aspect-ratio: 4 / 3;
    margin: 0 auto 22px auto;
    border: 1px solid var(--line);
    background: var(--bg-tint);
    overflow: hidden;
    border-radius: 4px;
  }
  .mt-cover img,
  .mt-cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .mt-project-title {
    display: inline-block;
    background: var(--bg);
    padding: 0 14px;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 44px;
    line-height: 1.02;
    letter-spacing: -.02em;
    margin: 0 0 18px 0;
    color: var(--ink);
  }
  .mt-project-cta {
    display: inline-block;
    background: var(--bg);
    padding: 4px 12px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 4px;
  }

  /* ── timeline switches to stacked mobile list below 1100px ── */
  @media (max-width: 1100px) {
    .tick { display: none; }
    #timeline { display: none; }
    .anchor-story { display: none; }
    .stage { min-height: auto; }
    body.view-timeline {
      height: auto;
      overflow-x: hidden;
      overflow-y: auto;
      min-height: 100vh;
    }
    #view-timeline.active { min-height: auto; }
    .mobile-timeline {
      display: block;
      padding: 80px 16px 100px 16px;
    }

    /* ── topbar: trim to brand + availability dot, solid bg ── */
    .topbar {
      grid-template-columns: 1fr auto;
      padding: 14px 16px 10px 16px;
      gap: 12px;
      background: var(--bg);
    }
    .brand .name { font-size: 16px; }
    .brand .brand-meta { display: none; }
    .topbar-meta,
    .topbar-avail { display: none; }
    .topbar-right { flex-direction: row; }
  }

