/* Apache OpenDAL™ · Contributors
   Built on the OpenDAL design system (website/DESIGN_SYSTEM.md): a cool ink
   scale, a single precise-blue accent, the solid bar from the wordmark,
   system type with monospace as the structural voice, hairlines before
   shadows. The --odl-* variables below are the website's own, verbatim. */

/* ---- primitives ---------------------------------------------------------- */
:root {
  --odl-ink-0: #ffffff; --odl-ink-50: #f6f8fa; --odl-ink-100: #edf1f5; --odl-ink-150: #e4e9ef;
  --odl-ink-200: #d8dee6; --odl-ink-300: #c2cad4; --odl-ink-400: #98a2b0; --odl-ink-500: #6e7886;
  --odl-ink-600: #4f5864; --odl-ink-700: #39414b; --odl-ink-800: #262c34; --odl-ink-850: #1b2027;
  --odl-ink-900: #12161b; --odl-ink-950: #0a0d11;
  --odl-blue-50: #edf3ff; --odl-blue-100: #d8e5ff; --odl-blue-200: #b4ccff; --odl-blue-300: #85a9ff;
  --odl-blue-400: #5384ff; --odl-blue-500: #2c63f5; --odl-blue-600: #1e54e0; --odl-blue-700: #1846be;

  --odl-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", sans-serif;
  --odl-font-mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Code", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --odl-text-2xs: 0.6875rem; --odl-text-xs: 0.75rem; --odl-text-sm: 0.875rem; --odl-text-base: 1rem;
  --odl-text-md: 1.125rem; --odl-text-lg: 1.375rem; --odl-text-xl: 1.75rem; --odl-text-2xl: 2.25rem;
  --odl-text-3xl: 3rem; --odl-text-display: clamp(2.75rem, 1.6rem + 5.2vw, 5rem);
  --odl-leading-tight: 1.08; --odl-leading-snug: 1.28; --odl-leading-normal: 1.6;
  --odl-tracking-tight: -0.022em; --odl-tracking-label: 0.12em;

  --odl-space-1: 0.25rem; --odl-space-2: 0.5rem; --odl-space-3: 0.75rem; --odl-space-4: 1rem;
  --odl-space-5: 1.5rem; --odl-space-6: 2rem; --odl-space-7: 3rem; --odl-space-8: 4rem; --odl-space-9: 6rem;

  --odl-radius-xs: 3px; --odl-radius-sm: 5px; --odl-radius-md: 8px; --odl-radius-lg: 12px; --odl-radius-pill: 999px;
  --odl-container: 1200px; --odl-container-narrow: 880px; --odl-gutter: clamp(1.25rem, 1rem + 2vw, 2.5rem);

  --odl-ease-out: cubic-bezier(0.16, 1, 0.3, 1); --odl-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --odl-dur-fast: 120ms; --odl-dur: 200ms; --odl-dur-slow: 320ms;
}

