/* ==========================================================================
   Blanc Gallery: concept site styles
   Gallery-white palette so the artwork carries the color.
   Text pairs checked for WCAG AA:
   ink #111111 on white 18.9:1 · ink on paper #F6F5F2 17.3:1
   ink-soft #595959 on white 7.0:1 · on paper 6.4:1
   accent #A3271B on white 7.2:1 · on paper 6.6:1
   white on ink 18.9:1 · #C9C9C9 on ink 11.4:1
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --paper: #F6F5F2;
  --ink: #111111;
  --ink-soft: #595959;
  --accent: #A3271B;      /* oxblood, from the current exhibition poster */
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.3);
  --open: #1F7A3E;        /* status dot only (not text) */

  --f-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --section-y: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }
figure { margin: 0; }
dl, dd { margin: 0; }
address { font-style: normal; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }

.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; }
.eyebrow {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-soft); margin-bottom: 1.25rem;
}
.kicker {
  font-family: var(--f-sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500; color: var(--ink-soft); margin-bottom: 2rem;
}
.section { padding: var(--section-y) 0; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(40px, 6vw, 72px); }
.section-title { font-family: var(--f-display); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.01em; }
.section-title em { color: var(--accent); }
.section-sub { color: var(--ink-soft); max-width: 46ch; margin: 0; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; }
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 24px; background: var(--ink); color: var(--white); border: 1px solid var(--ink);
  text-decoration: none; font-size: .9375rem; font-weight: 500; letter-spacing: .01em;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
button.btn { font-family: inherit; cursor: pointer; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .875rem; }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: flex-end; gap: 8px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 30px; height: 30px; border: 2.5px solid currentColor; }
.brand__word { font-family: var(--f-sans); font-weight: 600; font-size: 1.25rem; line-height: .9; letter-spacing: -.02em; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; font-size: .9375rem; }
.site-nav a:not(.btn):hover { color: var(--accent); }
.icon-link { display: inline-flex; padding: 10px; }

.nav-toggle {
  display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 12px 0 12px 12px;
  font: inherit; font-size: .9375rem; color: var(--ink); cursor: pointer; min-height: 48px;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s var(--ease), background .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 960px) {
  .site-nav { display: flex; align-items: center; gap: 20px; }
}
@media (max-width: 959px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h));
    background: var(--white); padding: 24px var(--gutter) 40px; display: none; flex-direction: column; gap: 24px; overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a:not(.btn) { display: block; padding: 14px 0; font-family: var(--f-display); font-size: 2rem; line-height: 1.1; border-bottom: 1px solid var(--line); }
  .site-nav .btn { align-self: flex-start; }
  .icon-link { padding-left: 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 80px) 0 0; }
.hero__grid { display: grid; gap: 40px; }
.hero__title { font-family: var(--f-display); font-size: clamp(3rem, 8.5vw, 6.25rem); line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
.hero__title em { color: var(--accent); }
.hero__artists { font-size: 1.125rem; font-weight: 500; margin: 1.5rem 0 1rem; }
.hero__lede { max-width: 44ch; color: var(--ink-soft); font-size: 1.0625rem; }
.hero__facts { display: grid; gap: 14px; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero__facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.hero__facts dd { font-size: 1rem; }
.hero__art img { width: 100%; }
.hero__art figcaption, .about__photo figcaption { font-size: .8125rem; color: var(--ink-soft); margin-top: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.status::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 50%; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); align-items: center; gap: 64px; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
}

.visit-strip {
  display: grid; gap: 8px; margin-top: clamp(48px, 7vw, 96px); padding: 20px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9375rem;
}
.visit-strip p { margin: 0; }
.visit-strip a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.visit-strip .muted { display: inline-block; } /* a long hours summary wraps as a unit, not mid-phrase */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); margin-right: 8px; vertical-align: middle; }
.dot.is-open { background: var(--open); box-shadow: 0 0 0 4px rgba(31, 122, 62, .15); }
@media (min-width: 760px) {
  .visit-strip { grid-template-columns: 2fr 1.4fr 1fr; align-items: center; }
  .visit-strip p:last-child { text-align: right; }
}
.hero__empty { max-width: 60ch; }
.hero__empty .hero__title { margin-top: .5rem; }

