/* =============================================
   QING'S FINE ART GALLERY — LIGHT VERSION
   ============================================= */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 104px; }
:root { --content-x: 52px; }
body {
  background: #e8e4dc;
  color: #171717;
  font-family: 'Inter', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* --- ACCESSIBILITY: visible keyboard focus --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.painting-card:focus-visible,
.collection-card:focus-visible {
  outline: 2px solid #a38f6c;
  outline-offset: 2px;
}

/* --- PAGE SHELL --- */
.page {
  width: min(1120px, 100%);
  margin: 0 auto;
  background: #fbfaf7;
  box-shadow: 0 0 60px rgba(0,0,0,.10);
}

/* --- MASTHEAD --- */
.masthead {
  text-align: center;
  padding: 22px 20px 36px;
  border-bottom: 1px solid #dedbd4;
  background: #fbfaf7;
}
.masthead-eyebrow {
  font: 600 10px/1 'Inter', sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #a38f6c;
  margin-bottom: 18px;
}
.masthead h1 {
  font: 500 clamp(26px, 3.8vw, 44px)/1 'Cormorant Garamond', serif;
  letter-spacing: .14em;
  color: #171717;
}

/* --- NAV --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 104px;
  display: flex;
  align-items: center;
  padding: 0 var(--content-x);
  border-bottom: 1px solid #dedbd4;
  background: #fff;
  gap: 28px;
  overflow: visible;
}
.brand {
  color: #111;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}
.brand-name {
  display: block;
  font: 500 italic 32px/1 'Cormorant Garamond', serif;
  color: #171717;
}
.brand small {
  display: block;
  font: 500 9.5px/1.3 'Inter', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #888;
  margin-top: 2px;
}

/* --- BRAND SIGNATURE LOGO (merged from earlier version) --- */
.brand-sig {
  display: block;
  width: 140px;
  height: auto;
  transform: rotate(-10deg);
  transform-origin: center center;
}
.brand-sub {
  display: block;
  text-align: left;
  font: 600 10px/1 'Inter', sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #a38f6c;
  margin-top: 8px;
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: nowrap;
}
.nav-links a {
  color: #333;
  text-decoration: none;
  font: 500 10.75px/1 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: color .2s;
}
.nav-links a:hover { color: #a38f6c; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #333;
  margin-left: auto;
  padding: 4px 8px;
}

/* --- MOBILE DRAWER --- */
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 260px; height: 100%;
  background: #fff;
  z-index: 200;
  padding: 60px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  color: #171717;
  text-decoration: none;
  font: 500 11px/1 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.drawer-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #555;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 150;
}
.nav-overlay.visible { display: block; }

