/* ============================================================
   ALEXIS ADLER — GALLERY WEBSITE
   Editorial redesign — Gagosian / Nowness aesthetic
   Palette: Cool ivory · Ink black · Slate accent
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

::placeholder {
  color: rgba(28,28,28,0.28) !important;
  -webkit-text-fill-color: rgba(28,28,28,0.28) !important;
  opacity: 1;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--near-black) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--cream-alt) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

:root {
  --cream:      #f4f5f6;
  --cream-alt:  #eef0f2;
  --ink:        #0e0e0e;
  --near-black: #1c1c1c;
  --accent:     #2a3f54;
  --muted:      #8a96a3;
  --dark-bg:    #080c10;
  --white:      #ffffff;
  --transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container:  1200px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Montserrat', sans-serif;
  --ease-luxe:  cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  color-scheme: light only;
}

body {
  background-color: var(--cream);
  color: var(--near-black);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

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


a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}

ul { list-style: none; }

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 60px;
}

/* ── Typography helpers ───────────────────────────────────── */
.label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.label--light { color: var(--muted); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin-bottom: 32px;
  text-wrap: balance;
  max-width: 820px;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
}
.section-header--right .section-title { margin-left: auto; max-width: 640px; }

.section-header {
  margin-bottom: 70px;
}
.section-header--right { text-align: right; }
.section-header--right .series-detail__intro { text-align: left; }


/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 48px;
  transition: all 0.6s var(--ease-luxe);
  cursor: pointer;
  border: none;
  position: relative;
}

.btn--outline {
  border: 1px solid rgba(14,14,14,0.25);
  background: transparent;
  color: var(--near-black);
}
.btn--outline:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  opacity: 1;
  letter-spacing: 0.3em;
}

.btn--dark {
  background-color: var(--ink);
  color: var(--white);
}
.btn--dark:hover {
  background-color: var(--accent);
  color: var(--white);
  opacity: 1;
  letter-spacing: 0.3em;
}

.btn--full { width: 100%; text-align: center; }

/* ── Custom Cursor ────────────────────────────────────────── */
.cursor {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease-luxe), height 0.5s var(--ease-luxe), background 0.4s ease, border-color 0.4s ease, opacity 0.4s ease;
  mix-blend-mode: difference;
}
.cursor.expanded {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.5);
}
@media (hover: none) { .cursor { display: none; } }

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 36px 0;
  transition: background-color 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background-color: rgba(244, 245, 246, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px 0;
  border-bottom-color: rgba(14,14,14,0.08);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: color var(--transition);
}
.nav.scrolled .nav__logo { color: var(--ink); }

.nav__links {
  display: flex;
  gap: 44px;
}

.nav__links a {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: color 0.4s ease, letter-spacing 0.4s ease;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.5s var(--ease-luxe);
}
.nav__links a:hover { color: var(--white); opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav.scrolled .nav__links a {
  color: rgba(14,14,14,0.55);
  text-shadow: none;
}
.nav.scrolled .nav__links a:hover { color: var(--ink); opacity: 1; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--white);
  transition: background-color var(--transition);
}
.nav.scrolled .nav__hamburger span { background-color: var(--ink); }

