@font-face { font-family: "Super Shake"; src: url("/fonts/SuperShake.ttf") format("truetype"); font-display: swap; }
:root { --paper: #ede8dc; --ink: #151311; --muted: #5e5850; --line: #cfc8b8; --accent: #151311; --err: #9b1c1c; --focus: #1d4ed8; }
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font: 1.05rem/1.6 Georgia, "Times New Roman", serif; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
h1, h2, h3, .wordmark, .side a, button { font-family: "Super Shake", Georgia, serif; font-weight: normal; letter-spacing: .02em; }
h1 { font-size: 2.2rem; margin: 0 0 1rem; } h2 { font-size: 1.5rem; }
a { color: inherit; } a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .scroller:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--paper); padding: .5rem; z-index: 10; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.masthead { text-align: center; padding: 1.5rem 1rem .5rem; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: .4rem; text-decoration: none; }
.logo { width: 120px; height: auto; } .wordmark { font-size: 2.6rem; order: -1; }
.shell { flex: 1; display: grid; grid-template-columns: 13rem 1fr; gap: 2rem; padding: 1rem 1.5rem 2rem; max-width: 76rem; width: 100%; margin: 0 auto; }
.side ul { list-style: none; margin: 0; padding: 0; } .side > ul > li { margin-bottom: 1rem; }
.side a { text-decoration: none; font-size: 1.3rem; display: inline-block; padding: .2rem .6rem; border: 2px solid var(--ink); background: transparent; }
.side a[aria-current="page"], .side a:hover { background: var(--ink); color: var(--paper); }
.side .sub { margin-top: .4rem; } .side .sub a { font-size: 1rem; border: 0; padding: .1rem .6rem; font-family: Georgia, serif; } .side .sub a:hover { text-decoration: underline; background: none; color: inherit; }
main { min-width: 0; }
.muted { color: var(--muted); }
.scroller { list-style: none; margin: 1rem 0 0; padding: 0 0 .75rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; border: 2px solid var(--ink); padding: 1rem; }
.slide { flex: 0 0 min(80%, 22rem); scroll-snap-align: start; } .slide a { text-decoration: none; display: block; }
.slide img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; background: #d9d2c2; }
.cap { display: block; font-family: "Super Shake", Georgia, serif; margin-top: .4rem; } .sub-cap { display: block; color: var(--muted); font-size: .9rem; }
.grid { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 1.25rem; }
.tile a { text-decoration: none; display: block; } .tile img, .noimg { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #d9d2c2; }
.tile a:hover .cap { text-decoration: underline; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.piece .hero { max-width: 100%; max-height: 75vh; width: auto; height: auto; display: block; } .piece figure { margin: 0 0 1.5rem; }
.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; margin-top: 1.5rem; } .extras img { width: 100%; height: auto; }
.details { margin: 1.5rem 0; } .details dt { font-family: "Super Shake", Georgia, serif; font-size: 1.2rem; } .details dd { margin: 0 0 1rem; } .details p { margin: .2rem 0; }
.prose p { max-width: 42rem; }
.form { max-width: 36rem; } .field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .3rem; }
input, textarea, select { font: inherit; padding: .5rem; border: 2px solid var(--ink); background: #f7f3ea; color: var(--ink); width: 100%; }
button, .btn { font-size: 1.1rem; padding: .5rem 1.2rem; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; text-decoration: none; display: inline-block; }
button.secondary, .btn.secondary { background: transparent; color: var(--ink); } button.danger { background: var(--err); border-color: var(--err); }
.error { color: var(--err); margin: .2rem 0; } .banner { border: 2px solid var(--err); padding: .5rem 1rem; }
.foot { text-align: center; padding: 1rem; color: var(--muted); font-size: .9rem; }
/* admin */
.admin table { border-collapse: collapse; width: 100%; } .admin th, .admin td { border-bottom: 1px solid var(--line); padding: .4rem .5rem; text-align: left; vertical-align: top; }
.admin form.inline { display: inline; } .admin .row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: .5rem 0; } .admin .row input { width: auto; flex: 1 1 12rem; }
.admin .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; list-style: none; padding: 0; } .admin .thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.admin small { color: var(--muted); } .flash { border: 2px solid var(--ink); padding: .5rem 1rem; margin-bottom: 1rem; } .flash.bad { border-color: var(--err); color: var(--err); }
@media (max-width: 720px) { .shell { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; } .side > ul { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: flex-start; } .side .sub { display: none; } .wordmark { font-size: 2rem; } }
@media (prefers-reduced-motion: no-preference) { .scroller { scroll-behavior: smooth; } }

input[type=checkbox] { width: auto; }

.attach-list { list-style: none; padding: 0; margin: 0 0 .5rem; } .attach-list li { display: flex; gap: .5rem; align-items: center; margin-bottom: .25rem; }
