/* ═══════════════════════════════════════════════════════════════
   ArtVault — Global Design System
   Color palette inspired by the ArtVault brand image:
   Deep charcoal + Rich gold/bronze + Warm cream
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E0C472;
  --gold-dark:   #9A7A2E;
  --gold-dim:    rgba(201,168,76,0.15);
  --charcoal:    #1A1A1A;
  --charcoal-2:  #242424;
  --charcoal-3:  #2E2E2E;
  --charcoal-4:  #383838;
  --warm-white:  #F5F0E8;
  --cream:       #EDE8DC;
  --cream-2:     #D9D2C5;
  --text-primary:#F0EBE0;
  --text-secondary:#B0A898;
  --text-muted:  #7A7265;
  --border:      rgba(201,168,76,0.2);
  --border-light:rgba(255,255,255,0.06);
  --shadow-gold: 0 4px 30px rgba(201,168,76,0.2);
  --shadow-dark: 0 8px 40px rgba(0,0,0,0.5);
  --radius:      4px;
  --radius-lg:   8px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif:  'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', 'Helvetica Neue', sans-serif;
  --max-width:   1400px;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--charcoal);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--text-secondary); line-height: 1.75; }
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Utility ───────────────────────────────────────────────── */
.container  { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-gold  { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.serif      { font-family: var(--font-serif); }
.italic     { font-style: italic; }
.sr-only    { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p  { max-width: 520px; margin: 0 auto; }
.section-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none; border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--charcoal);
  box-shadow: 0 2px 20px rgba(201,168,76,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(201,168,76,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

/* ─── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled {
  background: var(--nav-bg);
  box-shadow: var(--shadow-dark);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center;
  height: 72px;
  gap: 48px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 2px;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--charcoal);
}
.nav-logo-text { 
  font-family: var(--font-serif); 
  font-size: 1.4rem; 
  letter-spacing: 0.05em;
}
.nav-logo-text span { color: var(--gold); }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; flex: 1;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
}
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-search-btn {
  width: 38px; height: 38px;
  background: none; border: none;
  color: var(--text-secondary);
  cursor: pointer; border-radius: 50%;
  display: grid; place-items: center;
  transition: var(--transition);
}
.nav-search-btn:hover { background: var(--gold-dim); color: var(--gold); }
.nav-hamburger {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-hamburger:hover span {
  background: var(--gold);
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0a0a0a 100%);
}
.hero-bg-img,
.hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
  transition: opacity 1s ease;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.95) 0%,
    rgba(10,10,10,0.7) 50%,
    rgba(10,10,10,0.3) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 24px; width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.08;
  max-width: 680px;
  margin-bottom: 1.5rem;
  color: var(--hero-title-color);
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── Artwork Grid ──────────────────────────────────────────── */
.artworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.artist-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 1024px) {
  .artist-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.artwork-card {
  background: var(--charcoal-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.artwork-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--shadow-gold);
}
.artwork-card-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--charcoal-3);
}
.artwork-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.artwork-card:hover .artwork-card-img img { transform: scale(1.06); }
.artwork-card-status {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.status-available { background: rgba(76,201,120,0.9); color: #fff; }
.status-reserved  { background: rgba(201,168,76,0.9); color: var(--charcoal); }
.status-sold      { background: rgba(180,60,60,0.9);  color: #fff; }
.artwork-card-body { padding: 18px; }
.artwork-card-category {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.artwork-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.artwork-card-artist {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.artwork-card-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.artwork-card-price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-primary);
}
.artwork-card-dims {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ─── Artist Cards ──────────────────────────────────────────── */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.artist-card {
  background: var(--charcoal-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}
.artist-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-gold);
}
.artist-card-portrait {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--charcoal-3);
}
.artist-card-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.artist-card:hover .artist-card-portrait img { transform: scale(1.05); }
.artist-card-body { padding: 20px; }
.artist-card-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.artist-card-body p { font-size: 0.8rem; color: var(--text-muted); }
.artist-card-count {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ─── Section Layouts ───────────────────────────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--charcoal); }
.section-alt  { background: var(--charcoal-2); }

/* ─── Featured Artwork Strip ────────────────────────────────── */
.featured-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 3px;
  height: 600px;
}
.featured-strip .strip-item {
  position: relative; overflow: hidden;
  cursor: pointer;
}
.featured-strip .strip-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.featured-strip .strip-item:hover img { transform: scale(1.04); }
.strip-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.strip-item:hover .strip-item-overlay { opacity: 1; }
.strip-item-overlay h3 { font-family: var(--font-serif); font-size: 1.3rem; }
.strip-item-overlay span { font-size: 0.8rem; color: var(--gold); }

/* ─── Search Bar ────────────────────────────────────────────── */
.search-bar {
  display: flex; align-items: center;
  background: var(--charcoal-3);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  max-width: 640px; margin: 0 auto;
  transition: var(--transition);
}
.search-bar:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.search-bar input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary);
  font-family: var(--font-sans); font-size: 0.95rem;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--charcoal); border: none;
  padding: 10px 24px; border-radius: 50px;
  font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: var(--transition);
}
.search-bar button:hover { opacity: 0.9; }

