/* ===================================================================
   FUSION OF LIGHT - Cristina Ungureanu Fine Art Portfolio
   Native CSS3 (Zero 3rd-party dependencies)
   WCAG 2.1 AA / ADA Accessible Design System
   =================================================================== */

:root {
  --bg-primary: #101114;
  --bg-secondary: #17181d;
  --bg-tertiary: #20222a;
  --bg-glass: rgba(16, 17, 20, 0.94);
  
  --text-primary: #f4f5f7;
  --text-secondary: #9da1b0;
  --text-muted: #6e7282;
  
  --accent-gold: #cfa85b;
  --accent-gold-hover: #e5bd6d;
  --accent-gold-soft: rgba(207, 168, 91, 0.14);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(207, 168, 91, 0.6);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.7);
  
  --font-serif: "Georgia", "Cambria", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

/* ===================================================================
   ADA / Accessibility Requirements (WCAG 2.1 AA)
   =================================================================== */

/* 1. Skip-to-content link */
.skip-link {
  position: absolute;
  top: -120px;
  left: 2rem;
  background: var(--accent-gold);
  color: #101114;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 10000;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1.5rem;
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* 2. Keyboard Focus Indicators */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* 3. Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Typography */
h1, h2, h3, h4, .serif-text {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.5rem; line-height: 1.25; }
h2 { font-size: 1.85rem; line-height: 1.3; }
h3 { font-size: 1.3rem; line-height: 1.4; }
p { margin-bottom: 1rem; color: var(--text-secondary); }

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.brand-signature {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

.brand-tagline-sub {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
  margin-left: -50px;
  margin-top: -13px;
  white-space: nowrap;
  pointer-events: none;
}

/* Navigation - Works, About, Contact */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-gold);
}

/* Page Intro (For About, Copyright, Privacy, Contact) */
.page-intro {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.page-intro-inner {
  max-width: 780px;
}

.page-intro h1 {
  margin-bottom: 0.5rem;
}

.page-intro p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Gallery Section (index.html) */
.gallery-section {
  padding: 2.5rem 0 5rem;
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

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

.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-focus);
}

.filter-tab.active {
  background: var(--accent-gold);
  color: #101114;
  font-weight: 600;
  border-color: var(--accent-gold);
}

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

/* Artwork Gallery Masonry Grid - Preserves exact cropped artwork aspect ratios */
.gallery-grid {
  column-count: 3;
  column-gap: 2.25rem;
  display: block;
}

.artwork-card {
  break-inside: avoid;
  margin-bottom: 2.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: block;
}

.artwork-card:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  transform: translateY(-4px);
}

.artwork-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-lg);
}

.artwork-media-wrap {
  position: relative;
  overflow: hidden;
  background: #090a0d;
  width: 100%;
}

.artwork-thumb {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none !important;
  -webkit-user-drag: none !important;
  pointer-events: none !important;
}

.artwork-card:hover .artwork-thumb {
  transform: scale(1.03);
}

.image-shield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.001);
  cursor: pointer;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.artwork-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: rgba(16, 17, 20, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.artwork-info {
  padding: 1.5rem;
}

.artwork-title {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.artwork-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.artwork-status {
  color: var(--accent-gold);
  font-weight: 500;
}

/* Lightbox Modal (Protected High-Res View) */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(10, 11, 13, 0.96);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

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

.lightbox-header {
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}

.lightbox-title-area h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.lightbox-title-area span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--accent-gold);
}

