/* =========================================================
   UIMA — Theme B: Kinetic Contemporary
   Bold, graphic, red-and-black-forward design system.
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, dl, dd, dt, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Design tokens ---------- */
:root {
  --paper: #f7f2ea;
  --paper-soft: #ede3d1;
  --ink: #1e1a14;
  --ink-soft: rgba(30, 26, 20, 0.72);
  --red: #b02a1c;
  --red-dark: #8c2015;
  --gold: #b98a45;
  --paper-on-ink: rgba(247, 242, 234, 0.78);
  --paper-on-red: rgba(247, 242, 234, 0.85);

  --font-display: "Archivo", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius: 6px;
  --radius-sm: 4px;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);

  --space-2xs: 0.5rem;
  --space-xs: 0.875rem;
  --space-sm: 1.25rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 6rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.03;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; }

h1 .h2-sub,
h2 .h2-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0;
  color: var(--gold);
  margin-top: var(--space-xs);
}
.band--red h2 .h2-sub,
.band--ink h2 .h2-sub { color: var(--gold); }

.lede {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 46ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-sm);
}
.eyebrow::before {
  content: "";
  width: 0.85em;
  height: 0.85em;
  background: currentColor;
  border-radius: 3px;
  flex: none;
}
.band--ink .eyebrow,
.band--red .eyebrow { color: var(--gold); }

.status-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border-radius: 999px;
  margin-left: 0.6em;
  vertical-align: middle;
}
.status-tag--live { background: #dde6d3; color: #3f5c2e; }
.status-tag--soon { background: #dbe4ea; color: #33526a; }

.body-copy p + p { margin-top: 1.1em; }
.body-copy { max-width: 62ch; }
.band--ink .body-copy,
.band--red .body-copy { color: var(--paper-on-ink); }
.band--red .body-copy { color: var(--paper-on-red); }

.glory {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--gold);
  margin-top: var(--space-md) !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95em 1.8em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--red { background: var(--red); color: var(--paper); }
.btn--red:hover { background: var(--red-dark); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }

.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--gold); color: var(--ink); }

.btn--outline-paper { border-color: var(--paper); color: var(--paper); }
.btn--outline-paper:hover { background: var(--paper); color: var(--ink); }

.btn--outline-ink { border-color: var(--ink); color: var(--ink); }
.btn--outline-ink:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}
.brand-logo { height: 42px; width: auto; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.6vw, 1.6rem);
}
.primary-nav a {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.5em 0.1em;
  border-bottom: 4px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible { border-color: var(--gold); }
.primary-nav a.is-active { border-color: var(--red); color: var(--red); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--paper);
  border-radius: 2px;
}
.nav-toggle-bars { top: 50%; transform: translateY(-50%); }
.nav-toggle-bars::before { top: -9px; }
.nav-toggle-bars::after { top: 9px; }

/* ---------- Hero photo ---------- */
.hero-photo-wrap {
  height: min(78vh, 640px);
  overflow: hidden;
  position: relative;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}

