/* =====================================================================
   ARTSPACE — Contemporary Art Gallery Template
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: Change the gallery look by editing the CSS variables in
   :root below. Swap --accent for your primary color, adjust --ink / --bg
   / --surface to match, and update --font-head / --font-body plus the
   Google Fonts <link> in each HTML file. Everything else cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:        #ffffff;   /* clean white page background               */
  --ink:       #141414;   /* near-black for headings & text            */
  --accent:    #c2410c;   /* terracotta accent for highlights & links  */
  --accent-2:  #9a330a;   /* deeper terracotta for hovers              */
  --muted:     #8a8a8a;   /* muted secondary text                      */
  --surface:   #f6f4f1;   /* warm card / panel surface                 */
  --line:      #e7e3dd;   /* hairline borders / dividers               */
  --ink-soft:  #1f1f1f;   /* dark sections (slightly lifted black)     */

  /* --- Fonts --- */
  --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 12px 34px rgba(20, 20, 20, .06);
  --shadow-lg: 0 28px 64px rgba(20, 20, 20, .12);
  --ease:      .4s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1200px;
  --gutter: 26px;
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.8rem, 6.8vw, 5.4rem); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-2); }

img, svg { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 104px 0; }
.section--soft { background: var(--surface); }
.section--tight { padding: 72px 0; }

.section-head {
  max-width: 760px;
  margin: 0 0 60px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lead { font-size: 1.18rem; color: var(--muted); line-height: 1.6; }

.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .94rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(194, 65, 12, .3);
}
.btn-primary:hover { background: var(--accent-2); color: #fff; box-shadow: 0 14px 32px rgba(194, 65, 12, .4); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.btn-light {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-light:hover { background: #fff; color: var(--ink); }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e07a45);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(194, 65, 12, .35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  color: var(--muted);
  padding: 9px 16px;
  border-radius: 999px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin: 2px auto 0;
}

.nav-cta { margin-left: 10px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home) — editorial, gallery whitespace
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background:
    radial-gradient(740px 540px at 92% -8%, rgba(194,65,12,.07), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .86rem; color: var(--muted); }

/* Hero visual — pure-CSS gradient "artwork" collage (no image files) */
.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 16px;
}
.art-tile {
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.92);
}
.art-tile .tile-label {
  position: absolute;
  bottom: 12px; left: 14px; right: 14px;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
  z-index: 2;
}
.art-tile .tile-glyph {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 2.4rem;
  z-index: 1;
}
.hero-collage .art-tile:nth-child(1) { grid-row: span 2; aspect-ratio: 3 / 5; }
.hero-collage .art-tile:nth-child(2) { aspect-ratio: 4 / 3; }
.hero-collage .art-tile:nth-child(3) { aspect-ratio: 1 / 1; }
.hero-collage .art-tile:nth-child(4) { grid-column: span 2; aspect-ratio: 16 / 7; }

