/* ============================================
   ImagineJones - Artist Portfolio
   Psychedelic & Surreal Art — Polished Edition
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg: #07070c;
  --bg-elevated: #0d0d15;
  --bg-surface: #131320;
  --bg-card: #16162a;
  --text: #f0ece4;
  --text-dim: #b5b0c0;
  --text-muted: #706c7a;
  --accent: #ff2d7b;
  --accent-hover: #ff4d90;
  --accent-secondary: #00e5ff;
  --accent-tertiary: #a855f7;
  --neon-glow: 0 0 15px rgba(255, 45, 123, 0.35), 0 0 50px rgba(255, 45, 123, 0.12);
  --cyan-glow: 0 0 15px rgba(0, 229, 255, 0.35), 0 0 50px rgba(0, 229, 255, 0.12);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --nav-height: 72px;
  --section-pad: clamp(80px, 12vw, 140px);
  --side-pad: clamp(20px, 5vw, 72px);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  touch-action: none;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 16px; /* prevents iOS zoom */ }

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* Focus visible for keyboard accessibility */
:focus-visible {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 3px;
}

/* --- Noise Texture Overlay --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* --- Loading Screen --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

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

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.loader-cat {
  width: 80px;
  height: 80px;
  margin-bottom: 32px;
  animation: loaderSpin 2s linear infinite;
  filter: drop-shadow(0 0 12px rgba(255, 45, 123, 0.4));
}

@keyframes loaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- Custom Cursor (desktop only) --- */
.cursor, .cursor-follower {
  position: fixed;
  pointer-events: none;
  z-index: 8000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-follower { display: block; }
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  mix-blend-mode: difference;
  transition: transform 0.15s;
}

.cursor.clicking {
  transform: translate(-50%, -50%) scale(0.7);
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 45, 123, 0.4);
  transition: width 0.35s var(--ease-out-expo), height 0.35s var(--ease-out-expo),
              border-color 0.35s, background 0.35s;
}

.cursor-follower.hovering {
  width: 56px;
  height: 56px;
  border-color: var(--accent-secondary);
  background: rgba(0, 229, 255, 0.06);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side-pad);
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(7, 7, 12, 0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1001;
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  box-shadow: var(--neon-glow);
  border-radius: 1px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.4s var(--ease-out-expo);
}

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

.nav-link.active {
  color: var(--accent);
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 7px;
  width: 28px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

.nav-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s, width 0.3s var(--ease-out-expo);
  transform-origin: center;
}

.nav-menu-btn.active span:first-child {
  transform: translateY(4.5px) rotate(45deg);
  width: 100%;
}
.nav-menu-btn.active span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
  width: 100%;
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 100% 30%, rgba(255, 45, 123, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo), color 0.3s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.mobile-menu.active .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.38s; }
.mobile-menu.active .mobile-link:nth-child(7) { transition-delay: 0.44s; }
.mobile-menu.active .mobile-link:nth-child(8) { transition-delay: 0.50s; }

.mobile-link:active,
.mobile-link:hover {
  color: var(--accent);
}

.mobile-menu-footer {
  position: absolute;
  bottom: max(env(safe-area-inset-bottom, 24px), 32px);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-bg-image {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  filter: blur(1px) brightness(0.3) saturate(1.5);
  will-change: opacity;
}

.hero-bg-image.active {
  opacity: 1;
}

#hero-bg-1 {
  background-image: url('../images/hero/hero-1.png');
}
#hero-bg-2 {
  background-image: url('../images/hero/hero-2.jpg');
}
#hero-bg-3 {
  background-image: url('../images/hero/hero-3.jpg');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(255, 45, 123, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(0, 229, 255, 0.05) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(7, 7, 12, 0.2) 0%, rgba(7, 7, 12, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  will-change: transform, opacity;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1.5vw, 0.8rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.92;
  margin-bottom: 28px;
}

.hero-title-line {
  display: block;
  font-size: clamp(3.5rem, 13vw, 11rem);
  letter-spacing: -0.04em;
}

.hero-title-outline {
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(255, 45, 123, 0.15));
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.8vw, 1.05rem);
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  margin-bottom: 44px;
}

