/* ===================================
   Karla Ruiz Art — Modern Portfolio
   Dark Gothic Fantasy Theme
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;500;600&family=Crimson+Text:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ---- Custom Properties ---- */
:root {
  --bg:         #07070e;
  --bg-2:       #0d0d1c;
  --bg-3:       #121225;
  --bg-4:       #181832;
  --bg-card:    #10101e;

  --gold:       #c9a55a;
  --gold-light: #e8c87c;
  --gold-dim:   #6e5928;
  --gold-glow:  rgba(201,165,90,0.18);

  --crimson:        #8b1527;
  --crimson-bright: #b82038;
  --crimson-dim:    rgba(139,21,39,0.15);

  --text:       #e2dece;
  --text-2:     #a09c88;
  --text-3:     #5c5a6a;
  --text-gold:  #c9a55a;

  --border:     #1c1c30;
  --border-2:   #2a2a44;
  --border-gold:rgba(201,165,90,0.3);

  --nav-height: 70px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --max-width:  1200px;

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

::selection { background: var(--gold-dim); color: var(--gold-light); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.display-title {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text);
  margin-top: 0.5rem;
}

/* ---- Ornament Divider ---- */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim));
}
.ornament::after {
  background: linear-gradient(to left, transparent, var(--gold-dim));
}
.ornament-icon {
  color: var(--gold-dim);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .ornament { justify-content: center; max-width: 300px; margin: 1.2rem auto; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section { padding: var(--section-pad) 0; }

/* ==================================
   NAVIGATION
   ================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-smooth), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(7,7,14,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1.2;
  flex-shrink: 0;
}
.nav-logo span {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav-logo:hover { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(1.25rem, 3vw, 2.2rem);
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-smooth);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--bg) !important;
  background: var(--gold);
  padding: 0.45rem 1.1rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--bg) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-2);
  transition: 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ==================================
   HERO
   ================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,7,14,0.88) 0%,
    rgba(7,7,14,0.65) 50%,
    rgba(7,7,14,0.82) 100%
  );
}
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, var(--bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3rem) clamp(1.25rem, 4vw, 2.5rem) 5rem;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s var(--ease-smooth) 0.3s forwards;
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s var(--ease-smooth) 0.5s forwards;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--text-2);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s var(--ease-smooth) 0.7s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.9s var(--ease-smooth) 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-3);
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-smooth) 1.5s forwards;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2s ease-in-out 2s infinite;
}

/* ==================================
   BUTTONS
   ================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,165,90,0.28);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  background: var(--gold-glow);
}

/* ==================================
   FEATURED SECTION
   ================================== */
.featured-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 3px;
}

.art-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  aspect-ratio: 3/4;
}

.art-card:first-child {
  grid-column: span 2;
  aspect-ratio: 4/3;
}

.art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.art-card:hover img { transform: scale(1.06); }

.art-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,14,0.92) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.art-card:hover .art-card-overlay { opacity: 1; }

.art-card-title {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.art-card-year {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

.featured-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ==================================
   ABOUT SECTION
   ================================== */
.about-section { background: var(--bg); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--text-2);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.meta-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.meta-item:first-child { border-top: 1px solid var(--border); }

.meta-label {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.meta-value {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  color: var(--text-2);
}

.influences-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.influence-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border-2);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  transition: all 0.2s;
}
.influence-tag:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* ==================================
   GALLERY PAGE
   ================================== */
.gallery-page-header {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 2rem;
  text-align: center;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0 0;
}

.filter-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  background: transparent;
  border: 1px solid var(--border-2);
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  color: var(--text-2);
  border-color: var(--border-gold);
}
.filter-btn.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.gallery-section {
  padding: 3rem 0 var(--section-pad);
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  aspect-ratio: 3/4;
  transition: opacity 0.35s, transform 0.35s;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(7,7,14,0.95) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-smooth);
}
.gallery-item:hover .gallery-item-info { transform: translateY(0); }

.gallery-item-title {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.gallery-item-year {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.gallery-count {
  text-align: center;
  margin-top: 2rem;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ==================================
   COMMISSIONS
   ================================== */
.commissions-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.commission-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-2);
  font-size: 1.1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.price-card {
  background: var(--bg-card);
  padding: 1.5rem 1.2rem;
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.price-card:hover {
  background: var(--bg-3);
  border-bottom-color: var(--gold-dim);
}

.price-size {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.price-amount {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}
.price-unit {
  font-family: 'Crimson Text', serif;
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 0.3rem;
}

.commission-notes {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.commission-note {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--text-2);
}
.commission-note::before {
  content: '◆';
  color: var(--gold-dim);
  font-size: 0.5rem;
  flex-shrink: 0;
  position: relative;
  top: -2px;
}

.commission-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ==================================
   CONTACT
   ================================== */
.contact-section { background: var(--bg); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-text p {
  color: var(--text-2);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 0.8rem 1.4rem;
  border-radius: 2px;
  margin-top: 0.5rem;
  transition: all 0.2s;
}
.contact-email:hover {
  background: var(--gold-glow);
  color: var(--gold-light);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  transition: all 0.2s;
}
.social-link:first-child { border-top: 1px solid var(--border); }
.social-link:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

.social-platform {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: inherit;
  min-width: 110px;
}
.social-handle {
  font-family: 'Crimson Text', serif;
  font-size: 0.95rem;
  color: var(--text-3);
}

/* ==================================
   FOOTER
   ================================== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  list-style: none;
}
.footer-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-family: 'Crimson Text', serif;
  font-size: 0.85rem;
  color: var(--text-3);
}

/* ==================================
   LIGHTBOX
   ================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(90vh - 80px);
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  border: 1px solid var(--border-2);
}

.lightbox-caption {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
  text-align: center;
}
.lightbox-year {
  color: var(--gold);
  margin-left: 1rem;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 2px;
  color: var(--text-2);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}
.lightbox-close:hover {
  background: var(--bg-4);
  color: var(--text);
  border-color: var(--gold-dim);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 2px;
  color: var(--text-2);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}
.lightbox-nav:hover { background: var(--bg-4); color: var(--text); border-color: var(--gold-dim); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ==================================
   ANIMATIONS
   ================================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================
   RESPONSIVE
   ================================== */
@media (max-width: 900px) {
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .art-card:first-child {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 700px) {
  :root { --nav-height: 60px; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(7,7,14,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem clamp(1.25rem,4vw,2.5rem);
    gap: 0.2rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease-smooth);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.6rem 0; font-size: 0.78rem; }
  .nav-toggle { display: flex; }

  .featured-grid { grid-template-columns: 1fr 1fr; }
  .art-card:first-child { grid-column: 1 / -1; }

  .pricing-grid { grid-template-columns: repeat(3, 1fr); }

  .lightbox-nav { display: none; }
}

@media (max-width: 480px) {
  .featured-grid { grid-template-columns: 1fr; }
  .art-card:first-child { grid-column: auto; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Gallery page specific nav padding ---- */
.page-content {
  padding-top: var(--nav-height);
}

/* ---- Subtle decorative line under nav ---- */
.nav-wordmark-accent {
  display: inline-block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
  margin-top: 4px;
}
