/* Leftovers archive layout. Colours come from the per-site variables set in base.html:
   --primary, --on-primary, --accent, --dark, --light, --text */
:root {
  --muted: #5c5752;
  --line: rgba(0, 0, 0, .1);
  --card: #fff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 4px 16px rgba(0, 0, 0, .05);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--light);
  color: var(--text);
  font: 17px/1.7 var(--sans);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
h1, h2, h3, .brand-name, .teaser-title, .footer-name, .pager-title, .tl-date {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); margin: 0 0 .25em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 1.8em 0 .6em; color: var(--accent); }
h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
ul.plain { list-style: none; margin: 0; padding: 0; }
.lead { font-size: 1.2rem; line-height: 1.6; }

/* Archive banner */
.archive-banner { background: #2f2f2f; color: #eee; font-size: .86rem; line-height: 1.45; padding: 8px 0; }
.archive-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; text-align: center; }
.closed-pill {
  display: inline-block; background: var(--primary); color: var(--on-primary);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
@supports (backdrop-filter: blur(6px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(8px); } }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dark); min-width: 0; flex: 0 1 auto; }
.brand img { max-height: 44px; max-width: 120px; width: auto; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-size: 1.2rem; color: var(--dark); overflow-wrap: anywhere; }
.brand-city { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; gap: 2px 4px; font-size: .95rem; }
.site-nav a { color: var(--text); text-decoration: none; padding: 6px 10px; border-radius: 6px; }
.site-nav a:hover { background: rgba(0, 0, 0, .05); }
.site-nav a[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--primary); border-radius: 0; }
.nav-toggle[hidden] { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .9rem var(--sans); color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
@media (max-width: 899px) {
  .js-nav .site-nav { display: none; width: 100%; flex-direction: column; padding: 6px 0 10px; border-top: 1px solid var(--line); }
  .js-nav .site-nav.open { display: flex; }
  .js-nav .site-nav a { padding: 10px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .js-nav .site-nav a:last-child { border-bottom: 0; }
  .js-nav .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--primary); padding-left: 12px; }
}
@media (min-width: 900px) { .nav-toggle { display: none !important; } }

/* Hero */
.hero {
  position: relative; background: var(--dark); color: #fff; overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
  border-bottom: 6px solid var(--primary);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.1) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 44px; }
.hero h1 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); max-width: 16em; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 18px 0 0; font-size: .95rem; opacity: .95; }
.hero-credit { position: absolute; right: 12px; bottom: 8px; z-index: 1; margin: 0; font-size: .75rem; color: rgba(255,255,255,.8); max-width: 50%; text-align: right; }
@media (min-width: 720px) { .hero { min-height: min(62vh, 560px); } }
@media (max-width: 719px) { .hero-credit { display: none; } }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; margin: 0 0 .7em; opacity: .9; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.4rem); margin: 0; max-width: 36em; opacity: .95; }