/* --- Shared CTA Button --- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out-expo);
  border-radius: inherit;
}

.cta-btn:hover,
.cta-btn:active {
  color: var(--bg);
  border-color: var(--accent);
}

.cta-btn:hover::before,
.cta-btn:active::before {
  transform: scaleX(1);
}

.cta-btn span, .cta-btn svg {
  position: relative;
  z-index: 1;
}

.cta-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease-out-expo);
  flex-shrink: 0;
}

.cta-btn:hover svg {
  transform: translateX(3px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: max(env(safe-area-inset-bottom, 28px), 32px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Marquee --- */
.marquee {
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-elevated);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Section Shared --- */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1vw, 0.72rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

/* --- Gallery Section --- */
.gallery {
  padding: var(--section-pad) var(--side-pad);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.filter-btn {
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: all 0.35s var(--ease-out-expo);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: rgba(255, 45, 123, 0.5);
  color: var(--accent);
}

.filter-btn:active {
  transform: scale(0.96);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(255, 45, 123, 0.25);
}

/* --- Gallery Grid (Masonry) --- */
.gallery-grid {
  columns: 4;
  column-gap: 14px;
  max-width: 1600px;
  margin: 0 auto;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.5s var(--ease-out-expo), opacity 0.6s;
  background: var(--bg-surface);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item:active {
  transform: translateY(-2px) scale(0.99);
}

.gallery-item-image {
  width: 100%;
  display: block;
  transition: transform 0.65s var(--ease-out-expo), filter 0.65s;
  opacity: 0;
}

.gallery-item-image.loaded {
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.65s var(--ease-out-expo), filter 0.65s;
}

.gallery-item:hover .gallery-item-image {
  transform: scale(1.06);
  filter: brightness(0.65);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 12, 0.92) 0%, rgba(7, 7, 12, 0.1) 40%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: clamp(14px, 3vw, 24px);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transform: translateY(8px);
  transition: transform 0.45s var(--ease-out-expo);
}

.gallery-item:hover .gallery-item-title {
  transform: translateY(0);
}

.gallery-item-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 5px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.45s var(--ease-out-expo) 0.04s, opacity 0.35s 0.04s;
}

.gallery-item:hover .gallery-item-tag {
  transform: translateY(0);
  opacity: 1;
}

/* Gallery reveal animation */
.gallery-item {
  opacity: 0;
  transform: translateY(30px);
}

.gallery-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- About Section --- */
.about {
  padding: var(--section-pad) var(--side-pad);
  overflow: hidden;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.about-image-frame {
  position: absolute;
  inset: -10px;
  border: 1.5px solid var(--accent);
  border-radius: calc(var(--radius-lg) + 4px);
  opacity: 0.2;
  z-index: 0;
  transition: opacity 0.4s;
}

.about-image-wrapper:hover .about-image-frame {
  opacity: 0.4;
}

.about-body p {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.about-body p:first-child {
  color: var(--text);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: clamp(0.58rem, 0.8vw, 0.68rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Featured Piece --- */
.featured-piece {
  padding: var(--section-pad) var(--side-pad);
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.featured-piece::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 50%;
  background: radial-gradient(ellipse at 0% 100%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.featured-piece-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.featured-piece-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-piece-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35), 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.7s var(--ease-out-expo);
}

.featured-piece-image:hover img {
  transform: scale(1.03);
}

.featured-piece-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.featured-piece-desc {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 36px;
}

/* --- Clothing Section --- */
.clothing {
  padding: var(--section-pad) var(--side-pad);
  background: var(--bg);
  position: relative;
}

/* Clothing Filters */
.clothing-filters {
  max-width: 1200px;
  margin: 0 auto clamp(24px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: flex-start;
}

.clothing-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.clothing-filter-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.clothing-filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.clothing-filter-btn {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.clothing-filter-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.clothing-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* Clothing filter transition for cards */
.clothing-card.filter-hidden {
  display: none;
}

.clothing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 30px);
}

.clothing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
  display: flex;
  flex-direction: column;
}

.clothing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), var(--neon-glow);
}

.clothing-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-surface);
}

.clothing-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.65s var(--ease-out-expo);
}

.clothing-card-image img.loaded {
  opacity: 1;
}

.clothing-card-image img.clothing-img-hidden {
  opacity: 0;
  pointer-events: none;
}