/* Slow, near-imperceptible Ken Burns drift — off entirely for reduced-motion users */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: heroKenBurns 28s ease-in-out infinite alternate; }
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Staggered fade-up entrance for the hero band's text */
@media (prefers-reduced-motion: no-preference) {
  .hero-band .eyebrow,
  .hero-band h1,
  .hero-band .btn {
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }
  .hero-band .eyebrow { animation-delay: 0.05s; }
  .hero-band h1 { animation-delay: 0.2s; }
  .hero-band .btn { animation-delay: 0.45s; }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Section bands ---------- */
.band { padding-block: var(--space-xl); position: relative; overflow: hidden; }
.band--paper { background: var(--paper); color: var(--ink); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--red { background: var(--red); color: var(--paper); }

.band--tight { padding-block: var(--space-lg); }

/* Hero intro band directly under hero photo */
.hero-band {
  padding-block: var(--space-lg);
}
.hero-band h1 { color: var(--paper); margin-block: var(--space-sm) var(--space-md); max-width: 18ch; }
.hero-band .eyebrow { color: var(--paper-on-red); }
.hero-band .eyebrow::before { background: var(--paper); }

/* ---------- Grids / figures ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.grid-2.reverse .figure { order: -1; }

.figure { position: relative; }
.figure-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.figure img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.figure figcaption {
  margin-top: var(--space-xs);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Vertical spine label, museum object-tag style */
.figure-spine {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 30px;
  background: rgba(30, 26, 20, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
}
.figure-spine span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}
.band--ink .figure figcaption,
.band--red .figure figcaption { color: var(--paper-on-ink); }

/* ---------- Pills / metadata chips ---------- */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-block: var(--space-md);
}
.pill {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15em;
  background: rgba(21, 19, 15, 0.06);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.5em 1.1em;
}
.band--ink .pill,
.band--red .pill {
  background: rgba(250, 247, 242, 0.1);
  border-color: var(--paper-on-ink);
}
.pill-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.band--ink .pill-label,
.band--red .pill-label { color: var(--gold); }
.pill-value {
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Decorative giant numeral ---------- */
.numeral-bg {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(9rem, 24vw, 22rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(250, 247, 242, 0.07);
  top: 50%;
  right: -0.03em;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}
.band--paper .numeral-bg { color: rgba(21, 19, 15, 0.055); }
.band .container { position: relative; z-index: 1; }

/* ---------- Pulled statement ---------- */
.statement-band { text-align: center; }
.statement::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--red);
  margin-bottom: 0.1em;
}
.statement {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.05rem + 2.3vw, 2.5rem);
  letter-spacing: -0.015em;
  line-height: 1.18;
  max-width: 26ch;
  margin-inline: auto;
  color: var(--ink);
}

/* ---------- About teaser / grant ---------- */
.grant-card {
  margin-top: var(--space-lg);
  background: var(--paper-soft);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--space-md);
}
.grant-card p:first-child { font-weight: 700; font-size: 1.05rem; }
.grant-card strong { color: var(--red); }
.grant-card img { height: 42px; width: auto; margin-bottom: var(--space-sm); }
.grant-detail { margin-top: var(--space-md); }
.grant-detail p { max-width: 68ch; }
.grant-detail p + p { margin-top: 1em; }

/* ---------- Collection band ---------- */
.collection-band .grid-2 { align-items: center; }
.collection-band .figure img { aspect-ratio: 3 / 4; }

/* ---------- Exhibition archive (filterable) ---------- */
.archive-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.archive-filter button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.archive-filter button:hover { border-color: var(--red); color: var(--red); }
.archive-filter button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg) var(--space-md);
}
.archive-grid[data-filtering] .exhibit-card { display: none; }
.archive-grid[data-filtering] .exhibit-card.is-shown { display: block; }

.exhibit-card img { aspect-ratio: 4 / 5; }
.exhibit-card-body { margin-top: var(--space-xs); }
.exhibit-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; margin-bottom: 0.2em; }
.exhibit-date { font-size: 0.82rem; color: var(--ink-soft); }
.exhibit-more { margin-top: 0.5em; }
.exhibit-more summary {
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  list-style: none;
}
.exhibit-more summary::-webkit-details-marker { display: none; }
.exhibit-more summary::after { content: " +"; }
.exhibit-more[open] summary::after { content: " –"; }
.exhibit-curator { font-size: 0.82rem; font-weight: 600; margin-top: 0.5em; }
.exhibit-desc { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.35em; line-height: 1.5; }
.exhibit-detail-link {
  display: inline-block;
  margin-top: 0.6em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
}
.exhibit-detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Exhibition detail page ---------- */
.exhibit-detail-artists { font-size: 0.95rem; color: var(--paper-on-red); margin-top: 0.5em; }
.exhibit-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.exhibit-detail-gallery img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--radius); }
.exhibit-detail-events {
  margin-top: var(--space-md);
  background: var(--paper-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
}
.exhibit-detail-events p + p { margin-top: 0.4em; }
.exhibit-detail-works {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-sm);
}
.exhibit-work-card {
  border-top: 1px solid rgba(30, 26, 20, 0.14);
  padding-top: 0.7em;
}
.exhibit-work-title { font-style: italic; font-weight: 600; }
.exhibit-work-meta { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.2em; }
.exhibit-detail-notfound { text-align: center; padding-block: var(--space-xl); }