/* ---- semantic: light (default) ------------------------------------------- */
:root {
  --odl-bg: var(--odl-ink-0); --odl-bg-subtle: var(--odl-ink-50); --odl-bg-inset: var(--odl-ink-100);
  --odl-surface: var(--odl-ink-0); --odl-surface-2: var(--odl-ink-50);
  /* fg-subtle is the website's ink-500 (#6e7886) darkened a step: at small
     sizes ink-500 falls just short of WCAG AA (4.47:1 on white, 4.2:1 on the
     subtle band); #5f6874 clears 4.5:1 on both */
  --odl-fg: var(--odl-ink-900); --odl-fg-strong: var(--odl-ink-950); --odl-fg-muted: var(--odl-ink-600); --odl-fg-subtle: #5f6874;
  --odl-border: var(--odl-ink-200); --odl-border-strong: var(--odl-ink-300); --odl-bar: var(--odl-ink-950);
  --odl-accent: var(--odl-blue-600); --odl-accent-hover: var(--odl-blue-700); --odl-accent-subtle: var(--odl-blue-50); --odl-accent-border: var(--odl-blue-200);
  --odl-action-bg: var(--odl-blue-600); --odl-action-bg-hover: var(--odl-blue-700); --odl-action-fg: #ffffff;
  --odl-selection: var(--odl-blue-100);
  --odl-grid-line: rgba(18, 22, 27, 0.05);
  --odl-shadow-sm: 0 1px 2px rgba(10, 13, 17, 0.06), 0 1px 1px rgba(10, 13, 17, 0.04);
  --odl-shadow-lg: 0 18px 40px rgba(10, 13, 17, 0.1), 0 4px 12px rgba(10, 13, 17, 0.06);
  /* the card's shadow on the ground: a floating surface, so it may cast one */
  --card-ground: rgba(10, 13, 17, 0.34);
  color-scheme: light;
}
/* ---- semantic: dark ------------------------------------------------------ */
[data-theme="dark"] {
  --odl-bg: #0a0d11; --odl-bg-subtle: #0e1218; --odl-bg-inset: #12161d;
  --odl-surface: #11161c; --odl-surface-2: #161c24;
  /* fg-subtle a step lighter than the website's #76828f, which falls to
     4.37:1 on the raised surfaces; #7f8b98 keeps 4.5:1 on all of them */
  --odl-fg: #e7ebf0; --odl-fg-strong: #f6f8fa; --odl-fg-muted: #9aa6b3; --odl-fg-subtle: #7f8b98;
  --odl-border: #242c35; --odl-border-strong: #313b46; --odl-bar: #f6f8fa;
  --odl-accent: var(--odl-blue-300); --odl-accent-hover: var(--odl-blue-200); --odl-accent-subtle: rgba(44, 99, 245, 0.14); --odl-accent-border: rgba(133, 169, 255, 0.32);
  --odl-action-bg: var(--odl-blue-500); --odl-action-bg-hover: var(--odl-blue-400);
  --odl-selection: rgba(44, 99, 245, 0.36);
  --odl-grid-line: rgba(255, 255, 255, 0.045);
  --odl-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --odl-shadow-lg: 0 22px 48px rgba(0, 0, 0, 0.6);
  --card-ground: rgba(0, 0, 0, 0.85);
  color-scheme: dark;
}

/* ---- global -------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--odl-bg); color: var(--odl-fg);
  font: 400 var(--odl-text-base)/var(--odl-leading-normal) var(--odl-font-sans);
  font-feature-settings: "cv05" 1, "ss01" 1;
}
h1, h2, h3, h4 { letter-spacing: var(--odl-tracking-tight); color: var(--odl-fg-strong); }
a { color: var(--odl-accent); text-decoration: none; }
a:hover { color: var(--odl-accent-hover); }
code { font-family: var(--odl-font-mono); font-size: 0.9em; }
::selection { background: var(--odl-selection); }
:focus-visible { outline: 2px solid var(--odl-accent); outline-offset: 2px; border-radius: var(--odl-radius-xs); }

/* for screen readers only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* the first thing a keyboard reaches: past the navigation, straight to the page */
.skip {
  position: absolute; left: var(--odl-space-4); top: var(--odl-space-3); z-index: 50; padding: var(--odl-space-2) var(--odl-space-4);
  border-radius: var(--odl-radius-md); background: var(--odl-action-bg); color: var(--odl-action-fg); font-weight: 600; font-size: var(--odl-text-sm);
  transform: translateY(-200%); transition: transform var(--odl-dur) var(--odl-ease);
}
.skip:focus { transform: none; color: var(--odl-action-fg); }
.odl-container { width: 100%; max-width: var(--odl-container); margin-inline: auto; padding-inline: var(--odl-gutter); }
.odl-narrow { max-width: var(--odl-container-narrow); }

/* The signature bar, and the eyebrow it leads */
.odl-eyebrow {
  display: inline-flex; align-items: center; gap: var(--odl-space-3);
  font-family: var(--odl-font-mono); font-size: var(--odl-text-xs); font-weight: 500;
  letter-spacing: var(--odl-tracking-label); text-transform: uppercase; color: var(--odl-fg-muted);
}
.odl-eyebrow::before { content: ""; width: 1.5rem; height: 0.5rem; background: var(--odl-accent); flex: none; }