.clothing-card:hover .clothing-card-image img:not(.clothing-img-hidden) {
  transform: scale(1.06);
}

.clothing-img-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.clothing-img-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.clothing-img-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

.clothing-img-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.4);
}

.clothing-card-info {
  padding: clamp(14px, 2.5vw, 22px);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.clothing-card-type {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 6px;
}

.clothing-card-title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Clothing Manifesto */
.clothing-manifesto {
  max-width: 800px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
  padding: 0 var(--side-pad);
}

.clothing-manifesto-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(28px, 4vw, 48px) 0;
}

.manifesto-lead {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.clothing-manifesto p {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

.manifesto-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 24px 0;
}

.manifesto-details span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.manifesto-cta {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0;
}

/* Clothing Card — Edition Badge */
.clothing-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: var(--accent-secondary);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 229, 255, 0.2);
  z-index: 2;
}

/* Clothing Card — Edition Tag */
.clothing-card-edition {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.clothing-card-subtitle {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 10px;
  font-style: italic;
}

.clothing-card-story {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.clothing-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.clothing-card-details {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  line-height: 1.6;
}

.clothing-card-price {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 800;
  color: var(--accent);
}

.clothing-add-btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  font-size: clamp(0.68rem, 1vw, 0.75rem);
  padding: 12px 20px;
}

/* Clothing Collection Note */
.clothing-collection-note {
  max-width: 600px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  text-align: center;
  padding: 0 var(--side-pad);
}

.collection-note-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(28px, 4vw, 48px);
}

.collection-note-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 20px;
}

.collection-note-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collection-note-list li {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  color: var(--text-dim);
  line-height: 1.5;
}

.collection-note-list li::before {
  content: "\2022";
  color: var(--accent);
  margin-right: 8px;
}

.collection-note-closing {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
}

/* --- Blog Section --- */
.blog {
  padding: var(--section-pad) var(--side-pad);
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 30px);
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), var(--neon-glow);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-surface);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.65s var(--ease-out-expo);
}

.blog-card-image img.loaded {
  opacity: 1;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-info {
  padding: clamp(16px, 2.5vw, 24px);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-excerpt {
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-read {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  transition: letter-spacing 0.3s;
}

.blog-card:hover .blog-card-read {
  letter-spacing: 0.2em;
}

/* --- Blog Article Overlay --- */
.blog-article-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.blog-article-overlay.active {
  opacity: 1;
  visibility: visible;
}

.blog-article-modal {
  position: relative;
  width: 90%;
  max-width: 720px;
  max-height: 90vh;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
  transform: translateY(30px);
  transition: transform 0.4s var(--ease-out-expo);
}

.blog-article-overlay.active .blog-article-modal {
  transform: translateY(0);
}

.blog-article-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.blog-article-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

.blog-article-close svg {
  width: 18px;
  height: 18px;
}

.blog-article-scroll {
  overflow-y: auto;
  max-height: 90vh;
}

.blog-article-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-article-content {
  padding: clamp(24px, 4vw, 48px);
}

.blog-article-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.blog-article-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 28px;
}

.blog-article-body p {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 1.2em;
}

.blog-article-body p:last-child {
  margin-bottom: 0;
}

.blog-article-body strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Clothing Detail Modal --- */
.clothing-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.clothing-detail-overlay.active {
  opacity: 1;
  visibility: visible;
}

.clothing-detail-modal {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
  transform: translateY(30px);
  transition: transform 0.4s var(--ease-out-expo);
}

.clothing-detail-overlay.active .clothing-detail-modal {
  transform: translateY(0);
}

.clothing-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.clothing-detail-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

.clothing-detail-close svg {
  width: 18px;
  height: 18px;
}

.clothing-detail-scroll {
  overflow-y: auto;
  max-height: 90vh;
}

.clothing-detail-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-surface);
  overflow: hidden;
}

.clothing-detail-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.clothing-detail-images img.active {
  opacity: 1;
}

.clothing-detail-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.clothing-detail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.clothing-detail-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

.clothing-detail-content {
  padding: clamp(24px, 4vw, 40px);
}