/* Notice banner (text from the admin; hidden until there is one) */
.notice { background: var(--accent); color: var(--white); font-size: .9375rem; line-height: 1.35; }
.notice__inner { margin: 0; padding-block: 10px; }
.notice strong { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-right: .5em; }

/* ---------- About the show ---------- */
.show__grid { display: grid; gap: 8px; }
.prose { max-width: 62ch; }
.prose .lead { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 900px) {
  .show__grid { grid-template-columns: 1fr 2fr; gap: 64px; }
}

/* ---------- Exhibitions ---------- */
.exhibitions { background: var(--paper); }
.feature { display: grid; gap: 32px; padding-bottom: clamp(56px, 8vw, 104px); margin-bottom: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.feature__art img { width: 100%; max-width: 520px; }
.feature__title { font-family: var(--f-display); font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1; margin-bottom: .75rem; }
.feature .meta { font-weight: 500; margin-bottom: 1.5rem; }
.feature__text p { max-width: 58ch; }
.names { font-size: .875rem; color: var(--ink-soft); padding-top: 1rem; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
}

/* Upcoming exhibitions and events from the admin */
.upcoming { margin-bottom: clamp(56px, 8vw, 104px); }
.upcoming__item { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.upcoming__item:last-child { border-bottom: 1px solid var(--line); }
.upcoming__date { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0; }
.upcoming__title { font-family: var(--f-display); font-size: 1.75rem; line-height: 1.1; margin: 0; }
.upcoming__meta { font-weight: 500; margin: 0; }
.upcoming__desc { max-width: 58ch; color: var(--ink-soft); margin: 0; }
.upcoming__where { font-size: .875rem; color: var(--ink-soft); margin: 0; }
.upcoming .text-link { justify-self: start; }
@media (min-width: 760px) {
  .upcoming__item { grid-template-columns: 1fr 2fr; column-gap: 48px; }
  .upcoming__item > :not(.upcoming__date) { grid-column: 2; }
  .upcoming__date { grid-row: 1 / span 6; }
}

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px 32px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e9e7e2; transition: opacity .3s var(--ease); }
.card a:hover img { opacity: .88; }
.card__date { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 16px; }
.card__title { font-family: var(--f-display); font-size: 1.75rem; line-height: 1.1; margin-top: 6px; }
.card a:hover .card__title { color: var(--accent); }
.card__meta { font-size: .875rem; color: var(--ink-soft); margin-top: 6px; }

.archive { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line-strong); }
.archive summary {
  cursor: pointer; padding: 20px 0; font-family: var(--f-display); font-size: 1.75rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.archive summary::-webkit-details-marker { display: none; }
.archive summary::after { content: "+"; font-family: var(--f-sans); font-size: 1.5rem; font-weight: 300; }
.archive[open] summary::after { content: "–"; }
.archive__list { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 48px; }
@media (min-width: 760px) { .archive__list { columns: 2; } }
.archive__list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.archive__list a { text-decoration: none; }
.archive__list span { color: var(--ink-soft); font-size: .875rem; font-variant-numeric: tabular-nums; }

/* ---------- Artworks (catalog from the admin; hidden without the live API) ---------- */
.artworks { border-top: 1px solid var(--line); }
.art-group + .art-group { margin-top: clamp(64px, 9vw, 120px); }
.art-group__head { display: grid; gap: 6px; padding-top: 20px; margin-bottom: clamp(28px, 4vw, 40px); border-top: 1px solid var(--ink); }
.art-group__when { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.art-group__title { font-family: var(--f-display); font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.05; text-wrap: balance; }
.art-group__meta { font-weight: 500; margin: 0; }
.art-group__count { font-size: .875rem; color: var(--ink-soft); margin: 0; }
@media (min-width: 900px) {
  .art-group__head { grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; }
  .art-group__head > * { grid-column: 1; }
  .art-group__count { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
}

.art-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; } }
@media (min-width: 1100px) { .art-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* The whole card opens the viewer: the title's button stretches over it. */
.art { position: relative; display: flex; flex-direction: column; min-width: 0; }
.art__frame {
  display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 9%; margin-bottom: 14px;
  background: var(--paper); transition: background .25s var(--ease);
}
.art__frame img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 3px rgba(17, 17, 17, .16)); }
.art__noimg { font-size: .8125rem; color: var(--ink-soft); text-align: center; }
.art:hover .art__frame { background: #EEECE7; }
.art__title { font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.15; margin: 0; overflow-wrap: anywhere; }
.art__open {
  font: inherit; color: inherit; text-align: left; background: none; border: 0; padding: 0; margin: 0;
  cursor: pointer; overflow-wrap: anywhere;
}
.art__open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.art__open:focus-visible { outline: none; }
.art__open:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 6px; }
.art:hover .art__open { color: var(--accent); }
.art__artist { font-size: .9375rem; font-weight: 500; margin: 6px 0 0; }
.art__details { font-size: .8125rem; line-height: 1.45; color: var(--ink-soft); margin: 4px 0 0; overflow-wrap: anywhere; }
.art__sale { font-size: .8125rem; margin: 8px 0 0; }