/* Faint blueprint grid, masked as the website's hero masks it */
.odl-grid-bg {
  background-image: linear-gradient(var(--odl-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--odl-grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
}
.grid-wash {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 72%);
}

/* Section rhythm: one hairline between sections */
.section { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); border-top: 1px solid var(--odl-border); }
.section-subtle { background: var(--odl-bg-subtle); }
.section-head { max-width: 46rem; margin-bottom: var(--odl-space-6); }
.section-title { font-size: var(--odl-text-2xl); line-height: var(--odl-leading-snug); font-weight: 650; margin: var(--odl-space-4) 0 0; }
.section-lede { font-size: var(--odl-text-md); line-height: var(--odl-leading-normal); color: var(--odl-fg-muted); margin: var(--odl-space-3) 0 0; max-width: 40rem; }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--odl-space-2);
  height: 2.875rem; padding-inline: var(--odl-space-5); border-radius: var(--odl-radius-md); border: 1px solid transparent;
  font: 600 var(--odl-text-sm)/1 var(--odl-font-sans); letter-spacing: -0.005em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--odl-dur) var(--odl-ease), border-color var(--odl-dur) var(--odl-ease), color var(--odl-dur) var(--odl-ease), transform var(--odl-dur-fast) var(--odl-ease);
}
.btn:active { transform: translateY(1px); }
.btn[hidden] { display: none; }
.btn-primary { background: var(--odl-action-bg); color: var(--odl-action-fg); }
.btn-primary:hover { background: var(--odl-action-bg-hover); color: var(--odl-action-fg); }
.btn-secondary { background: var(--odl-surface); color: var(--odl-fg-strong); border-color: var(--odl-border-strong); }
.btn-secondary:hover { color: var(--odl-fg-strong); border-color: var(--odl-fg-strong); background: var(--odl-surface-2); }
.btn-arrow { transition: transform var(--odl-dur) var(--odl-ease-out); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---- navbar -------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 20; background: var(--odl-surface); box-shadow: inset 0 -1px 0 var(--odl-border); }
.nav-inner { display: flex; align-items: center; gap: var(--odl-space-5); height: 3.75rem; }
.nav-brand { display: inline-flex; align-items: center; color: var(--odl-fg-strong); }
.nav-brand:hover { color: var(--odl-fg-strong); }
/* community mode: the project named in plain type, and plainly unofficial */
.nav-brand-text { gap: var(--odl-space-3); font-weight: 650; letter-spacing: var(--odl-tracking-tight); white-space: nowrap; }
.nav-tag { padding: 0.15rem 0.5rem; border: 1px solid var(--odl-border); border-radius: var(--odl-radius-sm); font: 500 var(--odl-text-2xs) var(--odl-font-mono); letter-spacing: 0.04em; color: var(--odl-fg-subtle); }
.wm { display: block; width: 5.7rem; height: 1.85rem; background: currentColor; -webkit-mask: url(mark.svg) 0 50% / contain no-repeat; mask: url(mark.svg) 0 50% / contain no-repeat; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: var(--odl-space-5); font-size: var(--odl-text-sm); font-weight: 500; }
.nav-links a { color: var(--odl-fg-muted); transition: color var(--odl-dur-fast) var(--odl-ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--odl-fg-strong); }
.nav-tools { display: flex; align-items: center; gap: var(--odl-space-2); }
.icon-btn {
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border: 0; border-radius: var(--odl-radius-md);
  background: transparent; color: var(--odl-fg-muted); cursor: pointer; transition: color var(--odl-dur-fast) var(--odl-ease), background-color var(--odl-dur-fast) var(--odl-ease);
}
.icon-btn:hover { color: var(--odl-accent); background: var(--odl-surface-2); }
.icon-btn svg { width: 20px; height: 20px; display: block; }
.theme .moon { display: none; }
[data-theme="dark"] .theme .sun { display: none; }
[data-theme="dark"] .theme .moon { display: block; }

/* ---- footer -------------------------------------------------------------- */
.foot { margin-top: auto; border-top: 1px solid var(--odl-border); background: var(--odl-bg); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--odl-space-4); padding-block: var(--odl-space-6); font-size: var(--odl-text-xs); color: var(--odl-fg-subtle); }
.foot-inner p { margin: 0; max-width: 46rem; line-height: 1.6; }
.foot a { color: var(--odl-fg-muted); }
.foot a:hover { color: var(--odl-accent); }