/* ── Mobile Menu ──────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 320px;
  background: var(--dark-bg);
  z-index: 200;
  padding: 80px 48px 48px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu__close {
  position: absolute;
  top: 28px; right: 28px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 300;
  line-height: 1;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-menu__links a:hover { color: var(--muted); opacity: 1; }

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,12,16,0.6);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu__overlay.open { opacity: 1; pointer-events: all; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  transform: scale(1.04);
}
.hero__slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.8s ease, transform 8s ease-out;
}

.hero__slide:nth-child(1) { background-color: #0d1117; }
.hero__slide:nth-child(2) { background-color: #111820; }
.hero__slide:nth-child(3) { background-color: #0a1520; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%),
    linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.hero__content {
  position: absolute;
  bottom: 100px;
  left: 0;
  z-index: 2;
  color: var(--white);
  padding: 0 60px;
}

.hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(76px, 12vw, 168px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.88;
  margin-bottom: 32px;
}

.hero__title em {
  font-style: italic;
  display: block;
}

.hero__sub {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Hero entrance animation */
.hero__eyebrow {
  animation: heroFadeUp 1.2s var(--ease-luxe) 0.3s both;
}
.hero__title {
  animation: heroFadeUp 1.4s var(--ease-luxe) 0.5s both;
}
.hero__sub {
  animation: heroFadeUp 1.2s var(--ease-luxe) 0.8s both;
}
.hero__scroll-hint {
  animation: heroFadeUp 1s ease 1.4s both;
}
.hero__indicators {
  animation: heroFadeUp 1s ease 1.6s both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide indicators */
.hero__indicators {
  position: absolute;
  bottom: 44px;
  right: 60px;
  z-index: 2;
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 20px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  transition: background var(--transition), width var(--transition);
  cursor: pointer;
}
.hero__dot.active {
  background: rgba(255,255,255,0.9);
  width: 40px;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 60px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollPulse 2.2s ease infinite;
}
.hero__scroll-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ── TICKER ───────────────────────────────────────────────── */
.ticker {
  background: var(--ink);
  overflow: hidden;
  padding: 16px 0;
  cursor: default;
  user-select: none;
}
.ticker__track {
  display: inline-flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 28s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  padding: 0 44px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.ticker__item::after {
  content: '·';
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── INTRO ────────────────────────────────────────────────── */
.intro {
  padding: 160px 0 140px;
  border-bottom: 1px solid rgba(14,14,14,0.05);
}

.intro__inner {
  max-width: 860px;
  margin: 0 auto;
}

.intro__text {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--near-black);
  letter-spacing: -0.015em;
  margin-bottom: 60px;
}

.intro__footer {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.intro__rule {
  flex: 1;
  height: 1px;
  background: rgba(14,14,14,0.12);
  border: none;
  max-width: 160px;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
  padding: 0;
  background-color: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.about__image-wrap {
  position: relative;
  overflow: hidden;
}

.about__image {
  width: 100%;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center 20%;
  background-color: #c2c8d0;
  transition: transform 1.4s var(--ease-luxe);
}

.about__text {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream-alt);
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.about__body {
  font-size: 19px;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 26px;
  line-height: 1.75;
}
.about__body:last-of-type { margin-bottom: 0; }
.about__body em { font-style: italic; color: var(--near-black); }
.about__body a { color: var(--near-black); border-bottom: 1px solid rgba(14,14,14,0.3); }
.about__body a:hover { border-color: var(--near-black); opacity: 1; }

.about__text .btn { margin-top: 44px; align-self: flex-start; }

/* ── BANNER ───────────────────────────────────────────────── */
.banner {
  background-color: var(--dark-bg);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
}

.banner__inner { position: relative; z-index: 1; }

.banner__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  max-width: 960px;
}

.banner__attr {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── GALLERIES ────────────────────────────────────────────── */
.galleries {
  padding: 140px 0 160px;
}

.galleries .container { padding: 0; max-width: 100%; }
.galleries .section-header { padding: 0 60px; max-width: var(--container); margin: 0 auto 72px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  padding: 0 60px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}

.gallery-card {
  display: flex;
  flex-direction: column;
}

.gallery-card__link {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: none;
}

.gallery-card__image {
  width: 100%;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  background-color: #b8c0c8;
  transition: transform 1.2s var(--ease-luxe), filter 0.8s ease;
  filter: saturate(0.9);
}
.gallery-card__link:hover .gallery-card__image {
  transform: scale(1.04);
  filter: saturate(1);
}

/* Hover overlay — cinematic gradient + text reveal */
.gallery-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(to top, rgba(8,12,16,0.88) 0%, rgba(8,12,16,0.2) 40%, transparent 60%);
  opacity: 0;
  transition: opacity 0.7s ease;
}
.gallery-card__link:hover .gallery-card__overlay { opacity: 1; }

/* Overlay text — white, slides up on hover */
.gallery-card__overlay .gallery-card__year {
  color: rgba(255,255,255,0.55);
  transform: translateY(16px);
  transition: transform 0.7s var(--ease-luxe), opacity 0.7s ease;
  opacity: 0;
}
.gallery-card__overlay .gallery-card__title {
  color: var(--white);
  font-size: 24px;
  transform: translateY(16px);
  transition: transform 0.7s var(--ease-luxe) 0.06s, opacity 0.7s ease 0.06s;
  opacity: 0;
  letter-spacing: -0.01em;
}
.gallery-card__link:hover .gallery-card__overlay .gallery-card__year,
.gallery-card__link:hover .gallery-card__overlay .gallery-card__title {
  transform: translateY(0);
  opacity: 1;
}

/* Always-visible info below the image */
.gallery-card__info {
  padding: 24px 0 0;
}

.gallery-card__year {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.gallery-card__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.gallery-card__desc {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 18px;
}

.gallery-card__cta {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--near-black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.5s ease, gap 0.5s var(--ease-luxe), letter-spacing 0.5s ease;
}
.gallery-card__cta::after {
  content: '→';
  transition: transform 0.6s var(--ease-luxe);
  font-size: 11px;
}
.gallery-card__cta:hover {
  color: var(--near-black);
  letter-spacing: 0.28em;
  opacity: 1;
}
.gallery-card__cta:hover::after { transform: translateX(6px); }

/* ── SERIES DETAIL ────────────────────────────────────────── */
.series-detail {
  padding: 80px 0 60px;
  background-color: var(--cream-alt);
  border-top: 1px solid rgba(14,14,14,0.05);
}
.series-detail--alt {
  background-color: var(--cream);
  padding: 60px 0 80px;
}
.series-detail .section-header {
  margin-bottom: 48px;
}

.series-detail__intro {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  max-width: 740px;
  color: var(--ink);
}

/* Masonry-style */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.masonry-item {
  background-size: cover;
  background-position: center;
  background-color: #adb5bd;
  aspect-ratio: 3/4;
  transition: filter 0.6s ease, transform 0.8s var(--ease-luxe);
  cursor: zoom-in;
  filter: brightness(0.96);
}
.masonry-item:hover {
  filter: brightness(1.05);
  transform: scale(0.985);
}
.masonry-item.tall { aspect-ratio: 2/3; }

/* 4-col grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.grid-4__item {
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  background-color: #0d1520;
  transition: filter 0.6s ease, transform 0.8s var(--ease-luxe);
  cursor: zoom-in;
}
.grid-4__item:hover {
  filter: brightness(1.1);
  transform: scale(0.985);
}

/* Meta strip */
.series-detail__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  border-top: 1px solid rgba(14,14,14,0.08);
  padding-top: 48px;
}

.series-detail__cta {
  margin-top: 48px;
}
.series-detail__cta--right {
  text-align: right;
}

.meta-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.meta-value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--near-black);
  line-height: 1.65;
}

/* ── EXHIBITIONS ──────────────────────────────────────────── */
.exhibitions {
  padding: 100px 0 120px;
}

.exhibitions__list {
  margin-bottom: 90px;
}

.exhibition-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 56px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(14,14,14,0.05);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}
.exhibition-item:first-child { border-top: 1px solid rgba(14,14,14,0.05); }
a.exhibition-item:hover {
  padding-left: 16px;
  opacity: 1;
}

