﻿
:root {
  --bg: #ededed;
  --paper: #ffffff;
  --ink: #121212;
  --muted: #5c5c5c;
  --line: #cfcfcf;
  --line-strong: #888888;
  --accent: #111111;
  --accent-2: #3b3b3b;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --menu-width: 250px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f6f6f6 0%, #e9e9e9 200px, #f7f7f7 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}
a { color: #111; }
a:hover { color: #444; }
img { max-width: 100%; display: block; height: auto; }
.wrapper { max-width: 1240px; margin: 0 auto; padding: 0 18px 40px; }
.site-header { padding: 20px 0 10px; border-bottom: 1px solid rgba(0,0,0,0.08); }
.brand-row { display: flex; align-items: center; gap: 24px; }
.brand-mark {
  width: clamp(190px, 22vw, 270px);
  filter: grayscale(100%) contrast(1.15);
  background: transparent;
  border: none;
  padding: 0;
}
.brand-text { flex: 1 1 auto; }
.brand-title { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: 0.03em; }
.brand-tag { margin: 10px 0 0; color: var(--muted); font-size: 1.05rem; letter-spacing: 0.04em; }
.layout { display: grid; grid-template-columns: var(--menu-width) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 20px; }
.sidebar { position: sticky; top: 16px; }
.menu-box, .side-box, .content-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.menu-box { padding: 14px; }
.menu-title { margin: 0 0 12px; font-size: 0.95rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.side-box { margin-top: 16px; padding: 14px; font-size: .96rem; }
.side-box h3 { margin: 0 0 8px; font-size: 1.03rem; }
.side-box p:last-child { margin-bottom: 0; }
.content-card { padding: 28px 30px; }
.content h1, .content h2, .content h3 { line-height: 1.2; }
.content h1 { margin-top: 0; font-size: clamp(1.9rem, 3vw, 2.7rem); }
.content h2 { font-size: 1.55rem; margin-top: 32px; padding-top: 4px; border-top: 1px solid #e8e8e8; }
.content h3 { font-size: 1.15rem; margin-bottom: 6px; }
.lead { font-size: 1.12rem; color: #303030; }
.intro-grid, .two-col, .cards, .gallery-overview, .people-grid, .link-grid { display: grid; gap: 18px; }
.intro-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.card, .mini-card, .info-panel, .person-card, .link-card, .gallery-card, .contact-card {
  border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f8f8f8); padding: 16px;
}
.callout {
  border-left: 5px solid var(--accent);
  background: #f4f4f4;
  padding: 14px 16px;
  margin: 20px 0;
}
.note, .muted { color: var(--muted); font-size: .95rem; }
.hero-frame { border: 1px solid var(--line); background: #d7d7d7; overflow: hidden; min-height: 340px; }
.hero-frame img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.timeline { margin-top: 12px; display: grid; gap: 16px; }
.timeline-item { border-left: 4px solid var(--accent-2); padding: 2px 0 10px 16px; margin-left: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 24px 0; }
.stat { background: #111; color: #fff; padding: 18px; border: 1px solid #000; }
.stat strong { display: block; font-size: 2rem; line-height: 1; margin-bottom: 8px; }
.quote { border-left: 5px solid #111; padding-left: 14px; color: #333; font-style: italic; }
.footer { margin-top: 30px; padding: 18px 0 40px; border-top: 1px solid rgba(0,0,0,0.08); color: var(--muted); font-size: 0.95rem; }
.button-link {
  display: inline-block; padding: 10px 14px; background: #111; color: #fff; text-decoration: none;
  border: 1px solid #000; box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.button-link:hover { background: #333; color: #fff; }
.inline-list { padding-left: 18px; }
.inline-list li { margin-bottom: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.schedule-frame { width: 100%; min-height: 1200px; border: none; background: #fff; }
/* gallery */
.gallery-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-card { cursor: pointer; text-align: left; }
.gallery-card:hover { border-color: var(--line-strong); }
.gallery-preview { aspect-ratio: 4 / 3; background: #dcdcdc; overflow: hidden; margin-bottom: 12px; }
.gallery-preview img { width: 100%; height: 100%; object-fit: cover; }
.gallery-meta { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; }
.gallery-view.hidden, .lightbox.hidden { display: none; }
.gallery-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.gallery-thumb { border: 1px solid var(--line); background: #fff; padding: 0; cursor: pointer; }
.gallery-thumb:hover { border-color: var(--line-strong); }
.gallery-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-thumb-name { display: block; padding: 10px 12px 14px; font-size: .95rem; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox-inner { max-width: min(1200px, 94vw); width: 100%; color: #fff; }
.lightbox-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.lightbox-toolbar button {
  background: #fff; color: #111; border: none; padding: 10px 14px; cursor: pointer; font-weight: 700;
}
.lightbox-stage { background: #0d0d0d; border: 1px solid rgba(255,255,255,.18); padding: 14px; }
.lightbox-stage img { width: 100%; max-height: 74vh; object-fit: contain; }
.lightbox-caption { margin-top: 10px; font-size: 1rem; color: #efefef; word-break: break-word; }
.back-link { margin-top: 18px; display: inline-block; }
.player-box { display: grid; gap: 18px; grid-template-columns: 1.1fr .9fr; }
audio { width: 100%; }
.player-card { border: 1px solid var(--line); background: #fafafa; padding: 18px; }
.smallcaps { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--muted); }
@media (max-width: 980px) {
  .layout, .intro-grid, .two-col, .player-box { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .cards, .gallery-overview, .gallery-grid, .people-grid, .link-grid, .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .wrapper { padding: 0 12px 32px; }
  .brand-row { flex-direction: column; align-items: flex-start; }
  .content-card { padding: 20px; }
  .cards, .gallery-overview, .gallery-grid, .people-grid, .link-grid, .stats { grid-template-columns: 1fr; }
}
