@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;1,6..96,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --burgundy: #612121;
  --burgundy-dark: #431414;
  --gold: #b28a5c;
  --gold-light: #c09b71;
  --cream: #faf6f0;
  --cream-2: #f3ede2;
  --ink: #201712;
  --ink-soft: #493f38;
  --line: #e4d9c8;
  --serif: 'Bodoni Moda', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

p { font-weight: 400; }

h1, h2, h3, h4, .serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--burgundy);
  margin: 0 0 0.5em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
}

.rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 20px 0;
  border: 0;
}

.rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand-text { font-family: var(--serif); font-size: 21px; letter-spacing: 0.04em; color: var(--burgundy); }
.brand-text small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; margin-top: 2px; }

nav.primary-nav { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
nav.primary-nav a {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
  position: relative;
}
nav.primary-nav a:hover, nav.primary-nav a.active { color: var(--burgundy); border-color: var(--gold); }
.nav-toggle { display: none; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 200px;
  padding: 10px 0;
  box-shadow: 0 12px 30px rgba(97,33,33,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a { display: block; padding: 9px 18px; font-size: 12px; }
.dropdown-menu a:hover { background: var(--cream-2); }

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--burgundy-dark);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,14,12,0.55) 0%, rgba(24,14,12,0.62) 55%, rgba(24,14,12,0.82) 100%);
}
.hero-slider .hero-content { position: relative; z-index: 2; padding: 0 32px; color: #fff; }
.hero-slider .eyebrow { justify-content: center; color: var(--gold-light); }
.hero-slider h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.15; max-width: 780px; margin: 0 auto 24px; color: #fff; }
.hero-slider p.lead { max-width: 560px; margin: 0 auto; color: #ecdfd0; font-size: 17px; }
.hero-slider .cta-row { margin-top: 36px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-slider .btn { border-color: #fff; color: #fff; }
.hero-slider .btn:hover { background: #fff; color: var(--burgundy); }
.hero-slider .btn.solid { background: var(--gold); border-color: var(--gold); color: #2a1c10; }
.hero-slider .btn.solid:hover { background: #c9a26f; }
.hero-dots { position: absolute; z-index: 2; bottom: 26px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.7); background: transparent; padding: 0; cursor: pointer; }
.hero-dots button.is-active { background: #fff; }
@media (max-width: 700px) { .hero-slider { min-height: 520px; } }

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  background: transparent;
  cursor: pointer;
  transition: background .2s, color .2s;
  font-family: var(--sans);
}
.btn:hover { background: var(--burgundy); color: #fff; }
.btn.solid { background: var(--burgundy); color: #fff; }
.btn.solid:hover { background: var(--burgundy-dark); }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { color: var(--ink-soft); }

.section-foot { text-align: center; margin-top: 48px; }

/* ---------- Exhibition cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

.card-exh {
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  overflow: hidden;
}
.card-exh:hover { box-shadow: 0 16px 34px rgba(97,33,33,0.09); transform: translateY(-3px); }
.card-exh .thumb { aspect-ratio: 4/3; background: var(--cream-2); overflow: hidden; }
.card-exh .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-exh .card-body { padding: 26px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.card-exh .date-label { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.card-exh h3 { font-size: 22px; margin-bottom: 6px; }
.card-exh .artists { font-size: 13px; color: var(--ink-soft); font-style: italic; margin-bottom: 14px; }
.card-exh .desc { font-size: 14.5px; color: var(--ink-soft); flex-grow: 1; }
.card-exh .venue { font-size: 12px; color: var(--ink-soft); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-exh a.more { margin-top: 16px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--burgundy); border-bottom: 1px solid var(--gold); align-self: flex-start; }

.tag-solo { display: inline-block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--gold); color: var(--gold); padding: 2px 8px; margin-left: 8px; }

.exh-list { display: flex; flex-direction: column; gap: 0; }
.exh-row {
  display: grid;
  grid-template-columns: 150px 170px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.exh-row .thumb { aspect-ratio: 4/3; background: var(--cream-2); overflow: hidden; border: 1px solid var(--line); }
.exh-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.exh-row .date-label { font-size: 12.5px; letter-spacing: 0.08em; color: var(--gold); text-transform: uppercase; padding-top: 4px; }
.exh-row h3 { font-size: 24px; margin-bottom: 6px; }
.exh-row .artists { font-style: italic; color: var(--ink-soft); margin-bottom: 10px; }
.exh-row .desc { color: var(--ink-soft); font-size: 15px; max-width: 720px; }
.exh-row .venue { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }
.exh-row a.more { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--burgundy); border-bottom: 1px solid var(--gold); }

.empty-state {
  text-align: center;
  padding: 70px 30px;
  border: 1px dashed var(--line);
  color: var(--ink-soft);
  background: #fff;
}
.empty-state h3 { color: var(--burgundy); margin-bottom: 10px; }

/* ---------- Artists ---------- */
.grid-artists { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.card-artist { text-align: center; }
.card-artist .avatar {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--cream-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 16px;
  overflow: hidden;
}
.card-artist .avatar img { width: 100%; height: 100%; object-fit: cover; }
.card-artist h3 { font-size: 18px; margin-bottom: 4px; }
.card-artist .meta { font-size: 12px; color: var(--ink-soft); }

.artist-detail-head { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; margin-bottom: 56px; }
.artist-detail-head .avatar {
  aspect-ratio: 1/1; background: var(--cream-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 46px; color: var(--gold); overflow: hidden;
}
.artist-detail-head .avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Press / Publications ---------- */
.press-item, .pub-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.press-item .thumb, .pub-item .thumb {
  aspect-ratio: 4/3; background: var(--cream-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 11px; overflow: hidden;
}
.press-item .thumb img, .pub-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.press-item .date, .pub-item .date { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.press-item h3, .pub-item h3 { font-size: 19px; margin-bottom: 6px; }
.press-item .source { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 8px; }
.press-item p, .pub-item p { color: var(--ink-soft); font-size: 14.5px; }
.press-item a.more, .pub-item a.more { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--burgundy); border-bottom: 1px solid var(--gold); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 24px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 6px 0 0; font-size: 16px; }

form.stack { display: flex; flex-direction: column; gap: 18px; }
.field label { display: block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: #fff;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 140px; resize: vertical; }
.alert { padding: 14px 18px; font-size: 14px; border: 1px solid; margin-bottom: 6px; }
.alert.success { border-color: #5a7d5a; background: #eef4ee; color: #33502f; }
.alert.error { border-color: var(--burgundy); background: #fbeeee; color: var(--burgundy); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--burgundy); color: #f1e6d8; margin-top: 0; }
footer.site-footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 32px 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer.site-footer h4 { color: #f1e6d8; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--sans); font-weight: 500;}
footer.site-footer a, footer.site-footer p { color: #d9c4ac; font-size: 14px; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer.site-footer .brand-foot { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
footer.site-footer .brand-foot img { height: 34px; }
.footer-bottom { border-top: 1px solid rgba(241,230,216,0.15); text-align: center; padding: 22px 0; font-size: 12px; color: #c9ac8c; }

/* ---------- Misc ---------- */
.breadcrumb { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 26px; }
.breadcrumb a { color: var(--gold); }
.page-head { padding: 64px 0 20px; text-align: center; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 46px); }

.exhibition-detail h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 8px; }
.exhibition-detail .meta-row { display: flex; gap: 24px; flex-wrap: wrap; color: var(--ink-soft); font-size: 14px; margin-bottom: 30px; }
.exhibition-detail .body-text { font-size: 17px; color: var(--ink); max-width: 760px; }
.exhibition-detail .cover { width: 100%; margin-bottom: 40px; border: 1px solid var(--line); }
.exh-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.exh-gallery-item { aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--line); }
.exh-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.exh-gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .exh-gallery { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 860px) {
  .grid-3, .grid-2, .grid-artists { grid-template-columns: 1fr 1fr; }
  .artist-detail-head, .contact-grid { grid-template-columns: 1fr; }
  footer.site-footer .inner { grid-template-columns: 1fr; }
  nav.primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .exh-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .grid-artists { grid-template-columns: 1fr; }
  .press-item, .pub-item { grid-template-columns: 1fr; }
}
