:root {
  /* Warm, watercolor-inspired palette */
  --bg: #FAF7F2;
  --bg-subtle: #F5F2ED;
  --paper: #FFFCF7;
  --ink: #2C2A26;
  --ink-light: #4A4740;
  --muted: #7A756B;
  --line: #E8E4DC;
  --line-strong: #D4CFC4;
  
  /* Accent colors - warm watercolor tones */
  --accent: #2C2A26;
  --accent-hover: #1A1816;
  --terracotta: #C4846C;
  --terracotta-light: #D4A08A;
  --sage: #8B9A7D;
  --sage-light: #A8B49E;
  --gold: #B8986B;
  --gold-light: #CEBA95;
  --slate: #6B7B8A;
  
  /* Shadows - warmer tones */
  --shadow-sm: 0 2px 8px rgba(44, 42, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(44, 42, 38, 0.08);
  --shadow-lg: 0 12px 32px rgba(44, 42, 38, 0.10);
  --shadow-xl: 0 20px 48px rgba(44, 42, 38, 0.12);
  
  /* Layout */
  --max-width: 1120px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 450ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset & Base */

/* Loading Screen */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Loading Brand Typography */
.loading-brand {
  text-align: center;
}

.loading-brand h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
  animation: brandReveal 1.4s ease-out forwards;
}

.loading-brand .sub {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  margin-top: 0.25rem;
  animation: subReveal 1s ease-out 0.6s forwards;
}

@keyframes brandReveal {
  0% {
    opacity: 0;
    letter-spacing: 0.35em;
  }
  100% {
    opacity: 1;
    letter-spacing: 0.1em;
  }
}

@keyframes subReveal {
  0% {
    opacity: 0;
    letter-spacing: 0.5em;
    transform: translateY(4px);
  }
  100% {
    opacity: 0.5;
    letter-spacing: 0.3em;
    transform: translateY(0);
  }
}

/* Loading Stroke Bar */
.loading-stroke {
  width: 80px;
  height: 2px;
  background: var(--line);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: strokeReveal 0.6s ease-out 0.3s forwards;
}

@keyframes strokeReveal {
  0% {
    opacity: 0;
    width: 40px;
  }
  100% {
    opacity: 1;
    width: 80px;
  }
}

.loading-stroke-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, 
    var(--terracotta) 0%, 
    var(--gold) 50%, 
    var(--sage) 100%
  );
  border-radius: 1px;
  animation: strokeFill 2.2s ease-in-out 0.8s infinite;
}

@keyframes strokeFill {
  0% {
    width: 0%;
    left: 0;
  }
  40% {
    width: 100%;
    left: 0;
  }
  60% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0%;
    left: 100%;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .loading-brand h1,
  .loading-brand .sub,
  .loading-stroke,
  .loading-stroke-fill {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .loading-stroke {
    width: 80px;
  }
  
  .loading-stroke-fill {
    width: 100%;
  }
}

/* Dark mode loading adjustments */
[data-theme="dark"] .loading-screen {
  background: #1A1918;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Subtle paper texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: flex;
  flex-direction: column;
}

/* Typography */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.625rem, 3vw, 2rem);
  letter-spacing: 0.01em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--terracotta);
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.brand-mark:hover {
  color: var(--terracotta);
}

.brand-subtitle {
  margin-top: 0.25rem;
  font-size: 0.813rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  font-style: italic;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  font-size: 0.938rem;
}

.site-nav a {
  color: var(--ink-light);
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--terracotta);
}

/* Color Lab nav link - subtle accent */
.site-nav a.nav-lab {
  color: var(--terracotta);
}

.site-nav a.nav-lab:hover {
  color: var(--terracotta-light);
  border-bottom-color: var(--terracotta-light);
}

/* Theme Toggle */

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
  background: var(--paper);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.theme-toggle-btn .sun {
  display: none;
}

.theme-toggle-btn .moon {
  display: block;
}

[data-theme="dark"] .theme-toggle-btn .sun {
  display: block;
}

[data-theme="dark"] .theme-toggle-btn .moon {
  display: none;
}

