/* ============================================================
   MULTI-SHIFTER AUSTRALIA — Premium Industrial v3
   Floating pill nav, GSAP motion, double-bezel cards, kinetic marquee.
   Design System: DESIGN_VARIANCE=7, MOTION_INTENSITY=7, VISUAL_DENSITY=3
   ============================================================ */

:root {
  /* Logo-matched palette — sampled from logo.jpg */
  --charcoal: #4a4a4a;
  --charcoal-deep: #2a2a2a;
  --charcoal-light: #5e5e5e;

  /* Warm industrial greys — consistent warm tint */
  --grey-50: #faf9f7;
  --grey-100: #f5f3f0;
  --grey-200: #eae7e3;
  --grey-300: #ddd9d4;
  --grey-400: #c5c0ba;
  --grey-500: #9a9590;
  --grey-600: #6e6963;
  --grey-700: #4d4843;

  /* Accent — logo orange (single accent, sat < 80%) */
  --orange: #e87a1a;
  --orange-hover: #f08a2e;
  --orange-dim: #c46514;
  --orange-glow: rgba(232, 122, 26, 0.3);
  --orange-bg: rgba(232, 122, 26, 0.06);
  --orange-border: rgba(232, 122, 26, 0.18);
  --orange-tint: rgba(232, 122, 26, 0.04);

  /* Text — no pure black */
  --text: #1a1917;
  --text-mid: #52504b;
  --text-muted: #8a8780;
  --text-light: #b5b2ab;

  --surface: #fefdfb;
  --border: rgba(74, 74, 74, 0.06);
  --border-strong: rgba(74, 74, 74, 0.1);

  /* Tinted shadows (warm-tinted, not generic black) */
  --shadow-sm: 0 1px 3px rgba(74, 64, 50, 0.04), 0 1px 2px rgba(74, 64, 50, 0.03);
  --shadow-md: 0 4px 16px rgba(74, 64, 50, 0.06), 0 2px 4px rgba(74, 64, 50, 0.03);
  --shadow-lg: 0 12px 48px rgba(74, 64, 50, 0.08), 0 4px 12px rgba(74, 64, 50, 0.04);
  --shadow-xl: 0 24px 80px rgba(74, 64, 50, 0.1), 0 8px 24px rgba(74, 64, 50, 0.05);

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --container: 1200px;
  --container-wide: 1400px;
  --section-space: clamp(7rem, 14vw, 10rem);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
  background: var(--grey-50);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h4 { font-size: 1rem; font-weight: 600; }

/* Section labels — editorial style */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--orange);
}

/* ============================================================
   FLOATING GLASS PILL NAV — Detached from top
   ============================================================ */