/* Sale status, gallery convention: a red dot for sold, half a dot for reserved */
.sale { display: inline-flex; align-items: center; gap: 7px; }
.sale--sold::before, .sale--reserved::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #D2231A; }
.sale--reserved::before { background: linear-gradient(90deg, #D2231A 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px #D2231A; }
.sale--not-for-sale { color: var(--ink-soft); }
.sale__price { font-variant-numeric: tabular-nums; }

/* "See the artworks (N)" links added to the exhibition blocks */
.art-jump { margin: 1rem 0 0; }
.card .art-jump a { display: inline; height: auto; }
.upcoming__item .art-jump { margin: 4px 0 0; }

/* ---------- Artwork viewer ---------- */
html.has-dialog, html.has-dialog body { overflow: hidden; }
.viewer {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--white); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
}
.viewer:not([open]) { display: none; }
.viewer::backdrop { background: var(--white); }
.viewer__layout { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100%; }
.viewer__top {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px var(--gutter); background: rgba(255, 255, 255, .94);
}
.viewer__count { margin: 0; font-size: .8125rem; letter-spacing: .08em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.viewer__close {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 14px;
  font: inherit; font-size: .9375rem; font-weight: 500; color: var(--ink); background: none; border: 1px solid var(--line-strong); cursor: pointer;
}
.viewer__x { font-size: 1.4rem; line-height: 1; font-weight: 300; }
.viewer__close:hover { border-color: var(--ink); }
.viewer__stage {
  --stage-pad: 8px var(--gutter);
  position: relative; display: grid; place-items: center; height: 62vh; height: 62svh; min-height: 260px;
  touch-action: pan-y pinch-zoom;
}
/* Pinned to the stage and fitted inside its padding, so tall and wide photos both stay within it. */
.viewer__img {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: var(--stage-pad); object-fit: contain;
  transition: opacity .25s var(--ease);
}
.viewer__img.is-loading { opacity: .25; }
.viewer__noimg { color: var(--ink-soft); margin: 0; }
.viewer__step {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px;
  color: var(--ink); background: rgba(255, 255, 255, .9); border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer;
}
.viewer__step:hover { border-color: var(--ink); }
.viewer__step--prev { left: 6px; }
.viewer__step--next { right: 6px; }
.viewer__thumbs { list-style: none; margin: 0; padding: 4px var(--gutter) 0; display: flex; gap: 8px; overflow-x: auto; }
.viewer__thumb {
  display: block; width: 56px; height: 56px; padding: 0; background: var(--paper); border: 1px solid var(--line);
  cursor: pointer; opacity: .62; transition: opacity .2s var(--ease);
}
.viewer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.viewer__thumb:hover { opacity: 1; }
.viewer__thumb[aria-current="true"] { opacity: 1; outline: 2px solid var(--ink); outline-offset: 2px; }
.viewer__thumb:focus-visible { outline: 2px solid var(--accent); }
.viewer__caption { padding: 24px var(--gutter) 48px; }
.viewer__show { margin-bottom: 1rem; }
.viewer__artist { font-weight: 500; margin: 0 0 4px; }
.viewer__title { font-family: var(--f-display); font-style: italic; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; overflow-wrap: anywhere; }
.viewer__details { color: var(--ink-soft); margin: 12px 0 0; }
.viewer__details span { display: block; }
.viewer__sale { margin: 12px 0 0; }
.viewer__sale:empty { display: none; }
.viewer__desc { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.viewer__desc:empty { display: none; }
.viewer__desc p { max-width: 60ch; white-space: pre-line; }
.viewer__ask { margin-top: 12px; width: 100%; }
@media (min-width: 960px) {
  .viewer { overflow: hidden; }
  .viewer__layout {
    height: 100%; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "stage top" "stage caption" "thumbs caption";
  }
  .viewer__top { grid-area: top; position: static; padding: 16px 24px 0 40px; }
  .viewer__stage { grid-area: stage; height: auto; min-height: 0; --stage-pad: 40px 88px 24px; }
  .viewer__thumbs { grid-area: thumbs; justify-content: center; padding: 0 40px 28px; }
  .viewer__caption { grid-area: caption; overflow-y: auto; padding: 24px 40px 40px; }
  .viewer__step--prev { left: 24px; }
  .viewer__step--next { right: 24px; }
  .viewer__ask { width: auto; }
}

/* ---------- Artwork inquiry dialog ---------- */
.ask {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--white); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
}
.ask:not([open]) { display: none; }
.ask::backdrop { background: rgba(17, 17, 17, .5); }
.ask__panel { padding: 16px var(--gutter) 40px; }
.ask__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ask__title { font-family: var(--f-display); font-size: clamp(2rem, 6vw, 2.5rem); line-height: 1.05; padding-top: 8px; }
.ask__close {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink);
  background: none; border: 1px solid var(--line-strong); cursor: pointer;
}
.ask__close:hover { border-color: var(--ink); }
.ask__piece { display: flex; align-items: center; gap: 14px; margin: 20px 0 24px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.4; }
.ask__piece img { flex: none; width: 56px; height: 56px; object-fit: contain; background: var(--paper); }
.ask__piece em { font-family: var(--f-display); font-size: 1.25rem; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .875rem; font-weight: 500; }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid #858585; border-radius: 0;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--accent); }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ask__form .actions { margin-top: 24px; }
.ask__form[aria-busy="true"] button[type="submit"] { opacity: .6; cursor: progress; }
.ask__error { margin: 0; padding: 12px 14px; color: var(--accent); background: #FBF1EF; border-left: 2px solid var(--accent); font-size: .9375rem; }
.ask__error a { font-weight: 500; }
.ask__done { outline: none; padding-top: 8px; }
.ask__done-title { font-family: var(--f-display); font-size: 2rem; line-height: 1.1; margin-bottom: .5rem; }
@media (min-width: 600px) {
  .ask { width: min(560px, calc(100% - 48px)); height: fit-content; max-height: calc(100% - 48px); margin: auto; box-shadow: 0 24px 80px rgba(17, 17, 17, .22); }
  .ask__panel { padding: 28px 36px 36px; }
}

/* ---------- About ---------- */
.about__grid { display: grid; gap: 48px; }
.about__text .section-title { margin-bottom: 2rem; }
.about__photo img { width: 100%; max-width: 440px; }
.pull { margin: 2.5rem 0 0; padding-left: 24px; border-left: 2px solid var(--accent); }
.pull p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; margin: 0; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 7fr 5fr; gap: 96px; align-items: center; }
  .about__photo { justify-self: end; }
}