/* --- HERO --- */
.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(251,250,247,.97) 0%,
    rgba(251,250,247,.82) 30%,
    rgba(251,250,247,.35) 56%,
    rgba(251,250,247,0) 72%
  );
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--content-x);
  top: 50%;
  transform: translateY(-50%);
  width: 430px;
}
.hero-copy h2 {
  font: 500 54px/1.03 'Cormorant Garamond', serif;
  color: #171717;
  margin-bottom: 22px;
}
.hero-copy p {
  font: 400 15px/1.8 'Inter', sans-serif;
  color: #4a4540;
  max-width: 360px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  font: 600 9.5px/1 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-dark {
  background: #171717;
  color: #fff;
  border-color: #171717;
}
.btn-dark:hover { background: #2f2b26; border-color: #2f2b26; }
.btn-outline {
  background: transparent;
  color: #171717;
  border-color: #171717;
}
.btn-outline:hover { background: #171717; color: #fff; }

/* --- SECTION BASE --- */
.section {
  padding: 52px 40px;
}

/* --- EYEBROW --- */
.eyebrow {
  font: 600 10px/1 'Inter', sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #a38f6c;
  margin-bottom: 24px;
  display: block;
}
.centered { text-align: center; }

/* --- COLLECTIONS --- */
.collections {
  background: #fbfaf7;
  padding-bottom: 56px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.collection-card {
  position: relative;
  height: 350px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
}
.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.collection-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,0) 100%);
}
.collection-card:hover img { transform: scale(1.04); }
.card-label {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  left: 0; right: 0;
  text-align: center;
}
.card-label h3 {
  font: 500 30px/1.05 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px;
}
.explore-link {
  font: 600 9px/1 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* ─── GALLERY WITH CATEGORY FILTER ─────────────────────────── */
.gallery-section { padding: 72px 20px 80px; }
.gallery-heading {
  font: 400 clamp(28px, 3.2vw, 42px)/1.1 'Cormorant Garamond', serif;
  text-align: center;
  color: #171717;
  margin: 10px 0 72px;
}

/* Selected-collection intro (title + description above the grid) */
.gallery-intro {
  text-align: center;
  max-width: 560px;
  margin: -12px auto 68px;
}
.gallery-intro-title {
  font: 600 11px/1.4 'Inter', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #171717;
  margin-bottom: 8px;
}
.gallery-intro-desc {
  font: 400 13px/1.7 'Inter', sans-serif;
  color: #7a7670;
}

/* Empty-state message for a collection with no works yet (e.g. Floral) */
.gallery-empty {
  text-align: center;
  font: 400 13px/1.8 'Inter', sans-serif;
  color: #7a7670;
  padding: 40px 20px;
}

/* Filter tabs */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 68px;
}
.gf-btn {
  font: 500 10.5px/1 'Inter', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #555;
  background: transparent;
  border: 1px solid #ccc8c0;
  border-radius: 2px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.gf-btn:hover { border-color: #a38f6c; color: #a38f6c; }
.gf-btn.active {
  background: #f8f4ea;
  border-color: #c9bda3;
  color: #2b2622;
}

/* Painting grid — 3 cols desktop → 2 → 1 */
.painting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  transition: opacity .3s ease;
}
.painting-grid.grid-fading {
  opacity: 0;
}
.painting-card {
  position: relative;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: opacity .3s ease, transform .3s ease, box-shadow .2s;
  cursor: pointer;
}
.best-seller-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font: 600 9px/1 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
  background: #a38f6c;
  padding: 5px 11px;
}
.painting-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform .4s ease;
}
.painting-card:hover img { transform: scale(1.03); }
.painting-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.11); }
.painting-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 14px 14px;
  gap: 8px;
}
.ptitle {
  font: 500 14px/1.2 'Cormorant Garamond', serif;
  color: #171717;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.psize {
  font: 400 10px/1 'Inter', sans-serif;
  letter-spacing: .08em;
  color: #999;
  flex-shrink: 0;
}

/* Hidden when filtered out */
.painting-card.pf-hidden {
  display: none;
}

/* Responsive */
@media (max-width: 860px) {
  .painting-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gallery-section { padding: 52px 24px 60px; }
}
@media (max-width: 520px) {
  .painting-grid { grid-template-columns: 1fr; }
  .gallery-filters { gap: 6px; }
  .gf-btn { padding: 9px 14px; font-size: 9.5px; }
}

