/* raghav.it palette and type. Layout idea: a journey, newest first; big sticky year numerals on the left rail, entries hang off a vertical line. */
  :root {
    --bg: #0a0a09;
    --surface: #111110;
    --surface2: #1a1a18;
    --text: #e8e4dc;
    --muted: #9c9890;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #e8a030;
    --blue: #5b8fd4;
    --green: #6ab187;
    --rose: #d07a8c;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    color-scheme: dark;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 14px; line-height: 1.55; }
  a { color: inherit; }
  .wrap { max-width: 60rem; margin: 0 auto; padding: 0 20px; }
  header.site { position: fixed; inset: 0 0 auto 0; z-index: 10; background: rgba(10, 10, 9, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .site-in { max-width: 1100px; height: 56px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .gm { display: grid; grid-template-columns: 11px 11px; gap: 3px; }
  .gc { position: relative; width: 11px; height: 11px; border-radius: 1.5px; background: #161616; border: 0.5px solid #242424; }
  .gc.on { background: var(--accent); border: 0; }
  .gc .d { position: absolute; left: 3.5px; top: 3.5px; width: 4px; height: 4px; border-radius: 50%; background: #0a0a0a; }
  .wm { display: flex; flex-direction: column; font-size: 13px; line-height: 1.05; }
  .wm .tld { color: var(--accent); font-weight: 300; }
  header.site nav { display: flex; flex-wrap: wrap; gap: 4px; }
  header.site nav a { font-size: 10.9px; text-transform: uppercase; letter-spacing: 0.07em; color: #6b6860; text-decoration: none; padding: 6.4px 12px; border-radius: 4px; }
  header.site nav a:hover { color: var(--text); }
  header.site nav a[aria-current] { color: var(--text); background: var(--surface2); }
  .eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
  .live { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 25%, transparent); }
  .lead b { color: var(--accent); font-weight: 400; }
  .to-journey { display: inline-block; margin-top: 18px; font-size: 0.8rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
  .to-journey:hover { border-color: var(--accent); }
  .v.view { color: var(--text); }
  .art.thumb.is-missing { display: grid; place-items: center; background: var(--surface2); color: var(--muted); font-size: 0.7rem; text-align: center; padding: 6px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding: 120px 0 36px; align-items: end; border-bottom: 1px solid var(--line); }
  h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.5rem, 6.5vw, 4.2rem); line-height: 1.03; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
  h1 em { color: var(--accent); }
  .lead { color: var(--muted); margin: 16px 0 0; max-width: 44ch; }
  .total { font-family: var(--font-display); font-weight: 300; font-size: 4.5rem; line-height: 1; color: var(--accent); }
  .total-l { color: var(--muted); margin: 4px 0 16px; }
  .matrix { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .matrix li { display: grid; grid-template-columns: 7.5rem 1fr 2rem; gap: 10px; align-items: center; }
  .matrix .sk { color: var(--muted); font-size: 0.82rem; }
  .matrix b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
  .track { display: block; height: 6px; background: var(--surface2); border-radius: 3px; overflow: hidden; }
  .track > span { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
  .issuers { color: var(--muted); font-size: 0.75rem; margin: 14px 0 0; }
  .filters { position: sticky; top: 56px; z-index: 3; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .f { font: inherit; font-size: 0.82rem; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
  .f[aria-pressed="true"] { color: var(--bg); background: var(--text); border-color: var(--text); }
  .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
  .yr { display: grid; grid-template-columns: 9rem 1fr; gap: 24px; padding: 36px 0 8px; }
  .y { position: sticky; top: 132px; align-self: start; margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 3.4rem; line-height: 1; color: var(--text); }
  .yc { display: block; font-family: var(--font-body); font-size: 0.78rem; color: var(--muted); margin-top: 8px; }
  .yc::after { content: " earned"; }
  .list { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--line); display: grid; gap: 12px; }
  .e { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 12px 12px; }
  .e::before { content: ""; position: absolute; left: -28px; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); transform: translateY(-50%); }
  .e.is-cert { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface) 60%); }
  .e.is-cert::before { background: var(--accent); border-color: var(--accent); }
  .e.is-now, .e.is-mods { grid-template-columns: 1fr auto; padding-left: 16px; }
  .e.is-now::before { border-color: var(--accent); }
  .e[hidden] { display: none; }
  .art.thumb { display: block; width: 120px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #f4f1ea; }
  .art.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
  .art.badge { width: 64px; height: 64px; object-fit: contain; }
  .art.ring { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); }
  .txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .n { font-weight: 500; line-height: 1.35; }
  .e.is-cert .n { font-family: var(--font-display); font-weight: 300; font-size: 1.35rem; }
  .m { color: var(--muted); font-size: 0.8rem; }
  .ok { color: var(--green); font-size: 0.8rem; }
  .kind { color: var(--accent); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
  .chip { align-self: flex-start; font-size: 0.7rem; color: var(--c); border: 1px solid var(--c); border-radius: 999px; padding: 0 8px; margin-bottom: 2px; }
  .v { color: var(--accent); text-decoration: none; font-size: 0.82rem; white-space: nowrap; }
  .v:hover { text-decoration: underline; text-underline-offset: 3px; }
  .v.off { color: var(--muted); }
  .pct { color: var(--accent); font-variant-numeric: tabular-nums; }
  .e.is-now .track { margin-top: 8px; }
  .strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
  .strip a { display: grid; place-items: center; width: 56px; height: 58px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
  .strip a:hover { border-color: var(--accent); transform: translateY(-2px); }
  .strip img { width: 44px; height: 46px; object-fit: contain; }
  footer { margin-top: 48px; padding: 24px 0 48px; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.8rem; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  @media (max-width: 720px) {
    .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 96px; }
    .site-in { padding: 0 16px; }
    header.site nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; }
    header.site nav a { padding: 6px 7px; letter-spacing: 0.04em; white-space: nowrap; flex: none; }
    .wm { display: none; }
    .yr { grid-template-columns: 1fr; gap: 12px; }
    .y { position: static; font-size: 2.6rem; }
    .e { grid-template-columns: auto 1fr; }
    .e .v { grid-column: 2; justify-self: start; }
    .art.thumb { width: 84px; }
  }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Shared main-nav CTA (from site-nav.js) */
header.site nav a.nav-cta,
.site-in nav a.nav-cta {
  margin-left: 0.35rem;
  border: 1px solid var(--line, rgba(255,255,255,0.12));
  color: var(--text, #e8e4dc) !important;
}
header.site nav a.nav-cta:hover,
.site-in nav a.nav-cta:hover {
  border-color: var(--accent, #e8a030) !important;
  color: var(--accent, #e8a030) !important;
  background: transparent;
}