/* ---- the way back up: a floating bar, the one floating surface besides the card */
.float {
  position: fixed; left: 50%; bottom: max(var(--odl-space-5), env(safe-area-inset-bottom)); z-index: 30;
  display: flex; gap: 2px; padding: 3px; border: 1px solid var(--odl-border); border-radius: var(--odl-radius-md);
  background: color-mix(in srgb, var(--odl-surface) 94%, transparent); backdrop-filter: blur(8px); box-shadow: var(--odl-shadow-lg);
  transform: translate(-50%, calc(100% + 2rem)); opacity: 0; pointer-events: none;
  transition: transform var(--odl-dur-slow) var(--odl-ease-out), opacity var(--odl-dur) var(--odl-ease);
}
.float.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.float-btn {
  display: inline-flex; align-items: center; gap: var(--odl-space-2); height: 2.25rem; padding: 0 var(--odl-space-3);
  border: 0; border-radius: var(--odl-radius-sm); background: transparent; color: var(--odl-fg-strong); cursor: pointer;
  font: 600 var(--odl-text-sm)/1 var(--odl-font-sans); white-space: nowrap;
  transition: background-color var(--odl-dur-fast) var(--odl-ease), color var(--odl-dur-fast) var(--odl-ease);
}
.float-btn[hidden] { display: none; }
.float-btn span:first-child { font-family: var(--odl-font-mono); color: var(--odl-accent); }
.float-btn:hover { background: var(--odl-surface-2); }
/* after a jump the way back is the action; Top steps aside */
.float-back { background: var(--odl-accent-subtle); color: var(--odl-accent); }
.float-back:hover { background: var(--odl-accent-subtle); color: var(--odl-accent-hover); }
.float.has-back .float-top { color: var(--odl-fg-muted); font-weight: 500; }
/* where a way back lands: a brief ring on what was clicked */
.here { animation: here 1.6s var(--odl-ease) both; }
@keyframes here { 0%, 50% { box-shadow: 0 0 0 2px var(--odl-accent); } 100% { box-shadow: 0 0 0 2px transparent; } }
.rb-bars a.here::before { background: var(--odl-accent); }

/* ======================================================== the card's page */
.stage-wrap { position: relative; }
.acts { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--odl-space-3); padding-bottom: var(--odl-space-8); }

.who { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--odl-space-6); }
.who h1 { margin: var(--odl-space-4) 0 0; font-size: var(--odl-text-3xl); line-height: var(--odl-leading-tight); font-weight: 700; }
.who h1 a { color: inherit; }
.who h1 a:hover { color: var(--odl-accent); }
.who .lede { margin: var(--odl-space-3) 0 0; font-size: var(--odl-text-md); color: var(--odl-fg-muted); }
.who .lede b { color: var(--odl-fg-strong); font-weight: 600; }
.who .lede code { color: var(--odl-fg); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--odl-space-4); margin: 0; border-top: 1px solid var(--odl-border); padding-top: var(--odl-space-5); }
.stats div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stats dd { order: -1; margin: 0; font: 600 var(--odl-text-xl)/1.2 var(--odl-font-mono); color: var(--odl-fg-strong); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats dt { font-size: var(--odl-text-xs); color: var(--odl-fg-subtle); }

/* the two pictures of their history: a label row, then the picture */
.viz { margin-top: var(--odl-space-7); }
.viz-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--odl-space-2) var(--odl-space-4); margin-bottom: var(--odl-space-4); }
.viz-label { display: inline-flex; align-items: center; gap: var(--odl-space-3); font: 500 var(--odl-text-xs) var(--odl-font-mono); letter-spacing: var(--odl-tracking-label); text-transform: uppercase; color: var(--odl-fg-muted); }
.viz-label::before { content: ""; width: 0.875rem; height: 0.375rem; background: var(--odl-accent); flex: none; }
.viz-note { font-size: var(--odl-text-xs); color: var(--odl-fg-subtle); }

/* every release OpenDAL has cut, one bar each; theirs solid, and links */
.ribbon { position: relative; }
.rb-bars { display: flex; height: 2.5rem; align-items: flex-end; }
.rb-bars > * { flex: 1 1 0; height: 100%; position: relative; display: block; }
.rb-bars > *::before {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 45%; border-radius: 0;
  background: var(--odl-border); transition: background-color var(--odl-dur-fast) var(--odl-ease), height var(--odl-dur-fast) var(--odl-ease);
}
.rb-bars a { cursor: pointer; }
.rb-bars a:focus-visible { outline-offset: 0; }
.rb-bars a.on::before { background: var(--odl-bar); height: 100%; }
.rb-bars a.first::before { background: var(--odl-accent); }
.rb-bars a:hover::before, .rb-bars a:focus-visible::before { background: var(--odl-accent); }
.rb-axis { display: flex; justify-content: space-between; gap: var(--odl-space-3); margin-top: var(--odl-space-3); font: 400 var(--odl-text-xs) var(--odl-font-mono); color: var(--odl-fg-subtle); }
.rb-key { display: inline-flex; align-items: center; gap: var(--odl-space-2); }
.rb-key::before { content: ""; width: 0.875rem; height: 0.375rem; background: var(--odl-accent); }
.tip {
  position: absolute; top: 0; transform: translate(-50%, calc(-100% - 0.5rem)); pointer-events: none; z-index: 3;
  padding: 0.35rem 0.6rem; border: 1px solid var(--odl-border); border-radius: var(--odl-radius-sm);
  background: var(--odl-surface); box-shadow: var(--odl-shadow-sm); color: var(--odl-fg); white-space: nowrap;
  font: 500 var(--odl-text-xs)/1.4 var(--odl-font-mono); opacity: 0; transition: opacity var(--odl-dur-fast) var(--odl-ease);
}
.tip.on { opacity: 1; }
.tip span { color: var(--odl-fg-subtle); }

