*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --black: #000000;
    --blue-deep: #1a3a5c;
    --blue-mid: #2e5f8a;
    --blue-soft: #6a9bbf;
    --blue-pale: #b8d4e8;
    --grey-warm: #8e9197;
    --grey-mid: #5a5d63;
    --grey-deep: #2c2e33;
    --grey-light: #e8e9eb;
    --off-white: #f5f4f2;
    --white: #ffffff;
    --text-on-dark: rgba(255,255,255,0.88);
    --text-on-dark-muted: rgb(255, 255, 255);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--off-white);
    color: var(--grey-deep);
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    transition: background 0.4s ease;
  }
  nav.scrolled {
    background: rgba(245,244,242,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
  }

  .nav-logo {
  font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 400; 
    text-decoration: none;
    letter-spacing: 0.02em; 
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, color 0.4s;
    }
    nav.scrolled .nav-logo {
    opacity: 1;
    pointer-events: auto;
    color: var(--grey-deep);
    }
  nav.scrolled .nav-logo { color: var(--grey-deep); }
  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-on-dark-muted);
    transition: color 0.3s;
  }
  nav.scrolled .nav-links a { color: var(--grey-warm); }
  .nav-links a:hover { color: var(--text-on-dark); }
  nav.scrolled .nav-links a:hover { color: var(--grey-deep); }

  .dropdown {
    position: relative;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    
    list-style: none;
    min-width: 220px;

    padding: 0.75rem 0;
    margin-top: 1rem;

    background: rgba(245,244,242,0.97);
    backdrop-filter: blur(10px);

    border: 0.5px solid rgba(0,0,0,0.08);

    opacity: 0;
    visibility: hidden;

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      margin-top 0.25s ease;

    z-index: 200;
  }

  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
  }

  .dropdown-menu li {
    width: 100%;
  }

  .dropdown-menu a {
    display: block;
    padding: 0.7rem 1.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--grey-mid);
    transition: background 0.2s ease;
  }

  .dropdown-menu a:hover {
    background: rgba(0,0,0,0.03);
    color: var(--grey-deep);
  }

  nav:not(.scrolled) .dropdown-menu {
    background: rgba(20,20,20,0.92);
    border-color: rgba(255,255,255,0.08);
  }

  nav:not(.scrolled) .dropdown-menu a {
    color: rgba(255,255,255,0.75);
  }

  nav:not(.scrolled) .dropdown-menu a:hover {
    color: white;
    background: rgba(255,255,255,0.05);
  }

  /* HERO */
  #hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4rem 3rem;
    overflow: hidden;
  }

  .hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: auto;
  min-height: 130%;
  object-fit: cover;

  animation: panArtwork 25s ease-in-out infinite alternate;
}

  @keyframes panArtwork {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-25%);
  }
}

  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(255,255,255,0.04) 0%, transparent 70%);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
    margin-bottom: 1rem;
  }

  .hero-title {
    font-family: var(--serif);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 300;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
  }

  .hero-title em {
    font-style: italic;
    opacity: 0.75;
  }

  .hero-sub {
    font-size: 0.9rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
    max-width: 360px;
    margin-bottom: 2.5rem;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    padding-bottom: 0.25rem;
    border-bottom: 0.5px solid rgba(255,255,255,0.35);
    transition: border-color 0.3s, gap 0.3s;
  }
  .hero-cta:hover { border-color: white; gap: 1.1rem; }

  .hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    right: 3rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .scroll-line {
    width: 0.5px;
    height: 3rem;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
  }
  .scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.6);
    animation: scrollDown 2s ease-in-out infinite;
  }
  @keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 200%; }
  }

  /* SECTIONS SHARED */
  section { padding: 6rem 3rem; }

  .section-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-warm);
    margin-bottom: 0.75rem;
  }

  /* ABOUT */
  #about {
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .about-left h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--grey-deep);
    margin-bottom: 2rem;
  }

  .about-left h2 em { font-style: italic; color: var(--blue-mid); }

  .about-right p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--grey-mid);
    margin-bottom: 1.25rem;
  }

  /* .about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2rem;
  }

  .tag {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border: 0.5px solid var(--grey-light);
    color: var(--grey-warm);
    border-radius: 100px;
  } */

  /* GALLERY */