.clothing-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.clothing-detail-edition {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.clothing-detail-type {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.clothing-detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 8px;
}

.clothing-detail-subtitle {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.clothing-detail-story {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.clothing-detail-details {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Sizing area */
.clothing-detail-sizing {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 24px;
}

.clothing-detail-size-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.clothing-detail-size-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.clothing-detail-chart-toggle {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.clothing-detail-chart-toggle:hover {
  color: var(--accent-hover);
}

.clothing-detail-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clothing-size-btn {
  min-width: 48px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.clothing-size-btn:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.clothing-size-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 45, 123, 0.08);
}

/* Size chart */
.clothing-detail-chart {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}

.clothing-detail-chart.active {
  max-height: 300px;
  margin-top: 16px;
}

.clothing-detail-chart table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.clothing-detail-chart th,
.clothing-detail-chart td {
  padding: 8px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}

.clothing-detail-chart th {
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.6rem;
}

.clothing-detail-chart td:first-child,
.clothing-detail-chart th:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 600;
}

/* Footer with price + add to cart */
.clothing-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.clothing-detail-price {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--text);
}

.clothing-detail-add {
  min-width: 200px;
  justify-content: center;
}

.clothing-detail-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.clothing-detail-add:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* --- Events Section --- */
.events {
  padding: var(--section-pad) var(--side-pad);
  background: var(--bg);
}

.events-timeline {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.event-item {
  display: grid;
  grid-template-columns: 160px 40px 1fr;
  gap: 0 20px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.event-item:last-child {
  border-bottom: none;
}

.event-date-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-top: 4px;
}

.event-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-align: right;
}

.event-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.event-line-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.event-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-secondary);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.event-upcoming .event-dot {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.6);
}

.event-line {
  width: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}

.event-item:last-child .event-line {
  display: none;
}

.event-info-col {
  padding-top: 0;
}

.event-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.event-location {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.event-desc {
  font-size: clamp(0.82rem, 1.05vw, 0.92rem);
  line-height: 1.7;
  color: var(--text-dim);
}

/* --- Videos Section --- */
.videos {
  padding: var(--section-pad) var(--side-pad);
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.videos-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 30px);
}

.video-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), var(--neon-glow);
}

.video-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-surface);
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.65s var(--ease-out-expo);
}

.video-card-thumb img.loaded {
  opacity: 1;
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.06);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform 0.3s, background 0.3s;
}

.video-play-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
  color: #fff;
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(168, 85, 247, 1);
}

.video-card-type {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.video-card-info {
  padding: clamp(14px, 2.5vw, 22px);
}

.video-card-title {
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.3vw, 1.05rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.video-card-desc {
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  line-height: 1.65;
  color: var(--text-dim);
}

.videos-cta {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.videos-cta p {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 28px;
}

/* --- Contact Section --- */
.contact {
  padding: var(--section-pad) var(--side-pad);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-desc {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-dim);
  margin-top: 20px;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--text);
}

.contact-detail-link {
  transition: color 0.3s;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.3s, text-decoration-color 0.3s;
}

.contact-detail-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* --- Contact Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--bg-elevated);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  outline: none;
  transition: border-color 0.35s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group label {
  position: absolute;
  top: 14px;
  left: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.35s var(--ease-out-expo);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.form-group select {
  width: 100%;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.35s;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23706c7a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}

.form-group select:focus {
  border-color: var(--accent);
}

.form-group select option {
  background: var(--bg-surface);
  color: var(--text);
  padding: 8px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  align-self: flex-start;
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--neon-glow);
}

.form-submit:active {
  transform: translateY(0) scale(0.98);
}

.form-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out-expo);
}

.form-submit:hover svg {
  transform: translateX(3px);
}

.form-submit.success {
  background: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

/* --- Footer --- */
.footer {
  padding: 48px var(--side-pad) max(calc(env(safe-area-inset-bottom, 20px) + 24px), 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-elevated);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  padding: 4px 0;
  -webkit-tap-highlight-color: transparent;
}

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

.footer-bottom {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(7, 7, 12, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: max(env(safe-area-inset-top, 16px), 16px);
  right: 16px;
  padding: 12px;
  color: var(--text);
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.4s var(--ease-out-expo);
  z-index: 10;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: var(--text);
  opacity: 0.4;
  transition: opacity 0.3s, transform 0.35s var(--ease-out-expo);
  z-index: 10;
  min-width: 56px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  opacity: 1;
}

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

.lightbox-prev {
  left: 12px;
}

.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-3px);
}

