/* ============================================
   MAPLECANVAS.CA - STYLESHEET
   Canadian Paint Artists Platform
   Palette: Maple Red, White, Warm Cream, Charcoal, Sage
   ============================================ */

/* --- CSS Variables --- */
:root {
  --red: #C41E3A;
  --red-dark: #9B1830;
  --red-light: #E8A0AD;
  --red-glow: rgba(196, 30, 58, 0.12);
  --white: #FFFFFF;
  --cream: #F7F0E8;
  --cream-dark: #EDE3D5;
  --charcoal: #3A3A3A;
  --charcoal-light: #5A5A5A;
  --sage: #7A8B6F;
  --sage-light: #A3B496;
  --sage-dark: #5E6E53;
  --canvas: #FBF8F4;
  --border: #E0D6CA;
  --border-light: #EDE7DD;
  --shadow-sm: 0 1px 3px rgba(58,58,58,0.08);
  --shadow-md: 0 4px 16px rgba(58,58,58,0.1);
  --shadow-lg: 0 8px 32px rgba(58,58,58,0.12);
  --shadow-hover: 0 8px 24px rgba(196,30,58,0.1);
  --radius: 6px;
  --radius-lg: 12px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--charcoal); line-height: 1.25; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

/* --- Top Bar (Red Accent) --- */
.top-bar {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.top-bar a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.top-bar a:hover { color: var(--cream); }

/* --- Navigation --- */
.site-nav {
  background: var(--red);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg { width: 22px; height: 22px; fill: var(--white); }

.nav-logo-text {
  font-family: var(--font-body);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.nav-logo-text span { color: #D4B896; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.nav-links a.active {
  color: var(--white);
}

.nav-links a.nav-cta {
  background: var(--white);
  color: var(--red);
  padding: 8px 20px;
  margin-left: 8px;
}

.nav-links a.nav-cta:hover {
  background: var(--cream);
  color: var(--red-dark);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--red-glow);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: var(--red-glow);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--red-light);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--red); }

.hero-desc {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.hero-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 4;
  background: var(--cream);
  position: relative;
}

.hero-img-card:nth-child(2) { margin-top: 40px; }

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-card .img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, var(--red-glow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--charcoal-light);
  text-align: center;
  padding: 24px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--charcoal);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-glow);
}

.btn-sage {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-sage:hover {
  background: var(--sage-dark);
  color: var(--white);
}

.btn-sm {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-sm:hover {
  background: var(--red-dark);
  color: var(--white);
}

/* --- Section Common --- */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 { margin-bottom: 12px; }

.section-header p {
  color: var(--charcoal-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-header .red-line {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- Mediums Strip --- */
.mediums-strip {
  background: var(--cream);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.mediums-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.medium-tag {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal-light);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
}

.medium-tag::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-light);
}

.medium-tag:last-child::after { display: none; }

/* --- Featured Artists (Homepage) --- */
.featured-artists {
  background: var(--white);
}

/* --- Homepage Showcase (artist + 3 paintings stacked) --- */
.artists-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.showcase-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-col-header {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}

/* --- Showcase Hero Painting (top card, larger) --- */
.showcase-hero {
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

.showcase-hero:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.showcase-hero-img {
  width: 100%;
  padding-bottom: 100%;
  background-size: cover;
  background-position: center;
}

.showcase-hero-img-wrap {
  position: relative;
}

.showcase-hero-overlay {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.showcase-hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showcase-hero-avatar span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.75rem;
}

.showcase-hero-name {
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
}

.showcase-hero-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.showcase-paintings {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-painting {
  cursor: pointer;
  transition: transform var(--transition);
}

.showcase-painting:hover {
  transform: translateY(-2px);
}

.showcase-painting-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 2px 0;
  font-size: 0.82rem;
}

.showcase-painting-info span {
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-painting-info strong {
  color: var(--red);
  font-weight: 600;
  white-space: nowrap;
  margin-left: 8px;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.artist-card {
  background: var(--canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.artist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--red-light);
}

.artist-card-img {
  aspect-ratio: 1 / 1;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.artist-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.artist-card:hover .artist-card-img img {
  transform: scale(1.05);
}

.artist-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.artist-initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artist-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.artist-card-body {
  padding: 20px;
}

.artist-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.artist-card-body h3 a {
  color: var(--charcoal);
  text-decoration: none;
}

.artist-card-body h3 a:hover { color: var(--red); }

.artist-card-medium {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.artist-card-location {
  color: var(--charcoal-light);
  font-size: 0.85rem;
}

.artist-card-works {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--charcoal-light);
}

/* --- Artwork Gallery Grid --- */
.gallery-section { background: var(--canvas); }

.gallery-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--charcoal);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.artwork-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.artwork-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.artwork-card-img {
  aspect-ratio: 4 / 3;
  background: var(--cream);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.artwork-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.artwork-card:hover .artwork-card-img img {
  transform: scale(1.04);
}

.artwork-card-img .photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(58,58,58,0.75);
  color: var(--white);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 12px;
}

.artwork-card-img .badge-row {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-status {
  background: var(--sage);
  color: var(--white);
}

.badge-status.sold {
  background: var(--charcoal-light);
}

.badge-medium {
  background: var(--red);
  color: var(--white);
}

.badge-framed {
  background: #B8860B;
  color: var(--white);
}

.artwork-card-body {
  padding: 20px;
}

.artwork-card-body h4 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.artwork-card-meta {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  margin-bottom: 6px;
}

.artwork-card-meta span + span::before {
  content: ' / ';
  color: var(--border);
}

.artwork-card-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 10px;
}

.artwork-card-price.not-for-sale {
  color: var(--charcoal-light);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
}

.artwork-card-artist {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.artwork-card-artist .mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-card-artist a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
}

.artwork-card-artist a:hover { color: var(--red); }

/* --- Artist Profile Page --- */
.artist-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  position: relative;
}

.artist-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.artist-hero-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.artist-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 4px solid var(--border-light);
  background: var(--cream);
}

.artist-photo img { width: 100%; height: 100%; object-fit: cover; }

.artist-photo .artist-initials {
  width: 100%;
  height: 100%;
  font-size: 3.5rem;
  border-radius: 0;
}

.artist-info h1 { font-size: 2.2rem; margin-bottom: 4px; }
.artist-info .artist-specialty { color: var(--red); font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.artist-info .artist-location { color: var(--charcoal-light); font-size: 0.95rem; margin-bottom: 16px; }

.artist-info .artist-bio {
  color: var(--charcoal-light);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 20px;
}

.artist-social {
  display: flex;
  gap: 12px;
}

.artist-social a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--charcoal-light);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all var(--transition);
}

.artist-social a:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-glow);
}

/* --- "All Artists" Page --- */
.all-artists-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.artist-list-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: all var(--transition);
  text-decoration: none;
}

