/* ==========================================================================
   VELLARO DOORS — Design System
   Inspired by fluid.glass: glassmorphism, scroll reveals, premium feel.
   ========================================================================== */

/* ========== CUSTOM PROPERTIES ========== */
:root {
  --color-bg: #0a0a0a;
  --color-surface: #111;
  --color-surface-2: #1a1a1a;
  --color-white: #f5f0eb;
  --color-cream: #e8e0d6;
  --color-accent: #c9a96e;
  --color-accent-dark: #a8894f;
  --color-text: #999;
  --color-text-strong: #ddd;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-glass: rgba(255, 255, 255, 0.03);
  --color-glass-border: rgba(255, 255, 255, 0.08);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;

  --radius: 8px;
  --radius-lg: 16px;

  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-cream);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

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

ul { list-style: none; }

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

/* ========== PASSWORD GATE ========== */
.pw-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.pw-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.pw-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 3rem;
}

.pw-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  overflow: hidden;
}

.pw-input {
  background: transparent;
  border: none;
  padding: 0.85rem 1.5rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  width: 240px;
  outline: none;
}

.pw-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.pw-btn {
  background: var(--color-accent);
  border: none;
  padding: 0.85rem 1.8rem;
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.pw-btn:hover {
  background: var(--color-accent-dark);
}

.pw-error {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #e74c3c;
  opacity: 0;
  transition: opacity 0.3s;
}

.pw-error.is-visible {
  opacity: 1;
}

/* ========== ACCESSIBILITY ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
  color: var(--color-bg);
}

*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ========== LAYOUT ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-alt {
  background: var(--color-surface);
}

.section-dark {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ========== SECTION HEADERS ========== */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-action {
  text-align: center;
  margin-top: var(--space-lg);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

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

.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--color-cream);
  border-color: var(--color-glass-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-cream);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ========== GLASS CARD ========== */
.glass-card {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.logo:hover img { opacity: 0.7; }

.desktop-nav ul,
.main-nav ul {
  display: flex;
  gap: var(--space-md);
}

.desktop-nav a,
.main-nav a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding: 0.5rem 0;
}

.nav-text {
  position: relative;
}

.nav-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease-in-out);
}

.desktop-nav a:hover .nav-text::after,
.desktop-nav a.active .nav-text::after,
.main-nav a:hover .nav-text::after,
.main-nav a.active .nav-text::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-white);
}

/* Mobile nav overlay — hidden on desktop */
.main-nav {
  display: none;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-switch {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
}

.lang-switch:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Mobile menu */
.nav-close {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 24px;
}

.hamburger span {
  height: 1px;
  background: var(--color-white);
  transition: all 0.4s var(--ease-out);
  transform-origin: center;
}

.menu-toggle.active .hamburger span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.active .hamburger span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ========== CUSTOM CURSOR ========== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform 0.15s var(--ease-out);
}

.cursor.hovering .cursor-dot {
  transform: scale(4);
  opacity: 0.5;
}

@media (pointer: coarse) {
  .cursor { display: none; }
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}

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

.hero-video,
.showcase-video {
  pointer-events: none;
}

.hero-video::-webkit-media-controls,
.showcase-video::-webkit-media-controls {
  display: none !important;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  z-index: 1;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  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)'/%3E%3C/svg%3E");
  background-size: 256px;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--space-xl) 0;
}

.hero-badge {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.hero-badge span {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero-line {
  display: block;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.hero-line-accent {
  color: var(--color-accent);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--color-text);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ========== PAGE HERO ========== */
.page-hero {
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
  text-align: center;
  background: var(--color-bg);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 20%, rgba(201, 169, 110, 0.04) 0%, transparent 70%);
}

.page-hero .container {
  position: relative;
}

.page-hero-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

/* Page hero with background image */
.page-hero-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: calc(var(--header-h) + var(--space-2xl)) 0 var(--space-2xl);
  border-bottom: none;
  position: relative;
}

.page-hero-img .container {
  position: relative;
  z-index: 2;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.65) 0%,
    rgba(10, 10, 10, 0.7) 50%,
    var(--color-bg) 100%
  );
  z-index: 1;
}

.page-hero-img .page-hero-title {
  color: #fff;
}

.page-hero-img .page-hero-label {
  color: var(--color-accent);
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  padding: var(--space-lg) var(--space-md);
  text-align: left;
}

.feature-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text);
}

/* ========== SHOWCASE BACKGROUND VIDEO ========== */
.section-showcase {
  position: relative;
  overflow: hidden;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.showcase-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.12;
}

.showcase-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 30%;
  z-index: 1;
  pointer-events: none;
}

.showcase-fade-top {
  top: 0;
  background: linear-gradient(to bottom, var(--color-bg) 0%, transparent 100%);
}

.showcase-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
}

