/* ============================================================
   MUSE WALL — Contemporary Art Gallery
   style.css
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Light palette (gallery white) */
  --clr-bg:          #F5F3EE;
  --clr-bg-alt:      #EDEAE3;
  --clr-text:        #1A1916;
  --clr-text-muted:  #706E68;
  --clr-border:      #DDD9D0;

  /* Dark palette (gallery walls) */
  --clr-dark:        #0B0B0A;
  --clr-dark-2:      #161614;
  --clr-dark-3:      #212120;
  --clr-text-light:        #EAE8E2;
  --clr-text-light-muted:  #8C8A84;
  --clr-border-dark:       #282825;

  /* Accent colors */
  --clr-accent:      #B84230;  /* vermillion */
  --clr-accent-h:    #9E3828;  /* hover state */
  --clr-gold:        #C9A95C;  /* warm gold */

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  6rem;

  /* Layout */
  --nav-h:     70px;
  --container: 1200px;
  --radius:    3px;

  /* Motion */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --dur:      0.55s;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body  {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--clr-text);
  background: var(--clr-bg);
  overflow-x: hidden;
}
img, svg  { display: block; max-width: 100%; }
a         { color: inherit; text-decoration: none; }
ul, ol    { list-style: none; }
button    { font: inherit; cursor: pointer; border: none; background: none; }
input     { font: inherit; }
address   { font-style: normal; }

/* ---- Container ---- */
.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* ---- Section label ---- */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.6rem;
}

/* ---- Section header ---- */
.section-header        { margin-bottom: 2.5rem; }
.section-header--centered { text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--clr-text);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--clr-accent);
  color: #fff;
  border: 1px solid var(--clr-accent);
}
.btn--primary:hover {
  background: var(--clr-accent-h);
  border-color: var(--clr-accent-h);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
}
.btn--outline:hover {
  border-color: var(--clr-text);
}

.btn--dark {
  background: var(--clr-dark);
  color: var(--clr-text-light);
  border: 1px solid var(--clr-dark);
}
.btn--dark:hover {
  background: var(--clr-dark-2);
  border-color: var(--clr-dark-2);
  transform: translateY(-2px);
}


/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Hero reveals use CSS keyframes instead of JS-triggered class */
.hero .reveal {
  animation: heroReveal 0.85s var(--ease) both;
}
.hero .reveal:nth-child(1) { animation-delay: 0.25s; }
.hero .reveal:nth-child(2) { animation-delay: 0.45s; }
.hero .reveal:nth-child(3) { animation-delay: 0.65s; }
.hero .reveal:nth-child(4) { animation-delay: 0.85s; }

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(11, 11, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-border-dark);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 1400px;
  margin-inline: auto;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.05em;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-mark {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 300;
  color: var(--clr-accent);
  line-height: 1;
}
.nav__logo-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  color: var(--clr-text-light);
  text-transform: uppercase;
  line-height: 1;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__link {
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-light-muted);
  border-radius: var(--radius);
  transition: color 0.25s, background 0.25s;
}
.nav__link:hover { color: var(--clr-text-light); }

.nav__link--cta {
  background: var(--clr-accent);
  color: #fff;
  margin-left: 0.5rem;
}
.nav__link--cta:hover {
  background: var(--clr-accent-h);
  color: #fff;
}

/* Hamburger button */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  z-index: 1100;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--clr-text-light);
  border-radius: 2px;
  transition: transform 0.38s var(--ease), opacity 0.38s, width 0.38s var(--ease);
  transform-origin: center;
}
/* Open state */
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Mobile nav ---- */
@media (max-width: 820px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 82vw);
    height: 100dvh;
    background: var(--clr-dark-2);
    border-left: 1px solid var(--clr-border-dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 1050;
  }
  .nav__links.is-open { transform: translateX(0); }

  .nav__link {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--clr-border-dark);
    border-radius: 0;
    color: var(--clr-text-light-muted);
  }
  .nav__link:hover { color: var(--clr-text-light); background: none; }

  .nav__link--cta {
    margin-top: 1.5rem;
    margin-left: 0;
    width: 100%;
    text-align: center;
    justify-content: center;
    border-bottom: none;
    border-radius: var(--radius);
  }
}