/* Lightbox Return to Gallery Buttons */
.lightbox-return-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.lightbox-return-btn:hover {
  background: rgba(207, 168, 91, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.lightbox-close-icon {
  font-size: 1.15rem;
  line-height: 1;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
}

.return-arrow {
  display: inline-block;
  font-weight: bold;
  font-size: 1.05rem;
  transition: transform 0.15s ease;
}

.lightbox-return-btn:hover .return-arrow,
.mobile-return-btn:hover .return-arrow {
  transform: translateX(-3px);
}

.mobile-return-bar {
  display: none;
}

.lightbox-body {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-stage {
  max-width: 90vw;
  max-height: 82vh;
  position: relative;
  transition: transform 0.2s ease-out;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-canvas {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.85);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none !important;
  -webkit-user-drag: none !important;
  display: block;
  pointer-events: none !important;
}

.lightbox-shield {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.001);
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  cursor: grab;
}

.lightbox-loading {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  padding: 1.5rem 2.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  user-select: none;
  -webkit-touch-callout: none !important;
}

/* Lightbox Inquire Button */
.lightbox-inquire-btn {
  background: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  color: #0d0e12 !important;
  font-weight: 700;
  text-decoration: none;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
  transition: all 0.2s ease;
}

.lightbox-inquire-btn:hover {
  background: #e6c35c;
  border-color: #e6c35c;
  color: #000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

/* Wall View Mode (Virtual Gallery Room) */
.lightbox-modal.wall-view-mode .lightbox-body {
  background: #f6f5f0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

/* Wall Paint Color Swatches */
.lightbox-modal.wall-view-mode[data-wall-color="offwhite"] .lightbox-body {
  background: #f6f5f0;
}
.lightbox-modal.wall-view-mode[data-wall-color="linen"] .lightbox-body {
  background: #eee7dc;
}
.lightbox-modal.wall-view-mode[data-wall-color="greige"] .lightbox-body {
  background: #e4e1da;
}
.lightbox-modal.wall-view-mode[data-wall-color="slate"] .lightbox-body {
  background: #32353e;
}

.wall-room-container {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: auto;
  z-index: 1;
  overflow: hidden;
  flex-direction: column;
}

.lightbox-modal.wall-view-mode .wall-room-container {
  display: flex;
}

.lightbox-modal.wall-view-mode .lightbox-stage {
  display: none !important;
}

.lightbox-modal.wall-view-mode .zoom-control {
  display: none !important;
}

.lightbox-modal.wall-view-mode #wall-view-btn {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 700;
}

/* Wall View Toolbar */
.wall-view-toolbar {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
  margin-right: 1.15rem;
  flex-wrap: wrap;
}

.swatch-label {
  font-size: 0.74rem;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.35rem;
}

.wall-swatches {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.wall-swatch-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  padding: 0;
}

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

.wall-swatch-btn.active {
  transform: scale(1.18);
  border-color: var(--accent-gold, #cfa85b);
  box-shadow: 0 0 8px rgba(207, 168, 91, 0.55);
}

.furniture-selector {
  display: flex;
  align-items: center;
}

.wall-select {
  background: #181a20;
  color: #e5e5e7;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 0.76rem;
  cursor: pointer;
}

.wall-select:focus {
  outline: none;
  border-color: var(--accent-gold, #cfa85b);
}

.wall-scale-badge {
  background: rgba(0, 0, 0, 0.45);
  color: var(--accent-gold, #cfa85b);
  border: 1px solid rgba(207, 168, 91, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Ceiling Light Glow */
.room-ceiling-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(246, 245, 240, 0.6) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.3s ease;
}

.lightbox-modal.wall-view-mode[data-wall-color="slate"] .room-ceiling-glow {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.4) 0%, rgba(50, 53, 62, 0.4) 60%, transparent 100%);
}

/* Room Wall Stage (Artworks + Furniture) */
.room-wall-stage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 18vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 5;
}

.room-furniture-wrap {
  width: min(620px, 82vw);
  max-height: 250px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 8;
}

.room-sofa-svg {
  height: auto;
  display: block;
}

#furniture-sofa-84 {
  width: 100%;
}

#furniture-sofa-60 {
  width: 71.4%;
}

#furniture-bench-48 {
  width: 57.1%;
}

/* Hung Artworks Group (Physical Scale Proportional) */
.wall-hung-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 34px;
  z-index: 6;
  max-width: 90vw;
  flex-wrap: nowrap;
}