.artist-list-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--red-light);
}

.artist-list-card .artist-thumb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}

.artist-list-card .artist-thumb img { width: 100%; height: 100%; object-fit: cover; }

.artist-list-card .artist-thumb .artist-initials {
  width: 100%;
  height: 100%;
  font-size: 1.6rem;
  border-radius: 0;
}

.artist-list-card h3 { font-size: 1.1rem; margin-bottom: 2px; color: var(--charcoal); }
.artist-list-card .medium { color: var(--red); font-size: 0.85rem; font-weight: 600; }
.artist-list-card .location { color: var(--charcoal-light); font-size: 0.85rem; }
.artist-list-card .works-count { color: var(--charcoal-light); font-size: 0.8rem; margin-top: 4px; }

/* --- CTA Banner --- */
.artist-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
}

.artist-banner h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 10px;
}

.artist-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.banner-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.artist-banner .btn-primary {
  background: var(--white);
  color: var(--red);
}

.artist-banner .btn-primary:hover {
  background: var(--cream);
  color: var(--red-dark);
}

.artist-banner .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.artist-banner .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* --- Contact Page --- */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 { margin-bottom: 16px; }

.contact-info p {
  color: var(--charcoal-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.contact-detail .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form { max-width: 100%; }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--canvas);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .nav-logo-text {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: block;
}

.footer-brand .nav-logo-text span { color: var(--red-light); }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
  margin-top: 12px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 48px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.82rem;
}

.footer-bottom a { color: var(--red-light); }
.footer-bottom a:hover { color: var(--white); }

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 12px;
  z-index: 10;
  transition: opacity var(--transition);
}

.lb-close { top: 20px; right: 24px; font-size: 2.5rem; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 0.7; }

.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* --- Video Embed --- */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Live Studio --- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.live-offline {
  text-align: center;
  padding: 80px 24px;
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,0.6);
}

.live-offline h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.live-stream-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--charcoal);
}

.live-stream-container iframe,
.live-stream-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.live-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

.live-chat-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  display: flex;
  flex-direction: column;
}