.lightbox-next {
  right: 12px;
}

.lightbox-next:hover {
  transform: translateY(-50%) translateX(3px);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  padding: 0 16px;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(80vh - 60px);
  object-fit: contain;
  border-radius: var(--radius-sm);
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.5s var(--ease-out-expo), opacity 0.4s;
}

.lightbox.active .lightbox-image {
  transform: scale(1);
  opacity: 1;
}

.lightbox-image.switching {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.15s, transform 0.15s;
}

.lightbox-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 700px;
  margin-top: 18px;
  padding: 0 8px;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 600;
}

.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.lightbox-swipe-hint {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 14px;
  opacity: 0.5;
}

/* --- Cart Nav Button & Badge --- */
.nav-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s;
}

.nav-cart-btn svg {
  width: 22px;
  height: 22px;
}

.nav-cart-btn:hover {
  color: var(--accent);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: var(--bg);
  background: var(--accent);
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: scale(0);
  transition: transform 0.4s var(--ease-spring), opacity 0.3s;
  pointer-events: none;
}

.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

.cart-badge.bump {
  animation: badgeBump 0.4s var(--ease-spring);
}

@keyframes badgeBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* --- Cart Panel (slide-out) --- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(7, 7, 12, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 4001;
  width: 420px;
  max-width: 100vw;
  background: var(--bg-elevated);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out-expo);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}

.cart-panel.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.cart-header-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cart-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.4s var(--ease-out-expo);
}

.cart-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.cart-close svg {
  width: 20px;
  height: 20px;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 45, 123, 0.3) transparent;
}

.cart-body::-webkit-scrollbar { width: 4px; }
.cart-body::-webkit-scrollbar-track { background: transparent; }
.cart-body::-webkit-scrollbar-thumb { background: rgba(255, 45, 123, 0.3); border-radius: 2px; }

/* Cart empty state */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  gap: 12px;
}

.cart-empty-icon {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  opacity: 0.4;
  margin-bottom: 8px;
}

.cart-empty p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dim);
}

.cart-empty span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cart-empty.hidden {
  display: none;
}

/* Cart items */
.cart-items {
  padding: 8px 0;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s;
}

.cart-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cart-item-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--bg-surface);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cart-item-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-category {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.cart-item-qty button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.cart-item-qty span {
  width: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text);
}

.cart-item-remove {
  flex-shrink: 0;
  align-self: flex-start;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
  transition: opacity 0.2s, color 0.2s;
  margin-left: 4px;
}

.cart-item-remove:hover {
  opacity: 1;
  color: var(--accent);
}

.cart-item-remove svg {
  width: 16px;
  height: 16px;
}

/* Cart footer */
.cart-footer {
  flex-shrink: 0;
  padding: 20px 24px max(env(safe-area-inset-bottom, 20px), 20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-surface);
}

.cart-footer.hidden {
  display: none;
}

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.cart-total-main {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 24px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-sm);
  transition: all 0.4s var(--ease-out-expo);
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}

.cart-checkout-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--neon-glow);
}

.cart-checkout-btn:active {
  transform: translateY(0) scale(0.98);
}

.cart-checkout-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out-expo);
}

.cart-checkout-btn:hover svg {
  transform: translateX(3px);
}

/* --- Gallery Price & Cart Button --- */
.gallery-item-price {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
}

.gallery-cart-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 7, 12, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s, transform 0.4s var(--ease-out-expo), background 0.3s, border-color 0.3s;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}

.gallery-cart-btn svg {
  width: 16px;
  height: 16px;
}

.gallery-item:hover .gallery-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.gallery-cart-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.gallery-cart-btn.added {
  background: #22c55e;
  border-color: #22c55e;
  color: white;
  opacity: 1;
  transform: translateY(0);
}

/* --- Sold Banner --- */
.gallery-item.sold .gallery-cart-btn {
  display: none;
}

.sold-banner {
  position: absolute;
  top: 18px;
  left: -34px;
  width: 140px;
  text-align: center;
  padding: 6px 0;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(-45deg);
  z-index: 3;
  box-shadow: 0 2px 12px rgba(255, 45, 123, 0.45);
  pointer-events: none;
}

/* --- Featured Piece Price & Actions --- */
.featured-piece-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.featured-piece-price {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
}

