:root {
  --sand: #f5efe6;
  --stone: #cbbba0;
  --ink: #1d1a16;
  --terracotta: #c45b37;
  --cream: #fffdf8;
}

body {
  font-family: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #2d251f;
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Global image quality improvements */
img {
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
  image-rendering: auto;
  max-width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: -0.01em;
  color: var(--ink);
}

#mainNav {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: background 0.25s ease;
  z-index: 1030;
}

#mainNav.navbar-scrolled .navbar-collapse.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#mainNav .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 992px) {
  #mainNav.navbar-expand-lg .container,
  #mainNav .container {
    max-width: 1400px;
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
}

#mainNav .navbar-brand {
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--ink);
  display: flex;
  align-items: center;
  margin-left: 0;
}

#mainNav .navbar-brand img {
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

#mainNav .nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  margin-left: 0.5rem;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
  color: var(--terracotta);
}

#mainNav .nav-link.staff-login {
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
}

.hero,
.page-hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(120deg, rgba(245, 239, 230, 0.9), rgba(255, 253, 248, 0.9));
  margin-top: 60px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3rem;
  padding-right: 3rem;
}

.hero__content {
  flex: 1 1 360px;
  padding-left: 0;
}

.hero__content .lead {
  font-size: 1.1rem;
  max-width: 540px;
}

.hero__media {
  flex: 1 1 320px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
  image-rendering: auto;
  max-width: 100%;
  max-height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero__actions .btn {
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
}

.btn-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.section-spacing {
  padding: 5rem 0;
}

.section-spacing.muted {
  background: var(--sand);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading p {
  margin-bottom: 0.4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  color: #907d6d;
}

.exhibit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  justify-items: center;
}

.exhibit-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  height: auto;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
}

.exhibit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.exhibit-card__media {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  min-height: 200px;
  max-height: 240px;
}

.exhibit-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
  image-rendering: auto;
  max-width: none;
  min-width: 0;
  max-height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@supports not (aspect-ratio: 4 / 3) {
  .exhibit-card__media {
    min-height: 0;
  }

  .exhibit-card__media::before {
    content: "";
    display: block;
    padding-top: 66.6667%;
  }

  .exhibit-card__media img {
    position: absolute;
    inset: 0;
  }
}

.exhibit-card:hover .exhibit-card__media img {
  transform: scale(1.05) translateZ(0);
  -webkit-transform: scale(1.05) translateZ(0);
}

.exhibit-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(29, 26, 22, 0.85);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
}

.exhibit-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.exhibit-card__eyebrow {
  font-size: 0.7rem;
  margin-bottom: 0.4rem;
  color: #907d6d;
}

.exhibit-card__body h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  line-height: 1.2;
  color: inherit;
}

.exhibit-card__subtitle {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: #6c5d4f;
}

.exhibit-card__copy {
  flex: 1;
  color: #4c4036;
  font-size: 0.85rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.exhibit-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.exhibit-card__footer .btn-link {
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  text-decoration: none;
  color: inherit;
}

.artist-carousel-wrapper {
  position: relative;
  margin-top: 2rem;
  padding: 0 60px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artist-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 0;
  width: 100%;
  position: relative;
  flex: 1;
  scroll-snap-type: x proximity;
  will-change: scroll-position;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.artist-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.artist-grid {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0.5rem 0;
  margin: 0 auto;
  justify-content: flex-start;
  align-items: stretch;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.artist-grid .artist-card {
  flex: 0 0 auto;
  width: 280px;
  max-width: calc(100vw - 140px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.artist-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.artist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.artist-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  isolation: isolate;
}

.artist-card__link:focus-visible {
  outline: 3px solid #c45b37;
  outline-offset: 4px;
}

.artist-card__hover-panel {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 15, 0.92);
  color: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  border-radius: 18px;
}

.artist-card__hover-scroll {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 0.5rem;
  padding-right: 0.25rem;
}

.artist-card__hover-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.artist-card__hover-panel p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.artist-card__hover-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.artist-card__hover-cta::after {
  content: '\f061';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.8rem;
}

.artist-card:hover .artist-card__hover-panel,
.artist-card:focus-within .artist-card__hover-panel {
  opacity: 1;
  transform: translateY(0);
}

.artist-card__media {
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
}

.artist-card__media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
  image-rendering: auto;
  max-width: 100%;
  max-height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.artist-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.artist-card__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.artist-card__body h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #000;
  line-height: 1.3;
}

.artist-card__body p:last-child {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.artist-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  padding: 0;
  margin: 0;
  outline: none;
}

.artist-carousel-btn:hover:not(:disabled):not(.disabled) {
  background: #007bff;
  border-color: #007bff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.artist-carousel-btn:active:not(:disabled):not(.disabled) {
  transform: translateY(-50%) scale(0.95);
}

.artist-carousel-btn--prev {
  left: 5px;
}

.artist-carousel-btn--next {
  right: 5px;
}

.artist-carousel-btn i {
  font-size: 1.2rem;
  color: #333;
  transition: color 0.3s ease;
  pointer-events: none;
}

.artist-carousel-btn:hover:not(:disabled):not(.disabled) i {
  color: #fff;
}

.artist-carousel-btn.disabled,
.artist-carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Ensure buttons start enabled */
.artist-carousel-btn:not(:disabled):not(.disabled) {
  opacity: 1 !important;
  cursor: pointer;
  pointer-events: auto;
}

.artist-profile {
  background: #fdfaf7;
}

.artist-profile__hero {
  position: relative;
  padding: 6rem 0 4rem;
  color: #fff;
  background: radial-gradient(circle at top, rgba(196, 91, 55, 0.85), rgba(9, 9, 9, 0.95));
  overflow: hidden;
}

.artist-profile__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--artist-hero, none);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  mix-blend-mode: screen;
  z-index: 0;
}