/* the contribution wall: months across, areas down, steps of ink */
:root { --w0: var(--odl-ink-100); --w1: var(--odl-ink-300); --w2: var(--odl-ink-500); --w3: var(--odl-ink-700); --w4: var(--odl-ink-950); }
[data-theme="dark"] { --w0: #161c24; --w1: #313b46; --w2: #4f5864; --w3: #98a2b0; --w4: #f6f8fa; }
.wall { position: relative; }
.wall-grid {
  --cell: 12px;
  display: grid; grid-template-columns: 6.5rem repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), var(--cell)) auto;
  gap: 2px;
}
.wall-grid > i, .wall-grid > a { display: block; background: var(--w0); border-radius: 0; }
.wall-grid > a { cursor: pointer; transition: opacity var(--odl-dur) var(--odl-ease), box-shadow var(--odl-dur-fast) var(--odl-ease); }
.wall-grid > a.w1 { background: var(--w1); }
.wall-grid > a.w2 { background: var(--w2); }
.wall-grid > a.w3 { background: var(--w3); }
.wall-grid > a.w4 { background: var(--w4); }
.wall-grid > a:hover, .wall-grid > a:focus-visible, .wall-grid > a.sel { outline: none; box-shadow: 0 0 0 2px var(--odl-accent); position: relative; z-index: 1; }
.wall-grid > a.dim { opacity: 0.18; }
.wall-row {
  grid-column: 1; align-self: stretch; justify-self: stretch; display: flex; align-items: center; padding: 0 var(--odl-space-2) 0 0; border: 0; background: none; cursor: pointer;
  font: 400 var(--odl-text-2xs)/1 var(--odl-font-mono); color: var(--odl-fg-muted); text-align: left; white-space: nowrap;
  transition: color var(--odl-dur-fast) var(--odl-ease);
}
.wall-row:hover { color: var(--odl-accent); }
.wall-row[aria-pressed="true"] { color: var(--odl-accent); }
.wall-row[aria-pressed="true"]::before { content: ""; display: inline-block; width: 0.5rem; height: 0.375rem; margin-right: 0.4rem; background: var(--odl-accent); vertical-align: 1px; }
.wall-corner { grid-column: 1; }
.wall-year { padding-top: var(--odl-space-2); border-left: 1px solid var(--odl-border-strong); padding-left: 4px; font: 400 var(--odl-text-2xs) var(--odl-font-mono); color: var(--odl-fg-subtle); white-space: nowrap; overflow: hidden; }
.wall-legend { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: var(--odl-space-3); font: 400 var(--odl-text-2xs) var(--odl-font-mono); color: var(--odl-fg-subtle); }
.wall-legend i { width: 10px; height: 10px; background: var(--w0); }
.wall-legend i.w1 { background: var(--w1); } .wall-legend i.w2 { background: var(--w2); } .wall-legend i.w3 { background: var(--w3); } .wall-legend i.w4 { background: var(--w4); }
.wall-legend span:first-child { margin-right: 4px; } .wall-legend span:last-child { margin-left: 4px; }

/* filter chips, as the website's service chips; they stay under the nav
   while the log scrolls, so the filter is always at hand */
