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

:root {
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --gold-dark: #8b6914;
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --dark3: #252525;
  --white: #f5f0eb;
  --cream: #f0e8dc;
  --gray: #888;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --transition: cubic-bezier(0.77, 0, 0.175, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  overflow-x: hidden;
  cursor: default;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--transition), visibility 0.8s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }

.preloader-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.preloader-line {
  width: 200px;
  height: 1px;
  background: var(--dark3);
  margin: 0 auto;
  overflow: hidden;
}
.preloader-line span {
  display: block;
  height: 100%;
  background: var(--gold);
  width: 0;
  animation: lineGrow 1.5s 0.6s var(--transition) forwards;
}

@keyframes lineGrow { to { width: 100%; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  background: linear-gradient(180deg, rgba(10,10,10,0.9) 0%, transparent 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,169,110,0.1);
  transition: all 0.4s ease;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  font-weight: 400;
}

.nav-links { display: flex; gap: 3rem; }
.nav-links a {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--transition);
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   HERO — 3D FULL SCREEN
═══════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #060606;
}

/* WebGL canvas fills entire hero */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* ══════════════════════════════════════════════
   HERO LOADING SCREEN — 3D Bag Wall
══════════════════════════════════════════════ */
#heroLoading {
  position: absolute; inset: 0; z-index: 30;
  background: #060606; overflow: hidden;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

/* 3D perspective wall */
.hl-stage { position: absolute; inset: 0; overflow: hidden; }
.hl-track {
  position: absolute; inset: -35%;
  display: flex; gap: 10px;
  transform:
    perspective(1100px) rotateX(16deg)
    rotateY(0deg) rotateZ(-5deg) scale(1.1);
  transform-origin: center center;
  transform-style: preserve-3d;
}
.hl-col { flex: 1; min-width: 0; overflow: hidden; }
.hl-col-inner { display: flex; flex-direction: column; gap: 10px; }
.hl-col:nth-child(1) .hl-col-inner { animation: hlUp   22s linear infinite; }
.hl-col:nth-child(2) .hl-col-inner { animation: hlDown 28s linear infinite; animation-delay: -8s; }
.hl-col:nth-child(3) .hl-col-inner { animation: hlUp   18s linear infinite; animation-delay: -4s; }
.hl-col:nth-child(4) .hl-col-inner { animation: hlDown 24s linear infinite; animation-delay:-14s; }
.hl-col:nth-child(5) .hl-col-inner { animation: hlUp   26s linear infinite; animation-delay:-10s; }
@keyframes hlUp   { from{transform:translateY(0)}    to{transform:translateY(-50%)} }
@keyframes hlDown { from{transform:translateY(-50%)} to{transform:translateY(0)}    }

.hl-bag-card {
  position: relative; width: 100%; aspect-ratio: 3/4;
  overflow: hidden; border-radius: 1px;
}
.hl-bag-card img {
  width:100%; height:100%; object-fit:cover; object-position:center; display:block;
  filter: brightness(.82) saturate(.88);
}
.hl-bag-card::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(201,169,110,.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Overlays */
.hl-vignette {
  position: absolute; inset:0; z-index:1; pointer-events:none;
  background: radial-gradient(ellipse 65% 75% at 50% 50%, rgba(6,6,6,.05) 0%, rgba(6,6,6,.72) 100%);
}
.hl-edges {
  position: absolute; inset:0; z-index:2; pointer-events:none;
  background:
    linear-gradient(90deg,  rgba(6,6,6,.62) 0%, transparent 28%, transparent 72%, rgba(6,6,6,.62) 100%),
    linear-gradient(180deg, rgba(6,6,6,.55) 0%, transparent 25%, transparent 75%, rgba(6,6,6,.55) 100%);
}

/* Center branding card */
.hl-center {
  position: absolute; inset:0; z-index:10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.15rem;
}
.hl-center::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  background: rgba(6,6,6,0.68);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  border: 1px solid rgba(201,169,110,0.22);
  border-radius: 2px;
  box-shadow: 0 0 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(201,169,110,0.12);
}
.hl-center::after {
  content: '';
  position: absolute;
  width: 200px; height: 1px;
  top: calc(50% - 170px);
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.7), transparent);
}
.hl-center > * { position: relative; z-index: 1; }
.hl-logo-wrap {
  position: relative; width: 82px; height: 82px;
  display: flex; align-items: center; justify-content: center;
}
.hl-ring-outer {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.18);
  border-top-color: var(--gold);
  animation: spin 2.2s linear infinite;
}
.hl-ring-inner {
  position: absolute; inset: 13px; border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.10);
  border-bottom-color: rgba(201,169,110,0.50);
  animation: spin 1.4s linear infinite reverse;
}
.hl-logo-center {
  font-size: 1.15rem; color: var(--gold); opacity: 0.85;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 0.4; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.1); }
}
.hl-brand {
  font-family: var(--font-serif); font-size: 1.22rem;
  letter-spacing: 0.52em; color: rgba(201,169,110,0.92);
}
.hl-est {
  font-size: 0.55rem; letter-spacing: 0.36em;
  color: rgba(201,169,110,0.36); text-align: center;
}
.hl-bar-wrap {
  width: 140px; height: 1px;
  background: rgba(201,169,110,0.12); overflow: hidden;
}
.hl-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: barPulse 1.8s ease-in-out infinite;
}
@keyframes barPulse {
  0%   { width:0%;   opacity:0.5; }
  50%  { width:100%; opacity:1;   }
  100% { width:0%;   opacity:0.5; }
}
.hl-preparing {
  font-size: 0.55rem; letter-spacing: 0.30em;
  color: rgba(201,169,110,0.26);
}

/* ── Vignette ── */
.h3d-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(6,6,6,0.55) 100%),
    linear-gradient(180deg, rgba(6,6,6,0.6) 0%, transparent 18%, transparent 75%, rgba(6,6,6,0.8) 100%);
}

/* ── Grain overlay ── */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

/* ── Reveal animation ── */
.h3d-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.h3d-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Brand Identity (top-left) ── */
.h3d-identity {
  position: absolute;
  top: 8rem;
  left: 4rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.h3d-maison {
  font-size: 0.38rem;
  letter-spacing: 0.45em;
  color: rgba(201,169,110,0.5);
}
.h3d-name {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--white);
  line-height: 1;
}
.h3d-est {
  font-size: 0.42rem;
  letter-spacing: 0.3em;
  color: rgba(201,169,110,0.55);
  margin-top: 4px;
}

/* ── Invitation Badge (top-center) ── */
.h3d-badge {
  position: absolute;
  top: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(8,8,8,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,169,110,0.2);
  padding: 6px 18px;
}
.h3d-badge-text {
  font-size: 0.42rem;
  letter-spacing: 0.35em;
  color: var(--gold);
}
.h3d-badge-star {
  font-size: 0.5rem;
  color: rgba(201,169,110,0.5);
}

/* ── Right panel: model info + toggle ── */
.h3d-panel {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}
.h3d-panel-label {
  font-size: 0.36rem;
  letter-spacing: 0.35em;
  color: rgba(201,169,110,0.4);
}
.h3d-panel-model {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1.2;
  text-align: right;
}
.h3d-panel-year {
  font-size: 0.4rem;
  letter-spacing: 0.25em;
  color: rgba(245,240,235,0.4);
}

/* CLOSED / OPEN toggle */
.h3d-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(201,169,110,0.25);
  overflow: hidden;
  margin-top: 0.4rem;
}
.h3d-toggle-btn {
  background: transparent;
  border: none;
  color: rgba(245,240,235,0.4);
  font-family: var(--font-sans);
  font-size: 0.38rem;
  letter-spacing: 0.28em;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.h3d-toggle-btn.active {
  background: rgba(201,169,110,0.15);
  color: var(--gold);
}
.h3d-toggle-btn:hover { color: var(--gold); }
.h3d-toggle-sep {
  color: rgba(201,169,110,0.2);
  font-size: 0.7rem;
}

.h3d-drag-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.35rem;
  letter-spacing: 0.2em;
  color: rgba(245,240,235,0.25);
  margin-top: 0.3rem;
}

/* ── Bottom: Verify CTA + Scroll ── */
.h3d-bottom {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.h3d-verify-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 2.5rem;
  border: 1px solid rgba(201,169,110,0.5);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.52rem;
  letter-spacing: 0.35em;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--transition);
  background: rgba(8,8,8,0.4);
  backdrop-filter: blur(8px);
}
.h3d-verify-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.45s var(--transition);
  z-index: -1;
}
.h3d-verify-cta:hover { color: var(--black); }
.h3d-verify-cta:hover::before { transform: translateX(0); }
.h3d-verify-star { font-size: 0.6rem; }

.h3d-scroll-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.h3d-scroll-label {
  font-size: 0.4rem;
  letter-spacing: 0.35em;
  color: rgba(245,240,235,0.25);
}
.h3d-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.hero-subtitle {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 2.2s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 2.4s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  line-height: 2;
  color: rgba(245,240,235,0.6);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.9s 2.6s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 3rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.9s 2.8s forwards;
}
.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.4s var(--transition);
  z-index: -1;
}
.hero-cta:hover { color: var(--black); }
.hero-cta:hover::before { transform: translateX(0); }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 1s 3.2s forwards;
}
.hero-scroll span {
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: var(--gray);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ===== BRANDS SECTION ===== */
#brands, #maisons {
  padding: 8rem 0 6rem;
  position: relative;
}

.section-sub {
  font-size: 0.48rem;
  letter-spacing: 0.3em;
  color: rgba(245,240,235,0.3);
  margin-top: 0.6rem;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.1em;
}

/* ===== CAROUSEL ===== */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
}

