/* Inner pages in the kit style. Builds on home.css (tokens, fonts, nav). No W3.CSS. */
.nav.solid { position: sticky; background: #000; border-bottom: 1px solid var(--rule); }
.nav nav a.on { color: #fff; border-bottom: 1px solid var(--accent); }
.page { max-width: 1500px; margin: 0 auto; padding: 3em var(--pad) 4em; }
.page h1 { font-weight: 500; font-size: 2.4em; line-height: 1.1; margin: .2em 0 .3em; }
.page h2 { font-size: 1.4em; margin: 1.8em 0 .5em; }
.page h3 { font-size: 1em; }
.lead { font-size: 1.2em; color: #d6d6d6; max-width: 46em; }
.prose { max-width: 50em; }
.prose p, .prose li { color: #d6d6d6; }
.prose a, .facts a, .filters a, .index a, .terms a { border-bottom: 1px solid #555; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }
.prose table { border-collapse: collapse; width: 100%; } .prose td { border-top: 1px solid var(--rule); padding: .5em 1em .5em 0; vertical-align: top; }
.prose th:empty { display: none; }
.fig { margin: 1.5em 0; } .fig img { width: 100%; height: auto; display: block; }
.fig.right { float: right; width: min(36%, 420px); margin: 0 0 1em 2em; }
.cols-pj { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(16em, 1fr); gap: 3em; align-items: start; }
.facts { position: sticky; top: 4.5em; font-size: .85em; border-top: 1px solid var(--rule); padding-top: 1em; }
.facts dt { font-family: var(--mono); color: var(--muted); font-size: .75em; text-transform: uppercase; letter-spacing: .08em; margin-top: 1em; }
.facts dd { margin: .2em 0 0; }
.chip { display: inline-block; font-family: var(--mono); font-size: .72em; padding: .15em .55em; margin: 0 .35em .35em 0; border: 1px solid #444 !important; color: #d6d6d6; }
.chip:hover { border-color: var(--accent) !important; text-decoration: none; }
.pager { display: flex; justify-content: space-between; gap: 1em; margin-top: 3em; padding-top: 1em; border-top: 1px solid var(--rule); font-size: .8em; }
.pager a.on { color: #000; background: var(--fg); padding: 0 .4em; }
.filters { margin: 0 0 2.5em; font-size: .9em; } .filters summary { cursor: pointer; color: var(--muted); }
.filters p { margin: .8em 0; } .filters .label { display: inline-block; width: 8em; margin: 0; }
.card .sum { font-size: .8em; color: var(--muted); margin: .3em 0 0; }
.noimg { aspect-ratio: 16 / 9; background: #111; }
.card img { height: auto; }
.index { border-collapse: collapse; width: 100%; } .index td { border-top: 1px solid var(--rule); padding: .55em 1.2em .55em 0; }
.terms { columns: 3 16em; padding: 0; list-style: none; } .terms li { margin: .3em 0; }
.foot { border-top: 1px solid var(--rule); padding: 2.5em var(--pad); max-width: 3200px; margin: 0 auto; }
@media (max-width: 760px) {
  .cols-pj { grid-template-columns: 1fr; } .facts { position: static; }
  .fig.right { float: none; width: 100%; margin: 1em 0; }
  .index td:last-child { display: none; }
}

/* project gallery strip + viewer (2026-11-25) */
.gallery { margin: 3em 0 1em; border-top: 1px solid var(--rule); padding-top: 1.5em; }
.gallery .strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9em), 1fr)); gap: .6em; }
.gallery img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; opacity: .85; transition: opacity .15s; }
.gallery a:hover img, .gallery a:focus img { opacity: 1; }
.fig img.zoom { cursor: zoom-in; }
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(0, 0, 0, .94); }
.lb figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8em; }
.lb img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lb figcaption { color: #8a8a8a; }
.lb button { position: fixed; background: none; border: 0; color: #ededed; font-size: 1.8em; padding: .6em; cursor: pointer; opacity: .7; }
.lb button:hover, .lb button:focus { opacity: 1; }
.lb-prev { left: .2em; top: 50%; transform: translateY(-50%); } .lb-next { right: .2em; top: 50%; transform: translateY(-50%); }
.lb-close { top: .2em; right: .2em; }
.prose a:hover, .facts a:hover, .filters a:hover, .index a:hover, .terms a:hover { border-color: var(--accent); text-decoration: none; }
.gallery a:focus-visible, .gallery a:hover { outline: 1px solid var(--accent); outline-offset: 2px; }
.chip.on { border-color: var(--accent) !important; color: #fff; }   /* active filter */
.filters .clear { color: var(--fg); }