.artist-profile__hero .container {
  position: relative;
  z-index: 1;
}

.artist-profile__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.artist-profile__hero-meta li {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.artist-profile__content {
  margin-top: -4rem;
  position: relative;
  z-index: 1;
}

.artist-profile__media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
}

.artist-profile__media img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  max-height: 520px;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.artist-profile__meta-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.artist-profile__meta-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.artist-profile__meta-card dl {
  margin: 0 0 1.25rem;
}

.artist-profile__meta-card dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
}

.artist-profile__meta-card dd {
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.artist-profile__meta-card a {
  color: inherit;
  text-decoration: none;
}

.artist-profile__back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  color: #c45b37;
}

.artist-profile__bio {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  line-height: 1.8;
  font-size: 1.05rem;
}

.artist-profile__bio p {
  margin-bottom: 1.5rem;
}

.artist-profile__works {
  background: #fff;
}

.artist-profile__works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.25rem;
  justify-content: center;
}

.artist-work-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

.artist-work-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.artist-work-card__media {
  flex: 1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.artist-work-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@supports not (aspect-ratio: 4 / 3) {
  .artist-work-card__media::before {
    content: "";
    display: block;
    padding-top: 66.6667%;
  }
}

.artist-work-card__body {
  padding: 0.75rem;
  flex-shrink: 0;
}

.artist-work-card__body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.artist-work-card__body p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

@media (max-width: 992px) {
  .artist-profile__hero {
    padding: 5rem 0 3rem;
  }
  
  .artist-profile__content {
    margin-top: -2rem;
  }
  
  .artist-profile__bio {
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .artist-profile__hero-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .artist-profile__bio {
    padding: 1.5rem;
  }
  
  .artist-work-card__body {
    padding: 1rem;
  }
}

@media (max-width: 991px) {
  .artist-carousel-wrapper {
    padding: 0 50px;
  }
  
  .artist-grid .artist-card {
    width: 260px;
    max-width: calc(100vw - 120px);
  }
  
  .artist-carousel-btn {
    width: 44px;
    height: 44px;
  }
  
  .artist-carousel-btn i {
    font-size: 1.1rem;
  }
}

@media (max-width: 767px) {
  .artist-carousel-wrapper {
    padding: 0 45px;
  }
  
  .artist-grid {
    gap: 1rem;
  }
  
  .artist-grid .artist-card {
    width: 240px;
    max-width: calc(100vw - 110px);
  }
  
  .artist-card__media img {
    height: 240px;
  }
  
  .artist-card__body {
    padding: 1.25rem;
  }
  
  .artist-card__body h4 {
    font-size: 1.1rem;
  }
  
  .artist-card__body p:last-child {
    font-size: 0.85rem;
  }
  
  .artist-carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .artist-carousel-btn i {
    font-size: 1rem;
  }
  
  .artist-carousel-btn--prev {
    left: 5px;
  }
  
  .artist-carousel-btn--next {
    right: 5px;
  }
}

@media (max-width: 575px) {
  .artist-carousel-wrapper {
    padding: 0 40px;
  }
  
  .artist-grid .artist-card {
    width: 220px;
    max-width: calc(100vw - 100px);
  }
  
  .artist-card__media img {
    height: 220px;
  }
  
  .artist-card__body {
    padding: 1rem;
  }
  
  .artist-carousel-btn {
    width: 36px;
    height: 36px;
  }
  
  .artist-carousel-btn i {
    font-size: 0.9rem;
  }
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.spotlight {
  background: var(--cream);
}

.spotlight__media iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.spotlight__list {
  list-style: none;
  padding: 0;
}

.spotlight__list li {
  margin-bottom: 0.55rem;
}

.spotlight__list li::before {
  content: "•";
  margin-right: 0.35rem;
  color: var(--terracotta);
}

.about-block {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.about-quote {
  font-size: 1.25rem;
  font-family: "Playfair Display", serif;
  padding: 2rem;
  border-left: 4px solid var(--terracotta);
  background: #fff;
}

.about-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.curator-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.visit-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.visit-list li {
  margin-bottom: 0.65rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.newsletter-form input {
  flex: 1 1 220px;
}

.gallery-footer {
  background: #0e0c0a;
  color: #f0e8de;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.gallery-footer a {
  color: #f0e8de;
  text-decoration: none;
}

.gallery-footer .footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terracotta, #c97d60);
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: none;
}

.gallery-footer .footer-social a:hover {
  background: var(--navy, #1a365d);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.map-embed iframe {
  width: 100%;
  min-height: 240px;
  border: 0;
  border-radius: 16px;
}

.footer-copyright {
  text-align: center;
  padding: 2rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
}

.footer-copyright .copyright-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #f0e8de;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.footer-copyright .designer-credit {
  font-size: 0.95rem;
  color: rgba(240, 232, 222, 0.8);
  margin: 0;
}

.footer-copyright .designer-credit a {
  color: var(--terracotta, #c97d60);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-copyright .designer-credit a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 992px) {
  .hero,
  .page-hero {
    padding-top: 6rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero {
    flex-direction: column;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  #mainNav .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  #mainNav .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    position: relative;
  }

  #mainNav .navbar-collapse.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #mainNav .navbar-collapse .navbar-nav {
    display: block !important;
    width: 100%;
  }

  #mainNav .navbar-collapse .nav-item {
    display: block;
    width: 100%;
  }

  #mainNav .navbar-collapse .nav-link {
    display: block !important;
    width: 100%;
  }

  #mainNav .nav-link {
    margin: 0.5rem 0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .exhibit-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
  }
  
  .exhibit-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
  }
  
  .filter-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .spotlight__media iframe {
    min-height: 280px;
  }
  
  .gallery-footer .row {
    flex-direction: column;
  }
  
  .gallery-footer .col-lg-4,
  .gallery-footer .col-lg-3 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .hero,
  .page-hero {
    padding-top: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2rem;
  }
  
  .hero__content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero__content .lead {
    font-size: 1rem;
  }
  
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }
  
  .hero__media {
    margin-top: 2rem;
  }

  .hero__media img {
    min-height: 240px;
    border-radius: 16px;
  }
  
  .section-spacing {
    padding: 3rem 0;
  }
  
  .section-heading h2 {
    font-size: 1.75rem;
  }
  
  .exhibit-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .exhibit-card {
    min-height: 0;
  }

  .exhibit-card__media {
    min-height: 200px;
  }

  .exhibit-card__media img {
    height: 100%;
  }
  
  .exhibit-card__body {
    padding: 1.25rem;
  }
  
  .exhibit-card__body h3 {
    font-size: 1.1rem;
  }
  
  .about-block {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .about-quote {
    font-size: 1.1rem;
    padding: 1.5rem;
  }
  
  .spotlight__media iframe {
    min-height: 240px;
  }
  
  .map-embed iframe {
    min-height: 200px;
  }
  
  .gallery-footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-copyright {
    padding: 1.5rem 0 1rem;
  }
  
  #mainNav .navbar-brand {
    font-size: 0.9rem;
  }
  
  #mainNav .navbar-brand img {
    height: 32px;
    margin-right: 8px;
  }
  
  .navbar-toggler {
    padding: 0.5rem;
    font-size: 1.25rem;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 4.5rem;
  }
  
  .hero__content h1 {
    font-size: 1.75rem;
  }
  
  .hero__content .lead {
    font-size: 0.95rem;
  }

  .hero__media img {
    min-height: 200px;
  }

  .exhibit-card__media img {
    height: 100%;
  }
  
  .exhibit-card {
    min-height: 0;
  }
  
  .exhibit-card__body {
    padding: 1rem;
  }
  
  .section-heading h2 {
    font-size: 1.5rem;
  }
  
  .section-heading .eyebrow {
    font-size: 0.7rem;
  }
  
  .page-hero h1 {
    font-size: 1.75rem;
  }
  
  .page-hero .lead {
    font-size: 0.95rem;
  }
  
  .about-block {
    padding: 1.25rem;
  }
  
  .about-quote {
    font-size: 1rem;
    padding: 1.25rem;
  }
  
  .curator-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
  
  .gallery-footer {
    padding: 2.5rem 0 1rem;
  }
  
  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.875rem;
  }
  
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Touch-friendly targets */
  a, button, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Improve text readability on mobile */
  body {
    font-size: 16px;
    line-height: 1.6;
  }
  
  p, li {
    font-size: 1rem;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .hero__content,
  .hero__media {
    flex: 1 1 100%;
  }

  .hero__content {
    text-align: left;
  }

  .hero__actions {
    gap: 0.75rem;
  }

  .section-heading {
    margin-bottom: 1.5rem;
  }

  .section-spacing {
    padding: 2.5rem 0;
  }

  .filter-bar {
    padding: 1rem;
  }

  .artist-carousel-wrapper {
    padding: 0 1.25rem;
  }

  .artist-carousel-btn {
    width: 34px;
    height: 34px;
  }
}

/* Contact Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--ink);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 91, 55, 0.1);
}

textarea.form-control {
  resize: vertical;
}

.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.text-danger {
  color: var(--terracotta);
}

.page-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 3rem 4rem;
}

@media (max-width: 992px) {
  .page-hero {
    padding: 6rem 1.5rem 3rem;
  }
}

