    :root {
      --bg: #070606;
      --surface: #100e0e;
      --surface-2: #181514;
      --border: #342b27;
      --text: #f2ebe4;
      --muted: #9b9188;
      --orange: #af3d47;
      --orange-dim: #8a3039;
      --orange-glow: rgba(175, 61, 71, 0.15);
      --brass-glow: rgba(183, 154, 112, 0.055);
      --link-hover: #d4727c;
      --accent-border-medium: rgba(175, 61, 71, 0.38);
      --accent-border-strong: rgba(175, 61, 71, 0.52);
      --accent-faint: rgba(175, 61, 71, 0.08);
      --accent-dot-shadow: rgba(175, 61, 71, 0.3);
      --pill-accent-border: rgba(183, 154, 112, 0.45);
      --radius: 12px;
      --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      --mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, monospace;
      --shadow: 0 14px 48px rgba(0, 0, 0, 0.55);
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
    }
    body {
      margin: 0;
      font-family: var(--font);
      font-size: 16px;
      line-height: 1.65;
      font-weight: 450;
      background:
        radial-gradient(900px 520px at 85% 0%, var(--orange-glow), transparent 55%),
        radial-gradient(520px 360px at 18% 92%, var(--brass-glow), transparent 48%),
        radial-gradient(700px 500px at 0% 100%, var(--accent-faint), transparent 50%),
        var(--bg);
      color: var(--text);
      min-height: 100vh;
    }
    a { color: var(--orange); text-decoration: none; }
    a:hover { color: var(--link-hover); text-decoration: underline; }
    :focus:not(:focus-visible) { outline: none; }
    :focus-visible {
      outline: 2px solid var(--orange);
      outline-offset: 2px;
    }
    #menu-toggle:focus-visible {
      outline-offset: 3px;
    }
    .wrap { max-width: 56rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
    header.lead { margin-bottom: 2.5rem; }
    header.lead h1 {
      font-size: clamp(1.85rem, 4vw, 2.5rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      margin: 0 0 0.35rem;
    }
    header.lead h1 span {
      color: var(--orange);
      font-weight: 800;
    }
    header.lead .tag {
      color: var(--muted);
      font-size: 1rem;
      margin: 0 0 1.1rem;
    }
    header.lead .nav {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem 0.55rem;
      font-size: 0.95rem;
    }
    header.lead .nav a {
      color: var(--muted);
      padding: 0.45rem 0.72rem;
      min-height: 2.75rem;
      display: inline-flex;
      align-items: center;
      border-radius: 10px;
      border: 1px solid transparent;
      background: rgba(24, 21, 20, 0.58);
      text-decoration: none;
    }
    header.lead .nav a:hover {
      color: var(--orange);
      border-color: var(--accent-border-medium);
      background: var(--surface-2);
      text-decoration: none;
    }
    section { margin-bottom: 2.75rem; scroll-margin-top: 4.5rem; }
    section h2 {
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--orange-dim);
      margin: 0 0 1rem;
    }
    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.25rem 1.35rem;
      box-shadow: var(--shadow);
    }
    .grid-2 {
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    }
    .pill {
      display: inline-block;
      font-family: var(--mono);
      font-size: 0.72rem;
      padding: 0.22rem 0.55rem;
      border-radius: 999px;
      background: var(--orange-glow);
      color: var(--orange);
      border: 1px solid var(--pill-accent-border);
      margin-right: 0.35rem;
      margin-bottom: 0.35rem;
    }
    .pill-rank {
      background: rgba(255, 255, 255, 0.04);
      color: #c9c4c0;
      border-color: rgba(154, 146, 144, 0.35);
      font-weight: 500;
    }
    .tier-label {
      display: block;
      font-size: 0.62rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--muted);
      margin: 0 0 0.4rem;
    }
    .tier-block { margin-bottom: 0.75rem; }
    .tier-block:last-child { margin-bottom: 0; }
    .pill-row { line-height: 1.85; }
    .tier-note {
      font-size: 0.78rem;
      color: var(--muted);
      font-style: italic;
      margin: 0;
    }
    .tl-tiers { margin-top: 0.35rem; }
    .tl-tiers .tier-label { margin-bottom: 0.3rem; }
    .tl-tiers .pill-row { margin-bottom: 0.15rem; }
    .timeline-root {
      margin: 0;
      padding-left: 0;
      border-left: 2px solid var(--accent-border-medium);
    }
    .tl-item {
      position: relative;
      padding-left: 1.25rem;
      margin-bottom: 1.4rem;
    }
    .tl-item:last-child { margin-bottom: 0; }
    .tl-item::before {
      content: "";
      position: absolute;
      left: -7px;
      top: 0.4rem;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--orange);
      border: 2px solid var(--bg);
      box-shadow: 0 0 0 2px var(--accent-dot-shadow);
    }
    .tl-date {
      font-family: var(--mono);
      font-size: 0.8rem;
      color: var(--orange-dim);
      margin-bottom: 0.25rem;
    }
    .tl-body { margin: 0 0 0.35rem; }
    .ribbon-rack {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      gap: 1rem 1.25rem;
      margin-top: 0.75rem;
    }
    .ribbon-item { text-align: center; max-width: 120px; }
    .ribbon-item img {
      display: block;
      width: auto;
      max-width: 100px;
      max-height: 32px;
      height: auto;
      margin: 0 auto 0.4rem;
      object-fit: contain;
      border-radius: 2px;
    }
    .ribbon-item .lbl { font-size: 0.68rem; color: var(--muted); line-height: 1.3; }
    .ribbon-text {
      font-size: 0.82rem;
      color: var(--muted);
      border: 1px dashed var(--accent-border-medium);
      padding: 0.65rem 0.85rem;
      border-radius: 8px;
      flex: 1;
      min-width: 140px;
    }
    .ribbon-item .ribbon-cgt {
      display: block;
      font-family: var(--mono);
      font-size: 0.65rem;
      color: var(--orange-dim);
      margin-top: 0.2rem;
    }
    .honours-dated { margin: 0 0 1rem; padding: 0; list-style: none; }
    .honours-dated li {
      font-size: 0.88rem;
      margin-bottom: 0.5rem;
      padding-left: 0;
    }
    .honours-dated .cgt { font-family: var(--mono); color: var(--orange-dim); }
    .honours-list { margin: 0; padding-left: 1.15rem; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

    .intro-with-portrait {
      display: grid;
      gap: 1.25rem 1.5rem;
      align-items: start;
    }
    @media (min-width: 42rem) {
      .intro-with-portrait {
        grid-template-columns: minmax(11rem, 13.75rem) minmax(0, 1fr);
      }
    }
    .intro-with-portrait .card {
      margin: 0;
      min-width: 0;
    }
    .profile-portrait-frame {
      width: min(13.75rem, 100%);
      max-width: 100%;
      border-radius: 2rem;
      border-radius: min(28%, 2rem);
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
    }
    .profile-portrait-frame .profile-portrait {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 1;
      object-fit: cover;
      border-radius: 0;
      border: none;
      box-shadow: none;
    }
    @media (max-width: 41.99rem) {
      .profile-portrait-frame {
        width: min(15rem, 78vw);
        margin-inline: auto;
      }
    }

    /* App shell + drawer */
    .app-topbar {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 40;
      padding: 0.65rem 0.75rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    #menu-toggle {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 2.5rem;
      height: 2.5rem;
      padding: 0;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--surface);
      color: var(--text);
      cursor: pointer;
      box-shadow: var(--shadow);
    }
    #menu-toggle .hb {
      display: block;
      height: 2px;
      width: 1.15rem;
      margin: 0 auto;
      background: var(--orange);
      border-radius: 1px;
    }
    #menu-toggle:hover { border-color: var(--accent-border-strong); }
    @media (prefers-reduced-motion: reduce) {
      #app-drawer,
      #app-drawer-panel {
        transition: none;
      }
    }
    #app-drawer {
      position: fixed;
      inset: 0;
      z-index: 30;
      background: rgba(0, 0, 0, 0.55);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s, visibility 0.2s;
    }
    body.menu-open #app-drawer {
      opacity: 1;
      visibility: visible;
    }
    #app-drawer-panel {
      position: absolute;
      top: 0;
      left: 0;
      width: min(18rem, 88vw);
      height: 100%;
      background: var(--surface);
      border-right: 1px solid var(--border);
      box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5);
      padding: 4.25rem 1.15rem 1.5rem;
      transform: translateX(-100%);
      transition: transform 0.22s ease;
    }
    body.menu-open #app-drawer-panel { transform: translateX(0); }
    .drawer-title {
      font-size: 0.65rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--orange-dim);
      margin: 0 0 0.75rem;
    }
    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
      margin-bottom: 1.25rem;
    }
    .drawer-nav a {
      display: block;
      padding: 0.55rem 0.65rem;
      border-radius: 8px;
      color: var(--text);
      text-decoration: none;
      font-size: 0.95rem;
    }
    .drawer-nav a:hover {
      background: var(--surface-2);
      color: var(--orange);
      text-decoration: none;
    }
    .drawer-nav .soon {
      padding: 0.55rem 0.65rem;
      border-radius: 8px;
      color: var(--muted);
      font-size: 0.88rem;
      cursor: not-allowed;
    }
    .shell-pad { padding-top: 3.25rem; }