.section-showcase > .container,
.section-showcase > .coverflow {
  position: relative;
  z-index: 2;
}

/* ========== COVERFLOW SLIDER ========== */
.coverflow {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: var(--space-lg) 0;
  perspective: 1200px;
}

.coverflow-track {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 680px;
  transition: none;
}

.coverflow-slide {
  position: absolute;
  width: 440px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform 0.6s var(--ease-out),
              opacity 0.6s var(--ease-out),
              filter 0.6s var(--ease-out),
              box-shadow 0.6s var(--ease-out);
  cursor: pointer;
  color: inherit;
  will-change: transform, opacity;
}

.coverflow-slide:hover { color: inherit; }

/* Active (center) slide */
.coverflow-slide.is-active {
  z-index: 5;
  transform: translateX(-50%) scale(1);
  opacity: 1;
  filter: brightness(1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  left: 50%;
}

.coverflow-slide.is-active .coverflow-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Adjacent slides */
.coverflow-slide.is-prev,
.coverflow-slide.is-next {
  z-index: 4;
  opacity: 0.6;
  filter: brightness(0.5);
}

.coverflow-slide.is-prev {
  transform: translateX(-100%) scale(0.75) rotateY(8deg);
  left: 50%;
}

.coverflow-slide.is-next {
  transform: translateX(0%) scale(0.75) rotateY(-8deg);
  left: 50%;
}

/* Far slides */
.coverflow-slide.is-far-prev,
.coverflow-slide.is-far-next {
  z-index: 3;
  opacity: 0.25;
  filter: brightness(0.3);
}

.coverflow-slide.is-far-prev {
  transform: translateX(-150%) scale(0.55) rotateY(12deg);
  left: 50%;
}

.coverflow-slide.is-far-next {
  transform: translateX(50%) scale(0.55) rotateY(-12deg);
  left: 50%;
}

/* Hidden slides */
.coverflow-slide.is-hidden {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transform: translateX(-50%) scale(0.4);
  left: 50%;
}

.coverflow-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--color-surface-2);
}

.coverflow-slide {
  aspect-ratio: 4 / 5;
}

.coverflow-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.coverflow-slide.is-active:hover .coverflow-img img {
  transform: scale(1.05);
}

.coverflow-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out) 0.15s, transform 0.4s var(--ease-out) 0.15s;
  z-index: 2;
}

.coverflow-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.01em;
}

.coverflow-cta {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: color 0.3s;
}

.coverflow-slide.is-active:hover .coverflow-cta {
  color: #fff;
}

/* Controls */
.coverflow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.coverflow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-glass-border);
  background: var(--color-glass);
  color: var(--color-cream);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.coverflow-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: scale(1.1);
}

.coverflow-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.coverflow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  transition: all 0.4s var(--ease-out);
}

.coverflow-dot.is-active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 3px;
}

/* Coverflow responsive */
@media (max-width: 768px) {
  .coverflow-track {
    height: 480px;
  }

  .coverflow-slide {
    width: 280px;
  }

  .coverflow-slide.is-prev {
    transform: translateX(-90%) scale(0.7) rotateY(6deg);
  }

  .coverflow-slide.is-next {
    transform: translateX(-10%) scale(0.7) rotateY(-6deg);
  }

  .coverflow-slide.is-far-prev,
  .coverflow-slide.is-far-next {
    opacity: 0;
  }
}

/* ========== PRODUCTS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.products-grid-full {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.products-listing {
  margin-top: -6rem;
  padding-top: 0;
  position: relative;
  z-index: 3;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.product-card-link:hover { color: inherit; }

.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-surface-2);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}


.product-info {
  padding: var(--space-md);
  background: #fff;
  flex: 1;
}

.product-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.product-info p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== PRODUCT DETAIL ========== */
.product-detail-section {
  padding-top: calc(var(--header-h) + var(--space-lg));
  background: #fff;
}

/* Force dark header on product detail pages */
body:has(.product-detail-section) .site-header {
  background: var(--color-bg);
  border-bottom-color: var(--color-border);
}

.product-detail-section .product-detail-content h2 {
  color: #1a1a1a;
}

.product-detail-section .product-desc {
  color: #555;
}

.product-detail-section .product-features h3 {
  color: #9e7c3c;
}

.product-detail-section .feature-list li {
  color: #333;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.product-detail-section .media-frame {
  border-color: rgba(0, 0, 0, 0.08);
  background: #f5f2ee;
}

.product-detail-section .pslider-thumb {
  background: #f5f2ee;
}

.product-detail-section .pslider-arrow {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: #333;
}

.product-detail-section .pslider-arrow:hover {
  background: #fff;
  border-color: #9e7c3c;
  color: #9e7c3c;
}

