/* ===== ArtMansion® — style.css ===== */

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

/* ── TOKENS ──────────────────────────────────────── */
:root {
  --bg:        #0e0d0b;
  --bg2:       #161410;
  --bg3:       #1e1b16;
  --card:      #1a1714;
  --border:    rgba(201,168,76,0.18);
  --gold:      #c9a84c;
  --gold-dim:  rgba(201,168,76,0.6);
  --cream:     #f5f0e8;
  --muted:     #8a8070;
  --white:     #ffffff;
  --accent2:   #2bb3a6;
  --radius:    4px;
  --nav-h:     70px;
  --trans:     0.35s cubic-bezier(0.25,0.8,0.25,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ── TYPOGRAPHY ──────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.serif { font-family: 'Cormorant Garamond', serif; }
.gold  { color: var(--gold); }

/* ── CONTAINER ───────────────────────────────────── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(14,13,11,0.72) 0%, transparent 100%);
  transition: background var(--trans), box-shadow var(--trans), backdrop-filter var(--trans);
}
#nav.scrolled {
  background: rgba(14,13,11,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  height: 38px;
  width: 38px;
  border-radius: 8px;
  object-fit: contain;
}
.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.nav-name sup { font-size: 0.55em; vertical-align: super; color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.88);
  padding: 6px 12px;
  border-radius: 2px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  transition: color var(--trans);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  text-shadow: 0 1px 8px rgba(201,168,76,0.4);
}

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--trans);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(14,13,11,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 24px 28px;
  border-bottom: 1px solid var(--border);
  z-index: 890;
  flex-direction: column;
  gap: 4px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--trans);
}
.nav-drawer a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('background.jpg') center/cover no-repeat;
  transform-origin: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1);   }
  to   { transform: scale(1.07); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,13,11,0.62) 0%,
    rgba(14,13,11,0.30) 38%,
    rgba(14,13,11,0.82) 75%,
    rgba(14,13,11,1)    100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
  opacity: 0;
  animation: fadeUp 0.9s 0.3s forwards;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--gold-dim);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
  opacity: 0;
  animation: fadeUp 0.9s 0.55s forwards;
}
.hero-title em {
  display: block;
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1rem;
  color: rgba(245,240,232,0.88);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 40px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
  opacity: 0;
  animation: fadeUp 0.9s 0.75s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.95s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn-primary:hover {
  background: #d4b560;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201,168,76,0.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border: 1px solid rgba(245,240,232,0.3);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: border-color var(--trans), background var(--trans);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeIn 1.5s 1.8s both;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.1); }
}

/* ══════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════ */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.stats-inner {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  max-width: 220px;
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ══════════════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════════════ */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--cream);
}
.section-title em { font-style: italic; color: var(--gold); }
.section-rule {
  width: 60px; height: 1px;
  background: var(--gold-dim);
  margin: 20px auto 0;
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════════ */
#gallery { background: var(--bg); }

/* filter bar */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 52px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all var(--trans);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

/* card */
.art-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  cursor: pointer;
}
.art-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.65);
  border-color: rgba(201,168,76,0.45);
}
.art-card.hidden { display: none; }

.art-img-wrap {
  position: relative;
  overflow: hidden;
  background: #0d0c0a;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* museum-style mat — shows full painting, no cropping, no white bleed */
.art-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.65s ease;
}
.art-card:hover .art-img-wrap img { transform: scale(1.04); }

/* inner vignette — softens any light paper/canvas edges */
.art-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px 12px rgba(0,0,0,0.6);
  pointer-events: none;
}

/* hover overlay — zoom icon centred */
.art-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,13,11,0.52);
  opacity: 0;
  transition: opacity var(--trans);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 1;
}
.art-card:hover .art-overlay { opacity: 1; }
.art-overlay-icon {
  width: 54px; height: 54px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  transition: transform var(--trans), background var(--trans);
  background: rgba(201,168,76,0.08);
}
.art-card:hover .art-overlay-icon { transform: scale(1.1); }
.art-overlay-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.9);
}

.art-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10,9,8,0.88);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

.art-info {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.art-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
  line-height: 1.25;
}
.art-meta {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  flex: 1;
}
.art-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.art-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
}
.art-price-inr {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 1px;
}
.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--trans);
}
.buy-btn:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ══════════════════════════════════════════════════
   ARTIST
══════════════════════════════════════════════════ */
#artist {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.artist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.artist-portrait-wrap {
  position: relative;
}
.artist-portrait-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--card);
}
.artist-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: sepia(0.15) brightness(0.9);
}
.artist-corner {
  position: absolute;
  width: 50px; height: 50px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.5;
}
.artist-corner.tl { top: -12px; left: -12px; border-width: 2px 0 0 2px; }
.artist-corner.br { bottom: -12px; right: -12px; border-width: 0 2px 2px 0; }