/* --- FEATURED ORIGINAL --- */
.feature {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 56px;
  align-items: center;
  background: #fff;
  border-top: 1px solid #e8e4dc;
  border-bottom: 1px solid #e8e4dc;
}
.feature-media img {
  width: 100%;
  aspect-ratio: 1200 / 1810;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: 0 auto;
}
.feature-copy h2 {
  font: 500 42px/1.05 'Cormorant Garamond', serif;
  margin: 10px 0 18px;
}
.meta-list {
  list-style: none;
  margin-bottom: 20px;
}
.meta-list li {
  font: 400 12px/2 'Inter', sans-serif;
  color: #5f5b54;
  letter-spacing: .04em;
}
.available-tag {
  display: inline-block;
  font: 600 9px/1 'Inter', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: .12em !important;
  color: #fff !important;
  background: #a38f6c;
  padding: 5px 11px;
  margin-top: 4px;
}
.feature-desc {
  font: 400 13px/1.8 'Inter', sans-serif;
  color: #5f5b54;
  margin-bottom: 28px;
}
.feature-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- EXHIBITIONS --- */
.exhibitions-section {
  background: #fbfaf7;
}
.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.exhibitions-grid:empty {
  display: none;
}
.exhibition-card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.exhibition-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.exhibition-info { padding: 18px 20px 22px; }
.exhibition-status {
  display: inline-block;
  font: 600 8.5px/1 'Inter', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a38f6c;
  border: 1px solid #a38f6c;
  padding: 4px 9px;
  margin-bottom: 10px;
}
.exhibition-title {
  font: 500 20px/1.2 'Cormorant Garamond', serif;
  color: #171717;
  margin-bottom: 6px;
}
.exhibition-venue, .exhibition-dates {
  font: 400 11px/1.6 'Inter', sans-serif;
  color: #7a7670;
}
.exhibition-desc {
  font: 400 12px/1.7 'Inter', sans-serif;
  color: #5f5b54;
  margin-top: 8px;
}
.exhibitions-empty {
  text-align: center;
  font: 400 13px/1.8 'Inter', sans-serif;
  color: #7a7670;
  padding: 44px 20px;
  border: 1px dashed #dedbd4;
  border-radius: 2px;
}