.site-header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: max-content;
  max-width: calc(100% - 2rem);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-radius: 100px;
  background: rgba(42, 42, 42, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.5s var(--ease);
}
.site-header.scrolled .header-inner {
  background: rgba(42, 42, 42, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo img {
  height: 28px;
  width: auto;
  transition: opacity 0.3s;
}
.logo:hover img { opacity: 0.75; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: 0.5rem;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.nav-link:hover { color: rgba(255,255,255,0.85); }
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 20px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(3.8px, 3.8px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(3.8px, -3.8px); }

@media (max-width: 768px) {
  .hamburger { display: flex; width: 28px; gap: 5px; padding: 10px; }
  .hamburger span { height: 2px; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }
  .site-header {
    top: 0.75rem;
    width: auto;
    left: 0.75rem;
    right: 0.75rem;
    transform: none;
    max-width: none;
  }
  .header-inner {
    width: 100%;
    justify-content: center;
    position: relative;
    padding: 0.6rem 1rem;
  }
  .header-inner .hamburger {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .main-nav {
    position: fixed;
    top: 5rem;
    left: 0.75rem;
    right: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem;
    gap: 0.15rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-120%) scale(0.95);
    opacity: 0;
    transition: all 0.5s var(--ease);
    margin-left: 0;
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  }
  .main-nav.open { transform: translateY(0) scale(1); opacity: 1; }
  .nav-link { font-size: 0.9rem; padding: 0.75rem 1.1rem; border-radius: var(--radius-sm); }

  /* Center page hero content on mobile */
  .page-hero-content { text-align: center; }
  .page-hero-content .section-tag { justify-content: center; }
  .page-hero-content p { margin-left: auto; margin-right: auto; }
}

/* ============================================================
   HERO — Video bg, left-aligned (DESIGN_VARIANCE 7)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal-deep);
}

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

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) contrast(1.2) saturate(0.5);
}

.hero-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) contrast(1.15) saturate(0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(42, 42, 42, 0.85) 0%,
    rgba(42, 42, 42, 0.4) 55%,
    rgba(42, 42, 42, 0.15) 100%
  );
}

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

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--orange) 50%, transparent 95%);
  z-index: 3;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 6rem;
}

.hero-badge {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1rem 0.4rem 0;
  opacity: 0;
}
.hero-badge::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.75rem;
  opacity: 0;
}
.hero h1 span {
  color: var(--orange);
  text-shadow: 0 0 60px var(--orange-glow);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: rgba(255,255,255,0.5);
  margin-bottom: 3rem;
  max-width: 440px;
  line-height: 1.85;
  font-weight: 400;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  opacity: 0;
}
.hero .btn-outline {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}
.hero .btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232, 122, 26, 0.05);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}
.hero-scroll span {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  font-weight: 500;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   KINETIC MARQUEE — 10-15vw text, direction reversal
   ============================================================ */
.marquee-band {
  padding: 0;
  overflow: hidden;
  background: var(--charcoal);
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  align-items: center;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  padding: 0.6rem 0;
  user-select: none;
}
.marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  margin: 0 0.5rem;
  opacity: 0.4;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   BUTTONS — Pill shape with arrow nest
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.98) !important; }
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(232, 122, 26, 0.25);
}
.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--orange-border);
  color: var(--orange);
  background: var(--orange-tint);
}
.btn-lg { padding: 0.95rem 2.4rem; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* Button arrow nest */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  font-size: 0.85rem;
  margin-left: 0.25rem;
  margin-right: -0.5rem;
  transition: all 0.35s var(--ease);
}
.btn:hover .btn-arrow {
  background: rgba(255,255,255,0.25);
  transform: translateX(2px) translateY(-1px) scale(1.05);
}

/* ============================================================
   SECTIONS — Art Gallery spacing
   ============================================================ */
.section { padding: var(--section-space) 0; }
.section-header { margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 0.6rem; }
.section-desc {
  color: var(--text-mid);
  max-width: 480px;
  font-size: 0.95rem;
  line-height: 1.85;
}

/* Backgrounds */
.bg-grey { background: var(--grey-100); }
.alt-bg { background: var(--grey-100); }
.bg-dark {
  background: var(--charcoal-deep);
  color: rgba(255,255,255,0.55);
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark .section-tag { color: var(--orange); }

/* Grid pattern background */
.bg-pattern {
  position: relative;
}
.bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.6;
  pointer-events: none;
}

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

/* ============================================================
   HOME — Double-Bezel Product Cards
   ============================================================ */
.products-overview {
  background: var(--grey-100);
  position: relative;
}

/* Product grid — clean 2x2 */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Double-Bezel card */
.product-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 6px;
  background: rgba(74, 74, 74, 0.03);
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease);
  text-decoration: none;
  display: flex;
}
.product-card:hover {
  border-color: var(--orange-border);
  box-shadow: var(--shadow-xl);
}
.product-card-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: calc(var(--radius-xl) - 4px);
  padding: 2rem 1.75rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}
/* Orange accent on hover */
.product-card-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--orange);
  transition: height 0.5s var(--ease);
  border-radius: 0 0 2px 0;
}
.product-card:hover .product-card-inner::after { height: 100%; }

/* Legacy content classes mapped */
.product-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  transition: color 0.35s var(--ease);
}
.product-card:hover .product-card-content h3 { color: var(--orange); }
.product-card-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  max-width: 65ch;
}
.card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-bg);
  color: var(--orange);
  font-size: 1rem;
  margin-top: 1.5rem;
  align-self: flex-start;
  transition: all 0.4s var(--ease);
}
.product-card:hover .card-arrow {
  background: var(--orange);
  color: #fff;
  transform: translateX(3px) translateY(-1px) scale(1.05);
}


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

/* Hide old image/overlay elements */
.product-card-image,
.product-card-overlay { display: none; }