.chips {
  position: sticky; top: 3.75rem; z-index: 6; display: flex; flex-wrap: nowrap; gap: var(--odl-space-2);
  margin: 0 calc(var(--odl-space-3) * -1) var(--odl-space-4); padding: var(--odl-space-3); overflow-x: auto; scrollbar-width: none;
  background: color-mix(in srgb, var(--odl-bg-subtle) 92%, transparent); backdrop-filter: blur(6px);
}
.chips::-webkit-scrollbar { display: none; }
.chips .chip { flex: none; }
.chips[hidden] { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: var(--odl-space-2); padding: 0.3rem 0.6rem;
  border: 1px solid var(--odl-border); border-radius: var(--odl-radius-sm); background: var(--odl-bg);
  font: 400 var(--odl-text-xs)/1.5 var(--odl-font-mono); color: var(--odl-fg); cursor: pointer;
  transition: border-color var(--odl-dur) var(--odl-ease), background-color var(--odl-dur) var(--odl-ease), color var(--odl-dur) var(--odl-ease);
}
.chip b { font-weight: 400; color: var(--odl-fg-subtle); }
.chip:hover { border-color: var(--odl-accent); background: var(--odl-surface-2); }
.chip[aria-pressed="true"] { border-color: var(--odl-accent-border); background: var(--odl-accent-subtle); color: var(--odl-accent); }
.chip[aria-pressed="true"] b { color: var(--odl-accent); }

/* the log: a hairline table, by release */
.log { list-style: none; margin: 0; padding: 0; border: 1px solid var(--odl-border); border-radius: var(--odl-radius-lg); background: var(--odl-surface); overflow: hidden; }
.log > li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); border-top: 1px solid var(--odl-border); }
.log > li:first-child { border-top: 0; }
.log-rel { padding: var(--odl-space-4) var(--odl-space-5); border-right: 1px solid var(--odl-border); background: var(--odl-surface-2); }
.log-rel > div { position: sticky; top: 8.25rem; display: flex; flex-direction: column; gap: 2px; }
.log-rel a { font: 600 var(--odl-text-sm) var(--odl-font-mono); color: var(--odl-fg-strong); }
.log-rel a:hover { color: var(--odl-accent); }
.log-rel .next { font: 600 var(--odl-text-sm) var(--odl-font-mono); color: var(--odl-fg-muted); }
.log-rel time { font: 400 var(--odl-text-xs) var(--odl-font-mono); color: var(--odl-fg-subtle); }
.log ul { list-style: none; margin: 0; padding: var(--odl-space-3) var(--odl-space-5); }
.log ul li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--odl-space-4); align-items: baseline; padding: 0.3rem 0; font-size: 0.9375rem; line-height: 1.55; color: var(--odl-fg); }
.log .sc { font: 400 var(--odl-text-xs) var(--odl-font-mono); color: var(--odl-fg-subtle); margin-right: var(--odl-space-2); }
.log .bang { display: inline-block; margin-right: var(--odl-space-2); padding: 0 0.35rem; border: 1px solid var(--odl-accent-border); border-radius: var(--odl-radius-xs); background: var(--odl-accent-subtle); color: var(--odl-accent); font: 600 var(--odl-text-2xs)/1.5 var(--odl-font-mono); vertical-align: 1px; }
.log code { padding: 0.05rem 0.3rem; border: 1px solid var(--odl-border); border-radius: var(--odl-radius-xs); background: var(--odl-bg-subtle); font-size: 0.82em; }
.log .pr { font: 400 var(--odl-text-xs) var(--odl-font-mono); color: var(--odl-fg-subtle); }
.log .pr:hover { color: var(--odl-accent); }
.more { margin: var(--odl-space-5) auto 0; display: flex; }
/* a change (or a release) arrived at from the wall, the ribbon or the card */
.log > li, .log ul li { scroll-margin-top: 8.5rem; }
.log ul li { margin-inline: calc(var(--odl-space-2) * -1); padding-inline: var(--odl-space-2); border-radius: var(--odl-radius-sm); }
.log ul li.hit { animation: hit 2.2s var(--odl-ease) both; }
.log > li.hit .log-rel { animation: hit-rel 2.2s var(--odl-ease) both; }
@keyframes hit { 0%, 55% { background: var(--odl-accent-subtle); box-shadow: inset 2px 0 0 var(--odl-accent); } 100% { background: transparent; box-shadow: inset 2px 0 0 transparent; } }
@keyframes hit-rel { 0%, 55% { background: var(--odl-accent-subtle); box-shadow: inset 3px 0 0 var(--odl-accent); } 100% { box-shadow: inset 3px 0 0 transparent; } }

/* ======================================================== the directory */
.hero { position: relative; padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); padding-bottom: clamp(3rem, 2rem + 5vw, 5.5rem); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero-title { margin: var(--odl-space-5) 0 0; font-size: var(--odl-text-display); line-height: var(--odl-leading-tight); font-weight: 700; }
.hero-title span { color: var(--odl-accent); }
.hero-lede { margin: var(--odl-space-5) 0 0; max-width: 34rem; font-size: var(--odl-text-md); color: var(--odl-fg-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--odl-space-3); margin-top: var(--odl-space-6); }
.hero .stats { margin-top: var(--odl-space-8); }