.exhibition-item__year {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 300;
  font-style: italic;
  color: rgba(14,14,14,0.28);
  line-height: 1;
  padding-top: 4px;
  letter-spacing: -0.02em;
}

.exhibition-item__body h4 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.exhibition-item__show {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.exhibition-item__blurb {
  font-family: var(--font-display);
  font-size: 16px;
  color: rgba(28,28,28,0.5);
  line-height: 1.65;
  margin-top: 10px;
  max-width: 640px;
  transition: color 0.4s ease;
}
.exhibition-item:hover .exhibition-item__blurb {
  color: rgba(28,28,28,0.7);
}

.press { padding-top: 70px; }
.press__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.press__logo {
  display: block;
  height: 24px;
  color: rgba(28,28,28,0.25);
  transition: color 0.4s ease;
  text-decoration: none;
}
.press__logo:hover { color: rgba(28,28,28,0.6); opacity: 1; }
.press__logo svg {
  height: 100%;
  width: auto;
}

/* ── PUBLICATIONS ────────────────────────────────────────── */
.publications {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 120px 0 140px;
}
.publications .label { color: rgba(255,255,255,0.45); }
.publications .section-title { color: var(--white); }

/* Featured: Books & Film */
.pub-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}

.pub-featured__item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  transition: border-color 0.6s ease, transform 0.8s var(--ease-luxe), box-shadow 0.6s ease;
}
.pub-featured__item:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.pub-featured__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.04);
}