/* ============================================================
   IMAGE BAND — Immersive full-width feature sections
   ============================================================ */
.image-band {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.image-band img {
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) contrast(1.15) saturate(0.5);
}
.image-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 25, 23, 0.7) 0%,
    rgba(42, 42, 42, 0.3) 50%,
    rgba(26, 25, 23, 0.6) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 2rem;
}
.image-band-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  letter-spacing: -0.03em;
  max-width: 700px;
  line-height: 1.15;
}
.image-band-text span {
  color: var(--orange);
  text-shadow: 0 0 60px var(--orange-glow);
}
.image-band-sub {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  max-width: 520px;
  line-height: 1.7;
}
.image-band-stats {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
}
.image-band-stat {
  text-align: center;
}
.image-band-stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--orange);
  display: block;
}
.image-band-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  display: block;
}

@media (max-width: 640px) {
  .image-band { height: 440px; }
  .image-band-stats { gap: 1.5rem; }
}

/* ============================================================
   STATS — Dark with radial glow, monospace numbers
   ============================================================ */
.stats-bar {
  padding: 6rem 0;
  background: var(--charcoal-deep);
  position: relative;
  overflow: hidden;
}
.stats-bar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 350px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(232, 122, 26, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
}
.stat { position: relative; padding: 1rem 0; }
.stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.05);
}
.stat:last-child::after { display: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--orange);
}
.stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.75rem;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .stat:nth-child(2)::after { display: none; }
}

/* ============================================================
   TRUSTED BY — Logo parade
   ============================================================ */
.trusted-by { overflow: hidden; background: var(--grey-50); }
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-track {
  display: flex;
  gap: 4.5rem;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
  align-items: center;
}
.client-logo {
  height: 30px;
  width: auto;
  filter: grayscale(1) contrast(0.7);
  opacity: 0.25;
  transition: all 0.5s var(--ease);
}
.client-logo:hover {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: scale(1.12);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--grey-100);
  position: relative;
}
.cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.cta-inner h2 { margin-bottom: 0.75rem; }
.cta-inner p { color: var(--text-mid); margin-bottom: 2.5rem; font-size: 0.95rem; line-height: 1.85; }

/* ============================================================
   PAGE HERO (inner pages) — Full image depth
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(6rem + 3rem) 0 4.5rem;
  min-height: 38vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}
.page-hero-sm { min-height: 28vh; }
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) contrast(1.2) saturate(0.35);
}
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,42,42,0.95) 0%, rgba(42,42,42,0.2) 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--orange) 50%, transparent 95%);
  z-index: 3;
  opacity: 0.5;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-content h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #fff;
  opacity: 0;
}
.page-hero-content p {
  color: rgba(255,255,255,0.45);
  font-size: 1rem;
  max-width: 440px;
  opacity: 0;
}
.page-hero-content .section-tag {
  color: var(--orange);
  opacity: 0;
}

/* ============================================================
   PRODUCT NAV — Sticky glass pill
   ============================================================ */
.product-nav {
  position: sticky;
  top: 5rem;
  z-index: 100;
  padding: 0.75rem 0;
  background: var(--grey-50);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(74, 64, 50, 0.04);
}
.product-nav .container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0.25rem;
}
.product-nav .container::-webkit-scrollbar { display: none; }
.product-nav-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  white-space: nowrap;
  color: var(--text-muted);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.product-nav-link:hover { color: var(--text); background: var(--grey-200); }
.product-nav-link.active {
  color: var(--orange);
  background: var(--orange-bg);
  font-weight: 600;
}

/* ============================================================
   PRODUCTS PAGE — Double-Bezel Item Cards
   ============================================================ */
.product-section { scroll-margin-top: 10rem; }
.subsection-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 3.5rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.subsection-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--orange);
  border-radius: 2px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