.carousel-track-container {
  flex: 1;
  overflow: hidden;
  padding: 3rem 0;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.7s var(--transition);
  padding: 0 calc(50% - 200px);
}

/* ===== BRAND CARD ===== */
.brand-card {
  flex: 0 0 340px;
  background: var(--dark2);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 2px;
  padding: 2.5rem 2rem 2rem;
  transition: all 0.5s var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0.5;
}

.brand-card.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  border-color: rgba(201,169,110,0.4);
  box-shadow: 0 30px 80px rgba(201,169,110,0.1);
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.brand-card.active::before, .brand-card:hover::before { opacity: 1; }

.brand-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,169,110,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== BRAND CARD — luxury redesign ===== */
.brand-card {
  flex: 0 0 340px !important;
  background: linear-gradient(160deg, #161616 0%, #0e0e0e 100%) !important;
  border: 1px solid rgba(201,169,110,0.12) !important;
  border-radius: 3px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.brand-card.active {
  border-color: rgba(201,169,110,0.45) !important;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,169,110,0.12) !important;
}

/* ===== 3D BAG SCENE ===== */
.card-3d-scene {
  height: 260px;
  position: relative;
  overflow: hidden;
  background: transparent;
  margin-bottom: 0;
}

/* Three.js canvas fills the scene */
.brand3d-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  cursor: grab;
}
.brand3d-canvas:active { cursor: grabbing; }

/* Model tag badge */
.brand3d-tag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.34rem;
  letter-spacing: 0.28em;
  color: rgba(201,169,110,0.55);
  pointer-events: none;
  background: rgba(0,0,0,0.45);
  padding: 4px 10px;
  border: 1px solid rgba(201,169,110,0.15);
  backdrop-filter: blur(6px);
}

/* Drag hint on scene */
.card-3d-scene::after {
  content: 'HOVER · INTERACT';
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 0.3rem;
  letter-spacing: 0.3em;
  color: rgba(201,169,110,0.3);
  pointer-events: none;
}

/* Legacy CSS bags hidden (now replaced by Three.js) */
.bag-3d { display: none; }

/* ══════════════════════════════════════════════════════
   BRAND GALLERY CARDS — photo gallery with model tabs
══════════════════════════════════════════════════════ */
.bgc-scene {
  height: 310px;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
  overflow: hidden;
}

/* ── Model tab bar ── */
.bgc-tabs {
  display: flex;
  border-bottom: 1px solid rgba(201,169,110,0.12);
  padding: 0 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.bgc-tabs::-webkit-scrollbar { display: none; }

.bgc-tab {
  background: none;
  border: none;
  color: rgba(201,169,110,0.38);
  font-family: var(--font-sans);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.22s, border-color 0.22s;
}
.bgc-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.bgc-tab:hover { color: rgba(201,169,110,0.72); }

/* ── Main photo area ── */
.bgc-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #f4f0eb;
  min-height: 0;
}
.bgc-main.no-photo { background: #0d0d0d; }

.bgc-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: opacity 0.3s;
}

/* ── Placeholder (shown when no photo / photo fails) ── */
.bgc-placeholder {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: none;
}
.bgc-main.no-photo .bgc-placeholder { display: flex; }

.bgc-ph-brand {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(201,169,110,0.08);
  white-space: nowrap;
}
.bgc-ph-model {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  letter-spacing: 0.32em;
  color: rgba(201,169,110,0.25);
}
.bgc-ph-soon {
  font-family: var(--font-sans);
  font-size: 0.42rem;
  letter-spacing: 0.26em;
  color: rgba(201,169,110,0.14);
  margin-top: 0.4rem;
}

/* ── Model badge (top-right) ── */
.bgc-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(6,6,6,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,169,110,0.2);
  color: rgba(201,169,110,0.88);
  font-family: var(--font-sans);
  font-size: 0.42rem;
  letter-spacing: 0.18em;
  padding: 0.28rem 0.65rem;
  pointer-events: none;
}

/* ── Navigation arrows + counter ── */
.bgc-nav {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: none;
}
.bgc-nav > * { pointer-events: auto; }

.bgc-arrow {
  background: rgba(6,6,6,0.62);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201,169,110,0.22);
  color: rgba(201,169,110,0.82);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-radius: 0;
}
.bgc-arrow:hover {
  background: rgba(201,169,110,0.18);
  color: var(--gold);
}

.bgc-cnt {
  font-family: var(--font-sans);
  font-size: 0.4rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  min-width: 2.5rem;
  text-align: center;
}

/* ── Thumbnails strip ── */
.bgc-thumbs {
  display: flex;
  gap: 2px;
  padding: 5px 6px;
  background: #060606;
  border-top: 1px solid rgba(201,169,110,0.08);
  flex-shrink: 0;
  min-height: 42px;
}

.bgc-thumb {
  flex: 1;
  height: 36px;
  background-color: rgba(255,255,255,0.04);
  background-size: cover;
  background-position: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.5;
}
.bgc-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}
.bgc-thumb:hover { opacity: 0.8; }

/* Card info — redesigned */
.card-info {
  padding: 1.4rem 1.6rem 0.6rem !important;
  border-top: 1px solid rgba(201,169,110,0.1);
  position: relative;
}
.card-info::before {
  content: '';
  position: absolute;
  top: 0; left: 1.6rem; right: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.35), transparent);
}

.card-founded {
  font-size: 0.36rem !important;
  letter-spacing: 0.32em !important;
  margin-bottom: 0.35rem !important;
}

.card-info h3 {
  font-family: var(--font-serif) !important;
  font-size: 1.35rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.12em !important;
  color: var(--white) !important;
  margin-bottom: 0.25rem !important;
  line-height: 1 !important;
}

.card-origin {
  font-size: 0.38rem !important;
  letter-spacing: 0.22em !important;
  color: rgba(245,240,235,0.35) !important;
}