.artist-info { }
.artist-title-block { margin-bottom: 32px; }
.artist-name {
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 400;
  color: var(--cream);
}
.artist-origin {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}
.artist-bio-text {
  color: rgba(245,240,232,0.72);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 20px;
}
.artist-statement-block {
  margin-top: 36px;
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  background: rgba(201,168,76,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.artist-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
}
.artist-quote-attr {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
}

/* ══════════════════════════════════════════════════
   COMMISSION
══════════════════════════════════════════════════ */
#commission { background: var(--bg); }
.commission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* steps */
.commission-steps { }
.step-item {
  display: flex;
  gap: 24px;
  margin-bottom: 44px;
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
}
.step-body h4 {
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 6px;
}
.step-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* form */
.commission-form {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.form-title {
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9rem;
  padding: 12px 16px;
  transition: border-color var(--trans);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group select option { background: var(--bg3); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  margin-top: 8px;
  transition: background var(--trans), transform var(--trans);
}
.btn-submit:hover {
  background: #d4b560;
  transform: translateY(-1px);
}
.form-note {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
}
.form-note a { color: var(--gold); }

/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
#contact {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info-block { }
.contact-intro {
  font-size: 1rem;
  color: rgba(245,240,232,0.65);
  line-height: 1.8;
  margin-bottom: 40px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 0.9rem;
  color: var(--cream);
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.social-pill {
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all var(--trans);
}
.social-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* contact form (same class as commission form) */
.contact-form-wrap .commission-form { width: 100%; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  text-align: center;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 6px;
}
.footer-brand sup { font-size: 0.55em; color: var(--gold); }
.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.footer-rule { width: 60px; height: 1px; background: var(--border); margin: 0 auto 28px; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.8;
}
.footer-copy a { color: var(--gold); }

/* ══════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .artist-grid,
  .commission-layout,
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .artist-portrait-wrap { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
  .commission-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { gap: 12px; }
  .stats-inner { gap: 0; }
  .stat-item { min-width: 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* ══════════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════════ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,7,6,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lb-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1100px;
  width: 95vw;
  max-height: 92vh;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.32s cubic-bezier(0.25,0.8,0.25,1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.75);
}
#lightbox.open .lb-inner {
  transform: scale(1) translateY(0);
}

/* image pane */
.lb-img-pane {
  flex: 1 1 60%;
  background: #090807;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.lb-img-pane img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  padding: 28px;
  display: block;
  transition: opacity 0.22s ease;
}
.lb-img-pane img.switching { opacity: 0; }

/* inner vignette on lightbox image too */
.lb-img-pane::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px 16px rgba(0,0,0,0.55);
  pointer-events: none;
}

/* info pane */
.lb-info-pane {
  flex: 0 0 300px;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  overflow-y: auto;
}
.lb-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  background: rgba(201,168,76,0.08);
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 18px;
  width: fit-content;
}
.lb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 10px;
}
.lb-meta {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: 28px;
}
.lb-divider {
  width: 40px; height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}
.lb-price-block { margin-bottom: 30px; }
.lb-price-label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.lb-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.lb-price-inr {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}
.lb-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--trans), transform var(--trans);
  margin-bottom: 14px;
}
.lb-buy-btn:hover {
  background: #d4b560;
  transform: translateY(-1px);
}
.lb-counter {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-top: auto;
  padding-top: 24px;
}

/* nav arrows */
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px; height: 46px;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 50%;
  background: rgba(10,9,8,0.8);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans);
}
.lb-arrow:hover {
  background: rgba(201,168,76,0.18);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}
.lb-arrow.prev { left: 14px; }
.lb-arrow.next { right: 14px; }

/* close button */
.lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(10,9,8,0.85);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans);
}
.lb-close:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(90deg);
}

/* Responsive lightbox */
@media (max-width: 768px) {
  .lb-inner {
    flex-direction: column;
    max-height: 95vh;
    width: 98vw;
  }
  .lb-img-pane {
    flex: 0 0 auto;
    max-height: 55vw;
    min-height: 260px;
  }
  .lb-img-pane img { max-height: 55vw; padding: 16px; }
  .lb-info-pane {
    flex: 1;
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 22px 22px 28px;
    overflow-y: auto;
  }
  .lb-title { font-size: 1.25rem; }
  .lb-price { font-size: 1.8rem; }
  .lb-arrow { display: none; }
}