/* Buttons */

.btn-primary,
.btn-secondary,
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.938rem;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--paper);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-text {
  background: transparent;
  color: var(--ink);
  padding: 0.5rem 0;
  font-weight: 500;
}

.btn-text:hover {
  color: var(--terracotta);
}

.btn-tertiary,
.btn-text-link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 0.5rem;
  font-size: 0.938rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  background: transparent;
  color: var(--ink-light);
  border: none;
  border-bottom: 1px solid transparent;
}

.btn-tertiary:hover,
.btn-text-link:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* Accent button - matches nav Color Lab styling */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.938rem;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  background: transparent;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
}

.btn-accent:hover {
  background: var(--terracotta);
  color: var(--paper);
  transform: translateY(-1px);
}

/* Hero Section - Image Behind Text */

.hero {
  position: relative;
  min-height: 480px;
  margin-bottom: 6rem;
  display: flex;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 2rem 0;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hero-text h1 {
  margin-bottom: 2rem;
  line-height: 1.15;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image-frame {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  z-index: 1;
}

.hero-image-frame:hover {
  transform: translateY(calc(-50% - 4px));
  box-shadow: 0 24px 56px rgba(44, 42, 38, 0.15);
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 252, 247, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  box-shadow: var(--shadow-md);
}

/* Sections */

.section {
  padding-top: 4rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Watercolor bar divider motif */
.color-bar {
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, 
    #C4846C 0%, 
    #D4A08A 20%, 
    #B8986B 40%, 
    #CEBA95 60%, 
    #8B9A7D 80%, 
    #5A7247 100%
  );
  margin: 2rem 0;
}

.color-bar-sm {
  width: 100px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, 
    #C4846C 0%, 
    #D4A08A 20%, 
    #B8986B 40%, 
    #CEBA95 60%, 
    #8B9A7D 80%, 
    #5A7247 100%
  );
}

.hero-color-bar {
  position: absolute;
  bottom: -3rem;
  left: 0;
  right: 0;
}

.color-bar-centered {
  max-width: 200px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin-bottom: 0.75rem;
}

.section-heading p {
  max-width: 42rem;
  font-size: 1.063rem;
  line-height: 1.75;
  color: var(--ink-light);
}

/* Gallery Controls */

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--paper);
}

.filter-btn.active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

[data-theme="dark"] .filter-btn.active {
  color: var(--bg);
  background: var(--ink);
}

.gallery-count {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Filter row and separator */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-separator {
  color: var(--line-strong);
  padding: 0 0.25rem;
  font-size: 0.875rem;
}

/* Collection filter buttons */
.filter-btn-collection {
  border-color: var(--sage);
}

.filter-btn-collection:hover {
  border-color: var(--sage);
  background: rgba(139, 154, 125, 0.1);
}

.filter-btn-collection.active {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--paper);
}

/* Color filter buttons */
.filter-btn-color {
  border-color: var(--terracotta);
}

.filter-btn-color:hover {
  border-color: var(--terracotta);
  background: rgba(196, 132, 108, 0.1);
}

.filter-btn-color.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--paper);
}

/* ============================================================================
   GALLERY GRID - Horizontal Scroll with Drag & Parallax
   ============================================================================ */

.gallery-wrapper {
  position: relative;
  margin: 0 -1rem;
  padding: 0 1rem;
}