/* ---- Nav overlay on mobile ---- */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1040;
}
.nav__overlay.is-active { display: block; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-dark);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Grain texture */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Glowing radial accent */
.hero__glow {
  position: absolute;
  width: 65vw;
  height: 65vw;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(184, 66, 48, 0.14) 0%, transparent 68%);
  top: -20%;
  left: -15%;
  animation: glowPulse 7s ease-in-out infinite;
}
.hero__glow--2 {
  background: radial-gradient(ellipse at center, rgba(201, 169, 92, 0.08) 0%, transparent 65%);
  top: auto;
  left: auto;
  bottom: -25%;
  right: -20%;
  width: 55vw;
  height: 55vw;
  animation-delay: -3.5s;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1);    }
  50%       { opacity: 1;   transform: scale(1.06); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 820px;
  width: 100%;
}

.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.75rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 8.5rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--clr-text-light);
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  margin-bottom: 2rem;
}
.hero__title em {
  font-style: italic;
  color: var(--clr-accent);
}

.hero__sub {
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  color: var(--clr-text-light-muted);
  max-width: 480px;
  margin: 0 auto 2.75rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--clr-text-light-muted);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
  transition: color 0.25s;
}
.hero__scroll:hover { color: var(--clr-text-light); }

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--clr-text-light-muted), transparent);
  animation: scrollScan 2.2s ease-in-out infinite;
}
@keyframes scrollScan {
  0%       { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  49%      { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  50%      { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100%     { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ============================================================
   EXHIBITION SECTION
   ============================================================ */
.exhibition {
  background: var(--clr-bg);
  padding: var(--sp-xl) 0;
}

.exhibition__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
  margin-bottom: var(--sp-lg);
}

.exhibition__visual { position: relative; }

.exhibition__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.12),
               -4px -4px 20px rgba(0, 0, 0, 0.04);
}
.exhibition__artwork {
  width: 100%;
  aspect-ratio: 4 / 5;
}
.exhibition__badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  background: var(--clr-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius);
}

.exhibition__dates {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 0.65rem;
}
.exhibition__name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--clr-text);
  margin-bottom: 0.4rem;
}
.exhibition__artist {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--clr-accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.exhibition__desc {
  font-size: 0.93rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.exhibition__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 2rem;
}
.exhibition__meta-item { display: flex; flex-direction: column; gap: 0.25rem; }
.exhibition__meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.exhibition__meta-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-text);
}

/* Past exhibitions strip */
.ex-strip {
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
}
.ex-strip__label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 1.1rem;
}
.ex-strip__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.ex-strip__item { display: flex; flex-direction: column; gap: 0.45rem; }
.ex-strip__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
}
.ex-strip__title {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-text);
  line-height: 1.3;
}
.ex-strip__date {
  font-size: 0.68rem;
  color: var(--clr-text-muted);
}

@media (max-width: 920px) {
  .exhibition__grid { grid-template-columns: 1fr; }
  .exhibition__info { padding-top: 0; }
}
@media (max-width: 640px) {
  .ex-strip__items { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   COLLECTION
   ============================================================ */
.collection {
  background: var(--clr-bg-alt);
  padding: var(--sp-xl) 0;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter-tab {
  padding: 0.48rem 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  background: transparent;
  transition: all 0.25s;
  cursor: pointer;
}
.filter-tab:hover { color: var(--clr-text); border-color: var(--clr-text-muted); }
.filter-tab.active {
  background: var(--clr-text);
  color: var(--clr-bg);
  border-color: var(--clr-text);
}

/* Art grid */
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.4rem;
  margin-bottom: 3rem;
  min-height: 200px;
}

.art-card {
  background: var(--clr-bg);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
              box-shadow 0.35s var(--ease);
}
.art-card.visible { opacity: 1; transform: translateY(0); }
.art-card:hover { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.11); }

/* Alternate aspect ratios for visual rhythm */
.art-card:nth-child(3n+2) .art-card__image { aspect-ratio: 3 / 4; }
.art-card:nth-child(3n+0) .art-card__image { aspect-ratio: 4 / 3; }

.art-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.art-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.art-card:hover .art-card__overlay { opacity: 1; }

.art-card__view-btn {
  padding: 0.6rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  background: transparent;
  transition: background 0.25s;
  cursor: pointer;
}
.art-card__view-btn:hover { background: rgba(255, 255, 255, 0.12); }

.art-card__body {
  padding: 1rem 1.1rem 1.2rem;
}
.art-card__tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.art-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--clr-text);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}
.art-card__meta {
  font-size: 0.76rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
}
.art-card__meta em { font-style: italic; }

