/* ═══════════════════════════════════════════
   RESET & TOKENS
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:   #faf9f7;
  --off:     #f2efe9;
  --beige:   #e8e0d4;
  --gold:    #b8975a;
  --charcoal:#1a1a18;
  --mid:     #5a5a56;
  --light:   #9a9a94;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --slow:    cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
.h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.h2 em { font-style: italic; color: var(--gold); }

.label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

p { color: var(--mid); font-size: 0.95rem; line-height: 1.8; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: transparent; color: var(--charcoal); }

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--outline:hover { background: var(--charcoal); color: var(--white); }

/* ═══════════════════════════════════════════
   SECTION UTILITY
═══════════════════════════════════════════ */
.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 7rem); }
.section__header { max-width: 520px; margin-bottom: 4rem; }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem clamp(1.5rem, 5vw, 5rem);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(250,249,247,0.96);
  backdrop-filter: blur(12px);
  padding-top: 1rem; padding-bottom: 1rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav__logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}
.nav__logo:hover { opacity: 0.8; }
.nav__logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  /* invert to white on dark hero, revert on scrolled */
  filter: brightness(0) invert(1);
  transition: filter 0.4s;
}
.nav.scrolled .nav__logo-img {
  filter: none;
}

.nav__links {
  display: flex; gap: 2.5rem;
}
.nav__links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}
.nav__links a:hover { color: var(--white); }
.nav.scrolled .nav__links a { color: var(--mid); }
.nav.scrolled .nav__links a:hover { color: var(--charcoal); }

.nav__cta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  transition: all 0.3s;
}
.nav__cta:hover { background: var(--white); color: var(--charcoal); }
.nav.scrolled .nav__cta { border-color: var(--charcoal); color: var(--charcoal); }
.nav.scrolled .nav__cta:hover { background: var(--charcoal); color: var(--white); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav__burger span { display: block; width: 24px; height: 1px; background: var(--white); transition: background 0.3s; }
.nav.scrolled .nav__burger span { background: var(--charcoal); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh; min-height: 600px;
  display: flex; align-items: flex-end;
  padding: 0 clamp(1.5rem, 6vw, 7rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
}
.hero__img {
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}
/* Fashion show / clothing exhibition */
.hero__img--1 { background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1200&q=80'); }
/* Fine art painting gallery wall */
.hero__img--2 { background-image: url('https://images.unsplash.com/photo-1579783902614-a3fb3927b6a5?w=1200&q=80'); }
/* Exhibition space interior */
.hero__img--3 { background-image: url('https://images.unsplash.com/photo-1518998053901-5348d3961a04?w=1200&q=80'); }

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,8,0.85) 0%,
    rgba(10,10,8,0.4) 50%,
    rgba(10,10,8,0.2) 100%
  );
}

.hero__content {
  position: relative; z-index: 2;
  max-width: 700px;
}
.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero__title em { font-style: italic; }

.hero__sub {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
}

.hero__scroll {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(3rem, 7vw, 6rem);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════
   TICKER
═══════════════════════════════════════════ */
.ticker {
  overflow: hidden;
  background: var(--charcoal);
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ticker__track {
  display: flex; gap: 3rem; align-items: center;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
  width: max-content;
}
.ticker__track span {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ticker__dot { color: var(--gold) !important; font-size: 0.5rem !important; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.about__img-wrap {
  position: relative;
  aspect-ratio: 3/4;
}
.about__img {
  width: 100%; height: 100%;
  /* Curator / gallery exhibition space */
  background-image: url('https://images.unsplash.com/photo-1531058020387-3be344556be6?w=900&q=80');
  background-size: cover;
  background-position: center;
}
.about__img-accent {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 60%; height: 60%;
  border: 1px solid var(--beige);
  z-index: -1;
}

.about__text { max-width: 520px; }
.about__text .h2 { margin-bottom: 1.8rem; }
.about__text p { margin-bottom: 1.2rem; }

.about__founder {
  display: flex; align-items: center; gap: 1.2rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--beige);
}
.about__founder-line {
  width: 2px; height: 40px;
  background: var(--gold);
  flex-shrink: 0;
}
.about__founder-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.1rem;
}
.about__founder-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--light);
  margin: 0;
}

/* ═══════════════════════════════════════════
   STATS
═══════════════════════════════════════════ */
.stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  background: var(--off);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 7rem);
  flex-wrap: wrap;
}
.stats__item {
  flex: 1; min-width: 160px;
  text-align: center;
  padding: 2rem 1rem;
}
.stats__num {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
}
.stats__plus {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--gold);
  vertical-align: super;
}
.stats__label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light);
  margin-top: 0.6rem;
}
.stats__divider {
  width: 1px; height: 80px;
  background: var(--beige);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   EXHIBITIONS GRID
═══════════════════════════════════════════ */
.exhibitions { background: var(--white); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}
.grid__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.grid__item--tall { aspect-ratio: 3/4; grid-row: span 2; }
.grid__item--wide { grid-column: span 2; aspect-ratio: 16/7; }

.grid__img {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--slow), filter 0.5s var(--ease);
  filter: grayscale(30%);
}
.grid__item:hover .grid__img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.grid__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,8,0.75) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.grid__item:hover .grid__overlay { opacity: 1; }

