/* 
   GIA TUFTING ARTIST PORTFOLIO DESIGN SYSTEM
   Modern Editorial Minimalist Gallery Aesthetic
*/

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

:root {
  --bg-main: #FAF9F6;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(250, 249, 246, 0.82);
  --bg-dark: #121212;
  
  --text-main: #1A1A1A;
  --text-muted: #71717A;
  --text-light: #A1A1AA;
  --text-on-dark: #FAF9F6;

  --border-light: #E5E5E0;
  --border-subtle: #F0F0EB;
  --border-focus: #1A1A1A;

  --accent-warm: #C85A32;
  --accent-gold: #D4A359;
  --accent-moss: #5B7052;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--text-main);
  color: var(--bg-main);
}

/* Typography Utilities */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

h1, h2, h3, h4, .serif-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.15;
}

/* Glass Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1;
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-main);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background-color: var(--text-main);
  color: var(--bg-main);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--text-main);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background-color: transparent;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background-color: var(--text-main);
  color: var(--bg-main);
  transform: translateY(-2px);
}

/* Mobile Nav Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

/* Layout Containers */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

/* Section Header styling */
.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background-color: var(--text-muted);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  max-width: 700px;
}

/* Hero Section */
.hero-section {
  padding-top: 10rem;
  padding-bottom: 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.artist-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-heading {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-heading span.italic {
  font-style: italic;
  font-weight: 400;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Flagship Hero Artwork Frame */
.hero-visual {
  position: relative;
}

.hero-frame-container {
  position: relative;
  background-color: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-smooth);
}

.hero-frame-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper {
  aspect-ratio: 4/5;
  width: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 4px);
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.hero-frame-container:hover .hero-image {
  transform: scale(1.03);
}

.artwork-badge {
  position: absolute;
  bottom: -1.5rem;
  left: 2rem;
  background-color: var(--bg-card);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.badge-info h4 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.badge-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--text-main);
  color: var(--bg-main);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.badge-btn:hover {
  transform: scale(1.1);
}

/* Portfolio Filter Tabs */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--text-main);
  transition: width var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  color: var(--text-main);
}

.filter-btn.active::after {
  width: 100%;
}

.filter-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

/* Asymmetric Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem 2rem;
}

.gallery-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

/* Asymmetric Grid Spanning */
.card-span-7 { grid-column: span 7; }
.card-span-5 { grid-column: span 5; }
.card-span-4 { grid-column: span 4; }
.card-span-6 { grid-column: span 6; }

.card-img-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-main);
}

.ratio-3-4 { aspect-ratio: 3/4; }
.ratio-16-9 { aspect-ratio: 16/9; }
.ratio-1-1 { aspect-ratio: 1/1; }
.ratio-4-3 { aspect-ratio: 4/3; }

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-card:hover .card-overlay {
  opacity: 1;
}

.overlay-btn {
  background-color: var(--bg-main);
  color: var(--text-main);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.card-category {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.card-status {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.status-available {
  background-color: #E6F4EA;
  color: #137333;
}

.status-sold {
  background-color: #F1F3F4;
  color: #5F6368;
}

.status-commission {
  background-color: #FEF7E0;
  color: #B06000;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.card-details {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background-color: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 110;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 110;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-container {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 4rem 6rem;
  gap: 4rem;
  align-items: center;
}

.lightbox-media {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transition: transform var(--transition-smooth);
}

.lightbox-info {
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
}

.lightbox-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.lightbox-title {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
}

.lightbox-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 2rem;
}

.spec-item label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 4px;
}

.spec-item span {
  font-size: 0.95rem;
  color: white;
  font-weight: 400;
}

.lightbox-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.lightbox-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-light {
  background-color: white;
  color: var(--bg-dark);
  border: 1px solid white;
}

.btn-light:hover {
  background-color: transparent;
  color: white;
}

/* Studio & Craft Process Section */
.process-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.process-img-wrapper {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}

.process-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.process-step-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent-warm);
  margin-bottom: 0.5rem;
}

.process-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Artist Bio Section */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.bio-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.quote-box {
  border-left: 2px solid var(--text-main);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-main);
}

/* Commission Builder Modal & Section */
.commission-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 4rem;
  margin-top: 4rem;
  box-shadow: var(--shadow-md);
}

.commission-builder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.choice-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  background: var(--bg-main);
}