/* Double-bezel product item */
.product-item {
  flex-direction: column;
  align-items: stretch;
  padding: 5px;
  background: rgba(74, 74, 74, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: visible;
  transition: all 0.5s var(--ease);
  display: flex;
  position: relative;
  height: 100%;
}
.product-item:hover {
  border-color: var(--orange-border);
  box-shadow: var(--shadow-lg);
}
.product-item-inner {
  background: var(--surface);
  border-radius: calc(var(--radius-lg) - 3px);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* Orange bar at bottom */
.product-item::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: calc(5px + 8px);
  right: calc(5px + 8px);
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.product-item:hover::after { transform: scaleX(1); }

.product-thumb {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--grey-200);
  flex-shrink: 0;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.7);
  transition: all 0.7s var(--ease);
}
.product-item:hover .product-thumb img {
  filter: contrast(1) saturate(0.9);
  transform: scale(1.06);
}
.product-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
  pointer-events: none;
}
.product-info {
  padding: 1.35rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-info h4 {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  transition: color 0.35s var(--ease);
}
.product-item:hover .product-info h4 { color: var(--orange); }
.product-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

@media (max-width: 900px) { .product-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .product-list { grid-template-columns: 1fr; } }

/* ============================================================
   SAFETY CARDS — Double-Bezel
   ============================================================ */
.product-grid-sm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.safety-card {
  padding: 5px;
  background: rgba(74, 74, 74, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: visible;
  transition: all 0.5s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.safety-card:hover {
  border-color: var(--orange-border);
  box-shadow: var(--shadow-lg);
}
.safety-card-inner {
  background: var(--surface);
  border-radius: calc(var(--radius-lg) - 3px);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.safety-img {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: var(--grey-200);
}
.safety-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.7);
  transition: all 0.7s var(--ease);
}
.safety-card:hover .safety-img img {
  filter: contrast(1) saturate(0.9);
  transform: scale(1.06);
}
.safety-card h4 {
  padding: 1rem 1.25rem 0.25rem;
  font-size: 0.9rem;
  transition: color 0.35s var(--ease);
}
.safety-card:hover h4 { color: var(--orange); }
.safety-card p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p {
  margin-bottom: 1rem;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.9;
  max-width: 65ch;
}
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.75);
  transition: all 0.7s var(--ease);
}
.about-image:hover img {
  filter: contrast(1) saturate(0.95);
  transform: scale(1.03);
}
/* Orange bracket accents */
.about-image::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 44px;
  height: 44px;
  border-top: 3px solid var(--orange);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-xl) 0 0 0;
  pointer-events: none;
}
.about-image::before {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 44px;
  height: 44px;
  border-bottom: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
  border-radius: 0 0 var(--radius-xl) 0;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { order: -1; }
  .about-image img { height: 260px; }
}

/* Partners — Zig-zag layout instead of equal grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.partner-card {
  padding: 5px;
  background: rgba(74, 74, 74, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  height: 100%;
}
.partner-card:hover {
  border-color: var(--orange-border);
  box-shadow: var(--shadow-lg);
}
.partner-card-inner {
  background: var(--surface);
  border-radius: calc(var(--radius-lg) - 3px);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.5);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partner-card img {
  height: 36px;
  width: auto;
  margin: 0 auto 0.75rem;
  object-fit: contain;
  filter: grayscale(0.4);
  transition: filter 0.4s var(--ease);
}
.partner-card:hover img { filter: grayscale(0); }
.partner-card h4 { margin-bottom: 0.25rem; font-size: 0.9rem; }
.partner-card p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; flex: 1; }

/* Clients Showcase */
.clients-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
}
.client-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  transition: all 0.35s var(--ease);
}
.client-card:hover {
  border-color: var(--orange-border);
  box-shadow: var(--shadow-sm);
}
.client-card img {
  max-height: 28px;
  width: auto;
  filter: grayscale(1) contrast(0.7);
  opacity: 0.35;
  transition: all 0.35s var(--ease);
}
.client-card:hover img { filter: grayscale(0) contrast(1); opacity: 1; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { background: var(--grey-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 5rem;
  align-items: flex-start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

.contact-form-wrap h2 { margin-bottom: 2rem; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.8rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: all 0.3s var(--ease);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-bg);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2394949c' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(46, 160, 67, 0.06);
  color: #1a7f37;
  border: 1px solid rgba(46, 160, 67, 0.15);
}
.form-status.error {
  display: block;
  background: rgba(207, 34, 46, 0.06);
  color: #cf222e;
  border: 1px solid rgba(207, 34, 46, 0.15);
}

/* Contact info — stacked cards */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-info-card {
  padding: 5px;
  background: rgba(74, 74, 74, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
}
.contact-info-card:hover {
  border-color: var(--orange-border);
  box-shadow: var(--shadow-md);
}
.contact-info-card-inner {
  background: var(--surface);
  border-radius: calc(var(--radius-lg) - 3px);
  padding: 1.35rem 1.25rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.5);
}
.info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-bg);
  border-radius: 10px;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.contact-info-card h4 { margin-bottom: 0.3rem; font-size: 0.9rem; }
.contact-info-card a { color: var(--orange); font-size: 0.85rem; transition: color 0.25s var(--ease); }
.contact-info-card a:hover { color: var(--orange-hover); }
.contact-info-card p { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal-deep);
  padding-top: 4rem;
  position: relative;
}
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--orange) 50%, transparent 95%);
  opacity: 0.3;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
  position: relative;
}
.footer-logo { height: 26px; width: auto; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.8rem; color: rgba(255,255,255,0.25); max-width: 240px; line-height: 1.75; }
.footer-links h4,
.footer-contact h4 {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: rgba(255,255,255,0.2);
}
.footer-links a,
.footer-contact a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  padding: 0.25rem 0;
  transition: all 0.3s var(--ease);
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--orange);
  transform: translateX(3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 1.25rem 0;
  position: relative;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.15);
  text-align: center;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================================
   ANIMATIONS — GSAP-driven, CSS fallbacks
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered (JS adds .visible via GSAP/IO) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease);
}
.reveal-clip.visible { clip-path: inset(0 0 0 0); }