.featured-piece-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-dim);
}

.cta-btn-outline:hover,
.cta-btn-outline:active {
  color: var(--bg);
  border-color: var(--text);
}

.cta-btn-outline::before {
  background: var(--text);
}

/* --- Lightbox Price & Cart --- */
.lightbox-info {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.lightbox-info-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lightbox-info-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lightbox-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.lightbox-cart-btn {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-sm);
  transition: all 0.35s var(--ease-out-expo);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-cart-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--neon-glow);
}

.lightbox-cart-btn:active {
  transform: scale(0.96);
}

.lightbox-cart-btn.added {
  background: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
}

/* --- Toast Notification --- */
.toast {
  position: fixed;
  bottom: max(env(safe-area-inset-bottom, 24px), 28px);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 6000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s var(--ease-out-expo), opacity 0.4s, visibility 0.4s;
  pointer-events: none;
}

.toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  width: 18px;
  height: 18px;
  color: #22c55e;
  flex-shrink: 0;
}

.toast-text {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* --- Checkout Modal --- */
.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 5500;
  background: rgba(7, 7, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  padding: 20px;
}

.checkout-overlay.active {
  opacity: 1;
  visibility: visible;
}

.checkout-modal {
  width: 100%;
  max-width: 580px;
  max-height: calc(100vh - 40px);
  max-height: calc(100svh - 40px);
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.5s var(--ease-out-expo);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.checkout-overlay.active .checkout-modal {
  transform: translateY(0) scale(1);
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.checkout-header-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.checkout-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.checkout-back svg {
  width: 18px;
  height: 18px;
}

.checkout-back:hover {
  color: var(--text);
}

.checkout-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.checkout-close-btn:hover {
  opacity: 1;
}

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

.checkout-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 45, 123, 0.3) transparent;
}

.checkout-body::-webkit-scrollbar { width: 4px; }
.checkout-body::-webkit-scrollbar-track { background: transparent; }
.checkout-body::-webkit-scrollbar-thumb { background: rgba(255, 45, 123, 0.3); border-radius: 2px; }

/* Checkout Steps Indicator */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  transition: opacity 0.4s;
}

.checkout-step.active {
  opacity: 1;
}

.checkout-step.completed {
  opacity: 0.7;
}

.checkout-step-num {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 0.4s;
}

.checkout-step.active .checkout-step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.checkout-step.completed .checkout-step-num {
  background: #22c55e;
  border-color: #22c55e;
  color: white;
}

.checkout-step-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checkout-step-line {
  width: 40px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* Checkout Panels */
.checkout-panel {
  display: none;
}

.checkout-panel.active {
  display: block;
  animation: checkoutFadeIn 0.4s var(--ease-out-expo);
}

@keyframes checkoutFadeIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.checkout-section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Checkout Form */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-field {
  position: relative;
}

.checkout-field-sm {
  max-width: 160px;
}

.checkout-field input,
.checkout-field select {
  width: 100%;
  padding: 14px 0;
  font-size: 0.92rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  outline: none;
  transition: border-color 0.35s;
  -webkit-appearance: none;
}

.checkout-field input:focus,
.checkout-field select:focus {
  border-color: var(--accent);
}

.checkout-field input.error,
.checkout-field select.error {
  border-color: #ef4444;
}

.checkout-field label {
  position: absolute;
  top: 14px;
  left: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.35s var(--ease-out-expo);
}

.checkout-field input:focus ~ label,
.checkout-field input:not(:placeholder-shown) ~ label {
  top: -10px;
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.checkout-field input.error ~ label {
  color: #ef4444;
}

.checkout-field select {
  cursor: pointer;
  appearance: none;
  color: var(--text-muted);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23706c7a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}

.checkout-field select:valid {
  color: var(--text);
}

.checkout-field select option {
  background: var(--bg-surface);
  color: var(--text);
}

.checkout-field-error {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #ef4444;
  margin-top: 6px;
  letter-spacing: 0.05em;
}

.checkout-field-error.visible {
  display: block;
}

.checkout-continue-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 24px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-sm);
  transition: all 0.4s var(--ease-out-expo);
  min-height: 52px;
  margin-top: 8px;
  -webkit-tap-highlight-color: transparent;
}

