/* ═══════════════════════════════════════════════════════════════════
   AMETHYST ART STUDIO — STYLESHEET
   Dark anime-inspired portfolio
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────────────── */
:root {
  --bg:          #0d0f1a;
  --bg-card:     #151729;
  --bg-card-2:   #1a1d2e;
  --bg-card-3:   #1f2236;
  --purple:      #9b59b6;
  --purple-light:#b87fd4;
  --purple-dim:  #6b3d82;
  --purple-glow: rgba(155, 89, 182, 0.35);
  --green:       #6b7c5e;
  --green-light: #8fa880;
  --gold:        #d4a546;
  --gold-light:  #e8c06a;
  --text:        #f0ebe3;
  --text-muted:  #a099b0;
  --text-dim:    #6e6880;
  --border:      rgba(155, 89, 182, 0.18);
  --border-glow: rgba(155, 89, 182, 0.45);
  --nav-h:       68px;

  /* font stacks */
  --font-display: 'Caveat', cursive;
  --font-heading: 'Cinzel', serif;
  --font-body:    'Nunito', sans-serif;
  --font-prose:   'Lora', serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;

  /* Subtle noise grain overlay */
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

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

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

/* ── Selection ─────────────────────────────────────────────────────── */
::selection { background: var(--purple-dim); color: var(--text); }

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(13, 15, 26, 0.78);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#main-nav.scrolled {
  background: rgba(13, 15, 26, 0.94);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple-dim);
  box-shadow: 0 0 10px var(--purple-glow);
  transition: box-shadow 0.3s;
}
.nav-logo:hover .nav-logo-img {
  box-shadow: 0 0 18px var(--purple-glow), 0 0 36px rgba(155,89,182,0.2);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--text);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  position: relative;
  transition: color 0.25s, background 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: var(--purple);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(155,89,182,0.1);
}

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

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--purple-light);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--purple-light);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 3rem) 2rem 6rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(155,89,182,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(107,124,94,0.08) 0%, transparent 60%),
    var(--bg);
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw);
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(155,89,182,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: hero-glow-pulse 6s ease-in-out infinite;
}
@keyframes hero-glow-pulse {
  0%,100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%     { opacity: 1;   transform: translateX(-50%) scale(1.06); }
}

/* Decorative gem diamonds */
.gem {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  transform: rotate(45deg);
  border: 1px solid var(--purple);
}
.gem-1 { width: 28px; height: 28px; top: 18%; left: 8%;  animation: gem-float 8s ease-in-out infinite; }
.gem-2 { width: 16px; height: 16px; top: 35%; right: 10%; animation: gem-float 6s ease-in-out infinite 1.5s; background: rgba(155,89,182,0.15); }
.gem-3 { width: 44px; height: 44px; bottom: 20%; left: 5%; animation: gem-float 10s ease-in-out infinite 0.5s; }
.gem-4 { width: 20px; height: 20px; bottom: 35%; right: 7%; animation: gem-float 7s ease-in-out infinite 2s; background: rgba(212,165,70,0.15); border-color: var(--gold); }
@keyframes gem-float {
  0%,100% { transform: rotate(45deg) translateY(0);    opacity: 0.22; }
  50%      { transform: rotate(45deg) translateY(-14px); opacity: 0.38; }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  text-align: center;
}

/* Logo */
.hero-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-card {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(155,89,182,0.45);
  box-shadow:
    0 0 0 6px rgba(155,89,182,0.08),
    0 0 40px rgba(155,89,182,0.28),
    0 0 80px rgba(155,89,182,0.1);
  transition: box-shadow 0.4s;
}
.hero-logo-card:hover {
  box-shadow:
    0 0 0 6px rgba(155,89,182,0.18),
    0 0 60px rgba(155,89,182,0.5),
    0 0 120px rgba(155,89,182,0.2);
}