/* --- ABOUT QING --- */
.about {
  display: grid;
  grid-template-columns: .82fr 1.4fr;
  gap: 52px;
  align-items: flex-start;
  background: #fbfaf7;
}
.about-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-media img + img {
  margin-top: 28px;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.about-copy blockquote {
  font: 500 italic 36px/1.1 'Cormorant Garamond', serif;
  color: #2a2520;
  margin: 0 0 28px;
  padding: 0;
  border: none;
}
.about-copy p {
  font: 400 13px/1.8 'Inter', sans-serif;
  color: #5f5b54;
  margin-bottom: 14px;
}
.text-link {
  display: inline-block;
  margin-top: 10px;
  font: 600 9.5px/1 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #171717;
  text-decoration: none;
  border-bottom: 1px solid #171717;
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.text-link:hover { color: #a38f6c; border-color: #a38f6c; }

/* --- COLLECTOR EXPERIENCE --- */
.benefits {
  background: #f3f0ea;
  padding: 52px 40px 58px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 36px;
  text-align: center;
}
.benefit-icon {
  width: 52px;
  height: 52px;
  border: 1px solid #c4b49a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: transparent;
}
.benefit-item h4 {
  font: 600 9.5px/1.3 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #171717;
  margin-bottom: 10px;
}
.benefit-item p {
  font: 400 11px/1.6 'Inter', sans-serif;
  color: #7a7670;
}

/* --- COLLECTOR LOVE --- */
.testimonial {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border-top: 1px solid #e8e4dc;
  border-bottom: 1px solid #e8e4dc;
}
.testimonial-quote {
  text-align: center;
  padding: 40px 36px;
}
.testimonial-quote blockquote {
  font: 500 italic 26px/1.35 'Cormorant Garamond', serif;
  color: #2a2520;
  max-width: 440px;
  margin: 0 auto 20px;
}
.testimonial-quote cite {
  font: 600 9px/1 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #7a7670;
  font-style: normal;
}
.testimonial-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* --- FOOTER --- */
.footer {
  padding: 42px 40px 20px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 28px;
  border-top: 1px solid #dedbd4;
  background: #fbfaf7;
}
.footer-newsletter .eyebrow { margin-bottom: 14px; }
.newsletter-desc {
  font: 400 11px/1.65 'Inter', sans-serif;
  color: #7a7670;
  margin-bottom: 16px;
  max-width: 340px;
}
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 360px;
}
.newsletter-form input {
  flex: 1;
  height: 40px;
  border: 1px solid #c8c4bc;
  border-right: none;
  padding: 0 14px;
  font: 400 11px 'Inter', sans-serif;
  background: #fff;
  outline: none;
}
.newsletter-form input:focus { border-color: #a38f6c; }
.newsletter-form button {
  height: 40px;
  background: #171717;
  color: #fff;
  border: 1px solid #171717;
  padding: 0 20px;
  font: 600 9px 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-form button:hover { background: #2f2b26; }
.footer-brand {
  text-align: center;
  padding-top: 6px;
}
.footer-brand .brand-name {
  font: 500 italic 34px/1 'Cormorant Garamond', serif;
  display: block;
  margin-bottom: 2px;
}
.footer-sig {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 6px;
  transform: rotate(-10deg);
  transform-origin: center center;
}
.footer-brand strong {
  font: 500 11px/1.5 'Cormorant Garamond', serif;
  letter-spacing: .1em;
  color: #555;
  display: block;
  margin-bottom: 14px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.social-icons a {
  color: #888;
  display: flex;
  align-items: center;
  transition: color .2s;
}
.social-icons a:hover { color: #a38f6c; }
.footer-links {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 36px;
  border-top: 1px solid #e2ded7;
  padding-top: 22px;
  margin-top: 8px;
}
.footer-links a {
  color: #555;
  text-decoration: none;
  font: 500 9.5px/1 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: color .2s;
}
.footer-links a:hover { color: #a38f6c; }
.copyright {
  grid-column: 1 / -1;
  text-align: center;
  font: 400 8.5px/1 'Inter', sans-serif;
  color: #aaa;
  padding-top: 14px;
  padding-bottom: 8px;
  letter-spacing: .04em;
}

/* --- CONTACT --- */
.contact-section { background: #fff; border-top: 1px solid #e8e4dc; border-bottom: 1px solid #e8e4dc; }
.contact-portrait {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 20px;
}
.contact-intro {
  text-align: center;
  max-width: 480px;
  margin: -12px auto 40px;
  font: 400 13px/1.7 'Inter', sans-serif;
  color: #7a7670;
}
.contact-grid {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font: 600 9.5px/1 'Inter', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5f5b54;
}
.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid #c8c4bc;
  padding: 12px 14px;
  font: 400 13px/1.5 'Inter', sans-serif;
  background: #fff;
  color: #171717;
  outline: none;
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #a38f6c;
}
.form-row--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form .btn { align-self: flex-start; }
.form-message {
  font: 400 12px/1.6 'Inter', sans-serif;
  min-height: 1.6em;
}
.form-message--success { color: #4c7a5e; }
.form-message--error { color: #a13d3d; }

/* --- ARTWORK DETAIL MODAL --- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,18,14,.78);
  cursor: pointer;
}
.modal-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 90%;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.modal-content img {
  width: 100%;
  display: block;
  max-height: 80vh;
  object-fit: contain;
}
.modal-caption {
  text-align: center;
  font: 400 10px/1 'Inter', sans-serif;
  letter-spacing: .1em;
  color: #888;
  padding: 14px;
  text-transform: uppercase;
}
.modal-content--details {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  max-width: 920px;
  outline: none;
}
.modal-content--details .modal-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
}
.modal-info {
  padding: 40px 36px;
  overflow-y: auto;
  max-height: 80vh;
}
.modal-info h3 {
  font: 500 34px/1.05 'Cormorant Garamond', serif;
  margin: 8px 0 16px;
  color: #171717;
}
.modal-desc {
  font: 400 13px/1.8 'Inter', sans-serif;
  color: #5f5b54;
  margin-bottom: 26px;
}
.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #171717;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .2s;
}
.modal-close:hover { background: #a38f6c; }

/* --- ARTWORK IMAGE LIGHTBOX --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 700;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,9,7,.92);
  cursor: pointer;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  outline: none;
}
.lightbox-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 88vw;
  max-height: 76vh;
}
.lightbox-media img {
  max-width: 88vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity .35s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-media img.loaded { opacity: 1; }
.lightbox-spinner {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: #d9c9a3;
  animation: lightbox-spin .8s linear infinite;
}
@keyframes lightbox-spin {
  to { transform: rotate(360deg); }
}
.lightbox-caption {
  text-align: center;
  padding: 18px 12px 0;
  color: #f2efe9;
}
.lightbox-title {
  font: 500 20px/1.2 'Cormorant Garamond', serif;
  margin: 0 0 4px;
}
.lightbox-size {
  font: 400 10px/1 'Inter', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b8b3a8;
  margin: 0;
}
.lightbox-repro-link {
  display: inline-block;
  color: #d9c9a3;
  border-bottom-color: #d9c9a3;
}
.lightbox-repro-link[hidden] {
  display: none;
}
.lightbox-repro-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-close {
  top: -16px;
  right: -16px;
  width: 34px;
  height: 34px;
  font-size: 18px;
  z-index: 2;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 26px;
}
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }
.lightbox-nav:focus-visible,
.lightbox-close:focus-visible {
  outline: 2px solid #d9c9a3;
  outline-offset: 2px;
}

/* --- RESPONSIVE: TABLET --- */
@media (max-width: 860px) {
  :root { --content-x: 32px; }
  .nav-links { gap: 22px; }
  .hero { height: 560px; }
  .hero-copy { width: 70%; }
  .hero-copy h2 { font-size: 44px; }

  .collection-grid { grid-template-columns: 1fr; }
  .collection-card { height: 320px; }

  .feature {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .feature-media img { max-height: 540px; }
  .feature-copy { padding: 36px 40px; }

  .about {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about-media img { height: 380px; }
  .about-media img + img { height: auto; }
  .about-copy { padding: 36px 40px; }

  .benefit-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial { grid-template-columns: 1fr; }
  .testimonial-image { display: none; }

  .exhibitions-grid { grid-template-columns: repeat(2, 1fr); }

  .modal-content--details { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .modal-content--details .modal-media img { height: 260px; }

  .lightbox-content { max-width: 94vw; max-height: 92vh; }
  .lightbox-media, .lightbox-media img { max-width: 90vw; max-height: 66vh; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-nav { top: 33vh; width: 40px; height: 40px; font-size: 22px; }
  .lightbox-close { top: 8px; right: 8px; }

  .footer { grid-template-columns: 1fr; }
}

/* --- RESPONSIVE: MOBILE --- */
@media (max-width: 600px) {
  html { scroll-padding-top: 84px; }
  .masthead h1 { font-size: 24px; }

  :root { --content-x: 20px; }
  .nav { height: 84px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .brand-sig { width: 100px; }

  .hero { height: 400px; }
  .hero-copy { top: 50%; transform: translateY(-50%); width: 85%; }
  .hero-copy h2 { font-size: 36px; }
  .hero-copy p { font-size: 13px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .section { padding: 36px 20px; }
  .benefits { padding: 36px 20px 44px; }

  .collection-card { height: 280px; }

  .feature-media img { max-height: 440px; }
  .feature-copy { padding: 28px 20px; }
  .feature-copy h2 { font-size: 34px; }

  .about-media img { height: 320px; }
  .about-media img + img { height: auto; }
  .about-copy { padding: 28px 20px; }
  .about-copy blockquote { font-size: 28px; }

  .benefit-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .gallery-filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .gf-btn { flex-shrink: 0; }

  .exhibitions-grid { grid-template-columns: 1fr; }

  .modal-info { padding: 28px 20px; }
  .modal-info h3 { font-size: 28px; }

  .footer { padding: 36px 20px 16px; }
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form input { border-right: 1px solid #c8c4bc; border-bottom: 1px solid #c8c4bc; margin-bottom: 0; }
  .newsletter-form button { width: 100%; }

  .footer-links { gap: 20px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 380px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .hero-copy h2 { font-size: 30px; }
}