.checkout-continue-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--neon-glow);
}

.checkout-continue-btn:active {
  transform: translateY(0) scale(0.98);
}

.checkout-continue-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out-expo);
}

.checkout-continue-btn:hover svg {
  transform: translateX(3px);
}

/* Checkout Order Items */
.checkout-order-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.checkout-order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.checkout-order-item:last-child {
  border-bottom: none;
}

.checkout-order-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--bg-surface);
}

.checkout-order-item-info {
  flex: 1;
  min-width: 0;
}

.checkout-order-item-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-order-item-qty {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.checkout-order-item-price {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Checkout Summary */
.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.checkout-summary-total {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Shipping To info */
.checkout-shipping-to {
  padding: 14px 16px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.checkout-shipping-to strong {
  color: var(--text);
  font-weight: 600;
}

/* Pay Button */
.checkout-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 24px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-sm);
  transition: all 0.4s var(--ease-out-expo);
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.checkout-pay-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-hover);
  opacity: 0;
  transition: opacity 0.4s;
}

.checkout-pay-btn:hover::before {
  opacity: 1;
}

.checkout-pay-btn span,
.checkout-pay-btn svg {
  position: relative;
  z-index: 1;
}

.checkout-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--neon-glow);
}

.checkout-pay-btn:active {
  transform: translateY(0) scale(0.98);
}

.checkout-pay-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.checkout-lock-icon {
  width: 18px;
  height: 18px;
}

/* Trust Signal */
.checkout-trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
}

.checkout-trust-icon {
  width: 20px;
  height: 20px;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 1px;
}

.checkout-trust span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Order Success Overlay --- */
.order-success {
  position: fixed;
  inset: 0;
  z-index: 6500;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.order-success.active {
  opacity: 1;
  visibility: visible;
}

.order-success-inner {
  max-width: 480px;
}

.order-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid #22c55e;
  border-radius: 50%;
  color: #22c55e;
}

.order-success-icon svg {
  width: 32px;
  height: 32px;
}

.order-success.active .order-success-icon {
  animation: successPop 0.6s var(--ease-spring) 0.2s both;
}

@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.order-success-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.order-success-desc {
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 36px;
}

.order-success-btn {
  margin: 0 auto;
}

/* --- Scroll Animations --- */
.anim-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-quart), transform 0.7s var(--ease-out-quart);
}

.anim-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Prefers Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .anim-reveal { opacity: 1; transform: none; }
  .gallery-item { opacity: 1; transform: none; }
  .hero-bg-image { transition: none; }
  .lightbox-image { transform: none; opacity: 1; }
}