/* the ring: eight cards round a slowly turning ring (directory.js sets
   --theta, --r and each card's shade) */
.ring { position: relative; display: flex; flex-direction: column; gap: var(--odl-space-4); }
.ring-stage {
  position: relative; height: clamp(16rem, 29vw, 24rem); perspective: 1500px; perspective-origin: 50% 35%;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.ring-stage:active { cursor: grabbing; }
.ring-spin {
  --theta: 0deg; --r: 360px;
  position: absolute; left: 50%; top: 46%; width: clamp(12rem, 21vw, 18.5rem); aspect-ratio: 1000 / 631;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) translateZ(calc(var(--r) * -1)) rotateX(-7deg) rotateY(var(--theta));
}
.ring-card {
  position: absolute; inset: 0; display: block; transform-style: preserve-3d; border-radius: 3.2% / 5.07%;
  transform: rotateY(var(--a)) translateZ(var(--r));
}
.ring-face {
  position: absolute; inset: 0; overflow: hidden; border-radius: 3.2% / 5.07%; background: #0a0d11;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 18px 40px -16px var(--card-ground), inset 0 1px 0 rgba(246, 248, 250, .12);
}
.ring-face.is-back { transform: rotateY(180deg); }
[data-theme="dark"] .ring-face { box-shadow: 0 18px 40px -16px var(--card-ground), inset 0 0 0 1px #313b46; }
.ring-face canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ring-shade { position: absolute; inset: 0; background: #05070a; opacity: 0; pointer-events: none; }
.ring-card.is-front-card .ring-face.is-front { box-shadow: 0 26px 50px -18px var(--card-ground), 0 0 0 1px rgba(133, 169, 255, .35), inset 0 1px 0 rgba(246, 248, 250, .14); }
.ring-card:focus-visible { outline: none; }
.ring-card:focus-visible .ring-face.is-front { box-shadow: 0 0 0 2px var(--odl-bg), 0 0 0 4px var(--odl-accent); }
/* the back of a card: the website's grid, the project's name, the bar */
.deck-back {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(135deg, #161c24, #0a0d11);
  background-size: 16px 16px, 16px 16px, auto;
  font: 600 0.8125rem/1 var(--odl-font-sans); color: #e7ebf0; letter-spacing: -0.01em;
}
.deck-back i { width: 30px; height: 7px; background: #85a9ff; }
/* a soft pool of shadow on the floor under the ring */
.ring-floor {
  position: absolute; left: 12%; right: 12%; bottom: 0; height: 26%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--card-ground), transparent); opacity: .5; filter: blur(8px); pointer-events: none;
}
.ring-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--odl-space-4); }
.ring-caption { margin: 0; min-width: 0; font-size: var(--odl-text-sm); color: var(--odl-fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deck-no { font: 500 var(--odl-text-xs) var(--odl-font-mono); color: var(--odl-fg-subtle); }
.deck-role { color: var(--odl-fg-muted); }
.ring-controls { display: flex; gap: 2px; flex: none; }
.ring-controls .icon-btn { width: 2rem; height: 2rem; }
.ring-controls svg { width: 18px; height: 18px; }
.ring-pause .i-play, .ring.paused .ring-pause .i-pause { display: none; }
.ring.paused .ring-pause .i-play { display: block; }

/* browse by first letter */
.browse { display: flex; flex-wrap: wrap; gap: 4px; margin-top: var(--odl-space-4); }
.letter {
  min-width: 2rem; height: 2rem; padding: 0 0.4rem; border: 1px solid var(--odl-border); border-radius: var(--odl-radius-sm);
  background: var(--odl-surface); color: var(--odl-fg); font: 500 var(--odl-text-xs)/1 var(--odl-font-mono); cursor: pointer;
  transition: border-color var(--odl-dur) var(--odl-ease), background-color var(--odl-dur) var(--odl-ease), color var(--odl-dur) var(--odl-ease);
}
.letter:hover:not(:disabled) { border-color: var(--odl-accent); }
.letter[aria-pressed="true"] { border-color: var(--odl-accent-border); background: var(--odl-accent-subtle); color: var(--odl-accent); }
.letter:disabled { color: var(--odl-fg-subtle); opacity: .45; cursor: default; }
.hero { overflow-x: clip; }
@media (hover: none) { .search kbd { display: none; } }

.search {
  flex: 1 1 20rem; max-width: 28rem; display: flex; align-items: center; gap: var(--odl-space-2); height: 2.5rem; padding: 0 var(--odl-space-3);
  border: 1px solid var(--odl-border-strong); border-radius: var(--odl-radius-md); background: var(--odl-surface); color: var(--odl-fg-subtle);
  transition: border-color var(--odl-dur) var(--odl-ease);
}
.search:focus-within { border-color: var(--odl-accent); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--odl-fg); font: 400 var(--odl-text-sm) var(--odl-font-sans); }
.search input::placeholder { color: var(--odl-fg-subtle); }
.search kbd { font: 500 var(--odl-text-2xs) var(--odl-font-mono); color: var(--odl-fg-subtle); border: 1px solid var(--odl-border); border-radius: var(--odl-radius-xs); padding: 0.05rem 0.35rem; }
.search { max-width: none; }
.finder-note { margin: var(--odl-space-3) 0 0; font: 400 var(--odl-text-xs) var(--odl-font-mono); color: var(--odl-fg-subtle); }
/* matches, alphabetical, in the website's hairline table */
.finder-list { list-style: none; margin: var(--odl-space-4) 0 0; padding: 0; border: 1px solid var(--odl-border); border-radius: var(--odl-radius-lg); background: var(--odl-surface); overflow: hidden; }
.finder-list[hidden] { display: none; }
.finder-list li { border-top: 1px solid var(--odl-border); }
.finder-list li:first-child { border-top: 0; }
.finder-list a {
  display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--odl-space-4); align-items: center;
  padding: var(--odl-space-3) var(--odl-space-5); color: var(--odl-fg); transition: background-color var(--odl-dur) var(--odl-ease);
}
.finder-list a:hover { background: var(--odl-surface-2); color: var(--odl-fg); }
.r-pic {
  flex: none; width: 2rem; height: 2rem; border-radius: var(--odl-radius-sm); overflow: hidden; display: grid; place-items: center;
  background: var(--odl-bg-inset); border: 1px solid var(--odl-border); color: var(--odl-fg-subtle); font: 600 var(--odl-text-sm) var(--odl-font-mono);
}
.r-pic img { width: 100%; height: 100%; object-fit: cover; }
.r-name { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.r-name b { font-weight: 600; font-size: 0.9375rem; color: var(--odl-fg-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-name small { font: 400 var(--odl-text-xs) var(--odl-font-mono); color: var(--odl-fg-subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-role { font-size: var(--odl-text-sm); color: var(--odl-fg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-places { display: flex; gap: var(--odl-space-1); min-width: 0; overflow: hidden; }
.r-places span { flex: none; padding: 0.1rem 0.45rem; border: 1px solid var(--odl-border); border-radius: var(--odl-radius-sm); background: var(--odl-bg); font: 400 var(--odl-text-2xs)/1.6 var(--odl-font-mono); color: var(--odl-fg-muted); }

@media (max-width: 996px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .finder-list a { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
  .finder-list .r-places { display: none; }
  .nav-links a:not([aria-current]) { display: none; }
  .nav.is-community .nav-links { display: none; }
  .nav.is-community .nav-tools { margin-left: auto; }
}
@media (max-width: 640px) {
  .finder-list a { grid-template-columns: auto minmax(0, 1fr); padding-inline: var(--odl-space-4); }
  .finder-list .r-role { display: none; }
  .wall { overflow-x: auto; padding-top: 2.4rem; margin-top: -2.4rem; scrollbar-width: thin; }
  .wall-grid { --cell: 10px; grid-template-columns: 5.25rem repeat(var(--cols), 10px); width: max-content; }
  .wall-row { position: sticky; left: 0; z-index: 1; background: var(--odl-bg); height: 100%; }
  .rb-axis { flex-wrap: wrap; }
  .rb-key { order: 3; flex-basis: 100%; }
  .acts .btn { height: 2.5rem; padding-inline: 0.85rem; font-size: 0.8125rem; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--odl-space-5); }
  .log > li { grid-template-columns: minmax(0, 1fr); }
  .log-rel { border-right: 0; border-bottom: 1px solid var(--odl-border); padding-block: var(--odl-space-3); }
  .log-rel > div { position: static; flex-direction: row; gap: var(--odl-space-3); align-items: baseline; }
  .log ul li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .log .pr { display: none; }
  .who h1 { font-size: var(--odl-text-2xl); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