.hung-artwork-frame {
  position: relative;
  background: #fff;
  border: 2px solid rgba(25, 25, 25, 0.25);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18), 0 3px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hung-artwork-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hung-artwork-frame.active-piece {
  outline: 2px solid var(--accent-gold, #cfa85b);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), 0 0 12px rgba(207, 168, 91, 0.5);
}

.hung-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.hung-art-plaque {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 22, 28, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.65rem;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.hung-art-remove-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff4757;
  color: #fff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 11;
  line-height: 1;
  padding: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}

.hung-art-remove-btn:hover {
  background: #e84118;
  transform: scale(1.12);
}

/* Floor & Baseboard */
.room-floor-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18vh;
  z-index: 3;
  display: flex;
  flex-direction: column;
}

.room-baseboard {
  height: 16px;
  background: #f8f7f4;
  border-top: 1px solid #e2ded5;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 4;
}

.lightbox-modal.wall-view-mode[data-wall-color="slate"] .room-baseboard {
  background: #252830;
  border-top: 1px solid #1c1e24;
}

.baseboard-molding {
  height: 3px;
  background: #eae6dd;
  border-bottom: 1px solid #dcd7ce;
}

.lightbox-modal.wall-view-mode[data-wall-color="slate"] .baseboard-molding {
  background: #1e2027;
  border-bottom: 1px solid #17181f;
}

.room-wood-floor {
  flex: 1;
  background: linear-gradient(to bottom, #d4c5a6 0%, #beaf8e 45%, #a69777 100%);
  box-shadow: inset 0 8px 18px rgba(0, 0, 0, 0.14);
  position: relative;
}

/* Multi-Artwork Portfolio Tray / Drawer */
.wall-picker-drawer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 290px;
  background: rgba(18, 20, 26, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid var(--accent-gold, #cfa85b);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.6);
  animation: slideUpDrawer 0.25s ease-out;
}

@keyframes slideUpDrawer {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.picker-close-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.5rem;
  transition: color 0.2s ease;
}

.picker-close-btn:hover {
  color: #fff;
}

.picker-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0.25rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold, #cfa85b) rgba(255, 255, 255, 0.08);
}

.picker-card {
  flex: 0 0 130px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
}

.picker-card:hover {
  background: rgba(207, 168, 91, 0.14);
  border-color: var(--accent-gold, #cfa85b);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.picker-card-thumb {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 0.4rem;
  background: #000;
}

.picker-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.picker-card-dims {
  font-size: 0.68rem;
  color: #aaa;
  margin-top: 0.15rem;
}

.picker-card.already-hung {
  opacity: 0.35;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

.picker-card.already-hung:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: none;
  box-shadow: none;
}

/* About / Bio Page */
.bio-section {
  padding: 3.5rem 0 5rem;
}

.bio-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.bio-portrait-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.bio-portrait-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.bio-portrait-card.placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #18191f 0%, #262933 100%);
  border: 1px dashed var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  padding: 2rem;
}

.bio-portrait-card.has-photo {
  background: transparent;
  border: none;
  padding: 0;
  display: block;
}

.bio-portrait-img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none !important;
  -webkit-user-drag: none !important;
  pointer-events: none !important;
}

.bio-portrait-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.bio-caption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  text-align: center;
}

.bio-content h2 {
  margin: 2rem 0 0.8rem;
  font-size: 1.45rem;
}

.bio-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.quote-box {
  border-left: 3px solid var(--accent-gold);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  background: var(--accent-gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Copyright & Legal Pages */
.legal-section {
  padding: 3.5rem 0 5rem;
}

.legal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3rem;
  margin-bottom: 2rem;
}

.copyright-display-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.copyright-live-text {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--accent-gold);
  letter-spacing: 0.03em;
}