.product-detail-section .btn-accent {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.product-detail-section .btn-accent:hover {
  background: #333;
  border-color: #333;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.product-detail-media {
  position: sticky;
  top: calc(var(--header-h) + var(--space-md));
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.media-frame img {
  width: 100%;
  display: block;
}

/* ========== PRODUCT DETAIL SLIDER ========== */
.product-slider {
  position: relative;
}

.product-slider-main {
  position: relative;
  cursor: zoom-in;
}

.product-slider-img {
  transition: opacity 0.4s var(--ease-out);
}

.product-slider-img.is-fading {
  opacity: 0.3;
}

.pslider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s var(--ease-out);
}

.product-slider:hover .pslider-arrow {
  opacity: 1;
}

.pslider-arrow:hover {
  background: rgba(10, 10, 10, 0.85);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pslider-prev { left: 12px; }
.pslider-next { right: 12px; }

.product-slider-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.pslider-thumb {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--color-surface);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.3s var(--ease-out), opacity 0.3s;
  opacity: 0.5;
}

.pslider-thumb:hover {
  opacity: 0.8;
}

.pslider-thumb.is-active {
  border-color: var(--color-accent);
  opacity: 1;
}

.pslider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 5;
}

.product-detail-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.product-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.product-features {
  margin-bottom: var(--space-lg);
}

.product-features h3 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.feature-list li {
  padding: 0.6rem 0;
  padding-left: var(--space-md);
  position: relative;
  color: var(--color-text-strong);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
}

/* ========== SPLIT LAYOUT (About) ========== */
/* ========== ABOUT INTRO ========== */
.about-intro {
  margin-top: -6rem;
  padding-top: 0;
  position: relative;
  z-index: 3;
}

.about-intro-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-intro-text p {
  font-size: 1.15rem;
  line-height: 2;
  color: var(--color-text-strong);
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

/* ========== SPLIT LAYOUT ========== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.split-content p {
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.split-content .section-label {
  margin-bottom: var(--space-md);
}

/* ========== STATS ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-lg) 0;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}

/* ========== MISSION ========== */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.mission-card {
  padding: var(--space-lg);
}

.mission-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.mission-card p {
  color: var(--color-text);
  line-height: 1.8;
  font-size: 0.9rem;
  transition: color 0.4s var(--ease-out);
}

.mission-card h3 {
  transition: color 0.4s var(--ease-out);
}

.mission-card:hover h3,
.mission-card:hover p {
  color: var(--color-white);
}

/* ========== CONTACT ========== */
.contact-section {
  margin-top: -16rem;
  padding-top: 0;
  position: relative;
  z-index: 3;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.contact-block {
  margin-bottom: var(--space-md);
}

.contact-block h3 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.contact-block p,
.contact-block a {
  color: var(--color-text);
  font-size: 0.95rem;
}

.contact-form {
  padding: var(--space-lg);
}

.contact-form h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-strong);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s var(--ease-out), background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

/* ========== MARQUEE ========== */
.section-marquee {
  padding: var(--space-lg) 0;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.marquee {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: var(--space-lg);
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.marquee-track span:nth-child(even) {
  font-style: italic;
  color: rgba(201, 169, 110, 0.1);
}

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

/* ========== FOOTER ========== */
.footer-top {
  border-top: 1px solid var(--color-border);
}

.footer-cta {
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.footer-main {
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer-logo img {
  height: 32px;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-sm);
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text);
}

.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--color-text);
}

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

.footer-col li:not(:has(a)) {
  font-size: 0.85rem;
  color: var(--color-text);
}

.social-links li a {
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}

.footer-bottom p {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
}

/* Footer wordmark */
.footer-wordmark {
  overflow: hidden;
  padding: var(--space-md) 0 var(--space-lg);
}

.footer-wordmark span {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  text-align: center;
  line-height: 0.85;
  user-select: none;
}

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.lightbox[hidden] {
  display: flex;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox-body {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.lightbox-img-wrap:active {
  cursor: grabbing;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-toolbar {
  display: flex;
  gap: 8px;
  padding: var(--space-md);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.lb-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease-out);
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: scale(1.1);
}

.lb-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  bottom: auto;
  left: auto;
  transform: none;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-video,
  .showcase-video {
    display: none;
  }

  .scroll-line {
    animation: none;
    opacity: 0.5;
  }

  .marquee-track {
    animation: none;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 5rem;
  }

  .menu-toggle { display: block; }
  .desktop-nav { display: none; }

  .main-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out);
    z-index: 101;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .main-nav a {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 8px;
    z-index: 102;
    opacity: 0.7;
    transition: opacity 0.3s;
  }

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

  .nav-close svg {
    display: block;
    width: 24px;
    height: 24px;
  }

  .hero-line {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 260px;
  }

  .products-grid,
  .product-detail,
  .split-layout,
  .contact-layout,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    position: static;
  }

  .products-grid-full {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* deploy trigger */