/* Authenticate button — full width, luxury style */
.card-verify-btn {
  width: calc(100% - 3.2rem) !important;
  margin: 1rem 1.6rem 1.5rem !important;
  padding: 0.75rem 1rem !important;
  background: transparent !important;
  border: 1px solid rgba(201,169,110,0.28) !important;
  color: rgba(201,169,110,0.7) !important;
  font-size: 0.38rem !important;
  letter-spacing: 0.32em !important;
  cursor: pointer !important;
  transition: all 0.35s ease !important;
  position: relative !important;
  overflow: hidden !important;
}
.card-verify-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.38s cubic-bezier(0.77,0,0.175,1);
  z-index: 0;
}
.card-verify-btn:hover { color: #0a0a0a !important; border-color: var(--gold) !important; }
.card-verify-btn:hover::before { transform: translateX(0); }
.card-verify-btn span, .card-verify-btn { position: relative; z-index: 1; }

/* ===== BRAND CARD SIGNATURE COLORS ===== */
/* Each brand card gets its house color on hover/active border */
[data-brand="LOUIS VUITTON"].active   { border-color: rgba(180,120,50,0.5) !important; box-shadow: 0 30px 80px rgba(107,52,16,0.2) !important; }
[data-brand="CHRISTIAN DIOR"].active  { border-color: rgba(212,196,168,0.4) !important; box-shadow: 0 30px 80px rgba(30,30,46,0.25) !important; }
[data-brand="FENDI"].active           { border-color: rgba(212,169,106,0.5) !important; box-shadow: 0 30px 80px rgba(61,43,31,0.25) !important; }
[data-brand="CHANEL"].active          { border-color: rgba(212,197,169,0.4) !important; box-shadow: 0 30px 80px rgba(0,0,0,0.5) !important; }
[data-brand="BOTTEGA VENETA"].active  { border-color: rgba(109,181,109,0.4) !important; box-shadow: 0 30px 80px rgba(26,46,26,0.3) !important; }
[data-brand="CÉLINE"].active          { border-color: rgba(200,200,200,0.3) !important; box-shadow: 0 30px 80px rgba(17,17,17,0.4) !important; }
[data-brand="PRADA"].active           { border-color: rgba(168,168,184,0.4) !important; box-shadow: 0 30px 80px rgba(10,10,20,0.4) !important; }
[data-brand="MIU MIU"].active         { border-color: rgba(212,160,184,0.5) !important; box-shadow: 0 30px 80px rgba(46,26,34,0.3) !important; }
[data-brand="BALENCIAGA"].active      { border-color: rgba(255,255,255,0.2) !important; box-shadow: 0 30px 80px rgba(0,0,0,0.6) !important; }
[data-brand="HERMÈS"].active          { border-color: rgba(227,82,5,0.5) !important;   box-shadow: 0 30px 80px rgba(122,34,0,0.3) !important; }
[data-brand="LOEWE"].active           { border-color: rgba(196,168,130,0.5) !important; box-shadow: 0 30px 80px rgba(26,18,8,0.3) !important; }

/* Brand card background tint per brand */
[data-brand="LOUIS VUITTON"]  .card-3d-scene { background: radial-gradient(ellipse at 50% 30%, rgba(61,31,10,0.3) 0%, transparent 70%); }
[data-brand="CHANEL"]         .card-3d-scene { background: radial-gradient(ellipse at 50% 30%, rgba(212,197,169,0.04) 0%, transparent 70%); }
[data-brand="HERMÈS"]         .card-3d-scene { background: radial-gradient(ellipse at 50% 30%, rgba(227,82,5,0.1) 0%, transparent 70%); }
[data-brand="BOTTEGA VENETA"] .card-3d-scene { background: radial-gradient(ellipse at 50% 30%, rgba(109,181,109,0.08) 0%, transparent 70%); }
[data-brand="FENDI"]          .card-3d-scene { background: radial-gradient(ellipse at 50% 30%, rgba(212,169,106,0.1) 0%, transparent 70%); }
[data-brand="MIU MIU"]        .card-3d-scene { background: radial-gradient(ellipse at 50% 30%, rgba(212,160,184,0.1) 0%, transparent 70%); }

/* Founded/brand accent colors */
[data-brand="LOUIS VUITTON"]  .card-founded { color: #c9a96e; }
[data-brand="CHRISTIAN DIOR"] .card-founded { color: #d4c4a8; }
[data-brand="FENDI"]          .card-founded { color: #d4a96a; }
[data-brand="CHANEL"]         .card-founded { color: #d4c5a9; }
[data-brand="BOTTEGA VENETA"] .card-founded { color: #6db56d; }
[data-brand="CÉLINE"]         .card-founded { color: #c8c8c8; }
[data-brand="PRADA"]          .card-founded { color: #a8a8b8; }
[data-brand="MIU MIU"]        .card-founded { color: #d4a0b8; }
[data-brand="BALENCIAGA"]     .card-founded { color: #ffffff; }
[data-brand="HERMÈS"]         .card-founded { color: #e35205; }
[data-brand="LOEWE"]          .card-founded { color: #c4a882; }

/* AUTHENTICATE button color per brand */
[data-brand="HERMÈS"]         .card-verify-btn { border-color: rgba(227,82,5,0.5); color: #e35205; }
[data-brand="HERMÈS"]         .card-verify-btn:hover { color: #fff; background: #e35205; }
[data-brand="BOTTEGA VENETA"] .card-verify-btn { border-color: rgba(109,181,109,0.4); color: #6db56d; }
[data-brand="BOTTEGA VENETA"] .card-verify-btn:hover { color: #fff; background: #4a9e4a; }
[data-brand="CHANEL"]         .card-verify-btn { border-color: rgba(212,197,169,0.4); color: #d4c5a9; }
[data-brand="MIU MIU"]        .card-verify-btn { border-color: rgba(212,160,184,0.5); color: #d4a0b8; }
[data-brand="BALENCIAGA"]     .card-verify-btn { border-color: rgba(255,255,255,0.3); color: #fff; }

/* ===== BAG DESIGNS ===== */
.bag-body {
  position: relative;
  transform-style: preserve-3d;
}

/* GOYARD */
.goyard-bag .bag-body {
  width: 130px; height: 100px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 4px;
  box-shadow: inset 0 0 20px rgba(255,255,255,0.05), 4px 4px 20px rgba(0,0,0,0.5);
}
.goyard-bag .bag-pattern {
  position: absolute; inset: 8px;
  background-image: repeating-linear-gradient(45deg, rgba(201,169,110,0.15) 0, rgba(201,169,110,0.15) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, rgba(201,169,110,0.15) 0, rgba(201,169,110,0.15) 1px, transparent 0, transparent 50%);
  background-size: 8px 8px;
  border-radius: 2px;
}
.goyard-bag .bag-flap {
  position: absolute;
  top: -28px; left: 10px; right: 10px; height: 30px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 4px 4px 0 0;
  box-shadow: 4px -4px 10px rgba(0,0,0,0.3);
}
.goyard-bag .bag-handle {
  position: absolute;
  top: -55px; left: 35px; right: 35px; height: 28px;
  border: 3px solid #c9a96e;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}
.goyard-bag .bag-clasp {
  position: absolute;
  top: -38px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 10px;
  background: var(--gold);
  border-radius: 2px;
}

/* LOUIS VUITTON */
.lv-bag .bag-body {
  width: 140px; height: 90px;
  background: linear-gradient(135deg, #8B4513 0%, #6B3410 100%);
  border-radius: 6px;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.5);
}
.lv-bag .bag-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(201,169,110,0.2) 0, rgba(201,169,110,0.2) 1px, transparent 0, transparent 20px),
    repeating-linear-gradient(90deg, rgba(201,169,110,0.2) 0, rgba(201,169,110,0.2) 1px, transparent 0, transparent 20px);
  border-radius: 6px;
}
.lv-bag .bag-zip {
  position: absolute;
  top: 0; left: 20px; right: 20px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
}
.lv-bag .bag-handle {
  position: absolute;
  top: -40px; left: 30px; right: 30px; height: 42px;
  border: 4px solid #c9a96e;
  border-bottom: none;
  border-radius: 30px 30px 0 0;
}
.lv-bag .bag-logo-tag {
  position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 16px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.8;
}

/* CHRISTIAN DIOR */
.dior-bag .bag-body {
  width: 120px; height: 95px;
  background: linear-gradient(145deg, #f5f0eb 0%, #e8e0d5 100%);
  border-radius: 3px;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.5);
}
.dior-bag .bag-pattern {
  position: absolute; inset: 5px;
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0, rgba(0,0,0,0.06) 1px, transparent 0, transparent 12px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.06) 0, rgba(0,0,0,0.06) 1px, transparent 0, transparent 12px);
  background-size: 17px 17px;
}
.dior-bag .bag-flap {
  position: absolute;
  top: -30px; left: 0; right: 0; height: 32px;
  background: linear-gradient(145deg, #f5f0eb, #e0d8cc);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}
.dior-bag .bag-clasp {
  position: absolute;
  top: -40px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 14px;
  background: #c9a96e;
  border-radius: 2px;
}
.dior-bag .bag-strap {
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 35px;
  background: #c9a96e;
}

/* FENDI */
.fendi-bag .bag-body {
  width: 125px; height: 105px;
  background: linear-gradient(145deg, #d4a96a 0%, #b8924f 100%);
  border-radius: 50% 50% 4px 4px;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.5);
}
.fendi-bag .bag-pattern {
  position: absolute; inset: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  border-radius: 50% 50% 2px 2px;
}
.fendi-bag .bag-flap {
  position: absolute;
  top: -20px; left: 5px; right: 5px; height: 22px;
  background: linear-gradient(145deg, #d4a96a, #b8924f);
  border-radius: 50% 50% 0 0;
}
.fendi-bag .bag-charm {
  position: absolute;
  bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 22px;
  background: var(--gold);
  border-radius: 0 0 50% 50%;
}
.fendi-bag .bag-handle {
  position: absolute;
  top: -50px; left: 30px; right: 30px; height: 32px;
  border: 3px solid #8b6914;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

/* CHANEL */
.chanel-bag .bag-body {
  width: 115px; height: 95px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 3px;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.7), inset 0 0 30px rgba(255,255,255,0.03);
}
.chanel-bag .bag-pattern {
  position: absolute; inset: 5px;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,169,110,0.08) 0, rgba(201,169,110,0.08) 1px, transparent 0, transparent 14px),
    repeating-linear-gradient(-45deg, rgba(201,169,110,0.08) 0, rgba(201,169,110,0.08) 1px, transparent 0, transparent 14px);
  background-size: 20px 20px;
}
.chanel-bag .bag-flap {
  position: absolute;
  top: -25px; left: 0; right: 0; height: 27px;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border-radius: 3px 3px 0 0;
}
.chanel-bag .bag-cc {
  position: absolute;
  top: -32px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 14px;
  background: var(--gold);
  clip-path: polygon(30% 0%, 70% 0%, 70% 100%, 30% 100%, 0% 50%);
  opacity: 0.9;
}
.chanel-bag .bag-chain {
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 38px;
  background: repeating-linear-gradient(180deg, var(--gold) 0, var(--gold) 4px, transparent 4px, transparent 7px);
}

/* BOTTEGA VENETA */
.bv-bag .bag-body {
  width: 145px; height: 95px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.5);
  background: #5c3d2e;
}
.bv-bag .bag-weave {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(80,50,30,0.8) 0, rgba(80,50,30,0.8) 14px, transparent 14px, transparent 28px),
    repeating-linear-gradient(0deg, rgba(100,70,45,0.6) 0, rgba(100,70,45,0.6) 8px, transparent 8px, transparent 16px);
  background-size: 28px 16px;
}
.bv-bag .bag-handle {
  position: absolute;
  top: -45px; left: 25px; right: 25px; height: 48px;
  border: 5px solid #8b6040;
  border-bottom: none;
  border-radius: 40px 40px 0 0;
}

/* CÉLINE */
.celine-bag .bag-body {
  width: 135px; height: 90px;
  background: linear-gradient(145deg, #2c2c2c 0%, #1a1a1a 100%);
  border-radius: 4px;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.5);
}
.celine-bag .bag-pattern {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
}
.celine-bag .bag-zip {
  position: absolute;
  top: 0; left: 15px; right: 15px; height: 3px;
  background: #c9a96e;
}
.celine-bag .bag-handle {
  position: absolute;
  top: -38px; left: 35px; right: 35px; height: 40px;
  border: 3px solid #555;
  border-bottom: none;
  border-radius: 25px 25px 0 0;
}

/* PRADA */
.prada-bag .bag-body {
  width: 125px; height: 100px;
  background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
  border-radius: 2px;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.5);
}
.prada-bag .bag-flap {
  position: absolute;
  top: -35px; left: 0; right: 0; height: 37px;
  background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
  border-radius: 2px 2px 0 0;
}
.prada-bag .bag-triangle {
  position: absolute;
  top: -45px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 12px;
  background: var(--gold);
  border-radius: 1px;
}
.prada-bag .bag-handle {
  position: absolute;
  top: -70px; left: 25px; right: 25px; height: 38px;
  border: 3px solid #555;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

/* MIU MIU */
.miumiu-bag .bag-body {
  width: 120px; height: 95px;
  background: linear-gradient(145deg, #f5e8e0 0%, #e8d4c8 100%);
  border-radius: 4px;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.4);
}
.miumiu-bag .bag-flap {
  position: absolute;
  top: -32px; left: 0; right: 0; height: 34px;
  background: linear-gradient(145deg, #f5e8e0, #ddd0c4);
  border-radius: 4px 4px 0 0;
}
.miumiu-bag .bag-bow {
  position: absolute;
  top: -44px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 14px;
  background: #c9a96e;
  clip-path: polygon(0 50%, 50% 0, 50% 100%, 50% 0, 100% 50%, 50% 100%);
}
.miumiu-bag .bag-handle {
  position: absolute;
  top: -65px; left: 28px; right: 28px; height: 36px;
  border: 3px solid #c9a96e;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

/* BALENCIAGA */
.balenciaga-bag .bag-body {
  width: 140px; height: 90px;
  background: linear-gradient(145deg, #222 0%, #111 100%);
  border-radius: 2px;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.6);
}
.balenciaga-bag .bag-stitch {
  position: absolute; inset: 6px;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 1px;
}
.balenciaga-bag .bag-handle {
  position: absolute;
  top: -42px; left: 20px; right: 20px; height: 44px;
  border: 4px solid #333;
  border-bottom: none;
  border-radius: 30px 30px 0 0;
}
.balenciaga-bag .bag-zip {
  position: absolute;
  top: 0; left: 10px; right: 10px; height: 3px;
  background: #555;
}

/* HERMÈS */
.hermes-bag .bag-body {
  width: 120px; height: 110px;
  background: linear-gradient(145deg, #8B0000 0%, #6B0000 100%);
  border-radius: 2px;
  box-shadow: 4px 4px 25px rgba(0,0,0,0.6);
}
.hermes-bag .bag-flap {
  position: absolute;
  top: -38px; left: -2px; right: -2px; height: 42px;
  background: linear-gradient(145deg, #8B0000, #6B0000);
  border-radius: 2px 2px 0 0;
  clip-path: polygon(0 100%, 0 30%, 50% 0, 100% 30%, 100% 100%);
}
.hermes-bag .bag-clasp {
  position: absolute;
  top: -20px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 22px;
  background: var(--gold);
  border-radius: 2px;
}
.hermes-bag .bag-lock {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px;
  background: #8b6914;
  border-radius: 50%;
}
.hermes-bag .bag-handle {
  position: absolute;
  top: -55px; left: 18px; right: 18px; height: 30px;
  border: 4px solid #c9a96e;
  border-bottom: none;
  border-radius: 25px 25px 0 0;
}

/* LOEWE */
.loewe-bag .bag-body {
  width: 130px; height: 100px;
  background: linear-gradient(145deg, #c4a882 0%, #a8906a 100%);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.5);
}
.loewe-bag .bag-weave {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(30deg, rgba(120,90,55,0.3) 0, rgba(120,90,55,0.3) 2px, transparent 2px, transparent 20px),
    repeating-linear-gradient(-30deg, rgba(120,90,55,0.3) 0, rgba(120,90,55,0.3) 2px, transparent 2px, transparent 20px);
}
.loewe-bag .bag-flap {
  position: absolute;
  top: -30px; left: 0; right: 0; height: 32px;
  background: linear-gradient(145deg, #c4a882, #a8906a);
  border-radius: 3px 3px 0 0;
  clip-path: polygon(0 100%, 0 40%, 50% 0, 100% 40%, 100% 100%);
}
.loewe-bag .bag-handle {
  position: absolute;
  top: -62px; left: 22px; right: 22px; height: 38px;
  border: 4px solid #8b6a40;
  border-bottom: none;
  border-radius: 28px 28px 0 0;
}

/* ===== CARD INFO ===== */
.card-info {
  text-align: center;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(201,169,110,0.15);
  padding-top: 1.5rem;
}

.card-founded {
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.card-info h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.card-origin {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--gray);
}

.card-verify-btn {
  width: 100%;
  padding: 0.9rem;
  background: transparent;
  border: 1px solid rgba(201,169,110,0.4);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  cursor: pointer;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}

.card-verify-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.4s var(--transition);
}

.card-verify-btn span { position: relative; z-index: 1; }

.card-verify-btn:hover {
  color: var(--black);
}
.card-verify-btn:hover::before { transform: translateY(0); }

/* ===== CAROUSEL CONTROLS ===== */
.carousel-btn {
  width: 50px; height: 50px;
  background: transparent;
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
  margin: 0 1rem;
  z-index: 10;
}
.carousel-btn:hover {
  background: rgba(201,169,110,0.1);
  border-color: var(--gold);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(201,169,110,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--transition);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--dark2);
  border: 1px solid rgba(201,169,110,0.2);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.5s var(--transition);
}
.modal-overlay.open .modal-content {
  transform: translateY(0);
}

/* Scrollbar */
.modal-content::-webkit-scrollbar { width: 4px; }
.modal-content::-webkit-scrollbar-track { background: var(--dark); }
.modal-content::-webkit-scrollbar-thumb { background: var(--gold-dark); }

.modal-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--gold); }

.modal-brand-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(201,169,110,0.15);
  padding-bottom: 1.5rem;
}
.modal-label {
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.modal-brand-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}

/* ===== SERIAL GUIDE ===== */
.serial-guide {
  background: rgba(201,169,110,0.04);
  border: 1px solid rgba(201,169,110,0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.guide-label {
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.guide-visual {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.guide-bag-diagram {
  position: relative;
  flex-shrink: 0;
}

.guide-bag-svg {
  width: 120px;
  height: auto;
}

.guide-text { flex: 1; min-width: 180px; }
.guide-text h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.guide-text p {
  font-size: 0.65rem;
  line-height: 1.8;
  color: rgba(245,240,235,0.65);
  letter-spacing: 0.05em;
}
.guide-text .guide-format {
  margin-top: 0.8rem;
  padding: 0.5rem 0.8rem;
  background: rgba(201,169,110,0.08);
  border-left: 2px solid var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  font-family: monospace;
}

/* Pulsing hotspot on diagram */
.hotspot {
  position: absolute;
  width: 14px; height: 14px;
  background: rgba(201,169,110,0.3);
  border: 2px solid var(--gold);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
  cursor: help;
}
.hotspot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(201,169,110,0.15);
  animation: pulseRing 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0; }
}

/* ===== VERIFY FORM ===== */
.verify-form { margin-bottom: 2rem; }

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.form-group .optional {
  color: var(--gray);
  font-size: 0.45rem;
}

.form-group input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,169,110,0.2);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.3s;
}
.form-group input:focus {
  border-color: var(--gold);
  background: rgba(201,169,110,0.03);
}
.form-group input::placeholder { color: rgba(255,255,255,0.2); }

.verify-btn {
  width: 100%;
  padding: 1.1rem;
  background: var(--gold);
  border: none;
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.verify-btn:hover { background: var(--gold-light); }

.btn-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 2s ease-in-out infinite;
}
@keyframes shine {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

/* ===== RESULT PANEL ===== */
.result-panel {
  border-top: 1px solid rgba(201,169,110,0.15);
  padding-top: 2rem;
  animation: fadeUp 0.5s ease forwards;
}

.result-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.result-status {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.result-status.authentic { color: #7ec8a4; }
.result-status.counterfeit { color: #e07070; }

.result-detail {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ===== JOURNEY MAP ===== */
.journey-section { margin-top: 1.5rem; }

.journey-label {
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1rem;
  text-align: center;
}

.journey-map {
  width: 100%;
  height: 180px;
  background: var(--dark3);
  border: 1px solid rgba(201,169,110,0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* SVG World Map embedded as background */
.journey-map svg {
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.journey-path {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem;
}

.journey-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.node-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201,169,110,0.5);
}

.node-label {
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  text-align: center;
  max-width: 80px;
}

.journey-arrow {
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.6;
}

/* ===== MAP LINES ANIMATION ===== */
.map-dot {
  fill: var(--gold);
  animation: mapPulse 2s ease-in-out infinite;
}
@keyframes mapPulse {
  0%, 100% { opacity: 0.6; r: 4; }
  50% { opacity: 1; r: 6; }
}
.map-line {
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 2s ease forwards 0.5s;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ===== ABOUT SECTION ===== */
#about {
  padding: 10rem 2rem;
  text-align: center;
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.3), transparent);
}

.about-inner { max-width: 700px; margin: 0 auto; }

#about h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin-bottom: 2rem;
}
#about h2 em { font-style: italic; color: var(--gold); }

.about-text {
  font-size: 0.75rem;
  line-height: 2.2;
  color: rgba(245,240,235,0.6);
  letter-spacing: 0.05em;
  margin-bottom: 4rem;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.stat-label {
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: var(--gray);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid rgba(201,169,110,0.1);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.footer-sub {
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
.footer-copy {
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.2);
}

/* ===== GOYARD 3D LUXURY CARD ===== */
.goyard-3d-card {
  padding: 0 0 1.8rem;
  overflow: hidden;
  border-color: rgba(201,169,110,0.25) !important;
  background: #080808 !important;
  flex: 0 0 360px !important;
}

.goyard-3d-card.active {
  box-shadow: 0 0 60px rgba(201,169,110,0.15), 0 30px 80px rgba(0,0,0,0.6) !important;
}

/* ── Tab Header ── */
.gy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 7px;
  background: #0c0c0c;
  border-bottom: 1px solid rgba(201,169,110,0.12);
}

.gy-brand { display: flex; flex-direction: column; }

.gy-maison {
  font-size: 0.33rem;
  letter-spacing: 0.3em;
  color: rgba(201,169,110,0.45);
  margin-bottom: 2px;
}

.gy-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--gold);
  line-height: 1;
}

.gy-tabs { display: flex; gap: 2px; }

.gy-tab {
  background: rgba(8,8,8,0.9);
  border: 1px solid rgba(201,169,110,0.15);
  color: rgba(245,240,235,0.38);
  font-family: var(--font-sans);
  font-size: 0.33rem;
  letter-spacing: 0.18em;
  padding: 4px 9px;
  cursor: pointer;
  transition: all 0.25s;
}

.gy-tab.active {
  background: rgba(201,169,110,0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.gy-tab:hover {
  border-color: rgba(201,169,110,0.4);
  color: rgba(245,240,235,0.7);
}

/* ── Panel container ── */
.gy-panel { position: relative; }

/* ── 3D Viewport ── */
.g3d-viewport {
  position: relative;
  width: 100%;
  height: 310px;
  overflow: hidden;
  background: #080808;
}

.gy-3d-panel .g3d-viewport { height: 310px; }

#goyardCanvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ── Top Bar Overlay (legacy, kept for reference) ── */
.g3d-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(8,8,8,0.8) 0%, transparent 100%);
  pointer-events: none;
}

.g3d-brand-label { display: flex; flex-direction: column; }
.g3d-maison {
  font-size: 0.38rem; letter-spacing: 0.35em;
  color: rgba(201,169,110,0.5); line-height: 1; margin-bottom: 2px;
}
.g3d-name {
  font-family: var(--font-serif); font-size: 1.1rem;
  font-weight: 300; letter-spacing: 0.2em;
  color: var(--gold); line-height: 1;
}
.g3d-color-tabs { display: flex; gap: 3px; pointer-events: all; }
.g3d-tab {
  background: rgba(8,8,8,0.7); border: 1px solid rgba(201,169,110,0.2);
  color: rgba(245,240,235,0.45); font-family: var(--font-sans);
  font-size: 0.38rem; letter-spacing: 0.22em; padding: 4px 10px;
  cursor: pointer; transition: all 0.3s; backdrop-filter: blur(8px);
}
.g3d-tab:hover { border-color: rgba(201,169,110,0.5); color: var(--gold); }
.g3d-tab.active { background: rgba(201,169,110,0.12); border-color: var(--gold); color: var(--gold); }

/* ── Bottom Bar Overlay ── */
.g3d-bottom-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(8,8,8,0.75) 0%, transparent 100%);
}

/* State toggle */
.g3d-state-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(201,169,110,0.2);
  overflow: hidden;
}

.g3d-state {
  background: transparent;
  border: none;
  color: rgba(245,240,235,0.4);
  font-family: var(--font-sans);
  font-size: 0.36rem;
  letter-spacing: 0.22em;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.25s;
}

.g3d-state:hover { color: var(--gold); background: rgba(201,169,110,0.06); }

.g3d-state.active {
  background: rgba(201,169,110,0.15);
  color: var(--gold);
}

.g3d-state-sep {
  width: 1px;
  height: 14px;
  background: rgba(201,169,110,0.2);
}

/* Drag hint */
.g3d-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.35rem;
  letter-spacing: 0.2em;
  color: rgba(245,240,235,0.3);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.g3d-hint svg { opacity: 0.6; }

/* Loading overlay */
.g3d-loading {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
}

.g3d-loading span {
  font-size: 0.42rem;
  letter-spacing: 0.35em;
  color: rgba(201,169,110,0.6);
  font-family: var(--font-sans);
}

.g3d-loader-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(201,169,110,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Photo strip ── */
.g3d-photo-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #0f0f0f;
  border-top: 1px solid rgba(201,169,110,0.08);
  border-bottom: 1px solid rgba(201,169,110,0.08);
}

.strip-label {
  font-size: 0.33rem;
  letter-spacing: 0.2em;
  color: rgba(201,169,110,0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.strip-thumbs {
  display: flex;
  gap: 3px;
  flex: 1;
  overflow: hidden;
}

.strip-thumb {
  flex: 1;
  height: 42px;
  border: 1px solid transparent;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: all 0.22s;
  border-radius: 1px;
  min-width: 0;
}

.strip-thumb:hover { border-color: rgba(201,169,110,0.3); }
.strip-thumb.active { border-color: var(--gold); }

/* Card info for 3D card */
.g3d-info {
  padding: 1rem 1.4rem 0;
  border-top: none;
  margin-bottom: 0.9rem;
}

.goyard-3d-card .card-verify-btn {
  margin: 0 1.4rem;
  width: calc(100% - 2.8rem);
}

/* ===== REAL IMAGE GALLERY CARD (GOYARD) ===== */
.brand-card.has-images {
  padding: 0 0 1.8rem;
  overflow: hidden;
}

.brand-card.has-images .card-info {
  padding: 1rem 1.8rem 0;
  border-top: none;
  margin-bottom: 1rem;
}

.brand-card.has-images .card-verify-btn {
  margin: 0 1.8rem;
  width: calc(100% - 3.6rem);
}

/* ---- Color Bar ---- */
.goyard-color-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem 0.5rem;
  background: var(--dark3);
  border-bottom: 1px solid rgba(201,169,110,0.1);
}

.goyard-brand-chip {
  font-size: 0.42rem;
  letter-spacing: 0.2em;
  color: rgba(245,240,235,0.4);
}

.goyard-color-swatches {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.swatch {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(201,169,110,0.15);
  padding: 3px 8px 3px 5px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 20px;
}

.swatch:hover { border-color: rgba(201,169,110,0.5); }

.swatch.active {
  border-color: var(--gold);
  background: rgba(201,169,110,0.08);
}

.swatch-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.swatch-grey .swatch-dot { background: #9aa2a8; border: 1.5px solid #777; }
.swatch-black .swatch-dot { background: #1a1a1a; border: 1.5px solid #555; }

/* ── Goyardine pattern swatch dots ── */
.swatch-gy-black .swatch-dot,
.swatch-gy-blacktan .swatch-dot,
.swatch-gy-red .swatch-dot,
.swatch-gy-orange .swatch-dot,
.swatch-gy-yellow .swatch-dot {
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(201,169,110,0.35);
  overflow: hidden;
  flex-shrink: 0;
}

/* Image 1 → BLACK: dark base, light grey herringbone */
.swatch-gy-black .swatch-dot {
  background-color: #0e0e0e;
  background-image:
    repeating-linear-gradient(55deg,  transparent 0 3px, rgba(255,255,255,0.13) 3px 4px),
    repeating-linear-gradient(-55deg, transparent 0 3px, rgba(255,255,255,0.13) 3px 4px),
    repeating-linear-gradient(90deg,  transparent 0 5px, rgba(255,255,255,0.06) 5px 6px);
}

/* Image 2 → BLACK & TAN: black base, warm tan chevrons */
.swatch-gy-blacktan .swatch-dot {
  background-color: #080808;
  background-image:
    repeating-linear-gradient(55deg,  transparent 0 3px, rgba(165,115,50,0.7) 3px 4px),
    repeating-linear-gradient(-55deg, transparent 0 3px, rgba(165,115,50,0.7) 3px 4px),
    repeating-linear-gradient(90deg,  transparent 0 5px, rgba(200,150,60,0.2) 5px 6px);
}

/* Image 3 → RED: deep red base, brighter red chevrons */
.swatch-gy-red .swatch-dot {
  background-color: #6b0a0a;
  background-image:
    repeating-linear-gradient(55deg,  transparent 0 3px, rgba(255,80,80,0.25) 3px 4px),
    repeating-linear-gradient(-55deg, transparent 0 3px, rgba(180,20,20,0.5) 3px 4px),
    repeating-linear-gradient(90deg,  transparent 0 5px, rgba(220,40,40,0.15) 5px 6px);
}

/* Image 4 → ORANGE: burnt orange base, bright orange chevrons */
.swatch-gy-orange .swatch-dot {
  background-color: #8b2e00;
  background-image:
    repeating-linear-gradient(55deg,  transparent 0 3px, rgba(255,140,30,0.35) 3px 4px),
    repeating-linear-gradient(-55deg, transparent 0 3px, rgba(200,70,0,0.5) 3px 4px),
    repeating-linear-gradient(90deg,  transparent 0 5px, rgba(240,100,0,0.15) 5px 6px);
}

/* Image 5 → YELLOW: golden base, bright yellow chevrons */
.swatch-gy-yellow .swatch-dot {
  background-color: #8b6000;
  background-image:
    repeating-linear-gradient(55deg,  transparent 0 3px, rgba(255,220,60,0.4) 3px 4px),
    repeating-linear-gradient(-55deg, transparent 0 3px, rgba(200,140,0,0.5) 3px 4px),
    repeating-linear-gradient(90deg,  transparent 0 5px, rgba(240,180,0,0.2) 5px 6px);
}

.swatch-label {
  font-size: 0.4rem;
  letter-spacing: 0.2em;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
}

/* ---- Main Image ---- */
.gallery-main {
  position: relative;
  width: 100%;
  height: 255px;
  background: #f2ede8;
  overflow: hidden;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.gallery-main-img.switching {
  opacity: 0;
  transform: scale(0.95) translateY(6px);
}

/* View badge top-right */
.gallery-view-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: 0.38rem;
  letter-spacing: 0.25em;
  padding: 3px 9px;
}

/* Arrow nav bottom */
.gallery-nav-arrows {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0;
  background: rgba(10,10,10,0.35);
  backdrop-filter: blur(4px);
}

.gallery-arrow {
  background: none;
  border: none;
  color: rgba(245,240,235,0.7);
  font-size: 0.9rem;
  padding: 5px 14px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.gallery-arrow:hover {
  color: var(--gold);
  background: rgba(201,169,110,0.1);
}

.gallery-view-counter {
  font-size: 0.38rem;
  letter-spacing: 0.2em;
  color: rgba(245,240,235,0.45);
}

/* ---- Thumbnails ---- */
.gallery-thumbs {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #e4ddd5;
}

.thumb {
  flex: 1;
  height: 48px;
  border: 1.5px solid transparent;
  border-radius: 1px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f0ece6;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.2s;
}

.thumb:hover::after { background: rgba(201,169,110,0.12); }

.thumb.active {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

/* Interior thumb overlay */
.thumb.is-interior::before {
  content: 'IN';
  position: absolute;
  bottom: 2px; right: 3px;
  font-size: 0.28rem;
  letter-spacing: 0.1em;
  color: rgba(201,169,110,0.8);
  z-index: 2;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); }

/* ===== RESPONSIVE ===== */
/* ═══════════════════════════════════════════════════════
   LUXURY MOBILE — FULL OVERHAUL
═══════════════════════════════════════════════════════ */

/* ── Tablet ── */
@media (max-width: 768px) {
  #navbar { padding: 1.2rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .carousel-track { padding: 0 calc(50% - 160px); }
  .brand-card { flex: 0 0 280px; }
  .modal-content { padding: 2rem 1.5rem; }
  .about-stats { gap: 2.5rem; }
  .carousel-btn { margin: 0 0.3rem; width: 38px; height: 38px; }
}

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {

  /* ── Navigation ──────────────────────────────────── */
  #navbar {
    padding: .9rem 1.4rem;
    background: rgba(6,6,6,.92);
  }
  .nav-logo { font-size: .9rem; letter-spacing: .32em; }
  /* Hide all links, keep only SIGN OUT */
  .nav-links { gap: 0; }
  .nav-links a { display: none; }
  .nav-links .nav-signout-link {
    display: inline-block;
    font-size: .36rem;
    letter-spacing: .18em;
    opacity: .5;
  }

  /* ── Hero — 3D canvas area ───────────────────────── */
  /* Top badge */
  .h3d-badge {
    padding: 5px 14px; gap: .5rem;
    top: 1.2rem;
  }
  .h3d-badge-text { font-size: .34rem; letter-spacing: .22em; }
  .h3d-badge-star { font-size: .42rem; }

  /* Editorial title — repositioned for phone */
  .hero-editorial {
    left: 1.4rem;
    bottom: 10rem;
    max-width: calc(100vw - 2.8rem);
  }
  .hero-ed-sub {
    font-size: .32rem;
    letter-spacing: .3em;
    margin-bottom: .6rem;
  }
  .hero-ed-title {
    font-size: clamp(1.9rem, 8vw, 3rem);
    margin-bottom: .7rem;
  }
  .hero-ed-rule { width: 32px; }
  .hero-ed-desc { font-size: .34rem; letter-spacing: .16em; }

  /* Bottom CTA */
  .h3d-bottom { bottom: 2rem; gap: 1.4rem; }
  .h3d-verify-cta {
    padding: .8rem 1.8rem;
    font-size: .42rem;
    letter-spacing: .26em;
    gap: .5rem;
  }
  .h3d-scroll-line { height: 36px; }
  .h3d-scroll-label { font-size: .34rem; }

  /* ── Hero ghost text ─────────────────────────────── */
  .hero-ghost-text { font-size: clamp(4rem, 14vw, 9rem); }

  /* ── Manifesto section ───────────────────────────── */
  #manifesto { padding: 6rem 1.4rem 5rem; }
  .manifesto-inner { text-align: center; }
  .mfst-eyebrow { font-size: .38rem; letter-spacing: .3em; margin-bottom: 1.4rem; }
  .mfst-quote { font-size: clamp(2.2rem, 8vw, 3.5rem); margin-bottom: 1.4rem; }
  .mfst-body {
    font-size: .48rem;
    line-height: 2;
    margin-bottom: 2.5rem;
  }
  .mfst-body br { display: none; } /* Prevent manual line breaks on mobile */
  .mfst-stats { gap: 0; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
  .mfst-stat { padding: .8rem 1.6rem; }
  .mfst-sep { display: none; }
  .mfst-num { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .mfst-label { font-size: .32rem; letter-spacing: .22em; margin-top: .3rem; }
  .mfst-rule { margin-bottom: 1.8rem; }

  /* ── Brand carousel ──────────────────────────────── */
  .section-header { padding: 0 1.4rem; }
  .brand-card { flex: 0 0 260px; }
  .carousel-track { padding: 0 calc(50% - 140px); }
  .carousel-btn { width: 36px; height: 36px; }

  /* ── Features section ────────────────────────────── */
  #features { padding: 5rem 1.4rem; }
  .feat-inner { flex-direction: column; align-items: center; gap: 3rem; }
  .feat-item { padding: 0; max-width: 320px; }
  .feat-div { display: none; }
  .feat-icon { margin-bottom: 1rem; }
  .feat-title { font-size: .38rem; }
  .feat-text { font-size: .48rem; }

  /* ── About section ───────────────────────────────── */
  .about-inner { padding: 0 1.4rem; }
  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
  }

  /* ── Verify CTA ──────────────────────────────────── */
  #verify-cta { padding: 6rem 1.4rem; }
  .vcta-eyebrow { font-size: .36rem; }
  .vcta-title { font-size: clamp(2rem, 8vw, 3.5rem); margin-bottom: 1.2rem; }
  .vcta-sub { font-size: .48rem; line-height: 1.9; margin-bottom: 2.2rem; }
  .vcta-btn { padding: .9rem 2rem; font-size: .44rem; letter-spacing: .24em; }

  /* ── Collection 3D section ───────────────────────── */
  .c3d-stage-wrap { height: 440px; }

  /* ── Footer ──────────────────────────────────────── */
  .footer-inner {
    flex-direction: column;
    gap: 2.5rem;
    padding: 3.5rem 1.4rem 3rem;
  }
  .footer-logo { font-size: 1.1rem; letter-spacing: .26em; }
  .footer-bottom {
    padding: 1.8rem 1.4rem;
    font-size: .34rem;
  }
}

/* ═══════════════════════════════════════════════════════
   HERO GHOST TEXT + EDITORIAL LAYOUT
═══════════════════════════════════════════════════════ */
.hero-ghost-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 18rem);
  font-weight: 300;
  letter-spacing: .06em;
  color: rgba(255,255,255,.028);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  animation: ghostDrift 20s ease-in-out infinite alternate;
}
@keyframes ghostDrift {
  from { transform: translate(-50%,-50%) scale(1); }
  to   { transform: translate(-50%,-53%) scale(1.04); }
}

.hero-editorial {
  position: absolute;
  left: 4rem;
  bottom: 8rem;
  z-index: 10;
  max-width: 440px;
}
.hero-ed-sub {
  font-size: .38rem;
  letter-spacing: .4em;
  color: rgba(201,169,110,.55);
  margin-bottom: .8rem;
}
.hero-ed-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 300;
  letter-spacing: .06em;
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 1rem;
}
.hero-ed-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-ed-rule {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1rem;
}
.hero-ed-desc {
  font-size: .42rem;
  letter-spacing: .22em;
  color: rgba(245,240,235,.35);
}

/* ═══════════════════════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════════════════════ */
.marquee-strip {
  background: #0a0a0a;
  border-top: 1px solid rgba(201,169,110,.15);
  border-bottom: 1px solid rgba(201,169,110,.15);
  overflow: hidden;
  padding: .9rem 0;
  position: relative;
  z-index: 10;
}
.marquee-inner {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
  font-family: var(--font-serif);
  font-size: .85rem;
  font-weight: 300;
  letter-spacing: .35em;
  color: rgba(201,169,110,.45);
  white-space: nowrap;
  align-items: center;
}
.mq-dot {
  font-size: .55rem;
  color: rgba(201,169,110,.25);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════
   NAV UPGRADES
═══════════════════════════════════════════════════════ */
.nav-verify-link { color: var(--gold) !important; }
.nav-signout-link { opacity: 0.35 !important; font-size: 0.5rem !important; }

/* ═══════════════════════════════════════════════════════
   PARTICLE CANVAS (hero overlay)
═══════════════════════════════════════════════════════ */
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   MANIFESTO — Pure white luxury statement
═══════════════════════════════════════════════════════ */
#manifesto {
  background: #ffffff;
  position: relative;
  z-index: 10;
  padding: 9rem 2rem 8rem;
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
}
#manifesto::before {
  content: 'AUTHENTICITÉ';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-serif);
  font-size: clamp(5rem,14vw,14rem);
  font-weight: 300;
  letter-spacing: .08em;
  color: rgba(0,0,0,.028);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.mfst-rule {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, #0a0a0a, transparent);
  margin: 0 auto 2.5rem;
  opacity: .35;
}
.mfst-eyebrow {
  font-size: 0.68rem;
  letter-spacing: .4em;
  color: rgba(10,10,10,.55);
  margin-bottom: 2rem;
}
.mfst-quote {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: .04em;
  color: #0a0a0a;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.mfst-quote em {
  font-style: italic;
  color: var(--gold-dark);
}
.mfst-body {
  font-size: 0.9rem;
  letter-spacing: .06em;
  line-height: 2.0;
  color: rgba(10,10,10,.65);
  margin-bottom: 3.5rem;
}
.mfst-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}
.mfst-stat { text-align: center; }
.mfst-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: #0a0a0a;
  letter-spacing: .04em;
  line-height: 1;
}
.mfst-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: .3em;
  color: rgba(10,10,10,.52);
  margin-top: .5rem;
}
.mfst-sep {
  width: 1px;
  height: 50px;
  background: rgba(10,10,10,.15);
}

/* ═══════════════════════════════════════════════════════
   FEATURES — White section, 3 pillars
═══════════════════════════════════════════════════════ */
#features {
  background: #faf9f7;
  position: relative;
  z-index: 10;
  padding: 7rem 2rem;
  border-top: 1px solid rgba(10,10,10,.07);
  border-bottom: 1px solid rgba(10,10,10,.07);
}
.feat-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.feat-item {
  flex: 1;
  text-align: center;
  padding: 0 3rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.feat-item.lx-visible {
  opacity: 1;
  transform: translateY(0);
}
.feat-icon {
  width: 48px; height: 48px;
  margin: 0 auto 1.5rem;
  color: #0a0a0a;
}
.feat-icon svg { width: 100%; height: 100%; }
.feat-title {
  font-size: .4rem;
  letter-spacing: .3em;
  color: #0a0a0a;
  margin-bottom: 1rem;
  font-weight: 500;
}
.feat-text {
  font-size: .55rem;
  letter-spacing: .06em;
  line-height: 1.9;
  color: rgba(10,10,10,.5);
}
.feat-div {
  width: 1px;
  align-self: stretch;
  background: rgba(10,10,10,.1);
  margin: 0.5rem 0;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   VERIFY CTA — Dark luxury CTA
═══════════════════════════════════════════════════════ */
#verify-cta {
  background: #04040a;
  position: relative;
  z-index: 10;
  padding: 9rem 2rem;
  overflow: hidden;
  text-align: center;
}
.vcta-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .7;
}
.vcta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}
.vcta-inner.lx-visible {
  opacity: 1;
  transform: translateY(0);
}
.vcta-rule {
  width: 50px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 2.2rem;
  opacity: .6;
}
.vcta-eyebrow {
  font-size: .4rem;
  letter-spacing: .4em;
  color: rgba(201,169,110,.5);
  margin-bottom: 1.8rem;
}
.vcta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.vcta-title em { font-style: italic; color: var(--gold); }
.vcta-sub {
  font-size: .56rem;
  letter-spacing: .1em;
  line-height: 2;
  color: rgba(245,240,235,.38);
  margin-bottom: 3rem;
}
.vcta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.8rem;
  border: 1px solid rgba(201,169,110,.5);
  color: var(--gold);
  text-decoration: none;
  font-size: .5rem;
  letter-spacing: .3em;
  position: relative;
  overflow: hidden;
  transition: color .45s var(--transition);
  background: rgba(201,169,110,.04);
  backdrop-filter: blur(8px);
}
.vcta-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform .45s var(--transition);
  z-index: -1;
}
.vcta-btn:hover { color: #0a0a0a; }
.vcta-btn:hover::before { transform: translateX(0); }

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL UTILITY
═══════════════════════════════════════════════════════ */
.lx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.lx-reveal.lx-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   FOOTER REDESIGN
═══════════════════════════════════════════════════════ */
footer {
  background: #060606 !important;
  border-top: none !important;
  padding: 0 !important;
}
.footer-gold-bar {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,.4), transparent);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
  padding: 5rem 6rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: .6rem;
}
.footer-tagline {
  font-size: .36rem;
  letter-spacing: .3em;
  color: rgba(245,240,235,.25);
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.footer-col-label {
  font-size: .36rem;
  letter-spacing: .35em;
  color: rgba(201,169,110,.45);
  margin-bottom: .2rem;
}
.footer-links-col a {
  font-size: .46rem;
  letter-spacing: .18em;
  color: rgba(245,240,235,.35);
  text-decoration: none;
  transition: color .3s;
}
.footer-links-col a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center;
  padding: 2rem 6rem;
  border-top: 1px solid rgba(255,255,255,.04);
  font-size: .38rem;
  letter-spacing: .2em;
  color: rgba(245,240,235,.2);
}
.footer-bottom-rule {
  width: 40px; height: 1px;
  background: rgba(201,169,110,.2);
  margin: 1.2rem auto 0;
}

/* ═══════════════════════════════════════════════════════════════════
   LUXURY EFFECTS — effects.js CSS
   Custom cursor · Page wipe · Scroll reveals · Shimmer · Tilt · 3D loader
════════════════════════════════════════════════════════════════════ */

/* ── Custom cursor ────────────────────────────────────────────── */
@media (pointer: fine) {
  * { cursor: none !important; }
}
.lx-cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #c9a96e;
  pointer-events: none;
  z-index: 99999;
  transition: width .2s, height .2s, background .2s, opacity .2s;
  will-change: transform;
  mix-blend-mode: difference;
}
.lx-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,.5);
  pointer-events: none;
  z-index: 99998;
  transition: width .25s, height .25s, border-color .25s, opacity .25s;
  will-change: transform;
}
/* Hover state */
.lx-cursor-dot.lx-cursor-hover {
  width: 14px; height: 14px;
  background: rgba(201,169,110,.9);
}
.lx-cursor-ring.lx-cursor-hover {
  width: 56px; height: 56px;
  border-color: rgba(201,169,110,.8);
}
/* Grab state (over canvas) */
.lx-cursor-dot.lx-cursor-grab  { opacity: .6; }
.lx-cursor-ring.lx-cursor-grab {
  width: 48px; height: 48px;
  border-style: dashed;
}
/* Mobile: hide cursor elements */
@media (pointer: coarse), (max-width: 768px) {
  .lx-cursor-dot, .lx-cursor-ring { display: none; }
  * { cursor: auto !important; }
}

/* ── Page wipe transition ─────────────────────────────────────── */
.lx-page-wipe {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: #03030a;
  pointer-events: none;
  opacity: 0;
  transition: opacity .32s cubic-bezier(.77,0,.175,1);
}
.lx-page-wipe.lx-wipe-active {
  opacity: 1;
  pointer-events: all;
}

/* ── Scroll stagger reveal ────────────────────────────────────── */
.lx-stagger {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.lx-stagger.lx-stagger-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Gold shimmer sweep ───────────────────────────────────────── */
.gold-shimmer { position: relative; overflow: hidden; }
.gold-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 40%, rgba(255,230,150,.38) 50%, transparent 60%);
  transform: translateX(-100%);
  pointer-events: none;
  transition: none;
}
.gold-shimmer.shimmer-active::after {
  animation: lxShimmerSweep .65s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes lxShimmerSweep {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%);  }
}

/* ── Navbar scrolled state ────────────────────────────────────── */
#navbar.nav-scrolled,
.vfy-nav.nav-scrolled {
  background: rgba(4,4,4,.96) !important;
  backdrop-filter: blur(24px) saturate(1.6) !important;
  border-bottom-color: rgba(201,169,110,.18) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}

/* ── 3D viewer loading text ───────────────────────────────────── */
.lx-3d-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
  background: rgba(3,8,16,.6);
  transition: opacity .6s ease;
}
.lx-3d-loading span {
  font-family: 'Montserrat', sans-serif;
  font-size: .3rem;
  letter-spacing: .42em;
  color: rgba(201,169,110,.45);
  animation: lxLoadPulse 1.8s ease-in-out infinite;
}
@keyframes lxLoadPulse {
  0%,100% { opacity: .3; }
  50%      { opacity: 1;  }
}

/* ── Tilt card (3D perspective) ───────────────────────────────── */
.tilt-card {
  transition: transform .4s cubic-bezier(.4,0,.2,1),
              box-shadow .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  transform-style: preserve-3d;
}
.tilt-card:hover {
  box-shadow: 0 28px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(201,169,110,.18);
}

/* ── Enhanced button shine (all pages) ────────────────────────── */
.sc-btn, .h3d-verify-cta, .vcta-btn, .logout-btn {
  transition: transform .22s cubic-bezier(.4,0,.2,1),
              color .4s cubic-bezier(.77,0,.175,1),
              box-shadow .3s ease !important;
}
.sc-btn:hover, .vcta-btn:hover, .h3d-verify-cta:hover {
  box-shadow: 0 0 32px rgba(201,169,110,.22);
}

/* ── Gold top-line pulse ──────────────────────────────────────── */
.top-bar {
  animation: topBarPulse 4s ease-in-out infinite;
}
@keyframes topBarPulse {
  0%,100% { opacity: .7; }
  50%      { opacity: 1;  }
}

/* ── Manifesto stats: stagger on scroll ───────────────────────── */
.mfst-stat { transition: opacity .6s ease, transform .6s ease; }

/* ── Floating gold particles (hero logo area) ─────────────────── */
@keyframes floatGold {
  0%,100% { transform: translateY(0)   rotate(0deg);   opacity: .35; }
  33%      { transform: translateY(-8px) rotate(120deg); opacity: .65; }
  66%      { transform: translateY(4px)  rotate(240deg); opacity: .45; }
}

/* ── Result card sections: smoother entrance ─────────────────── */
.brand-result {
  animation: lxCardIn .7s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes lxCardIn {
  from { opacity: 0; transform: translateY(40px) scale(.985); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ── verify 3D panel: subtle glow border ─────────────────────── */
.br-3d-view:hover {
  box-shadow: inset 0 0 40px rgba(201,169,110,.06);
}

/* ── Loading screen enhancement: branded gradient ─────────────── */
#heroLoading {
  background: radial-gradient(ellipse at 50% 60%,
    rgba(10,6,2,.98) 0%,
    rgba(3,3,10,1) 70%) !important;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE OVERHAUL — iPad Pro · iPhone 15 Pro Max
   Rules are additive — desktop styles untouched above 1024px
   3D models preserved on ALL breakpoints
═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   HAMBURGER BUTTON (hidden on desktop, shown on ≤1024px)
───────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(201,169,110,0.8);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─────────────────────────────────────────────────────────────
   iPad Pro — 768px to 1024px
   Layout stays desktop-like but compressed
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {

  /* ── Navbar ── */
  #navbar { padding: 1.1rem 2rem; }
  .nav-links { gap: 1.6rem; }
  .nav-links a { font-size: 0.58rem; }

  /* ── Hero editorial ── */
  .hero-editorial { left: 2.5rem; max-width: 380px; }
  .hero-ed-title { font-size: clamp(2rem, 5.5vw, 3.5rem); }

  /* ── Maisons section ── */
  .section-header { padding: 0 2rem; }
  .carousel-track { padding: 0 calc(50% - 180px); }
  .brand-card { flex: 0 0 320px !important; }

  /* ── 3D viewport inside Goyard card (preserve 3D) ── */
  .gy-3d-panel .g3d-viewport { height: 280px; }

  /* ── Collection 3D ── */
  .c3d-stage-wrap { height: 520px; }

  /* ── About ── */
  .about-inner { padding: 0 2rem; }

  /* ── Footer ── */
  .footer-inner { padding: 4rem 3rem 3rem; gap: 3rem; }
}

/* ─────────────────────────────────────────────────────────────
   Tablet — ≤ 768px
   Hamburger opens, cards narrower, 3D stays full height
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* ── Navbar — hamburger mode ── */
  #navbar {
    padding: 1rem 1.4rem;
    flex-wrap: wrap;
    align-items: center;
    position: fixed;
    background: rgba(6,6,6,0.97) !important;
    backdrop-filter: blur(20px);
  }
  .nav-hamburger { display: flex; }

  /* Nav links collapse into mobile drawer */
  .nav-links {
    display: none !important;         /* hidden by default */
    flex-direction: column !important;
    width: 100%;
    gap: 0 !important;
    padding: 0.6rem 0 1rem;
    border-top: 1px solid rgba(201,169,110,0.12);
    margin-top: 0.6rem;
    order: 3;
  }
  #navbar.nav-open .nav-links {
    display: flex !important;
  }
  .nav-links a {
    display: block !important;
    padding: 0.85rem 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    opacity: 0.8;
    border-bottom: 1px solid rgba(201,169,110,0.07);
  }
  .nav-links a:last-child { border-bottom: none; }
  /* Override inline styles on gold pill links */
  .nav-links .nav-verify-link {
    border: none !important;
    padding: 0.85rem 0.5rem !important;
  }
  .nav-signout-link {
    font-size: 0.6rem !important;
    opacity: 0.4 !important;
  }

  /* ── Hero ── */
  .hero-editorial {
    left: 1.4rem;
    bottom: 9rem;
    max-width: calc(100vw - 2.8rem);
  }
  .hero-ed-title { font-size: clamp(1.9rem, 7.5vw, 3rem); }

  /* ── Maisons Carousel ── */
  .section-header { padding: 0 1.4rem; }
  .carousel-wrapper { gap: 0.3rem; }
  .carousel-track { padding: 0 calc(50% - 155px); gap: 1.2rem; }
  .brand-card { flex: 0 0 290px !important; }

  /* ── Goyard 3D card — 3D model preserved ── */
  .gy-3d-panel .g3d-viewport { height: 290px; }

  /* ── Collection 3D — canvas preserved, taller for touch ── */
  .c3d-stage-wrap { height: 460px; }
  .c3d-header { padding: 0 1.4rem; }

  /* ── About / Footer ── */
  .about-inner { padding: 0 1.4rem; }
  .footer-inner { padding: 3.5rem 1.8rem 3rem; gap: 2.5rem; flex-wrap: wrap; }
}

/* ─────────────────────────────────────────────────────────────
   Mobile — ≤ 600px  (overrides the existing basic rules)
───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {

  /* ── Navbar ── */
  #navbar { padding: 0.9rem 1.2rem; }
  .nav-logo { font-size: 0.92rem; letter-spacing: 0.28em; }

  /* ── Hero ── */
  #hero { min-height: 100svh; }   /* safe viewport height for iOS */
  .hero-editorial { left: 1.2rem; bottom: 8.5rem; }
  .hero-ed-sub { font-size: 0.3rem; letter-spacing: 0.28em; }
  .hero-ed-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-ed-desc { font-size: 0.32rem; }
  .h3d-bottom { bottom: 1.8rem; }
  .h3d-verify-cta { font-size: 0.4rem; padding: 0.75rem 1.6rem; letter-spacing: 0.22em; }
  .hero-ghost-text { font-size: clamp(3.5rem, 13vw, 7rem); }

  /* ── Maisons Carousel — nearly full-width cards ── */
  .carousel-track {
    padding: 0 calc(50% - 45vw) !important;
    gap: 1rem;
  }
  .brand-card { flex: 0 0 88vw !important; }
  .carousel-btn { width: 34px; height: 34px; font-size: 1rem; }

  /* ── Goyard card inner layout (portrait phone) ── */
  .gy-header { padding: 0.9rem 1rem 0.6rem; }
  .gy-brand .gy-name { font-size: 1rem; letter-spacing: 0.18em; }
  .gy-tabs { gap: 0.4rem; }
  .gy-tab { font-size: 0.38rem; padding: 0.35rem 0.8rem; }

  /* ── Goyard PHOTO panel ── */
  .gallery-main { height: 200px; }
  .gallery-main-img { height: 200px; object-fit: contain; }

  /* ── Goyard 3D panel — PRESERVE WebGL canvas ── */
  .gy-3d-panel .g3d-viewport { height: 270px !important; }
  #goyardCanvas { width: 100% !important; height: 100% !important; }

  /* ── Goyard color bar ── */
  .goyard-color-bar { flex-wrap: wrap; gap: 0.4rem; padding: 0.5rem 0.8rem; }
  .goyard-color-swatches { gap: 0.3rem; flex-wrap: wrap; }
  .swatch { padding: 0.25rem 0.5rem; }
  .swatch-label { font-size: 0.3rem; }

  /* ── Card info / buttons ── */
  .card-info { padding: 0.8rem 1rem; }
  .card-info h3 { font-size: 0.9rem; letter-spacing: 0.22em; }
  .card-verify-btn { padding: 0.65rem 1rem; font-size: 0.38rem; }

  /* ── Manifesto ── */
  #manifesto { padding: 5rem 1.2rem 4.5rem; }
  .mfst-quote { font-size: clamp(2rem, 8vw, 3.2rem); }
  .mfst-body { font-size: 0.8rem; line-height: 1.9; }
  .mfst-stats { gap: 0; flex-wrap: wrap; }
  .mfst-stat { padding: 0.7rem 1.4rem; }
  .mfst-sep { display: none; }

  /* ── Features ── */
  #features { padding: 4.5rem 1.2rem; }
  .feat-inner { flex-direction: column; gap: 2.8rem; }
  .feat-item { padding: 0; max-width: 100%; }
  .feat-div { display: none; }

  /* ── Verify CTA ── */
  #verify-cta { padding: 5.5rem 1.2rem; }
  .vcta-title { font-size: clamp(2rem, 8vw, 3.2rem); }
  .vcta-sub { font-size: 0.8rem; line-height: 1.9; }
  .vcta-btn { padding: 0.85rem 1.8rem; font-size: 0.44rem; }

  /* ── Collection 3D — PRESERVE WebGL canvas ── */
  #collection3d { padding-bottom: 2rem; }
  .c3d-stage-wrap { height: 380px; }
  .c3d-header { padding: 0 1.2rem; text-align: center; }
  .c3d-title { font-size: clamp(1.8rem, 7vw, 3rem); }
  .c3d-arrow { width: 38px; height: 38px; font-size: 1.2rem; }

  /* ── About ── */
  #about { padding: 5rem 1.2rem; }
  .about-inner h2 { font-size: clamp(2rem, 7vw, 3rem); }
  .about-stats { flex-wrap: wrap; gap: 1.5rem; justify-content: center; }

  /* ── Footer ── */
  .footer-inner {
    flex-direction: column !important;
    padding: 3rem 1.2rem 2.5rem;
    gap: 2rem;
  }
  .footer-logo { font-size: 1.1rem; }
  .footer-bottom { padding: 1.5rem 1.2rem; font-size: 0.32rem; }

  /* ── Modal ── */
  .modal-content { padding: 1.8rem 1.2rem; }
}

/* ─────────────────────────────────────────────────────────────
   iPhone 15 Pro Max — ≤ 430px
   Fine-tune for tall narrow phone portrait
───────────────────────────────────────────────────────────── */
@media (max-width: 430px) {

  /* ── Navbar ── */
  #navbar { padding: 0.8rem 1rem; }
  .nav-logo { font-size: 0.85rem; letter-spacing: 0.25em; }

  /* ── Hero ── */
  .hero-editorial { left: 1rem; bottom: 8rem; }
  .hero-ed-title { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .h3d-badge { padding: 4px 12px; }
  .h3d-badge-text { font-size: 0.3rem; letter-spacing: 0.18em; }
  .h3d-verify-cta { font-size: 0.38rem; padding: 0.7rem 1.4rem; gap: 0.4rem; }

  /* ── Maisons Carousel — single card fills screen ── */
  .carousel-track {
    padding: 0 calc(50% - 46vw) !important;
    gap: 0.8rem;
  }
  .brand-card { flex: 0 0 90vw !important; }

  /* ── Goyard 3D — tall enough for touch rotation ── */
  .gy-3d-panel .g3d-viewport { height: 260px !important; }

  /* ── Gallery photo ── */
  .gallery-main { height: 185px; }
  .gallery-main-img { height: 185px; }

  /* ── Collection 3D ── */
  .c3d-stage-wrap { height: 340px; }

  /* ── Manifesto ── */
  #manifesto { padding: 4.5rem 1rem 4rem; }
  .mfst-quote { font-size: clamp(1.8rem, 9vw, 2.8rem); }

  /* ── Section headers ── */
  .section-header h2 { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  .c3d-title { font-size: clamp(1.6rem, 8vw, 2.6rem); }
}

/* ─────────────────────────────────────────────────────────────
   Landscape phone (≤ 900px height, wide)
   Shrink hero text so it doesn't overlap 3D
───────────────────────────────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-editorial { bottom: 4rem; }
  .hero-ed-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .h3d-bottom { bottom: 0.8rem; }
  .h3d-verify-cta { padding: 0.55rem 1.2rem; font-size: 0.36rem; }
  .h3d-scroll-wrap { display: none; }
  .c3d-stage-wrap { height: 90vw; max-height: 380px; }
}