/* Home */
.home-intro { display: grid; gap: 32px; padding-top: 16px; padding-bottom: 40px; }
@media (min-width: 900px) { .home-intro { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; } }
.prose { max-width: 42em; min-width: 0; }
.prose p { margin: 0 0 1.15em; }
.info-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 5px solid var(--primary); padding: 22px 24px; align-self: start; margin-top: 2.2rem;
}
@media (min-width: 900px) { .info-card { position: sticky; top: 96px; } }
.info-card h2 { margin: 0 0 8px; font-size: 1.35rem; }
.info-card dl { margin: 0; }
.info-card dl > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.info-card dl > div:last-child { border-bottom: 0; }
.info-card dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.info-card dd { margin: 2px 0 0; line-height: 1.5; }
.info-card li + li { margin-top: 2px; }
.status-closed { display: inline-block; font-weight: 600; color: #8a1c1c; }
.info-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

.section-title { margin: 0 0 .3em; }
.section-intro { color: var(--muted); margin: 0 0 22px; max-width: 42em; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; }
.block-head h2 { margin: 0; }
.block-head h2 a { color: inherit; text-decoration: none; }
.block-head h2 a:hover { text-decoration: underline; }
.more-link { font-weight: 600; font-size: .95rem; text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.band { padding: 44px 0; }
.band-tint { background: rgba(0, 0, 0, .035); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Timeline */
.timeline { list-style: none; margin: 18px 0 0; padding: 0; position: relative; max-width: 46em; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--primary); opacity: .35; }
.timeline li { position: relative; padding: 0 0 20px 34px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--light); border: 3px solid var(--primary); }
.tl-date { display: block; font-size: 1.15rem; color: var(--accent); }
.tl-text { margin: 2px 0 0; }

/* Teasers */
.teasers { padding-top: 48px; padding-bottom: 40px; }
.teaser-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.teaser {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; color: var(--text); border-top: 4px solid var(--primary);
  transition: transform .15s ease, box-shadow .15s ease;
}
.teaser.has-thumb { border-top: 0; }
.teaser:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 10px 28px rgba(0,0,0,.1); }
.teaser-thumb { display: block; aspect-ratio: 16 / 10; background: rgba(0,0,0,.06); overflow: hidden; }
.teaser-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.teaser-thumb.is-illustration { background: var(--light); }
.teaser-thumb.is-illustration img { object-fit: contain; padding: 8px; }
.teaser-ph { display: flex; align-items: center; justify-content: center; background: var(--dark); background-image: linear-gradient(135deg, rgba(255,255,255,.08), rgba(0,0,0,.25)); border-bottom: 4px solid var(--primary); }
.teaser-ph span { font-family: var(--serif); font-size: 3.4rem; color: rgba(255,255,255,.85); line-height: 1; }
.teaser:hover .teaser-thumb img { transform: scale(1.03); }
.teaser-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 18px; flex: 1; }
.teaser-kind { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.teaser-title { font-size: 1.25rem; color: var(--accent); }
.teaser-text { font-size: .93rem; line-height: 1.55; color: var(--muted); flex: 1; }
.teaser-more { font-size: .88rem; font-weight: 600; color: var(--accent); margin-top: 4px; }

/* Mosaic */
.mosaic-block { padding-top: 24px; padding-bottom: 48px; }
.mosaic { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.mosaic .photo { position: relative; overflow: hidden; border-radius: var(--radius); background: rgba(0,0,0,.06); }
.mosaic .photo:first-child { grid-column: span 2; }
.mosaic .photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.mosaic .photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 22px 12px 8px;
  color: #fff; font-size: .82rem; line-height: 1.35; background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}
@media (min-width: 720px) {
  .mosaic-5 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
  .mosaic-3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
  .mosaic .photo:first-child { grid-column: span 2; grid-row: span 2; }
  .mosaic .photo img { aspect-ratio: auto; }
}

/* Downloads */
.downloads-block { padding-bottom: 40px; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.file {
  display: flex; gap: 14px; align-items: flex-start; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  text-decoration: none; color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
}
.file:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.file-icon {
  flex: 0 0 auto; width: 42px; height: 50px; border-radius: 4px 12px 4px 4px;
  background: var(--primary); color: var(--on-primary);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em;
}
.file-body { display: flex; flex-direction: column; min-width: 0; }
.file-title { font-weight: 600; color: var(--accent); line-height: 1.35; overflow-wrap: anywhere; }
.file-desc { font-size: .88rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.file-meta { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.section-docs { margin: 2em 0 1em; }
.section-docs h2 { margin-bottom: .5em; }
.prose .file-list { grid-template-columns: 1fr; }

/* Archive note */
.archive-note-block { padding-bottom: 56px; }
.archive-note { background: var(--card); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); max-width: 52em; }
.archive-note h2 { margin: 0 0 .4em; font-size: 1.2rem; }
.archive-note p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Photos */
.photo { margin: 0; }
.photo img { border-radius: var(--radius); background: rgba(0,0,0,.06); }
.photo figcaption { font-size: .85rem; line-height: 1.45; color: var(--muted); margin-top: 8px; }
.photo .zoom { display: block; cursor: zoom-in; }
.mosaic .photo .zoom { height: 100%; }
.badge { display: inline-block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; border: 1px solid rgba(0,0,0,.3); border-radius: 3px; padding: 0 5px; margin-left: 4px; color: var(--muted); vertical-align: 1px; }
.is-illustration img { background: transparent; }
.photo-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.photo-grid .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid .is-illustration img { object-fit: contain; }
@media (max-width: 559px) {
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .photo-grid .photo figcaption { font-size: .78rem; }
}
.photo-section { padding-bottom: 40px; }
.photo-section .section-title { margin-bottom: 18px; }

/* Sub pages */
.page-head { background: var(--dark); color: #fff; border-bottom: 5px solid var(--primary); padding: 22px 0 34px; }
.page-head h1 { margin: 0; color: #fff; font-size: clamp(1.9rem, 5vw, 3rem); max-width: 22em; }
.page-head .eyebrow { color: #fff; margin-top: 18px; }
.page-lead { margin: 12px 0 0; max-width: 40em; color: rgba(255,255,255,.88); font-size: 1.05rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.78); }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.breadcrumb a { color: #fff; }
.page-body { display: grid; gap: 32px; padding-top: 12px; padding-bottom: 40px; }
.page-body > .prose { padding-top: 1.4rem; }
.page-body > .prose > h2:first-child { margin-top: 0; }
@media (min-width: 900px) { .page-body.has-side { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } }
.side-photos img { width: 100%; }
.side-photos { display: grid; gap: 20px; align-content: start; padding-top: 2rem; }
.archive-hint { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2em !important; }

.pager { display: grid; grid-template-columns: 1fr; gap: 12px; padding-bottom: 56px; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager-link {
  display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px;
}
.pager-link:hover { border-color: var(--primary); }
.pager-link.next { text-align: right; grid-column: -2; }
.pager-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pager-title { font-size: 1.15rem; color: var(--accent); }
@media (max-width: 639px) { .pager-link.next { grid-column: auto; text-align: left; } }

/* Item lists (menus, events) */
.item-list { list-style: none; margin: 0 0 1.5em; padding: 0; }
.item-list li { padding: 11px 0; border-bottom: 1px dashed rgba(0,0,0,.14); }
.item-head { display: flex; align-items: baseline; gap: 8px; }
.item-name { font-weight: 600; line-height: 1.4; min-width: 0; }
.item-dots { flex: 1; border-bottom: 1px dotted rgba(0,0,0,.3); transform: translateY(-4px); min-width: 12px; }
.item-price { flex-shrink: 0; max-width: 55%; text-align: right; line-height: 1.4; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
.item-desc { margin: 3px 0 0 !important; font-size: .92rem; line-height: 1.5; color: var(--muted); }

/* Menu page */
.menu-page { padding-top: 28px; padding-bottom: 32px; }
.menu-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.menu-toc a { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: .9rem; text-decoration: none; color: var(--text); }
.menu-toc a:hover { border-color: var(--primary); color: var(--accent); }
.menu-toc .count { font-size: .78rem; color: var(--muted); margin-left: 2px; }
.menu-grid { padding-bottom: 32px; }
@media (min-width: 900px) { .menu-grid { columns: 2; column-gap: 28px; } }
.menu-section { break-inside: avoid; margin-bottom: 20px; display: inline-block; width: 100%; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px 6px; }
.menu-section h2 { margin: 0 0 .4em; font-size: 1.4rem; padding-bottom: .35em; border-bottom: 2px solid var(--primary); }
.menu-section .item-list li:last-child { border-bottom: 0; }
.menu-note { font-size: .9rem; color: var(--muted); margin: 0 0 .4em; }

/* Gallery page */
.gallery-page { padding-top: 28px; padding-bottom: 56px; }
.gallery-group { padding-bottom: 36px; }
.gallery-group h2 { font-size: 1.5rem; }

/* Legal */
.legal { padding-top: 12px; padding-bottom: 56px; }
.legal h2 { font-size: 1.25rem; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.85); font-size: .92rem; line-height: 1.6; margin-top: 16px; border-top: 5px solid var(--primary); }
.footer-grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; } }
.footer-name { font-size: 1.3rem; color: #fff; margin: 0 0 6px; }
.footer-address, .footer-years { margin: 0 0 4px; }
.footer-note { margin: 14px 0 0; font-size: .85rem; color: rgba(255,255,255,.72); max-width: 40em; }
.footer-head { margin: 0 0 8px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.65); }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 3px 0; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 14px; padding-bottom: 18px; color: rgba(255,255,255,.7); }
.footer-bottom a { color: #fff; }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: auto; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; border-radius: 6px; background: #222; }
.lightbox figcaption { color: #eee; font-size: .9rem; margin-top: 10px; text-align: center; max-width: 60em; white-space: pre-wrap; }
.lb-btn { position: fixed; background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-btn[hidden] { display: none; }

@media (max-width: 719px) {
  body { font-size: 16.5px; }
  .archive-banner { font-size: .78rem; padding: 6px 0; }
  .menu-toc { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .menu-toc a { white-space: nowrap; }
  .menu-section { padding: 16px 16px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .site-header, .archive-banner .closed-pill, .site-nav, .pager, .lightbox { display: none; }
}

/* Compact mobile header: brand and menu button share one row */
@media (max-width: 899px) {
  .header-inner { flex-wrap: wrap; }
  .brand { flex: 1 1 0; }
  .nav-toggle { flex: 0 0 auto; }
  .info-card { margin-top: 0; }
  .home-intro { gap: 24px; }
}
@media (max-width: 479px) {
  .brand img { max-height: 36px; max-width: 84px; }
  .brand-name { font-size: 1.05rem; }
}