.gallery-grid {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1rem 0 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  
  /* Hide scrollbar but keep functionality */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-grid:active {
  cursor: grabbing;
}

.gallery-grid.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

/* Navigation Arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s, background 0.2s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.gallery-nav:hover {
  background: var(--terracotta);
  color: white;
  transform: translateY(-50%) scale(1.08);
  border-color: var(--terracotta);
}

.gallery-nav-prev { left: 0; }
.gallery-nav-next { right: 0; }

.gallery-wrapper:hover .gallery-nav:not(:disabled) {
  opacity: 1;
  visibility: visible;
}

.gallery-nav:disabled {
  opacity: 0.3;
  cursor: default;
  visibility: visible;
}

.gallery-nav:disabled:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-50%);
  border-color: var(--line);
}

/* Gallery Items - Bottom aligned like gallery hanging */
.gallery-item {
  flex: 0 0 auto;
  width: 300px;
  height: 420px; /* Fixed height for uniform cards */
  scroll-snap-align: start;
  margin: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  
  /* Flexbox to push caption to bottom */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-item.fade-in-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Parallax transforms applied to image frame */
.gallery-item .gallery-image-frame {
  transition: transform 0.15s ease-out, filter 0.15s ease-out;
  transform-style: preserve-3d;
}

/* Staggered animation for gallery items (first 10 visible on load) */
.gallery-item:nth-child(1) { transition-delay: 0ms; }
.gallery-item:nth-child(2) { transition-delay: 50ms; }
.gallery-item:nth-child(3) { transition-delay: 100ms; }
.gallery-item:nth-child(4) { transition-delay: 150ms; }
.gallery-item:nth-child(5) { transition-delay: 200ms; }
.gallery-item:nth-child(6) { transition-delay: 250ms; }
.gallery-item:nth-child(7) { transition-delay: 300ms; }
.gallery-item:nth-child(8) { transition-delay: 350ms; }
.gallery-item:nth-child(9) { transition-delay: 400ms; }
.gallery-item:nth-child(10) { transition-delay: 450ms; }

/* Scroll indicator */
.gallery-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.gallery-scroll-hint svg {
  animation: scrollHint 1.5s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.gallery-trigger {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
}

.gallery-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
  
  /* Fixed height container */
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium hover effect - subtle lift and glow */
.gallery-trigger:hover .gallery-image-frame {
  transform: translateY(-6px);
  box-shadow: 
    0 8px 24px rgba(44, 42, 38, 0.12),
    0 24px 48px rgba(44, 42, 38, 0.08);
  border-color: var(--terracotta);
}

/* Elegant border glow on hover */
.gallery-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow var(--transition-slow);
  pointer-events: none;
}

.gallery-trigger:hover .gallery-image-frame::after {
  box-shadow: inset 0 0 0 2px var(--terracotta);
}

.gallery-trigger:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

figcaption {
  margin-top: 0.875rem;
  padding: 0 0.25rem;
  transition: transform var(--transition-base);
}

.gallery-trigger:hover + figcaption {
  transform: translateY(-2px);
}

.work-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.125rem;
  transition: color var(--transition-fast);
}

.gallery-trigger:hover + figcaption .work-title {
  color: var(--terracotta);
}

.work-number {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.work-meta {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ============================================================================
   SHOW MORE BUTTON
   ============================================================================ */

.gallery-show-more {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
}

.show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 0.938rem;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.show-more-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.show-more-btn svg {
  transition: transform var(--transition-fast);
}

.show-more-btn:hover svg {
  transform: translateY(2px);
}

.show-more-btn .btn-count {
  font-size: 0.8rem;
  opacity: 0.7;
  font-weight: 400;
}

/* Hide when all items shown */
.gallery-show-more.hidden {
  display: none;
}

/* Fade-in Animation */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* Process Section */

.process-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.5rem;
}

/* Process Layers - Scroll-based stacking animation */
.process-layers-container {
  margin-top: 3rem;
}

.process-layers-track {
  height: 70vh; /* Enough for animation */
  position: relative;
}

.process-layers-sticky {
  position: sticky;
  top: 15%;
  padding: 0;
}

.process-stack {
  display: flex;
  flex-direction: column-reverse; /* Reverse so newest layer appears on TOP */
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.process-layer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Layer states via classes */
.process-layer.state-hidden {
  opacity: 0;
  transform: translateY(-20px);
  max-height: 0;
  border-color: transparent;
  margin-top: 0;
}

.process-layer.state-active {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
  margin-top: 0.75rem;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.process-layer.state-compressed {
  opacity: 1;
  transform: translateY(0);
  max-height: 44px;
  margin-top: 4px;
  border-color: var(--line);
  z-index: 1;
}

.process-layer.state-final {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
  margin-top: 0.75rem;
}

/* First layer in reversed order (step 4) needs no top margin */
.process-layer[data-step="3"].state-active,
.process-layer[data-step="3"].state-final {
  margin-top: 0;
}

/* Full content (visible in active/final states) */
.layer-full {
  padding: 1.5rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.process-layer.state-hidden .layer-full,
.process-layer.state-compressed .layer-full {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.process-layer.state-active .layer-full,
.process-layer.state-final .layer-full {
  opacity: 1;
  position: relative;
}

/* Compressed strip (visible in compressed state) */
.layer-compressed {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-light);
  letter-spacing: 0.02em;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(90deg, 
    rgba(196, 132, 108, 0.08) 0%, 
    rgba(184, 152, 107, 0.08) 50%,
    rgba(139, 154, 125, 0.05) 100%
  );
}

.layer-compressed::before {
  content: '';
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  border-radius: 2px;
  flex-shrink: 0;
}

.process-layer.state-compressed .layer-compressed {
  opacity: 1;
  position: relative;
}

/* Scroll hint */
.process-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  opacity: 1;
  transition: opacity 0.4s ease;
  animation: hintBounce 2s ease-in-out infinite;
}

.process-scroll-hint.hidden {
  opacity: 0;
}

@keyframes hintBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Color accents for each layer when compressed */
.process-layer[data-step="0"] .layer-compressed::before {
  background: linear-gradient(90deg, #8B8B8B, #A0A0A0); /* Pencil gray */
}

.process-layer[data-step="1"] .layer-compressed::before {
  background: linear-gradient(90deg, var(--terracotta-light), var(--gold-light, #E8D5A8)); /* Warm wash */
}

.process-layer[data-step="2"] .layer-compressed::before {
  background: linear-gradient(90deg, var(--terracotta), var(--sage)); /* Building color */
}

.process-layer[data-step="3"] .layer-compressed::before {
  background: linear-gradient(90deg, #F5F2ED, #FFFFFF); /* Gouache white */
}

/* Final state pop animation */
.process-layer.state-final {
  animation: layerPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes layerPop {
  0% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Mobile: simpler version without scroll animation */
@media (max-width: 768px) {
  .process-layers-track {
    height: auto;
  }
  
  .process-layers-sticky {
    position: relative;
    top: 0;
    transform: none;
  }
  
  .process-stack {
    flex-direction: column; /* Normal order on mobile */
  }
  
  .process-layer {
    opacity: 1 !important;
    transform: none !important;
    max-height: none !important;
    margin-bottom: 0.75rem !important;
    margin-top: 0 !important;
  }
  
  .process-layer .layer-full {
    opacity: 1 !important;
    position: relative !important;
  }
  
  .process-layer .layer-compressed {
    display: none;
  }
  
  .process-scroll-hint {
    display: none;
  }
}

/* Process number badge (used in layer-full) */
.process-number {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--paper);
}

.layer-full h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.layer-full p {
  margin: 0;
  font-size: 0.938rem;
  color: var(--ink-light);
  line-height: 1.6;
}

/* Lab Callout - Process Section Link to Watercolor Lab */

.lab-callout {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.lab-callout-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.lab-callout-content:hover {
  border-color: var(--terracotta);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.lab-callout-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  border-radius: var(--radius-sm);
}

.lab-callout-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--paper);
}

.lab-callout-text {
  flex: 1;
  min-width: 0;
}

.lab-callout-text h4 {
  margin: 0 0 0.375rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
}

.lab-callout-text p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.5;
}

.lab-callout-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.lab-callout-link:hover {
  background: var(--terracotta);
  color: var(--paper);
}

.lab-callout-link svg {
  transition: transform var(--transition-fast);
}

.lab-callout-link:hover svg {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .lab-callout-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem;
  }
  
  .lab-callout-link {
    width: 100%;
    justify-content: center;
  }
}

/* About Section */

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3rem;
}

.section-content {
  max-width: 42rem;
}

.section-content p {
  font-size: 1.063rem;
  line-height: 1.75;
  color: var(--ink-light);
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-headshot {
  width: 180px;
  height: 180px;
  margin: 0 auto 0.5rem;
}

.about-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.about-headshot img:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--terracotta);
}

.about-block {
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.about-block:hover {
  box-shadow: var(--shadow-md);
}

.about-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.about-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-block li {
  margin-bottom: 0.5rem;
}

.about-block li:last-child {
  margin-bottom: 0;
}

.about-block a {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.about-block a:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.about-block p {
  margin: 0;
  font-size: 0.938rem;
  line-height: 1.6;
  color: var(--ink-light);
}

/* Prints Section */

.prints-layout {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 3rem;
}

.prints-content h3 {
  margin: 2rem 0 0.75rem 0;
  font-size: 1.25rem;
}

.prints-content h3:first-child {
  margin-top: 0;
}

.prints-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-light);
}

.prints-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cta-card {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.cta-card-muted {
  background: var(--bg-subtle);
}

.cta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.cta-card p {
  margin: 0 0 1.25rem 0;
  font-size: 0.938rem;
  color: var(--ink-light);
  line-height: 1.6;
}

.cta-card .btn-primary,
.cta-card .btn-secondary {
  width: 100%;
  justify-content: center;
}

.cta-card .btn-text {
  font-size: 0.875rem;
}

/* Contact Section */

.section-contact {
  margin-bottom: 2rem;
}

.contact-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item a {
  font-weight: 500;
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
  color: var(--ink-light);
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 300px;
}

.brand-mark-footer {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.footer-brand > div:last-child {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-heading {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-column a {
  font-size: 0.938rem;
  color: var(--ink-light);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--terracotta);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--terracotta);
}

/* ============================================================================
/* ============================================================================
   LIGHTBOX PATCH - Cleaner Full-Screen Experience
   Replace the existing lightbox CSS section (starting around line 1441)
   ============================================================================ */

/* ============================================================================
   LIGHTBOX - Full-Screen Gallery Experience
   ============================================================================ */

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  z-index: 1000;
  background: #000;
}

.lightbox[aria-hidden="false"] {
  display: flex;
}

/* Backdrop - pure black, no opacity animation needed */
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 1;
}

/* Close button */
.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
  z-index: 200;
}

.lightbox-close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-close svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

/* Navigation Arrows */
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: transparent;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-fast);
  z-index: 200;
}

.lightbox-nav:hover:not(:disabled) {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.lightbox-nav svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

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

/* Image Area - Full viewport, scrollable when zoomed */
.lightbox-image-area {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: default;
  touch-action: pan-x pan-y pinch-zoom;
}

/* When zoomed beyond 1x, show grab cursor */
.lightbox-image-area.zoomed {
  cursor: grab;
}

.lightbox-image-area.zoomed:active {
  cursor: grabbing;
}

/* The image itself */
.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.15s ease-out;
  transform-origin: center center;
}

/* Zoom controls - top right, minimal */
.viewer-controls {
  position: fixed;
  top: 1rem;
  right: 5rem;
  display: flex;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.35rem;
  border-radius: 6px;
  z-index: 200;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.lightbox:hover .viewer-controls,
.viewer-controls:hover {
  opacity: 1;
}

.viewer-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.viewer-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.viewer-btn svg {
  width: 18px;
  height: 18px;
}

/* Zoom Indicator - center of screen */
.zoom-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 300;
}

.zoom-indicator.show {
  opacity: 1;
}

/* Watermark - subtle, on image */
.watermark {
  position: fixed;
  bottom: auto;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.625rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  user-select: none;
  z-index: 200;
}

/* ============================================================================
   INFO PANEL - Clean bottom bar, no overlay on image
   ============================================================================ */

.lightbox-info-panel {
  position: relative;
  z-index: 100;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, opacity 0.35s ease;
  flex-shrink: 0;
}

.lightbox.info-hidden .lightbox-info-panel {
  transform: translateY(100%);
  opacity: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.lightbox-info-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

/* Text info - left side */
.lightbox-info-text {
  flex: 1;
  min-width: 0;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: white;
  margin: 0 0 0.25rem;
  line-height: 1.25;
}

.lightbox-meta {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.125rem 0.5rem;
}

.lightbox-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Original details toggle - inline style */
.lightbox-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.625rem;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-details-btn:hover {
  color: rgba(255, 255, 255, 0.7);
}

.lightbox-details-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.lightbox-details-btn.expanded svg {
  transform: rotate(180deg);
}

/* Details panel - expandable */
.lightbox-details-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.lightbox-details-panel.expanded {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 150px;
  opacity: 1;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.detail-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
}

.detail-value {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}

.detail-value.status-available { color: var(--sage); }
.detail-value.status-sold { color: var(--terracotta); }
.detail-value.status-hold { color: var(--gold); }

/* Action buttons - right side */
.lightbox-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  align-items: flex-start;
}

.lightbox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lightbox-btn-primary {
  background: white;
  color: #1a1a1a;
  border: none;
}

.lightbox-btn-primary:hover {
  background: var(--terracotta-light);
  color: white;
}

.lightbox-btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.lightbox-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

/* Fine print */
.lightbox-microcopy {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.5rem;
}

/* Tap hint for mobile */
.tap-hint {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 150;
}

.lightbox.info-hidden .tap-hint {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .tap-hint {
    display: none;
  }
}

/* ============================================================================
   LIGHTBOX RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
  }
  
  .viewer-controls {
    right: 4rem;
    top: 0.75rem;
  }
  
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  
  .lightbox-info-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem 1.25rem;
  }
  
  .lightbox-title {
    font-size: 1.25rem;
  }
  
  .lightbox-actions {
    width: 100%;
  }
  
  .lightbox-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .lightbox-nav {
    display: none;
  }
  
  .viewer-controls {
    right: 3.5rem;
    padding: 0.25rem;
  }
  
  .viewer-btn {
    width: 32px;
    height: 32px;
  }
  
  .lightbox-details-panel {
    grid-template-columns: 1fr 1fr;
  }
  
  .watermark {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
  }
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
  .page {
    padding: 2rem 1.25rem 1.5rem;
  }
  
  .site-header {
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
  }
  
  .header-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .site-nav {
    order: 1;
  }
  
  .theme-toggle {
    order: 2;
  }
  
  .hero {
    flex-direction: column;
    min-height: auto;
    margin-bottom: 3rem;
  }
  
  .hero-image-frame {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem;
    order: -1;
  }
  
  .hero-image-frame:hover {
    transform: translateY(-4px);
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .section-split,
  .prints-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .gallery-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .gallery-filters {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    flex-wrap: nowrap;
  }
  
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .show-more-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    gap: 1rem;
  }
  
  .gallery-item {
    width: 260px;
    height: 380px;
  }
  
  .gallery-image-frame {
    height: 280px;
  }
  
  .gallery-nav {
    display: none; /* Touch scrolling works naturally on mobile */
  }
  
  .gallery-wrapper {
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .gallery-nav {
    width: 40px;
    height: 40px;
  }
  
  .gallery-item {
    height: 400px;
  }
  
  .gallery-image-frame {
    height: 300px;
  }
}

/* ============================================================================
   DARK MODE
   ============================================================================ */

[data-theme="dark"] {
  --bg: #1A1918;
  --bg-subtle: #242220;
  --paper: #2C2A26;
  --ink: #F5F2ED;
  --ink-light: #C4C0B8;
  --muted: #8A857D;
  --line: #3D3A36;
  --line-strong: #4A4640;
}

[data-theme="dark"] body::before {
  opacity: 0.015;
}

[data-theme="dark"] .hero-image-frame,
[data-theme="dark"] .gallery-image-frame {
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 12px 32px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .gallery-nav {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .image-overlay-badge {
  background: rgba(44, 42, 38, 0.92);
  color: var(--ink-light);
}

/* ============================================================================
   PRINT
   ============================================================================ */

@media print {
  .site-header,
  .site-footer,
  .lightbox,
  .btn-primary,
  .btn-secondary {
    display: none;
  }

  body {
    background: white;
  }
  
  body::before {
    display: none;
  }

  .page {
    max-width: 100%;
  }
}