.pub-featured__body { padding: 28px 28px 32px; }

.pub-featured__type {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}

.pub-featured__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
  margin-bottom: 14px;
}

.pub-featured__meta {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
}

.pub-card__link {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-top: 16px;
  transition: color 0.3s ease;
}
.pub-card__link:hover { color: rgba(255,255,255,0.9); }

/* Press list */
.pub-press { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 48px; }

.pub-press__list { display: flex; flex-direction: column; }

.pub-press__item {
  display: grid;
  grid-template-columns: 180px 1fr 60px;
  gap: 32px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
  transition: padding-left 0.6s var(--ease-luxe), background-color 0.4s ease, border-color 0.4s ease;
}
.pub-press__item:first-child { border-top: 1px solid rgba(255,255,255,0.04); }
.pub-press__item:hover {
  padding-left: 20px;
  background-color: rgba(255,255,255,0.025);
  border-bottom-color: rgba(255,255,255,0.1);
}

.pub-press__source {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.pub-press__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  line-height: 1.4;
  transition: color 0.4s ease;
}
.pub-press__item:hover .pub-press__title { color: #fff; }

.pub-press__year {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  text-align: right;
}

/* ── QUOTE SECTION ────────────────────────────────────────── */
.quote-section {
  background-color: var(--cream-alt);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(14,14,14,0.06);
}
.quote-section::before {
  content: '"';
  position: absolute;
  top: -60px;
  left: 40px;
  font-family: var(--font-display);
  font-size: 400px;
  font-weight: 300;
  color: rgba(14,14,14,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.quote-section__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 100px;
  align-items: center;
}

.quote-section__image {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  background-color: #c2c8d0;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter 1s ease;
}
.quote-section__image:hover {
  filter: grayscale(0) contrast(1);
}

.quote-section__quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 300;
  font-style: italic;
  color: var(--near-black);
  line-height: 1.35;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.quote-section__cite {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-section__cite::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--muted);
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact {
  padding: 120px 0 80px;
  background-color: var(--cream-alt);
}

.contact__inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 100px;
  align-items: start;
}
.contact__left { display: flex; flex-direction: column; }

.contact__detail-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  margin-top: 40px;
}
.contact__detail-label:first-child { margin-top: 0; }

.contact__detail {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.7;
  color: var(--near-black);
  -webkit-text-fill-color: var(--near-black);
}

.contact__social {
  display: flex;
  gap: 24px;
}
.contact__social a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--near-black);
  border-bottom: 1px solid rgba(14,14,14,0.25);
  padding-bottom: 3px;
  transition: color var(--transition), border-color var(--transition);
}
.contact__social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  opacity: 1;
}

/* Form */
.contact__form { display: flex; flex-direction: column; gap: 28px; }

.form-group { display: flex; flex-direction: column; gap: 10px; }