/* ---------- Past exhibitions year grid ---------- */
.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.year-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
}
.year-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.85);
  transition: filter 0.2s ease, transform 0.3s ease;
}
.year-tile:hover img,
.year-tile:focus-visible img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.05);
}
.year-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 17, 12, 0.75), rgba(20, 17, 12, 0) 55%);
}
.year-tile-label {
  position: absolute;
  left: 0.9em;
  bottom: 0.7em;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.year-tile--disabled { cursor: default; }
.year-tile--disabled img { filter: grayscale(0.7) brightness(0.6); }
.year-tile--disabled:hover img,
.year-tile--disabled:focus-visible img { filter: grayscale(0.7) brightness(0.6); transform: none; }
.year-tile--disabled-badge {
  position: absolute;
  top: 0.7em;
  right: 0.7em;
  z-index: 1;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(20, 17, 12, 0.55);
  padding: 0.3em 0.6em;
  border-radius: 999px;
}

/* ---------- Map embed ---------- */
#plan .grid-2 { align-items: start; }
.map-embed {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--ink);
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}
.map-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: var(--space-xs);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--red);
}
.map-directions:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tour rate cards ---------- */
.rate-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.rate-card {
  background: var(--paper-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--space-md);
}
.rate-card h3 { margin-bottom: var(--space-sm); }
.rate-tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
  padding-block: 0.7em;
  border-top: 1px solid rgba(30, 26, 20, 0.14);
}
.rate-tier:first-of-type { border-top: none; }
.rate-tier-label { font-size: 0.92rem; }
.rate-tier-label .rate-tier-sub { display: block; font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.15em; }
.rate-tier-price { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; white-space: nowrap; }

/* ---------- Collection gallery ---------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg) var(--space-md);
  margin-top: var(--space-lg);
}
.artwork-card img { aspect-ratio: 4 / 5; }
.artwork-label { margin-top: var(--space-xs); }
.artwork-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.2em;
}
.artwork-artist { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.artwork-dates { font-weight: 500; color: var(--ink-soft); }
.artwork-meta { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.3em; }
.artwork-credit { font-size: 0.74rem; font-style: italic; color: var(--ink-soft); margin-top: 0.3em; }
.band--ink .artwork-title,
.band--ink .artwork-artist { color: var(--paper); }
.band--ink .artwork-dates,
.band--ink .artwork-meta,
.band--ink .artwork-credit { color: var(--paper-on-ink); }

/* ---------- Visit strip ---------- */
.visit-strip {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--space-md);
}
.visit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.visit-grid .eyebrow { color: var(--gold); margin-bottom: 0.4em; }
.visit-grid p:last-child { font-weight: 600; font-size: 1.02rem; }

/* ---------- Board of directors ---------- */
.officer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-sm);
  margin-block: var(--space-lg) var(--space-md);
}
.officer-card {
  background: rgba(250, 247, 242, 0.08);
  border: 2px solid var(--paper-on-ink);
  border-radius: var(--radius);
  padding: var(--space-sm);
}
.officer-card dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35em;
}
.officer-card dd { font-weight: 700; font-size: 1.1rem; }

.member-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.member-pills li {
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55em 1.1em;
  border-radius: 999px;
}

/* ---------- Archival photo strip ---------- */
.archival-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.archival-grid .figure img { aspect-ratio: 5 / 4; }