.grid__cat {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.grid__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

/* ═══════════════════════════════════════════
   DISCIPLINE — Clothing Design & Fine Arts
═══════════════════════════════════════════ */
.discipline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  background: var(--white);
}
.discipline--dark {
  background: var(--charcoal);
}
.discipline--dark .label  { color: var(--gold); }
.discipline--dark .h2     { color: var(--white); }
.discipline--dark .h2 em  { color: var(--gold); }
.discipline--dark p       { color: rgba(255,255,255,0.55); }

.discipline__text { max-width: 520px; }
.discipline__text .h2 { margin-bottom: 1.6rem; }
.discipline__text p   { margin-bottom: 1.1rem; }

.discipline__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
  list-style: none;
}
.discipline__tags li {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border: 1px solid var(--beige);
  color: var(--mid);
}
.discipline__tags--light li {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
}

/* image cluster */
.discipline__visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.8rem;
}
.discipline__img {
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.7s var(--slow);
}
.discipline__img--main {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}
.discipline__img--sm {
  aspect-ratio: 1;
}
.discipline__visuals:hover .discipline__img { transform: scale(1.03); }

@media (max-width: 768px) {
  .discipline {
    grid-template-columns: 1fr;
  }
  .discipline--dark .discipline__visuals { order: -1; }
}

/* ═══════════════════════════════════════════
   SPACE
═══════════════════════════════════════════ */
.space { background: var(--charcoal); }
.space .label { color: var(--gold); }
.space .h2 { color: var(--white); }
.space .h2 em { color: var(--gold); }

.space__gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.space__main { aspect-ratio: 16/9; overflow: hidden; }
.space__img {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--slow);
}
.space__main:hover .space__img { transform: scale(1.04); }

.space__side {
  display: flex; flex-direction: column; gap: 1rem;
}
.space__side .space__img {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.space__side > div { overflow: hidden; flex: 1; }
.space__side > div:hover .space__img { transform: scale(1.04); }

/* Gallery interior main view */
.space__img--main {
  background-image: url('https://images.unsplash.com/photo-1554907984-15263bfd63bd?w=1400&q=80');
}
/* Clothing display in gallery */
.space__side > div:first-child .space__img {
  background-image: url('https://images.unsplash.com/photo-1509631179647-0177331693ae?w=800&q=80');
}
/* Fine art on gallery wall */
.space__side > div:last-child .space__img {
  background-image: url('https://images.unsplash.com/photo-1513364776144-60967b0f800f?w=800&q=80');
}

.space__caption {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials { background: var(--off); overflow: hidden; }

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s var(--slow);
}
.testimonial__card {
  flex: 0 0 calc(50% - 0.75rem);
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--beige);
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.testimonial__author {
  display: flex; align-items: center; gap: 1rem;
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}
.testimonial__name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.1rem;
}
.testimonial__role {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--light);
  margin: 0;
}
.testimonials__nav {
  display: flex; gap: 0.8rem;
  margin-top: 2.5rem;
}
.testimonials__btn {
  width: 48px; height: 48px;
  border: 1px solid var(--beige);
  background: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--charcoal);
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.testimonials__btn:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

/* ═══════════════════════════════════════════
   LOCATION
═══════════════════════════════════════════ */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.location__text .h2 { margin-bottom: 2.5rem; }
.location__details { display: flex; flex-direction: column; gap: 1.8rem; margin-bottom: 2.5rem; }
.location__detail {
  display: flex; align-items: flex-start; gap: 1rem;
}
.location__icon {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.location__detail-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.3rem;
}
.location__detail p, .location__detail a {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.6;
}
.location__detail a:hover { color: var(--gold); }

.location__map {
  height: 480px;
  overflow: hidden;
  border: 1px solid var(--beige);
}
.location__map iframe { width: 100%; height: 100%; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 6vw, 7rem) 2rem;
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
/* footer logo now uses .footer__logo-img (image) */
.footer__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 0.5rem;
}
.footer__tagline {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.footer__links {
  display: flex; gap: 2rem; flex-wrap: wrap;
  align-items: center;
}
.footer__links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--white); }

.footer__ig {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer__ig:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer__bottom p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   Initial hidden states are set by GSAP in JS,
   not CSS — so text is always visible if JS fails.
═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid__item--tall { grid-row: span 1; aspect-ratio: 1; }
  .grid__item--wide { grid-column: span 2; }
  .space__gallery { grid-template-columns: 1fr; }
  .space__side { flex-direction: row; }
  .space__side > div { aspect-ratio: 1; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .about { grid-template-columns: 1fr; }
  .about__img-wrap { aspect-ratio: 4/3; max-height: 400px; }
  .about__img-accent { display: none; }

  .stats { gap: 0; }
  .stats__divider { display: none; }
  .stats__item { flex: 0 0 50%; }

  .grid { grid-template-columns: 1fr 1fr; }
  .grid__item--tall { aspect-ratio: 1; grid-row: span 1; }
  .grid__item--wide { grid-column: span 2; aspect-ratio: 16/9; }

  .testimonial__card { flex: 0 0 calc(100% - 0.75rem); }

  .location { grid-template-columns: 1fr; }
  .location__map { height: 320px; }

  .footer__top { flex-direction: column; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .grid__item--wide { grid-column: span 1; aspect-ratio: 4/3; }
  .stats__item { flex: 0 0 100%; }
  .stats__divider { display: none; }
}

/* Mobile nav open state */
.nav.open .nav__links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  z-index: 99;
}
.nav.open .nav__links a {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
}