.collection__more { text-align: center; }


/* ============================================================
   ARTISTS
   ============================================================ */
.artists {
  background: var(--clr-dark);
  padding: var(--sp-xl) 0;
  overflow: hidden;
}
.artists .section-label { color: var(--clr-gold); }
.artists .section-title { color: var(--clr-text-light); }

.artists__carousel-wrap {
  overflow: hidden;
  padding-block: 0.5rem;
  margin-bottom: var(--sp-md);
}
.artists__track {
  display: flex;
  gap: 1.5rem;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.artist-card {
  flex: 0 0 280px;
  background: var(--clr-dark-2);
  border: 1px solid var(--clr-border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.artist-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-gold);
}

.artist-card__portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.artist-card__info { padding: 1.35rem; }
.artist-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--clr-text-light);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}
.artist-card__specialty {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.85rem;
}
.artist-card__bio {
  font-size: 0.82rem;
  color: var(--clr-text-light-muted);
  line-height: 1.7;
}

/* Artist navigation */
.artists__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.artists__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--clr-border-dark);
  color: var(--clr-text-light-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  cursor: pointer;
}
.artists__arrow:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  background: rgba(201, 169, 92, 0.06);
}
.artists__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.artists__dots { display: flex; align-items: center; gap: 0.5rem; }
.artists__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-border-dark);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.artists__dot.active {
  background: var(--clr-gold);
  transform: scale(1.35);
}

@media (max-width: 620px) {
  .artist-card { flex: 0 0 calc(100vw - 3rem); }
}


/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--clr-dark-2); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.about__quote-side {
  background: var(--clr-dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-xl) clamp(2rem, 5vw, 5rem);
}

.about__quote {
  position: relative;
  max-width: 400px;
  padding-top: 2.5rem;
}
.about__quote-mark {
  position: absolute;
  top: -0.75rem;
  left: -0.25rem;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--clr-accent);
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}
.about__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--clr-text-light);
}
.about__cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--clr-gold);
  margin-top: 1.5rem;
}

.about__info-side {
  padding: var(--sp-xl) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__info-side .section-label { color: var(--clr-gold); }

.about__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--clr-text-light);
  margin-bottom: 1.5rem;
}
.about__info-side p {
  font-size: 0.9rem;
  color: var(--clr-text-light-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border-dark);
}
.about__stats li { display: flex; flex-direction: column; gap: 0.3rem; }
.about__stats strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--clr-gold);
  line-height: 1;
}
.about__stats span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-light-muted);
}

@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__quote-side { padding: var(--sp-lg) clamp(1.5rem, 5vw, 3rem); }
  .about__info-side  { padding: var(--sp-lg) clamp(1.5rem, 5vw, 3rem); }
}


/* ============================================================
   EVENTS
   ============================================================ */
.events {
  background: var(--clr-bg);
  padding: var(--sp-xl) 0;
}

.events__list { display: flex; flex-direction: column; }

.event-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: start;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--clr-border);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.event-item:first-child { border-top: 1px solid var(--clr-border); }
.event-item.visible { opacity: 1; transform: translateX(0); }

.event-date { text-align: center; }
.event-date__day {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--clr-text);
}
.event-date__month {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-top: 0.2rem;
}