#gallery { background: var(--off-white); }

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}
.gallery-header h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--grey-deep);
}
.gallery-header h2 em { font-style: italic; }
.gallery-contact {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-warm);
  text-decoration: none;
  border-bottom: 0.5px solid var(--grey-light);
  padding-bottom: 0.15rem;
  transition: color 0.25s, border-color 0.25s;
}
.gallery-contact:hover { color: var(--grey-deep); border-color: var(--grey-deep); }

.gallery-series-link {
  color: inherit;
  text-decoration: none;
}
.gallery-series-link:hover {
  opacity: 0.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.gallery-item:nth-child(1) { grid-column: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; }

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-thumb {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--grey-deep);
}

.gallery-thumb img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-thumb img { transform: scale(1.03); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,58,92,0);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: background 0.3s ease;
}
.gallery-item:hover .gallery-overlay { background: rgba(26,58,92,0.65); }

.gallery-info {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .gallery-info { opacity: 1; transform: translateY(0); }

.gallery-info h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: white;
  margin-bottom: 0.2rem;
}
.gallery-info p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
}

.gallery-series-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-series-tag { opacity: 1; }

  /* EXHIBITIONS */
  #exhibitions {
    background: var(--grey-deep);
    color: var(--text-on-dark);
  }

  #exhibitions .section-label { color: rgba(255,255,255,0.3); }

  #exhibitions h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: white;
    margin-bottom: 3rem;
  }

  .exhibitions-list { border-top: 0.5px solid rgba(255,255,255,0.1); }

  .exhibition-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.75rem 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
    transition: padding 0.2s;
    text-decoration: none;
  }
  .exhibition-item:hover { padding-left: 0.75rem; }

  .ex-left h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    margin-bottom: 0.3rem;
  }

  .ex-left p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.04em;
  }

  .ex-right { text-align: right; }

  .ex-date {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.4rem;
  }

  .ex-badge {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
    border: 0.5px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
  }
  .ex-badge.upcoming {
    border-color: rgba(106,155,191,0.5);
    color: var(--blue-pale);
  }


  /* EXHIBITIONS PAGES */








  /* CONTACT */
  #contact {
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .contact-left h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--grey-deep);
    margin-bottom: 1.5rem;
  }
  .contact-left h2 em { font-style: italic; color: var(--blue-mid); }

  .contact-left p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--grey-warm);
    margin-bottom: 2.5rem;
    max-width: 340px;
  }

  .contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--grey-deep);
    font-size: 0.88rem;
    margin-bottom: 1rem;
    transition: gap 0.25s;
  }
  .contact-link:hover { gap: 1.4rem; }

  .contact-link-icon {
    width: 36px;
    height: 36px;
    border: 0.5px solid var(--grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--black);
    flex-shrink: 0;
  }

  .form-group { margin-bottom: 1.5rem; }

  .form-group label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-warm);
    margin-bottom: 0.5rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    background: var(--off-white);
    border: 0.5px solid var(--grey-light);
    border-radius: 4px;
    padding: 0.85rem 1rem;
    font-family: var(--sans);
    font-size: 0.88rem;
    color: var(--grey-deep);
    outline: none;
    transition: border-color 0.25s;
    appearance: none;
  }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus { border-color: var(--blue-soft); }
  .form-group textarea { resize: vertical; min-height: 120px; }

  .form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--grey-deep);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, gap 0.25s;
    border-radius: 2px;
  }
  .form-submit:hover { background: var(--blue-deep); gap: 1.1rem; }

  /* FOOTER */
  footer {
    background: var(--off-white);
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 0.5px solid var(--grey-light);
  }

  footer p {
    font-size: 0.75rem;
    color: var(--grey-warm);
    letter-spacing: 0.04em;
  }

  .footer-social {
    display: flex;
    gap: 1.5rem;
  }

  .footer-social a {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-warm);
    text-decoration: none;
    transition: color 0.25s;
  }
  .footer-social a:hover { color: var(--grey-deep); }

  /* FADE IN ANIMATIONS */
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    nav { padding: 1.25rem 1.5rem; }
    .nav-links { gap: 1.5rem; }
    section { padding: 4rem 1.5rem; }
    #about, #contact { grid-template-columns: 1fr; gap: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) { grid-column: span 2; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
  }

  @media (max-width: 425px) {
    nav { padding: 0.7rem 1rem; }
    .nav-links { gap: 0.75rem; }
    .nav-links a { font-size: 0.65rem; }
    section { padding: 4rem 1.5rem; }
    #about, #contact { grid-template-columns: 1fr; gap: 2.5rem; }
    .gallery-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-thumb img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.5s ease;
    }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) { grid-column: span 2; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
  }