.copyright-simulator-bar {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.sim-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.sim-buttons {
  display: flex;
  gap: 0.5rem;
}

.sim-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.sim-btn.active {
  background: var(--accent-gold);
  color: #101114;
  font-weight: 600;
  border-color: var(--accent-gold);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.legal-subcard {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.legal-subcard h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.legal-subcard p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Privacy Page */
.privacy-list {
  list-style: none;
  margin: 2rem 0;
}

.privacy-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  gap: 1.25rem;
  font-size: 1rem;
}

.privacy-icon {
  color: var(--accent-gold);
  font-size: 1.2rem;
  font-weight: bold;
}

/* Privacy Clean Link (Zero Underline) */
.privacy-clean-link {
  color: var(--accent-gold);
  text-decoration: none;
}

.privacy-clean-link:hover {
  color: var(--accent-gold-hover);
  text-decoration: none;
}

/* Contact Page */
.contact-section {
  padding: 3.5rem 0 5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.btn-primary {
  background: var(--accent-gold);
  color: #101114;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  background: var(--bg-secondary);
}

/* Secret Admin Portal Specifics */
.admin-dashboard-layout {
  padding: 3rem 0 5rem;
}

.admin-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 1.25rem 2rem;
  border-bottom: 2px solid var(--border-subtle);
}

.admin-secret-tag {
  font-size: 0.75rem;
  color: #ff4757;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-nav-tabs {
  display: flex;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-subtle);
}

.admin-tab {
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
}

.admin-tab.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
  font-weight: 600;
}

.admin-pane {
  padding: 2.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  display: none;
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th, .admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table th {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.table-thumb {
  width: 50px;
  height: 38px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.action-btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.action-btn:hover {
  color: #fff;
  border-color: var(--accent-gold);
}

.action-btn.delete:hover {
  border-color: #ff4757;
  color: #ff4757;
}

.upload-dropzone {
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--bg-primary);
  margin-bottom: 2rem;
  transition: var(--transition);
}

.upload-dropzone:hover {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
}

.dropzone-icon {
  width: 44px;
  height: 44px;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.studio-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.studio-card.active-choice {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px var(--accent-gold);
}

.studio-preview-box {
  background: #101114;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  margin: 1rem 0;
}

.studio-signature-img {
  max-width: 95%;
  max-height: 70px;
  object-fit: contain;
}

/* Footer with Copyright and Privacy Links */
.site-footer {
  padding: 4rem 0 2.5rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  margin-top: auto;
}

.footer-signature {
  height: 48px;
  width: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: var(--accent-gold);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .bio-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .gallery-grid {
    column-count: 2;
    column-gap: 1.5rem;
  }
  .artwork-card {
    margin-bottom: 1.5rem;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  /* Mobile Lightbox Responsive Enhancements */
  .lightbox-header {
    padding: 0.85rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .lightbox-title-area {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
  }

  .lightbox-title-area h3 {
    font-size: 1.15rem;
    margin-bottom: 0;
  }

  .lightbox-title-area span {
    font-size: 0.8rem;
  }

  .lightbox-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .zoom-control {
    display: none !important;
  }

  .lightbox-return-btn {
    font-size: 0.82rem;
    padding: 0.45rem 0.8rem;
    background: rgba(207, 168, 91, 0.18);
    border-color: var(--accent-gold, #cfa85b);
    color: var(--accent-gold, #cfa85b);
  }

  .lightbox-inquire-btn {
    font-size: 0.8rem;
    padding: 0.45rem 0.75rem;
  }

  .lightbox-btn {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }

  .mobile-return-bar {
    display: flex;
    position: fixed;
    bottom: 1.25rem;
    left: 0;
    right: 0;
    justify-content: center;
    pointer-events: none;
    z-index: 95;
  }

  .mobile-return-btn {
    pointer-events: auto;
    background: rgba(18, 20, 26, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--accent-gold, #cfa85b);
    color: #fff;
    padding: 0.65rem 1.4rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 12px rgba(207, 168, 91, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
  }

  .mobile-return-btn:active {
    transform: scale(0.96);
    background: rgba(207, 168, 91, 0.25);
  }

  .lightbox-body {
    padding: 1rem 0.75rem 4.5rem;
  }

  /* Wall View adjustments for Mobile */
  .wall-view-toolbar {
    margin-left: 0;
    margin-right: 0;
    gap: 0.5rem;
    width: 100%;
    justify-content: flex-start;
  }

  .room-furniture-wrap {
    width: 92vw;
  }
}

@media (max-width: 650px) {
  .gallery-grid {
    column-count: 1;
    column-gap: 0;
  }
  .artwork-card {
    margin-bottom: 1.35rem;
  }
}