.event-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.event-desc {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 0.85rem;
  max-width: 580px;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.event-meta__item {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.event-meta__item svg { opacity: 0.55; flex-shrink: 0; }

.event-type {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(184, 66, 48, 0.08);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius);
  align-self: flex-start;
}

@media (max-width: 680px) {
  .event-item {
    grid-template-columns: 72px 1fr;
    gap: 1.25rem;
  }
  .event-type { display: none; }
  .event-date__day { font-size: 1.9rem; }
}


/* ============================================================
   VISIT
   ============================================================ */
.visit {
  background: var(--clr-dark);
  padding: var(--sp-xl) 0;
}
.visit .section-label { color: var(--clr-gold); }
.visit .section-title { color: var(--clr-text-light); }

.visit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.visit__card {
  background: var(--clr-dark-2);
  border: 1px solid var(--clr-border-dark);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.visit__card:hover {
  border-color: var(--clr-gold);
  transform: translateY(-4px);
}

.visit__icon {
  color: var(--clr-gold);
  margin-bottom: 1.35rem;
}
.visit__card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--clr-text-light);
  margin-bottom: 1.35rem;
}

.visit__list { display: flex; flex-direction: column; gap: 0; }
.visit__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--clr-text-light-muted);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--clr-border-dark);
  line-height: 1.4;
}
.visit__list li:last-child { border-bottom: none; }

.visit__free-day { color: var(--clr-gold) !important; }

.visit__address {
  font-size: 0.88rem;
  color: var(--clr-text-light-muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}
.visit__map-link {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-gold);
  transition: color 0.25s;
}
.visit__map-link:hover { color: var(--clr-text-light); }

@media (max-width: 900px) {
  .visit__grid { grid-template-columns: 1fr; }
}


/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--clr-accent);
  padding: var(--sp-xl) 0;
}
.newsletter__inner {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
  text-align: center;
}
.newsletter .section-label { color: rgba(255, 255, 255, 0.65); }

.newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.newsletter__sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}

.newsletter__form { max-width: 480px; margin: 0 auto; }

.newsletter__field-row {
  display: flex;
  margin-bottom: 0.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}
.newsletter__input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: none;
  background: #fff;
  color: var(--clr-text);
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}
.newsletter__input::placeholder { color: var(--clr-text-muted); }
.newsletter__field-row .btn--dark { border-radius: 0; }

.newsletter__consent {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.newsletter__success {
  margin-top: 1.25rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
}
.newsletter__success[hidden] { display: none; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-dark);
  border-top: 1px solid var(--clr-border-dark);
  padding: var(--sp-lg) 0 var(--sp-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--clr-border-dark);
}

.footer__logo-link { margin-bottom: 1rem; display: inline-flex; }
.footer__tagline {
  font-size: 0.85rem;
  color: var(--clr-text-light-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer__social { display: flex; gap: 0.65rem; }
.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--clr-border-dark);
  color: var(--clr-text-light-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, color 0.25s;
}
.footer__social-link:hover { border-color: var(--clr-gold); color: var(--clr-gold); }

.footer__col-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-text-light);
  margin-bottom: 1.25rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer__links li,