.choice-card:hover, .choice-card.selected {
  border-color: var(--text-main);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.choice-card.selected {
  outline: 2px solid var(--text-main);
}

.choice-card h5 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.choice-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.input-field {
  width: 100%;
  padding: 1rem 1.25rem;
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.input-field:focus {
  border-color: var(--text-main);
  background-color: var(--bg-card);
}

textarea.input-field {
  min-height: 120px;
  resize: vertical;
}

.estimation-summary {
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.est-price-tag {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--text-main);
  line-height: 1;
  margin: 1rem 0;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dynamic Custom Page Sections */
.custom-section-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.custom-section-body.no-image {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.custom-sec-img-wrapper {
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.custom-sec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.custom-sec-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 4rem 2rem 2rem;
  background-color: var(--bg-main);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.75rem;
}

.style-full {
  width: 100%;
}

/* Mobile Slide-Out Navigation Drawer */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(18, 18, 18, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background-color: var(--bg-main);
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px;
}

.drawer-nav {
  margin: 2rem 0;
}

.drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-link {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-main);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.drawer-link:hover {
  color: var(--accent-warm);
}

.drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Lightbox 2.0 Pan & Zoom High-Res Inspector */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background-color: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 110;
  background: rgba(0, 0, 0, 0.3);
}

.lightbox-title-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

.bar-dim {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 300;
}

.zoom-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.zoom-btn {
  background: none;
  border: none;
  color: white;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.zoom-level-badge {
  font-weight: 600;
  letter-spacing: 0.05em;
}

#highres-badge {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  background: var(--accent-warm);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.lightbox-container {
  flex-grow: 1;
  width: 100%;
  height: calc(100% - 70px);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  padding: 2rem 4rem;
  gap: 3rem;
  align-items: center;
  overflow: hidden;
}

.lightbox-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.4);
  cursor: grab;
  user-select: none;
}

.lightbox-viewport.panning {
  cursor: grabbing;
}

.viewport-canvas {
  transform-origin: center center;
  transition: transform 0.1s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-img {
  max-height: 75vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  pointer-events: none;
}

.pan-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: var(--text-light);
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Studio Admin CMS Modal */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.admin-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 160;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.admin-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.admin-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-main);
}

/* Studio Admin Auth Modal */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 170;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.auth-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: 90%;
  max-width: 440px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 180;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.auth-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.admin-modal-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.admin-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
}

.admin-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-main);
  padding: 0 2rem;
  gap: 1.5rem;
}

.admin-tab-btn {
  background: none;
  border: none;
  padding: 1rem 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.admin-tab-btn.active {
  color: var(--text-main);
}

.admin-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-main);
}

.admin-tab-content {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.cms-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.cms-form-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.cms-form-card h5 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cms-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cms-input {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.cms-form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cms-artwork-list, .cms-sections-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cms-artwork-item, .cms-section-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.cms-item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cms-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.cms-item-title {
  font-weight: 500;
  font-size: 0.95rem;
}

.cms-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cms-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: var(--text-main);
  color: var(--bg-main);
}

.admin-modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-main);
  display: flex;
  justify-content: flex-end;
}

/* Floating Admin Launcher Button */
.floating-admin-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 80;
  background-color: var(--text-main);
  color: var(--bg-main);
  border: 1px solid var(--text-main);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.floating-admin-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-lg);
  background-color: var(--accent-warm);
  border-color: var(--accent-warm);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .card-span-7, .card-span-5, .card-span-4, .card-span-6 {
    grid-column: span 6;
  }

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

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .commission-builder-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-container {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    overflow-y: auto;
  }

  .lightbox-img {
    max-height: 50vh;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .admin-launch-btn span {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

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

  .card-span-7, .card-span-5, .card-span-4, .card-span-6 {
    grid-column: span 1;
  }

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

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

  .hero-stats {
    gap: 1.5rem;
  }

  .section-container {
    padding: 4rem 1.25rem;
  }

  .commission-section {
    padding: 2rem 1.25rem;
  }

  .floating-admin-btn span {
    display: none;
  }

  .floating-admin-btn {
    padding: 0.75rem;
    border-radius: 50%;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .filter-tabs {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .lightbox-header-bar {
    padding: 1rem;
  }

  .zoom-controls {
    display: none;
  }
}