/* Reusable gradient "canvas" fills */
.art-a { background: linear-gradient(150deg, #c2410c, #e0863f); }
.art-b { background: linear-gradient(150deg, #1f1f1f, #4a443e); }
.art-c { background: linear-gradient(150deg, #e7c9a3, #c79a6a); }
.art-d { background: linear-gradient(150deg, #8a5a3c, #3a2a1f); }
.art-e { background: linear-gradient(150deg, #d96c3a, #c2410c); }
.art-f { background: linear-gradient(150deg, #b7b1a6, #6f6a62); }
.art-g { background: linear-gradient(150deg, #2b2622, #1a1715); }
.art-h { background: linear-gradient(150deg, #f0d6b8, #d9a878); }
.art-i { background: linear-gradient(150deg, #a8431a, #5e2410); }
.art-j { background: linear-gradient(150deg, #5a544c, #2a2722); }
.art-k { background: linear-gradient(150deg, #e29a6b, #b85c2e); }
.art-l { background: linear-gradient(150deg, #cdbfa8, #94835f); }
/* Decorative circle accent inside tiles */
.art-tile::after {
  content: "";
  position: absolute;
  width: 52%; aspect-ratio: 1;
  border: 1.5px solid rgba(255,255,255,.32);
  border-radius: 50%;
  bottom: -16%; right: -12%;
}

/* ---------------------------------------------------------------------
   PARTNER / PRESS STRIP
   --------------------------------------------------------------------- */
.trusted { padding: 46px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trusted p { text-align: center; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 52px;
}
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 500;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  opacity: .42;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--ease), color var(--ease);
}
.logo-strip span:hover { opacity: 1; color: var(--accent); }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(194,65,12,.4); }

.card .icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}
.card-link:hover { color: var(--accent); }
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Feature list */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature .tick {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 5px; }
.feature p { margin-bottom: 0; font-size: .98rem; color: var(--muted); }

/* Split section (visual block + content) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius);
  min-height: 440px;
  background: linear-gradient(150deg, #e29a6b, var(--accent));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 36px;
  box-shadow: var(--shadow);
}
.split-media::after {
  content: "";
  position: absolute;
  width: 58%; aspect-ratio: 1;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 50%;
  top: -16%; right: -12%;
}

/* ---------------------------------------------------------------------
   CURRENT EXHIBITION FEATURE (home)
   --------------------------------------------------------------------- */
.feature-show {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.feature-show .fs-art {
  min-height: 460px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.95);
}
.feature-show .fs-art .tile-glyph { font-family: var(--font-head); font-style: italic; font-size: 4rem; }
.feature-show .fs-art::after {
  content: "";
  position: absolute;
  width: 50%; aspect-ratio: 1;
  border: 1.5px solid rgba(255,255,255,.34);
  border-radius: 50%;
  bottom: -14%; left: -10%;
}
.feature-show .fs-body { padding: 56px 52px; }
.feature-show .fs-body .lead { margin-bottom: 26px; }
.feature-show .fs-dates {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin: 0 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.feature-show .fs-dates div b { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.feature-show .fs-dates div span { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   EXHIBITION CARDS
   --------------------------------------------------------------------- */
.exhibit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.exhibit-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}
.exhibit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.exhibit-thumb {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.92);
}
.exhibit-thumb .tile-glyph {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 2.6rem;
}
.exhibit-thumb::after {
  content: "";
  position: absolute;
  width: 46%; aspect-ratio: 1;
  border: 1.5px solid rgba(255,255,255,.34);
  border-radius: 50%;
  bottom: -16%; left: -8%;
}
.exhibit-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.exhibit-body h3 { font-size: 1.5rem; margin-bottom: 6px; }
.exhibit-body .ex-artist { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.exhibit-body .ex-dates { font-size: .85rem; color: var(--ink); font-weight: 500; margin-top: auto; }

/* Status badge */
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.status-current { color: var(--accent); background: rgba(194,65,12,.1); }
.status-current::before { background: var(--accent); }
.status-upcoming { color: #1f6f4a; background: rgba(31,111,74,.1); }
.status-upcoming::before { background: #1f6f4a; }
.status-past { color: var(--muted); background: rgba(138,138,138,.14); }
.status-past::before { background: var(--muted); }

/* ---------------------------------------------------------------------
   ARTISTS
   --------------------------------------------------------------------- */
.artist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.artist-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: transform var(--ease), box-shadow var(--ease);
}
.artist-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.artist-portrait {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.artist-portrait .initials {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 3rem;
  color: rgba(255,255,255,.92);
}
.artist-portrait::after {
  content: "";
  position: absolute;
  width: 56%; aspect-ratio: 1;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50%;
  top: -18%; right: -14%;
}
.artist-body { padding: 22px 24px 26px; }
.artist-body h3 { font-size: 1.35rem; margin-bottom: 3px; }
.artist-body .discipline {
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.artist-body p { font-size: .9rem; color: var(--muted); margin-bottom: 0; }

/* Represented-artists strip (home) */
.artist-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.artist-chip { text-align: center; }
.artist-chip .chip-portrait {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.5rem;
  color: rgba(255,255,255,.95);
  position: relative;
  overflow: hidden;
}
.artist-chip b { display: block; font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.artist-chip span { font-size: .76rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   STATS BAND (dark)
   --------------------------------------------------------------------- */
.stats-band {
  background: var(--ink);
  color: var(--bg);
}
.stats-band .section-head h2 { color: var(--bg); }
.stats-band .section-head .eyebrow { color: var(--accent); }
.stats-band .section-head .lead { color: rgba(255,255,255,.7); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat {
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 22px;
}
.stat strong {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  display: block;
  line-height: 1;
  color: var(--accent);
}
.stat span { color: rgba(255,255,255,.72); font-size: .95rem; }

/* ---------------------------------------------------------------------
   VISIT INFO (home)
   --------------------------------------------------------------------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hours-list { border-top: 1px solid var(--line); margin-top: 8px; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.hours-list li b { font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.hours-list li span { color: var(--muted); }

/* ---------------------------------------------------------------------
   NEWSLETTER
   --------------------------------------------------------------------- */
.newsletter {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 52px;
  text-align: center;
}
.newsletter h2 { margin-bottom: 12px; }
.newsletter p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.news-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.news-form input {
  flex: 1;
  min-width: 220px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.news-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(194,65,12,.12); }
.news-form .field { margin: 0; flex: 1; min-width: 220px; text-align: left; }
.news-note { font-size: .82rem; color: var(--muted); margin: 16px 0 0; }
.news-status {
  display: none;
  margin-top: 16px;
  color: #2c6e2f;
  font-weight: 500;
}
.news-status.show { display: block; }

/* ---------------------------------------------------------------------
   CTA BAND (dark)
   --------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(560px 380px at 88% 14%, rgba(194,65,12,.42), transparent 60%),
    var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 72px 56px;
  text-align: center;
}
.cta-band h2 { color: var(--bg); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 540px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  background:
    radial-gradient(620px 360px at 88% -30%, rgba(194,65,12,.08), transparent 60%),
    var(--bg);
  padding: 76px 0 66px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 16px; }
.page-banner p { max-width: 620px; color: var(--muted); font-size: 1.14rem; margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

/* ---------------------------------------------------------------------
   FILTER BAR (exhibitions)
   --------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-bar button {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .92rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--ease);
}
.filter-bar button:hover { color: var(--ink); border-color: var(--ink); }
.filter-bar button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------------------------------------------------------------------
   ABOUT — values + team
   --------------------------------------------------------------------- */
.value-card .icon { background: linear-gradient(135deg, rgba(194,65,12,.1), rgba(224,134,63,.18)); border-color: transparent; }

.team-card { text-align: center; }
.team-card .team-photo {
  width: 116px; height: 116px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  font-size: 2rem;
  color: #fff;
}
.team-card h3 { font-size: 1.3rem; margin-bottom: 2px; }
.team-card .role { color: var(--accent); font-family: var(--font-body); font-weight: 600; font-size: .86rem; margin-bottom: 12px; }
.team-card p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(194,65,12,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #c0392b; font-size: .82rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.form-status {
  display: none;
  margin-top: 20px;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  background: #eef7ee;
  border: 1px solid #9fd4a0;
  color: #2c6e2f;
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  margin-bottom: 24px;
}
.info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 50%; background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.3rem;
}
.info-row b { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); display: block; }
.info-row span { font-size: .94rem; color: var(--muted); }
.info-row a { color: var(--accent); }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 250px;
  background:
    linear-gradient(rgba(194,65,12,.05), rgba(194,65,12,.05)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 44px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
}
.site-footer .brand { color: var(--bg); margin-bottom: 16px; }
.site-footer .brand:hover { color: var(--bg); }
.footer-about p { font-size: .95rem; color: rgba(255,255,255,.62); max-width: 320px; }
.footer-col h4 {
  color: var(--bg); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 600;
  margin-bottom: 18px;
}
.footer-col a { display: block; color: rgba(255,255,255,.62); padding: 6px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--bg); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  font-size: 1rem;
  color: var(--bg);
}
.social a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.68); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .exhibit-grid { grid-template-columns: repeat(2, 1fr); }
  .artist-grid { grid-template-columns: repeat(2, 1fr); }
  .artist-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .feature-show { grid-template-columns: 1fr; }
  .feature-show .fs-art { min-height: 320px; }
  .visit-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 16px var(--gutter) 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .exhibit-grid { grid-template-columns: 1fr; }
  .artist-grid { grid-template-columns: repeat(2, 1fr); }
  .artist-strip { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split-media { order: 0; }
  .feature-show .fs-body { padding: 38px 30px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-band, .newsletter { padding: 52px 28px; }
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .artist-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