/* --- Responsive: Tablet (<=1024px) --- */
@media (max-width: 1024px) {
  .gallery-grid {
    columns: 3;
    column-gap: 12px;
  }

  .gallery-item {
    margin-bottom: 12px;
  }

  .nav-links {
    display: none;
  }

  .nav-menu-btn {
    display: flex;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-col {
    max-width: 500px;
    margin: 0 auto;
  }

  .featured-piece-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-piece-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .clothing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid .blog-card:last-child {
    grid-column: span 2;
  }

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .videos-grid .video-card:last-child {
    grid-column: span 2;
  }

  .event-item {
    grid-template-columns: 120px 36px 1fr;
    gap: 0 14px;
  }
}

/* --- Responsive: Large Phone (<=768px) --- */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .gallery-grid {
    columns: 2;
    column-gap: 10px;
  }

  .gallery-item {
    margin-bottom: 10px;
    border-radius: var(--radius-sm);
  }

  /* Always show title overlay on touch devices */
  .gallery-item-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(7, 7, 12, 0.85) 0%, transparent 45%);
    padding: 12px;
  }

  .gallery-item-title {
    font-size: 0.78rem;
    transform: none;
  }

  .gallery-item-tag {
    display: none;
  }

  .gallery-item:hover .gallery-item-image {
    transform: none;
    filter: none;
  }

  .gallery-item:hover {
    transform: none;
  }

  .gallery-item:active {
    transform: scale(0.98);
  }

  .gallery-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 8px;
    margin-left: calc(var(--side-pad) * -1);
    margin-right: calc(var(--side-pad) * -1);
    padding-left: var(--side-pad);
    padding-right: var(--side-pad);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

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

  .filter-btn {
    padding: 9px 18px;
    font-size: 0.68rem;
  }

  .cart-panel {
    width: 100vw;
  }

  .gallery-cart-btn {
    opacity: 1;
    transform: translateY(0);
    width: 34px;
    height: 34px;
    top: 8px;
    right: 8px;
  }

  .gallery-cart-btn svg {
    width: 14px;
    height: 14px;
  }

  .lightbox-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .lightbox-info-right {
    gap: 10px;
  }

  .lightbox-price {
    font-size: 0.95rem;
  }

  .lightbox-cart-btn {
    padding: 8px 16px;
    font-size: 0.68rem;
  }

  .featured-piece-actions {
    flex-direction: column;
  }

  .featured-piece-actions .cta-btn {
    text-align: center;
    justify-content: center;
  }

  .checkout-overlay {
    padding: 0;
    align-items: stretch;
  }

  .checkout-modal {
    max-width: 100%;
    max-height: 100vh;
    max-height: 100svh;
    border-radius: 0;
    border: none;
  }

  .checkout-body {
    padding: 20px 16px;
  }

  .checkout-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .checkout-field-sm {
    max-width: none;
  }

  .checkout-step-label {
    font-size: 0.62rem;
  }

  .checkout-header {
    padding: 14px 16px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-subtitle {
    letter-spacing: 0.1em;
    margin-bottom: 36px;
  }

  .lightbox-nav {
    display: none;
  }

  .lightbox-swipe-hint {
    display: block;
  }

  .lightbox-content {
    padding: 0 12px;
  }

  .lightbox-image {
    max-height: calc(75vh - 80px);
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }

  .about-stats {
    gap: 16px;
  }

  .contact-form {
    padding: 20px;
  }

  .form-submit {
    width: 100%;
  }

  .footer-links {
    gap: 16px 24px;
  }

  .clothing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .clothing-card-info {
    padding: 12px;
  }

  .clothing-card-story {
    display: none;
  }

  .clothing-card-details {
    display: none;
  }

  .manifesto-details {
    gap: 8px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-grid .blog-card:last-child {
    grid-column: span 1;
  }

  .blog-card-image {
    aspect-ratio: 16 / 8;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .videos-grid .video-card:last-child {
    grid-column: span 1;
  }

  .event-item {
    grid-template-columns: 1fr;
    gap: 8px 0;
    padding: 24px 0;
  }

  .event-date-col {
    align-items: flex-start;
    flex-direction: row;
    gap: 12px;
  }

  .event-line-col {
    display: none;
  }

  .clothing-detail-modal {
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    max-height: 100svh;
    border-radius: 0;
  }

  .clothing-detail-scroll {
    max-height: 100vh;
    max-height: 100svh;
  }

  .clothing-detail-images {
    aspect-ratio: 4 / 3;
  }

  .clothing-detail-content {
    padding: 20px 16px;
  }

  .clothing-detail-footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .clothing-detail-add {
    width: 100%;
    min-width: auto;
  }
}

/* --- Responsive: Small Phone (<=420px) --- */
@media (max-width: 420px) {
  .hero-title-line {
    font-size: clamp(2.8rem, 16vw, 4rem);
  }

  .hero-title-outline {
    -webkit-text-stroke-width: 1.5px;
  }

  .hero-label {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
  }

  .hero-subtitle {
    font-size: 0.7rem;
  }

  .cta-btn {
    padding: 14px 22px;
    font-size: 0.68rem;
  }

  .section-title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .gallery-grid {
    column-gap: 8px;
  }

  .gallery-item {
    margin-bottom: 8px;
  }

  .gallery-item-overlay {
    padding: 10px;
  }

  .gallery-item-title {
    font-size: 0.7rem;
  }

  .featured-piece-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .about-body p {
    font-size: 0.88rem;
  }

  .mobile-link {
    font-size: clamp(2rem, 11vw, 3rem);
  }
}

/* --- Landscape phone fix --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 400px;
  }

  .hero-title-line {
    font-size: clamp(2.5rem, 10vh, 4rem);
  }

  .hero-subtitle {
    margin-bottom: 24px;
  }

  .mobile-link {
    font-size: 1.5rem;
  }

  .mobile-menu {
    gap: 12px;
  }
}
