:root {
  color-scheme: light;
  --black: #111111;
  --muted: #696969;
  --line: #dedede;
  --soft: #f6f6f6;
  --white: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--white); }
body { margin: 0; background: var(--white); color: var(--black); min-width: 320px; }
button, input, textarea { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { height: 86px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 132px; height: auto; display: block; }
.header-nav { display: flex; gap: 28px; font-size: 14px; }
.header-nav a { text-decoration: none; }
.header-nav a:hover { text-decoration: underline; }

.page-shell { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 100px; }
.intro-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 44px; }
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(36px, 6vw, 60px); line-height: .95; letter-spacing: -.04em; font-weight: 700; }
.intro-copy { margin-bottom: 0; color: var(--muted); font-size: 16px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--black); border-bottom: 1px solid var(--line); padding: 16px 0; }
.search-field { flex: 1; }
.search-field input { width: min(100%, 410px); border: 0; outline: 0; background: var(--white); color: var(--black); font-size: 14px; }
.search-field input::placeholder { color: #999; }
.entry-count { color: var(--muted); font-size: 12px; }

.entries { display: grid; gap: 0; }
.entry { display: grid; grid-template-columns: 125px 1fr 36px; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.entry-date { color: var(--muted); font-size: 13px; line-height: 1.45; }
.entry-version { display: block; color: var(--black); font-weight: 700; margin-bottom: 7px; }
.entry h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.15; font-weight: 600; }
.entry-text { margin-bottom: 18px; max-width: 650px; color: #424242; font-size: 15px; line-height: 1.65; white-space: pre-wrap; }
.entry-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 620px; }
.entry-images img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); cursor: zoom-in; background: var(--soft); }
.empty-state { border-bottom: 1px solid var(--line); padding: 80px 0; text-align: center; }
.empty-state strong { font-size: 18px; }
.empty-state p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.load-error { border-bottom: 1px solid var(--line); padding: 32px 0; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 640px) {
  .site-header { height: 72px; padding: 0 20px; }
  .brand img { width: 108px; }
  .header-nav { gap: 16px; font-size: 13px; }
  .page-shell { width: min(100% - 32px, 920px); padding-top: 48px; }
  .intro-row { align-items: flex-start; flex-direction: column; gap: 24px; padding-bottom: 32px; }
  .entry { grid-template-columns: 1fr 28px; gap: 12px; padding: 26px 0; }
  .entry-date { grid-column: 1 / -1; }
  .entry h3 { font-size: 20px; }
  .entry-images { grid-template-columns: repeat(2, 1fr); }
}