.live-chat-header {
  background: var(--red);
  color: var(--white);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.live-chat-container iframe {
  flex: 1;
  width: 100%;
  border: none;
}

@media (max-width: 900px) {
  .live-layout {
    grid-template-columns: 1fr;
  }
  .live-chat-container {
    height: 400px;
  }
}

/* --- Schedule --- */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.schedule-item {
  display: flex;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.schedule-item:hover {
  box-shadow: var(--shadow-md);
}

.schedule-date {
  text-align: center;
  min-width: 80px;
  flex-shrink: 0;
}

.schedule-month {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
}

.schedule-day {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--charcoal);
  line-height: 1.1;
}

.schedule-time {
  font-size: 0.78rem;
  color: var(--charcoal-light);
  margin-top: 4px;
}

.schedule-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.schedule-artist {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.schedule-artist a {
  color: var(--red);
  font-weight: 600;
}

.schedule-artist span {
  color: var(--charcoal-light);
}

.schedule-info p {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  line-height: 1.5;
  margin-bottom: 8px;
}

.schedule-duration {
  font-size: 0.78rem;
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 12px;
  color: var(--charcoal-light);
}

@media (max-width: 600px) {
  .schedule-item { flex-direction: column; gap: 12px; }
  .schedule-date { display: flex; gap: 8px; align-items: baseline; }
  .schedule-day { font-size: 1.4rem; }
}

/* --- Gallery (Standard Artists) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  cursor: pointer;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-body {
  padding: 16px;
}

.gallery-card-desc {
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 8px;
}

.gallery-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--charcoal-light);
  margin-bottom: 8px;
}

.gallery-card-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* --- Artwork Modal (image left, specs right) --- */
.art-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.art-modal-inner {
  display: flex;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.art-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--charcoal-light);
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: color var(--transition);
}

.art-modal-close:hover {
  color: var(--red);
}

.art-modal-image {
  flex: 1.2;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}

.art-modal-specs {
  flex: 0.8;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.art-modal-specs h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.am-artist {
  color: var(--red);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.am-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.am-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.am-label {
  color: var(--charcoal-light);
}

.am-row span:last-child {
  color: var(--charcoal);
  font-weight: 500;
}

.am-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.am-status {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 24px;
}

.am-status.sold {
  color: var(--red);
}

.am-btn {
  text-align: center;
}

.am-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 700px) {
  .art-modal-inner {
    flex-direction: column;
    max-height: 95vh;
    overflow-y: auto;
  }
  .art-modal-image {
    min-height: 250px;
    flex: none;
  }
  .art-modal-specs {
    padding: 24px 20px;
  }
}

/* --- Featured Artwork Modal (larger) --- */
.art-modal-inner.featured {
  max-width: 1100px;
}

.art-modal-inner.featured .art-modal-image {
  flex: 1.4;
  min-height: 500px;
}

.art-modal-inner.featured .art-modal-specs {
  padding: 48px 36px;
}

.art-modal-inner.featured .am-price {
  font-size: 2rem;
}

@media (max-width: 700px) {
  .art-modal-inner.featured .art-modal-image {
    min-height: 300px;
  }
}

/* --- Legal / Guidelines Pages --- */
.legal-content {
  line-height: 1.8;
  color: var(--charcoal);
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.legal-content p {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.legal-content a {
  color: var(--red);
}

.legal-updated {
  color: var(--charcoal-light);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 24px;
}

/* --- Empty States --- */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--charcoal-light);
}

.empty-state h3 { margin-bottom: 8px; color: var(--charcoal); }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 400px; }
  .artists-grid { grid-template-columns: repeat(2, 1fr); }
  .artists-showcase { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero-visual { display: none; }
  .section { padding: 48px 0; }
  .artists-grid { grid-template-columns: 1fr; }
  .artists-showcase { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .artwork-grid { grid-template-columns: repeat(2, 1fr); }
  .all-artists-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .artist-hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .artist-info .artist-bio { margin-left: auto; margin-right: auto; }
  .artist-social { justify-content: center; }

  /* Mobile nav */
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--red);
    border-bottom: 2px solid var(--red-dark);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .nav-links a.nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .artwork-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { width: 100%; text-align: center; }
  .banner-btns { flex-direction: column; align-items: center; }
}

/* --- Dashboard Overrides --- */
.dash-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.dash-tab {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-body);
}

.dash-tab:hover { color: var(--charcoal); }

.dash-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.dash-panel { display: none; }
.dash-panel.active { display: block; }

.dash-artwork-list {
  display: grid;
  gap: 16px;
}

.dash-artwork-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
}

.dash-artwork-item img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  object-fit: cover;
}

.dash-artwork-info { flex: 1; }
.dash-artwork-info h4 { font-size: 1rem; margin-bottom: 2px; }
.dash-artwork-info p { font-size: 0.85rem; color: var(--charcoal-light); }

.dash-edit-btn {
  background: none;
  border: 1px solid var(--sage);
  color: var(--sage);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.dash-edit-btn:hover {
  border-color: var(--sage-dark);
  color: var(--white);
  background: var(--sage);
}

.dash-delete-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--charcoal-light);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition);
}

.dash-delete-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-glow);
}