.footer__links a {
  font-size: 0.84rem;
  color: var(--clr-text-light-muted);
  transition: color 0.25s;
}
.footer__links a:hover { color: var(--clr-text-light); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: var(--clr-text-light-muted);
}
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal a {
  font-size: 0.78rem;
  color: var(--clr-text-light-muted);
  transition: color 0.25s;
}
.footer__legal a:hover { color: var(--clr-text-light); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   ART PLACEHOLDER BACKGROUNDS
   Generated CSS gradients simulating abstract artworks
   ============================================================ */

/* Exhibition */
.art-ex-1 {
  background:
    radial-gradient(ellipse at 22% 55%, rgba(201, 169, 92, 0.28) 0%, transparent 45%),
    radial-gradient(ellipse at 78% 20%, rgba(184, 66, 48, 0.38) 0%, transparent 38%),
    linear-gradient(155deg, #190A04 0%, #3D1F14 22%, #0D0D0B 48%, #1B1108 72%, #2F1C0A 100%);
}
.art-ex-2 {
  background: linear-gradient(42deg, #071120 0%, #0A2342 32%, #1C5073 62%, #6EB5E5 100%);
}
.art-ex-3 {
  background:
    radial-gradient(circle at 38% 42%, #3A0CA3 0%, transparent 48%),
    linear-gradient(130deg, #10002B 0%, #240046 50%, #3C096C 100%);
}
.art-ex-4 {
  background: linear-gradient(198deg, #2E4B21 0%, #1B2F14 42%, #3C2111 68%, #5D3B1B 100%);
}
.art-ex-5 {
  background: linear-gradient(118deg, #1C1C2E 0%, #17213F 34%, #104060 67%, #543685 100%);
}

/* Collection artwork backgrounds */
.art-bg-0  { background: linear-gradient(135deg, #2C1810 0%, #8C2E20 48%, #E8AA78 100%); }
.art-bg-1  { background: conic-gradient(from 180deg at 50% 50%, #0A1528 0deg, #1A3B5C 90deg, #4A80A9 180deg, #8DB9D1 270deg, #0A1528 360deg); }
.art-bg-2  { background: radial-gradient(circle at 32% 68%, #0D0D1A 0%, #2D1C6A 44%, #38EF7D 100%); }
.art-bg-3  {
  background:
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(255,255,255,0.035) 18px, rgba(255,255,255,0.035) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(255,255,255,0.035) 18px, rgba(255,255,255,0.035) 19px),
    linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
}
.art-bg-4  { background: radial-gradient(ellipse at 68% 30%, #F5C840 0%, #E87D1D 38%, #A51C30 100%); }
.art-bg-5  { background: linear-gradient(158deg, #0F2027 0%, #213B44 50%, #2D5566 100%); }
.art-bg-6  { background: radial-gradient(circle at 22% 78%, #3B1F5F 0%, #6A2D8B 40%, #C87ADC 78%, #F6A8E4 100%); }
.art-bg-7  { background: linear-gradient(46deg, #D4B038 0%, #8C6A14 30%, #4A3810 60%, #1C1409 100%); }
.art-bg-8  {
  background:
    repeating-linear-gradient(0deg, transparent, transparent 9px, rgba(255,255,255,0.025) 9px, rgba(255,255,255,0.025) 10px),
    repeating-linear-gradient(90deg, transparent, transparent 9px, rgba(255,255,255,0.025) 9px, rgba(255,255,255,0.025) 10px),
    linear-gradient(135deg, #0A2342 0%, #1B5074 100%);
}
.art-bg-9  { background: radial-gradient(ellipse at 50% 5%, #FF4F50 0%, #FAD424 48%, #FC923B 100%); }
.art-bg-10 { background: linear-gradient(178deg, #2D3660 0%, #5350AF 50%, #A468DC 100%); }
.art-bg-11 { background: radial-gradient(circle at 58% 42%, #2ECC72 0%, #1A8B4C 38%, #0D4B28 70%, #061B10 100%); }
.art-bg-12 {
  background:
    radial-gradient(circle at 80% 80%, rgba(255, 200, 50, 0.4) 0%, transparent 45%),
    linear-gradient(to bottom, #1a0010, #500030, #c04000);
}
.art-bg-13 {
  background:
    repeating-conic-gradient(#1a1a2e 0% 12.5%, #16213e 0% 25%);
}
.art-bg-14 { background: linear-gradient(225deg, #e8f4f8 0%, #a8d8ea 40%, #2c7873 100%); }
.art-bg-15 { background: radial-gradient(circle at 50% 50%, #fff5e0 0%, #ffd166 35%, #ef8c4b 70%, #c0392b 100%); }
.art-bg-16 { background: linear-gradient(160deg, #0D0D0D 0%, #2c2c54 50%, #706fd3 100%); }
.art-bg-17 { background: radial-gradient(ellipse at 30% 70%, #005c97 0%, #363795 50%, #1d1d1d 100%); }


/* ============================================================
   SMALL SCREEN UTILITIES
   ============================================================ */
@media (max-width: 600px) {
  .art-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .filter-tabs { gap: 0.35rem; }
  .filter-tab  { padding: 0.42rem 0.85rem; font-size: 0.7rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: min(100%, 260px); justify-content: center; }
  .newsletter__field-row { flex-direction: column; border-radius: var(--radius); overflow: visible; box-shadow: none; }
  .newsletter__input { border-radius: var(--radius); margin-bottom: 0.5rem; }
  .newsletter__field-row .btn--dark { border-radius: var(--radius); }
  .about__stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  :root { --nav-h: 62px; }
  .section-title { font-size: 1.75rem; }
}