.form-group label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(28,28,28,0.45);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(14,14,14,0.12);
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--near-black);
  -webkit-text-fill-color: var(--near-black);
  outline: none;
  transition: border-color 0.6s var(--ease-luxe);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select option {
  color: var(--near-black);
  -webkit-text-fill-color: var(--near-black);
  background: var(--cream);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(28,28,28,0.25); }
.form-group textarea { resize: none; min-height: 100px; }

/* Form feedback states */
.form-success {
  padding: 20px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  display: none;
}
.form-error {
  padding: 10px 0;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #c0392b;
  display: none;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background-color: var(--dark-bg);
  padding-top: 120px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 14px;
}
.footer__tagline {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.25);
  line-height: 1.7;
}

.footer__col-title {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 24px;
}

.footer__nav { display: flex; flex-direction: column; gap: 16px; }
.footer__nav a {
  font-family: var(--font-display);
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); opacity: 1; }

.footer__rep {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); opacity: 1; }

.footer__copyright {
  padding: 20px 0;
}
.footer__copyright p {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  text-align: center;
}

/* ── Fade-in animation (set by JS) ───────────────────────── */
.fade-target {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s ease, transform 1.2s var(--ease-luxe);
}
.fade-target.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .nav__inner { padding: 0 40px; }
  .hero__content { padding: 0 40px; }
  .hero__scroll-hint { left: 40px; }
  .hero__indicators { right: 40px; }
  .galleries .section-header { padding: 0 40px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; padding: 0 40px; }

  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__text { padding: 80px 48px; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .masonry-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .series-detail__meta { grid-template-columns: 1fr 1fr; }
  .intro__text { font-size: clamp(20px, 3vw, 28px); }
  .pub-featured { grid-template-columns: repeat(3, 1fr); }
  .pub-press__item { grid-template-columns: 150px 1fr 50px; gap: 20px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav__inner { padding: 0 24px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__title { font-size: clamp(52px, 14vw, 90px); }
  .hero__content { padding: 0 24px; bottom: 80px; }
  .hero__scroll-hint { left: 24px; }
  .hero__indicators { right: 24px; }

  .intro { padding: 80px 0; }

  .about { padding: 0 0 100px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__image { min-height: 440px; }
  .about__text { padding: 60px 24px; }

  .banner { padding: 80px 0; }
  .galleries { padding: 100px 0 120px; }
  .galleries .section-header { padding: 0 24px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 48px; padding: 0 24px; }
  .gallery-card__overlay { opacity: 1; }
  .gallery-card__year,
  .gallery-card__title,
  .gallery-card__cta { transform: translateY(0); }

  .masonry-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .series-detail__meta { grid-template-columns: 1fr; gap: 28px; }
  .section-title { font-size: clamp(30px, 7vw, 44px); }

  .exhibition-item { grid-template-columns: 70px 1fr; gap: 24px; }
  .exhibition-item:hover { padding-left: 10px; }

  .pub-featured { grid-template-columns: 1fr; gap: 20px; }
  .publications { padding: 80px 0 100px; }
  .pub-press__item { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .pub-press__year { text-align: left; }

  .quote-section { padding: 100px 0; }
  .quote-section__inner { grid-template-columns: 1fr; gap: 48px; }
  .quote-section__image { max-width: 240px; }
  .quote-section__quote { font-size: clamp(22px, 5vw, 32px); }

  .contact { padding: 100px 0; }
  .contact__inner { grid-template-columns: 1fr; gap: 60px; }

  .footer__inner { grid-template-columns: 1fr; gap: 44px; padding-bottom: 60px; }
  .footer { padding-top: 80px; }

  .press__logos { gap: 12px; }
  .press__name { font-size: 16px; }

  .section-num { font-size: 70px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(44px, 16vw, 72px); }
  .banner__title { font-size: clamp(28px, 8vw, 44px); }
  .grid-4 { grid-template-columns: 1fr; }
  .quote-section::before { font-size: 200px; }
}