.hero-logo {
  width: min(190px, 46vw);
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-logo-card:hover .hero-logo {
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

.hero-logo-ring {
  position: absolute;
  inset: -18px;
  border-radius: 22px;
  border: 1px solid rgba(155,89,182,0.3);
  animation: ring-spin 20s linear infinite;
  pointer-events: none;
}
.hero-logo-ring::before {
  content: '✦';
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--gold);
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hero text */
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  line-height: 1;
}

.hero-title-amethyst {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #c084e8 0%, var(--purple) 50%, #7a3d9e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(155,89,182,0.5));
}

.hero-title-art {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

.hero-tagline {
  font-family: var(--font-prose);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* Hero nav buttons */
.hero-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn {
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-glow);
  color: var(--text-muted);
  background: rgba(155,89,182,0.08);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.hero-btn:hover {
  color: var(--text);
  border-color: var(--purple);
  background: rgba(155,89,182,0.18);
  box-shadow: 0 0 20px rgba(155,89,182,0.25);
}

.hero-btn--accent {
  background: linear-gradient(135deg, var(--purple-dim), var(--purple));
  border-color: var(--purple);
  color: var(--text);
  box-shadow: 0 4px 20px rgba(155,89,182,0.35);
}
.hero-btn--accent:hover {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  box-shadow: 0 6px 30px rgba(155,89,182,0.55);
  transform: translateY(-2px);
}

/* Social links row */
.hero-socials {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.25s;
}
.social-link:hover {
  color: var(--text);
  border-color: var(--border-glow);
  background: rgba(155,89,182,0.12);
  box-shadow: 0 0 14px rgba(155,89,182,0.2);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: 0.5; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.2) translateY(5px); }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION SHARED STYLES
   ═══════════════════════════════════════════════════════════════════ */
.section {
  padding: 6rem 2rem;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.2;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-family: var(--font-prose);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.title-underline {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--purple), var(--gold));
  border-radius: 1px;
  margin: 0.8rem auto 0;
}

/* ── Reveal animations ────────────────────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════════════ */
.about-section {
  background:
    radial-gradient(ellipse 70% 50% at 30% 50%, rgba(107,124,94,0.06) 0%, transparent 65%),
    var(--bg-card);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.about-art {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-art-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 0 0 1px rgba(155,89,182,0.08);
  transition: box-shadow 0.35s, border-color 0.35s;
}
.about-art-frame:hover {
  border-color: var(--border-glow);
  box-shadow:
    0 12px 48px rgba(0,0,0,0.6),
    0 0 24px rgba(155,89,182,0.2);
}

.about-art-img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 0.5s ease;
}
.about-art-frame--sm .about-art-img {
  aspect-ratio: 16/9;
}
.about-art-frame:hover .about-art-img {
  transform: scale(1.04);
}

.about-art-badge {
  position: absolute;
  bottom: 12px; right: 12px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  background: rgba(13,15,26,0.8);
  border: 1px solid rgba(212,165,70,0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* Bio column */
.about-bio-inner {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.about-bio-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--purple), var(--gold), var(--green));
}

.bio-text {
  font-family: var(--font-prose);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.bio-text:last-of-type { margin-bottom: 1.8rem; }

.about-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.tool-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(107,124,94,0.35);
  color: var(--green-light);
  background: rgba(107,124,94,0.1);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.8rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--purple-dim), var(--purple));
  color: var(--text);
  border: 1px solid var(--purple);
  box-shadow: 0 4px 20px rgba(155,89,182,0.3);
  transition: all 0.25s;
}
.cta-btn:hover {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  box-shadow: 0 6px 28px rgba(155,89,182,0.5);
  transform: translateY(-2px);
}
.cta-btn--outline {
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--text-muted);
  box-shadow: none;
}
.cta-btn--outline:hover {
  background: rgba(155,89,182,0.12);
  color: var(--text);
  box-shadow: 0 4px 18px rgba(155,89,182,0.2);
}

/* ═══════════════════════════════════════════════════════════════════
   GALLERY SECTION
   ═══════════════════════════════════════════════════════════════════ */
.gallery-section {
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 70% 30%, rgba(155,89,182,0.06) 0%, transparent 65%),
    var(--bg);
}

.gallery-bg-strip {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--purple-dim), transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 1rem;
}

.gallery-item--tall  { grid-row: span 2; }
.gallery-item--wide  { grid-column: span 2; }

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.gallery-item:hover {
  border-color: var(--border-glow);
  box-shadow:
    0 0 0 1px var(--purple),
    0 8px 32px rgba(0,0,0,0.5),
    0 0 24px rgba(155,89,182,0.25);
  transform: translateY(-3px);
  z-index: 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(13,15,26,0.75) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  font-size: 2.5rem;
  color: var(--purple-light);
  text-shadow: 0 0 20px var(--purple-glow);
  line-height: 1;
}