/* ---------- The space ---------- */
.space { padding-bottom: var(--section-y); }
.space__rail { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.space__rail img { width: 100%; height: 100%; object-fit: cover; }
.space__a { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.space__b, .space__c { aspect-ratio: 4 / 3; }
.space__d { display: none; }
@media (min-width: 900px) {
  .space__rail { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
  .space__a { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .space__b { grid-column: 2 / span 2; grid-row: 1; aspect-ratio: 16 / 9; }
  .space__c { grid-column: 2; grid-row: 2; aspect-ratio: 1; }
  .space__d { display: block; grid-column: 3; grid-row: 2; aspect-ratio: 1; }
}

/* ---------- Programs ---------- */
.programs { border-top: 1px solid var(--line); }
.program-grid { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.program { padding: 32px 0; border-bottom: 1px solid var(--line); }
.program h3 { font-family: var(--f-display); font-size: 2rem; line-height: 1.1; margin-bottom: 1rem; }
.program p { max-width: 46ch; }
.program--events { background: var(--paper); padding: 32px 24px; margin: 32px 0 0; border: 0; }
@media (min-width: 900px) {
  .program-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; border-top: 0; }
  .program { border-top: 1px solid var(--ink); border-bottom: 0; }
  .program--events { margin: 0; border-top: 1px solid var(--ink); padding: 32px 28px; }
}

/* ---------- Artists ---------- */
.artists { background: var(--ink); color: var(--white); }
.artists .section-sub, .artists .muted { color: #C9C9C9; }
.artists a:hover { color: #FFFFFF; text-decoration-thickness: 2px; }
.artist-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.artist-list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.14); break-inside: avoid; font-size: .9375rem; }
@media (min-width: 560px) { .artist-list { column-gap: 40px; } .artist-list li { font-size: 1.0625rem; padding: 10px 0; } }

@media (min-width: 900px) { .artist-list { columns: 3; } }
@media (min-width: 1200px) { .artist-list { columns: 4; } }
.artists__note { margin-top: 32px; }

/* ---------- Press ---------- */
.press-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.press-list a { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.press-list__pub { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.press-list__head { font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.press-list a:hover .press-list__head { color: var(--accent); }
@media (min-width: 900px) {
  .press-list { grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
  .press-list a { grid-template-columns: 160px 1fr; align-items: baseline; gap: 24px; border-top: 1px solid var(--line); border-bottom: 0; }
}

/* ---------- Visit ---------- */
.visit { background: var(--paper); }
.visit__grid { display: grid; gap: 56px; }
.visit .section-title { margin-bottom: 1.5rem; }
.visit__facts { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.visit__facts > div { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.visit__facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.visit__facts dd { font-size: 1.0625rem; }
.hours { border-collapse: collapse; margin-bottom: 8px; width: 100%; max-width: 360px; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 4px 0; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
@media (min-width: 760px) {
  .visit__facts > div { grid-template-columns: 140px 1fr; gap: 24px; }
}
@media (min-width: 960px) {
  .visit__grid { grid-template-columns: 5fr 7fr; gap: 96px; }
}

/* ---------- Follow ---------- */
.follow__grid { display: grid; gap: 48px; align-items: center; }
.follow p { max-width: 48ch; color: var(--ink-soft); margin-top: 1.5rem; }
.follow p strong { color: var(--ink); font-weight: 500; }
.follow__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.follow__tiles img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .3s var(--ease); }
.follow__tiles:hover img { opacity: .85; }
@media (min-width: 900px) { .follow__grid { grid-template-columns: 1fr 1fr; gap: 96px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: .9375rem; }
.site-footer__top { display: grid; gap: 32px; }
.brand--footer { margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-links a, .site-footer address a, .site-footer__bottom a { text-decoration: none; }
.footer-links a:hover, .site-footer__bottom a:hover { text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--ink-soft); }
.site-footer__bottom p { margin: 0; }
@media (min-width: 760px) { .site-footer__top { grid-template-columns: 1.2fr 1.5fr 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.card img.pos-low { object-position: 50% 72%; }
