:root {
  --bg: #12110e;
  --bg-soft: #1a1713;
  --panel: rgba(27, 24, 20, 0.9);
  --panel-strong: #201d19;
  --sand: #efe3d0;
  --sand-soft: #d7c0a4;
  --moss: #6f7a5a;
  --sage: #a7b493;
  --terracotta: #b86f4d;
  --text: #f4efe8;
  --muted: rgba(244, 239, 232, 0.7);
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(8, 6, 4, 0.42);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(168, 146, 112, 0.22), transparent 30%),
    linear-gradient(180deg, #0f0e0c 0%, var(--bg) 30%, #1a1714 100%);
  color: var(--text);
  font-family: var(--sans);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px clamp(20px, 3vw, 36px) 40px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 17, 14, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(11, 9, 7, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  font-family: var(--serif);
  letter-spacing: 0.08em;
}

.brand-name {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.8);
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-cta,
.button-primary {
  color: #120e0c;
  background: linear-gradient(135deg, #f0d9b8, #c0b089);
  box-shadow: 0 18px 40px rgba(168, 146, 112, 0.2);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: end;
  gap: clamp(28px, 4vw, 72px);
  min-height: 760px;
  padding: clamp(30px, 5vw, 72px) clamp(16px, 2vw, 30px) 40px;
}

.slider-stage {
  position: relative;
  min-height: 560px;
}

.slider-track {
  position: relative;
  height: 100%;
  min-height: 560px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
  border-radius: 32px;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.slide-image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  background-size: cover;
  background-position: center;
}

.slide-one {
  background-image: linear-gradient(180deg, rgba(15, 13, 10, 0.14), rgba(15, 13, 10, 0.45)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80");
}

.slide-two {
  background-image: linear-gradient(180deg, rgba(13, 13, 11, 0.16), rgba(13, 13, 11, 0.5)),
    url("https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?auto=format&fit=crop&w=900&q=80");
}

.slide-three {
  background-image: linear-gradient(180deg, rgba(13, 13, 11, 0.14), rgba(13, 13, 11, 0.48)),
    url("https://images.unsplash.com/photo-1493246507139-91e8fad9978e?auto=format&fit=crop&w=900&q=80");
}

.slider-nav {
  position: absolute;
  right: 24px;
  top: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
}

.nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(15, 13, 10, 0.42);
  color: var(--text);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.nav-arrow:hover,
.nav-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.card-details {
  position: absolute;
  right: 22px;
  left: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 14px;
  border-radius: 20px;
  background: rgba(16, 14, 12, 0.36);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-details span {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.card-details strong {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 232, 0.7);
}

.hero h1,
.section-head h2,
.about-copy h2,
.visit h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.hero h1 {
  max-width: 540px;
  font-size: clamp(4.5rem, 7vw, 9.5rem);
}

.hero h1 span {
  color: var(--sand-soft);
  font-style: italic;
}

.lede {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.3rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 42px;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-meta strong {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-soft);
}

.hero-meta span {
  color: rgba(244, 239, 232, 0.56);
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(200px, 0.8fr);
  gap: 20px;
  min-height: 560px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}


.section {
  padding: 110px 0 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(2.8rem, 5vw, 6rem);
}

.section-link,
.text-link {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-soft);
}

.section-link::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.exhibition-item {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px 22px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.exhibition-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.exhibition-item.accent {
  background:
    linear-gradient(180deg, rgba(127, 117, 82, 0.2), rgba(18, 17, 14, 0.82)),
    url("https://images.unsplash.com/photo-1493246507139-91e8fad9978e?auto=format&fit=crop&w=900&q=80") center/cover;
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.exhibition-item h3 {
  margin: 24px 0 10px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3vw, 3.15rem);
  font-weight: 500;
  line-height: 0.9;
}

.exhibition-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.works-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.work-item {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.work-item.large {
  grid-row: span 2;
}

.work-image {
  width: 100%;
  min-height: 270px;
  background-size: cover;
  background-position: center;
}

.image-one {
  min-height: 520px;
  background-image: linear-gradient(180deg, rgba(18, 17, 14, 0.16), rgba(18, 17, 14, 0.28)), url("https://images.unsplash.com/photo-1520637836862-4d197d17c90a?auto=format&fit=crop&w=1100&q=80");
}

.image-two {
  background-image: linear-gradient(180deg, rgba(18, 17, 14, 0.12), rgba(18, 17, 14, 0.2)), url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=900&q=80");
}

.image-three {
  background-image: linear-gradient(180deg, rgba(18, 17, 14, 0.12), rgba(18, 17, 14, 0.2)), url("https://images.unsplash.com/photo-1501004318641-b39e6451bec6?auto=format&fit=crop&w=900&q=80");
}

.image-four {
  min-height: 420px;
  background-image: linear-gradient(180deg, rgba(18, 17, 14, 0.18), rgba(18, 17, 14, 0.2)), url("https://images.unsplash.com/photo-1515405295579-ba7b45403062?auto=format&fit=crop&w=900&q=80");
}

.work-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 22px;
}

.work-info span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-info h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  font-weight: 500;
  line-height: 0.9;
}

.about {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.about-copy h2 {
  font-size: clamp(2.8rem, 5vw, 6rem);
}

.about-copy p {
  max-width: 610px;
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-visual {
  position: relative;
  min-height: 620px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background-image: linear-gradient(180deg, rgba(18, 17, 14, 0.14), rgba(18, 17, 14, 0.48)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.about-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(16, 13, 11, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.about-overlay span {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.about-overlay strong {
  font-size: 1.1rem;
}

.artist-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.artist-item {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 200px;
  padding: 20px 20px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.artist-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.artist-item span {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.artist-item strong {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 0.9;
}

.visit-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(34px, 5vw, 72px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(184, 111, 77, 0.15), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.visit h2 {
  max-width: 860px;
  margin-bottom: 28px;
  font-size: clamp(2.8rem, 6vw, 7rem);
}

.site-footer {
  max-width: 1380px;
  margin: 110px auto 0;
  padding: 26px 0 8px;
  border-top: 1px solid var(--line);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-top {
  padding: 18px 0 0;
}

.footer-top p {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-top span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .topbar {
    border-radius: 22px;
    padding: 18px 18px;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .exhibition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-item.large {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .about,
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .about-visual {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .topbar {
    justify-content: center;
  }

  .brand-name {
    letter-spacing: 0.12em;
  }

  .main-nav {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .hero-meta {
    gap: 18px;
  }

  .section-head {
    display: block;
  }

  .section-head h2 {
    margin-top: 12px;
  }

  .exhibition-grid,
  .works-grid,
  .artist-list {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