/* Stagger delays via CSS (for non-GSAP fallback) */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }


/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--charcoal-deep);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-bar {
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  animation: loaderSlide 1s var(--ease) infinite;
}
@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { max-width: 540px; }
  .about-grid { gap: 3rem; }
  .contact-grid { gap: 3rem; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-space: clamp(4rem, 10vw, 6rem);
  }

  /* Hero */
  .hero { min-height: 85dvh; }
  .hero-content { padding-top: 5rem; max-width: 100%; }
  .hero-content h1 { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hero-content p { font-size: 0.9rem; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-scroll { display: none; }

  /* Page Hero (inner pages) */
  .page-hero { padding: calc(5rem + 2rem) 0 3rem; min-height: 25vh; }
  .page-hero-sm { min-height: 20vh; }

  /* Product nav */
  .product-nav { top: 0; padding: 0.5rem 0; }
  .product-nav-link { font-size: 0.7rem; padding: 0.45rem 0.9rem; }

  /* Product section scroll margin adjusted for no-gap nav */
  .product-section { scroll-margin-top: 6rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stat-number { font-size: clamp(2rem, 8vw, 3rem); }

  /* Image bands */
  .image-band { height: 380px; }
  .image-band-content h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .image-band-stats { flex-wrap: wrap; gap: 1.5rem; }

  /* CTA */
  .cta-inner { padding: 0 1rem; }

  /* Marquee */
  .marquee-text { font-size: 0.6rem; }

  /* Typography tightening */
  h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .section-desc { font-size: 0.88rem; }
}

@media (max-width: 480px) {
  /* Tighter spacing */
  .section { padding: clamp(3rem, 8vw, 4.5rem) 0; }

  /* Product cards full width */
  .product-grid { grid-template-columns: 1fr; }

  /* Hero even tighter */
  .hero-content h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-badge { font-size: 0.55rem; padding: 0.4rem 0.85rem; }

  /* Image bands */
  .image-band { height: 320px; }
  .image-band-stats { gap: 1rem; }
  .image-band-stat-number { font-size: 1.5rem; }

  /* Stats */
  .stats-grid { gap: 1.5rem; }
  .stat { padding: 0.5rem 0; }

  /* Product thumb smaller */
  .product-thumb { height: 150px; }

  /* Buttons */
  .btn { font-size: 0.75rem; padding: 0.7rem 1.4rem; }
  .btn-lg { padding: 0.8rem 1.8rem; font-size: 0.78rem; }
}

/* ============================================================
   SCROLLBAR & SELECTION
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--grey-100); }
::-webkit-scrollbar-thumb { background: var(--grey-400); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--grey-500); }
::selection { background: rgba(232, 122, 26, 0.12); color: var(--text); }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-hover));
  z-index: 1001;
  width: 0;
  pointer-events: none;
  transition: width 0.1s linear;
}
