/* local(e) projects — site styles
   Fonts: Playfair Display (headings, masthead), Source Serif 4 (body) */

:root {
  --paper: #F1EBDD;
  --ink: #1C1A17;
  --muted: #5A544A;
  --accent: #7A2E1E;
  --rule: #BDB3A0;
  --placeholder: #E2D8C3;
  --ochre: #CDA057;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'Source Serif 4', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Splash (index.html) ---------- */
.splash {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  padding: 48px 32px;
  background: var(--ochre) url(../images/plaster.jpg) center / cover no-repeat;
}
.splash__image { width: 100%; max-width: 1280px; }
.splash__image img { width: 100%; height: auto; }
.splash__enter {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: #2A1D10; padding: 12px 16px;
}
.splash__enter:hover { color: #000; }

/* ---------- Page frame ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

.topbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--ink);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.topbar nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.topbar nav a { padding: 4px 0; }
.topbar nav a[aria-current="page"] { color: var(--accent); border-bottom: 1px solid var(--accent); }

.masthead {
  margin: 0; padding: 16px 0 10px; text-align: center;
  font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 60px);
  line-height: 1; letter-spacing: -0.03em; border-bottom: 4px double var(--ink);
}
.tagline {
  margin: 0; padding: 10px 0; text-align: center; border-bottom: 1px solid var(--ink);
  font-family: var(--display); font-style: italic; font-size: 16px;
}

/* ---------- Hero ---------- */
.hero { padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.hero img { width: 100%; height: clamp(220px, 34vw, 380px); object-fit: cover; object-position: 50% 55%; }
.caption { font-size: 13px; color: var(--muted); }

/* ---------- Shared bits ---------- */
.label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.h-lg { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.15; }
.h-md { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.3; }
.meta { font-size: 13px; color: var(--muted); }
.more { font-size: 13px; font-weight: 600; text-decoration: underline; }
.ph {
  aspect-ratio: 4 / 3; background: var(--placeholder);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Home: three columns ---------- */
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 36px 0 72px; }
.col { display: flex; flex-direction: column; gap: 14px; padding: 0 24px; border-right: 1px solid var(--rule); }
.col:first-child { padding-left: 0; }
.col:last-child { padding-right: 0; border-right: 0; }
.col p { margin: 0; font-size: 15px; line-height: 1.65; }
.list-item { display: flex; flex-direction: column; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.list-row { display: flex; gap: 14px; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.list-row .date { flex: 0 0 52px; font-family: var(--display); font-weight: 700; font-size: 16px; }
.list-row .name { flex: 1; }

/* ---------- Section pages ---------- */
.page-head { padding: 40px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.page-head h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.page-head p { margin: 0; max-width: 640px; font-size: 16px; line-height: 1.65; }
.page-body { padding: 24px 0 80px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; }
.card { display: flex; flex-direction: column; gap: 8px; }

.event { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.event:first-child { border-top: 2px solid var(--ink); }
.event__date { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--ink); padding: 6px 0; }
.event__date span:first-child { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.event__date span:last-child { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; }
.event__info { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; }
.button { display: inline-block; border: 1px solid var(--ink); padding: 12px 20px; font-size: 13px; font-weight: 600; }
.button:hover { background: var(--ink); color: var(--paper); }

.prose { max-width: 680px; font-size: 17px; line-height: 1.75; }
.prose p { margin: 0 0 1.2em; }

/* ---------- Footer ---------- */
.footer {
  border-top: 4px double var(--ink); padding: 24px 0 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--muted);
}
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .columns { grid-template-columns: 1fr; gap: 40px; }
  .col, .col:first-child, .col:last-child { padding: 0; border-right: 0; }
  .col + .col { border-top: 2px solid var(--ink); padding-top: 24px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .topbar { justify-content: center; text-align: center; }
  .topbar nav { justify-content: center; }
  .splash { padding: 32px 16px; }
}