/* ---------- Stacked figure pair (Institute Today) ---------- */
.stacked-figures {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.stacked-figures .figure img { aspect-ratio: 5 / 4; }

/* ---------- Events list ---------- */
.event-month-heading {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.band--ink .event-month-heading,
.band--red .event-month-heading { color: var(--gold); }
.event-month-heading:first-child { margin-top: 0; }

.event-row {
  display: flex;
  gap: var(--space-md);
  padding-block: var(--space-md);
  border-top: 1px solid rgba(30, 26, 20, 0.14);
  align-items: flex-start;
}
.event-row:first-of-type { border-top: none; }
.band--ink .event-row,
.band--red .event-row { border-top-color: rgba(250, 247, 242, 0.16); }

.event-date-block {
  flex: none;
  width: 66px;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 0.6em 0;
}
.band--ink .event-date-block,
.band--red .event-date-block { background: rgba(250, 247, 242, 0.12); }
.event-date-day {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
}
.event-date-month {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.25em;
}

.event-row-media {
  flex: none;
  width: 110px;
  aspect-ratio: 1 / 1;
  background: var(--paper-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.band--ink .event-row-media,
.band--red .event-row-media { border-color: rgba(250, 247, 242, 0.4); }
.event-row-media img { max-width: 100%; max-height: 100%; object-fit: contain; }

.event-row-body { flex: 1; min-width: 0; }
.event-row-body h3 { margin-bottom: 0.3em; }

.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em 1em;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.4em;
}
.band--ink .event-meta-row,
.band--red .event-meta-row { color: var(--paper-on-ink); }
.event-meta-row strong { font-weight: 700; color: inherit; }

.event-more summary {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--red);
  list-style: none;
  margin-top: 0.3em;
}
.band--ink .event-more summary,
.band--red .event-more summary { color: var(--gold); }
.event-more summary::-webkit-details-marker { display: none; }
.event-more summary::after { content: " +"; }
.event-more[open] summary::after { content: " \2013"; }
.event-more-body {
  margin-top: 0.6em;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 68ch;
}
.band--ink .event-more-body,
.band--red .event-more-body { color: var(--paper-on-ink); }
.event-more-body p + p { margin-top: 0.7em; }
.event-more-source {
  display: inline-block;
  margin-top: 0.6em;
  font-size: 0.76rem;
  color: var(--ink-soft);
}
.band--ink .event-more-source,
.band--red .event-more-source { color: var(--paper-on-ink); }

.events-empty {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-block: var(--space-sm);
}
.band--ink .events-empty,
.band--red .events-empty { color: var(--paper-on-ink); }

/* ---------- Member benefits list ---------- */
.member-benefits-list li {
  position: relative;
  padding-left: 1.3em;
  padding-block: 0.35em;
  font-size: 0.95rem;
  max-width: 46ch;
}
.member-benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.45em;
  height: 0.45em;
  background: var(--gold);
  border-radius: 2px;
}

/* ---------- Membership levels ---------- */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.membership-card {
  background: var(--paper-soft);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
}
.membership-card h3 { margin-bottom: 0.15em; }
.membership-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--red);
  margin-bottom: var(--space-sm);
}
.membership-benefits-note {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 0.5em;
}
.membership-card ul { margin-top: 0.2em; }
.membership-card li {
  font-size: 0.88rem;
  line-height: 1.45;
  padding-block: 0.5em;
  border-top: 1px solid rgba(30, 26, 20, 0.14);
}
.membership-card li:first-child { border-top: none; }
.membership-fineprint {
  margin-top: var(--space-lg);
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 68ch;
}
.membership-fineprint p + p { margin-top: 0.6em; }

/* ---------- History gallery collage ---------- */
.history-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.history-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(0.15);
  transition: filter 0.2s ease, transform 0.3s ease;
}
.history-grid img:hover { filter: grayscale(0); transform: scale(1.03); }

/* ---------- Supporters ---------- */
.supporters-plate {
  background: var(--paper-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--space-md);
}
.supporters-plate img { width: 100%; height: auto; display: block; }

/* ---------- Newsletter ---------- */
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.newsletter-inner h3 { margin-bottom: 0.3em; }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.newsletter-form input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85em 1.1em;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  min-width: 240px;
}
.newsletter-form input::placeholder { color: var(--ink-soft); }

.text-soft { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper);
  border-top: 3px solid var(--ink);
  padding-block: var(--space-md);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(30, 26, 20, 0.14);
}
.footer-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.footer-links a:hover { color: var(--red); }
.footer-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-logo-chip img { height: 34px; }
.footer-meta { text-align: right; font-size: 0.85rem; color: var(--ink-soft); }
.footer-meta p + p { margin-top: 0.2em; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2.reverse .figure { order: 0; }
  .grid-2.reverse .stacked-figures { order: 0; }
  .visit-grid { grid-template-columns: repeat(2, 1fr); }
  .archival-grid { grid-template-columns: 1fr; }
  .history-grid { grid-template-columns: repeat(2, 1fr); }
  .event-row-media { display: none; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .primary-nav.is-open { max-height: 480px; }
  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-sm) var(--gutter) var(--space-md);
  }
  .primary-nav a { width: 100%; padding-block: 0.7em; }

  .band { padding-block: var(--space-lg); }
  .visit-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-meta { text-align: left; }
}

@media (max-width: 520px) {
  .hero-photo-wrap { height: 46vh; }
  .pill-row { gap: 0.5rem; }
}