/* ─── Filter Bar ────────────────────────────────────────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; margin-bottom: 32px;
}
.filter-chip {
  padding: 7px 16px;
  background: var(--charcoal-3);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: capitalize;
  color: var(--text-secondary);
  cursor: pointer; transition: var(--transition);
}
.filter-chip:hover, .filter-chip.active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}
.filter-select {
  padding: 8px 14px;
  background: var(--charcoal-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-family: var(--font-sans);
  outline: none; cursor: pointer;
  transition: var(--transition);
}
.filter-select:focus {
  border-color: var(--gold);
  color: var(--text-primary);
}

/* ─── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 48px 0;
}
.stat-item {
  background: var(--charcoal-2);
  padding: 32px 24px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Tags & Badges ─────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.tag-dark { background: rgba(255,255,255,0.06); color: var(--text-secondary); }

/* ─── Colour Swatches ───────────────────────────────────────── */
.colour-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: inline-block;
}

/* ─── Artwork Detail ────────────────────────────────────────── */
.artwork-detail {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
  padding-top: 100px;
}
.artwork-main-img {
  position: sticky; top: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--charcoal-2);
  aspect-ratio: 4/5;
}
.artwork-main-img img { width: 100%; height: 100%; object-fit: contain; }
.artwork-gallery-thumbs {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.artwork-gallery-thumbs img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
  opacity: 0.6;
}
.artwork-gallery-thumbs img:hover,
.artwork-gallery-thumbs img.active { border-color: var(--gold); opacity: 1; }

.artwork-info-section { margin-bottom: 28px; }
.artwork-info-section h4 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
}
.info-item label {
  display: block; font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 2px;
}
.info-item span { font-size: 0.9rem; color: var(--text-secondary); }
.price-display {
  font-family: var(--font-serif);
  font-size: 2.2rem; color: var(--text-primary);
  margin: 20px 0 6px;
}
.price-vat { font-size: 0.75rem; color: var(--text-muted); }
.qr-block {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: var(--radius-lg);
  margin-top: 24px;
  display: inline-block;
}
.qr-block img { width: 130px; height: 130px; }
.qr-label { font-size: 0.68rem; color: #555; margin-top: 6px; }

/* ─── Exhibition Card ───────────────────────────────────────── */
.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}
.exhibition-card {
  background: var(--charcoal-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.exhibition-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.exhibition-card-img {
  height: 220px; overflow: hidden;
  background: var(--charcoal-3);
}
.exhibition-card-img img { width:100%;height:100%;object-fit:cover; transition: transform 0.6s ease; }
.exhibition-card:hover .exhibition-card-img img { transform: scale(1.04); }
.exhibition-card-body { padding: 24px; }
.exhibition-dates {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.exhibition-card-body h3 { font-size: 1.3rem; margin-bottom: 8px; }

/* ─── Forms ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 11px 16px;
  background: var(--charcoal-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--text-muted); margin-top: 12px; font-size: 0.88rem; line-height: 1.75; }
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--gold); }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap; gap: 12px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--charcoal-3);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ─── Toasts / Flash Messages ───────────────────────────────── */
.toast-container {
  position: fixed; top: 90px; right: 24px; z-index: 9000;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  padding: 14px 20px;
  background: var(--charcoal-3);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-dark);
  opacity: 0; transform: translateX(24px);
  animation: toastIn 0.4s forwards, toastOut 0.4s 3s forwards;
  max-width: 360px;
}
@keyframes toastIn  { to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(24px); } }
.toast.success { border-color: #4cc978; }
.toast.error   { border-color: #e05555; }

/* ─── Pagination ────────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 48px;
}
.page-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--charcoal-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer; transition: var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .artwork-detail { grid-template-columns: 1fr; }
  .artwork-main-img { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured-strip { grid-template-columns: 1fr 1fr; height: 420px; }
  .featured-strip .strip-item:last-child { grid-column: span 2; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
.mobile-only { display: none !important; }

@media (max-width: 768px) {
  .nav-inner { gap: 15px; justify-content: space-between; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; z-index: 1001; }
  .nav-search-btn { display: none !important; }
  .nav-actions .btn { display: none !important; }
  .mobile-only { display: block !important; }
  .artworks-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .artists-grid  { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-grid   { grid-template-columns: 1fr; }
  .featured-strip { grid-template-columns: 1fr; height: auto; }
  .featured-strip .strip-item { height: 260px; }
  .featured-strip .strip-item:last-child { grid-column: auto; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .artworks-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.4rem; }
}

/* ─── Lazy Load Fade ────────────────────────────────────────── */
img[data-src] { opacity: 0; transition: opacity 0.5s ease; }
img.lazy-loaded { opacity: 1; }

/* ─── Scroll Animations ─────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fade-in.visible { opacity: 1; }

/* ─── Loading Skeleton ──────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--charcoal-3) 25%, var(--charcoal-4) 50%, var(--charcoal-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ─── No-JS Fallback ────────────────────────────────────────── */
.no-image-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--charcoal-3);
  color: var(--text-muted);
  font-size: 0.8rem; gap: 8px;
}
.no-image-placeholder svg { width: 40px; height: 40px; opacity: 0.4; }
