/* Direction A: the release log. White paper, black ink, one green "live" dot. */
:root {
  --bg: #ffffff; --ink: #141414; --mute: #5f5f5c; --faint: #8a8a86;
  --rule: #e4e4e0; --chip: #f3f3f0; --live: #1f8a4c; --link: #141414;
  --slot-bg: #fff8d6; --slot-ink: #5c4a00;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f1011; --ink: #ececea; --mute: #a3a39f; --faint: #7c7c78;
  --rule: #26282a; --chip: #1a1c1d; --live: #45c07a; --link: #ececea;
  --slot-bg: #2b2610; --slot-ink: #f1dc8a;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1011; --ink: #ececea; --mute: #a3a39f; --faint: #7c7c78;
    --rule: #26282a; --chip: #1a1c1d; --live: #45c07a; --link: #ececea;
    --slot-bg: #2b2610; --slot-ink: #f1dc8a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 "IBM Plex Sans", system-ui, sans-serif;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--bg); padding: 8px 12px; z-index: 9; }
.mono, .kind, .tags, .filters button, .theme, .go a { font-family: "IBM Plex Mono", ui-monospace, monospace; }

.page { max-width: 1180px; margin: 0 auto; padding: 28px 20px 40px; }

/* identity block */
.id { position: relative; padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.id h1 { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.1; }
.role { margin: 6px 0 0; font-weight: 500; }
.where { margin: 0; color: var(--mute); }
.summary { margin: 16px 0 0; max-width: 34em; }
.links { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.links a { display: inline-block; padding: 6px 0; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.filters button, .theme {
  font-size: 13px; color: var(--ink); background: var(--chip); border: 1px solid var(--rule);
  border-radius: 4px; padding: 0 12px; min-height: 36px; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.theme { position: absolute; top: 0; right: 0; }

/* the log */
.entry { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 22px 0 26px; border-bottom: 1px solid var(--rule); }
.kind { margin: 0; font-size: 12.5px; color: var(--mute); display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.live { background: var(--live); }
.entry h3 { margin: 6px 0 0; font-size: 22px; font-weight: 600; line-height: 1.2; display: flex; align-items: center; gap: 12px; }
.icon { width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--rule); flex: none; }
.line { margin: 6px 0 0; max-width: 38em; }
.tags { margin: 8px 0 0; font-size: 13px; color: var(--mute); }
.notes { margin: 10px 0 0; padding-left: 18px; max-width: 40em; }
.notes li { margin: 4px 0; }
.notes li::marker { color: var(--faint); }
.slot {
  margin: 10px 0 0; padding: 8px 10px; font-size: 14px; border-radius: 4px;
  background: var(--slot-bg); color: var(--slot-ink); max-width: 38em;
}
.shots {
  display: flex; gap: 10px; margin: 14px -20px 0; padding: 0 20px 4px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.shots figure { margin: 0; flex: 0 0 auto; width: 46%; max-width: 210px; scroll-snap-align: start; }
.shots.one figure { width: 62%; max-width: 280px; }
.shots.wide figure { width: 72%; max-width: 340px; }
.shots img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--rule); background: var(--chip); }
.go { margin: 12px 0 0; display: flex; gap: 8px; }
.go a {
  font-size: 13px; text-decoration: none; border: 1px solid var(--ink); border-radius: 4px;
  padding: 0 14px; min-height: 40px; display: inline-flex; align-items: center;
}
.go a:hover { background: var(--ink); color: var(--bg); }

.foot { margin-top: 30px; color: var(--mute); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.foot p { margin: 0; }

@media (min-width: 900px) {
  .page { display: grid; grid-template-columns: 330px 1fr; column-gap: 64px; padding-top: 56px; }
  .id { position: sticky; top: 40px; align-self: start; border-bottom: 0; padding-bottom: 0; }
  .id h1 { font-size: 40px; }
  .theme { position: static; margin-top: 22px; }
  .log { min-width: 0; border-top: 1px solid var(--ink); }
  .shots { margin: 14px 0 0; padding: 0 0 4px; overflow: visible; flex-wrap: wrap; }
  .shots figure { width: 190px; }
  .shots.one figure { width: 260px; }
  .shots.wide figure { width: 320px; }
  .foot { grid-column: 2; }
}
.aside { margin: 10px 0 0; max-width: 34em; color: var(--mute); }
