:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  background: #fff;
  color: #222;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button { font: inherit; }
.page { width: min(100% - 48px, 1000px); margin: 0 auto; }
.site-header { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 55px 0 43px; border-bottom: 1px solid #e8e8e8; }
.site-header h1 { font-size: clamp(1.65rem, 3.3vw, 2.35rem); line-height: 1.1; font-weight: 650; letter-spacing: -.065em; margin: 0 0 8px; }
.period { color: #777; }
.site-header p { font-size: .92rem; margin: 0; color: #777; }
.site-label { color: #8d8d8d; font-size: .7rem; font-weight: 650; letter-spacing: .16em; white-space: nowrap; }
.timeline-summary { display: flex; justify-content: space-between; gap: 16px; padding: 23px 0 20px; color: #888; font-size: .76rem; }
.timeline-feed { position: relative; padding: 6px 0 10px 35px; }
.timeline-feed::before { content: ''; position: absolute; left: 8px; top: 15px; bottom: 0; width: 1px; background: #e5e5e5; }
.entry { position: relative; padding: 0 0 74px; min-width: 0; }
.entry::before { content: ''; position: absolute; top: 8px; left: -32px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; background: #555; box-shadow: 0 0 0 1px #d9d9d9; }
.entry-meta { display: flex; gap: 15px; align-items: baseline; flex-wrap: wrap; color: #777; font-size: .77rem; }
.entry-day { color: #999; }
.entry-title { font-size: clamp(1.08rem, 2.2vw, 1.38rem); line-height: 1.4; letter-spacing: -.035em; font-weight: 620; margin: 9px 0 16px; }
.entry-gallery { display: flex; flex-direction: column; gap: 16px; }
.art-button { display: block; width: 100%; max-width: 790px; border: 0; border-radius: 2px; background: #f3f3f3; padding: 0; overflow: hidden; cursor: zoom-in; text-align: center; }
.art-button:focus-visible, .viewer button:focus-visible { outline: 3px solid #4d76b5; outline-offset: 4px; }
.art-image { display: block; width: 100%; max-height: 82vh; object-fit: contain; background: #f3f3f3; }
.art-image:not([src]) { min-height: 180px; }
.art-error { padding: 18px; color: #9b3a3a; font-size: .82rem; }
.entry-description { max-width: 720px; font-size: .91rem; line-height: 1.65; color: #555; margin: 16px 0 0; }
.entry-hours { font-size: .75rem; color: #9a9a9a; margin: 9px 0 0; }
.timeline-status { text-align: center; font-size: .8rem; color: #999; margin: 0; padding: 10px 0 65px; }
.load-sentinel { height: 1px; }
[hidden] { display: none !important; }
.viewer { position: fixed; inset: 0; margin: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; border: 0; background: #fff; color: #222; padding: 18px 20px; }
.viewer::backdrop { background: rgba(0,0,0,.82); }
.viewer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 42px; color: #666; font-size: .82rem; }
.viewer-close { border: 0; background: transparent; color: #333; padding: 8px 4px; cursor: pointer; }
.viewer-stage { height: calc(100% - 50px); display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; gap: 8px; }
.viewer-stage img { display: block; margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer-arrow { border: 0; background: transparent; color: #555; font-size: 2.4rem; cursor: pointer; padding: 8px; }
.viewer-arrow:disabled { color: #ddd; cursor: default; }
@media (max-width: 600px) {
  .page { width: min(100% - 30px, 1000px); }
  .site-header { padding: 32px 0 28px; }
  .site-label { display: none; }
  .timeline-feed { padding-left: 24px; }
  .timeline-feed::before { left: 5px; }
  .entry::before { left: -23px; }
  .entry { padding-bottom: 50px; }
  .viewer { padding: 10px; }
  .viewer-stage { grid-template-columns: 30px minmax(0,1fr) 30px; gap: 1px; }
  .viewer-arrow { font-size: 1.9rem; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