/* ── Lightbox ─────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,12,0.95);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: min(1200px, 95vw);
  padding: 1rem;
}

.lightbox-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.8), 0 0 40px rgba(155,89,182,0.2);
  border: 1px solid rgba(155,89,182,0.2);
}

.lightbox-close {
  position: absolute;
  top: -2rem; right: 0;
  font-size: 1.3rem;
  color: var(--text-muted);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.lightbox-close:hover {
  color: var(--text);
  border-color: var(--purple);
  background: var(--bg-card-2);
}

.lightbox-prev,
.lightbox-next {
  font-size: 2.5rem;
  color: var(--text-muted);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(21,23,41,0.8);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
  backdrop-filter: blur(6px);
}
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--text);
  border-color: var(--purple);
  background: var(--bg-card-2);
  box-shadow: 0 0 18px rgba(155,89,182,0.3);
}

.lightbox-caption {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════
   COMMISSIONS SECTION
   ═══════════════════════════════════════════════════════════════════ */
.commissions-section {
  background:
    radial-gradient(ellipse 60% 60% at 20% 70%, rgba(107,124,94,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(155,89,182,0.07) 0%, transparent 65%),
    var(--bg-card);
}

/* Rules banner */
.comm-rules {
  background: var(--bg-card-2);
  border: 1px solid rgba(212,165,70,0.3);
  border-radius: 14px;
  padding: 2rem 2.5rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.comm-rules::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.comm-rules-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}
.comm-rules-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.comm-rules-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  justify-content: center;
  list-style: none;
}
.comm-rules-list li {
  font-family: var(--font-prose);
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rule-icon {
  font-size: 1.1rem;
}

/* Pricing cards */
.comm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.comm-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.comm-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow:
    0 12px 48px rgba(0,0,0,0.4),
    0 0 30px var(--purple-glow);
}

.comm-card--trad-bw .comm-card-header  { background: linear-gradient(135deg, rgba(107,124,94,0.25), rgba(107,124,94,0.08)); }
.comm-card--trad-bw:hover               { box-shadow: 0 12px 48px rgba(0,0,0,0.4), 0 0 28px rgba(107,124,94,0.2); border-color: rgba(107,124,94,0.45); }

.comm-card--trad-color .comm-card-header { background: linear-gradient(135deg, rgba(212,165,70,0.2), rgba(212,165,70,0.06)); }
.comm-card--trad-color:hover             { box-shadow: 0 12px 48px rgba(0,0,0,0.4), 0 0 28px rgba(212,165,70,0.2); border-color: rgba(212,165,70,0.35); }

.comm-card--digital .comm-card-header   { background: linear-gradient(135deg, rgba(155,89,182,0.25), rgba(155,89,182,0.06)); }

.comm-card-header {
  padding: 2rem 1.8rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comm-card-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
.comm-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
}
.comm-card-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.comm-tiers {
  padding: 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.comm-tier {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tier-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.tier-divider {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    rgba(255,255,255,0.08) 0px,
    rgba(255,255,255,0.08) 4px,
    transparent 4px,
    transparent 8px
  );
}
.tier-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.comm-card--digital   .tier-price { color: var(--purple-light); }
.comm-card--trad-bw   .tier-price { color: var(--green-light); }
.comm-card--trad-color .tier-price { color: var(--gold-light); }

/* Commissions CTA */
.comm-cta {
  text-align: center;
}
.comm-cta-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.comm-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.footer-logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  opacity: 0.8;
}
.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--purple-light); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-art {
    flex-direction: row;
  }
  .about-art-frame {
    flex: 1;
  }
  .about-art-frame--sm {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item--wide { grid-column: span 1; }
  .comm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(13,15,26,0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0 1.5rem;
    flex-direction: column;
    gap: 0;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
  .nav-logo-text { display: none; }

  .hero {
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 5rem;
  }
  .hero-logo { width: 150px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }
  .gallery-item--tall  { grid-row: span 1; }

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

  .about-art { flex-direction: column; }
  .about-art-frame--sm { display: block; }
  .about-art-img { aspect-ratio: 3/2; }
  .about-art-frame--sm .about-art-img { aspect-ratio: 3/2; }

  .comm-rules-list {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .lightbox-inner {
    gap: 0.75rem;
    padding: 0.5rem;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 36px; height: 36px;
    font-size: 1.8rem;
  }
}

@media (max-width: 400px) {
  .hero-socials { flex-direction: column; }
  .section { padding: 4rem 1.25rem; }
}
